/* NAV TOGGLE */
.nav-toggle span,
.nav-toggle.active span {
    background: #fff;
}
/* RWD MENU */
.rwd-menu ul > li:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.rwd-menu ul > li {
    display: block;
    float: left;
    margin-bottom: -1px;
    width: 100%;
    border-bottom: 1px solid #e5e5e5;
    text-align: left;
}
.rwd-menu ul > li > a {
    position: relative;
    padding: 13px 15px 13px;
    color: #000;
    text-align: left;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
}
.rwd-menu .rwd-menu-wrapper > ul > li.active-link > a {
    color: #fff;
    background: #292f40;
    text-decoration: none;
    font-weight: 700;
}
.rwd-menu ul > li > a#home {
    padding-left: 50px;
    background: url(../images/home.png) no-repeat 15px 16px;
}
.rwd-menu ul > li.active-link > a#home {
    background: url(../images/home.png) no-repeat 15px -76px;
}
.rwd-menu ul > li > ul {
    display: none;
}
.rwd-menu ul > li.active > ul {
    display: block;
}
.rwd-menu ul > li.active > a {
    /*font-weight: bold;*/
    color: #ed1c24;
}
.rwd-menu ul > li > a > .glyphicon-bg {
    position: absolute;
    top: 1px;
    right: 0;
    bottom: 0;
    width: 50px;
    background: #e7e7e7;
    color: #000;
    text-align: center;
    transition: 0.4s all;
}
.rwd-menu ul > li > ul > li > a,
.rwd-menu ul > li.active > ul > li > a {
    color: #000;
}
.rwd-menu ul > li > ul > li.active-link > a {
    text-decoration: underline;
}
.rwd-menu ul > li:first-child > a > .glyphicon-bg {
    top: 0;
}
.rwd-menu ul > li > a .glyphicon {
    width: 100%;
    vertical-align: middle;
    text-align: center;
    line-height: 50px;
    transition: 0.4s all;
}
.rwd-menu ul > li.active > a .glyphicon {
    transition: 0.4s all;
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
}
.rwd-menu ul > li.active > ul > li:last-child {
    border-bottom: 0;
}
.rwd-menu ul > li ul {
    border-bottom: 1px solid #000;
}
.rwd-menu ul > li > ul > li {
    margin-bottom: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: #e7e7e7;
    text-align: center;
}
.rwd-menu ul > li > ul > li:last-child {
    margin-bottom: -1px;
}
.rwd-menu ul > li > ul > li > a {
    position: relative;
    padding: 13px 15px 13px 35px;
    color: #000;
    text-align: left;
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
}
.rwd-menu ul > li > ul > li > a > .glyphicon-bg,
.rwd-menu ul > li > ul > li > ul > li {
    background: #b7b7b7;
}
.rwd-menu ul > li > ul > li > ul > li > a {
    padding: 13px 15px 13px 55px;
}
.rwd-menu ul > li > ul > li > a:before {
    position: absolute;
    top: 22px;
    left: 15px;
    width: 5px;
    height: 5px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    background: #000;
    content: '';
}
.rwd-menu ul > li > ul > li.active-link > a:before {
    background: #000;
}
.rwd-menu ul > li > ul > li > ul > li > a:before {
    left: 35px;
}
.rwd-menu ul > li > ul > li > ul {
}
.rwd-menu ul > li > ul > li > ul > li > ul {
}
/*
    Rwd Lang Menu
 */

.rwd-lang {
    background: #fff;
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
    overflow-x: hidden;
    height: 100%;
    width: 100%;
    display: none;
}
.rwd-lang li .lang {
    color: #0d2a54;
}
/*--------------- RESPONSIVE -------------*/

