﻿/*html, body{
height: 100%;
}*/
body{
background-color:#f1f1f1;


}
.logo{
  background-image:url(logo.jpg);
  background-repeat: no-repeat;
  height: 150px;
  width: 150px;
  float: left;
  margin-left: 30%;
  padding-right: 20px;
}
.basicpage{
  position: relative; /* Относительное позиционирование */
  width: 1130px; /* Ширина слоя */
  background: white; /* Цвет фона */
  margin-left:auto;/*Равнение по центру*/
  margin-right:auto;/*Равнение по центру*/
  padding-top:1em;/*Отступ от верхнего края*/
  padding-left:5em;/*Отступ от левого края*/
  padding-right:5em;/*Отступ от правого края*/
  padding-bottom:5em;/*Отступ от нижнего края*/
  
}
header{
  width: 1130px; /* Ширина слоя */
  border-top-left-radius: 50px;
  border-top-right-radius: 50px;
  background: white; /* Цвет фона */
  padding:5em; /*Отступы от края внутрь*/
  margin-left:auto;/*Равнение по центру*/
  margin-right:auto;/*Равнение по центру*/
  }
  /*NEWS*/
.news{
  padding-left: 30px;
  padding-right:30px; 
  margin-right: 2em; /*отступ справа от новостного блока*/
  float:left;/*ровнения по левому краю*/
  position: relative;/*относительное позиционирование*/
  width:300px; /* ширина нашего блока */
  height:500px; /* высота нашего блока */
  background: #fff; /* цвет фона, белый */
  border: 0px solid #C1C1C1; /* размер и цвет границы блока */
  overflow: auto; /* свойство для прокрутки по горизонтали. Автоматом, если больше блока */
}
h2.flag{
position: relative;
	width: 50%;
	font-size: 1.5em;
	font-weight: bold;
	padding: 6px 20px 6px 70px;
	margin: 30px 10px 10px -71px;
	color: #ffff;
	background-color: #f39c4e;
	text-shadow: 0px 1px 2px #bbb;
	-webkit-box-shadow: 0px 2px 4px #888;
	-moz-box-shadow: 0px 2px 4px #888;
	box-shadow: 0px 2px 4px #888;
}

.thumb img  {
    border: 2px solid #f29947; /* Рамка вокруг фотографии */
    padding: 3px; /* Расстояние от картинки до рамки */
    background: #1d652d; /* Цвет фона */
    margin-right: 2px; /* Отступ справа */
    margin-bottom: 2px; /* Отступ снизу */
   }

