body { 
	background: rgb(248, 249, 250) !important;
	height: 100vh;
}  
a {
  display:inline-block;
  text-decoration: none;
  font-weight: 400;
  color: #c62828;
}

.sensorspy a {
	color: #53900f;
}

.alert {
   margin-bottom: 0px;
   border-radius: 0px;
}

.form-logo {
	padding: 30px;
	max-width: 90%;
	padding-bottom: 5px;
}

h2 {
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  display:inline-block;
  margin: 40px 8px 10px 8px; 
  color: #cccccc;
}



/* STRUCTURE */

.wrapper {
  display: flex;
  align-items: center;
  flex-direction: column; 
  justify-content: center;
  width: 100%;
  min-height: 100%;
  padding: 20px;
    margin-top: 10vh;
}

#formContent {
  -webkit-border-radius: 10px 10px 10px 10px;
  border-radius: 10px 10px 10px 10px;
  background: #fff;
  padding: 30px;
  width: 90%;
  max-width: 450px;
  position: relative;
  padding: 0px;
  -webkit-box-shadow: 0 30px 60px 0 rgba(0,0,0,0.3);
  box-shadow: 0 30px 60px 0 rgba(0,0,0,0.3);
  text-align: center;
}

#formFooter {
  background-color: #f6f6f6;
  border-top: 1px solid #dce8f1;
  padding: 25px;
  text-align: center;
  -webkit-border-radius: 0 0 10px 10px;
  border-radius: 0 0 10px 10px;
}



/* TABS */

h2.inactive {
  color: #cccccc;
}

h2.active {
  color: #0d0d0d;
  border-bottom: 2px solid #5fbae9;
}



/* FORM TYPOGRAPHY*/

.wrapper input[type=text].form-control, .wrapper input[type=password].form-control {
  background-color: #f6f6f6;
  border: none;
  color: #0d0d0d;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 5px;
  width: 85%;
  border: 2px solid #f6f6f6;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  -webkit-border-radius: 5px 5px 5px 5px;
  border-radius: 5px 5px 5px 5px;
  height: initial;
}

.wrapper input[type="button"], .wrapper input[type="submit"], .wrapper input[type="reset"] {
    padding: 15px 80px;
    text-transform: uppercase;
    margin: 20px 0px;
}

.wrapper input[type=text].form-control:focus, .wrapper input[type=password].form-control:focus {
  background-color: #fff;
}

.wrapper input[type=text]:placeholder {
  color: #cccccc;
}

/** DARK MODE **/

body.darkmode {
	background: #424242 !important;
}
body.darkmode #formContent {
  background-color: #121212;
  color: #fafafa;
}
body.darkmode #formFooter {
	border-top-color: #717171;
	background-color: #121212;	
}


/** MEDIA **/

@media only screen and (max-width: 300px) {
	.wrapper input[type="button"], input[type="submit"], .wrapper input[type="reset"] {
		padding: 5px 20px;
	}
}