
html, body {
    height: 100%;
	margin:0;
	padding:0;
}

@font-face {
	font-family: LatoRegular;
	src:url(../fonts3/LatoRegular.ttf);
	}  

@font-face {
	font-family: LatoBold;
	src:url(../fonts3/LatoBold.ttf);
	}  

.scrollup{
position:fixed;
width:40px;
height:40px;
bottom:5%;
right:5%;
display:none;
text-indent:-9999px;
background: url(images3/arrow_up.png)no-repeat;
}

	
/* общий фон */
body{
font:16px LatoRegular,verdana,san-serif;
color:#000000;
background: #FFFFFF;
text-align: center;
vertical-align:middle;
/*min-width:996px;*/
}


h1{font:40px LatoRegular,verdana,san-serif;
	margin: 1% auto;	
	}

h2{font:24px LatoRegular,verdana,san-serif;
	margin: 5% auto;
	}

h3{font:16px LatoRegular,verdana,san-serif;
	margin: 1% auto;}


#title{
font:15px LatoBold,verdana,san-serif;
color:#FFFFFF;
width:100%;
height: 10%;
min-height: 78px;
position: relative;
background: #0091D3;
margin:0 auto;
}


#logo{
position: relative;
width:25%;
height:100%;

}

#logo1{
position: absolute;	
width:100%;
max-width:194px;
right: 0;
top: 50%;
transform: translateY(-50%);
}

#logo1 img {  /* картинка занимает весь блок и трансформируется вместе с ним */
  width: 100%;
  height: auto; 
 } 
  
#menu{
position: absolute;
width:50%;
bottom:0;
left: 25%;
}

#phone{
position: absolute;
width:25%;
top:2%;
right:0;
text-align: left;
margin: 0;
}

/* строка меню */
#nav, #nav ul, #nav li {
  margin: auto;
  padding: 0;
}
#nav, #nav ul {
  background: #0091D3;
}
#nav { /* подменю перемещается относительно меню */
  position: relative;
  display: table;
  width: 100%;
  margin: auto;

}
#nav ul { /* подменю находится вне потока */
  position: absolute;
  top: 100%;
  z-index: 5;
  display: none;
}
#nav li:hover ul { /* подменю будет показано, если курсор наведён на пункт меню с выпадающем списком */
  display: block;
  }
#nav li { /* основное меню */
  display: table-cell;
  text-align: center;
  background: #0091D3;
  border-bottom: 4px solid #0091D3;
  margin: 0 ;

}

#nav ul li { /* элементы выпадающего меню */
  display: block;
  text-align: left;
  background: #F6F6F7;
  border:0;
  width: 500px;
  overflow: visible;
}

#nav a {
  display: block;
  padding: 10px;
  color: #fff;
  text-decoration: none;
}
#nav ul a {
  padding: 10px;
  color:#6E6E6E;
  }
#nav li:hover {
  border-bottom: 4px solid #E15C41;
}

#nav ul li:hover { /* элементы выпадающего меню  при наведении */
  background: #F6F6F7;
  border:0;
}

#nav ul li a:hover { /* цвет текста при наведеннии */
  color: #0091D3; 
}

q{
 quotes: "\00ab" "\00bb"; /* Кавычки в виде двойных угловых скобок */
}

/* заглавная картинка */
#head{
background-image:url(images3/head3.png);
background-position: center center;
background-repeat: no-repeat;
background-attachment: scroll;
background-size: cover;
height:75%;
position: relative;
color:#fafafa;
}

#htext_centre
{	
	padding:0;
	margin:0; 
	position: absolute;
	width:100%;
    top: 50%;
    transform: translateY(-50%);
}

#htext_bottom
{	
	padding:0;
	margin:1% auto 0 auto; 
	position: absolute;
	width:100%;
    bottom: 0;
}

.carousel  {
   max-width: 1360px; /* ширина всего блока */
   margin: 0 auto;
   width:100%;
   height: 15%;
   min-height:120px;
   background-color: #FFFFFF;
      
}
.carousel-wrapper {
   margin: 0 30px; /* отступы для стрелок */
   overflow: hidden; /* скрываем содержимое, выходящее за рамки основной области */
   position:relative;
   height: 100%;
   
  
}
.carousel-items {
   width: 10000px; /* устанавливаем большую ширину для набора элементов */
   position: relative; /* позиционируем блок относительно основной области карусели */
}
.carousel-block {
   position: relative;
   float: left; /* выстраиваем все элементы карусели в ряд */
   width: 200px; /*  задаём ширину каждого элемента  */
   height: 100%;
   margin: 0 8px;
  /* 
   top: 50%; 
   transform: translateY(-50%);
*/
   }
.carousel-block img{
  width: 100%;
  height: auto; 
  }

