/* spectral-regular - latin_cyrillic */
@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/spectral-v6-latin_cyrillic-regular.eot'); /* IE9 Compat Modes */
  src: local('Spectral Regular'), local('Spectral-Regular'),
       url('fonts/spectral-v6-latin_cyrillic-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/spectral-v6-latin_cyrillic-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/spectral-v6-latin_cyrillic-regular.woff') format('woff'), /* Modern Browsers */
       url('fonts/spectral-v6-latin_cyrillic-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/spectral-v6-latin_cyrillic-regular.svg#Spectral') format('svg'); /* Legacy iOS */
}
/* spectral-500 - latin_cyrillic */
@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/spectral-v6-latin_cyrillic-500.eot'); /* IE9 Compat Modes */
  src: local('Spectral Medium'), local('Spectral-Medium'),
       url('fonts/spectral-v6-latin_cyrillic-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/spectral-v6-latin_cyrillic-500.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/spectral-v6-latin_cyrillic-500.woff') format('woff'), /* Modern Browsers */
       url('fonts/spectral-v6-latin_cyrillic-500.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/spectral-v6-latin_cyrillic-500.svg#Spectral') format('svg'); /* Legacy iOS */
}
/* spectral-600 - latin_cyrillic */
@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/spectral-v6-latin_cyrillic-600.eot'); /* IE9 Compat Modes */
  src: local('Spectral SemiBold'), local('Spectral-SemiBold'),
       url('fonts/spectral-v6-latin_cyrillic-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/spectral-v6-latin_cyrillic-600.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/spectral-v6-latin_cyrillic-600.woff') format('woff'), /* Modern Browsers */
       url('fonts/spectral-v6-latin_cyrillic-600.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/spectral-v6-latin_cyrillic-600.svg#Spectral') format('svg'); /* Legacy iOS */
}
 

*{margin:0;padding:0;outline:none!important;}
a{text-decoration:none;color:inherit;outline:none!important;}
a:hover, a:active, a:focus{color:inherit;text-decoration:none;}
ul, li{list-style:none;}
img{max-width:100%!important;height:auto!important;}
p {margin-bottom: 15px;}

body {
	font-family: 'Spectral';
    font-size: 15px;
    line-height: 22px;
    color: #000;
    overflow-x: hidden;  
} 
header {
    width: 320px;
    min-width: 320px;
    height: 100%;
    position: fixed;
    top: 0;
    bottom: 0;
    margin: 0; 
    padding: 15px 20px;
    -webkit-transition: left 0.3s;
    -moz-transition: left 0.3s;
    transition: left 0.3s;
    background: #f9f4ed;
    z-index: 2000;
    box-shadow: 4px 0px 20px 0px rgba(0,0,0, 0.5);
    -moz-box-shadow: 4px 0px 20px 0px rgba(0,0,0, 0.5);
    -webkit-box-shadow: 4px 0px 20px 0px rgba(0,0,0, 0.5);
    overflow-y: auto;
}

.main {
    min-height: 100vh;
    padding: 50px;
    display: flex; 
}
.main-inner {
    background-color: rgba(255, 250, 205, 0.43137254901960786);
    width: 100%;
	display: flex;
    align-items: center;
}
.main-bg {
    background-image: url(img/bg-main.jpg);
    background-repeat: no-repeat;
    background-size: cover; 
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-attachment: fixed;
    position: absolute;
    z-index: -1;
}

.main-team { 
    padding: 70px 0;  
}
h1 {
    font-size: 35px;
    margin: 20px 0;
    font-weight: 500;
}
.h2 {
    font-size: 26px;
    font-weight: 500;
    margin: 15px 0;
	    text-align: center;
}
.main-history { 
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: #f4faf6;
    position: relative;
	color: #000000;
    font-weight: 500; 
}
.main-history .container {
    z-index: 2;
}
.title-box {
    background-color: #b2a698;
    color: #fff;
    margin-bottom: 50px;
    padding: 75px 0; 
}
.his {
    position: absolute;
    bottom: -5px;
    right: 0;
	animation-duration: 1s;
  animation-delay: 1s;
}

