.bx-wrapper{position:relative;margin:0 auto 60px;padding:0}.bx-wrapper img{max-width:100%;display:block}.bx-wrapper .bx-pager,.bx-wrapper .bx-controls-auto{position:absolute;bottom:-30px;width:100%}.bx-wrapper .bx-loading{min-height:50px;background:url("/scripts/slider/images/bx_loader.gif") center center no-repeat #fff;height:100%;width:100%;position:absolute;top:0;left:0;z-index:2000}.bx-wrapper .bx-pager{text-align:center;font-size:.85em;font-family:Arial;font-weight:bold;color:#666;padding-top:20px}.bx-wrapper .bx-pager .bx-pager-item,.bx-wrapper .bx-controls-auto .bx-controls-auto-item{display:inline-block}.bx-wrapper .bx-pager.bx-default-pager a{background:#666;text-indent:-9999px;display:block;width:10px;height:10px;margin:0 5px;outline:0;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.bx-wrapper .bx-pager.bx-default-pager a:hover,.bx-wrapper .bx-pager.bx-default-pager a.active{background:#000}.bx-wrapper .bx-prev{left:10px}.bx-wrapper .bx-next{right:20px}.bx-wrapper .bx-controls-direction a{position:absolute;top:40%;outline:0;width:25px;height:45px;text-indent:-9999px;z-index:100}.bx-wrapper .bx-controls-direction a.disabled{display:none}.bx-wrapper .bx-controls-auto{text-align:center}.bx-wrapper .bx-controls-auto .bx-start{display:block;text-indent:-9999px;width:10px;height:11px;outline:0;background:url("/scripts/slider/images/controls.png") -86px -11px no-repeat;margin:0 3px}.bx-wrapper .bx-controls-auto .bx-start:hover,.bx-wrapper .bx-controls-auto .bx-start.active{background-position:-86px 0}.bx-wrapper .bx-controls-auto .bx-stop{display:block;text-indent:-9999px;width:9px;height:11px;outline:0;background:url("/scripts/slider/images/controls.png") -86px -44px no-repeat;margin:0 3px}.bx-wrapper .bx-controls-auto .bx-stop:hover,.bx-wrapper .bx-controls-auto .bx-stop.active{background-position:-86px -33px}.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-pager{text-align:left;width:80%}.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-controls-auto{right:0;width:35px}.bx-wrapper .bx-caption{position:absolute;bottom:0;left:0;background:#660600;background:rgba(80,80,80,.75);width:100%}.bx-wrapper .bx-caption span{color:#fff;font-family:Arial;display:block;font-size:.85em;padding:10px}
.owl-carousel .animated{-webkit-animation-duration:1000ms;animation-duration:1000ms;-webkit-animation-fill-mode:both;animation-fill-mode:both}.owl-carousel .owl-animated-in{z-index:0}.owl-carousel .owl-animated-out{z-index:1}.owl-carousel .fadeOut{-webkit-animation-name:fadeOut;animation-name:fadeOut}@-webkit-keyframes fadeOut{0%{opacity:1}100%{opacity:0}}@keyframes fadeOut{0%{opacity:1}100%{opacity:0}}.owl-height{-webkit-transition:height 500ms ease-in-out;-moz-transition:height 500ms ease-in-out;-ms-transition:height 500ms ease-in-out;-o-transition:height 500ms ease-in-out;transition:height 500ms ease-in-out}.owl-carousel{display:none;width:100%;-webkit-tap-highlight-color:transparent;position:relative;z-index:1}.owl-carousel .owl-stage{position:relative;-ms-touch-action:pan-Y}.owl-carousel .owl-stage:after{content:".";display:block;clear:both;visibility:hidden;line-height:0;height:0}.owl-carousel .owl-stage-outer{position:relative;overflow:hidden;-webkit-transform:translate3d(0px,0px,0px)}.owl-carousel .owl-controls .owl-nav .owl-prev,.owl-carousel .owl-controls .owl-nav .owl-next,.owl-carousel .owl-controls .owl-dot{cursor:pointer;cursor:hand;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.owl-carousel.owl-loaded{display:block}.owl-carousel.owl-loading{opacity:0;display:block}.owl-carousel.owl-hidden{opacity:0}.owl-carousel .owl-refresh .owl-item{display:none}.owl-carousel .owl-item{position:relative;min-height:1px;float:left;-webkit-backface-visibility:hidden;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.owl-carousel .owl-item img{display:block;width:100%;-webkit-transform-style:preserve-3d}.owl-carousel.owl-text-select-on .owl-item{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.owl-carousel .owl-grab{cursor:move;cursor:-webkit-grab;cursor:-o-grab;cursor:-ms-grab;cursor:grab}.owl-carousel.owl-rtl{direction:rtl}.owl-carousel.owl-rtl .owl-item{float:right}.no-js .owl-carousel{display:block}.owl-carousel .owl-item .owl-lazy{opacity:0;-webkit-transition:opacity 400ms ease;-moz-transition:opacity 400ms ease;-ms-transition:opacity 400ms ease;-o-transition:opacity 400ms ease;transition:opacity 400ms ease}.owl-carousel .owl-item img{transform-style:preserve-3d}.owl-carousel .owl-video-wrapper{position:relative;height:100%;background:#000}.owl-carousel .owl-video-play-icon{position:absolute;height:80px;width:80px;left:50%;top:50%;margin-left:-40px;margin-top:-40px;background:url("/scripts/slider/owl.video.play.png") no-repeat;cursor:pointer;z-index:1;-webkit-backface-visibility:hidden;-webkit-transition:scale 100ms ease;-moz-transition:scale 100ms ease;-ms-transition:scale 100ms ease;-o-transition:scale 100ms ease;transition:scale 100ms ease}.owl-carousel .owl-video-play-icon:hover{-webkit-transition:scale(1.3,1.3);-moz-transition:scale(1.3,1.3);-ms-transition:scale(1.3,1.3);-o-transition:scale(1.3,1.3);transition:scale(1.3,1.3)}.owl-carousel .owl-video-playing .owl-video-tn,.owl-carousel .owl-video-playing .owl-video-play-icon{display:none}.owl-carousel .owl-video-tn{opacity:0;height:100%;background-position:center center;background-repeat:no-repeat;-webkit-background-size:contain;-moz-background-size:contain;-o-background-size:contain;background-size:contain;-webkit-transition:opacity 400ms ease;-moz-transition:opacity 400ms ease;-ms-transition:opacity 400ms ease;-o-transition:opacity 400ms ease;transition:opacity 400ms ease}.owl-carousel .owl-video-frame{position:relative;z-index:1}
.fancybox-wrap,.fancybox-skin,.fancybox-outer,.fancybox-inner,.fancybox-image,.fancybox-wrap iframe,.fancybox-wrap object,.fancybox-nav,.fancybox-nav span,.fancybox-tmp{padding:0;margin:0;border:0;outline:0;vertical-align:top}.fancybox-wrap{position:absolute;top:0;left:0;z-index:8020}.fancybox-skin{position:relative;background:#f9f9f9;color:#444;text-shadow:none;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.fancybox-opened{z-index:8030}.fancybox-opened .fancybox-skin{-webkit-box-shadow:0 10px 25px rgba(0,0,0,.5);-moz-box-shadow:0 10px 25px rgba(0,0,0,.5);box-shadow:0 10px 25px rgba(0,0,0,.5)}.fancybox-outer,.fancybox-inner{position:relative}.fancybox-inner{overflow:hidden}.fancybox-type-iframe .fancybox-inner{-webkit-overflow-scrolling:touch}.fancybox-error{color:#444;font:14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;margin:0;padding:15px;white-space:nowrap}.fancybox-image,.fancybox-iframe{display:block;width:100%;height:100%}.fancybox-image{max-width:100%;max-height:100%}#fancybox-loading,.fancybox-close,.fancybox-prev span,.fancybox-next span{background-image:url("/scripts/fancybox/fancybox_sprite.png")}#fancybox-loading{position:fixed;top:50%;left:50%;margin-top:-22px;margin-left:-22px;background-position:0 -108px;opacity:.8;cursor:pointer;z-index:8060}#fancybox-loading div{width:44px;height:44px;background:url("/scripts/fancybox/fancybox_loading.gif") center center no-repeat}.fancybox-close{position:absolute;top:-18px;right:-18px;width:36px;height:36px;cursor:pointer;z-index:8040}.fancybox-nav{position:absolute;top:0;width:40%;height:100%;cursor:pointer;text-decoration:none;background:transparent url("/scripts/fancybox//blank.gif");-webkit-tap-highlight-color:rgba(0,0,0,0);z-index:8040}.fancybox-prev{left:0}.fancybox-next{right:0}.fancybox-nav span{position:absolute;top:50%;width:36px;height:34px;margin-top:-18px;cursor:pointer;z-index:8040;visibility:hidden}.fancybox-prev span{left:10px;background-position:0 -36px}.fancybox-next span{right:10px;background-position:0 -72px}.fancybox-nav:hover span{visibility:visible}.fancybox-tmp{position:absolute;top:-99999px;left:-99999px;visibility:hidden;max-width:99999px;max-height:99999px;overflow:visible !important}.fancybox-lock{overflow:hidden !important;width:auto}.fancybox-lock body{overflow:hidden !important}.fancybox-lock-test{overflow-y:hidden !important}.fancybox-overlay{position:absolute;top:0;left:0;overflow:hidden;display:none;z-index:8010;background:url("/scripts/fancybox//fancybox_overlay.png")}.fancybox-overlay-fixed{position:fixed;bottom:0;right:0}.fancybox-lock .fancybox-overlay{overflow:auto;overflow-y:scroll}.fancybox-title{visibility:hidden;font:normal 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;position:relative;text-shadow:none;z-index:8050}.fancybox-opened .fancybox-title{visibility:visible}.fancybox-title-float-wrap{position:absolute;bottom:0;right:50%;margin-bottom:-35px;z-index:8050;text-align:center}.fancybox-title-float-wrap .child{display:inline-block;margin-right:-100%;padding:2px 20px;background:transparent;background:rgba(0,0,0,.8);-webkit-border-radius:15px;-moz-border-radius:15px;border-radius:15px;text-shadow:0 1px 2px #222;color:#fff;font-weight:bold;line-height:24px;white-space:nowrap}.fancybox-title-outside-wrap{position:relative;margin-top:10px;color:#fff}.fancybox-title-inside-wrap{padding-top:10px}.fancybox-title-over-wrap{position:absolute;bottom:0;left:0;color:#fff;padding:10px;background:#000;background:rgba(0,0,0,.8)}@media only screen and (-webkit-min-device-pixel-ratio:1.5),only screen and (min--moz-device-pixel-ratio:1.5),only screen and (min-device-pixel-ratio:1.5){#fancybox-loading,.fancybox-close,.fancybox-prev span,.fancybox-next span{background-image:url("/scripts/fancybox/fancybox_sprite@2x.png");background-size:44px 152px}#fancybox-loading div{background-image:url("/scripts/fancybox/fancybox_loading@2x.gif");background-size:24px 24px}}
@import url("/layout.less");
@violet:#6D326D;
@violetd:#444054;
.violet {color:@violet;}
.violetd {color:@violetd;}
.b-violet {background:@violet; .white;}
.b-violetd {background:@violetd; .white;}
@trblue:rgba(0,75,140, 0.7);
button, .form-button {height:40px; .b-blue; .bbl;}
.form-button {line-height: 40px; height: 40px;}
button:hover, .form-button:hover {opacity:0.8; .animate;}
button.small, .form-button.small {height:30px; .f14;}
.form-button.small {line-height:30px;}
button.big, .form-button.big {height:50px; .f18;}
.form-button.big {line-height:50px;}

.form-field.nomarg {margin-bottom:0;}

form .agree {margin:10px 0; .cpointer}
form .check {padding:0 5px 0 0; width:20px;}
form .agree .text {.f12;}
h1 {margin:0 0 15px 0; .w400;}
h2 {margin:0 0 10px 0; .w400;}
h3 {margin:0 0 8px 0; .w400;}
p {margin:0 0 10px 0; .w300; line-height:150%;}
ul, ol {.w300; line-height:150%;}
.container {min-width:300px; max-width:1100px; margin:0 auto; .pr; padding:0 10px; .bbl;}
.sidebar {width:220px; margin:0; padding: 0 20px 0 0; .float; .bbl;}
.breadcrumbs-outer {margin: 0 0 20px 0; padding:15px 0; .b-grayll}
.breadcrumbs {margin:0; .gray; .f16;}
.breadcrumbs a {.blue}
.breadcrumbs > span:first-child:after {content:''; }
.pagetitle h1 {.f30; .violetd;}
.section-title {.f28; margin:20px 0; .violetd;}
.modal-title {.f20; margin:0 0 10px 0; .violetd;}
.b-grad {background: @blued;
background: -moz-linear-gradient(top,  @blued 0%, @blue 80%, @blue 100%);
background: -webkit-linear-gradient(top,  @blued 0%,@blue 80%,@blue 100%);
background: linear-gradient(to bottom,  @blued 0%,@blue 80%,@blue 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='@blued', endColorstr='@blue',GradientType=0 );
}
.block-s {.block; .b-violet; padding:15px;}
.block-b {.block; .b-blue; padding:15px; }
.block-r {.block; .b-red; padding:15px; }
.block-blue {.block; background:#E5F3FF; .blue; padding:15px;}
img {max-width:100%;}
.page-content td {padding:0 15px;}
/*-----------------------------------------------*/


/*header*/
@hheight:165px;

header {.pr; height:@hheight; .fw; margin:0; .b-grad; .white;}
header a {.white}
header > .container {.fh}
header .top-menu {.pa; top:10px; right:10px; .f12; z-index:200;}
header .top-menu a {margin:0 0 0 15px;}
header .logo {.pa; top:12px; left:10px;}
header .logo img {max-width:100%;}

header .address-table {.pa; top:0; left:27%; .table; .wa; height:@hheight;}
header .address-table > .cell {padding:0 0 55px 0;}
header .address {.table;}
header .address .cell {.tp;}
header .address img {width:22px; margin: 0 10px 0 0;}
header .address a {.punktir;}

header .phones-table {.pa; top:0; right:10px; .table; .wa; height:@hheight;}
header .phones-table > .cell {padding:0 0 55px 0;}
header .phones {.table; .wa;}
.phones img {width:32px; margin: 0 10px 0 0;}
.phones a {.nodec;}
.phones .phlinks {.f24; .cond;}
.phones .phlinks small {.f12;}
.phones .callback {.punktir;}

header .lk {.pa; bottom:10px; right:15px; z-index:201;.inline-block; .f14; .center; padding:7px 10px; border:1px solid @white; .nodec; margin:10px 0 0 0; .animate;}
header .lk:hover {.b-blue; .animate}
.modelink {.pa; bottom:50px; right:@otst; z-index:210; .white; height:55px; line-height:55px; .center; .f28}

.search {.pr; width:300px; height:40px; border:1px solid @white; .bbl; opacity:0.5; .animate;}
header .search {.pa; bottom:8px; right:10px; z-index:201;}
.search:hover {opacity:1; .animate;}
.search .search-input {border:none; .fpa; background:none; padding:0 10px; .bbl; .white;}
.search .search-input::-webkit-input-placeholder {.white; opacity:1;}
.search .search-input::-moz-placeholder {.white; opacity:1;}
.search .search-input:-ms-input-placeholder {.white; opacity:1;}
.search .search-button {.pa; top:0; right:0;.fh; width:40px; background:none;}
.search-info {margin: 0 0 15px 0; .f14}
.search-result {margin:0 0 20px 0;}
.search-result a {.w600;}
.search-result .intro .sisea-highlight {.bluel; .w600}

/*main-menu*/
@mh:55px;
header .main-menu {.pa; bottom:0; left:0; .wa; z-index:200; height: @mh; .b-blued; .fw}
header .main-menu-tpl {.pr; .float;}
header .main-menu-tpl .podmenu-open {.hid}
header .main-menu-tpl .l0 {.block; .f18; white-space:nowrap; padding:0 10px; height:@mh; line-height:@mh; .nodec;}
header .main-menu-tpl:hover .l0 {.b-grayll; .blue}
header .main-menu-tpl .podmenu {.pa; top:@mh; left:0; .b-grayll; opacity:0; height:0; .hid; min-width:100%;}
header .main-menu-tpl .podmenu .main-podmenu-tpl.l1 {.blue; white-space:nowrap; padding:5px 10px; .block; .nodec; .pr;}
header .main-menu-tpl .podmenu .main-podmenu-tpl.l1 > a {.blue; .nodec;}
header .main-menu-tpl .podmenu .main-podmenu-tpl.l1:hover {.b-bluel;}
header .main-menu-tpl .podmenu .main-podmenu-tpl.l1:hover > a {.white;}
header .main-menu-tpl .podmenu .main-podmenu-tpl .sub {.pa; top:0; left:100%; .hid; .b-bluel;}
header .main-menu-tpl:last-child .podmenu .main-podmenu-tpl .sub {left:auto; right:100%;}

header .main-menu-tpl .podmenu .main-podmenu-tpl .sub a {.white; .nodec; .block; padding:5px 10px; .animate}
header .main-menu-tpl .podmenu .main-podmenu-tpl .sub a:hover {.b-blue; .animate;}
header .main-menu-tpl .podmenu .main-podmenu-tpl:hover .sub {.block}

header .main-menu-tpl:hover .podmenu {opacity:1; height:auto; .block}

.homepage h1 {text-indent:-99999px; overflow:hidden; height:0; margin:0;}

/*slider*/
.slider-block {.fw; .pr; .oh; height:400px;}
.slider-block ul {.fw; margin:0; padding:0;}
.slider-block, .slider, .slider-tpl {.fw; height:400px;}
.slider-block, .slider, .slider-tpl a {.nodec;}
.slider-tpl {.fullback; background-color:@white;}
.slider-tpl .info  {.pa; left:0; top:0; .fh; .w1_2;}
.slider-tpl .outer {.pr}
.slider-tpl .wrapper {.pr; z-index:10; padding:20px; .bbl}
.slider-tpl .back {.fpa; opacity:0.7;}
.slider-tpl .info .cell {padding:5%; .bbl;}
.slider-tpl .info .cell .title {font-size:3em; line-height:100%; .w100; margin:0 0 25px 0; .cond;}
.slider-tpl .info .cell .text {line-height:150%; .w300; margin:0 0 25px 0;}
.slider-tpl .info .cell .form-button {background:none; height:50px; line-height:48px; padding:0 15px; .brad3;}
.slider-block .bx-wrapper {margin:0;}

.slider-block .bx-wrapper .bx-controls-direction a {top:0 !important; width:50px; .fh;}
.slider-block .bx-wrapper .bx-next {background: url(/images/b-next.png) no-repeat center; right:0 !important; .fh;}
.slider-block .bx-wrapper .bx-prev {background: url(/images/b-prev.png) no-repeat center; left:0 !important; .fh;}


/*carousel
.car-block .owl-controls {.pa; top:70px; .fw;}
.car-block .owl-controls .owl-prev {.pa; background: url(/images/b-prev.png) no-repeat; left:-5% !important; width:30px; height:53px;}
.car-block .owl-controls .owl-next {.pa; background: url(/images/b-next.png) no-repeat; right:-5% !important; width:30px; height:53px;}
*/

/*main-block*/
.main-block {.b-grayl; margin:0 0 30px 0;}
.main-block .blocks-tpl {.cell; padding:20px 10px; .bbl; width:16.66%; .tp}
.main-block .blocks-tpl .title {.f30; padding:0 10px; .w600}
.main-block .blocks-tpl .text {.f14; padding:0 10px;}

.main-buttons {.clear; .table; margin:20px 0 0 0;}
.main-button {.nodec; .table; height:90px;.animate}
.main-button:hover {opacity:0.8; .animate}
.main-button span {.cell}
.main-button span.img {.right; padding: 0 10px 0 0; width:33%;}
.main-button img {height:50px;}
.main-button span.title {.f24; .w100;}
.main-button.priem {.b-blue; .flex; .center;}
.main-button.priem .img {.wa;}
.main-button.consult {.b-violet}

.directions {.clear; margin:0 0 20px 0;}
.directions .directions-tpl {.block; .fullback; .pr; height:200px;}
.directions .directions-tpl .info {.table; background:@trblue; .pa; bottom:0; left:0; .animate;}
.directions .directions-tpl .info .cell {.white; padding:10px;}
.directions .directions-tpl .info .cell .title {.block; .f18; .cond}
.directions .directions-tpl .info .cell:hover .title {.w600}
.directions .directions-tpl .info .cell .intro {.block; .f14; .oh; height:0; .animate}

.page-gallery-tpl {.block; .fullback; .pr; height:200px;}
.page-gallery-tpl .info {.table; .pa; bottom:0; left:0; .animate;}
.page-gallery-tpl .info .cell {padding:10px;}
.page-gallery-tpl .info .back {.fpa; z-index:1;}
.page-gallery-tpl .info .cell .title {.pr; z-index:10; .block; .f18; .cond}
.page-gallery-tpl .info .cell .intro {.pr; z-index:10; .block; .f14; .oh; height:0; .animate}

.modblock > span {margin:0 0 10px 0; .w300; line-height:150%;}
.modblock > span:last-child {margin:0;}

.pr .prback {.b-grayll; .pa; bottom:0; .fw; height:20%;}

.facts {.b-grayll; padding: 20px 0;}
.facts .section-title {margin: 0 0 15px 0;}
.facts .facts .outer > div {.cell}
.facts .facts-tpl {.row}
.facts .facts-tpl > div {.cell; border-bottom:1px solid @graym;}
.facts .facts-tpl:last-child > div {border-bottom:none;}
.facts .facts-tpl .num {.grayl; font-size:64px; .w900; width:80px;}
.facts .facts-tpl .text {.f18;}

.facts .main-video {.cell; padding:40px 0 0 2%; .w1_3}
.video {.inline-block; .fw; .fullback; .center; .shadow; .animate} 
.facts .main-video a {height:190px;} 
.video i {font-size:3.5em; opacity:0.5; .animate} 
.video:hover {.bigshadow; .animate} 
.video:hover i {opacity:1; .animate} 



.diploms {.b-violetd; padding:20px 0 40px 0;}
.diploms .section-title {.white; margin:0 0 15px 0;}

.diploms-tpl {.block; .center;}
.diploms-tpl img {max-width:100%;}
.carousel-block {.pr}

.carousel-block .owl-controls {.pa; top:-45px; .fw;}
.carousel-block .owl-controls .owl-prev {.pa; background: url(/images/b-prev-b-sm.png) no-repeat; right:40px !important; width:13px; height:23px;}
.carousel-block .owl-controls .owl-next {.pa; background: url(/images/b-next-b-sm.png) no-repeat; right:0 !important; width:13px; height:23px;}
.diploms .carousel-block .owl-controls .owl-prev {background: url(/images/b-prev-sm.png) no-repeat;}
.diploms .carousel-block .owl-controls .owl-next {background: url(/images/b-next-sm.png) no-repeat;}


.main-news {.clear; margin:0 0 20px 0; .pr}
.main-news .more {.pa; top:12px; right:0;}
.date {.bluel; margin:0 0 10px 0;}
.news-tpl .title {.block; .w600; margin:0 0 10px 0;}
.news-tpl .intro {.f14;}
.news-archive {.clear; padding:20px 0;}
.news-archive .news-tpl {margin: 0 0 20px 0;}

.news-archive .news-tpl .date {.f14; margin:0 0 5px 0;}
.news-archive .news-tpl .title {margin:0 0 5px 0;}

.news-tpl.fixpub {}
.news-tpl.fixpub .date {.w600}
.news-tpl.fixpub .title {}

.how {.fullback; padding:20px 0; .white; .pr;}
.how:before {content:''; .fpa; background:#002865; opacity:0.5;}
.how .section-title {margin: 0 0 20px 0; .white;}
.how-tpl {height:55px; .w1_4; .float; opacity:0.7;}
.how-tpl .image {width:60px; .center}
.how-tpl .image img {max-width:30px; max-height:30px; .bbl;}

#htpl1 { opacity:1; border-left:1px solid @white; border-top:1px solid @white; border-right:1px solid @white;}

.how-form {.pr; border-left:1px solid @white; border-right:1px solid @white; border-bottom:1px solid @white; .bbl; padding:15px;}
.how-form a {.white;}
.how .line {margin:0;.pa; top:-1px; left:25%; width:75%;}
.how-form .form-block {.table; margin:0;}
.how-form .form-block .cell {padding:0 2% 0 0; width:40%;}
.how-form .form-block .cell:last-child {padding:0; width:20%;}
.how-form .form-block .form-field {border:none;}
.how-form .form-block button {background:none; border:1px solid @white;}
.how-form .form-block button:hover {.b-white; .blue; border:1px solid @white; opacity:1;}
.how-form form .agree {margin:10px 0 0 0;}

.how-new .tabs .tb {opacity:0.7; border:1px solid transparent; .pr; z-index:10; height:55px;  opacity:0.7; .w1_2; .cpointer;}
.how-new .tabs .tb.active {opacity:1; border:1px solid @white; border-bottom:1px solid transparent; .ctext;}
.how-new .tabs .tb > .table {.wa; margin:0 auto;}
.how-new .tabs .tb .image {width:60px; .center}
.how-new .tabs .tb .image img {max-width:30px; max-height:30px; .bbl;}
.how-new .tabs .tb > .table {.fh;}
.how-new .tbc .tc {border:1px solid @white; border-top:none; .pr;}
.how-new .tbc .tc.active {.block;}
.how-new .tbc .tc .wrapper {padding:20px;}
.how-new .tbc .form-block {.table; margin:0;}
.how-new .tbc .item2, .how-new .tbc .form-block .item3 {padding:0 10px;}
.how-new .tbc .form-field {border:none; }
.how-new .tbc .tc .line {.pa; margin:0; top:-1px; .w1_2;}
.how-new .tbc #tc1 .line {left:50%;}
.how-new .tbc #tc2 .line {left:0;}


.how-new button {background:none; border:1px solid @white;}
.how-new button:hover {.b-white; .blue; border:1px solid @white; opacity:1;}
.how-new .agree a {.white;}

.how-in {.block; .clear; .center; .nodec; padding:20px 15px;}

.faq {.pr; margin: 20px 0;}
.main-faq {background:#dcebff; padding:30px 0 40px 0;}
.main-faq .more {.pa; top:12px; right:0;}

.addquestion {.pa; top:-40px; right:0; .punktir}
.faq-page .addquestion {top:10px;}
.tab-content .addquestion {top:-27px; }
.faq.otherfaq {.clear; margin: 40px 0;}
.faq.otherfaq .addquestion {.pa; top:0; right:0; width:180px;}
.faq-tpl {margin: 0 0 10px 0; .animate;}
.faq-tpl.active {.animate;}
.faq-tpl .icn {.block; .pa; top:10px; left:10px; opacity:0.3; font-size:18px;}
.faq-q {.pr; font-weight:300; .f18; .cpointer; padding:10px 10px 10px 40px; .b-blue; .block; .animate;}
.faq-tpl.active .faq-q {.b-violet; .animate;}
.faq-a {.pr; .hid; padding:10px 10px 10px 40px; .b-grayll;}

.sidebar .section-title {.f22; margin:8px 0 0 0; .w300}
.left-menu {padding:15px 0;}
.left-menu-tpl {.block; padding:5px 0; border-bottom: 1px solid @grayl}
.left-menu-tpl a {.nodec; }
.left-menu-tpl span {.bluel;}
.left-menu-tpl .submenu {padding:0 0 0 10px;}
.left-menu-tpl .submenu .left-menu-tpl {.f14}
.left-menu-tpl .submenu .left-menu-tpl:last-child {border-bottom: none;}

.gallery-item {.block; height:150px; .fullback; .pr; .table; .nodec; .white; .center;}
.gallery-item i {font-size:3em;}
.gallery-item .caption {background:@trb; .pa; top:0; left:0; .fh; .fw; .animate; opacity:0; .flex; .center; .bbl; padding:10px;}
.gallery-item:hover .caption {opacity:1; .animate;}


.bnr-block {.fw; .pr; .oh;}
.bnr-block ul {margin:0; padding:0;}
.bnr-block .bnr-tpl {list-style:none;}
.bnr-block .bnr-tpl a {.nodec;}
.bnr-tpl {.fullback; padding:60px 0; background-position:top center;}
.bnr-tpl .info  {.w1_2;}
.bnr-tpl .outer {.pr; width:45%;}
.bnr-tpl .back {.fpa; opacity:0.7;}
.bnr-tpl .info {.table; }
.bnr-tpl .info .cell {padding:5%; .bbl;}
.bnr-tpl .info .cell .title {font-size:48px; line-height:100%; .w100; margin:0 0 25px 0; .cond;}
.bnr-tpl .info .cell .text {line-height:150%; .w300; margin:0 0 25px 0;}
.bnr-tpl .info .cell .form-button {background:none; height:50px; line-height:48px; padding:0 15px; .brad3;}

.bnr-block .bx-wrapper .bx-controls-direction a {top:0 !important; width:50px; .fh;}
.bnr-block .bx-wrapper .bx-next {background: url(/images/b-next.png) no-repeat center; right:0 !important; .fh;}
.bnr-block .bx-wrapper .bx-prev {background: url(/images/b-prev.png) no-repeat center; left:auto; right:70px !important; .fh;}

.allreviews .reviews-tpl {margin: 0 0 30px 0;}
.reviews-tpl  {.cond};
.reviews-tpl .wrapper {.block; border:2px solid #6A9BCC; .pr; margin:0 0 30px; .italic; .nodec;}
.reviews-tpl.student .wrapper {border:2px solid #99CC66;}
.reviews-tpl .wrapper .corner {background:url(/images/corner.png) no-repeat; .pa; bottom:-23px; left:50px; width:25px; height:23px;}
.reviews-tpl.student .wrapper .corner {background:url(/images/corner-st.png) no-repeat;}
.reviews-tpl .image {width:80px;}
.reviews-tpl .image img {.block; border-radius:70px;}
.reviews-tpl .info strong {.block; }
.reviews-tpl .info span {.block; .gray; .f14;}

.fileblocks-tpl {.b-grayll; padding:15px; margin:0 0 20px 0;}
.fileblocks-tpl h4 {.f18; margin:0 0 10px 0; .w400}
.file-tpl {.table; .animate;}
.file-tpl:hover {.b-grayl; .animate;}
.file-tpl > * {.cell; .nodec; .f14; padding:5px;}
.file-tpl > .img {.tp; width:17px;}

.gallery-albums-tpl {.block; height:180px; .fullback; .pr}
.gallery-albums-tpl .title {.pa; left:0; bottom:0; .fw; padding:5px; .bbl; .white; background:@trb;}
.gallery-tpl {.table; .center; border:1px solid @grayl;}
.gallery-tpl span {.cell; padding:5px; height:170px; .bbl;}
.gallery-tpl img {.block;}

.page-content .submenu {border-bottom:1px solid @grayl; padding:7px 0;}
.page-content .submenu-tpl {.inline-block; margin: 0 10px 0 0;}
.page-content .submenu-tpl a.active {.nodec; .blue}
.page-content .submenu-tpl small {.inline-block;}
.page-content .submenu-tpl small:before {content:'(';}
.page-content .submenu-tpl small:after {content:')';}
.page-content .submenu-tpl small .submenu-tpl:last-child {margin: 0;}

.stcontacts-tpl .section-title {.blue; .f24;}
.stcontacts-tpl .stcontacts-block {.b-white; padding:20px; .shadow; .pr;}
.stcontacts-tpl .stcontacts-block:before {content:''; .block; .pa; top:0; left:0; .fw; height:3px; .b-blue;}
.stcontacts-tpl .stcontacts-block h3 {.w600; .f16; margin: 0 0 5px 0;}
.stcontacts-tpl .stcontacts-block .role {.f14; }
.stcontacts-tpl .stcontacts-block .line {margin:15px 0;}
.stcontacts-tpl .stcontacts-block .time {.f14; .pre}
.stcontacts-tpl .stcontacts-block .text {.f14; .pre}


.payform .items-outer .item2 {padding:0 10px 10px 10px;} 
.payform .items-outer .form-field {margin:0;} 
.comm {.red; padding:10px;}
.res a {.form-button; .nodec; .inline-block;}

.logout {.pa; top:10px; right:0; .nodec;}
.logout span {.dec;}

.action-tpl {.block;}
.action-tpl .title {.block; padding:10px; .w900;}
.action-tpl .table > * {.cell; padding:15px 0;}
.action-tpl .image {.center;}
.action-tpl .text {padding-left:15px;}


.napravlenie {.table; border:1px solid @grayl; .nodec; .animate;}
.napravlenie:hover {border:1px solid @blue; .brad5; .animate;}
.napravlenie > * {.cell;padding:10px;}
.napravlenie .image {width:90px; }
.napravlenie .image img {.brad100}
.napravlenie .title {.f18; .w600}

.programms-tpl {margin:0;}
.programms-tpl .pr-title {.b-bluell; .f20; .w600; .table; .animate;}
.programms-tpl .pr-title > * {padding:10px; .cell;}
.programms-tpl .pr-title a {.white; .nodec;}
.programms-tpl .pr-title .bclose {.f14;  width:46px; .center; .cpointer;}
.programms-tpl .prwrapper {.visible; .animate; padding:15px 0;}
.programms-tpl.close {margin:0 0 20px 0;}
.programms-tpl.close .prwrapper {.invisible; .animate; padding:0;}
.programms-tpl.close .pr-title {.b-graym; .animate;}

.programm {.block; border:1px solid @grayl; padding:15px; .b-white; .animate;}
.programm:hover {border:1px solid @blue; .animate; }
.programm .title {.f18; .ucase; margin:0 0 10px 0; height:120px;}
.programm .title a {.block; .w600; margin:0 0 5px 0;}
.programm .time {height:40px; .f14;}
.programm .price {padding: 10px 0;}
.programm .price s {.red; .f14;}
.programm .price span {.f20; .w900;}
.programm .add .form-button {.block;}

.programm-tpl {.table; .b-white; margin:0 0 20px 0;  .cond;  box-shadow:rgba(0,0,0, 0.2) 0 5px 10px}
.programm-tpl > * {.cell; .tp; padding:15px;}
.programm-tpl small {.block; padding:0 0 5px 0; .gray}
.programm-tpl .info {width:120px;}
.programm-tpl .info div {padding:3px 0; }
.programm-tpl .title {.w900; .f18;}
.programm-tpl .cost {width:155px;}
.programm-tpl .cost .price {padding:0 0 5px 0;}
.programm-tpl .cost .form-button {padding:0; width:155px; .center; .b-blue;} 
.price > span {font-size:150%; .w900}

.parameters .param {padding:0 0 5px 0;}
.parameters .prices {.table; .wa; margin:20px 0 0 0;}
.parameters .prices .price {.cell; padding:0 15px 0 0;}
.parameters .prices s {.red}
.parameters .prices strong {.f22}
.parameters .prices .add-button {.cell}

.pr-tabs {.table; height:50px; margin:50px 0 20px 0;}
.pr-tabs .tb {.cell; .center; padding:0 20px; .b-grayll; .cpointer; .f18; .animate; border-right:2px solid @white;}
.pr-tabs .tb:hover {.blue; .animate;}
.pr-tabs .tb.active {.b-blue; .ctext}
.pr-tabs .tb.active:hover {.white;}

.tc {.invisible; .animate;}
.tc.active {.visible;  .animate;}
.tc .section-title {.hid;}

.block-content-tpl {.inline-block; .fw; .f20; .b-blue; .cpointer; .animate;}
.block-content-tpl:hover {.shadow; .animate;}
.block-content-tpl .wrapper {padding:15px; .inline-block;}


.block-tpl {.clear; padding:20px 0;}
.block-tpl > .container > .title {.f26; padding:0 0 10px 0;}
.block-tpl .block-table {.table;}
.block-tpl .block-table > * {.cell;}

.block-tpl.type-textimage .image {.w1_2;}
.block-tpl.type-textimage .pos1 .text {padding:0 0 0 30px;}
.block-tpl.type-textimage .pos2 .text {padding:0 30px 0 0;}


.block-tpl.type-slider  {.oh; padding:40px 0;}
.page-slider-block .wrapper {margin:auto; width:90%;.pr; padding:0;}
.page-slider-block .back-img {.pa; top:0;}
.page-slider-block.pos1 .back-img {left:0;}
.page-slider-block.pos2 .back-img {right:0;}
.page-slider-block .page-slider-tpl {.float; height:355px;}
.page-slider-block .image {width:550px; .pr;}
.page-slider-block .image img {.pa; top:20px; width:385px; height:241px; .block;}
.page-slider-block.pos1 .image img {left:82px;}
.page-slider-block.pos2 .image img {right:83px;}
.page-slider-block .image .slider-link {.pa; top:20px; .flex; .nodec; width:385px; height:241px; .f36; .white; opacity:0.5; .animate}
.page-slider-block .image .slider-link:hover {opacity:0.9; .animate}
.page-slider-block.pos1 .image .slider-link {left:82px;}
.page-slider-block.pos2 .image .slider-link {right:83px;}
.page-slider-block .info {padding:0 0 0 20px;}
.page-slider-block.pos2 .info {padding:0 20px 0 0;}
.page-slider-block .info .title {.f20; .w600; padding:0 0 10px 0;}
.page-slider-block .info .mobimage {.hid;}
.page-slider-block .owl-nav > * {width:20px;}
.page-slider-block .owl-carousel .owl-nav .owl-prev {left:-50px; background:url('/images/b-prev.svg') no-repeat center;}
.page-slider-block .owl-carousel .owl-nav .owl-next {right:-50px; background:url('/images/b-next.svg') no-repeat center;}

.page-slider-block .owl-carousel .owl-dots {.pa; .fw; bottom:-30px;}
.page-slider-block .owl-carousel .owl-dot {.inline-block; border:2px solid @blue; width:14px; height:14px; .brad100; margin:0 5px; .b-none;}
.page-slider-block .owl-carousel .owl-dot.active {.b-blue;}


/*
.block-tpl.type-slider .page-slider-tpl {.float;}
.block-tpl.type-slider .image {.w1_2;}
.block-tpl.type-slider .info {padding:0 0 0 20px;}
.block-tpl.type-slider .info .title {.f20; .w600;}

.page-slider-block {.oh; padding:0 0 40px 0;}
.page-slider-block .owl-dots {.pa; .fw; bottom:-30px; .center;}
.page-slider-block .owl-carousel .owl-dot {.inline-block; border:2px solid @blue; width:14px; height:14px; .brad100; margin:0 5px; .b-none;}
.page-slider-block .owl-carousel .owl-dot.active {.b-blue;}
*/

.block-tpl.type-videotext {padding-bottom:40px;}
.block-tpl.type-videotext .vid {.w1_2;}
.block-tpl.type-videotext iframe {.fw; .fh; min-height:300px; border:none; .block; .shadow; }
.block-tpl.type-videotext .pos1 .text {padding:0 0 0 30px;}
.block-tpl.type-videotext .pos2 .text {padding:0 30px 0 0;}

.license {.block; .clear; padding:20px 0;}
.license > span {.block}
.license .lic-tpl {.block; .center;}

/*footer*/
footer {margin:30px 0 0 0;.pr; .clear;}
footer .contact-info {.pa; top:30px; left:10px; z-index:10; .b-white; padding:20px; .cond; .bigshadow;}
footer .contact-info .contact-item {margin:0 0 10px 0; .clear; .blue; .w900; .table; .f18;}
footer .contact-info .contact-item  .icn {.cell; .center; padding:0 10px 0 0; width:32px; .tp;}
footer .contact-info .contact-item.address img {width:22px;}
footer .contact-info .contact-item.phones img {width:32px;}
footer .contact-info .contact-item .callback {.inline-block; .f12; .punktir; .blue; .nocond; .w400}
footer .contact-form {.pa; top:30px; right:10px; z-index:10; .b-white; padding:20px; .bigshadow;}
footer .contact-form .section-title {margin:0 0 20px 0; .f26; .blue;}
footer .contact-form button {.w900;}

footer .footer-menu {.b-blue; padding:40px 0}
footer .footer-menu a {.white}
footer .footer-menu .fmouter {.table}
footer .footer-menu .fmitem {.cell; .tp; padding:0 20px 0 0;}
footer .footer-menu .fmitem:last-child {padding:0;}
footer .footer-menu .ac-outer {.table}
footer .footer-menu .ac-outer .cell {padding:0 10px 0 0;}
footer .footer-menu .fmitem .title {.f18; border-bottom:1px solid @bluel; padding:0 0 5px 0; margin: 0 0 10px 0;}
footer .footer-menu .fmitem a {.block; padding:3px 0; .f14}

footer .footer-block .ac-outer .cell {padding:0 10px 0 0;}
footer .footer-block {.b-blued; padding:15px 0;}
footer .footer-block a {.white}
footer .footer-block .phones {margin:15px 0;}
footer .footer-block .info { padding:0 0 0 40px;}
footer .footer-block .info .title {.f18; padding:0 0 5px 0; margin: 0 0 10px 0;}
footer .footer-block .info a {.block; padding:3px 0; .f14}
footer .footer-block .social {.flex; .left; justify-content: flex-start; gap:10px}
footer .footer-block .social a {.f32; .nodec; .inline-block;}
footer .footer-block .social a img {filter:invert(); height:28px; .block;}
footer .bottom-block {height:80px;} 
footer .bottom-block .fban img {.inline-block; margin: 0 10px 0 0;}
footer .bottom-block .copy {opacity:0.5; .f12; margin:0 0 10px 0;}
footer .bottom-block .developer {.inline-block; opacity:0.3; .animate;}
footer .bottom-block .developer:hover {opacity:1; .animate;}



#up {position: fixed; z-index:1000; bottom:20%; right:-40px; background:@base; .cpointer; width: 40px; height: 40px; opacity:.5; text-align:center; color: @white; }
#up:hover {opacity:.1;}
.timetest {position: fixed; bottom:0; right:0; color:@base; background:@white; opacity:0.7; padding:10px; font-size:0.88em; z-index:9999; overflow:auto;}

/* MOBILE */

@media (max-width:1024px){
    header {height:160px;}
    header .address.nomobile900, header .phones.nomobile900 {.hid;}
    header .phones {top:40px;}
    header .address-table {left:auto; right:10px;height:160px; }
    header .address-table > .cell {padding:25px 0 55px 0;}
    .address-table a > img {max-width:32px; max-height:32px; .inline-block; margin:0 0 0 10px;}
    
    header .address {right:70px; left:auto;}
    header .address a {border-bottom:none;}
    
    
    .modelink {right:10px; bottom:0;}
    
    header .main-menu .mo {.pa; top:10px; left:10px; .f24; z-index:203;}
    header .main-menu .mb {.pa; top:55px; left:0; .b-bluel; .bbl; z-index:202;}
    header .main-menu-tpl {.block; .nofloat; .pr;}
    header .main-menu-tpl.lev0 {padding:0 30px 0 0;}
    header .main-menu-tpl:hover .l0 {.b-none; .white; .pr; z-index:10;}
    header .main-menu-tpl .podmenu-open {.block; .pa; top:0; right:0; .center; line-height:27px; width:27px; z-index:100;}
    header .main-menu-tpl .l0 {.ha; .block; padding:5px 10px; line-height:normal;}
    header .main-menu-tpl:hover .podmenu {.hid}
    header .main-menu-tpl .podmenu {.hid; .clearpa; .b-none; padding:0 10px;}
    header .main-menu-tpl.open .podmenu {.block; .visible;}
    header .main-menu-tpl .podmenu .main-podmenu-tpl.l1 > a {.white;}
    header .main-menu-tpl .podmenu .main-podmenu-tpl.l1 {white-space:normal;}
    header .search {width:88%; right:50px;}    
        
        
    .slider-block .bx-wrapper .bx-prev {left:auto !important; right:70px !important; .fh;}
    .bnr-block .bx-wrapper .bx-prev {left:auto !important; left:0 !important; .fh;}
    .how-tpl .image {width:40px;}

    
    
}
@media (max-width:900px){

    
    .main-button {.cond; .f14}
    .main-button span.img {width:30%;}
    
    .block-tpl.type-slider {.center;}
    .page-slider-block .wrapper {.wa;}
    .page-slider-block .page-slider-tpl {.block; .ha;}
    .block-tpl .block-table > *, .page-slider-block .info {.block; .ha;}
    .page-slider-block .back-img, .page-slider-block .image {.hid}
    .page-slider-block .image img {.hid}
    .page-slider-block .info .mobimage {.pr; .block; .center;}
    .page-slider-block .mobimage .slider-link {.fpa; .flex; .nodec; .f36; .white; opacity:0.9; .animate}
    .page-slider-block .info {padding:0!important;}
    .page-slider-block .info .title {padding: 20px 0 0 0; .center;}
    .page-slider-block .info .text {padding: 10px 0 0 0; .center;}
    .page-slider-block .owl-carousel .owl-dots, .page-slider-block.pos1 .owl-carousel .owl-dots {.center}
    .page-slider-block .owl-carousel .owl-dots {bottom:-25px;}

}

@media (max-width:800px){

    header .search {width:84%;}
    
    .slider-block, .slider, .slider-tpl {height:330px;}
    .slider-tpl .info {width:80%; .pr; margin:0 auto; .center;}
    .slider-tpl .info .cell .title {.f32; margin:0 0 10px 0;}
    .slider-block .bx-wrapper .bx-prev {right:auto; left:0 !important;}
    .bnr-tpl .outer {width:80%; .pr; margin:0 auto; .center;}
    .main-block .blocks-tpl {.inline-block; .w1_3; .center; .bbl;}
    .main-block .blocks-tpl > .cell {.block;}
    .facts .main-video {.block; .fw; padding: 40px 0 0 0;}
    .facts .main-video a {height:400px;}   
    .how-tpl {.fw; .nofloat;}
    .how-tpl .image {width:60px;}
    #htpl1 {margin:0 0 145px 0;}
    .how-form {.pa; top:45px; .fw; left:0; .bbl; }
    .how-form .line {.hid; }
    .breadcrumbs-outer {margin:0 0 0 30px;}
    .breadcrumbs {max-height:22px; .oh; .f14; left:0;}
    .sidebar {top:-40px; padding:0 10px;}
    
    footer .contact-info {.clearpa; margin: 0 0 15px 0;}
    footer .contact-form {.clearpa}
    footer .contact-form .mc400 {.fw}
    footer .footer-map {padding:15px 0; .bbl; height:auto; .oh;}
    footer .footer-map .map {.pa; top:0; left:0; width:100%; height:100%;}
    footer .footer-map .map #mapexMap {height:555px !important;}
    footer .footer-menu .fmitem {.block; margin:0 0 20px 0;}
    footer .footer-block > .container > .table {.block;}
    footer .footer-block > .container > .table > .cell {.block;}
    footer .footer-block .info {padding: 20px 0 0 0;}
    footer .search {.fw;}
    footer .footer-block .social {.clearpa; margin: 20px 0;}

}


@media (max-width:600px){
    .section-title {.f26}
    .main-news .more {.clearpa}
    
    header .search {width:76%;}
    
    .bnr-tpl .info .cell .title {.f36; line-height:100%; .w100; margin:0 0 25px 0; .cond;}
    
    .slider-block .bx-wrapper .bx-controls-direction a {width:30px;}
    .slider-block .bx-wrapper .bx-next {background: url(/images/b-next-sm.png) no-repeat center;}
    .slider-block .bx-wrapper .bx-prev {background: url(/images/b-prev-sm.png) no-repeat center;}
    
    .bnr-block .bx-wrapper .bx-controls-direction a {width:30px;}
    .bnr-block .bx-wrapper .bx-next {background: url(/images/b-next-sm.png) no-repeat center;}
    .bnr-block .bx-wrapper .bx-prev {background: url(/images/b-prev-sm.png) no-repeat center;}
    
    .addquestion {.clearpa; border:none; display:inline-flex;  padding:0 15px; height:40px; margin:0 0 20px 0; .b-blue; align-items: center; justify-content: center;}
    
    
    .main-block .blocks-tpl {.w1_2;}
    .main-buttons .item2 {.fw;}

    .main-button {.f16}
    .main-button span.img {width:33%;}
    .facts .facts-tpl .num {font-size:50px; width:70px;}
    .facts .facts-tpl .text {.f16}
    .facts .main-video a {height:300px;} 
    #htpl1 {margin:0 0 225px 0;}
    .how-form .form-block {.block;}
    .how-form .form-block > .cell {.block; .fblock; margin: 0 0 10px 0;}
    .how-form .form-block .cell:last-child {.block; .fblock; margin: 0 0 10px 0;}
    
    footer .bottom-block .cell {.block; .left; margin:5px 0;}
    .page-content td {padding:0 10px;}
    
    .block-tpl .block-table, .block-tpl .block-table > * {.block}
    .block-tpl.type-textimage .image, .block-tpl.type-videotext .vid, .block-tpl.type-slider .image  {.fw;}
    
    .block-tpl.type-textimage .pos1 .text, .block-tpl.type-videotext .pos1 .text, .block-tpl.type-slider .info {padding:10px 0 0 0;}
    .block-tpl.type-textimage .pos2 .text, .block-tpl.type-videotext .pos2 .text {padding:0 0 10px 0;}
    
    
    .programm .title {height:auto!important;}
    
    .programm-tpl {.block; padding:15px 15px 0 15px; .wa;}
    .programm-tpl > * {.block;  padding:0 0 10px 0;}
    .programm-tpl .info, .programm-tpl .cost {.wa;}
    .programm-tpl .info div {.inline-block; margin:0 10px 0 0;}

}

@media (max-width:400px){
    body {font-size:95%}
    header {height:150px;}
    header .logo {width:185px; top:10px;}
    header .address {top:35px; right:60px;}
    header .phones {top:35px;}
    header .address-table {left:auto; right:10px;height:150px; }
    header .address-table > .cell {padding:0 0 55px 0;}
    .address-table a > img {max-width:28px; max-height:28px;}
    
    header .main-menu .mb {.fw;}
    header .main-menu .mb .tmenu a {.block; padding:0 30px 0 10px; line-height:150%; .nodec; .f18}
    
    header .search {width:70%;}
    .slider-block, .slider, .slider-tpl {height:300px;}
    .slider-tpl .info {width:95%;font-size:80%;}
    .main-block .blocks-tpl {font-size:80%;}
    .facts .main-video a {height:200px;} 
    footer .footer-menu .ac-outer .cell {.block}
    footer .info .ac-outer .cell {.block}
}





