@import url("https://fonts.googleapis.com/css?family=PT+Serif+Caption&subset=cyrillic");
html,
body {
    height: 100%;
}

* {
    font-family: 'PT Serif Caption';
}

a,
i {
    -webkit-transition: .3s ease-out;
    transition: .3s ease-out;
}

p {
    line-height: 1.8;
}

body {
    background-color: #131217;
    background-image: url("../img/bg.jpg");
    position: relative;
}

.clear {
    clear: both;
}

.left {
    float: left;
}

.right {
    float: right;
}

.alignment {
    text-align: center;
}

.text-right {
    text-align: right;
}

.mobile-menu {
    display: none;
}

.navbar-toggle {
    float: left;
    padding: 0;
    margin: 0;
}


/*main header footer*/

.main-header,
.header {
    position: absolute;
    top: 0;
    left: 0;
    padding: 25px 0;
    width: 100%;
}

.main {
    background: url("../img/main-bg.jpg") no-repeat center center;
    background-size: cover;
}

.main .img-wrapper .left div {
    font-size: 52px;
    max-width: 290px;
    text-align: center;
    margin-top: 105px;
    color: #fffdfd;
    line-height: 62px;
    text-transform: uppercase;
}

@media all and (max-width: 1600px) {
    .main .img-wrapper .left div {
        max-width: 330px;
    }
}

@media all and (max-width: 1550px) {
    .main .img-wrapper .left div {
        max-width: 380px;
    }
}

@media all and (max-width: 1350px) {
    .main .img-wrapper .left div {
        max-width: 435px;
    }
}

.main .img-wrapper .left span {
    color: #a4171f;
}

.header {
    width: 100%;
}

.main-footer {
    padding: 25px 0;
    position: absolute;
    bottom: 0;
    width: 100%;
    left: 0;
}

.main-header i,
.main-footer i,
.header i {
    font-size: 17px;
    color: #c0bebe;
    cursor: pointer;
    line-height: 22px;
}

.main-header i:hover,
.main-footer i:hover,
.header i:hover,
.main-header i:focus,
.main-footer i:focus,
.header i:focus,
.main-header i:active,
.main-footer i:active,
.header i:active,
.main-header i:visited,
.main-footer i:visited,
.header i:visited {
    color: #a4171f;
}

.main-header ul,
.main-footer ul,
.header ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-header ul li,
.main-footer ul li,
.header ul li {
    display: inline-block;
    margin-right: 23px;
}

.main-header nav ul li:last-child,
.main-footer nav ul li:last-child,
.header nav ul li:last-child {
    margin-right: 0;
}

.main-header nav ul li a,
.main-footer nav ul li a,
.header nav ul li a {
    font-size: 12px;
    text-transform: uppercase;
    color: #c0bebe;
}

.main-header nav ul li a:hover,
.main-header nav ul li a:focus,
.main-footer nav ul li a:hover,
.main-footer nav ul li a:focus,
.header nav ul li a:hover,
.header nav ul li a:focus {
    color: #a4171f;
    text-decoration: none;
}

.main-footer .col-md-6.left {
    text-align: center;
}

.img-wrapper {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.img-wrapper .left img {
    height: 300px;
    margin-top: 68px;
}

.img-wrapper .right img {
    height: 350px;
    margin-right: 70px;
    margin-bottom: 90px;
}

@media (max-width: 850px) {
    .img-wrapper .left img {
        height: 240px;
        margin-top: 65px;
    }
    .img-wrapper .right img {
        height: 370px;
        margin-right: 20px;
    }
}

@media (max-width: 700px) {
    .img-wrapper .left img {
        height: 180px;
        margin-top: 50px;
    }
    .img-wrapper .right img {
        height: 280px;
        margin-right: 20px;
    }
}

@media (max-width: 520px) {
    .img-wrapper .left img {
        height: 120px;
        margin-top: 35px;
    }
    .img-wrapper .right img {
        height: 190px;
        margin-right: 20px;
    }
}

@media (max-width: 360px) {
    .img-wrapper .left img {
        height: 80px;
        margin-top: 30px;
    }
    .img-wrapper .right img {
        height: 140px;
        margin-right: 20px;
    }
}


/*main*/

.main {
    display: table;
    table-layout: fixed;
    width: 100%;
    min-height: 100vh;
    margin: 0 auto;
}

.main .main-container {
    display: table-cell;
    vertical-align: middle;
    height: 100%;
}

.main .col-md-6.img-center {
    -moz-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
    position: absolute;
    top: 50%;
}

.main h1,
.main h1 span {
    font-size: 68px;
    color: #a4171f;
    text-transform: uppercase;
    text-align: center;
    font-weight: bold;
    letter-spacing: 1px;
}

.main h1 span {
    color: #fffdfd;
}

/*content*/

.content,
.system,
.baer,
.ipman,
.wong,
.gena {
    padding: 100px 0 150px;
}

.system,
.baer,
.ipman,
.gena,
.wong {
    padding-bottom: 50px;
}

.content h1,
.content h2,
.contacts h1,
.news h1,
.line h1,
.system h1 {
    background: url("http://vingtsun.in.ua/img/divider.jpg") no-repeat left top;
    font-size: 50px;
    color: #fffdfd;
    line-height: 1;
    padding: 0 0 40px 25px;
    font-weight: bold;
    margin-bottom: 80px;
}

.line h1,
.system h1 {
    text-transform: uppercase;
}

.content p {
    font-size: 18px;
    color: #9e9c9c;
    margin-bottom: 25px;
    padding: 0 0 0 25px;
}

.content p.first {
    background: url("http://vingtsun.in.ua/img/divider.jpg") no-repeat left top;
}

.content h2 {
    font-size: 40px;
    padding: 0 0 25px 20px;
    margin-bottom: 100px;
}

.content h4 {
    font-size: 18px;
    color: #fff;
    margin-bottom: 25px;
    padding-left: 25px;
    font-weight: bold;
    line-height: 1.2;
}

.content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 100px 25px;
}

.content li {
    font-size: 18px;
    color: #9e9c9c;
}

.photo-block-bg {
    background: #1c1b20;
}

.photo-block-bg.item1 {
    width: 304px;
    height: 427px;
    float: left;
}

.photo-block-bg.item2 {
    width: 475px;
    height: 329px;
    float: right;
    position: relative;
    top: 50px;
}

.photo-block-bg.item3 {
    width: 373px;
    height: 464px;
    position: relative;
    top: 100px;
    left: 50%;
    margin-left: -182px;
}

.photo-block-bg.item1 img {
    position: absolute;
    top: 40px;
    left: 60px;
}

.photo-block-bg.item2 img {
    position: absolute;
    top: 90px;
    right: 50px;
}

.photo-block-bg.item3 img {
    position: absolute;
    top: 60px;
    right: 150px;
}

.photo-block-bg.item2 {
    float: right;
    right: 0;
}

.photo-block-bg.item3 {
    margin-bottom: 300px;
}

.video-block-bg {
    margin-bottom: 100px;
    position: relative;
    left: 50%;
}

.video-block-bg,
.video-block-bg-2 {
    width: 640px;
    height: 360px;
    margin-left: -320px;
    background: #1c1b20;
    position: relative;
    border: 1px solid #2c2c2f;
    border-left-width: 2px;
    border-right-width: 2px;
}

.video-block-bg-2 {
    margin-bottom: 100px;
    position: relative;
    left: 50%;
    margin-left: -380px;
}

.content .video-block-bg {
    margin-top: 100px;
}

.content .video-block-bg-2 {
    margin-top: 200px;
    margin-bottom: 50px;
}

.mini-border,
.mini-border-2 {
    width: 780px;
    height: 280px;
    border: 1px solid #2c2c2f;
    background: transparent;
    position: absolute;
    bottom: 60px;
    left: -100px;
}

.mini-border-2 {
    bottom: -40px;
    left: -45px;
}

.video-frame {
    position: absolute;
    bottom: 40px;
    left: -60px;
}

.video-block-bg-2 .video-frame {
    top: 60px;
    right: -60px;
    bottom: auto;
    left: auto;
}


/*contacts*/
.wrap-contacts {
    display: flex;
    margin-bottom: 100px;
} 

.map-block-bg {
    margin-left: 35px;
    background: #1e1c24;
    width: 425px;
    height: 525px;
    position: relative;
    box-shadow: inset 0px 0px 6px -1px #404040;
}