.content {
    margin-bottom: 50px;
	min-height: 300px;
	
}
 .text p {
    font-size: 15px;
    line-height: 24px;
}
.text-top {
    height: 100vh;
    display: flex;
    align-items: center;
    color: #fff;
    font-size: 28px;
    line-height: 40px;
}
a.logo {
    margin: 20px;
    display: block;
    text-align: center;
}
.fix-menu {
    position: fixed;
    display: flex;
    align-items: center;
    width: 320px;
    height: 100vh;
    margin-left: calc(50vw - 1270px / 2);
    padding-left: 15px;
    padding-right: 15px;
	z-index:999;
}
#menu-main li {
    border-top: 1px solid #c7c7c7;
    padding: 5px;
    font-size: 15px;
    color: #000; 
    text-align: center;
    font-weight: 500;
}
#menu-main li:last-child {
    border-bottom: 1px solid #c7c7c7;
}
#menu-main li a:hover {
    color: #000;
}
.onepage-wrapper .section { 
    display: flex;
    align-items: center;
}
a.phone-num { 
    color: #404040;
    font-size: 15px;
    display: block;
    text-align: center;
	font-weight: 600;
}
 .cont-box {
    padding-top: 25px;
}
a.phone-num:hover {
    color: #000; 
}
p.home-text {
    font-size: 22px;
    color: #000000;
    line-height: 36px;
    letter-spacing: 1px;
    font-weight: 600;
}
.home h1 { 
    font-weight: 900;
    font-size: 43px;
    letter-spacing: 5px;
    width: 600px;
    text-transform: uppercase; 
    background-repeat: no-repeat;
    margin: 0 auto 0;
    text-align: center;
    line-height: 70px; 
	-webkit-transform: scale(3); 
    -webkit-transition: -webkit-transform 2s ease, color 2s ease; 
}
.home h1.qwer { 
    -webkit-transform: scale(1);  
}
h1.qwer img {
    display: block;
    margin: 0 auto;
}
h1 span {
    display: block;
    letter-spacing: 3px;
    font-size: 24px;
    border-top: 1px solid;
    line-height: 32px;
    padding-top: 10px;
}
.home-text-box:before {
    content: '';
    background-color: #ffffff;
    position: absolute;
    width: 3000px;
    height: 50px;
    z-index: 1;
    margin-left: -1000px;
}
.home-text {
    color: #5c8848;
    font-weight: 600;
    font-size: 30px;
    z-index: 5;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 50px;
	text-align: center;
    display: block;
}
.home-text:before {
    content: '';
    background-color: #5c8848;
    height: 5px;
    width: 200px;
    position: absolute;
    left: -150px;
    top: 22px;
}
.home-text:after {
    content: '';
    background-color: #5c8848;
    height: 5px;
    width: 200px;
    position: absolute;
    right: -150px;
    top: 22px;
}
.ab-text {
    padding-bottom: 50px;
    font-size: 18px;
    line-height: 24px;
    font-weight: 500;
}
.text-op  {
		opacity:1; 
}
a.logo img {
    max-width: 100px!important;
}


.foto-box {
    display: flex;
    flex-wrap: wrap;
}
.personal-box-inner {
    display: flex;
    margin-bottom: 25px;
}
.personal-box-inner .image {
    max-width: 220px;
    margin-right: 15px;
}
.foto-box-inner {
    max-width: 25%;
    margin-bottom: 15px; 
	padding: 0 15px;
	animation-duration: .5s;
  animation-delay: .5s; 
}
.foto-box-inner .image {
    min-width: 100%;  
}

