body{
	background-image:url("../images/BG.jpg"); 
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: 100vw;
	font-family: "Nunito", sans-serif;
	margin-bottom: 60px;

}
header{
	margin: 80px 0 60px;
	color: rgba(40,39,46,0.6);
}
header h1{
	font-weight: bold;
	font-family: "Montserrat", sans-serif;
	color: #000;
}
.logo{
	padding: 30px 0;
}
.btn-primary{
	background-color: #00afec;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
	border-color: #00afec;
	min-width: 200px;
	padding: 10px 20px;
	text-align: left;
	margin-bottom: 20px;
}
.btn-primary i {
	padding-right: 10px;
}

footer{
	color: rgba(40,39,46,0.4);
	height: 40px;
	margin-top:40px;
	position: relative;
	bottom: 0;
	width: 100%;
	/* Set the fixed height of the footer here */
	height: 60px;
}

footer .version{
	color: rgba(40,39,46,0.6);
}

footer a{
	color: rgba(40,39,46,0.4);
	text-decoration: none;
}

footer a:hover{
	color: rgba(40,39,46,0.8);
	text-decoration: none;
}



.card form, .content.row .card{
	padding: 30px;
	box-shadow: 2px 8px 14px rgb(238, 238, 238);
	border-radius: 5px;
}

.content.row .card{
	margin-bottom: 30px;
}

.card form input[type="text"],.card form input[type="password"]{
	margin-bottom: 20px;
	height: 40px;
	background: #f9fafc;
	box-shadow: none;
	border:1px solid rgb(233, 233, 233);
	width: 100%;
	border-radius: 5px;
	padding: 0 8px;
}

.cardbottom{
	margin: 20px;
}

.dmod{
	min-height: 10rem;
	line-height: 10rem;
	position: relative;
}
.currenttemp{
	position: absolute;
	top: 0%;
	left: 42%;
	color: #4671c6;
}









.switch {
  position: relative;
  display: inline-block;
  width: 110px;
  height: 34px;
}

.switchdoor {
  position: relative;
  display: inline-block;
  width: 110px;
  height: 34px;
}

.switch #togBtn {display:none;}
.switch #togBtnDoor {display:none;}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #edeff0;
  -webkit-transition: .4s;
  transition: .4s;
   border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 50%;
}

#togBtn:checked + .slider {
  background-color: #00afec;
}

#togBtn:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

#togBtn:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(76px);
}

.slider:after
{
 content:'OFF';
 color: rgba(0,0,0,0.4);
 display: block;
 position: absolute;
 transform: translate(-50%,-50%);
 top: 50%;
 left: 50%;
 font-size: 10px;
 font-family: Verdana, sans-serif;
}



.sliderdoor {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #edeff0;
  -webkit-transition: .4s;
  transition: .4s;
   border-radius: 34px;
}

.sliderdoor:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 50%;
}

#togBtnDoor:checked + .sliderdoor:after
{  
  content:'LOCKED';
  color: #fff;
}

#togBtnDoor:checked + .sliderdoor {
  background-color: #00afec;
}

#togBtnDoor:focus + .sliderdoor {
  box-shadow: 0 0 1px #2196F3;
}

#togBtnDoor:checked + .sliderdoor:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(76px);
}

.sliderdoor:after
{
 content:'UNLOCKED';
 color: rgba(0,0,0,0.4);
 display: block;
 position: absolute;
 transform: translate(-50%,-50%);
 top: 50%;
 left: 50%;
 font-size: 8px;
 font-family: Verdana, sans-serif;
}

#togBtn:checked + .slider:after
{  
  content:'ON';
  color: white;
}

/*--------- END --------*/

.onoffswitch{
  margin: auto;
}


.thermorow{
  max-height: 30px;
  background: #00afec;
  position: relative;
}

#minus {
  width: 40px;
  height: 40px;
  /* border-radius: 30px; */
  /* border: 1px solid #00afec; */
  position: absolute;
  background: url(../images/minus.svg);
  background-repeat: no-repeat;
  background-size: contain;
  box-shadow: none;
  border: none;
  top: -7px;
  left: -23px;
}


#plus {
  width: 40px;
  height: 40px;
  /* border-radius: 30px; */
  /* border: 1px solid #00afec; */
  position: absolute;
  background: url(../images/plus.svg);
  background-repeat: no-repeat;
  background-size: contain;
  box-shadow: none;
  border: none;
  top: -7px;
  right: -20px;
}

#thermo {
    height: 30px;
    display: inline-flex;
    text-align: center;
    border: none;
    background: #00afec;
    color: #fff;
}

/*.thermorow::before {
    content: "\00b0";
    position: absolute;
    top: -67px;
    z-index: 9;
    left: 52px;
    color: white;
}*/



@media screen and (max-width: 1140px){
	.currenttemp{
		position: absolute;
		top: 0%;
		left: 38%;
		color: #4671c6;
	}
}


@media screen and (max-width: 992px){
	body{
		background-position: right;
		background-size: contain;
	}
	header{
		margin: 20px 0 60px;
		color: rgba(40,39,46,0.6);
	}
	footer{
		position: relative;
	}

	.currenttemp{
		position: absolute;
		top: 0%;
		left: 44%;
		color: #4671c6;
	}
}