* {
margin:0;
padding:0;
}
aside, footer, header {
display:block;
}
img {
max-width:90vw!important;
max-height: 90vh!important;
}
															/* МАКЕТ */

#page {
	width: 100%;
	font: 100% 'Arial', sans-serif;
	font-size: 16px;
	background-image: url('../images/bkgrnd.jpg');
	background-repeat: repeat;
}
.layout {
	max-width: 1170px;
	margin: 0 auto;
	overflow: hidden;
	padding: 10px 0;
}
																/*ШАПКА*/
header {
	width: 100%;
	color: #fff;
}
	header .layout {
	background: 	linear-gradient(to bottom, #2970d5 0%, #3c98ea 36%, #0e679b 100%); 
    /*! border-radius: 10px 10px 0 0; */
}
	#slogan {
	width: 55%;
	float: left;
	text-align: center;
	font-weight: bold;
}
		#slogan p {
		font-size: 1.3em;
		letter-spacing: 10px;
}
		#zagolovok{
			display: inline-table;
			height: 90px;
}
		#zagolovok H1{
		display: table-cell;
		vertical-align: middle;
		font-size: 3em;
		
}

	#logo {
	width: 11%;
	float: left;
}
		#logo img {
	height: 135px;
	width: auto;
	padding-top: 4px;
}
	#phone {
	width: 33%;
	float: left;
	text-align: center;	
}
		#phone .tel {
	font-size: 1.9em;
	color: #fff;
   text-decoration: none;
   font-weight: bold;
  
}
#phone .vw{
	margin-top: 18px;
}
#phone .kont{
	font-weight: bold;
	font-size: 1.1em;
	color:#ffebcd;
	vertical-align: super;
}
#phone .kont:first-child{
	
}
#phone .kont:last-child{
	margin-top: 25px;
	 
}
		.viber-whatsup {
			width: 40px;
		}
    a .viber-whatsup {
		  margin: 0 20px;	
	   border-radius: 10px;
		 }
#btn, #btn-s {
	display: none;
}
#btn + label, #btn-s + label{
	display: none; 
}
															/*МЕНЮ*/
