@fontMain : 'Open Sans', sans-serif; @fontSec : 'PT Sans', sans-serif; @colorMain: #0053a0; @colorSec: #cf1b1c; @colorLight: #b3b3b3; /* v2.0 | 20110126 http://meyerweb.com/eric/tools/css/reset/ License: none (public domain) */ 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; vertical-align: baseline; } /* HTML5 display-role reset for older browsers */ article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; } body { line-height: 1; } ol, ul { list-style: none; } blockquote, q { quotes: none; } blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; } table { border-collapse: collapse; border-spacing: 0; } .icon { display: inline-block; font-family: FontAwesome; font-weight: normal; font-style: normal; font-size: inherit; text-rendering: auto; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .transition { -webkit-transition: color .5s ease, background .5s ease, -webkit-box-shadow .5s ease; transition: color .5s ease, background .5s ease, box-shadow .5s ease; } .transitionAll { -webkit-transition: all .5s ease; transition: all .5s ease; } .gradient(@color: #F5F5F5, @start: #EEE, @stop: #FFF) { background: @color; background: -webkit-gradient(linear, left bottom, left top, color-stop(0, @start), color-stop(1, @stop)); background: -ms-linear-gradient(bottom, @start, @stop); background: -moz-linear-gradient(center bottom, @start 0%, @stop 100%); background: -o-linear-gradient(@stop, @start); filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)",@stop,@start)); } .gradientInvert(@color: #F5F5F5, @stop: #EEE, @start: #FFF) { background: @color; background: -webkit-gradient(linear, left bottom, left top, color-stop(0, @start), color-stop(1, @stop)); background: -ms-linear-gradient(bottom, @start, @stop); background: -moz-linear-gradient(center bottom, @start 0%, @stop 100%); background: -o-linear-gradient(@stop, @start); filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)",@stop,@start)); } .pages-control { .transitionAll; display: block; width: 100%; padding: 5px 0; margin: 7px 0 20px 0; text-align: center; cursor: pointer; font-size: 14px; line-height: 25px; color: #333333 !important; text-decoration: none !important; border: 1px solid #e3e3e3; background: #fff; &:before, &:after { .icon; font-size: 22px; line-height: 25px; margin: 0 5px; vertical-align: middle; } &.prev-page:after {content:"\f106"} &.next-page:after {content:"\f107"} &:hover { color: @colorMain !important; border-color: @colorMain; } &.loading { &:before, &:after { content:"\f110" !important; animation-name: spin !important; animation-duration: 4000ms !important; animation-iteration-count: infinite !important; animation-timing-function: linear !important; -webkit-animation-name: spin !important; -webkit-animation-duration: 4000ms !important; -webkit-animation-iteration-count: infinite !important; -webkit-animation-timing-function: linear !important; } } } .nav_pages, .content ul.nav_pages { padding: 15px 0; text-align: center; li { display: inline-block; padding: 5px; &:before { display: none; } a { &.current { text-decoration: none; cursor: default; color: inherit; &:after { display: none !important; } } } } } .clear { clear: both; } .overflow { overflow: hidden; } .hidden { display: none; } .button { .transition; .gradient; background: none; border: none; display: block; width: 34px; height: 34px; border-radius: 5px; font-size: 20px; line-height: 34px; text-align: center; color: @colorMain; text-align: center; padding: 0; cursor: pointer; -webkit-box-shadow:1px 1px 5px 0 rgba(0, 19, 24, 0.35); box-shadow:1px 1px 5px 0 rgba(0, 19, 24, 0.35); &:focus, &:hover { border: none; color: @colorLight; outline: none; } &:active { .gradientInvert; } &:before { .icon; content: '\f0c9'; } } .soc-link { .transition; display: inline-block; text-decoration: none; width: 22px; height: 22px; border: 1px solid #b5b5b5; color: #b5b5b5; overflow: hidden; font-size: 14px; text-align: center; margin-left: 3px; &:before { .icon; width: 100%; height: 100%; } &:hover { color: #fff; border-color: transparent; } &.fb { &:before {content:"\f09a"} &:hover{background: #3f619c} } &.vk { &:before {content:"\f189"} &:hover{background: #3e709c} } &.tw { &:before {content:"\f099"} &:hover{background: #2fa4cc} } &.ok { &:before {content: "\f263"} &:hover{background: #fc6719;} } &.rss { &:before {content:"\f09e"} &:hover{background: #fb8b00} } } ::-webkit-input-placeholder {color:@colorLight;.transition;} ::-moz-placeholder {color:@colorLight;.transition;} :-ms-input-placeholder {color:@colorLight;.transition;} form.search { display: inline-block; background: #fff; -webkit-box-shadow:inset -1px -3px 10px 0 rgba(0,0,0,.1); box-shadow:inset -1px -3px 10px 0 rgba(0,0,0,.1); border-radius: 0; height: 30px; width: 100%; max-width: 160px; border: 1px solid #bababa; position: relative; z-index: 2; button { .transition; position: absolute; left: 0; top: 0; height: 30px; width: 30px; display: inline-block; overflow: hidden; margin: 0; padding: 0; text-indent: -999px; background: none; -webkit-box-shadow: none; box-shadow: none; font-size: 15px; line-height: 30px; border: none; color: #b5b5b5; cursor: pointer; &:before { .icon; content:"\f002"; position: absolute; width: 100%; height: 100%; text-align: center; text-indent: 0; top: 0; left: 0; } &:focus, &:hover { border-color: @colorMain; color: @colorMain; outline: none; } } input { .transition; padding: 5px 10px 5px 35px; margin: 0; background: none; -webkit-box-shadow: none; box-shadow: none; border: none; color: @colorLight; font: 14px/20px @fontMain; height: 30px; width: 100%; box-sizing: border-box; &:focus, &:hover { border: none; color: @colorMain; outline: none; } &:focus { &::-webkit-input-placeholder {opacity: 0} &::-moz-placeholder {opacity: 0} &:-ms-input-placeholder {opacity: 0} } } &:hover { button { color: @colorMain; } ::-webkit-input-placeholder {color:@colorMain;} ::-moz-placeholder {color:@colorMain;} :-ms-input-placeholder {color:@colorMain;} } } html, body { min-height: 100%; height: 1px; } body { font: 15px/1.6 @fontMain; color: #333333; position: relative; // background: #fff url(../images/bg.jpg) top center no-repeat; background: #fff; min-width: 320px; } .sup-wrapper { min-height: 100%; } .sup-container { padding-bottom: 150px; } .main-footer { margin-top: -140px; } .container { max-width: 1170px; margin: 0 auto; position: relative; padding: 0 15px; } .content { h1,h2,h3,h4,h5,h6 { font: bold 14px/1.2 @fontSec; color: #000000; letter-spacing: 0.02em; margin-bottom: .5em; } h1 {font-size: 32px} h2 {font-size: 28px} h3 {font-size: 24px} h4 {font-size: 20px} h5 {font-size: 16px} h6 {} p { margin-bottom: 1em; } img { max-width: 100%; height: auto; } strong { font-weight: bold; } a { .transition; color: @colorMain; text-decoration: underline; &:hover { color: inherit; } } li {margin-bottom: 1em;} ul { padding-left: 1em; li { padding-left: 15px; position: relative; overflow: hidden; &:before { content: ''; display: block; width: 4px; height: 4px; background: @colorMain; position: absolute; left: 2px; top: 11px; } } } ol { padding-left: 20px; list-style: inside decimal; li {} } hr {} table { width: 100%; border-collapse: collapse; margin: 15px 0 25px 0; tr { &:hover > td { background: rgba(40,37,119,.1); } } th, td { padding: 11px 3%; border: 1px solid #e2e2e2; .transition; } th { font-weight: bold; } td {} &.table_site { width: auto; td { border: none; border-bottom: 1px #e2e2e2; } } } } .gallery { margin: 0 -1% 20px -1%; a { display: inline-block; vertical-align: top; width: 48%; margin: 0 1% 10px 1%; max-width: 400px; text-align: center; text-decoration: none; word-wrap: break-word; text-decoration: none; color: inherit; } img { display: block; width: 100%; } p { padding-top: 3px; font-size: 13px; } } .gallery-block-wrapper { margin-bottom: 20px; margin-right: -44px; position: relative; .gallery-block { a { display: inline-block; vertical-align: top; max-width: 270px; margin: 0 44px 44px 0; text-decoration: none; img { display: block; max-width: 100%; } } } .bx-controls-direction { a { .transitionAll; width: 40px; height: 40px; display: block; color: #fff; background: @colorMain; font-size: 36px; line-height: 40px; text-decoration: none; overflow: hidden; text-indent: 999px; text-align: center; text-decoration: none; position: absolute; top: 50%; margin-top: -20px; opacity: .4; cursor: pointer; &:after { .icon; text-indent: 0; position: absolute; left: 0; top: 0; width: 100%; height: 100%; } &.bx-prev { left: 10px; &:after { content: "\f104"; } } &.bx-next { right: 10px; &:after { content: "\f105"; } } &:hover { opacity: 1; } &.disabled { opacity: .05 !important; cursor: default; } } } } .files { margin-top: 25px; } .videos { margin-bottom: 20px; .item { display: inline-block; text-align: center; vertical-align: top; width: 100%; margin-bottom: 10px; .img { margin-bottom: 5px !important; position: relative; cursor: pointer; img, iframe { display: block; width: 100%; } &:before { .transition; position: absolute; width: 100%; height: 100%; top: 0; left: 0; content: ''; background: rgba(0,0,0,.7); cursor: pointer; } &:after { .icon; .transition; content: "\f16a"; position: absolute; font-size: 50px; line-height: 30px; height: 30px; width: 30px; text-align: center; cursor: pointer; top: 50%; left: 50%; margin-left: -30px; margin-right: -30px; color: #fff; z-index: 10; } &:hover { &:before { background: rgba(0,0,0,.5); } &:after { color: @colorLight; } } &.playing { &:before, &:after { display: none; } } } h4 { font-family: @fontSec; font-weight: bold; font-size: 18px; } } // @media screen and (min-width: 500px) { // .item.inline { // display: none; // } // } // @media screen and (max-width: 499px) { // .item.outline { // display: none; // } // } } @-webkit-keyframes spin { from { -webkit-transform: rotate(0deg); } to { -webkit-transform: rotate(360deg); } } @keyframes spin { from { transform:rotate(0deg); } to { transform:rotate(360deg); } } @-webkit-keyframes fadeInLeft { 0% { opacity: 0; -webkit-transform: translate3d(-100%, 0, 0); transform: translate3d(-100%, 0, 0); } 100% { opacity: 1; -webkit-transform: none; transform: none; } } @keyframes fadeInLeft { 0% { opacity: 0; -webkit-transform: translate3d(-100%, 0, 0); transform: translate3d(-100%, 0, 0); } 100% { opacity: 1; -webkit-transform: none; transform: none; } } @-webkit-keyframes fadeInRight { 0% { opacity: 0; -webkit-transform: translate3d(100%, 0, 0); transform: translate3d(100%, 0, 0); } 100% { opacity: 1; -webkit-transform: none; transform: none; } } @keyframes fadeInRight { 0% { opacity: 0; -webkit-transform: translate3d(100%, 0, 0); transform: translate3d(100%, 0, 0); } 100% { opacity: 1; -webkit-transform: none; transform: none; } } @-webkit-keyframes fadeInUp { 0% { opacity: 0; -webkit-transform: translate3d(0, 50px, 0); transform: translate3d(0, 50px, 0); } 100% { opacity: 1; -webkit-transform: none; transform: none; } } @keyframes fadeInUp { 0% { opacity: 0; -webkit-transform: translate3d(0, 50px, 0); transform: translate3d(0, 50px, 0); } 100% { opacity: 1; -webkit-transform: none; transform: none; } } @-webkit-keyframes fadeInDown { 0% { opacity: 0; -webkit-transform: translate3d(0, -50px, 0); transform: translate3d(0, -50px, 0); } 100% { opacity: 1; -webkit-transform: none; transform: none; } } @keyframes fadeInDown { 0% { opacity: 0; -webkit-transform: translate3d(0, -50px, 0); transform: translate3d(0, -50px, 0); } 100% { opacity: 1; -webkit-transform: none; transform: none; } } .main-header { &.padding { padding-top: 80px; } .top-row { padding-top: 10px; .container { &:after { content: ''; display: block; width: 100%; height: 1px; background: #e3e3e3; margin-top: 5px; } } .col { display: inline-block; vertical-align: middle; width: 30%; + .col { width: 68%; margin-left: 2%; text-align: right; } } @media screen and (max-width: 900px) { .col { width: 100% !important; text-align: center !important; margin: 0 !important; + .col { margin-top: 15px !important; & > * { margin-bottom: 10px; } } } } } .bottom-row { padding: 15px 0 9px 0; .col { display: inline-block; vertical-align: bottom; width: 30%; + .col { width: 68%; margin-left: 2%; text-align: right; padding-bottom: 5px; } } @media screen and (max-width: 900px) { .col { width: 100% !important; margin: 0 0 15px 0 !important; text-align: center !important; + .col > * { margin-bottom: 10px; } } .search { margin: 0; max-width: 330px; height: 40px; button { height: 40px; line-height: 40px; } input { height: 40px; } } } } .courses { display: inline-block; white-space: nowrap; color: #b5b5b5; text-transform: uppercase; font-size: 15px; } .soc-links { display: inline-block; vertical-align: middle; white-space: nowrap; margin-left: 10px; padding-top: 5px; } .today { font-size: 13px; color: #000000; span { color: #b5b5b5; } } .logo { display: inline-block; text-decoration: none; img { display: block; max-width: 100%; margin: 0 auto; } } .header-btn { .transition; position: relative; display: inline-block; cursor: pointer; border: 1px solid @colorMain; color: @colorMain; font-weight: 600; font-size: 15px; line-height: 28px; padding: 0 8px; text-decoration: none; &:hover { color: #fff; background: @colorMain; } } .news-calendar-btn { .header-btn; margin-left: 5px; &:after { .icon; content: "\f274"; padding-left: 10px; margin-left: 20px; border-left: 1px solid @colorMain; font-size: 20px; vertical-align: top; } } .play-video-btn { .header-btn; margin-left: 5px; &:before { .icon; content: "\f144"; font-size: 20px; vertical-align: top; margin-right: 3px; } } .search { margin-left: 5px; } } .main-naw-wrapper { position: relative; z-index: 15; @media screen and (min-width: 901px) { &.fixed { position: fixed; width: 100%; top: 0; left: 0; -webkit-animation-duration: .5s; animation-duration: .5s; -webkit-animation-fill-mode: both; animation-fill-mode: both; -webkit-animation-name: fadeInDown; animation-name: fadeInDown; } } @media screen and (min-width: 1120px) { &.fixed { .fixed-head-logo{ display: block; float: left; width: 180px; height: 30px; padding: 7px 0; position: absolute; left: 0; top: 0; img{ display: block; max-width: 100%; max-height: 100%; } } .fixed-head-search { position: absolute; display: block; right: 0; top: 7px; width: 160px; background: none; color: #fff; input { &:focus, &:hover { border-color: #fff; color: #fff; outline: none; } } &:hover { button { color: #fff; } ::-webkit-input-placeholder {color:#fff;} ::-moz-placeholder {color:#fff;} :-ms-input-placeholder {color:#fff;} } } .main-nav nav { box-sizing: border-box; padding-left: 200px; padding-right: 170px; > ul { > li { > a { padding: 15px 13px; } } } } } } .fixed-head-logo, .fixed-head-search{ display: none; } .main-nav { position: relative; .gradient(#0053a0, #0053a0, #0053a0); &:before { content: ''; background: url(../images/main-menu-img.png) top center no-repeat; width: 100%; height: 45px; position: absolute; left: 0; top: 0; } .nav-head { display: none; // .gradient(#3417c2, #3417c2, #2005a2); padding: 0 15px; position: relative; &:before { content: ''; background: url(../images/main-menu-img.png) top center no-repeat; width: 100%; height: 45px; position: absolute; left: 0; top: 0; } .logo { display: block; padding: 10px 0; margin-right: 40px; position: relative; z-index: 5; img { display: block; height: 25px; } p { display: inline-block; vertical-align: middle; font: bold 18px/20px @fontSec, sans-serif; color: #282577; letter-spacing: .9px; @media screen and (max-width: 480px) { font-size: 14px } @media screen and (max-width: 400px) { display: none; } } } .nav-toggle { .button; .gradient(#ffffff, #ffffff, #e9e9e9); color: @colorMain; float: right; margin-top: 5px; position: relative; z-index: 5; &:before { content: '\f0c9'; } &:hover { color: @colorSec; } } } nav { > ul { > li { display: inline-block; position: relative; > a { .transition; position: relative; display: block; font-size: 14px; line-height: 15px; padding: 15px 22px; color: #fff; text-align: center; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; } &.active > a, > a:hover { background: #442bc1; background: rgba(255,255,255,.1); } &.active > a { cursor: default; background: @colorSec; } .child-toggle { .button; float: right; height: 30px; width: 30px; float: right; position: absolute; right: 15px; top: 5px; background: #fff; z-index: 15; &:before { content:"\f107"; } &.open:before { content:"\f106" } display: none; } .sub-menu { display: none; position: absolute; z-index: 1; top: 100%; left: 0; width: 300px; background: #3921b5; background: rgba(39,12,174,.9); padding: 20px 0; ul { li { a { .transition; font-size: 14px; line-height: 16px; display: block; padding: 7px 20px 7px 45px; color: #fff; text-decoration: none; position: relative; &.active, &:hover { background: @colorSec; } &.video:before { .icon; content: "\f16a"; font-size: 18px; line-height: 16px; width: 20px; position: absolute; left: 20px; top: 7px; } } } } } &:hover .sub-menu { display: block; -webkit-animation-duration: .5s; animation-duration: .5s; -webkit-animation-fill-mode: both; animation-fill-mode: both; -webkit-animation-name: fadeInDown; animation-name: fadeInDown; } } } } } .tags { .tags-carousel-wrapper { padding-right: 90px; background: #eaeaea; position: relative; height: 35px; overflow:hidden; .tags-carousel { position: relative; overflow:hidden; ul { margin: 0; padding: 0; width:100%; height: 35px !important; li { float: left; a { .transition; display: block; text-decoration: none; font-size: 13px; line-height: 15px; padding: 10px 20px; min-width: 50px; white-space: nowrap; position: relative; overflow: hidden; color: inherit; &:after { .transitionAll; content: ''; background: @colorSec; width: 100%; height: 2px; position: absolute; bottom: -2px; left: 0; } &:hover, &.current { color: @colorSec; &:after { bottom: 0px; } } &.current { cursor: default; } } } } } .controls { position: absolute; right: 0; top: 0; a { .transition; width: 35px; height: 35px; display: inline-block; color: #d4d4d4; font-size: 24px; line-height: 35px; text-decoration: none; overflow: hidden; text-indent: 999px; text-align: center; position: relative; &:after { .icon; text-indent: 0; position: absolute; left: 0; top: 0; width: 100%; height: 100%; } &.prev-slide:after { content: "\f104"; } &.next-slide:after { content: "\f105"; } &:hover { color: @colorMain; opacity: 1; } + a { border-left: 1px solid #cacaca; color: @colorMain; opacity: .6; } } } } } } @media screen and (max-width: 900px) { .sup-container { padding-top: 90px; } .main-naw-wrapper { position: fixed; width: 100%; top: 0; left: 0; max-height: 100%; overflow: auto; .main-nav { // background: #3921b5; // background: rgba(39,12,174,.9); > .container { padding: 0; } .nav-wrapper { display: none; nav { display: block; width: 100%; ul { display: block; li { display: block; a { text-align: left; padding-right: 40px; } .child-toggle { display: block; } &:hover .sub-menu { display: none; -webkit-animation: none; animation: none; } .sub-menu { position: static; width: auto; } } } } } .nav-head { display: block; } } } } .main-footer { .nav { position: relative; .gradient(#0053a0, #0053a0, #0053a0); &:before { content: ''; background: url(../images/main-menu-img.png) top center no-repeat; width: 100%; height: 45px; position: absolute; left: 0; top: 0; } nav > ul { > li { display: inline-block; position: relative; > a { .transition; position: relative; display: block; font-size: 14px; line-height: 15px; padding: 15px 22px; color: #fff; text-align: center; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; } &.active > a, > a:hover { background: #442bc1; background: rgba(255,255,255,.1); } &.active > a { cursor: default; background: @colorSec; } .sub-menu { display: none; position: absolute; z-index: 10; bottom: 100%; left: 0; width: 280px; background: #3921b5; background: rgba(39,12,174,.9); padding: 20px 0; ul { li { a { .transition; font-size: 14px; line-height: 16px; display: block; padding: 7px 20px; color: #fff; text-decoration: none; &.active, &:hover { background: @colorSec; } &.video:before { .icon; content: "\f16a"; font-size: 18px; line-height: 16px; margin-right: 10px; } } } } } &:hover .sub-menu { display: block; -webkit-animation-duration: .5s; animation-duration: .5s; -webkit-animation-fill-mode: both; animation-fill-mode: both; -webkit-animation-name: fadeInUp; animation-name: fadeInUp; } } } @media screen and (max-width: 900px) { display: none; } } .top { padding-top: 15px; } .col { display: inline-block; vertical-align: top; width: 25%; + .col { width: 72%; margin-left: 3%; text-align: right; } } @media screen and (max-width: 850px) { .col { width: 100% !important; margin: 0 0 5px 0 !important; text-align: center !important; + .col > * { margin-bottom: 10px; } } } .soc-links { display: inline-block; vertical-align: middle; white-space: nowrap; margin-bottom: 10px; } .search { vertical-align: top; } .counters { display: inline-block; vertical-align: top; margin-left: 10px; margin-right: 10px; } .copy { font-size: 12px; font-weight: 300; color: #53514e; } .developers { font-size: 12px; font-weight: 300; color: #53514e; margin: 10px 0; a { color: inherit; text-decoration: underline; } } } .section-title { text-align: left; font-weight: bold; font-size: 17px; position: relative; line-height: 20px; padding-bottom: 10px; text-transform: uppercase; margin-bottom: 18px; &:before { content: ''; width: 94px; height: 2px; background: @colorMain; position: absolute; bottom: 0; left: 0; } &.page-title:before { background: @colorSec; } } .main-article .section-title:before { background: @colorSec; } .page { padding-top: 22px; position: relative; } .toTop { .transitionAll; width: 38px; height: 38px; display: block; color: #b5b5b5; border: 1px solid #b5b5b5; background: #fff; font-size: 20px; line-height: 40px; text-decoration: none; overflow: hidden; text-indent: 999px; text-align: center; position: absolute; bottom: 0; right: -60px; opacity: .4; cursor: pointer; z-index: 10; &.hidden { display: none; } @media screen and (max-width: 1360px) { right: 15px; } &:after { .icon; content: "\f077"; text-indent: 0; position: absolute; left: 0; top: 0; width: 100%; height: 100%; } &:hover { opacity: 1; } } .news-panel { margin-bottom: 17px; .col { display: inline-block; vertical-align: top; width: 64%; box-sizing: border-box; + .col { width: auto; padding-left: 30px; width: 36%; } } @media screen and (max-width: 1200px) { .col { width: 100%; display: block; + .col { padding-left: 0; margin-top: 30px; width: 100%; } } } } .main-article-wrapper { float: left; // width: 540px; // height: 340px; width: 720px; height: 450px; @media screen and (max-width: 1200px) { width: 700px; height: 440px; } @media screen and (max-width: 960px) { float: none; width: auto; height: auto; } } .main-article { &:after { content: ''; display: block; clear: both; } .main-article-item.main-article-active { display: block; } .main-article-item { // display: none; float: left; width: 720px; height: 450px; @media screen and (max-width: 1200px) { width: 700px; height: 440px; } @media screen and (max-width: 960px) { width: auto; height: auto; } vertical-align: top; position: relative; a.tag { position: absolute; left: 0; top: 0; background: @colorSec; text-decoration: none; color: #fff; font-size: 13px; line-height: 23px; font-weight: 300; padding: 0px 16px; z-index: 5; } a.article-link { display: block; text-decoration: none; position: relative; color: inherit; height: 100%; } .img { height: 100%; @media screen and (max-width: 960px) { height: auto; } img { display: block; width: 100%; height: 100%; @media screen and (max-width: 960px) { height: auto; } } } .text-panel { position: absolute; left: 0; bottom: 0; width: 100%; padding: 11px 0 16px 0; background: #000; background: rgba(0,0,0,.5); color: #fff; @media screen and (max-width: 500px) { position: static; background: #242424; } header, footer { padding: 0 19px; } .date { font-size: 12px; font-weight: 300; } h2 { font: bold 32px/36px @fontSec; margin-bottom: 3px; letter-spacing: -.01em; } h4 { font-weight: normal; font-size: 15px; line-height: 16px; letter-spacing: .009em; } } } .main-article-carousel-wrapper { position: relative; padding-bottom: 40px; background: #242424; overflow: hidden; .main-article-carousel-container { height: 410px; overflow: hidden; @media screen and (max-width: 1200px) { height: 400px; } @media screen and (max-width: 960px) { height: auto; } .main-article-carousel { width: 100%; li { a { .transition; display: block; position: relative; text-decoration: none; padding: 15px 15px 11px 15px; cursor: pointer; color: #fff; font-size: 14px; line-height: 17px; height: 48px; overflow: hidden; font-weight: 300; border-bottom: 1px solid #383838; @media screen and (max-width: 960px) { height: auto; } .time { color: #949494; font-size: 12px; margin-right: 2px; } h3 { display: inline; } &:before { .transitionAll; content: ''; height: 100%; width: 10px; background: @colorMain; right: -10px; top: 0; position: absolute; } &:hover, &.active { background: #383838; &:before { right: 0; } } &.active { cursor: default !important; &:before { background: @colorSec; } } } } } } .main-article-carousel-controls { position: absolute; right: 0; bottom: 0; border-top: 1px solid #383838; width: 100%; text-align: right; .bx-next, .bx-prev { display: inline-block; width: 40px; height: 40px; font-size: 24px; line-height: 40px; text-align: center; cursor: pointer; text-decoration: none; color: #fff; float: right; &:hover { background: #383838; } &.disabled { color: #383838; cursor: default; &:hover { background: none; } } &:before { .icon; } &.bx-next:before { content: "\f107"; } &.bx-prev:before { content: "\f106"; } &.bx-prev { border-right: 1px solid #383838; } } } } } .articles-short { text-align: left; .carousel-wrap { background: #edf0f9; padding-bottom: 39px; position: relative; overflow: hidden; .carousel-container { height: 301px; overflow: hidden; ul { li { a { display: block; padding: 8px 17px 7px 17px; border-bottom: 1px solid #e3e3e3; text-decoration: none; color: #333333; font-size: 14px; line-height: 17px; min-height: 34px; // overflow: hidden; .time { font-size: 12px; color: @colorSec; margin-right: 2px; } h3 { display: inline; } &:hover h3 { color: @colorMain; } } } } } .carousel-controls { border-top: 1px solid #e3e3e3; position: absolute; bottom: 0; left: 0; width: 100%; text-align: right; .bx-next, .bx-prev { display: inline-block; width: 40px; height: 40px; font-size: 24px; line-height: 40px; text-decoration: none; text-align: center; cursor: pointer; color: #383838; float: right; &:hover { background: #242424; color: #fff; } &.disabled { color: #e3e3e3; cursor: default; &:hover { background: none; } } &:before { .icon; } &.bx-next:before { content: "\f107"; } &.bx-prev:before { content: "\f106"; } &.bx-prev { border-right: 1px solid #e3e3e3; } } } } } .articles-feed { margin-bottom: 13px; .section-title { margin-bottom: 19px; } .articles-container { margin: 0 -1%; li { width: 23%; margin: 0 1% 2%; display: inline-block; vertical-align: top; &.article-open { width: 48%; .article-short { display: none; } } @media screen and (max-width: 900px) { width: 48%; &.article-open { width: 98%; } } @media screen and (max-width: 500px) { width: 98%; &.article-open { width: 98%; } } .article-short { position: relative; // overflow: hidden; // height: 0px; // padding-top: 65%; .article-link { display: block; text-decoration: none; // position: absolute; // left: 0; // top: 0; // z-index: 2; // width: 100%; } .tag { position: absolute; display: inline-block; right: 0; top: 0; background: @colorMain; color: #fff; font-size: 13px; line-height: 23px; font-weight: 300; padding: 0 10px; min-width: 70px; text-align: center; text-decoration: none; z-index: 5; } .img { border-bottom: 4px solid @colorMain; img { display: block; width: 100%; margin: 0 auto; } .noImg { padding-top: 62.5%; } } .text-panel { position: absolute; bottom: 4px; left: 0; width: 94%; padding: 4.5% 3%; letter-spacing: -.01em; background: #000; background: rgba(0,0,0,.4); color: #fff; font-size: 14px; line-height: 1.2; font-weight: 300; min-height: 45px; overflow: hidden; h3 { display: inline; white-space: break-word; } h3, span { position: relative; z-index: 2; } &:before { .transitionAll; content: ''; height: 100%; width: 100%; background: @colorSec; left: 0; top: 100%; position: absolute; opacity: .9; } } a:hover .text-panel:before { top: 0; } } .article-full { position: relative; .date { font-weight: 300; font-size: 12px; line-height: 12px; margin-bottom: 5px; color: #555555; } .article-title { font-family: @fontSec; font-weight: bold; font-size: 32px; line-height: 1em; color: #000; margin-bottom: 25px; } .img { width: 100%; margin-bottom: 20px; img { display: block; width: 100%; } } .btn-back { .transition; float: right; position: relative; width: 38px; height: 38px; border: 1px solid #b5b5b5; text-decoration: none; overflow: hidden; color: #b5b5b5; text-indent: -999px; &:before { .icon; content: "\f00d"; font-size: 20px; line-height: 38px; width: 38px; text-indent: 0; text-align: center; position: absolute; left: 0; top: 0; } &:hover { color: @colorMain; border-color: @colorMain; } } } } } } .bottom-row { .col { width: 75%; display: inline-block; vertical-align: top; + .col { width: 22%; margin-left: 3%; text-align: right; } } @media screen and (max-width: 900px) { .col { width: 100% !important; margin-left: 0 !important; + .col { margin-top: 20px; } } } } .programs { padding-top: 17px; .section-title { &:before { background: @colorSec; } margin-bottom: 9px; } .programs-container { article { width: 30.7%; margin-right: 3.5%; margin-bottom: 3.8%; display: inline-block; vertical-align: top; &:nth-child(3n) { margin-right: 0; } @media screen and (max-width: 700px) { width: 48%; margin-right: 0%; margin-left: 0%; &:nth-child(3n) { margin-right: 0%; } &:nth-child(2n) { margin-left: 4%; } } @media screen and (max-width: 450px) { width: 100%; margin-right: 0%; margin-left: 0%; &:nth-child(3n) { margin-right: 0%; } &:nth-child(2n) { margin-left: 0%; } } a { display: block; text-decoration: none; h3 { .transition; color: #242424; font-weight: 600; font-size: 17px; line-height: 19px; padding-bottom: 3px; border-bottom: 1px solid #e3e3e3; margin-bottom: 10px; } .img { display: inline-block; vertical-align: top; width: 26%; img { display: block; width: 100%; } } .text { .transition; display: inline-block; vertical-align: top; width: 71%; margin-left: 3%; font-size: 12px; line-height: 1.2; color: #333333; } &:hover { h3 { color: @colorSec; } .text { color: @colorMain; } } } } } } .addit { padding-top: 47px; img { display: inline-block; max-width: 100%; } } section.contacts { margin-top: 30px; article { display: inline-block; vertical-align: top; max-width: 100%; width: 31%; margin-right: 3.45%; margin-bottom: 5%; color: #555555; font-size: 13px; font-weight: 600; &:nth-child(3n) { margin-right: 0; } @media screen and (max-width: 900px) { width: 49%; margin-right: 2%; &:nth-child(3n) { margin-right: 2%; } &:nth-child(2n) { margin-right: 0; } } @media screen and (max-width: 500px) { width: 100%; margin-right: 0 !important; } .img { float: left; width: 26%; margin-right: 13px; img { display: block; max-width: 100%; } .noImg { padding-top: 120%; background: #eee; } } .info { overflow: hidden; } .name { color: #000; font-size: 16px; font-weight: 600; font-family: @fontMain; } h5 { color: #555555; font-family: @fontMain; font-size: 13px; font-weight: 600; margin-bottom: 12px; } p { margin-bottom: 5px; } strong { color: #000; font-weight: 600; color: #000; } } } .main-block { main > .content { display: inline-block; vertical-align: top; width: 74.333%; margin-right: 2.56%; + aside { display: inline-block; vertical-align: top; width: 23.1%; text-align: right; img { max-width: 100%; } } @media screen and (max-width: 900px) { width: 100%; margin-right: 0; + aside { width: 100%; text-align: center; } } } } .team { margin-top: 10px; article { margin-bottom: 5%; .col { display: inline-block; vertical-align: top; width: 31%; } .col + .col { display: inline-block; vertical-align: top; width: 65.5%; margin-left: 3.5%; position: relative; } @media screen and (max-width: 600px) { .col { display: block; width: 100%; max-width: 400px; margin: 0 0 5%; } .col + .col { width: 100%; margin-left: 0; } } .img { border: 1px solid @colorMain; img { display: block; width: 100%; height: auto; } .noImg { padding-top: 120%; background: #eee; } } header { background: @colorMain; border-top: 3px solid @colorSec; text-align: center; padding: 15px 10px; color: #fff; h3 { font-size: 16px; line-height: 18px; font-family: @fontMain; margin-bottom: 8px; font-weight: 600; text-transform: uppercase; color: #fff; } h4 { font-size: 14px; line-height: 16px; font-family: @fontMain; margin-bottom: 0; font-weight: 300; color: #fff; opacity: .7; } } .col.sec { padding-bottom: 39px; } .more { position: absolute; bottom: 0; right: 0; width: 100%; margin: 0 !important; -webkit-box-shadow: 0 -10px 10px 0 rgba(255,255,255,1); box-shadow: 0 -10px 10px 0 rgba(255,255,255,1); } } } .programs-carousel-block { text-align: left; margin-bottom: 20px; .programs-carousel-wrap { background: #edf0f9; padding-bottom: 39px; position: relative; height: 380px; overflow: hidden; .carousel-controls { border-top: 1px solid #e3e3e3; position: absolute; bottom: 0; left: 0; width: 100%; text-align: right; .bx-next, .bx-prev { display: inline-block; width: 40px; height: 40px; font-size: 24px; text-decoration: none; line-height: 40px; text-align: center; cursor: pointer; color: #383838; &:hover { background: #242424; color: #fff; } &.disabled { color: #e3e3e3; cursor: default; &:hover { background: none; } } &:before { .icon; } &.bx-next:before { content: "\f107"; } &.bx-prev:before { content: "\f106"; } &.bx-prev { border-right: 1px solid #e3e3e3; } } } ul { li { a { display: block; position: relative; padding: 9px 17px 8px 17px; border-bottom: 1px solid #e3e3e3; text-decoration: none; color: #242424; font-size: 15px; line-height: 18px; font-weight: 600; min-height: 36px; .line { display: table-row; &:before { .icon; content: "\f16a"; font-size: 18px; line-height: 36px; height: 36px; display: table-cell; vertical-align: middle; padding-right: 10px; } .name { display: table-cell; vertical-align: middle; } } &:hover { color: @colorMain; } } } } } } article.programm { .program-title { font-family: @fontSec; font-weight: bold; color: #000; font-size: 32px; font-weight: 36px; position: relative; &:before { .icon; content: "\f16a"; color: @colorSec; font-size: 36px; margin-right: 10px; } } .programs-videos { margin: 0 -1% 20px -1%; .item { display: inline-block; text-align: center; vertical-align: top; width: 31.33%; margin: 0 1% 10px 1%; position: relative; text-decoration: none; color: #fff; cursor: pointer; &.open { width: 64.66%; cursor: default; } &.playing { .preview a { display: none; } } .preview { border: 2px solid @colorMain; position: relative; display: block; position: relative; a { display: block; &:before { .transition; position: absolute; width: 100%; height: 100%; top: 0; left: 0; content: ''; background: rgba(0,0,0,.7); cursor: pointer; } } img, iframe { display: block; width: 100%; } h4 { position: absolute; top: 50%; margin-top: -20px; font-family: @fontMain; font-weight: normal; font-size: 15px; color: #fff; padding: 0 5% 10px; width: 90%; &:before { .icon; .transitionAll; content: "\f16a"; font-size: 36px; line-height: 40px; height: 40px; width: 100%; display: block; text-align: center; cursor: pointer; opacity: .3; } } } &:hover { .preview a:before { background: rgba(0,0,0,.5); } h4:before { opacity: 1; } } } } } .one-article { .container { .article-container { display: inline-block; vertical-align: top; width: 66%; margin-right: 2.5%; .article{ .date { font-weight: 300; font-size: 12px; margin-bottom: 5px; color: #555555; } .article-title { font-family: @fontSec; font-weight: bold; font-size: 32px; line-height: 1em; color: #000; margin-bottom: 15px; } .img { width: 100%; margin-bottom: 20px; img { display: block; max-width: 100%; } } .gallery { a { width: 23%; } } } } > aside { display: inline-block; vertical-align: top; width: 31.5%; text-align: right; } &:after { content: ''; clear: both; width: 100%; height: 1px; display: block; } @media screen and (max-width: 800px) { .article-container { width: 100%; margin: 0 0 25px 0; } > aside { width: 100%; text-align: left; } } } } .articles-nav { background: #edf0f9; text-align: left; margin-bottom: 30px; ul { li { a { .transitionAll; display: block; padding: 8px 17px 7px 17px; border-bottom: 1px solid #e3e3e3; text-decoration: none; color: #333333; font-size: 14px; line-height: 17px; .time { font-size: 12px; color: @colorSec; margin-right: 2px; } h3 { display: inline; } &:hover h3 { color: @colorMain; } &.current { opacity: .5; cursor: default; &:hover h3 { color: #333333; } } } } } .controls { text-align: right; &:after { content: ''; clear: both; width: 100%; height: 1px; display: block; background: #e3e3e3; } a { display: block; float: right; width: 40px; height: 40px; font-size: 24px; line-height: 40px; text-decoration: none; text-align: center; cursor: pointer; color: #383838; overflow: hidden; &:hover { background: #242424; color: #fff; } &.disabled { color: #e3e3e3; cursor: default; &:hover { background: none; } } &:before { .icon; } &.next-page:before { content: "\f107"; } &.prev-page:before { content: "\f106"; } & + a { border-right: 1px solid #e3e3e3; } } } } .sticker-articles, .date-articles { .container { > .col { display: inline-block; vertical-align: top; width: 74.333%; margin-right: 2.56%; + .col { display: inline-block; vertical-align: top; width: 23.1%; margin-right: 0; text-align: right; img { max-width: 100%; } } @media screen and (max-width: 900px) { width: 100%; margin-right: 0; + .col { width: 100%; text-align: center; } } } } .articles-feed { .articles-container { margin: 0 -1%; li { width: 31.333%; margin: 0 1% 2%; display: inline-block; vertical-align: top; &.article-open { width: 64.666%; .article-short { display: none; } } @media screen and (max-width: 1100px) { width: 48%; &.article-open { width: 98%; } } @media screen and (max-width: 500px) { width: 98%; &.article-open { width: 98%; } } } } } .articles-short { margin-bottom: 30px; .carousel-wrap { .carousel-container { height: auto; } } } } #news-calendar { position: absolute; display: none; right: -1px; top: 100%; width: 320px; // max-width: 100%; z-index: 50; @media screen and (max-width: 900px) { width: 300px; left: 50%; margin-left: -150px; } } .news-calendar-btn:hover #news-calendar{ display: block; } .ic__container, .ic__week-head, .ic__week-head td, .ic__days, .ic__days td, .ic__header, .ic__prev, .ic__next, .ic__datepicker { margin: 0; padding: 0; font-family: @fontMain; font-size: 10px; line-height: 13px; cursor: default; text-shadow: none !important; } .ic__container { position: relative; background: #fff; } .ic__container table { width: 100%; border: 0; border-collapse: collapse !important; border-spacing: 0 !important; } .ic__header { position: relative; background: #242424; height: 35px; } .ic__prev, .ic__next { position: absolute; top: 0; width: 7%; height: 35px; background-color: #242424; cursor: pointer; } .ic__prev:hover, .ic__next:hover { background-color: #383838; } .ic__prev div, .ic__next div { position: absolute; width: 0; height: 0; overflow: hidden; border: 5px solid transparent; } .ic__prev { left: 0; } .ic__prev div { top: 13px; left: 50%; margin-left: -7px; border-right-color: #fff; } .ic__next { right: 0; } .ic__next div { top: 13px; right: 50%; margin-right: -7px; border-left-color: #fff; } .ic__month { position: absolute; top: 6px; left: 9%; width: 50%; } .ic__year { position: absolute; top: 6px; right: 9%; width: 30%; } .ic__header select { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; width: 100%; border: 1px solid #000; padding: 2px; font-size: 14px; font-weight: bold; } .ic__header select:focus { outline: none; } .ic__week-head td { width: 14%; vertical-align: top; text-align: center; padding: 10px 0 8px; border: 1px solid #ebebeb; color: #b5b5b5; font-size: 9px; line-height: 1.333; text-transform: uppercase; } .ic__days { margin-top: -1px; } .ic__days td { width: 14%; vertical-align: top; text-align: center; padding: 10px 0 8px; border: 1px solid #ebebeb; color: #757575; font-size: 9px; line-height: 1.333; text-transform: uppercase; } .ic__days .ic__day { background: #fff; cursor: pointer; } .ic__days .ic__day:hover { background: @colorSec; color: #fff; } .ic__days .ic__day-empty { background: #fff url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAMAAAC6sdbXAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAZQTFRF7u7u////KNOqmgAAABlJREFUeNpiYGRkZABCCGIA8UAEI4QACDAAAUoAFV5+ydgAAAAASUVORK5CYII='); } .ic__days .ic__day_state_current { background: #f4f4f4; color: #000; } .ic__days .ic__day_state_selected { background: #f4f4f4; color: #000; } .ic__datepicker { position: absolute; top: -9999px; left: -9999px; width: 250px; padding: 10px; border-radius: 10px; background: #333; z-index: 9999; } .hero { background: url('../images/header-bg.jpg') bottom center no-repeat; background-size: cover; height: 450px; margin-top: -60px; position: relative; margin-bottom: 40px; padding-top: 50px; box-sizing: border-box; &__content { color: #006cc6; } &__title, &__text { max-width: 560px; margin-left: auto; } &__title { font-size: 38px; line-height: 1.2; font-weight: bold; strong { display: block; font-size: 42px; } } &__text { padding: 22px 0px 0px 72px; font-size: 14px; line-height: 18px; color: #888888; } &__slides { position: absolute; right: 50%; bottom: 0; width: 280px; height: 400px; } &__img { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); max-width: 100%; max-height: 100%; } @media screen and (max-width: 1300px) { height: 360px; background-size: auto 120%; background-position: top; &__title { font-size: 30px; strong { font-size: 34px; } } &__text { padding: 20px 0px 0px 110px; } &__slides { right: 60%; width: 230px; height: 300px; } } @media screen and (max-width: 900px) { display: none; } }