/*********** BUTTONS ***********/
.carousel-button-left , .carousel-button-right {
   width: 25px; 
   height: 100%; 
   position: relative;
   cursor: pointer; 
   text-decoration:none;
  }
.carousel-button-left {
   float: left; 
   background: url(images3/arrow_left.png) no-repeat;
   
}
.carousel-button-right{
   float: right;
   background: url(images3/arrow_right.png) no-repeat; 
}

.razdel{
	background:	#EEEEEE;
	color:#333333;
	width: 100%;
	margin: 0 auto;
	padding: 1%;	
}

.razdel h2{
	margin: 0 auto;
}

.wrapper_l{
color:#333333;
width:100%;
background:	#F6F6F7;
margin:0 auto;
padding: 0.5% 0;
}


.wrapper_r{
color:#333333;
width:100%;
background:	#FFFFFF;
margin:0 auto;
padding: 0.5% 0;
}


.block_{
	width: 100%;
	max-width: 1360px;
	height: 100%;
	max-height:600px; 
	margin: 0 auto;	
	position: relative;
	overflow: hidden;
}

.block_ ul{
text-align:left;
list-style-type: none;
padding: 0;
}


.block_ li a {
  display: inline-block;
  color:#ffffff;
  background-color: #E15C41; 
  text-decoration: none;
  user-select: none;
  padding: .5em 1em;
  border: 1px solid #E15C41;
  border-radius: 2px;
  transition: 0.2s;
} 
.block_ li a:hover { 
  border: 1px solid #0091D3;
  color: #0091D3;
  background: none;
}

.block_  li a:active { background: none; }


.pic_right {
 position: relative;
 left:35%;
 width: 65%;
 max-width: 900px;
 height: 100%;
 max-height:600px; 
  
  }


.pic_left {
 position: relative;
 left:0%;
 width: 65%;
 max-width: 900px;
 height: 100%;
 max-height:600px;
}
  

.pic_right  img {
  width: 100%; /* ширина картинки */
  height: auto; /* высота картинки */
}

.pic_left  img {
  width: 100%; /* ширина картинки */
  height: auto; /* высота картинки */
}
.text_left{
	position: absolute;	
	left: 0;
	width: 35%;
	max-width:460px;
	top: 50%; 
	transform: translateY(-50%);
	padding: 0 0.5%;	
	
/*	height: 100%; -- НИКОГДА не использовать при позицониовании */
	
}

.text_right{
	position: absolute;	
	right: 0;
	width:35%;
	max-width:460px;
	top: 50%; /* крутая центровка блока по вертикали */
	transform: translateY(-50%);
	padding: 0 0.5%;
	}

.pic_part {
 position: relative;
 left:0%;
 width: 20%;
 max-width: 230px;
 height: 100%;
 max-height:200px;
}
 

.pic_part   img {
  width: 100%; /* ширина картинки */
  height: auto; /* высота картинки */
}

.text_part{
	overflow:hidden;
	position: absolute;	
	right: 0%;
	width:80%;
	max-width:1130px;
	top: 50%; /* крутая центровка блока по вертикали */
	transform: translateY(-50%);
	padding: 0;	
	text-align: left;
	}

	
.lic_part {
	width: 32%;
	height: auto;
	margin: 0 3%;
	max-width: 212px;
	display: inline-block; 
	border:1px solid #ccc;
}


.lic_part img {
  width: 100%; /* ширина картинки */
  height: auto; /* высота картинки */
}

/**********All styles popup**********/
.popup {
padding:1%;
position:fixed;
top:3% ;
left:50%;
display:none;
overflow:hidden;
border:1px solid #ccc;
background:#fff;
-moz-border-radius:5px;
-webkit-border-radius:5px;
border-radius:5px;
z-index:100;
}

a.close {
width:16px;
height:16px;
display:block;
text-indent:-9999px;
position:absolute;
top:10px;
right:10px;
background:url(images3/close.png) no-repeat;
}

/**********popup with pictures**********/
.photo_1 {
margin-left:-15%;
width:30%;
}

.photo_2 {
margin-left:-15%;
width:30%;
}

.photo_3 {
margin-left:-15%;
width:30%;
}

.popup img {
margin:0 auto;
width:100%;
max-width:460px;
}

/**********overlay styles**********/
#overlay {
width:100%;
height:100%;
position:fixed;
top:0;
left:0;
display:none;
background:#000;
opacity:.5;
}

#map{
	width:100%;
	max-width:1360px;
	height: 600px;
	margin: 0 auto;
	padding: 0 1%;	
}

.wrapper_f{
width:100%;
background: #0091D3;
color:#FFFFFF;
margin:0 auto;
padding: 0;
}

#footer{
	width:100%;
	max-width:1360px;
	height: 100%;
	margin:0 auto;
	text-align:left;
	padding: 0.5%; 
	
}

#footer p{	
	margin:0.5% 0;
}