.map-border {
    width: 390px;
    height: 410px;
    border: 1px solid #878586;
    position: absolute;
    top: 75px;
    left: -55px;
    background: transparent;
}

.map-block-bg iframe {
    position: absolute;
    top: 130px;
    left: 85px;
}


/*contacts*/

.contacts {
    padding: 100px 0 150px;
    background: url("../img/contacts-bg.jpg") no-repeat center center;
}

.contacts .bg {
    padding-top: 80px;
}

.contacts h3 {
    font-size: 28px;
    color: #fcfafa;
    font-weight: bold;
    margin-bottom: 20px;
    position: relative;
}

.contacts .divider {
    background: url("http://vingtsun.in.ua/img/divider.jpg") no-repeat;
    width: 2px;
    height: 87px;
    position: absolute;
    top: 3px;
    left: -25px;
}

.contacts ul {
    margin: 0;
    padding: 0;
    list-style: none;
    width: 100%;
}

.contacts li {
    font-size: 18px;
    color: #9e9c9c;
    margin-bottom: 25px;
}

.contacts li p {
    margin-left: 38px;
}

.contacts i {
    font-size: 17px;
    color: #d7d7d8;
    margin-right: 10px;
    font-weight: normal;
}

.contacts h3 i {
    margin-right: 7px;
}

.contacts-footer.main-footer.inner {
    padding-top: 140px;
    padding-bottom: 0;
}

.contacts-footer.main-footer.inner ul {
    display: inline-block;
}


/*news*/

.news {
    padding: 145px 0 25px;
}

.news-section {
    margin-bottom: 140px;
    position: relative;
}

.news-section:before {
    content: "";
    position: absolute;
    left: -50px;
    background: url(../img/news-bg1.jpg) no-repeat center center;
    background-size: contain !important;
    right: -50px;
    top: -70px;
    bottom: -70px;
    z-index: -1;
}

.news-section:nth-child(odd):before {
    background: url(../img/news-bg1-inverted.jpg) no-repeat center center;
}

.news-section .info {
    width: calc(100% - 500px);
}

.news h1 {
    margin-bottom: 120px;
}

.news h3 {
    font-size: 28px;
    color: #fcfafa;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.3;
}

.news p {
    font-size: 18px;
    color: #9e9c9c;
    margin-bottom: 25px;
    line-height: 28px;
}

.news-photo-bg {
    width: 400px;
    height: 300px;
    background: #1c1b20;
    border: 1px solid #2c2c2f;
    position: relative;
}

.news-photo-bg img {
    position: absolute;
    bottom: 40px;
    right: 55px;
}

.news .info.left h3 {
    padding-left: 10px;
}

.news .info.left p {
    padding-left: 40px;
}

.news .news-img.right {
    margin-top: -10px;
}

.news .news-img.left {
    margin-left: 100px;
}

.news .info.right {
    text-align: right;
}

.news .info.right p {
    padding-right: 20px;
}


/*school*/

body.school {
    background: url("../img/school-bg.jpg") no-repeat top center;
    background-size: cover;
}

.school .bg {
    margin-top: 120px;
}

.school .bg ul {
    padding-left: 10px;
}

.school .content h2 {
    margin-top: 138px;
}

.red-line {
    position: relative;
}

.red-line:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    background: #a4171f;
    width: 2px;
    height: 83px;
}

.school h1 {
    margin-top: 100px;
}

.school .school-galery {
    margin-bottom: 120px;
    margin-top: 10px;
}

.school .school-galery .slick-arrow {
    font-size: 25px;
    color: #fff;
    transition: all 0.3s linear;
    cursor: pointer;
    position: absolute;
    top: 50%;
    right: 0;
    z-index: 11;
}

.school .school-galery .slick-arrow.icon-left-open-big {
    right: auto;
    left: 0;
}

.school .school-galery .slick-arrow:hover {
    color: #a4171f;
}

.school .school-galery .slide {
    outline: none;
}

.school .school-galery .slide>div {
    position: relative;
    display: inline-block;
    vertical-align: top;
}

.school .school-galery .slide>div:nth-child(1) {
    margin-top: 85px;
    margin-left: 120px;
}

.school .school-galery .slide>div:nth-child(1):after {
    top: -85px;
    left: -120px;
}

.school .school-galery .slide>div:nth-child(2) {
    margin-top: 140px;
    margin-left: 60px;
}

.school .school-galery .slide>div:nth-child(2):after {
    top: -85px;
    left: 70px;
}

.school .school-galery .slide>div:nth-child(3) {
    margin-top: 70px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 360px;
}

.school .school-galery .slide>div:nth-child(3):after {
    top: -60px;
    left: 220px;
}

.school .school-galery .slide>div img {
    box-shadow: -8px 2px 10px 0px #131214;
}

.school .school-galery .slide>div:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: #1e1c24;
    z-index: -1;
}

.school .video-block-bg {
    margin-top: 90px;
    width: 635px;
    height: 470px;
    left: 0;
    margin-left: 270px;
    margin-bottom: 0;
}

.school .video-block-bg .mini-border {
    width: 855px;
    height: 375px;
    left: -175px;
    top: 25px;
    border-color: #848284;
}


/*line*/

.line {
    padding: 100px 0 0;
    background: url(../img/line-bg.jpg) no-repeat top center;
    overflow: hidden;
    background-size: auto 106%;
}

.line-section {
    margin-bottom: 200px;
}

.line-section .line-text {
    position: relative;
    max-width: 330px;
    padding-left: 20px;
}

.line-section .line-text:before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    background: #a4171f;
    width: 2px;
    height: 83px;
}

.line-section .line-text.line-text-right {
    padding-left: 0;
    padding-right: 20px;
    text-align: right;
    display: inline-block;
}

.line-section .line-text.line-text-right:before {
    left: auto;
    right: 0;
}

.line-section .line-text p {
    line-height: 24px;
}

.beyer-line .line-text {
    max-width: 370px;
}

.wong-line .line-text {
    max-width: 385px;
}

.line h1 {
    margin-bottom: 225px;
    margin-top: 100px;
}

.line-photo {
    position: relative;
}

.line-photo img {
    box-shadow: -8px 2px 10px 0px #131214;
}

.line-photo:before {
    content: "";
    position: absolute;
    border: 1px solid #848284;
}

.line-photo:after {
    content: "";
    position: absolute;
    border: 1px solid #2a292f;
    background: #1e1c24;
}

.line .alignment {
    max-width: 370px;
    margin-top: 30px;
}


/****************************ip man*/

.ip-man-line {
    margin-bottom: 370px;
}

.ip-man-line .line-photo {
    float: right;
    margin-right: 25px;
}

.ip-man-line .line-photo:before {
    width: 100%;
    height: 100%;
    top: -19px;
    left: -42px;
    z-index: -1;
}

.ip-man-line .line-photo:after {
    width: 370px;
    height: 520px;
    top: -90px;
    left: -105px;
    z-index: -2;
}


/****************************  WONG*/

.wong-line {
    margin-bottom: 385px;
}

.wong-line .line-photo {
    margin-left: 25px;
}

.wong-line .line-photo:before {
    width: 360px;
    height: 410px;
    top: 20px;
    left: 135px;
    z-index: -1;
}

.wong-line .line-photo:after {
    width: 370px;
    height: 520px;
    top: -50px;
    left: 80px;
    z-index: -2;
}

.wong-line .alignment {
    margin-left: auto;
}


/****************************  BAYER*/

.bayer-line {
    margin-bottom: 390px;
}

.bayer-line .line-photo {
    float: right;
    margin-right: 25px;
}

.bayer-line .line-photo:before {
    width: 370px;
    height: 525px;
    top: -45px;
    left: -145px;
    z-index: -1;
}

.bayer-line .line-photo:after {
    width: 370px;
    height: 495px;
    top: -80px;
    left: -85px;
    z-index: -2;
}


/****************************  CHEBAN*/

.cheban-line .line-photo {
    float: left;
    margin-left: 25px;
}

.cheban-line .line-photo:before {
    width: 345px;
    height: 445px;
    top: -25px;
    left: 155px;
    z-index: -1;
}

.cheban-line .line-photo:after {
    width: 385px;
    height: 445px;
    top: 40px;
    left: 62px;
    z-index: -2;
}