#menu {
	width: 100%;
	text-align: center;
}
	#menu .layout {
	background: #FCFCFC;
	}
	#menu ul li {
		float: left;
		list-style: none;
		width: 25%;
		text-align: center;
		padding: 1em 0;
	}
	#menu ul li a, label {
	display:inline-block;
   color: #666666;
   border: 1px #C0C0C0 solid;
   -moz-border-radius: 5px;
   -webkit-border-radius: 5px;
   border-radius: 5px;
   background-color: #E1E1E1;
   background: -moz-linear-gradient(top,#E1E1E1 0%,#FFFFFF 100%);
   background: -webkit-linear-gradient(top,#E1E1E1 0%,#FFFFFF 100%);
   background: -o-linear-gradient(top,#E1E1E1 0%,#FFFFFF 100%);
   background: -ms-linear-gradient(top,#E1E1E1 0%,#FFFFFF 100%);
   background: linear-gradient(top,#E1E1E1 0%,#FFFFFF 100%);
   font-size: 1.32em;
   font-weight: bold;
   font-style: normal;
   text-decoration: none;
   width: 188px;
   padding: 0.5em 0.1em;
   text-align: center;
    	
	}
	#menu ul li a:hover, #menu ul li.current a, label:hover {
	color: #666666;
   background-color: #71B8FF;
   background: -moz-linear-gradient(top,#71B8FF 0%,#FFFFFF 100%);
   background: -webkit-linear-gradient(top,#71B8FF 0%,#FFFFFF 100%);
   background: -o-linear-gradient(top,#71B8FF 0%,#FFFFFF 100%);
   background: -ms-linear-gradient(top,#71B8FF 0%,#FFFFFF 100%);
   background: linear-gradient(top,#71B8FF 0%,#FFFFFF 100%);
   border: 1px #C0C0C0 solid;
}

																				/*КОНТЕНТ*/

#content {
	width: 100%;
}
	#content .layout {
		background-color:#FCFCFC;
	}
	#text {
		width: 73%;
		float: right;
		color: #333;
		text-align: center;
	}
		#text .line{
			display: inline-table;
			float: left;
			min-height: 90px;
		} 
	#sidebar {
		text-align: center;
		width: 25%;
		float: left;
		
	}
	
	#sidebar h2 {
		font-size: 3em;
		color: #20f044;
		font-weight: bold;
		
		
	}
	#sidebar ul li {
		float: none;
		list-style: none;
		text-align: center;
		padding: 1em 0;
	}
		
	#sidebar ul li a{
	display:inline-block;
   color: #666666;
   border: 1px #C0C0C0 solid;
   -moz-border-radius: 5px;
   -webkit-border-radius: 5px;
   border-radius: 5px;
   background-color: #E1E1E1;
   background: -moz-linear-gradient(top,#E1E1E1 0%,#FFFFFF 100%);
   background: -webkit-linear-gradient(top,#E1E1E1 0%,#FFFFFF 100%);
   background: -o-linear-gradient(top,#E1E1E1 0%,#FFFFFF 100%);
   background: -ms-linear-gradient(top,#E1E1E1 0%,#FFFFFF 100%);
   background: linear-gradient(top,#E1E1E1 0%,#FFFFFF 100%);
   font-size: 1.32em;
   font-weight: bold;
   font-style: normal;
   text-decoration: none;
   width: 188px;
   padding: 0.5em 0.1em;
   text-align: center;
   	
	}
	#sidebar ul li a:hover, #sidebar ul li.current a {
	color: #666666;
   background-color: #71B8FF;
   background: -moz-linear-gradient(top,#71B8FF 0%,#FFFFFF 100%);
   background: -webkit-linear-gradient(top,#71B8FF 0%,#FFFFFF 100%);
   background: -o-linear-gradient(top,#71B8FF 0%,#FFFFFF 100%);
   background: -ms-linear-gradient(top,#71B8FF 0%,#FFFFFF 100%);
   background: linear-gradient(top,#71B8FF 0%,#FFFFFF 100%);
   border: 1px #C0C0C0 solid;
}

#aftertext .modul-kont {
	display: none;
}
#aftertext .modul-vizov {
	display: none;
}
																/*ПОДВАЛ*/
footer {
	width: 100%;
}
footer .layout {
	background: 	linear-gradient(to bottom, #9ccef9 0%, #8fccf3 36%, #73c1ef 100%); 
	text-align: center;
}
p.ftext, p.ftel1 {
	  margin:12px auto;
		font-weight: bold;
}
.fphone{
	display: none;
}


														/* Тексты   */
h2 {
	font-size: 1.25em;
	padding: 0 0.5em;
	text-align: left;
	text-align:center; 
	text-decoration: underline;
	margin-top: 7px;
}
h3 {
	font-size: 1.25em;
	color: #4e4e4e;
	text-align: center;
}

#text p {	
	font-size: 1.25em;
	padding: 0 0.5em;
	text-align: left;
}


															/* МОДУЛИ */
.modul-kont h3, a.modul-vizov  {
	 text-shadow: #000 1px 1px 1px;
	 color: #42d50c;font-weight: bold;
	font-size: 1.32em;
	text-decoration: none;
	text-align: center;
}
.modul-kont h3{
	font-size: 1.8em;
}
#text .modul-kont{
	display: inline-block;
}
.modul-kont, .modul-vizov, .fphone {
	display: inline-block;
	padding:10px;
	margin: 20px;
	text-align: left;
	background-image:url('../images/vintage_speckles.png');
	background-repeat: repeat;
	border-radius: 5px;
}
#fixed .modul-kont, #fixed .modul-vizov{
	margin: 10px;
	max-width: 193px;
}
.fphone{
	display: none;
}
a.modul-kont{
	color: #000000;
	text-decoration: none;
}
#fixed .modul-kont, #aftertext .modul-kont, .modul-vizov, .fphone, .kategory {
	box-shadow:inset 5px 5px 5px 0px #919191,inset -5px -5px 5px 0px #919191,5px 5px 5px 0px #000;
}
#fixed .modul-kont:hover ,#aftertext .modul-kont:hover, .modul-vizov:hover, .fphone:hover, .kategory:hover {
	box-shadow:inset 5px 5px 5px 0 #919191,inset -5px -5px 5px 0 #919191;
}
.zagolovok, #btn + label, #btn-s + label {
	text-shadow: #000 1px 1px 1px;
	 color: #42d50c;
	 font-size: 1.8em;
	 font-weight: bold;
}


														/* НАВЕРХ */
#toTop {
opacity: 0.4;
position:fixed;
bottom:10px; 
right:0;
cursor:pointer;
display:none;
}
#toTop:hover {
	opacity: 1;
}
									/*Всплывающая подсказка*/
.tooltip{
	font-family: Times New Roman!important;
	position: absolute;
	border: 1px solid #333;
	padding: 5px;
	background: #fbfbfb;
	color: #000;
	border-radius: 5px;
	font-size: 1.2em;
	box-shadow: 3px 3px 3px 3px;
	display: none;
}	

														/* КОНТЕНТ  */

