/* ===== PRIMARY STYLES =====================================================
   ========================================================================== */
/*========================= global ===========================*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  -moz-box-sizing:border-box;
  box-sizing:border-box;
  -webkit-box-sizing:border-box;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {    
  color: #333534;  
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  background: url(../img/background/body.png) repeat-x top center;
  font-family: 'segoe';
  padding-top: 20px;
}
.container {
  width: 1000px;
  margin: 0 auto;
}
/* =============== ВСПЛЫВАЮЩИЕ ОКНА ======================= ===================
============================================================ POP-UP============
/////////////////////////////////////////////////////////////////////////////*/
/*ЗАПИСАТЬСЯ НА МАСТЕР-КЛАСС*/
.overlay-zvonokt {
    background-color: rgba(0, 0, 0, 0.7);
    bottom: 0;
    cursor: default;
    left: 0;
    opacity: 0;
    position: fixed;
    right: 0;
    top: 0;
    visibility: hidden;
    z-index: 2;
    -webkit-transition: opacity .5s;
    -moz-transition: opacity .5s;
    -ms-transition: opacity .5s;
    -o-transition: opacity .5s;
    transition: opacity .5s;
}
.overlay-zvonokt:target {
    visibility: visible;
    opacity: 1;
}
.popup-zvonokt {              
    left: 50%;
    opacity: 0;
    padding: 10px;
    position: fixed;    
    top: 50%;
    visibility: hidden;
    z-index: 10;
 
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
 
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    border-radius: 10px;   
 
    -webkit-transition: opacity .5s, top .5s;
    -moz-transition: opacity .5s, top .5s;
    -ms-transition: opacity .5s, top .5s;
    -o-transition: opacity .5s, top .5s;
    transition: opacity .5s, top .5s;
}
.wind-zakaz-top {
  width: 375px;  
  -webkit-border-radius: 7px;
  -moz-border-radius: 7px;
  -ms-border-radius: 7px;
  -o-border-radius: 7px;
  border-radius: 7px;
  text-align: center; 
  padding: 10px;  
  background: #fff;
  position: relative;
}
.bold {
  font-weight: bold;
}
.wind-zakaz-top p{
  padding: 20px;
}
.wind-zakaz-top input[type="text"] {
  width: 340px;
  height: 42px;
  margin: 8px auto;  
  text-align: center;
  font-size: 20px;  
  font-weight: normal;
  -webkit-border-radius: 7px;
  -moz-border-radius: 7px;
  -ms-border-radius: 7px;
  -o-border-radius: 7px;
  border-radius: 7px;
  border: 1px solid #d4d4d4;
}
.wind-zakaz-top input[type="text"]:focus {
  outline: none;
}
.wind-zakaz-top input[type="button"] {
  width: 175px;
  height: 48px;
  border-radius: 30px;  
  margin: 8px auto;   
  cursor: pointer;
background: rgba(241,111,92,1);
background: -moz-linear-gradient(top, rgba(241,111,92,1) 0%, rgba(174,70,207,1) 0%, rgba(123,40,149,1) 100%);
background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(241,111,92,1)), color-stop(0%, rgba(174,70,207,1)), color-stop(100%, rgba(123,40,149,1)));
background: -webkit-linear-gradient(top, rgba(241,111,92,1) 0%, rgba(174,70,207,1) 0%, rgba(123,40,149,1) 100%);
background: -o-linear-gradient(top, rgba(241,111,92,1) 0%, rgba(174,70,207,1) 0%, rgba(123,40,149,1) 100%);
background: -ms-linear-gradient(top, rgba(241,111,92,1) 0%, rgba(174,70,207,1) 0%, rgba(123,40,149,1) 100%);
background: linear-gradient(to bottom, rgba(241,111,92,1) 0%, rgba(174,70,207,1) 0%, rgba(123,40,149,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f16f5c', endColorstr='#7b2895', GradientType=0 );  
-webkit-box-shadow: -12px 15px 34px -14px rgba(0,0,0,0.75);
-moz-box-shadow: -12px 15px 34px -14px rgba(0,0,0,0.75);
box-shadow: -12px 15px 34px -14px rgba(0,0,0,0.75);
  font-size: 20px;
  color: #fff;
  padding-top: 0;
  border-left: none; 
  border-right: none;
  border-top: 3px solid #E6B4F5;
  border-bottom: none;
  cursor: pointer;
}
.wind-zakaz-top input[type="button"]:hover {
background: rgba(240,47,23,1);
background: -moz-linear-gradient(top, rgba(240,47,23,1) 0%, rgba(246,41,12,1) 0%, rgba(241,111,92,1) 0%, rgba(174,70,207,1) 0%, rgba(212,84,255,1) 0%, rgba(157,51,189,1) 100%);
background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(240,47,23,1)), color-stop(0%, rgba(246,41,12,1)), color-stop(0%, rgba(241,111,92,1)), color-stop(0%, rgba(174,70,207,1)), color-stop(0%, rgba(212,84,255,1)), color-stop(100%, rgba(157,51,189,1)));
background: -webkit-linear-gradient(top, rgba(240,47,23,1) 0%, rgba(246,41,12,1) 0%, rgba(241,111,92,1) 0%, rgba(174,70,207,1) 0%, rgba(212,84,255,1) 0%, rgba(157,51,189,1) 100%);
background: -o-linear-gradient(top, rgba(240,47,23,1) 0%, rgba(246,41,12,1) 0%, rgba(241,111,92,1) 0%, rgba(174,70,207,1) 0%, rgba(212,84,255,1) 0%, rgba(157,51,189,1) 100%);
background: -ms-linear-gradient(top, rgba(240,47,23,1) 0%, rgba(246,41,12,1) 0%, rgba(241,111,92,1) 0%, rgba(174,70,207,1) 0%, rgba(212,84,255,1) 0%, rgba(157,51,189,1) 100%);
background: linear-gradient(to bottom, rgba(240,47,23,1) 0%, rgba(246,41,12,1) 0%, rgba(241,111,92,1) 0%, rgba(174,70,207,1) 0%, rgba(212,84,255,1) 0%, rgba(157,51,189,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f02f17', endColorstr='#9d33bd', GradientType=0 );
}
.wind-zakaz-top input[type="button"]:active {
height: 48px;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
border-top: none;
margin-bottom: 9px;
}
.overlay-zvonokt:target+.popup-zvonokt {    
    opacity: 1;
    visibility: visible;
}
.wind-zakaz-top p{
  font-size: 21px;
}

.order-lections {
  width: 480px;  
  height: 470px;
  -webkit-border-radius: 7px;
  -moz-border-radius: 7px;
  -ms-border-radius: 7px;
  -o-border-radius: 7px;
  border-radius: 7px;
  text-align: center; 
  padding: 10px;  
  background: #fff;
  position: relative;
}
.bold {
  font-weight: bold;
}

.order-lections input[type="text"] {
  width: 340px;
  height: 42px;
  margin: 8px auto;  
  text-align: center;
  font-size: 20px;  
  font-weight: normal;
  -webkit-border-radius: 7px;
  -moz-border-radius: 7px;
  -ms-border-radius: 7px;
  -o-border-radius: 7px;
  border-radius: 7px;
  border: 1px solid #d4d4d4;
}
.order-lections input[type="text"]:focus {
  outline: none;
}
.order-lections input[type="button"] {
  width: 175px;
  height: 48px;
  border-radius: 30px;  
  margin: 8px auto;   
  cursor: pointer;
background: rgba(241,111,92,1);
background: -moz-linear-gradient(top, rgba(241,111,92,1) 0%, rgba(174,70,207,1) 0%, rgba(123,40,149,1) 100%);
background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(241,111,92,1)), color-stop(0%, rgba(174,70,207,1)), color-stop(100%, rgba(123,40,149,1)));
background: -webkit-linear-gradient(top, rgba(241,111,92,1) 0%, rgba(174,70,207,1) 0%, rgba(123,40,149,1) 100%);
background: -o-linear-gradient(top, rgba(241,111,92,1) 0%, rgba(174,70,207,1) 0%, rgba(123,40,149,1) 100%);
background: -ms-linear-gradient(top, rgba(241,111,92,1) 0%, rgba(174,70,207,1) 0%, rgba(123,40,149,1) 100%);
background: linear-gradient(to bottom, rgba(241,111,92,1) 0%, rgba(174,70,207,1) 0%, rgba(123,40,149,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f16f5c', endColorstr='#7b2895', GradientType=0 );  
-webkit-box-shadow: -12px 15px 34px -14px rgba(0,0,0,0.75);
-moz-box-shadow: -12px 15px 34px -14px rgba(0,0,0,0.75);
box-shadow: -12px 15px 34px -14px rgba(0,0,0,0.75);
  font-size: 20px;
  color: #fff;
  padding-top: 0;
  border-left: none; 
  border-right: none;
  border-top: 3px solid #E6B4F5;
  border-bottom: none;
  cursor: pointer;
}
.order-lections input[type="button"]:hover {
background: rgba(240,47,23,1);
background: -moz-linear-gradient(top, rgba(240,47,23,1) 0%, rgba(246,41,12,1) 0%, rgba(241,111,92,1) 0%, rgba(174,70,207,1) 0%, rgba(212,84,255,1) 0%, rgba(157,51,189,1) 100%);
background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(240,47,23,1)), color-stop(0%, rgba(246,41,12,1)), color-stop(0%, rgba(241,111,92,1)), color-stop(0%, rgba(174,70,207,1)), color-stop(0%, rgba(212,84,255,1)), color-stop(100%, rgba(157,51,189,1)));
background: -webkit-linear-gradient(top, rgba(240,47,23,1) 0%, rgba(246,41,12,1) 0%, rgba(241,111,92,1) 0%, rgba(174,70,207,1) 0%, rgba(212,84,255,1) 0%, rgba(157,51,189,1) 100%);
background: -o-linear-gradient(top, rgba(240,47,23,1) 0%, rgba(246,41,12,1) 0%, rgba(241,111,92,1) 0%, rgba(174,70,207,1) 0%, rgba(212,84,255,1) 0%, rgba(157,51,189,1) 100%);
background: -ms-linear-gradient(top, rgba(240,47,23,1) 0%, rgba(246,41,12,1) 0%, rgba(241,111,92,1) 0%, rgba(174,70,207,1) 0%, rgba(212,84,255,1) 0%, rgba(157,51,189,1) 100%);
background: linear-gradient(to bottom, rgba(240,47,23,1) 0%, rgba(246,41,12,1) 0%, rgba(241,111,92,1) 0%, rgba(174,70,207,1) 0%, rgba(212,84,255,1) 0%, rgba(157,51,189,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f02f17', endColorstr='#9d33bd', GradientType=0 );
}
.order-lections input[type="button"]:active {
height: 45px;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
border-top: none;
}
.overlay-zvonokt:target+.popup-zvonokt {    
    opacity: 1;
    visibility: visible;
}

.tren-p2 {
  font-family: 'Semibold';  
  display: inline-block;
  font-size: 21px;
}

.tren-p2 span{
  font-family: 'Light';
  font-size: 30px;
}

.mesta-form {
display: inline-block;
background: rgba(255,240,165,1);
background: -moz-linear-gradient(top, rgba(255,240,165,1) 0%, rgba(255,231,113,1) 100%);
background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(255,240,165,1)), color-stop(100%, rgba(255,231,113,1)));
background: -webkit-linear-gradient(top, rgba(255,240,165,1) 0%, rgba(255,231,113,1) 100%);
background: -o-linear-gradient(top, rgba(255,240,165,1) 0%, rgba(255,231,113,1) 100%);
background: -ms-linear-gradient(top, rgba(255,240,165,1) 0%, rgba(255,231,113,1) 100%);
background: linear-gradient(to bottom, rgba(255,240,165,1) 0%, rgba(255,231,113,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fff0a5', endColorstr='#ffe771', GradientType=0 );
border-radius: 20px;
width: 195px;
height: 40px;
text-align: center;
font-family: 'Semibold';
font-size: 18px;
padding-top: 5px;
vertical-align: top;
margin: 15px 0 0 0;
}

.cena {
  font-family: 'light';
  font-size: 36px;
  color: #FF2828;
  display: inline-block;
  padding-top: 10px;
  padding-left: 15px;
}

.popup-description {
  text-align: left;
  font-size: 21px;
  padding: 10px 0 10px 20px;
}

.rel-pos {
  position: relative;
  -moz-box-sizing:border-box;
  box-sizing:border-box;
  -webkit-box-sizing:border-box;
  box-sizing: border-box;
}
/* Кнопка закрытия окна  */
.close {        
height: 17px;
position: absolute;
right: 16px;
top: 16px;
width: 17px;
z-index: 15;   
background: url(../img/background/wind-close.png) no-repeat;
}

/* ALL-CONTENS  ALL-CONTENS ALL-CONTENS ALL-CONTENS ALL-CONTENS ALL-CONTENS ALL-CONTENS ALL-CONTENS*/

.logo {
  text-align: center;
  display: block;
  width: 200px;  
}

.phone {
  display: inline-block;
  float: right;
  text-align: center;
}

.phone p:first-child{  
  color: #fff;
  font-size: 28px;
}

.phone p:last-child{  
  color: #D3E6E8;
  font-size: 13px;
  font-weight: bold;
  font-family: 'Semibold';
}

.header-text {
  margin: 254px auto 0;  
}

.header-text p{  
  text-align: center;
  font-size: 26px;
  color: #fff;  
  background-color: rgba(158,64,163, 0.7);
  font-family: 'Light';
}

.header-text span{
  font-family: 'Semibold';
}

.header-text p:nth-child(1){  
  width: 545px;
  margin: 0 auto;  
}
.header-text p:nth-child(2){  
  width: 480px;
  margin: 0 auto;  
}
.header-text p:nth-child(3){  
  width: 320px;
  margin: 0 auto;  
}

.header {
  position: relative;
  height: 563px;
}

.zapis {
  position: absolute;
  width: 365px;
  height: 60px;
  bottom: 20px;
  left: 50%;
  margin-left: -182px;
  text-align: center;
  color: #000;
  text-decoration: none;
  font-family: arial;
  font-weight: bold;
  font-size: 22px;
background: rgba(251,232,72,1);
background: -moz-linear-gradient(top, rgba(251,232,72,1) 0%, rgba(255,211,77,1) 100%);
background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(251,232,72,1)), color-stop(100%, rgba(255,211,77,1)));
background: -webkit-linear-gradient(top, rgba(251,232,72,1) 0%, rgba(255,211,77,1) 100%);
background: -o-linear-gradient(top, rgba(251,232,72,1) 0%, rgba(255,211,77,1) 100%);
background: -ms-linear-gradient(top, rgba(251,232,72,1) 0%, rgba(255,211,77,1) 100%);
background: linear-gradient(to bottom, rgba(251,232,72,1) 0%, rgba(255,211,77,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fbe848', endColorstr='#ffd34d', GradientType=0 );
border-radius: 5px;
padding-top: 15px;
border-top: 1px solid #fff;
-webkit-box-shadow: 0px 12px 40px -11px rgba(0,0,0,0.75);
-moz-box-shadow: 0px 12px 40px -11px rgba(0,0,0,0.75);
box-shadow: 0px 12px 40px -11px rgba(0,0,0,0.75);
font-family: 'Semibold';
}

.zapis:hover{
background: rgba(241,111,92,1);
background: -moz-linear-gradient(top, rgba(241,111,92,1) 0%, rgba(246,41,12,1) 0%, rgba(254,243,148,1) 0%, rgba(240,195,23,1) 100%);
background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(241,111,92,1)), color-stop(0%, rgba(246,41,12,1)), color-stop(0%, rgba(254,243,148,1)), color-stop(100%, rgba(240,195,23,1)));
background: -webkit-linear-gradient(top, rgba(241,111,92,1) 0%, rgba(246,41,12,1) 0%, rgba(254,243,148,1) 0%, rgba(240,195,23,1) 100%);
background: -o-linear-gradient(top, rgba(241,111,92,1) 0%, rgba(246,41,12,1) 0%, rgba(254,243,148,1) 0%, rgba(240,195,23,1) 100%);
background: -ms-linear-gradient(top, rgba(241,111,92,1) 0%, rgba(246,41,12,1) 0%, rgba(254,243,148,1) 0%, rgba(240,195,23,1) 100%);
background: linear-gradient(to bottom, rgba(241,111,92,1) 0%, rgba(246,41,12,1) 0%, rgba(254,243,148,1) 0%, rgba(240,195,23,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f16f5c', endColorstr='#f0c317', GradientType=0 );
-webkit-box-shadow: 1px 4px 15px 0px rgba(0,0,0,0.75);
-moz-box-shadow: 1px 4px 15px 0px rgba(0,0,0,0.75);
box-shadow: 1px 4px 15px 0px rgba(0,0,0,0.75);
}


.zapis:active {     
-webkit-box-shadow: 1px 6px 20px -2px rgba(0,0,0,0.75);
-moz-box-shadow: 1px 6px 20px -2px rgba(0,0,0,0.75);
box-shadow: 1px 6px 20px -2px rgba(0,0,0,0.75);
border-bottom: none;
margin-top: 2px;
height: 58px;
}

.title {
  color: #415870;
  font-size: 48px;
  text-align: center;
  padding: 15px;
}

.how {
text-align: center;
}

.how li{
  list-style: none;
  display: inline-block;
  width: 290px;
  text-align: center;
  font-family: 'Light';
  font-size: 18px;  
  margin-top: 25px;
}

.trenings {
  background: url(../img/background/trenings-after.png)top center no-repeat,
              url(../img/background/trenings-before.png)bottom center no-repeat;
  background-color: #FDDF43;
  width: 100%;  
  padding-top: 42px;
  padding-bottom: 160px;
}

.title-trenings {
  color: #fff;
  font-size: 48px;
  text-align: center;  
  background-color: rgba(158,64,163, 0.7);
  font-family: 'Light';
  width: 560px;
  margin: 0 auto;
  z-index: 1;
}

.trenings-contens {
  width: 840px;
  margin: 40px auto 0;
}

.tren-p1 {
  font-family: 'Semibold';
  font-size: 18px;
  display: inline-block;
  width: 370px;
}

.tren-p1 span{
  font-family: 'Light';
  font-size: 30px;
}

.tren-p2 {
  font-family: 'Semibold';
  font-size: 18px;
  display: inline-block;
}

.tren-p2 span{
  font-family: 'Light';
  font-size: 30px;
}

.mesta {
display: inline-block;
background: rgba(255,240,165,1);
background: -moz-linear-gradient(top, rgba(255,240,165,1) 0%, rgba(255,231,113,1) 100%);
background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(255,240,165,1)), color-stop(100%, rgba(255,231,113,1)));
background: -webkit-linear-gradient(top, rgba(255,240,165,1) 0%, rgba(255,231,113,1) 100%);
background: -o-linear-gradient(top, rgba(255,240,165,1) 0%, rgba(255,231,113,1) 100%);
background: -ms-linear-gradient(top, rgba(255,240,165,1) 0%, rgba(255,231,113,1) 100%);
background: linear-gradient(to bottom, rgba(255,240,165,1) 0%, rgba(255,231,113,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fff0a5', endColorstr='#ffe771', GradientType=0 );
border-radius: 20px;
width: 195px;
height: 40px;
text-align: center;
font-family: 'Semibold';
font-size: 18px;
padding-top: 5px;
vertical-align: top;
margin: 15px 0 0 50px;
}

.wiv-all {
  text-decoration: none;
  border: 1px solid #D7958C;
  background: rgba(174,70,207,1);
background: -moz-linear-gradient(top, rgba(174,70,207,1) 0%, rgba(123,40,149,1) 100%);
background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(174,70,207,1)), color-stop(100%, rgba(123,40,149,1)));
background: -webkit-linear-gradient(top, rgba(174,70,207,1) 0%, rgba(123,40,149,1) 100%);
background: -o-linear-gradient(top, rgba(174,70,207,1) 0%, rgba(123,40,149,1) 100%);
background: -ms-linear-gradient(top, rgba(174,70,207,1) 0%, rgba(123,40,149,1) 100%);
background: linear-gradient(to bottom, rgba(174,70,207,1) 0%, rgba(123,40,149,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ae46cf', endColorstr='#7b2895', GradientType=0 );
color: #fff;
width: 170px;
height: 45px;
display: inline-block;
text-align: center;
padding-top: 7px;
font-size: 21px;
border-radius: 25px;
font-family: 'Semibold';
margin: 13px 0 0 30px;
vertical-align: top;
}

.dinamick-height {
  padding-top: 20px;
  color: #B1706A;
  font-size: 24px;
  display: block;
  margin-top: 15px;
}

.trenings-contens div{
  padding-top: 25px;
}

.pohvala {
  text-align: center;
  font-size: 24px;
  color: #686868;
}

.how-we-title {
  color: #000;
  font-size: 48px;
  font-family: 'Light';
  text-align: center;
  margin-top: 30px;
}

.how-we-cont {
  width: 920px;
  height: 483px;
  margin: 0 auto;
  background: url(../img/background/how-we-cont.png) top center no-repeat;
}

.rewivs {
  background-color: #F6F2CA;
  height: 490px;
  margin-top: 30px;
  position: relative;
}

.rewivs:after {
  content: "";
  position: absolute;
  top: -13px;
  height: 13px;
  width: 100%;
  background: url(../img/background/rewivs-after.png) repeat-x;
}

.rewivs li {
  display: inline-block;
  width: 310px;
  text-align: center;
  vertical-align: top;
  font-size: 14px;
  padding: 20px;
}
.rewivs li span{  
  color: #85369B;
  display: block;
}

.footer {
  background: #000;
  height: 120px;
  position: relative;
  padding: 20px;
}

.footer:after {
background: url(../img/background/footer-after.png);
height: 13px;
content: "";
position: absolute;
top: -5px;
width: 100%;
margin-left: -20px;
}

.footer a:last-child{
  text-decoration: none;
  position: absolute;
  top: 30px;
  left: 50%;
  display: block;
  width: 335px;
  text-align: center;
  margin-left: -168px;  
  height: 50px;
  background: rgba(255,235,32,1);
  background: -moz-linear-gradient(top, rgba(255,235,32,1) 0%, rgba(240,195,23,1) 100%);
  background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(255,235,32,1)), color-stop(100%, rgba(240,195,23,1)));
  background: -webkit-linear-gradient(top, rgba(255,235,32,1) 0%, rgba(240,195,23,1) 100%);
  background: -o-linear-gradient(top, rgba(255,235,32,1) 0%, rgba(240,195,23,1) 100%);
  background: -ms-linear-gradient(top, rgba(255,235,32,1) 0%, rgba(240,195,23,1) 100%);
  background: linear-gradient(to bottom, rgba(255,235,32,1) 0%, rgba(240,195,23,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffeb20', endColorstr='#f0c317', GradientType=0 );
  border-radius: 25px;
  font-size: 21px;
  font-family: 'Semibold';
  padding-top: 8px;
  color: #000;

}

.footer a:last-child:hover {
background: rgba(241,111,92,1);
background: -moz-linear-gradient(top, rgba(241,111,92,1) 0%, rgba(246,41,12,1) 0%, rgba(254,243,148,1) 0%, rgba(240,195,23,1) 100%);
background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(241,111,92,1)), color-stop(0%, rgba(246,41,12,1)), color-stop(0%, rgba(254,243,148,1)), color-stop(100%, rgba(240,195,23,1)));
background: -webkit-linear-gradient(top, rgba(241,111,92,1) 0%, rgba(246,41,12,1) 0%, rgba(254,243,148,1) 0%, rgba(240,195,23,1) 100%);
background: -o-linear-gradient(top, rgba(241,111,92,1) 0%, rgba(246,41,12,1) 0%, rgba(254,243,148,1) 0%, rgba(240,195,23,1) 100%);
background: -ms-linear-gradient(top, rgba(241,111,92,1) 0%, rgba(246,41,12,1) 0%, rgba(254,243,148,1) 0%, rgba(240,195,23,1) 100%);
background: linear-gradient(to bottom, rgba(241,111,92,1) 0%, rgba(246,41,12,1) 0%, rgba(254,243,148,1) 0%, rgba(240,195,23,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f16f5c', endColorstr='#f0c317', GradientType=0 );
-webkit-box-shadow: 1px 4px 15px 0px rgba(0,0,0,0.75);
-moz-box-shadow: 1px 4px 15px 0px rgba(0,0,0,0.75);
box-shadow: 1px 4px 15px 0px rgba(0,0,0,0.75);
}

.hidden-contens {
  overflow: hidden;
}

.vkontakte {
  float: right;
}

.hader-tren {
  padding: 15px 0 15px 50px;
  text-decoration: underline;
}

.hader-tren {
  color: #666;
  font-size: 22px;
}

.linkto-detil {
  display: block;
  color: none;
  color: #333534;
  text-decoration: none;
}

.linkto-detil:hover {
  text-decoration: underline;
  color: #802B9A;
}

.tren-details {
  width: 650px;  
  height: 500px;
  -webkit-border-radius: 7px;
  -moz-border-radius: 7px;
  -ms-border-ra5ius: 7px;
  -o-border-radius: 7px;
  border-radius: 7px;
  padding: 25px;  
  background: #fff;
  position: relative;
  border: 2px solid #666;
  overflow-y:scroll;
  text-align: left;
}

.detitle {
  text-align: center;
  font-size: 23px;
  color: #333534
}

.prednaznach {
  text-align: left;
  color: #666;  
  margin: 10px 0 10px 0;
}

.proga {
  text-align: left;
  margin: 20px;
  color: #A842C8;
  font-size: 20px;
  text-decoration: underline;
}

.t-step {
  margin: 5px 0 5px 0;
  color: #A842C8;
  text-align: center;
}

.text-of-prog {
  text-align: left;
}

.text-text-text {
  padding-left: 10px;
}

.close2 {        
height: 17px;
position: absolute;
right: 30px;
top: 16px;
width: 17px;
z-index: 15;   
background: url(../img/background/wind-close.png) no-repeat;
}

.quote {
  margin: 15px 0 15px 0;
  text-align: right;
  font-size: 14px;
  color: #666;
}

.text-text {
  font-size: 15px;
  color: #666;
  text-align: left;
  margin-bottom: 15px;
}

/* CAROUSEL *//* CAROUSEL *//* CAROUSEL *//* CAROUSEL *//* CAROUSEL *//* CAROUSEL *//* CAROUSEL *//* CAROUSEL *//* CAROUSEL *//* CAROUSEL *//* CAROUSEL *//* CAROUSEL *//* CAROUSEL */
/* CAROUSEL *//* CAROUSEL *//* CAROUSEL *//* CAROUSEL *//* CAROUSEL *//* CAROUSEL *//* CAROUSEL *//* CAROUSEL *//* CAROUSEL *//* CAROUSEL *//* CAROUSEL *//* CAROUSEL *//* CAROUSEL */
.carousel  {
   width: 100%; /* ширина всего блока */
   margin: 0 auto;   
}
.carousel-wrapper {
   width: 100%;
overflow: hidden;
margin: 0 auto;
padding: 0px;
}
.carousel-items {
   width: 10000px; /* устанавливаем большую ширину для набора элементов */
   position: relative; /* позиционируем блок относительно основной области карусели */
}
.carousel-block {
   float: left; /* выстраиваем все элементы карусели в ряд */
   width: 305px; /* задаём ширину каждого элемента */   
   text-align: center;
 }

 .carousel-block img{
  width: 228px;
  height: 175px;
  border: 1px solid #FDDF43;
  border-radius: 5px;  
 }

 .carousel-block img:hover{
  width: 228px;
  height: 175px;
  border-bottom: 3px solid #FDDF43;
  border-radius: 5px;  
 }
.carousel-button-left a, .carousel-button-right a{
   width: 19px; 
   height: 28px; 
   position: relative;
   top: 40px; 
   cursor: pointer; 
   text-decoration:none;
}
.carousel-button-left a{
   float: left; 
   background: url(../images/carousel-left.png) no-repeat; 
}
.carousel-button-right a{
   float: right;
   background: url(../images/carousel-right.png) no-repeat; 
}
.photos {
  width: 100%;
  height: 350px;
  margin: 0 auto;  
}
.feedbackf {  
  width: 930px;  
  border-radius: 9px;
  position: relative;  
  text-align: center;
}
.feedbackf img{
 margin-right: 15px;
 border-radius: 5px;
 border: 1px solid #fff;
}
.feedbackf img:last-child{
  margin-right: 0;
}
/* window */
.overlay {
    background-color: rgba(0, 0, 0, 0.8);
    bottom: 0;
    cursor: default;
    left: 0;
    opacity: 0;
    position: fixed;
    right: 0;
    top: 0;
    visibility: hidden;
    z-index: 2;
    -webkit-transition: opacity .5s;
    -moz-transition: opacity .5s;
    -ms-transition: opacity .5s;
    -o-transition: opacity .5s;
    transition: opacity .5s;
}
.overlay:target {
    visibility: visible;
    opacity: 1;
}

.overlay:target+.popup {
    top: 50%;
    opacity: 1;
    visibility: visible;
}

.feedbackf {  
  width: 930px;  
  border-radius: 9px;
  position: relative;  
  text-align: center;
}


.feedbackf img{
 margin-right: 15px;
 border-radius: 5px;
 border: 1px solid #fff; 
}
.feedbackf img:last-child{
  margin-right: 0;
}

.popup {          
    left: 50%;
    opacity: 0;
    padding: 10px;
    position: fixed;    
    top: 40%;
    visibility: hidden;
    z-index: 10; 
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
 
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    border-radius: 10px;   
 
    -webkit-transition: opacity .5s, top .5s;
    -moz-transition: opacity .5s, top .5s;
    -ms-transition: opacity .5s, top .5s;
    -o-transition: opacity .5s, top .5s;
    transition: opacity .5s, top .5s;
}

/* Кнопка закрытия окна  */
.closef {      
  line-height: 24px;
  position: absolute;
  right: 48%;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  font-family: arial;
  top: -16px;
  width: 32px;
  height: 32px;
  margin-top: -1px;  
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
     border-radius: 15px;  
     background: url(../img/close.png);  
}
.closef:before {
    color: #747474;
    content: "";    
    font-size: 18px;
    text-shadow: 0 -1px rgba(0, 0, 0, 0.9);
    line-height: 0.5;
    padding-top: -3px;
}