h1,h2,h3{
color: #1d652d;
}
.menu-main2{
  padding-left: 30px;
  padding-right:30px; 
  margin-right: 2em; /*отступ справа от новостного блока*/
  float:left;/*ровнения по левому краю*/
  position: relative;/*относительное позиционирование*/
  width:300px; /* ширина нашего блока */
  height:500px; /* высота нашего блока */
  background: #fff; /* цвет фона, белый */
  border: 0px solid #C1C1C1; /* размер и цвет границы блока */
  overflow: auto; /* свойство для прокрутки по горизонтали. Автоматом, если больше блока */
}
.menu-main2 li {display: inline-block;}
.menu-main2 li:last-child:after {content: none;}
.menu-main2 a {
  text-decoration: none;
  font-family: 'Ubuntu Condensed', sans-serif;
  letter-spacing: 2px;
  position: relative;
  padding-bottom: 15px;
  margin: 0 34px 0 30px;
  font-size: 17px;
  text-transform: uppercase;
  display: inline-block;
  transition: color .2s;
}
.menu-main2 a, .menu-main a:visited {color: #9d999d;}
.menu-main2 a.current, .menu-main a:hover{color: #feb386;}
.menu-main2 a:before,
.menu-main2 a:after {
  content: "";
  position: absolute;
  height: 4px;
  top: auto;
  right: 50%;
  bottom: 12px;
  left: 50%;
  background: #feb386;
  transition: .8s;
}
.menu-main2 a:hover:before, .menu-main .current:before {left: 0;}
.menu-main2 a:hover:after, .menu-main .current:after {right: 0;}   
@media (max-width: 550px) {
.menu-main2 {padding-top: 0;}
.menu-main2 li {display: block;}
.menu-main2 li:after {content: none;}
.menu-main2 a {
  padding: 25px 0 20px; 
  margin: 0 30px;
}
}

.menu-main4{
  padding-left: 30px;
  padding-right:30px; 
  margin-right: 2em; /*отступ справа от новостного блока*/
  float:left;/*ровнения по левому краю*/
  position: relative;/*относительное позиционирование*/
  width:300px; /* ширина нашего блока */
  height:250px; /* высота нашего блока */
  background: #fff; /* цвет фона, белый */
  border: 0px solid #C1C1C1; /* размер и цвет границы блока */
  overflow: auto; /* свойство для прокрутки по горизонтали. Автоматом, если больше блока */
}
.menu-main4 li {display: inline-block;}
.menu-main4 li:last-child:after {content: none;}
.menu-main4 a {
  text-decoration: none;
  font-family: 'Ubuntu Condensed', sans-serif;
  letter-spacing: 2px;
  position: relative;
  padding-bottom: 15px;
  margin: 0 34px 0 30px;
  font-size: 17px;
  text-transform: uppercase;
  display: inline-block;
  transition: color .2s;
}
.menu-main4 a, .menu-main a:visited {color: #9d999d;}
.menu-main4 a.current, .menu-main a:hover{color: #feb386;}
.menu-main4 a:before,
.menu-main4 a:after {
  content: "";
  position: absolute;
  height: 4px;
  top: auto;
  right: 50%;
  bottom: 12px;
  left: 50%;
  background: #feb386;
  transition: .8s;
}
.menu-main4 a:hover:before, .menu-main .current:before {left: 0;}
.menu-main4 a:hover:after, .menu-main .current:after {right: 0;}   
@media (max-width: 550px) {
.menu-main4 {padding-top: 0;}
.menu-main4 li {display: block;}
.menu-main4 li:after {content: none;}
.menu-main4 a {
  padding: 25px 0 20px; 
  margin: 0 30px;
}
}


.menu-main3{
  padding-left: 30px;
  padding-right:30px; 
  margin-right: 2em; /*отступ справа от новостного блока*/
  float:left;/*ровнения по левому краю*/
  position: relative;/*относительное позиционирование*/
  width:300px; /* ширина нашего блока */
  height:500px; /* высота нашего блока */
  background: #fff; /* цвет фона, белый */
  border: 0px solid #C1C1C1; /* размер и цвет границы блока */
  overflow: auto; /* свойство для прокрутки по горизонтали. Автоматом, если больше блока */
}

.menu-main3 li {display: inline-block;}
.menu-main3 li:last-child:after {content: none;}
.menu-main3 a {
  text-decoration: none;
  font-family: 'Ubuntu Condensed', sans-serif;
  letter-spacing: 2px;
  position: relative;
  padding-bottom: 35px;
 /* margin: 0 34px 0 30px;*/
  font-size: 17px;
  text-transform: uppercase;
  display: inline-block;
  transition: color .2s;
}
.menu-main3 a, .menu-main a:visited {color: #9d999d;}
.menu-main3 a.current, .menu-main a:hover{color: #feb386;}
.menu-main3 a:before,
.menu-main3 a:after {
  content: "";
  position: absolute;
  height: 4px;
  top: auto;
  right: 50%;
  bottom: 12px;
  left: 50%;
  background: #feb386;
  transition: .8s;
}
.menu-main3 a:hover:before, .menu-main .current:before {left: 0;}
.menu-main3 a:hover:after, .menu-main .current:after {right: 0;}   
@media (max-width: 550px) {
.menu-main3 {padding-top: 0;}
.menu-main3 li {display: block;}
.menu-main3 li:after {content: none;}
.menu-main3 a {
  padding: 25px 0 20px; 
  margin: 0 30px;
}
}


.item-list {
	background-color: #F0F0F0;
	margin-bottom: 15px;
}  

.pager {
	border-bottom: 4px solid #ccc;
	height: 30px;
	text-align: center;
}

.pager li {
	display: inline-block;
	list-style: none;
	padding: 5px 17px;
}
.pager li:hover {
	background-color: #CCCCCC;
	border-bottom: 2px solid #373737;
	 transition: 0.4s linear;
}

.pager-current {
	background-color: #CCCCCC;
	border-bottom: 4px solid #373737;
}

.pager a {
	color: #e67209;
	text-decoration: none;

}

 @import url('https://fonts.googleapis.com/css?family=Ubuntu+Condensed');
.menu-main {
  list-style: none;
  margin: 40px 0 5px;
  padding: 25px 0 5px;
  text-align: center;
  background: white;
}
.menu-main li {display: inline-block;}
.menu-main li:after {
  content: "|";
  color: #606060;
  display: inline-block;
  vertical-align:top;
}
.menu-main li:last-child:after {content: none;}
.menu-main a {
  text-decoration: none;
  font-family: 'Ubuntu Condensed', sans-serif;
  letter-spacing: 2px;
  position: relative;
  padding-bottom: 20px;
  margin: 0 25px 0 25px;
  font-size: 17px;
  text-transform: uppercase;
  display: inline-block;
  transition: color .2s;
}
.menu-main a, .menu-main a:visited {color: #9d999d;}
.menu-main a.current, .menu-main a:hover{color: #feb386;}
.menu-main a:before,
.menu-main a:after {
  content: "";
  position: absolute;
  height: 4px;
  top: auto;
  right: 50%;
  bottom: -5px;
  left: 50%;
  background: #feb386;
  transition: .8s;
}
.menu-main a:active{
    color: #1d652d; /* Цвет активной ссылки */ 
   } 
.menu-main a:hover:before, .menu-main .current:before {left: 0;}
.menu-main a:hover:after, .menu-main .current:after {right: 0;}   
@media (max-width: 550px) {
.menu-main {padding-top: 0;}
.menu-main li {display: block;}
.menu-main li:after {content: none;}
.menu-main a {
  padding: 25px 0 20px; 
  margin: 0 30px;
}
}
/*Галерея О Нас*/
@CHARSET "UTF-8";


#thumbs { padding-top: 10px; overflow: hidden; }
#thumbs img, #largeImage { border: 1px solid gray; padding: 4px; background-color: white; cursor: pointer; }
#thumbs img { float: left; margin-right: 6px; }
#description { background: black; color: white; position: absolute; bottom: 0; padding: 10px 20px; width: 525px; margin: 5px; }
#panel { position: relative; }




/*Форма обратной связи*/
/* === Remove input autofocus webkit === */
*:focus {outline: none;}

/* === Шрифты для формы и общая ширина === */
body {font: 14px/21px "Lucida Sans", "Lucida Grande", "Lucida Sans Unicode", sans-serif;}
.contact_form h2, .contact_form label {font-family:Georgia, Times, "Times New Roman", serif;}
.form_hint, .required_notification {font-size: 11px;}

.contact_form {
		width:700px;
	}

/* === Ширина формы === */
.contact_form p {
    	width:650px;
	margin:7px 10px 7px 10px;
	padding:0px;
}

/* === Размер и расположение блоков === */
.contact_form label {
	width:150px;
	margin-top: 3px;
	display:inline-block;
	float:left;
	padding:3px;
}
.contact_form input {
	height:20px; 
	width:220px; 
	padding:5px 8px;
}
.contact_form textarea {padding:8px; width:300px;}
.contact_form button {margin-left:156px;}

	/* Цвета и эффекты */
	.contact_form input, .contact_form textarea { 
		border:1px solid #aaa;
		box-shadow: 0px 0px 3px #ccc, 0 10px 15px #eee inset;
		border-radius:2px;
		padding-right:30px;
		-moz-transition: padding .25s; 
		-webkit-transition: padding .25s; 
		-o-transition: padding .25s;
		transition: padding .25s;
	}
	.contact_form input:focus, .contact_form textarea:focus {
		background: #fff; 
		border:1px solid #555; 
		box-shadow: 0 0 3px #aaa; 
		padding-right:70px;
	}

/* === HTML5  === */	
.contact_form input:required, .contact_form textarea:required {
	background: #fff no-repeat 98% center;
}
.contact_form input:required:valid, .contact_form textarea:required:valid {
	background: #fff no-repeat 98% center;
	box-shadow: 0 0 5px #5cd053;
	border-color: #28921f;
}
.contact_form input:focus:invalid, .contact_form textarea:focus:invalid {
	background: #fff no-repeat 98% center;
	box-shadow: 0 0 5px #d45252;
	border-color: #b03535
}

/* === Стили подсказок === */
.form_hint {
	background: #d45252;
	border-radius: 3px 3px 3px 3px;
	color: white;
	margin-left:8px;
	padding: 1px 6px;
	z-index: 999; /* подсказки поверх всех элементов */
	position: absolute; /* правильное отображение, если подсказка в 2 строки */
	display: none;
}
.form_hint::before {
	content: "\25C0";
	color:#d45252;
	position: absolute;
	top:1px;
	left:-6px;
}
.contact_form input:focus + .form_hint {display: inline;}
.contact_form input:required:valid + .form_hint {background: #28921f;}
.contact_form input:required:valid + .form_hint::before {color:#28921f;}
	
/* === Оформление кнопки === */
button.submit {
	background-color: #68b12f;
	background: -webkit-gradient(linear, left top, left bottom, from(#68b12f), to(#50911e));
	background: -webkit-linear-gradient(top, #68b12f, #50911e);
	background: -moz-linear-gradient(top, #68b12f, #50911e);
	background: -ms-linear-gradient(top, #68b12f, #50911e);
	background: -o-linear-gradient(top, #68b12f, #50911e);
	background: linear-gradient(top, #68b12f, #50911e);
	border: 1px solid #509111;
	border-bottom: 1px solid #5b992b;
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	-ms-border-radius: 3px;
	-o-border-radius: 3px;
	box-shadow: inset 0 1px 0 0 #9fd574;
	-webkit-box-shadow: 0 1px 0 0 #9fd574 inset ;
	-moz-box-shadow: 0 1px 0 0 #9fd574 inset;
	-ms-box-shadow: 0 1px 0 0 #9fd574 inset;
	-o-box-shadow: 0 1px 0 0 #9fd574 inset;
	color: white;
	font-weight: bold;
	padding: 6px 20px;
	text-align: center;
	text-shadow: 0 -1px 0 #396715;
}
button.submit:hover {
	opacity:.85;
	cursor: pointer; 
}
button.submit:active {
	border: 1px solid #20911e;
	box-shadow: 0 0 10px 5px #356b0b inset; 
	-webkit-box-shadow:0 0 10px 5px #356b0b inset ;
	-moz-box-shadow: 0 0 10px 5px #356b0b inset;
	-ms-box-shadow: 0 0 10px 5px #356b0b inset;
	-o-box-shadow: 0 0 10px 5px #356b0b inset;
	
}
/*  Слайдер*/
.slides {
    height:500px;
    margin:50px auto;
    overflow:hidden;
    position:relative;
    /*width:100%; По идее это чтоб округлить углы слайдера, но это в другой раз.
	border-top-left-radius: 25px;
	border-top-right-radius: 25px;
	border-bottom-left-radius: 25px;
	border-bottom-right-radius: 25px;*/
	
}
.slides ul {
    list-style:none;
    position:relative;
	width:100%;
}

/* Кадры анимации #anim_slides */
@-webkit-keyframes anim_slides {
    0% {
        opacity:0;
    }
    6% {
        opacity:1;
    }
    24% {
        opacity:1;
    }
    30% {
        opacity:0;
    }
    100% {
        opacity:0;
    }
}
@-moz-keyframes anim_slides {
    0% {
        opacity:0;
    }
    6% {
        opacity:1;
    }
    24% {
        opacity:1;
    }
    30% {
        opacity:0;
    }
    100% {
        opacity:0;
    }
}

.slides ul li {
    opacity:0;
    position:absolute;
    top:0;
	

    /* анимация css3 */
    -webkit-animation-name: anim_slides;
    -webkit-animation-duration: 24.0s;
    -webkit-animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-direction: normal;
    -webkit-animation-delay: 0;
    -webkit-animation-play-state: running;
    -webkit-animation-fill-mode: forwards;

    -moz-animation-name: anim_slides;
    -moz-animation-duration: 24.0s;
    -moz-animation-timing-function: linear;
    -moz-animation-iteration-count: infinite;
    -moz-animation-direction: normal;
    -moz-animation-delay: 0;
    -moz-animation-play-state: running;
    -moz-animation-fill-mode: forwards;
}

/* Задержки css3 */
.slides ul  li:nth-child(2), .slides ul  li:nth-child(2) div {
    -webkit-animation-delay: 6.0s;
    -moz-animation-delay: 6.0s;
}
.slides ul  li:nth-child(3), .slides ul  li:nth-child(3) div {
    -webkit-animation-delay: 12.0s;
    -moz-animation-delay: 12.0s;
}
.slides ul  li:nth-child(4), .slides ul  li:nth-child(4) div {
    -webkit-animation-delay: 18.0s;
    -moz-animation-delay: 18.0s;
}
.slides ul li img {
    display:block;
	max-width: 100%;
    max-height: 80%;
	float:center !important;
}

/* Кадры анимации #anim_titles */
@-webkit-keyframes anim_titles {
    0% {
        left:100%;
        opacity:0;
    }
    5% {
        left:10%;
        opacity:1;
    }
    20% {
        left:10%;
        opacity:1;
    }
    25% {
        left:100%;
        opacity:0;
    }
    100% {
        left:100%;
        opacity:0;
    }
}
@-moz-keyframes anim_titles {
    0% {
        left:100%;
        opacity:0;
    }
    5% {
        left:10%;
        opacity:1;
    }
    20% {
        left:10%;
        opacity:1;
    }
    25% {
        left:100%;
        opacity:0;
    }
    100% {
        left:100%;
        opacity:0;
    }
}

.slides ul li div {
    background-color:#000000;
    border-radius:10px 10px 10px 10px;
    box-shadow:0 0 5px #FFFFFF inset;
    color:#FFFFFF;
    font-size:26px;
    left:10%;
    margin:0 auto;
    padding:20px;
    position:absolute;
    top:200px;
    width:200px;

    /* Анимация css3 */
    -webkit-animation-name: anim_titles;
    -webkit-animation-duration: 24.0s;
    -webkit-animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-direction: normal;
    -webkit-animation-delay: 0;
    -webkit-animation-play-state: running;
    -webkit-animation-fill-mode: forwards;

    -moz-animation-name: anim_titles;
    -moz-animation-duration: 24.0s;
    -moz-animation-timing-function: linear;
    -moz-animation-iteration-count: infinite;
    -moz-animation-direction: normal;
    -moz-animation-delay: 0;
    -moz-animation-play-state: running;
    -moz-animation-fill-mode: forwards;
}

.slider-main > li{
  background-position: center;
  background-size: cover;
  width: 100%;
  height: 500px;
}