@charset "utf-8";

 html {font-family: Arial; display: inline-block; text-align: center;}    
body {
	background-color: #C9C6C5;
	color: #FFFFFF;
	font-family: Arial, sans-serif;
	font-size: 14px;
	width: 100%;
	margin-top: 5px;
	background-image: url(fon.jpg);
	position: static;
	margin-left: 0px;
}
	a{
	color: #FFFFFF;
		margin-left: 17px;
	}
	a:visited {
	color: #FFFFFF; /* Цвет посещенных ссылок */
	text-decoration: none;
		margin-left: 17px;
   }
	a:active {
	color: #A7F095; /* Цвет активных ссылок */
		margin-left: 17px;
   }
	a:hover {
	color: #AFDAF4; /* Цвет ссылок при наведении мыши*/
	margin-left: 17px;
   }
button {
  padding: 10px 20px;
  font: inherit;
  transition: color 0s linear 2s;
}

button:active {
  color: #047F44;
  transition-delay: 0s;
}
 

#header {
	background: #F5DEB3;
	width: 100%;
}
 
#container {
	background-color: #FFFFFF;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: auto;
	text-align: center;
	width: 80%;
	height: 84px;
	margin-top: 7px;
	padding-top: 1px;
}
 
#nav
	{
	background-color: #2F4468;
	width: 100%;
	color: #FFFFFF;
	font-size: small;
	margin-left: -18px;
	margin-top: -3px;
}
#nav1
	{
	background-color: #2F4468;
	width: 100%;
	color: #110FF8;
	font-size: small;
	margin-top: 64px;
	margin-right: 64px;
	margin-bottom: 64px;
	margin-left: 64px;	
}

 
#sidebar {
	background-color: #8CA2AF;
	float: left;
	width: 20%;
	position: static;
	margin-top: -1px;
	height: 420px;
	min-width: 0px;
}

#content {
	background-color: #F8E6C1;
	float: right;
	width: 80%;
	color: #14437A;
	margin-top: -2px;
	opacity: 0.91;
}
#content1 {
	background-color: #F8E6C1;
	width: 80%;
	color: #14437A;
	margin-right: auto;
	margin-left: auto;
	opacity: 0.91;
	
}
 
#clear {
     clear: both;
}
 
#footer {
    background: #00BFFF;
	width: 100%;
	height: 40px;
}
	
	 .topnav {
	overflow: hidden;
	background-color: #2f4468;
	color: white;
	font-size: 1.7rem;
	height: 65px;
	line-height: 3px;
	
}
.top{
	overflow: hidden;
	background-color: #8CA2AF;
	color: white;
	width: 100%;
	
}
.top1{
	overflow: hidden;
	background-color: #8CA2AF;
	color: white;
	width: 10%;
	
}
.top2{
	overflow: hidden;
	background-color: #B59D69;
	color: white;
	width: 100%;
	
}
	
	   .card.temperature { color: #fd7e14; }
    .card.humidity { color: #1b78e2; }
.card.but { color: #3F97E8; }
	
	
	    .card {
	background-color: #F9F9F7;
	box-shadow: 2px 2px 12px 1px rgba(140,140,140,.5);
}
    .cards {
	max-width: 901px;
	margin-right: auto;
	margin-left: auto;
	display: grid;
	grid-gap: 2rem;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	min-height: 133px;
}
    .reading {
	font-size: 2.8rem;
	
}
	
	
	#navigation2 {
	font-size: small;
	color: #3E73A7;
	float: left;
	border-top-width: thick;
	padding-left: 20px;
}
#navigation1 {
	font-size: small;
	color: #FFFFFF;
	float: left;
	border-top-width: thick;
	padding-left: 20px;
}
	
	.times{
	font-size: xx-large;
	margin-top: -50px;
	background-color: #2F4468;
	color: #FFFFFF;
	height: 57px;
	line-height: 56px;
	}
	.manth{
	color: #02087C;
	margin-top: 0px;
	background-color: #EF7320;
	height: 2pc;
	font-size: large;
	padding-top: 2px;
	opacity: 1;
	line-height: 3%;
	}
.servertime {
	margin-top: 37px;
}
.data{
	color: #2F4468;
	background-color: #FFFFFF;
	margin-top: -93px;
	height: 146px;
	font-size: 92px;
	line-height: 97px;
}
.week{
	color: #000006;
	margin-top: -91px;
	background-color: #EF7320;
	height: 2pc;
	font-size: large;
	line-height: 30px;
	
}
.levnav{
	font-size: large;
	color: #FFFFFF;
	margin-top: 5px;
	margin-left: 25px;
	line-height: 11px;
	margin-right: 31px;
	text-decoration: none;
	text-align: left;
	
}
#containerinf {
	background-color: #B59D69;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: auto;
	text-align: center;
	width: 80%;
	height: 84px;
	margin-top: 7px;
	padding-top: 1px;
	opacity: 1;
}
#contentinfo {
	background-color: #ECD9B1;
	width: 100%;
	color: #14437A;
	margin-top: -2px;
	opacity: 0.83;
}
.contentgraf {
	background-color: #FFFFFF;
	width: 100%;
	color: #14437A;
	margin-top: -2px;
	
} 
#tablinfo{
	background-color: #ECD9B1;
	width: 35%;
	color: #14437A;
	margin-top: 11px;
	opacity: 0.83;
	text-align: center;
	margin-right: auto;
	margin-left: auto;
	
}
 .switch {
	 position: relative;
	 display: inline-block;
	 width: 120px;
	 height: 68px} 
    .switch  input {display: none}
    .slider {
		position: absolute;
		top: 0;
		left: 0;
		right: 0; bottom: 0;
		background-color: #F0D2A8;
		border-radius: 34px}
    .slider:before {
		position: absolute; 
		content: "";
		height: 52px; 
		width: 52px;
		left: 8px; 
		bottom: 8px;
		background-color: #fff;
		-webkit-transition: .4s;
		transition: .4s;
		border-radius: 68px}
    input:checked+.slider {background-color: #2196F3}
    input:checked+.slider:before {-webkit-transform: translateX(52px);
		-ms-transform: translateX(52px); transform: translateX(52px)}
.slider2 { -webkit-appearance: none; margin: 14px; width: 360px; height: 15px; background: #EAD7AF;
      outline: none; -webkit-transition: .2s; transition: opacity .2s;}
.slider2::-webkit-slider-thumb {-webkit-appearance: none; appearance: none; width: 35px; height: 35px; background: #003249; cursor: pointer;}
.slider2::-moz-range-thumb { width: 15px; height: 35px; background: #003249; cursor: pointer; }
input[type=time] {
  border: #01094B;
	
  color: #01094B;
	 padding: 2px;
  margin: 3px;
  font-size: 22px;
  font-family: helvetica;
  width: 93px;
}