.line-photo-bg {
    width: 300px;
    height: 400px;
    background: #1c1b20;
    border: 1px solid #2c2c2f;
    position: relative;
}

.cheban-line .alignment {
    margin-left: auto;
}

.line-border {
    width: 300px;
    height: 400px;
    border: 2px solid #2c2c2f;
    position: absolute;
    top: 40px;
    left: 40px;
}

.line-photo-bg img {
    position: absolute;
    top: 80px;
    left: 80px;
}

.line-photo-bg.right img {
    position: absolute;
    right: 80px;
    left: auto;
}

.line-photo-bg.right .line-border {
    top: 40px;
    left: auto;
    right: 40px;
}

.line h3 {
    font-size: 28px;
    color: #fcfafa;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.3;
}

.line p {
    font-size: 18px;
    color: #9e9c9c;
    margin-bottom: 25px;
}

.line a.readmore {
    font-size: 16px;
    text-transform: uppercase;
    color: #fcfdfd;
    border: 1px solid #fcfdfd;
    display: inline-block;
    padding: 5px 8px;
    text-decoration: none;
}

.line a.readmore:hover {
    text-decoration: none;
    border-color: #a4171f;
    color: #a4171f;
}


/*system*/

.system {
    background: url("../img/system-bg.jpg") no-repeat top center;
}

.system h1 {
    margin-bottom: 100px;
}

.system h3 {
    font-size: 38px;
    max-width: 60%;
    margin-bottom: 55px;
    color: #fcfafa;
    font-weight: bold;
    line-height: 1.3;
    text-align: center;
}

.baer h3 {
    font-size: 28px;
    color: #fcfafa;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.3;
}

.system ul {
    padding: 0;
    list-style: none;
    margin: -10px 0 0 25px;
}

.system li {
    font-size: 18px;
    color: #9e9c9c;
    margin-bottom: 8px;
}

.baer p {
    font-size: 18px;
    color: #9e9c9c;
    margin-bottom: 25px;
    text-indent: 30px;
}

.system p {
    font-size: 18px;
    color: #9e9c9c;
    margin-bottom: 25px;
    text-indent: 30px;
}

.system-right {
    text-align: right;
}

.system-photo-bg {
    box-shadow: 0px 0px 23px 2px #000;
}

.system-photo-bg img {
    box-shadow: -6px 0px 10px -1px #000;
}

.system-photo-bg.left.system2 {
    width: 290px;
    height: 300px;
    margin-top: 40px;
}

.system-photo-bg.left.system2 img {
    left: 60px;
    top: 42px;
}

.system-photo-bg.right.system3 {
    width: 375px;
    height: 345px;
    margin-top: 10px;
    margin-right: 30px;
    margin-left: 0px;
}

.system-photo-bg.right.system3 img {
    left: -65px;
    top: 65px;
}

.system-photo-bg.right.system4 {
    width: 375px;
    height: 345px;
    margin-top: 20px;
    margin-right: 15px;
    margin-left: 0px;
}

.system-photo-bg.right.system4 img {
    left: -60px;
    top: 65px;
}

.system-photo-bg.left,
.baer-photo-bg.left {
    background: #1c1b20;
    border: 1px solid #2c2c2f;
    position: relative;
    width: 244px;
    height: 340px;
    margin: 0 100px 100px 0;
}

.baer-photo-bg.left {
    width: 300px;
    height: 400px;
}

.system-photo-bg.left img,
.baer-photo-bg.left img {
    position: absolute;
    top: 55px;
    left: 50px;
}

.system-photo-bg.right {
    background: #1c1b20;
    border: 1px solid #2c2c2f;
    position: relative;
    width: 244px;
    height: 340px;
    margin: 0 0 100px 100px;
    margin-top: 30px;
    margin-right: 30px;
}

.system-photo-bg.right img {
    position: absolute;
    top: 55px;
    right: 50px;
}

.system .video-block-bg {
    margin-top: 317px;
    width: 635px;
    height: 470px;
    left: 0;
    margin-left: 270px;
}

.system .video-block-bg .mini-border {
    width: 855px;
    height: 375px;
    left: -175px;
    top: 25px;
    border-color: #848284;
}

.system .no-indent {
    text-indent: 0px;
}

.bg {
    background-repeat: no-repeat;
    -moz-box-shadow: inset 0px 0px 50px 50px #131217;
    -moz-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    background-size: cover;
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
    background-position: 70% 73%;
    overflow: visible;
}

.system .text {
    position: relative;
    z-index: 1;
}

.quote {
    margin: 100px 0 150px;
}

.quote-bg {
    background: #1c1b20;
    border: 1px solid #2c2c2f;
    position: relative;
    width: 280px;
    height: 290px;
    float: none;
    display: inline-block;
    box-shadow: -2px 0px 30px 9px #111113;
}

.quote-bg:before {
    content: "";
    position: absolute;
    width: 500px;
    height: 370px;
    border: 1px solid #838182;
    left: 30px;
    top: -45px;
    z-index: -1;
}

.quote-bg:after {
    content: "";
    position: absolute;
    width: 950px;
    height: 200px;
    border: 1px solid #838182;
    left: 0px;
    top: 40px;
    z-index: -1;
}

.quote-bg img {
    position: absolute;
    top: 25px;
    left: 50px;
    box-shadow: -2px 0px 30px 9px #111113;
}

.quote-text {
    width: 545px;
    background: #18171a;
    border: 1px solid #2c2c2f;
    border-left-width: 3px;
    border-right-width: 3px;
    padding: 35px 30px 30px;
    margin-top: 90px;
    height: 200px;
    float: none;
    display: inline-block;
    margin-left: 90px;
    vertical-align: top;
    box-shadow: -2px 0px 30px 9px #111113;
    text-align: right;
}

.quote-text h4 {
    font-size: 20px;
    color: #fff;
    line-height: 1.5;
    margin: 0;
    margin-bottom: 20px;
}

.quote-text i {
    font-size: 22px;
    color: #960f19;
    font-style: normal;
}


/*baer*/

.baer h3,
.ipman h3,
.wong h3,
.gena h3 {
    font-size: 28px;
    color: #fcfafa;
    font-weight: bold;
    margin-bottom: 80px;
    line-height: 1.3;
}

.baer p,
.ipman p,
.wong p,
.gena p {
    font-size: 18px;
    color: #9e9c9c;
    margin-bottom: 25px;
    text-indent: 30px;
}

.baer-photo-bg.left,
.ipman-photo-bg.left,
.wong-photo-bg.left,
.gena-photo-bg.left {
    background: #1c1b20;
    border: 1px solid #2c2c2f;
    position: relative;
    width: 300px;
    height: 400px;
    margin: 0 100px 100px 0;
}

.baer-photo-bg.left img,
.ipman-photo-bg.left img,
.wong-photo-bg.left img,
.gena-photo-bg.left img {
    position: absolute;
    top: 55px;
    left: 50px;
}

.baer-photo-bg.right,
.ipman-photo-bg.right,
.wong-photo-bg.right,
.gena-photo-bg.right {
    background: #1c1b20;
    border: 1px solid #2c2c2f;
    position: relative;
    width: 300px;
    height: 400px;
    margin: 0 0 100px 100px;
}

.baer-photo-bg.right img,
.ipman-photo-bg.right img,
.wong-photo-bg.right img,
.gena-photo-bg.right img {
    position: absolute;
    top: 55px;
    right: 50px;
}

.baer .video-block-bg,
.ipman .video-block-bg {
    margin-top: 175px;
}

.wong-photo-bg.right.long {
    background: #1c1b20;
    border: 1px solid #2c2c2f;
    position: relative;
    width: 363px;
    height: 329px;
    margin: 0 0 100px 100px;
}

.nopage-block-bg {
    width: 100%;
    position: relative;
}

.nopage-text-wrap {
    background: #1c1b20;
    border: 1px solid #2c2c2f;
    position: absolute;
    margin: 0 0 0 -315px;
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    padding: 50px 70px;
    left: 50%;
    width: 100%;
    max-width: 640px;
}

.nopage-block-bg h3 {
    margin: 0;
}

.mobile-mainlogo {
    display: none;
}


/*media*/

