@font-face {
  font-family: 'gothic';
  src: url('js/gothic.eot');
  src: local('gothic'), url('js/gothic.woff') format('woff'), url('js/gothic.ttf') format('truetype');
}
@font-face {
  font-family: 'Warugaki';
  src: url('js/wa.woff2') format('woff2');
}

* {
  	box-sizing: border-box;
  	font-family: 'gothic';
  	-webkit-font-smoothing: antialiased;
  	-moz-osx-font-smoothing: grayscale;
}
body {
  	background-color: rgb(207,10,44);
    padding: 0;
    margin: 0;
}

.login {
  	width: 400px;
  	background-color: #ffffff;
  	box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.5);
  	margin: 100px auto;
    font-size: 16px;
}

.adminrooms {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    min-width: 400px;
  	width: 100vw;
  	/*background-color: #ffffff;*/
  	/*box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.5);*/
  	margin: 100px auto;
    font-size: 16px;
}

.invis{
    visibility: hidden;
}

.adminrooms a, .adminrooms form {
    flex: none;
    background-color: #ffffff;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.5);
    margin-left: 10px;
    margin-right: 10px;
}

.adminrooms h1 {
  	text-align: center;
  	color: #555;
    font-family: 'Warugaki';
  	font-size: 30px;
    padding: 0 20px 0 20px;
}

.adminrooms form input[type="submit"] {
  text-align: center;
  color: #555;
  font-family: 'Warugaki';
  font-size: 30px;
  padding: 0 20px 0 20px;
 	  /*margin-top: 20px;
    margin-bottom: 0;*/
  	background-color: #555;
  	border: 0;
  	cursor: pointer;

  	color: #ffffff;
  	transition: background-color 0.2s;
    height: 100%;
    margin: auto;
}
.adminrooms form input[type="submit"]:hover {
	background-color: #777;
  	transition: background-color 0.2s;
}


.passgen{
    position: fixed;
    left: calc(50% + 220px);
    top: 464px;
    width: 50px;
    height: 50px;
    background-color: #ffffff;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.5);
    font-size: 16px;
}

.edituser{
    position: fixed;
    left: calc(50% + 220px);
    top: 394px;
    width: 50px;
    height: 50px;
    background-color: #ffffff;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.5);
    font-size: 16px;
}

.login h1 {
  	text-align: center;
  	color: #555;
    font-family: 'Warugaki';
  	font-size: 30px;
  	padding: 20px 0 20px 0;
  	border-bottom: 1px solid #d8d8d8;
}
.login form {
  	display: flex;
  	flex-wrap: wrap;
  	justify-content: center;
  	padding-top: 20px;
    font-size: 16px;
}
.login form label, .passgen label, .edituser label {
  	display: flex;
  	justify-content: center;
  	align-items: center;
  	width: 50px;
  	height: 50px;
  	background-color: #555;
  	color: #ffffff;
}
.login form input[type="password"], .login form input[type="text"], select {
  	width: 310px;
  	height: 50px;
  	border: 1px solid #d8d8d8;
  	margin-bottom: 20px;
  	padding: 0 15px;
    font-size: 16px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
}

.login form input[type="submit"] {
  	width: 100%;
  	padding: 15px;
 	  margin-top: 20px;
    margin-bottom: 0;
  	background-color: #555;
  	border: 0;
  	cursor: pointer;
  	font-weight: bold;
  	color: #ffffff;
  	transition: background-color 0.2s;
    font-size: 16px;
}
.login form input[type="submit"]:hover {
	background-color: #777;
  	transition: background-color 0.2s;
}

.passgen label:hover {
	background-color: #777;
  	transition: background-color 0.2s;
}

.edituser label:hover {
	background-color: #777;
  	transition: background-color 0.2s;
}



[data-tip] {
	position:relative;

}
[data-tip]:before {
	content:'';
	/* hides the tooltip when not hovered */
	display:none;
	content:'';
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-bottom: 5px solid #1a1a1a;
	position:absolute;
	top:50px;
	left:20px;
	z-index:8;
	font-size:0;
	line-height:0;
	width:0;
	height:0;
}
[data-tip]:after {
	display:none;
	content:attr(data-tip);
	position:absolute;
	top:55px;
	left:0px;
	padding:20px 20px;
	background:#1a1a1a;
	color:#fff;
	z-index:9;
	font-size: 0.75em;
	height:18px;
	line-height:18px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	white-space:nowrap;
	word-wrap:normal;
}
[data-tip]:hover:before,
[data-tip]:hover:after {
	display:block;
}