@media screen and (min-width: 1140px) {
    /*.mainpage #content .right-part,*/
    /*.main-slider-slide {*/
    /*max-height: 768px;*/
    /*min-height: 500px;*/
    /*}*/
}
@media screen and (min-width: 1280px) {
    /*.mainpage #content .right-part,*/
    /*.main-slider-slide {*/
    /*max-height: 768px;*/
    /*min-height: 600px;*/
    /*}*/
}
@media screen and (min-width: 1600px) {
    /*.mainpage #content .right-part,*/
    /*.main-slider-slide {*/
    /*max-height: 900px;*/
    /*min-height: 720px;*/
    /*}*/

}
@media screen and (min-width: 1800px) {
    /*.mainpage #content .right-part,*/
    /*.main-slider-slide {*/
    /*max-height: 970px;*/
    /*min-height: 768px;*/
    /*}*/
}
@media screen and (max-width: 1600px) {
    .mainpage section:nth-of-type(2) .left-part,
    .main-slider-slide:after {
        background-size: 20%;
    }

    .main-slider-slide:after {
        background-position: right 3.6% bottom 0%;
    }

    .about-us-box {
        margin-top: 140px;
    }
}
@media screen and (max-width: 1440px) {
    .subpage #content {
        padding-top: 84px;
    }

    .social-list > ul {
        font-size: 0;
        padding: 24px 0 20px;
    }

    .logo-second a img {
        width: 40px;
    }

    .social-list > ul > li {
        padding: 0 2px;
    }

    .main-slider-slide {
        height: 750px;
    }

    .logo a img {
        width: 190px;
    }

    .header-phone {
        float: right;
        padding: 20px 0;
    }

    #main-menu a {
        padding: 28px 5px 24px;
    }

    .logo-second {
        padding: 23px 4.7vw 15px;
    }

    .container {
        padding-left: 30px;
        padding-right: 30px;
    }

    .about-us-box {
        margin-top: 106px;
    }

    .contact-section .left-part {
        padding-top: 106px;
    }

    .about-image {
        margin-top: 0;
    }

    .about-us-box .about-text .text {
        margin-top: 20px;
        font-size: 26px;
        line-height: 34px;
    }

    .about-right {
        height: 506px;
    }

}
@media screen and (max-width: 1280px) {
    .social-list > ul > li > a {
        font-size: 18px;
        line-height: 32px;
        width: 34px;
        height: 34px;
    }

    #main-menu a {
        font-size: 14px;
    }

    #main-menu ul li {
        margin-right: 30px;
    }

    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .mainpage section:nth-of-type(2) .left-part,
    .main-slider-slide:after {
        background-size: 15%;
    }

    .aside-text {
        width: 80vh;
    }

    .about-us-box {
        margin-top: 46px;
    }

    .contact-section .left-part {
        padding-top: 46px;
    }

    .contact-container {
        padding-bottom: 35px;
    }
}
@media screen and (min-width: 1140px) {
    .rwd-lang,
    .rwd-menu,
    .nav-toggle {
        display: none;
        display: none !important;
    }
}
@media screen and (max-width: 1139px) {
    .subpage #content {
        padding-top: 69px;
    }

    header .left-part {
        background: #292f40;
    }

    .left-part {
        width: calc(100% - 90px);
    }

    .logo-second {
        padding: 20px 5vw 12px;
    }

    .phone-texts .caption {
        display: none;
    }

    .phone-texts .number {
        padding: 10px 0;
    }

    .logo {
        float: left;
        padding: 3px 0;
    }

    .header-phone {
        padding: 16px 0;
    }

    .logo-second {
        padding: 12px 4.7vw 8px;
    }

    .logo-second a img {
        width: 40px;
    }

    .header-phone {
        float: right;
        padding: 13px 0;
    }

    .nav-toggle {
        margin: 20px 0 15px 20px;
    }

    .social-list > ul {
        font-size: 0;
        padding: 16px 0;
    }

    .logo a img {
        width: 180px;
    }

    .right-part {
        width: 90px;
    }

    .text table {
        min-width: 1140px;
    }

    .text table tr td {
        padding: 6px 10px;
    }

    .table-container {
        position: relative;
        overflow-x: scroll;
    }

    #main-menu {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .rwd-lang li {
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .rwd-lang .lang {
        display: block;
        padding: 12px 15px;
    }

    .rwd-lang .lang span {
        font-size: 16px;
        line-height: 24px;
    }

    .rwd-lang .langs-menu-icon {
        margin-right: 15px;
    }

    .rwd-lang .langs-menu-short {
        display: none;
    }

    .rwd-lang .langs-menu-long {
        display: inline-block;
        text-transform: uppercase;
    }

    .text table {
        min-width: 1140px;
    }

    .text table tr td {
        padding: 6px 10px;
    }

    .table-container {
        position: relative;
        overflow-x: scroll;
    }

    .rwd-hide {
        display: none;
    }

    .text img {
        max-width: 100%;
        max-width: 100% !important;
    }

    .container {
        width: 100%;
    }

    .body-block {
        position: fixed;
        width: 100%;
    }

    .article-image {
        margin-right: 25px;
        margin-bottom: 15px;
    }

    .main-slider-slide {
        height: 680px;
    }

    .main-slider-slide .title {
        padding-bottom: 15px;
        font-size: 40px;
        line-height: 52px;
    }

    .h2 {
        font-size: 26px;
        line-height: 34px;
    }

    .about-us-box .text {
        margin-top: 20px;
    }

    .contact-section .left-part {
        padding-top: 20px;
    }

    .about-us-box .about-text .text {
        font-size: 24px;
        line-height: 30px;
    }

    .about-us-box {
        margin-top: 25px;
    }

    .contact-right {
        padding-left: 27px;
    }

    .contact-right .controls .col-sm-4,
    .contact-right .controls .col-sm-8 {
        width: 100%;
    }

    .contact-right .controls .col-sm-4 {
        margin-bottom: 8px;
    }

    .contact-container {
        padding-bottom: 20px;
    }

    .article {
        padding: 25px;
    }

    .article-image:before {
        display: none;
    }

    .article-content .h2 {
        margin-top: 0;
        margin-bottom: 20px;
    }

    .article-text {
        line-height: 28px;
    }

}
@media screen and (max-width: 960px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .mainpage section:nth-of-type(2) .left-part,
    .main-slider-slide:after {
        background-image: none;
    }

    .main-slider-slide .title {
        font-size: 36px;
        line-height: 46px;
        padding-bottom: 10px;
    }

    .main-slider-slide .text {
        line-height: 28px;
    }

    .aside-text {
        font-size: 18px;
    }

    .about-right {
        height: 400px;
    }

    .contact-left {
        width: 40%;
    }
}
@media screen and (max-width: 800px) {
    footer .container > * {
        width: 100%;
        float: none;
        overflow: hidden;
        text-align: center;
    }

    .footer-links li {
        width: 100%;
        margin: 0;
    }

    /*.main-slider-slide {*/
        /*height: 500px;*/
    /*}*/

    .aside-text {
        width: 70vh;
    }

    .about-us-box .text {
        font-size: 14px;
        line-height: 26px;
    }

    .h2 {
        font-size: 24px;
        line-height: 32px;
    }

    .about-image:before {
        display: none;
    }

    .contact-text .text {
        font-size: 14px;
        line-height: 26px;
    }
}
@media screen and (min-width: 768px) {
    /*Bootstrap*/
}
@media screen and (max-width: 767px) {
    .main-slider-slide .title {
        font-size: 34px;
        line-height: 44px;
        padding-bottom: 10px;
    }
}