@media (max-width: 1199px) {
    .main h1 {
        padding-left: 15px;
    }
    .main-container .right.bg img {
        height: 300px;
        margin-right: 15px;
    }
    .main h1,
    .main h1 span {
        font-size: 48px;
    }
    .contacts li {
        font-size: 16px;
    }
    .contacts .map-block-bg {
        width: 390px;
        height: 515px;
    }
    .contacts .map-block-bg iframe {
        position: absolute;
        top: 125px;
        left: 60px;
    }
    .contacts .map-border {
        width: 370px;
        left: -30px;
    }
    /*system*/
    .system {
        overflow: hidden;
        background-size: 130% 103%;
    }
    .system .container h1 {
        font-size: 26px;
        margin-bottom: 80px;
    }
    .system .container h3 {
        font-size: 30px;
        margin-bottom: 40px;
    }
    .system li {
        font-size: 14px;
    }
    .system p {
        font-size: 17px;
        letter-spacing: -1px;
    }
    .system .system-photo-bg {
        transform: scale(0.9) translate(15px, -10px);
        margin: 0;
    }
    .system-photo-bg.left.system2 {
        transform: scale(0.9) translate(-15px, 0px);
    }
    .system-photo-bg.right.system4 {
        margin-right: -30px;
        transform: scale(0.9) translate(5px, -35px);
    }
    .system-photo-bg.right.system3 {
        margin-right: 0;
    }
    .system .video-block-bg {
        transform: scale(0.9);
        margin: 170px auto 50px;
    }
}

@media (max-width: 992px) {
    .school .video-block-bg .mini-border {
        display: block;
        width: 100%;
        right: -85px;
        left: auto;
        top: 60px;
    }
    .system {
        overflow: hidden;
        background-size: 130% 103%;
    }
    .system .container h1 {
        font-size: 26px;
        margin-bottom: 80px;
    }
    .system .container h3 {
        font-size: 30px;
        margin-bottom: 40px;
    }
    .system li {
        font-size: 14px;
    }
    .system p {
        font-size: 14px;
        letter-spacing: -1px;
    }
    .system .system-photo-bg {
        -webkit-transform: scale(0.7) translate(55px, -35px);
        -ms-transform: scale(0.7) translate(55px, -35px);
        transform: scale(0.7) translate(55px, -35px);
        margin: 0;
    }
    .system-photo-bg.left.system2 {
        -webkit-transform: scale(0.7) translate(-60px, -45px);
        -ms-transform: scale(0.7) translate(-60px, -45px);
        transform: scale(0.7) translate(-60px, -45px);
    }
    .system-photo-bg.right.system4 {
        margin-right: -30px;
        -webkit-transform: scale(0.7) translate(25px, -35px);
        -ms-transform: scale(0.7) translate(25px, -35px);
        transform: scale(0.7) translate(25px, -35px);
    }
    .system-photo-bg.right.system3 {
        margin-right: 0;
    }
    .system .video-block-bg {
        -webkit-transform: scale(0.7);
        -ms-transform: scale(0.7);
        transform: scale(0.7);
        margin: 0;
        margin-bottom: 50px;
    }
    .quote {
        white-space: nowrap;
        margin-bottom: 50px;
        margin-top: 50px;
    }
    .quote-bg {
        transform: scale(0.7);
    }
    .quote-text {
        transform: scale(0.7) translate(-220px, -10px);
        white-space: normal;
    }
    .map-block-bg {
        width: auto;
        height: auto;
    }
    .col-md-5 {
        float: left;
    }
    .col-md-7 {
        float: right;
    }
    .map-block-bg iframe {
        position: relative;
        left: auto;
        top: auto;
        bottom: auto;
        right: auto;
    }
    .line h1 {
        font-size: 36px;
        margin-bottom: 120px;
    }
    .line-section {
        margin-bottom: 70px;
    }
    .line {
        background-size: auto 106%;
    }
    .ip-man-line .line-photo {
        transform: scale(0.7) translate(110px, -20px);
    }
    .wong-line .line-photo {
        transform: scale(0.7) translate(-110px, -20px);
    }
    .bayer-line .line-photo {
        transform: scale(0.7) translate(110px, -20px);
    }
    .cheban-line .line-photo {
        transform: scale(0.7) translate(-110px, -20px);
    }
    /*contacts*/
    div.contacts h1 {
        margin-bottom: 20px;
    }
    div.contacts .bg {
        padding-top: 0;
    }
    div.contacts .divider {
        left: -15px;
    }
    div.contacts .map-block-bg {
        margin: 0 auto;
        width: 300px;
        height: 380px;
    }
    div.contacts .map-block-bg iframe {
        position: relative;
        top: 20px;
        left: 20px;
        width: 100%;
    }
    .contacts li {
        font-size: 12px;
    }
    .main {
        background-size: 125%;
    }
    .main .img-wrapper .left {
        width: 50%;
    }
    .main .img-wrapper .left div {
        max-width: 330px;
        margin-top: 85px;
        font-size: 45px;
    }
    .main .right {
        width: 50%;
        text-align: right;
    }
    .main .right img {
        height: 280px;
        margin-right: 35px;
    }
}

@media (max-width: 950px) {
    .photo-block-bg.item1,
    .photo-block-bg.item2,
    .photo-block-bg.item3 {
        position: inherit;
        width: auto;
        height: auto;
        float: left;
        display: inline-block;
        padding: 15px;
        left: auto;
        top: auto;
        bottom: auto;
        right: auto;
        margin: 10px;
    }
    .video-block-bg .mini-border,
    .video-block-bg-2 .mini-border-2 {
        display: none;
    }
    .video-block-bg,
    .video-block-bg-2 {
        width: auto;
        height: auto;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        margin: 0 auto 20px;
        display: block;
        text-align: center;
        background: transparent;
        border: 0;
    }
    .video-block-bg .video-frame,
    .video-block-bg-2 .video-frame {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        padding: 15px;
        background: #1c1b20;
        border: 1px solid #2c2c2f;
        border-left-width: 2px;
        border-right-width: 2px;
        display: inline-block;
    }
    .clear.none {
        clear: none;
    }
    .photo-block-bg.item1 img,
    .photo-block-bg.item2 img,
    .photo-block-bg.item3 img {
        position: relative;
        left: auto;
        top: auto;
        bottom: auto;
        right: auto;
        width: 200px;
    }
    .wrap-photo {
        margin-bottom: 100px;
    }
}

@media (max-width: 950px) {
    .news-photo-bg {
        width: auto;
        height: auto;
    }
    .news-photo-bg img {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        width: 300px;
    }
    .news-section .info {
        width: calc(100% - 330px);
    }
    .news h3 {
        margin-top: 0;
        font-size: 20px;
    }
    .photo-block-bg.item1 img,
    .photo-block-bg.item2 img,
    .photo-block-bg.item3 img {
        width: 150px;
    }
    .content h2,
    .contacts h3 {
        font-size: 26px;
        margin-bottom: 30px;
    }
    .content h1,
    .content h2,
    .contacts h1,
    .news h1,
    .system h1 {
        font-size: 36px;
        margin-bottom: 120px;
    }
}

@media (max-width: 840px) {
    .line-section {
        margin-bottom: 70px;
    }
    .line-photo-bg {
        width: auto;
        height: auto;
        display: inline-block;
        padding: 15px;
        float: left;
    }
    .line a.readmore {
        margin-bottom: 30px;
    }
    .line-border {
        display: none;
    }
    .line-photo-bg img,
    .line-photo-bg.right img {
        position: relative;
        left: auto;
        top: auto;
        bottom: auto;
        right: auto;
        width: 200px;
    }
}

@media (max-width: 820px) {
    .map-block-bg {
        width: auto;
        height: auto;
    }
    .map-block-bg.bg {
        background: none;
    }
    .map-block-bg iframe {
        position: relative;
        left: auto;
        top: 400px;
        bottom: auto;
        right: auto;
        margin-bottom: 100px;
    }    
    /* 
    .wrap-contacts .col-md-5 {
        position: absolute;
        top: 0;
        width: 100%;
    }
    .wrap-contacts .col-md-7 {
        position: absolute;
        top: 0px;
        left: 0;
        float: left;
        width: 100%;
    } */

    /* .wrap-contacts {
        display: block;
        position: relative;
    } 
    */
}