span.prof {
    display: block;
    color: #6f6f6f;
    font-size: 12px;
}
span.name {
    color: #000;
    font-size: 18px;
    font-weight: 500;
    padding-bottom: 10px;
    display: block;
}
.desc a {
    display: block; 
	font-weight: 500;
}
.desc a:hover { 
    color: #000; 
}
span.text {
    color: #000;
    display: block;
    font-size: 12px;
    line-height: 20px;
    padding-top: 10px;
}
span.prof {
    display: block;
    color: #6f6f6f;
    font-size: 12px;
    z-index: 1;
    position: relative;
}
.foto-box-inner .desc {
    position: relative;
    margin-top: -20px;
	padding-top: 5px; 
    text-align: center; 
}
.foto-box-inner  .desc:before {
    border-bottom: 40px solid #fff;
    border-left: 88px solid transparent;
    border-right: 88px solid transparent;
    width: 0;
    height: 0;
    margin: 0 auto;
    content: '';
    left: 0;
    top: -26px;
    right: 0;
    position: absolute;
    z-index: 1;
}
ul.list {
    padding-left: 20px;
	margin-bottom:20px;
}
ul.list li {
    list-style: disc;
}
footer img {
    display: block;
    margin: 5px auto;
    max-width: 50px!important; 
}
footer {
    background-color: #f9f4ed;
    text-align: center;
    padding: 15px 0;
    color: #000;
    font-size: 12px;
}
.wpcf7-response-output.wpcf7-display-none.wpcf7-validation-errors {
    display: none!important;
}
span.wpcf7-not-valid-tip { 
    display: none!important;
}
input.wpcf7-not-valid {
    border: 1px solid red!important;
}
div.wpcf7 .ajax-loader { 
    display: none!important; 
}

input[type="text"], input[type="email"], input[type="tel"] {
    background: #F2F2F2;
    border: 0;
    padding: 10px 15px; 
    border-radius: 5px;
    font-family: 'Montserrat';
    width: 100%;
    font-size: 15px;
	border: 1px solid #F2F2F2;
	margin-bottom: 25px;
}
 
textarea  {
    background: #f0f0f0;
    border: 0;
	    font-size: 15px;
    padding: 15px; 
	height: 100px;
    border-radius: 5px;
    font-family: 'Montserrat';
    width: 100%;
	margin-bottom: 25px;
}
.title {
    font-size: 18px;
    /* line-height: 30px; */
    padding-bottom: 15px;
}
input[type=submit]  {
    background-color: #029936;
    font-size: 15px;
	color:#fff;
	font-family: 'Montserrat';
    padding: 10px 15px;
    border-radius: 5px;
	font-weight: 600;
    text-align: center;
	transition: all .5s; 
	cursor:pointer;
	border: 0;
	min-width: 240px;
	max-width: 240px;
    display: inline-block;
  	-webkit-appearance: none;
}
input[type=submit]:hover  {
    background-color: #7b7a79;
}
 
::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #bfbfbf;
}
::-moz-placeholder { /* Firefox 19+ */
  color: #bfbfbf;
}
:-ms-input-placeholder { /* IE 10+ */
  color: #bfbfbf;
}
:-moz-placeholder { /* Firefox 18- */
  color: #bfbfbf;
}


.dark {
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
} 
.dark2 {
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
}
.m25 {
    margin-top: 25px;
}
.cont-table {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
    border-spacing: 0;
    border-collapse: collapse;
	table-layout: fixed;
}
.cont-table tr:nth-child(2n+1) {
    background-color: #e0e0df;
}
.cont-table tr td {
    padding: 5px 10px;
    line-height: 20px; 
}
.content a:hover {
    color: #b2a698;
}
#map {
    width: 100%;
    height: 300px;
    padding: 0;
    margin: 0;
}

.map {
    height: 400px;
    width: 100%; 
    position: relative; 
}

.partner-box-img {
    flex: 18%;
    max-width: 18%;
    margin: 0 1%;
}
.partner-box {
    display: flex;
    flex-wrap: wrap; 
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 50px;
}
.gallery-box {
    background-size: cover!important;
    width: 24.5%;
    height: 200px;
    background-position: center!important;
    margin: 0.25%;
    position: relative;
}
.gallery-box a {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
}
.gallery-box a:before, .gallery-box a:after {
    content: '';
    position: absolute;
    width: 0; 
    height: 100%;
    background: rgba(178, 166, 152, 0.5215686274509804);
    transition: .3s;
}
.gallery-box a:before {
    left: 50%;
}
.gallery-box a:after {
    right: 50%;
}
.gallery-box a:hover:before,
.gallery-box a:hover:after{    
    width: 50%;    
} 
.gallery-box:hover:before {
    content: '';
    background-repeat: no-repeat;
    background-image: url(img/magnifying-glass.png);
    width: 24px;
    height: 24px;
    display: block;
    left: 0;
    right: 0;
    bottom: 0;
    position: absolute;
    top: 0;
    margin: auto;
	transition: .3s;
}
.logo-box, .nav-box, .cont-box {
    width: 100%;
}