.container {
	text-align: center;
}
.product {
	display: inline-block;
	width: 580px;
	background-color: #d0e7ff;
	border-radius: 10px;
	margin: 15px 5px 5px 0px;
	padding: 20px 0 5px 0;
}
.images_box {
	margin:0 10px;
	float: left;
	position: relative;
}
#text .product  img {
	width:295px;
	margin: 0 0 5px 0;
}
#text img {
	border-radius: 10px;
	display: block;
	width:90px;
	height:auto;
	margin: 10px;
	float: left;
}
.text{
	font-size: 1.25em;
	padding: 0 10px;
	text-align: left;
}

														/* АДАПТАЦИЯ  */

/* 1170  */
@media screen and (max-width:1170px) {
header .layout{
	border-radius: 0px;
}
}
@media screen and (max-width:1044px) {
header .layout{
	border-radius: 0px;
}
#zagolovok h1 {
	font-size: 2.6em;
}
}

/* 980  */
@media screen and (max-width:980px) {

#zagolovok h1 {
	font-size: 2.5em;
}
footer p.ftext {
	width: 100%;
}
}

/* 874  */
@media screen and (max-width:874px) {

#zagolovok h1 {
	font-size: 2.3em;
}
.container h3{
	font-size: 1.5em;
}
}

/* 820  */
@media screen and (max-width:820px) {

#menu ul li a {
	padding: 0.5em 1px;
}
#sidebar ul li a {
	width: 150px;
}
.product {
	width: 320px;
}
}

/* 778  */
@media screen and (max-width:778px) {

#fixed {
	position: static;
	margin-top: 0!important;
}
#logo {
    display: none;
}

#slogan {
     width: 60%;
}
#phone {
    width: 40%;
    text-align: center;
}
.viber-whatsup {
		border-radius: 5px;
		box-shadow: 3px 3px 10px #000;
		}
.viber-whatsup:hover {
		box-shadow: 0px 0px 0px #000;
		}
#menu ul li {
	width: 50%;
}
#menu ul li a {
	width: 250px;
}
#aftertext{
	margin-bottom: 100px;
}
#aftertext .modul-kont, #aftertext .modul-vizov{
	display: block;
	margin:20px auto auto auto;
	max-width: 295px;
	width: 82%;
}
.modul-vizov a {
	display: block;
	margin: 0 auto;
	width: 260px;
}
#menu ul li {
	padding: 0.2em 0;
}
#sidebar ul li {
	padding: 0.2em 0;
	width: 50%;
	float: left;
}
#sidebar ul li a{
	width: 250px;
}

#text, #sidebar {
	float: none;
	width: 100%;
	text-align: center;
}
.fphone {
	display: block;	
	text-align: center;	
	position: fixed;
	right: 10px;
	left: 10px; 
	bottom: 0px; 
	border-radius: 10px;
	height: 40px; 
	font-size: 2em;
	text-decoration: none;
	margin: 5px auto;
	background:   floralwhite;
	max-width: 300px;
	width: 90%;
}
.otstup-snizu{
	padding-bottom: 80px !important;
}
footer, #fixed .modul-kont, #fixed .modul-vizov{
	display: none;
}
}

/* 610  */
@media screen and (max-width:610px) {
#zagolovok{
  height: auto;		
	}
#slogan p{
    font-size: 1em;		
	}	
#phone .tel, #phone .kont:last-child{
	display: none;
}
#phone {
	   display: inline;
		float: none;
	
	}
	
#slogan {
	width: 100%;
}
#zagolovok h1 {
	font-size: 2em;
	
}
#menu ul li {
	padding: 0.2em 0;
}
#sidebar ul li a{
	width: 200px;
}
#menu ul li a{
	width: 200px;
}
}

/* 490  */
@media screen and (max-width:490px) {

#zagolovok h1 {
	font-size: 1.7em;
}
.zagolovok, ul {
	display: none;
}
#menu ul li, #sidebar ul li {
	width: 100%;
	padding: 0.1em 0;
}
#menu ul li a, #sidebar ul li a{
	width: 90%;
}
#btn + label, #btn-s + label {
  display: inline-block; 
  color: #3F3; 
  height: 30px;
  cursor: pointer;
  width: 90%;
  margin-top: 5px;
  max-width: 300px;
  }
#btn + label:before{
  content: 'УСЛУГИ';  

}
#btn-s + label:before{
  content: 'ЗАПЧАСТИ';  
}
#btn:checked + label + ul, #btn-s:checked + label + ul {
    display: block;
}
#slogan p {
	font-size: 1em;
}
footer p.ftext {
	width: 100%;
}
p.ftel1, p.ftel2 {
	width: 100%;
}
.fphone{
	left: 0px;
	right: 0px;
	padding: 10px 0px;
}
#toTop{
		bottom:70px;
}
}
/*365*/
@media screen and (max-width:365px) {
#text .product  img {
	width:290px;
	}
}


																/* ФОТО */

												/* картинка на странице */