@media (max-width: 767px) {
    .wrap-contacts {
        margin-bottom: 0;
    } 
    .main-container .right.bg img {
        height: 200px;
        margin-right: 15px;
    }
    .school .video-block-bg .mini-border {
        display: none;
    }
    .map-border {
        display: none;
    }
    .main h1,
    .main h1 span {
        font-size: 35px;
    }
    .line {
        background: none;
    }
    .line h1 {
        margin: 20px 0 50px;
        font-size: 30px;
        padding-bottom: 20px;
    }
    .line .line-section .text-right {
        text-align: left;
    }
    .line-section .line-text.line-text-right {
        padding-right: 0;
        padding-left: 20px;
    }
    .line-section .line-text.line-text-right:before {
        left: 0;
        right: auto;
    }
    .line .line-section .line-photo {
        float: none;
        display: inline-block;
        -webkit-transform: scale(0.5) translate(-35px, -20px);
        -ms-transform: scale(0.5) translate(-35px, -20px);
        transform: scale(0.5) translate(-35px, -20px);
        margin: -30px auto -50px;
    }
    .line .line-section h3 {
        text-align: left;
    }
    .line .line-section .line-text {
        text-align: left;
    }
    .line .line-section.wong-line .line-photo {
        margin: -110px auto -95px;
        -webkit-transform: scale(0.5) translate(-150px, -20px);
        -ms-transform: scale(0.5) translate(-150px, -20px);
        transform: scale(0.5) translate(-150px, -20px);
    }
    .line .line-section.bayer-line .line-photo {
        margin: -75px auto -45px;
    }
    .line .line-section.bayer-line .line-photo {
        margin: -75px auto -45px;
    }
    .line .line-section.cheban-line .line-photo {
        margin: -75px auto -45px;
        -webkit-transform: scale(0.5) translate(-150px, -20px);
        -ms-transform: scale(0.5) translate(-150px, -20px);
        transform: scale(0.5) translate(-150px, -20px);
    }
    .line .line-section .alignment {
        margin-right: auto;
        margin-left: 0;
    }
    /*system*/
    .system {
        background: none;
    }
    .system .container h1 {
        font-size: 30px;
    }
    .system-photo-bg.right.system3 {
        -webkit-transform: scale(0.6) translate(0px, -25px);
        -ms-transform: scale(0.6) translate(0px, -25px);
        transform: scale(0.6) translate(0px, -25px);
        margin-right: auto;
        margin-left: auto;
    }
    .system .container h1 {
        font-size: 20px;
        padding-bottom: 25px;
        margin-bottom: 50px;
    }
    .system .container h3 {
        font-size: 20px;
    }
    .system p {
        text-align: justify;
    }
    .system .system-photo-bg {
        float: none;
        margin: 0 auto;
    }
    .system p br {
        display: none;
    }
    .system .quote {
        white-space: normal;
    }
    .system .quote-bg {
        width: 100%;
    }
    .system .quote-bg {
        width: 100%;
        transform: none;
        background: none;
        border: none;
        box-shadow: none;
        text-align: center;
        height: auto;
    }
    .system .quote-bg:before {
        display: none;
    }
    .system .quote-bg:after {
        display: none;
    }
    .system .quote-bg img {
        width: 280px;
        position: static;
    }
    .system .quote-bg .quote-border {
        display: none;
    }
    .system .quote-text {
        width: 390px;
        float: none;
        margin: 30px auto;
        transform: none;
        max-width: 100%;
        display: block;
        height: auto;
        padding: 15px;
    }
    .system .quote-text h4,
    .system .quote-text i {
        font-size: 14px;
    }
    .system .video-block-bg {
        transform: none;
        width: 100%;
        height: auto;
        margin-bottom: 0;
    }
    .system .video-block-bg .video-frame {
        padding: 5px;
        width: 390px;
        max-width: 100%;
        display: block;
        float: none;
        margin: 0 auto;
    }
    .system-photo-bg.right.system4 {
        margin: 0 auto;
        transform: scale(0.6) translate(0px, -25px);
    }
    .system .video-block-bg .video-frame {
        padding: 5px;
        width: 390px;
        max-width: 100%;
        display: block;
        float: none;
        margin: 0 auto;
    }
    .system .video-block-bg .video-frame iframe {
        width: 100%;
        height: 215px;
    }
    div.contacts {
        padding-bottom: 0;
        background: none;
    }
    div.contacts li {
        font-size: 13px;
    }
    div.contacts .map-block-bg {
        margin-top: 40px;
        max-width: 100%;
        height: auto;
        margin-bottom: 30px;
    }
    div.contacts .map-block-bg iframe {
        left: 0;
        top: 0;
        max-width: 100%;
        height: 430px;
        margin-bottom: 0;
    }
    div.contacts .contacts-footer.main-footer.inner {
        padding-top: 40px;
    }
    div.contacts .contacts-footer.main-footer.inner .col-md-6 {
        width: 100%;
    }
    .main {
        background: none;
    }
    .main .img-wrapper .left {
        width: 100%;
    }
    .main .img-wrapper .left div {
        max-width: 275px;
        margin-top: 0;
        margin-bottom: 0px;
        margin-left: auto;
        margin-right: auto;
        margin-top: 40px;
        font-size: 40px;
    }
    .main .right {
        width: 100%;
        text-align: center;
        margin-top: 65px;
    }
    .main .right img {
        height: 280px;
        height: auto;
        max-width: 280px;
        width: 60%;
        margin-right: 0;
        margin-bottom: 0;
    }
    .main .main-footer {
        position: static;
        margin-top: 30px;
    }
    .video-frame {
        padding: 0 !important;
        border: none!important;
        background: none!important;
    }
    body {
        background-image: url(../img/mobile-bg.jpg);
        background-color: #131217;
        background-position: top center;
        background-size: 100% auto;
    }
}

@media (max-width: 700px) {
    .nopage-text-wrap {
        display: block;
        position: relative;
        top: auto;
        bottom: auto;
        left: auto;
        right: auto;
        margin: 0;
        padding: 10px;
    }
    .gena h3 {
        font-size: 20px;
    }
    .video-block-bg .video-frame iframe,
    .video-block-bg-2 .video-frame iframe {
        width: 100%;
        height: 100%;
    }
    .quote {
        margin: 40px 0;
    }
    .quote-bg {
        width: auto;
        height: auto;
    }
    .quote-bg img {
        position: relative;
        left: auto;
        top: auto;
        bottom: auto;
        right: auto;
        width: 150px;
    }
    .quote-text {
        width: calc(100% - 200px);
        margin: 0;
        float: right;
        padding: 15px;
    }
    .quote-text h4 {
        font-size: 14px;
    }
    .quote-text i {
        font-size: 14px;
    }
}

@media (max-width: 640px) {
    .wrap-contacts {
        display: flex;
        flex-direction: column;
    } 

    .wrap-contacts:nth-child(odd) {
        flex-direction: column-reverse;
    } 

    .photo-block-bg.item1 img,
    .photo-block-bg.item2 img,
    .photo-block-bg.item3 img {
        width: 100px;
    }
    .news-section {
        margin-bottom: 50px;
    }
    .news-photo-bg img {
        width: 200px;
    }
    .news-section .info {
        width: 100%;
        float: left;
    }
    .news-img.right {
        float: left;
    }
}