.cmn-toggle-switch {
    display: none;
}
.mobile-nav {
    display: none;
}
.thumb-wrap {
 position: relative;
			padding-bottom: 56.25%; /* 16:9 */
			padding-top: 25px;
			height: 0;
}
.thumb-wrap iframe {
  position: absolute;
			top: 0;
			left: 0;
			width: 100%;
			height: 100%;
}
@media only screen and (max-width:1199px){ 
 header {
    width: 100%;
    min-width: 320px;
    height: auto;
    position: relative;
}
.mobile-nav {
    display: block;
}
.nav-box .menu-main-container {
    display: none;
}
.logo-box, .nav-box, .cont-box {
    width: 33.33%
}
.logo-box {
    order: 2;
}
.logo-box a.logo {
    margin: 0px;
}
.nav-box {
    order: 1;
}
.cont-box { 
    order: 3;
	padding-top:0;
}
.cont-box a.phone-num { 
    text-align: right; 
}
.main {
    min-height: calc(100vh - 100px);
    padding: 50px;
    display: flex;
}
.mobile-nav {
    background: #f9f4ed; 
    position: absolute; 
    z-index: 99999;
    left: -100%;
    width: 100%;
    padding-top: 90px;
    padding-bottom: 50px;
	transition: all 0.5s;
	height: 100vh;
	top: 0;	
	font-size: 20px;
    line-height: 33px;
    text-align: center;
}
.mobile-nav.visible {
    left: 0;
}
.cmn-toggle-switch {
    display: block;
    position: absolute;
    left: 15px;
    z-index: 9999999;
    overflow: hidden;
    margin: 0;
    top: 30px;
    padding: 0;
    width: 46px;
    height: 38px;
    font-size: 0;
    background-color: #da2e35;
    border-radius: 3px;
    text-indent: -9999px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-shadow: none;
    border: none;
    cursor: pointer;
    -webkit-transition: background 0.3s;
    transition: background 0.3s;
}
.cmn-toggle-switch span {
    display: block;
    position: absolute;
    top: 18px;
    left: 10px;
    right: 10px;
    height: 2px;
    background: white;
}
.cmn-toggle-switch__htx span {
    -webkit-transition: background 0 0.3s;
    transition: background 0 0.3s;
}
.cmn-toggle-switch span::before, .cmn-toggle-switch span::after {
    position: absolute;
    display: block;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #fff;
    content: "";
}
.cmn-toggle-switch span::before {
    top: -10px;
}
.cmn-toggle-switch__htx span::before, .cmn-toggle-switch__htx span::after {
    -webkit-transition-duration: 0.3s, 0.3s;
    transition-duration: 0.3s, 0.3s;
    -webkit-transition-delay: 0.3s, 0;
    transition-delay: 0.3s, 0;
}
.cmn-toggle-switch__htx span::before {
    -webkit-transition-property: top, -webkit-transform;
    transition-property: top, transform;
}
.cmn-toggle-switch span::after {
    bottom: -10px;
}
.cmn-toggle-switch__htx span::after {
    -webkit-transition-property: bottom, -webkit-transform;
    transition-property: bottom, transform;
}
.cmn-toggle-switch__htx.active span {
    background: none;
}
.cmn-toggle-switch__htx.active span::before, .cmn-toggle-switch__htx.active span::after {
    -webkit-transition-delay: 0, 0.3s;
    transition-delay: 0, 0.3s;
}
.cmn-toggle-switch__htx.active span::before {
    top: 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
.cmn-toggle-switch__htx.active span::after {
    bottom: 0;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
}
@media only screen and (max-width:992px){ 
.gallery-box { 
    width: 32.75%;
    height: 180px; 
}
}
@media only screen and (max-width:768px){ 
.foto-box-inner {
    max-width: 50%; 
}
.home h1 { 
    width: 100%; 
}
.partner-box-img {
    flex: 48%;
    max-width: 48%;
    margin: 0 1%;
}
}

@media only screen and (max-width:576px){ 

}

@media only screen and (max-width:478px){ 
.cont-box {
    width: 60%;
}
.nav-box {
    width: 20%;
}
.logo-box {
    width: 20%;
}
a.logo img {
    max-width: 75px!important;
}
.main { 
    padding: 15px; 
}
.home h1 { 
    font-size: 25px;  
    line-height: 35px; 
}

element.style {
}
h1 span { 
    line-height: 24px; 
}
h1.qwer img {
    display: block;
    margin: 0 auto 15px ;
    max-width: 100px!important;
}
.foto-box-inner {
    max-width: 100%;
}
.gallery-box {
    width: 49%;
    height: 115px;
}
} 

@media only screen and (max-width:320px){ 
.cont-table tr td { 
    display: block;
}
} 
.nav {
    /*  ширна произвольная, не стесняйтесь экспериментировать */
    width: 320px;
    min-width: 320px;
    /* фиксируем и выставляем высоту панели на максимум */
    height: 100%;
    position: fixed;
    top: 0;
    bottom: 0;
    margin: 0;
    /* сдвигаем (прячем) панель относительно левого края страницы */
    left: -320px;
    /* внутренние отступы */
    padding: 15px 20px;
    /* плавный переход смещения панели */
    -webkit-transition: left 0.3s;
    -moz-transition: left 0.3s;
    transition: left 0.3s;
    /* определяем цвет фона панели */
    background: #029936;
    /* поверх других элементов */
    z-index: 2000;
}


/**
 * Кнопка переключения панели
 * тег <label>
 */

.nav-toggle {
    /* абсолютно позиционируем */
    position: absolute;
    /* относительно левого края панели */
    left: 320px;
    /* отступ от верхнего края панели */
    top: 1em;
    /* внутренние отступы */
    padding: 0.5em;
    /* определяем цвет фона переключателя
     * чаще вчего в соответствии с цветом фона панели
    */
    background: inherit;
    /* цвет текста */
    color: #dadada;
    /* вид курсора */
    cursor: pointer;
    /* размер шрифта */
    font-size: 1.2em;
    line-height: 1;
    /* всегда поверх других элементов страницы */
    z-index: 2001;
    /* анимируем цвет текста при наведении */
    -webkit-transition: color .25s ease-in-out;
    -moz-transition: color .25s ease-in-out;
    transition: color .25s ease-in-out;
}


/* определяем текст кнопки 
 * символ Unicode (TRIGRAM FOR HEAVEN)
*/

.nav-toggle:after {
    content: '\2630';
    text-decoration: none;
}


/* цвет текста при наведении */

.nav-toggle:hover {
    color: #f4f4f4;
}


/**
 * Скрытый чекбокс (флажок)
 * невидим и недоступен :)
 * имя селектора атрибут флажка
 */

[id='nav-toggle'] {
    position: absolute;
    display: none;
}


/**
 * изменение положения переключателя 
 * при просмотре на мобильных устройствах
 * когда навигация раскрыта, распологаем внутри панели
*/

[id='nav-toggle']:checked ~ .nav > .nav-toggle {
    left: auto;
    right: 2px;
    top: 1em;
}


/**
 * Когда флажок установлен, открывается панель
 * используем псевдокласс:checked
 */

[id='nav-toggle']:checked ~ .nav {
    left: 0;
    box-shadow:4px 0px 20px 0px rgba(0,0,0, 0.5);
    -moz-box-shadow:4px 0px 20px 0px rgba(0,0,0, 0.5);
    -webkit-box-shadow:4px 0px 20px 0px rgba(0,0,0, 0.5);
    overflow-y: auto;
}


/* 
 * смещение контента страницы
 * на размер ширины панели,
 * фишка необязательная, на любителя
*/

[id='nav-toggle']:checked ~ main > article {
    -webkit-transform: translateX(320px);
    -moz-transform: translateX(320px);
    transform: translateX(320px);
}


/*
 * изменение символа переключателя,
 * привычный крестик (MULTIPLICATION X), 
 * вы можете испльзовать любой другой значок
*/

[id='nav-toggle']:checked ~ .nav > .nav-toggle:after {
    content: '\2715';
}


/**
 * профиксим баг в Android <= 4.1.2
 * см: http://timpietrusky.com/advanced-checkbox-hack
 */

body {
    -webkit-animation: bugfix infinite 1s;
}

@-webkit-keyframes bugfix {
    to {
      padding: 0;
    }
}


/**
 * позаботьтимся о средних и маленьких экранах
 * мобильных устройств
 */

@media screen and (min-width: 320px) {
    html,
    body {
      margin: 0;
      overflow-x: hidden;
    }
}

@media screen and (max-width: 320px) {
    html,
    body {
      margin: 0;
      overflow-x: hidden;
    }
    .nav {
      width: 100%;
      box-shadow: none
    }
}


/**
 * Формируем стиль заголовка (логотип) панели 
*/

.nav h2 {
    width: 90%;
    padding: 0;
    margin: 10px 0;
    text-align: center;
    text-shadow: rgba(255, 255, 255, .1) -1px -1px 1px, rgba(0, 0, 0, .5) 1px 1px 1px;
    font-size: 1.3em;
    line-height: 1.3em;
    opacity: 0;
    transform: scale(0.1, 0.1);
    -ms-transform: scale(0.1, 0.1);
    -moz-transform: scale(0.1, 0.1);
    -webkit-transform: scale(0.1, 0.1);
    transform-origin: 0% 0%;
    -ms-transform-origin: 0% 0%;
    -moz-transform-origin: 0% 0%;
    -webkit-transform-origin: 0% 0%;
    transition: opacity 0.8s, transform 0.8s;
    -ms-transition: opacity 0.8s, -ms-transform 0.8s;
    -moz-transition: opacity 0.8s, -moz-transform 0.8s;
    -webkit-transition: opacity 0.8s, -webkit-transform 0.8s;
}

.nav h2 a {
    color: #dadada;
    text-decoration: none;
    text-transform: uppercase;
}


/*плавное появление заголовка (логотипа) при раскрытии панели */

[id='nav-toggle']:checked ~ .nav h2 {
    opacity: 1;
    transform: scale(1, 1);
    -ms-transform: scale(1, 1);
    -moz-transform: scale(1, 1);
    -webkit-transform: scale(1, 1);
}


/**
 * формируем непосредственно само меню
 * используем неупорядоченный список для пунктов меню
 * прикрутим трансфомации и плавные переходы
 */

.nav > ul {
    display: block;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav > ul > li {
    line-height: 2.5;
    opacity: 0;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    -webkit-transition: opacity .5s .1s, -webkit-transform .5s .1s;
    -moz-transition: opacity .5s .1s, -moz-transform .5s .1s;
    -ms-transition: opacity .5s .1s, -ms-transform .5s .1s;
    transition: opacity .5s .1s, transform .5s .1s;
}

[id='nav-toggle']:checked ~ .nav > ul > li {
    opacity: 1;
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
}


/* определяем интервалы появления пунктов меню */

.nav > ul > li:nth-child(2) {
    -webkit-transition: opacity .5s .2s, -webkit-transform .5s .2s;
    transition: opacity .5s .2s, transform .5s .2s;
}

.nav > ul > li:nth-child(3) {
    -webkit-transition: opacity .5s .3s, -webkit-transform .5s .3s;
    transition: opacity .5s .3s, transform .5s .3s;
}

.nav > ul > li:nth-child(4) {
    -webkit-transition: opacity .5s .4s, -webkit-transform .5s .4s;
    transition: opacity .5s .4s, transform .5s .4s;
}

.nav > ul > li:nth-child(5) {
    -webkit-transition: opacity .5s .5s, -webkit-transform .5s .5s;
    transition: opacity .5s .5s, transform .5s .5s;
}

.nav > ul > li:nth-child(6) {
    -webkit-transition: opacity .5s .6s, -webkit-transform .5s .6s;
    transition: opacity .5s .6s, transform .5s .6s;
}

.nav > ul > li:nth-child(7) {
    -webkit-transition: opacity .5s .7s, -webkit-transform .5s .7s;
    transition: opacity .5s .7s, transform .5s .7s;
}


/**
 * оформление ссылок пунктов меню
 */

.nav > ul > li > a {
    display: inline-block;
    position: relative;
    padding: 0; 
    font-weight: 300;
    font-size: 1.2em;
    color: #dadada;
    width: 100%;
    text-decoration: none;
    /* плавный переход */
    -webkit-transition: color .5s ease, padding .5s ease;
    -moz-transition: color .5s ease, padding .5s ease;
    transition: color .5s ease, padding .5s ease;
}


/**
 * состояние ссылок меню при наведении
 */

.nav > ul > li > a:hover,
.nav > ul > li > a:focus {
    color: white;
    padding-left: 15px;
}


/**
 * линия подчеркивания ссылок меню
 */

.nav > ul > li > a:before {
    content: '';
    display: block;
    position: absolute;
    right: 0;
    bottom: 0;
    height: 1px;
    width: 100%;
    -webkit-transition: width 0s ease;
    transition: width 0s ease;
}

.nav > ul > li > a:after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    height: 1px;
    width: 100%;
    background: #3bc1a0;
    -webkit-transition: width .5s ease;
    transition: width .5s ease;
}


/**
 * анимируем линию подчеркивания 
 * ссылок при наведении
 */

.nav > ul > li > a:hover:before {
    width: 0%;
    background: #3bc1a0;
    -webkit-transition: width .5s ease;
    transition: width .5s ease;
}

.nav > ul > li > a:hover:after {
    width: 0%;
    background: transparent;
    -webkit-transition: width 0s ease;
    transition: width 0s ease;
}
#popup__toggle{bottom:25px;right:10px;position:fixed;z-index:999;}
.img-circle{background-color:#29AEE3;box-sizing:content-box;-webkit-box-sizing:content-box;}
.circlephone{box-sizing:content-box;-webkit-box-sizing:content-box;border: 2px solid #29AEE3;width:150px;height:150px;bottom:-25px;right:10px;position:absolute;-webkit-border-radius:100%;-moz-border-radius: 100%;border-radius: 100%;opacity: .5;-webkit-animation: circle-anim 2.4s infinite ease-in-out !important;-moz-animation: circle-anim 2.4s infinite ease-in-out !important;-ms-animation: circle-anim 2.4s infinite ease-in-out !important;-o-animation: circle-anim 2.4s infinite ease-in-out !important;animation: circle-anim 2.4s infinite ease-in-out !important;-webkit-transition: all .5s;-moz-transition: all .5s;-o-transition: all .5s;transition: all 0.5s;}
.circle-fill{box-sizing:content-box;-webkit-box-sizing:content-box;background-color:#29AEE3;width:100px;height:100px;bottom:0px;right:35px;position:absolute;-webkit-border-radius: 100%;-moz-border-radius: 100%;border-radius: 100%;border: 2px solid transparent;-webkit-animation: circle-fill-anim 2.3s infinite ease-in-out;-moz-animation: circle-fill-anim 2.3s infinite ease-in-out;-ms-animation: circle-fill-anim 2.3s infinite ease-in-out;-o-animation: circle-fill-anim 2.3s infinite ease-in-out;animation: circle-fill-anim 2.3s infinite ease-in-out;-webkit-transition: all .5s;-moz-transition: all .5s;-o-transition: all .5s;transition: all 0.5s;}
.img-circle{box-sizing:content-box;-webkit-box-sizing:content-box;width:72px;height:72px;bottom: 14px;right: 49px;position:absolute;-webkit-border-radius: 100%;-moz-border-radius: 100%;border-radius: 100%;border: 2px solid transparent;opacity: .7;}
.img-circleblock{box-sizing:content-box;-webkit-box-sizing:content-box;width:72px;height:72px;background-image:url(img/mini.png);background-position: center center;background-repeat:no-repeat;animation-name: tossing;-webkit-animation-name: tossing;animation-duration: 1.5s;-webkit-animation-duration: 1.5s;animation-iteration-count: infinite;-webkit-animation-iteration-count: infinite;}
.img-circle:hover{opacity: 1;}
@keyframes pulse {0% {transform: scale(0.9);opacity: 1;}
  50% {transform: scale(1); opacity: 1; }   
  100% {transform: scale(0.9);opacity: 1;}}
 @-webkit-keyframes pulse {0% {-webkit-transform: scale(0.95);opacity: 1;}
  50% {-webkit-transform: scale(1);opacity: 1;}   
  100% {-webkit-transform: scale(0.95);opacity: 1;}}
@keyframes tossing {
  0% {transform: rotate(-8deg);}
  50% {transform: rotate(8deg);}
  100% {transform: rotate(-8deg);}}
@-webkit-keyframes tossing {
  0% {-webkit-transform: rotate(-8deg);}
  50% {-webkit-transform: rotate(8deg);}
  100% {-webkit-transform: rotate(-8deg);}}
@-moz-keyframes circle-anim {
  0% {-moz-transform: rotate(0deg) scale(0.5) skew(1deg);opacity: .1;-moz-opacity: .1;-webkit-opacity: .1;-o-opacity: .1;}
  30% {-moz-transform: rotate(0deg) scale(0.7) skew(1deg);opacity: .5;-moz-opacity: .5;-webkit-opacity: .5;-o-opacity: .5;}
  100% {-moz-transform: rotate(0deg) scale(1) skew(1deg);opacity: .6;-moz-opacity: .6;-webkit-opacity: .6;-o-opacity: .1;}}
@-webkit-keyframes circle-anim {
  0% {-webkit-transform: rotate(0deg) scale(0.5) skew(1deg);-webkit-opacity: .1;}
  30% {-webkit-transform: rotate(0deg) scale(0.7) skew(1deg);-webkit-opacity: .5;}
  100% {-webkit-transform: rotate(0deg) scale(1) skew(1deg);-webkit-opacity: .1;}}
@-o-keyframes circle-anim {
  0% {-o-transform: rotate(0deg) kscale(0.5) skew(1deg);-o-opacity: .1;}
  30% {-o-transform: rotate(0deg) scale(0.7) skew(1deg);-o-opacity: .5;}
  100% {-o-transform: rotate(0deg) scale(1) skew(1deg);-o-opacity: .1;}}
@keyframes circle-anim {
  0% {transform: rotate(0deg) scale(0.5) skew(1deg);opacity: .1;}
  30% {transform: rotate(0deg) scale(0.7) skew(1deg);opacity: .5;}
  100% {transform: rotate(0deg) scale(1) skew(1deg);
opacity: .1;}}
@-moz-keyframes circle-fill-anim {
  0% {-moz-transform: rotate(0deg) scale(0.7) skew(1deg);opacity: .2;}
  50% {-moz-transform: rotate(0deg) -moz-scale(1) skew(1deg);opacity: .2;}
  100% {-moz-transform: rotate(0deg) scale(0.7) skew(1deg);opacity: .2;}}
@-webkit-keyframes circle-fill-anim {
  0% {-webkit-transform: rotate(0deg) scale(0.7) skew(1deg);opacity: .2;  }
  50% {-webkit-transform: rotate(0deg) scale(1) skew(1deg);opacity: .2;  }
  100% {-webkit-transform: rotate(0deg) scale(0.7) skew(1deg);opacity: .2;}}
@-o-keyframes circle-fill-anim {
  0% {-o-transform: rotate(0deg) scale(0.7) skew(1deg);opacity: .2;}
  50% {-o-transform: rotate(0deg) scale(1) skew(1deg);opacity: .2;}
  100% {-o-transform: rotate(0deg) scale(0.7) skew(1deg);opacity: .2;}}
@keyframes circle-fill-anim {
  0% {transform: rotate(0deg) scale(0.7) skew(1deg);opacity: .2;}
  50% {transform: rotate(0deg) scale(1) skew(1deg);opacity: .2;}
  100% {transform: rotate(0deg) scale(0.7) skew(1deg);opacity: .2;}}