.item{
	float: left; 
	position: relative;
	display: inline-block;
}


 .minimized {
	height: 110px;
	cursor: zoom-in;
	border: 2px solid #000;
	float: left;
	border-radius: 2px;
	margin: 10px;
}
.lupa{
	position: absolute;
	width: 35px !important;
	right: -10px;
	top: 0px;
	cursor: zoom-in;
}
.minimized:hover, .lupa:hover~.minimized {
  border: 2px solid transparent;
	}

 
		/* увеличенная картинка */

														
.overfon{
	display: none;								/* затемняющий фон */
  background: #000;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  opacity: 0.5;
  z-index: 9990;
}
.over{
	display: none;											/* картинка */
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 9991;
}
.tab{
	display: table;
	width: 100%;
	height: 100vh;
	text-align: center;
	z-index: 9999;
}
.cel{
	display: table-cell;
	vertical-align: middle;
}
.bloc{
	display: inline-block;
	position: relative;
	} 
 											/* кнопка закрытия */
#close-popup {
  width: 30px;
  height: 30px;
  background: #FFFFFF;
  border: 1px solid #AFAFAF;
  border-radius: 15px;
  position: absolute;
  top: 10px;
  right: 10px;
}
 
#close-popup i {
  width: 30px;
  height: 30px;
  background: url("images/cross.png") no-repeat center center;
  background-size: 16px 16px;
  display: block;
}
 
@keyframes rota {
 25% { transform: rotate(360deg); }
}
 
#close-popup:hover {
  animation: rota 4s infinite normal;
  -webkit-animation-iteration-count: 1;
  animation-iteration-count: 1;
}

.message{
	display: inline-block;
	background-color: #e2e7e4;
	color: #0059ff;
	font-size: 1.5em;
	font-weight: bold;
	max-width: 540px;
	padding: 50px;
	margin: 0 10px;
	text-indent: 0px;
}







															/*с. ГЛАВНАЯ*/
table#raboti, table#rayoni {
	border-spacing: 10px;
	width:100%;
	font-size: 1.25em;
}
#raboti td.zag {
	border-radius: 5px;
	font-size: 1em;
	font-weight: bold;
	text-align: center;
}
#raboti td a.ssilka {
	box-shadow:inset 5px 5px 5px 0px #919191,inset -5px -5px 5px 0px #919191,3px 3px 5px 0px #000;
}
#raboti td a.ssilka:hover {
	box-shadow:inset 5px 5px 5px 0 #1b71c8,inset -5px -5px 5px 0 #1b71c8;
	color: aliceblue;
	background-color: #79bcff;
}
#raboti td.cena, #raboti td a.ssilka{
	border-radius: 10px;
	text-align: center;
	font-weight: bold;
	padding: 8px 5px;
	margin-bottom: 3px; 
	transition: .3s;
}
#raboti td a.ssilka {
	display: block;
	text-decoration: none;
	color:  #007cd7;
		
}
#raboti tr:hover td.cena{
	background-color: #79bcff;
	transition: .3s;
	color: aliceblue;
}


													/*с. ВЫЗОВ МАСТЕРА */
#Editbox1, textarea {
   border: 1px #A9A9A9 solid;
   text-align: left;
   font-size: 1em;
   width: 95%;
   
}
#fileFF{
display: none;
}
#Button1, form label
{
   border: 1px #A9A9A9 solid;
   border-radius:2px; 
   font-size: 1em;
   margin-bottom: 5px;
   padding: 5px;
   background-color: aliceblue;
	color: black;
}
#Button1:hover, form label:hover {
	background: #81b8ef;
}
form {
	color:#000;
	border-radius:10px;
	border:2px solid #000;
	background-color:#CCC;
	margin:10px;
	font-size: 1.2em;
	text-align: center;
		}
		
		
														/*с. ЗАПЧАСТИ*/
#text .kategory {
	display: inline-block;
	border-radius: 10px;
	width:300px;
	height:250px;
	background-color: #ebebeb;
	padding-top: 20px;
	text-align: center;
	text-decoration: none;
	font-size: 1.3em;
	font-weight: bold;
	color: #0B64BE;
	margin: 10px;
}
#text .kategory img {
	display: inline;
	width: 250px;
	float: none;
}

										
										
											/*с. СТЁКЛА*/
#text .steklo{
	display: inline;
	width: 300px;
	float: none;
}									