@media (max-width: 500px) {
    .quote-bg img {
        width: 100px;
    }
    .quote-text {
        width: calc(100% - 130px);
    }
    .wrap-photo {
        text-align: center;
    }
    .photo-block-bg.item1 img,
    .photo-block-bg.item2 img,
    .photo-block-bg.item3 img {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .main-container .right.bg img {
        height: 150px;
        margin-right: 15px;
    }
    .main h1,
    .main h1 span {
        font-size: 30px;
    }
    .content h1,
    .content h2,
    .contacts h1,
    .news h1,
    .line h1,
    .system h1 {
        font-size: 20px;
    }
    .contacts h3 {
        font-size: 20px;
    }
    .line h3 {
        font-size: 20px;
    }
}

@media (max-width: 430px) {
    .contacts li {
        font-size: 14px;
        margin-bottom: 20px;
    }
    .map-block-bg iframe {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 400px) {
    .main-header ul li,
    .main-footer ul li,
    .header ul li {
        margin-right: 5px;
    }
    .main-header nav ul li a,
    .main-footer nav ul li a {
        font-size: 10px;
    }
    .main-footer .col-md-6.text-right.right {
        padding-right: 15px;
    }
    .main-container .right.bg img {
        height: 100px;
        margin-right: 15px;
    }
    .main h1,
    .main h1 span {
        font-size: 26px;
    }
    .content h1,
    .content h2,
    .contacts h1,
    .news h1,
    .line h1,
    .system h1 {
        font-size: 20px;
    }
}

.header nav {
    position: relative;
    background: #131217;
    z-index: 1;
    padding: 0;
    float: left;
    margin-left: 16px;
    margin-right: 16px;
}

.header nav li {
    display: inline-block;
    margin: 2px 10px 0 0;
}

.navbar-collapse {
    width: auto;
    padding: 0;
}

.header i {
    margin: 0 10px;
}

.header .text-right.right {
    text-align: center;
    white-space: nowrap;
    min-width: 270px;
}

.header .text-right.right>a {
    float: right;
}

.main-footer.inner ul {
    text-align: center;
}

.main-footer.inner {
    position: relative;
    bottom: 0;
}

.ipman {
    padding-bottom: 100px;
}

.baer .video-block-bg {
    margin-top: 320px;
}

@media (max-width: 990px) {
    .baer .video-block-bg {
        margin-top: 170px;
    }
}

@media (max-width: 850px) {
    .baer .video-block-bg {
        margin-bottom: 50px;
        margin-top: 80px;
    }
}

.line .main-footer.inner,
.school .main-footer.inner {
    position: relative;
}

.gena .alignment img {
    width: 100%;
    max-width: 580px;
}

.main-footer.inner.gena {
    position: absolute;
}

.lSSlideOuter .lSPager.lSGallery {
    display: none;
}

.lSSlideOuter .lightSlider>*,
.lSSlideOuter .lSGallery li {
    text-align: center;
    cursor: pointer;
}


/*.lSAction .lSPrev.demo-icon.icon-left-open-big,*/


/*.lSAction .lSNext.demo-icon.icon-right-open-big {*/


/*position: absolute;*/


/*top: 50%;*/


/*}*/


/*.lSAction .lSPrev.demo-icon.icon-left-open-big {*/


/*left: 15px;*/


/*}*/


/*.lSAction .lSNext.demo-icon.icon-right-open-big {*/


/*right: 15px;*/


/*}*/

.lSAction>a {
    background: none !important;
}

.lSAction>a i {
    font-size: 25px;
    line-height: 25px;
    color: #fff;
}

.lSAction>a i:hover {
    color: #a4171f;
}

.main-footer.inner .col-md-6.text-right.right ul {
    text-align: right !important;
}

html,
body {
    height: 100%;
}


/*ipman*/

.ipman {
    background: url("../img/ipman-bg.jpg") no-repeat top center;
}

.ipman p {
    text-indent: 0px;
    line-height: 24px;
}

.ipman .bg .ipman-no-float p:first-of-type {
    position: relative;
}

.ipman .bg .ipman-no-float p:first-of-type:before {
    content: "";
    position: absolute;
    left: -15px;
    top: 0;
    height: 83px;
    border-left: 2px solid #a4171f;
}

.ipman .bg .ipman-no-float p {
    padding-left: 0;
}

.ipman .bg .ipman-no-float {
    padding-top: 30px;
    margin-bottom: 65px;
}

.ipman-no-float {
    padding-left: 570px;
}

.ipman .ipman1 {
    width: 395px;
    height: 555px;
    margin-bottom: 50px;
}

.ipman .ipman1:before {
    content: "";
    position: absolute;
    left: 70px;
    top: 75px;
    width: 365px;
    height: 420px;
    border: 1px solid #878587;
    z-index: 0;
}

.ipman .ipman1 img {
    left: 115px;
    top: 95px;
    box-shadow: -8px 2px 10px 0px #131214;
}

.ipman p {
    padding-left: 30px;
}

.ipman h3 {
    margin-top: 125px;
    padding-left: 30px;
}

.ipman .ipman2 {
    width: 345px;
    height: 481px;
    margin-top: -50px;
    margin-right: 95px;
    margin-bottom: 0;
}

.ipman .ipman2 img {
    box-shadow: -8px 2px 10px 0px #131214;
    left: -42px;
    top: -40px;
}

.ipman .bg .ipman-no-float2 {
    margin-bottom: 85px;
}

.ipman .bg .ipman-no-float2 p:first-of-type:before {
    display: none;
}

.ipman .ipman3 {
    width: 380px;
    height: 470px;
    padding-left: 20px;
    margin-top: 50px;
    margin-bottom: 0;
}

.ipman .ipman3 img {
    box-shadow: -8px 2px 10px 0px #131214;
    left: 70px;
    top: 60px;
}

.ipman .ipman4 {
    width: 390px;
    height: 500px;
    margin-top: -240px;
    margin-bottom: 0;
}

.ipman .ipman4 img {
    box-shadow: -8px 2px 10px 0px #131214;
    left: -50px;
    top: 50px;
}

.ipman .container {
    width: 1050px;
}

.wong {
    background: url("../img/wong-bg.jpg") no-repeat top center;
    background-size: 100% 103%;
}

.wong h3 {
    font-size: 36px;
    margin-top: 110px;
    margin-bottom: 140px;
    padding-left: 50px;
}

.wong .bg>p:first-of-type {
    margin-bottom: 70px;
}

.wong .bg>p:first-of-type:before {
    content: "";
    position: absolute;
    left: -15px;
    top: 0;
    height: 83px;
    border-left: 2px solid #a4171f;
}

.wong p {
    text-indent: 0px;
    line-height: 24px;
    padding-left: 25px;
}

.wong .video-block-bg {
    margin-bottom: 0;
}

.wong .wong-photo-bg {
    margin: 0;
}

.wong .wong-photo-bg img {
    left: auto;
    right: auto;
    box-shadow: -8px 2px 10px 0px #131214;
}

.wong .wong-photo-bg.wongp1 {
    width: 360px;
    height: 500px;
    position: relative;
    margin-top: -40px;
}

.wong .wong-photo-bg.wongp1:before {
    content: "";
    position: absolute;
    left: 55px;
    top: 70px;
    width: 350px;
    height: 400px;
    border: 1px solid #878587;
    z-index: 0;
}

.wong .wong-photo-bg.wongp1 img {
    left: -75px;
    top: 50px;
}

.wong .wong-photo-bg.wongp2 {
    width: 345px;
    height: 440px;
    margin-top: 105px;
}

.wong .wong-photo-bg.wongp2 img {
    left: 115px;
    top: 50px;
}

.wong .wong-photo-bg.wongp3 {
    width: 455px;
    height: 290px;
    margin-top: -45px;
}

.wong .wong-photo-bg.wongp3 img {
    left: -70px;
    top: 50px;
}

.wong .wong-photo-bg.wongp4 {
    width: 340px;
    height: 540px;
    margin-top: 140px;
}

.wong .wong-photo-bg.wongp4 img {
    left: 110px;
    top: 35px;
}

.wong .wong-float-right {
    padding-left: 510px;
    padding-top: 80px;
    margin-bottom: 155px;
}

.wong .wong-float-right2 {
    padding-left: 510px;
    margin-top: 150px;
}

.wong .video-block-bg.video1 {
    margin-top: 370px;
    margin-bottom: 430px;
}

.wong .video-block-bg.video2 {
    margin-bottom: 100px;
}

.baer {
    background: url("../img/baer-bg.jpg") no-repeat top center;
    background-size: 100% 109%;
}

.baer h3 {
    font-size: 36px;
    margin-top: 110px;
    margin-bottom: 140px;
    padding-left: 50px;
}

.baer p {
    text-indent: 0px;
    line-height: 24px;
    padding-left: 25px;
}

.baer .baer-no-float {
    padding-left: 540px;
    margin-bottom: 120px;
}

.baer .baer-no-float p {
    padding-left: 0;
}

.baer .baer-no-float p:first-of-type {
    position: relative;
}

.baer .baer-no-float p:first-of-type:before {
    content: "";
    position: absolute;
    left: -15px;
    top: 0;
    height: 83px;
    border-left: 2px solid #a4171f;
}

.baer .video-block-bg {
    margin-bottom: 0;
}

.baer .baer-photo-bg {
    margin: 0;
}

.baer .baer-photo-bg img {
    left: auto;
    right: auto;
    box-shadow: -8px 2px 10px 0px #131214;
}

.baer .baer-photo-bg.baerp1 {
    width: 370px;
    height: 495px;
    position: relative;
    margin-top: -30px;
    margin-left: 55px;
}

.baer .baer-photo-bg.baerp1:before {
    content: "";
    position: absolute;
    left: -60px;
    top: 35px;
    width: 365px;
    height: 525px;
    border: 1px solid #878587;
    z-index: 0;
}

.baer .baer-photo-bg.baerp1 img {
    left: 85px;
    top: 80px;
}

.baer .baer-photo-bg.baerp2 {
    width: 440px;
    height: 315px;
    margin-top: 100px;
}

.baer .baer-photo-bg.baerp2 img {
    left: -65px;
    top: -35px;
}

.baer .baer-photo-bg.baerp3 {
    width: 370px;
    height: 510px;
    margin-top: 95px;
    margin-left: 20px;
}

.baer .baer-photo-bg.baerp3 img {
    left: 90px;
    top: 55px;
}

.baer .baer-photo-bg.baerp4 {
    width: 500px;
    height: 320px;
    margin-top: 0px;
}

.baer .baer-photo-bg.baerp4 img {
    left: -100px;
    top: 60px;
}

.baer .baer-float-right {
    padding-left: 530px;
    padding-top: 50px;
    margin-bottom: 85px;
}

.baer .video-block-bg.video1 {
    margin-top: 370px;
    margin-bottom: 430px;
}

.baer .video-block-bg.video2 {
    margin-bottom: 100px;
}

@media all and (max-width: 1500px) {
    body.school {
        background-size: initial;
    }
}

@media all and (max-width: 1199px) and (min-width: 992px) {
    .school .content h4 {
        font-size: 18px;
    }
    .ipman .container {
        width: 970px;
    }
    .ipman {
        background-size: 120% 89%;
        background-position: 40% 0%;
    }
    .ipman .ipman-photo-bg {
        transform: scale(0.7) translate(110px, -20px);
    }
    .ipman .ipman1 {
        margin-left: -46px;
        margin-top: 30px;
        margin-bottom: -10px;
    }
    .ipman-no-float {
        padding-left: 550px;
    }
    .bg .ipman-no-float2 {
        padding-left: 500px;
    }
    .ipman p {
        font-size: 15px;
        line-height: 1.5;
        margin-bottom: 15px;
    }
    .ipman .ipman2 {
        margin-right: 168px;
        margin-left: -210px;
    }
    .ipman .ipman3 {
        margin-left: -65px;
    }
    .ipman .ipman4 {
        margin-right: 90px;
        margin-left: -100px;
    }
    .wong {
        background-size: 120% 102%;
    }
    .wong .wong-photo-bg {
        transform: scale(0.8) translate(60px, -20px);
    }
    .wong .wong-photo-bg.wongp1 {
        margin-left: -50px;
        margin-right: 50px;
    }
    .wong .wong-photo-bg.wongp2 {
        margin-left: -54px;
        margin-top: 80px;
    }
    .wong .wong-photo-bg.wongp4 {
        margin-left: -55px;
    }
    .wong .wong-float-right {
        padding-left: 465px;
    }
    .wong .wong-float-right2 {
        padding-left: 445px;
    }
    .wong p {
        font-size: 15px;
        line-height: 1.5;
        margin-bottom: 15px;
    }
    .baer {
        background-size: 120% 107%;
    }
    .baer .baer-photo-bg {
        transform: scale(0.8) translate(60px, -20px);
    }
    .baer .baer-photo-bg.baerp1 {
        margin-left: 25px;
    }
    .baer .baer-photo-bg.baerp2 {
        margin-left: -85px;
        margin-top: 110px;
        margin-right: 50px;
    }
    .baer .baer-photo-bg.baerp3 {
        margin-left: -55px;
        margin-top: 80px;
    }
    .baer .baer-no-float {
        padding-left: 465px;
        margin-bottom: 80px;
    }
    .baer .baer-float-right {
        padding-left: 465px;
        margin-bottom: 70px;
    }
    .baer .baer-float-right2 {
        padding-left: 445px;
    }
    .baer p {
        font-size: 15px;
        line-height: 1.5;
        margin-bottom: 15px;
    }
    .news {
        overflow: hidden;
    }
    .news .news-section:nth-child(even) .news-img {
        margin-right: -40px;
        margin-left: -40px;
    }
    .news .news-section:nth-child(odd) .news-img {
        margin-right: -40px;
        margin-left: 30px;
    }
    .news .info {
        width: calc(100% - 440px);
    }
    .news .info h3 {
        font-size: 23px;
    }
    .news p {
        font-size: 15px;
    }
    .news .news-img {
        transform: scale(0.7);
    }
}

@media all and (max-width: 992px) {
    .ipman {
        background-size: 135% 89%;
        background-position: 45% 0%;
    }
    .ipman .container {
        width: 750px;
    }
    .ipman .ipman-photo-bg {
        transform: scale(0.7) translate(110px, -20px);
    }
    .ipman .ipman1 {
        margin-left: -150px;
        margin-top: 20px;
        margin-bottom: -50px;
    }
    .ipman-no-float {
        padding-left: 360px;
        margin-bottom: 65px;
    }
    .ipman .bg .ipman-no-float2 {
        padding-left: 400px;
        margin-bottom: 60px;
    }
    .ipman p {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 15px;
        letter-spacing: -0.3px;
    }
    .ipman {
        overflow: hidden;
    }
    .ipman .ipman2 {
        margin-left: -350px;
        margin-right: 40px;
    }
    .ipman .ipman3 {
        margin-left: -125px;
        margin-top: 10px;
        margin-bottom: -30px;
    }
    .ipman .ipman4 {
        margin-right: -45px;
        margin-left: -100px;
    }
    .ipman .video-block-bg {
        border: none;
        background: none;
        margin-bottom: 0;
    }
    .ipman .video-block-bg .video-frame {
        left: 0;
    }
    b.school {
        background-size: 98%;
    }
    b.school li {
        font-size: 15px;
    }
    body.school {
        background-size: 100% auto;
    }
    body.school h1 {
        font-size: 35px;
        margin-top: 30px;
    }
    body.school h4 {
        font-size: 16px;
    }
    body.school p {
        font-size: 15px;
    }
    body.school li {
        font-size: 15px;
    }
    b.school h1 {
        font-size: 35px;
        margin-top: 30px;
    }
    b.school h4 {
        font-size: 16px;
    }
    b.school p {
        font-size: 15px;
    }
    .wong {
        background-size: 116% 100%;
    }
    .wong h3 {
        margin-top: 40px;
        margin-bottom: 120px;
    }
    .wong p {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 15px;
        letter-spacing: -0.3px;
    }
    .wong .bg>p:first-of-type {
        margin-bottom: 40px;
    }
    .wong .wong-float-right {
        padding-left: 315px;
        padding-top: 50px;
        margin-bottom: 115px;
    }
    .wong .wong-float-right2 {
        padding-left: 315px;
        margin-top: 115px;
        margin-bottom: 115px;
    }
    .wong .wong-photo-bg {
        transform: scale(0.7) translate(120px, -20px);
    }
    .wong .wong-photo-bg.wongp1 {
        margin-left: -50px;
        margin-right: 25px;
    }
    .wong .wong-photo-bg.wongp2 {
        margin-left: -135px;
        margin-top: 15px;
    }
    .wong .wong-photo-bg.wongp3 {
        margin-left: -60px;
    }
    .wong .wong-photo-bg.wongp4 {
        margin-left: -150px;
        margin-top: 95px;
    }
    .wong .video-block-bg.video1 {
        margin-top: 200px;
        margin-bottom: 200px;
    }
    .baer {
        background-size: 116% 106%;
    }
    .baer h3 {
        margin-top: 40px;
        margin-bottom: 120px;
    }
    .baer p {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 15px;
        letter-spacing: -0.3px;
    }
    .baer .bg>p:first-of-type {
        margin-bottom: 40px;
    }
    .baer .baer-no-float {
        padding-left: 365px;
        padding-top: 50px;
        margin-bottom: 45px;
    }
    .baer .baer-float-right {
        padding-left: 345px;
        padding-top: 40px;
        margin-bottom: 45px;
    }
    .baer .baer-photo-bg {
        transform: scale(0.7) translate(120px, -20px);
    }
    .baer .baer-photo-bg.baerp1 {
        margin-left: -115px;
        margin-right: 25px;
    }
    .baer .baer-photo-bg.baerp2 {
        margin-left: -135px;
        margin-top: 65px;
    }
    .baer .baer-photo-bg.baerp3 {
        margin-left: -155px;
        margin-top: 25px;
    }
    .baer .baer-photo-bg.baerp4 {
        margin-left: -150px;
        margin-top: 5px;
    }
    .baer .video-block-bg {
        margin-top: 250px;
    }
    body.school {
        background: #131217;
    }
    body.school .school-galery {
        margin-bottom: 30px;
    }
    body.school .school-galery .slick-slide {
        text-align: center;
        outline: none;
    }
    body.school .school-galery .slick-slide img {
        display: inline-block;
        max-width: 90%;
    }
    body.school .video-block-bg {
        margin: 90px auto 0;
        transform: scale(0.8);
    }
    body.school .content {
        padding-bottom: 40px;
    }
    .news {
        overflow: hidden;
    }
    .news .news-section {
        margin-bottom: 60px;
    }
    .news .news-section .news-photo-bg {
        background: none;
        border: none;
    }
    .news .news-section .news-photo-bg img {
        position: static;
        max-width: 400px;
    }
    .news .news-section:nth-child(even) .news-img {
        margin-right: -80px;
        margin-left: -100px;
    }
    .news .news-section:nth-child(odd) .news-img {
        margin-right: -100px;
        margin-left: -80px;
    }
    .news .info {
        width: calc(100% - 255px);
    }
    .news .info h3 {
        font-size: 21px;
    }
    .news p {
        font-size: 14px;
    }
    .news .news-img {
        transform: scale(0.6);
    }
}

@media all and (max-width: 767px) {
    .ipman {
        background: none;
        overflow: visible;
    }
    .ipman h3 {
        margin-top: 0;
    }
    .ipman .container {
        width: 100%;
        box-sizing: border-box;
        padding: 0 18px;
    }
    .ipman p {
        padding-left: 0;
    }
    .ipman p br {
        display: none;
    }
    .ipman .ipman-photo-bg {
        float: none;
        display: block;
        margin: 30px auto !important;
        background: none;
        border: none;
        max-width: 100%;
        transform: none;
        height: auto;
        text-align: center;
    }
    .ipman .ipman-photo-bg:before {
        display: none;
    }
    .ipman .ipman-photo-bg img {
        position: static;
        margin: 0 !important;
        max-width: 100%;
    }
    .ipman .ipman-no-float {
        padding: 0 !important;
        margin-bottom: 0 !important;
    }
    .ipman .video-block-bg {
        margin-top: 40px;
    }
    .ipman .bg .ipman-no-float p:first-of-type:before {
        display: none;
    }
    .wong {
        background: none;
        overflow: visible;
    }
    .wong h3 {
        margin-top: 0;
        margin-bottom: 40px;
        padding-left: 0;
    }
    .wong .container {
        width: 100%;
        box-sizing: border-box;
        padding: 0 18px;
    }
    .wong .bg>p:first-of-type:before {
        display: none;
    }
    .wong p {
        padding-left: 0;
    }
    .wong p br {
        display: none;
    }
    .wong .wong-float-right {
        padding: 0;
        margin-bottom: 30px;
    }
    .wong .wong-photo-bg {
        float: none;
        display: block;
        margin: 30px auto !important;
        background: none;
        border: none;
        max-width: 100%;
        transform: none;
        height: auto !important;
        text-align: center;
    }
    .wong .wong-photo-bg:before {
        display: none;
    }
    .wong .wong-photo-bg img {
        position: static;
        margin: 0 !important;
        max-width: 100%;
    }
    .wong .wong-float-right2 {
        padding: 0;
        margin: 50px 0;
    }
    .wong .wong-no-float {
        padding: 0 !important;
        margin-bottom: 0 !important;
    }
    .wong .video-block-bg {
        margin: 30px auto !important;
    }
    .baer {
        background: none;
        overflow: visible;
    }
    .baer h3 {
        margin-top: 0;
        margin-bottom: 40px;
        padding-left: 0;
    }
    .baer .container {
        width: 100%;
        box-sizing: border-box;
        padding: 0 18px;
    }
    .baer .bg>p:first-of-type:before {
        display: none;
    }
    .baer p {
        padding-left: 0;
    }
    .baer p br {
        display: none;
    }
    .baer .baer-no-float p:first-of-type:before {
        display: none;
    }
    .baer .baer-float-right {
        padding: 0;
        margin-bottom: 30px;
    }
    .baer .baer-photo-bg {
        float: none;
        display: block;
        margin: 30px auto !important;
        background: none;
        border: none;
        max-width: 100%;
        transform: none;
        height: auto !important;
        text-align: center;
    }
    .baer .baer-photo-bg:before {
        display: none;
    }
    .baer .baer-photo-bg img {
        position: static;
        margin: 0 !important;
        max-width: 100%;
    }
    .baer .baer-float-right2 {
        padding: 0;
        margin: 50px 0;
    }
    .baer .baer-no-float {
        padding: 0 !important;
        margin-bottom: 0 !important;
    }
    .baer .video-block-bg {
        margin: 30px auto !important;
    }
    .header .icon-home {
        display: none;
    }
    .mobile-menu {
        position: fixed;
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        background: rgba(0, 0, 0, 0.9);
    }
    .mobile-menu .mobile-menu-inner {
        height: 100%;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        justify-content: center;
        overflow: auto;
    }
    .mobile-menu .close-mob-nav {
        position: absolute;
        right: 10px;
        top: 10px;
        padding: 10px;
    }
    .mobile-menu ul {
        padding-left: 0;
        margin-bottom: 40px;
    }
    .mobile-menu ul li {
        list-style: none;
        margin: 0px 2px 20px 0;
        text-align: center;
    }
    .mobile-menu ul li a {
        font-size: 16px;
        text-transform: uppercase;
        color: #c0bebe;
    }
    .mobile-menu ul li a:hover {
        color: #a4171f;
        text-decoration: none;
    }
    .mobile-menu .socials {
        width: 100%;
    }
    .mobile-menu .socials ul {
        text-align: center;
    }
    .mobile-menu .socials ul li {
        display: inline-block;
        margin: 0 5px;
    }
    .mobile-menu .socials ul li a {
        font-size: 18px;
    }
    body.school h1 {
        font-size: 30px;
        margin-top: 30px;
        margin-bottom: 20px;
        background: none;
        padding: 0;
        text-align: center;
    }
    body.school .bg {
        margin-top: 50px;
    }
    body.school .bg ul {
        margin-bottom: 60px;
    }
    body.school h4 {
        margin-bottom: 35px;
    }
    body.school .content {
        padding-bottom: 0;
    }
    body.school .content h2 {
        margin-top: 70px;
        margin-bottom: 70px;
    }
    body.school .school-galery {
        padding: 0 30px;
    }
    body.school .video-block-bg {
        margin-left: 0;
        width: 100%;
        height: auto;
        margin-top: 70px;
        margin-bottom: 40px;
        transform: none;
    }
    body.school .video-block-bg .video-frame {
        padding: 0;
    }
    .news {
        overflow: hidden;
    }
    .news h1 {
        margin-bottom: 60px;
        margin-top: 0;
    }
    .news .news-section {
        margin-bottom: 60px;
        background: none;
    }
    .news .news-section:before {
        display: none;
    }
    .news .info {
        width: 100%;
    }
    .news .info.right {
        text-align: left;
        float: none;
    }
    .news .info.right p {
        padding-left: 20px;
        padding-right: 0;
    }
    .news .info h3 {
        font-size: 21px;
    }
    .news p {
        font-size: 14px;
    }
    .news p br {
        display: none;
    }
    .news .news-img {
        transform: none;
        margin: 0 !important;
        float: none;
    }
    .desktop-mainlogo {
        display: none;
    }
    .mobile-mainlogo {
        display: block;
    }
    .main-footer .text-right {
        text-align: center;
        margin-top: 30px;
    }
    .main-header .left {
        text-align: center;
        float: none;
    }
}