@media screen and (max-width: 706px) {
    .phone-texts .number {
        display: none;
    }

    .nav-toggle {
        margin: 20px 0 15px 15px;
    }

    .phone-icon {
        padding: 7px 7px;
    }

    .contact-left {
        padding-right: 30px;
    }

    .contact-right {
        padding-left: 30px;
    }

}
@media screen and (min-width: 706px) {
    footer .show-hide {
        display: block !important;
    }
}
@media screen and (max-width: 639px) {

    .rwd-menu .social-list {
        display: block;
    }

    .rwd-menu .social-list > ul {
        margin-top: 1px;
        padding: 13px 15px 13px;
        border-bottom: 1px solid #e5e5e5;
        text-align: center;
    }

    .rwd-menu .social-list > ul > li {
        margin-top: 0;
        display: inline-block;
        width: auto;
        float: none;
        border: none;
        margin-right: 3px;
    }

    .rwd-menu .social-list ul > li > a {
        padding: 0;
        text-align: center;
        color: #cab002;
    }

    .rwd-menu .social-list ul > li > a:hover {
        color: #fff;
    }

    .contact-form-footer .btn {
        width: 100%;
        padding: 8px 30px;
    }

    .text img {
        max-width: 100%;
        max-width: 100% !important;
        width: inherit;
        width: inherit !important;
        height: auto;
        height: auto !important;
    }

    .text table,
    .text iframe,
    .text object {
        max-width: 100%;
        max-width: 100% !important;
        width: 100%;
        width: 100% !important;
    }

    .article-image {
        margin-right: 0;
        margin-top: 0;
        width: 100%;
        display: block;
        float: none;
        max-width: none;
        text-align: center;
        line-height: 0;
    }

    .aside-text {
        font-size: 14px;
    }

    .text {
        font-size: 14px;
        line-height: 26px;
    }

    h1 {
    }

    h2 {
    }

    h3 {
    }

    h4 {
    }

    .left-part {
        width: 100%;
    }

    .right-part {
        display: none;
    }

    .main-slider-slide .title {
        font-size: 28px;
        line-height: 38px;
        padding-bottom: 15px;
    }

    .main-slider-slide .text {
        font-size: 14px;
        line-height: 26px;
    }

    .aside-text {
        width: 55vh;
    }

    .main-slider-slide .container {
        padding-top: 40px;
    }

    .social-list > ul > li {
        margin-top: 3px;
    }

    .h2 {
        font-size: 22px;
        line-height: 30px;
    }

    .about-left {
        width: 100%;
    }

    .about-image {
        max-width: 60%;
        margin: 0 auto;
    }

    .about-us-box {
        padding: 23px 23px 23px 23px;
    }

    .about-us-box .about-text .text {
        margin-top: 15px;
        margin-bottom: 15px;
        padding-bottom: 15px;
        position: relative;
    }

    .about-us-box .about-text .text:before {
        position: absolute;
        display: block;
        content: '';
        height: 1px;
        width: 75%;
        bottom: 0;
        left: 50%;
        -webkit-transform: translateX(-50%);
        -moz-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        -o-transform: translateX(-50%);
        transform: translateX(-50%);
        background-color: rgba(150, 150, 150, 0.2);
    }

    .about-right {
        clear: both;
        height: auto;
        padding-right: 0;
    }

    .btn-more {
        float: none;
        margin: 0;
        width: 100%;
    }

    .about-us-box .about-text .text {
        text-align: center;
    }

    .about-us-box .text,
    .about-us-box .h2 {
        user-select: none;
    }

    .about-us-box .h2 {
        margin-top: 0px;
    }

    .about-us-box .about-text .text {
        font-size: 22px;
        line-height: 28px;
    }

    .about-us-box .text {
        margin-top: 10px;
    }

    .about-us-box {
        margin-top: 25px;
    }

    .contact-section .left-part {
        padding-top: 10px;
    }

    .contact-left {
        width: 50%;
    }

    .contact-text {
        padding-bottom: 10px;
    }

    .contact-text .text {
        padding-top: 10px;
    }

    .contact-container {
        padding-bottom: 10px;
    }

    .article {
        padding: 15px;
    }

    .article-content .h2 {
        margin-bottom: 10px;
    }
}
@media screen and (max-width: 560px) {
    /*.right-part {*/
    /*width: 72px;*/
    /*}*/
    /*.left-part {*/
    /*width: calc(100% - 72px);*/
    /*}*/
    .subpage #content {
        padding-top: 59px;
    }

    .logo a img {
        width: 130px;
    }

    .header-phone {
        float: right;
        padding: 6px 0;
    }

    .logo-second {
        padding: 11px 10px 7px 20px;
    }

    .nav-toggle {
        margin: 13px 0 15px 10px;
    }

    .logo-second a img {
        width: 30px;
    }

    .social-list > ul {
        font-size: 0;
        padding: 12px 0;
    }

    h1 {
    }

    h2 {
    }

    h3 {
    }

    h4 {
    }

    .text {
        word-wrap: break-word;
    }

    /*.social-list > ul > li > a {*/
    /*width: 28px;*/
    /*}*/
    .main-slider-slide .title {
        font-size: 24px;
        line-height: 36px;
    }

    .about-image {
        max-width: 75%;
    }

    .h2 {
        font-size: 18px;
        line-height: 26px;
    }

    .contact-left {
        width: 100%;
    }

    .contact-left:before {
        display: none;
    }

    .contact-left,
    .contact-right {
        padding: 0;
    }

    .contact-right {
        width: 100%;
        clear: both;
    }

    .contact-right .form {
        padding-top: 15px;
    }

    .contact-right .row > div {
        line-height: 20px;
    }

    .form .checkboxradio-container label {
        line-height: 20px;
    }

    .before-consent-row {
        margin-top: 15px;
    }
}
@media screen and (max-width: 420px) {
    /*.right-part {*/
    /*width: 64px;*/
    /*}*/
    /*.nav-toggle {*/
    /*margin: 12px 0 10px 10px;*/
    /*}*/
    /*.social-list > ul {*/
    /*font-size: 0;*/
    /*padding: 9px 0;*/
    /*}*/
    /*.left-part {*/
    /*width: calc(100% - 64px);*/
    /*}*/
    /*.social-list > ul > li > a{*/
    /*border: 0;*/
    /*width: 28px;*/
    /*}*/
    h1 {
    }

    h2 {
    }

    h3 {
    }

    h4 {
    }

    .rwd-menu ul > li > a {
        padding: 8px 15px 8px;
        font-size: 14px;
    }

    .main-slider-slide .title {
        font-size: 20px;
        line-height: 32px;
    }

    .main-slider-slide .text {
        font-size: 12px;
        line-height: 24px;
    }

    .about-us-box {
        padding: 15px;
    }

    .about-image {
        max-width: 100%;
    }

    .contact-map .map {
        margin-top: 16px;
    }

    .contact-text {
        padding-bottom: 0;
    }

    .contact-text .text {
        padding-top: 0;
    }
}
@media screen and (max-width: 359px) {
    .phone-icon {
        padding: 7px 4px;
        width: 24px;
    }

    .logo-second {
        padding: 11px 8px 7px 14px;
    }

    .logo-second a img {
        width: 26px;
    }

    .logo a img {
        width: 110px;
        margin-top: 3px;
    }
}
@media screen and (max-width: 319px) {
    body {
        width: 320px;
    }
}