/* Clearfix -------------------------------- */
.clearfix:before,
.clearfix:after {
    content: "";
    display: table;
}

.clearfix:after {
    clear: both;
}

/* For IE 6/7 (trigger hasLayout) */
.clearfix {
    zoom: 1;
}

@font-face {
    font-family: 'Proxima Nova Lt';
    src: url('/fonts/ProximaNova-Light.eot');
    src: local('Proxima Nova Light'), local('ProximaNova-Light'),
    url('/fonts/ProximaNova-Light.eot?#iefix') format('embedded-opentype'),
    url('/fonts/ProximaNova-Light.woff') format('woff'),
    url('/fonts/ProximaNova-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Proxima Nova Rg';
    src: url('/fonts/ProximaNova-Regular.eot');
    src: local('Proxima Nova Regular'), local('ProximaNova-Regular'),
    url('/fonts/ProximaNova-Regular.eot?#iefix') format('embedded-opentype'),
    url('/fonts/ProximaNova-Regular.woff') format('woff'),
    url('/fonts/ProximaNova-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Proxima Nova Th';
    src: url('/fonts/ProximaNovaT-Thin.eot');
    src: local('Proxima Nova Thin'), local('ProximaNovaT-Thin'),
    url('/fonts/ProximaNovaT-Thin.eot?#iefix') format('embedded-opentype'),
    url('/fonts/ProximaNovaT-Thin.woff') format('woff'),
    url('/fonts/ProximaNovaT-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'Proxima Nova RgB';
    src: url('/fonts/ProximaNova-Bold.eot');
    src: local('Proxima Nova Bold'), local('ProximaNova-Bold'),
    url('/fonts/ProximaNova-Bold.eot?#iefix') format('embedded-opentype'),
    url('/fonts/ProximaNova-Bold.woff') format('woff'),
    url('/fonts/ProximaNova-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

html,
body {
    font-family: 'Proxima Nova Lt', sans-serif;
    font-size: 18px;
    color: #fff;
}

a {
    text-decoration: none;
    padding: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
    color: #a1abb8;
    transition: color 0.3s;
    outline: none;
}

.lang {
    width: 35px;
    height: 35px;
    /*flex: 4;*/
    align-self: center;
    margin-right: auto;
}

.navbar a:hover,
.navbar a:focus {
    color: #fff;
}

/* Flashing image hover */
a.image-link {
    background: #fff;
}

.image-link img {
    display: block;
    width: 100%;
}

a.image-link:hover img {
    opacity: 1;
    /*-webkit-animation: flash 1.5s;*/
    /*animation: flash 1.5s;*/
}

@-webkit-keyframes flash {
    0% {
        opacity: .3;
    }
    100% {
        opacity: 1;
    }
}

@keyframes flash {
    0% {
        opacity: .3;
    }
    100% {
        opacity: 1;
    }
}

/*------------------------- preloader -------------------------*/
@-webkit-keyframes scale-2 {
    0% {
        -webkit-transform: scale(0);
        transform: scale(0);
        opacity: 0;
    }
    50% {
        -webkit-transform: scale(0.7);
        transform: scale(0.7);
        opacity: 1;
    }
    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 0;
    }
}

@keyframes scale-2 {
    0% {
        -webkit-transform: scale(0);
        transform: scale(0);
        opacity: 0;
    }
    50% {
        -webkit-transform: scale(0.7);
        transform: scale(0.7);
        opacity: 1;
    }
    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 0;
    }
}

#preloader_wrap {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: #16191d;
}

#preloader {
    width: 100px;
    height: 100px;
    position: absolute;
    top: calc(50% - 50px);
    left: calc(50% - 50px);
}

#preloader:before, #preloader:after {
    content: "";
    display: block;
    position: absolute;
    border-width: 4px;
    border-style: solid;
    border-radius: 50%;
}

#preloader:before {
    width: 100px;
    height: 100px;
    border-color: #fb8400;
    top: 0;
    left: 0;
    -webkit-animation: scale-2 1.8s linear 0s infinite;
    animation: scale-2 1.8s linear 0s infinite;
    box-shadow: 0px 0px 51px 0px rgba(251, 132, 0, 0.5);
}

#preloader:after {
    width: 100px;
    height: 100px;
    border-color: #fb8400;
    top: 0;
    left: 0;
    opacity: 0;
    -webkit-animation: scale-2 1.8s linear 0.5s infinite;
    animation: scale-2 1.8s linear 0.5s infinite;
    box-shadow: 0px 0px 51px 0px rgba(251, 132, 0, 0.5);
}

h3 {
    font-weight: normal;
}

ul {
    list-style: none;
}

.btn {
    display: block;
    font-family: 'Proxima Nova RgB', sans-serif;
    text-transform: uppercase;
    font-size: 16px;
    color: #000;
    background: -moz-linear-gradient(0deg, rgb(255, 132, 0) 0%, rgb(255, 168, 0) 100%);
    background: -webkit-linear-gradient(0deg, rgb(255, 132, 0) 0%, rgb(255, 168, 0) 100%);
    background: -ms-linear-gradient(0deg, rgb(255, 132, 0) 0%, rgb(255, 168, 0) 100%);
    box-shadow: 0px 4px 17px 0px rgba(255, 165, 0, 0.61);
    padding: 15px 30px;
    text-align: center;
    border-radius: 50px;
    margin: auto;
    transition: box-shadow 0.3s;
    outline: none;
}

.btn:hover,
.btn:focus {
    background: -moz-linear-gradient(90deg, rgb(255, 132, 0) 0%, rgb(255, 168, 0) 100%);
    background: -webkit-linear-gradient(90deg, rgb(255, 132, 0) 0%, rgb(255, 168, 0) 100%);
    background: -ms-linear-gradient(90deg, rgb(255, 132, 0) 0%, rgb(255, 168, 0) 100%);
    box-shadow: 0px 17px 17px 0px rgba(255, 165, 0, 0.2);
    color: #000;
}

/*Modal*/
.modal {
    display: none;
    position: fixed;
    z-index: 3;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    /*overflow: hidden;*/
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #fff;
    background-image: url(/img/bg_pattern_7.png);
    margin: 15% auto;
    padding: 20px;
    padding-bottom: 50px;
    width: 80%;
    max-width: 500px;
    text-align: center;
    position: relative;
}

.modal-content h3 {
    font-size: 30px;
    font-weight: bold;
    padding: 20px 0;
}

.modal-content form input {
    padding: 10px 16px;
}

.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 0;
    right: 0;
    padding: 10px 20px;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}


.social li,
nav li,
.inst-images li {
    display: inline-block;
}

/*Header*/
.header {
    position: fixed;
    left: 0;
    right: 0;
    padding: 25px 0;
    z-index: 2;
    background: none;
    transition: all .3s;
}

.header.scrolled {
    padding: 5px 0;
    background: #0c1015;
}

.header.scrolled .mail {
    display: none;
}

.logo img {
    max-height: 45px;
    height: 100%;
    transition: all .3s;
}

.header.scrolled .logo img {
    max-height: 30px;
}

.nav {
    flex: 1;
    max-width: 500px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

.nav__inner {
    padding-left: 15px;
    padding-right: 15px;
    display: flex;
    justify-content: space-between;
}

.nav__item {
    left: auto;
    font-size: 17px;
    /*margin: 0 50px 0 7px;*/
    color: #8e9aa9;
}

.nav__item > a {
    padding: 17px 0;
    display: block;
}

.navbar {
    display: flex;
    align-items: center;
}

.navbar .logo {
    padding-top: 8px;
    padding-left: 20px;
    /*flex: 2;*/
    margin-right: 15px;
}

.navbar .btn-navbar {
    display: none;
    padding: 15px;
    font-size: 25px;
    color: #fff;
    margin-left: 15px;
}

.navbar__contacts {
    padding-left: 30px;
    text-align: right;
    /*flex: 3;*/
    display: none;
}

@media (min-width: 600px) {
    .navbar__contacts {
        display: block;
    }

    .nav__item:last-of-type {
        display: none;
    }
}

.navbar .phone {
    font-family: 'Proxima Nova Rg', sans-serif;
    font-size: 22px;
    position: relative;
}

.navbar .phone:before {
    position: absolute;
    content: url('/img/phone.png');
    left: -25px;
    top: -1px;
}

.navbar .mail {
    font-family: 'Proxima Nova Th', sans-serif;
    font-size: 16px;
    position: absolute;
    right: 0;
    bottom: -27px;
}

/*Footer -------------------------------- */
footer {
    background: #000;
    padding: 46px 0;
    color: #686868;
}

footer .row {
    display: flex;
}

footer .left-col {
    flex: 4;
}

footer .middle-col {
    flex: 3;
    margin-right: 15px;
}

footer .right-col {
    flex: 5;
}

footer .right-col span {
    margin-left: 30px;
}

footer .logo {
    margin-top: 13px;
    height: 45px;
}

footer .copyright {
    font-size: 14px;
    color: #4a4a4a;
}

footer .phone {
    position: relative;
    line-height: 24px;
    font-size: 20px;
    margin-bottom: 36px;
    display: block;
    padding-left: 50px;
}

footer .phone + .btn {
    font-size: 14px;
    padding: 12px;
    margin: 0;
    width: 220px;
}

footer .phone:before {
    position: absolute;
    content: url('/img/phone-white.png');
    left: 0px;
    top: 9px;
}

footer .social {
    margin-top: 38px;
    margin-bottom: 36px;
}

footer .social li {
    margin-right: 20px;
}

footer .social li:last-of-type {
    margin-right: 0px;
}

.social li a {
    background-image: url('/img/social-icons.png');
    background-repeat: no-repeat;
    display: block;
    height: 25px;
    width: 25px;
}

.social li a.fb-icon {
    background-position: 0 0;
}

.social li a.inst-icon {
    background-position: -45px 0;
}

.social li a.drive-icon {
    background-position: -90px 0;
}

footer .inst-images img {
    width: 100px;
    height: 100px;
}

footer .inst-images {
    margin: 10px 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.inst-images li {
    /*margin-right: 10px;*/
    /*margin-bottom: 10px;*/
    padding: 5px;
}

.inst-images li:last-of-type {
    /*margin-right: 0;*/
}

/*Main -------------------------------- */
.img-responsive {
    max-width: 100%;
    height: auto;
    display: block;
}

.bg-image {
    /*position: absolute;*/
    /*top: 0;*/
}

section {
    position: relative;
}

section .bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-size: cover;
    background-repeat: no-repeat;
    background-position-x: center;
}

section .bg-image:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.bg-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
}

ul.grid {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.grid li {
    text-align: center;
}

.mouse-icon {
    border: 2px solid #fff;
    border-radius: 16px;
    display: block;
    height: 40px;
    margin: 0 auto;
    position: relative;
    width: 25px;
}

.mouse-icon .scroll {
    animation-delay: 0s;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-name: scrolling;
    animation-play-state: running;
    animation-timing-function: linear;
}

.mouse-icon .scroll {
    background: #fff none repeat scroll 0 0;
    border-radius: 10px;
    height: 10px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    top: 4px;
    width: 3px;
}

@keyframes scrolling {
    0% {
        opacity: 0;
        top: 0px;
    }
    30% {
        opacity: 1;
        top: 10px;
    }
    100% {
        opacity: 0;
        top: 15px;
    }
}

.main-caption {
    font-family: 'Proxima Nova Lt', sans-serif;
    font-size: 60px;
    text-align: center;
    display: block;
}

.sub-caption {
    font-family: 'Proxima Nova Lt', sans-serif;
    text-align: center;
    display: block;
    color: #fff;
}

.main-section {
    padding: 241px 0 53px;
}

.main-section .bg-image {
    background-image: url('/img/bg_section-1.jpg');
}

.main-section .bg-image:after {
    background-image: url('/img/bg_pattern_1.png');
}

.main-section .title {
    font-size: 63px;
    font-family: 'Proxima Nova RgB', sans-serif;
    text-transform: uppercase;
    line-height: 1.175;
    text-align: center;
    display: block;
    margin-bottom: 85px;
}

.main-section .sub-caption {
    font-size: 40px;
    line-height: 1.2;
    text-shadow: 0px 0px 21px rgba(0, 0, 0, 0.004);
    margin-bottom: 65px;
}

.main-section .btn {
    width: 335px;
}

.main-section .features {
    margin-bottom: 20px;
}

.main-section .features span {
    font-size: 23px;
    display: block;
    margin-top: -43px;
}

.main-section .social {
    position: absolute;
    top: 50%;
    margin-left: 60px;
}

.main-section .social ul {
    display: flex;
    flex-direction: column;
}

.main-section .social ul li {
    margin-bottom: 17px;
}

.section-2 {
    padding: 149px 0 101px;
}

.section-2 .bg-image {
    /*background-image: url('/img/bg_section-2.jpg');*/
    background-color: #16191d;
}

.section-2 .main-caption {
    padding-bottom: 47px;
}

.section-2 .sub-caption {
    font-size: 23px;
    line-height: 30px;
    padding-bottom: 583px;
}

.section-2 .advantages .grid,
.section-4 .grid {
    justify-content: center;
}

.section-2 .advantages .grid li {
    flex-basis: 33.33%;
    padding: 0 15px;
    margin-bottom: 25px;
    color: #b1c0d2;
}

/*.section-2 .advantages li > a img {*/
.advantages .image-link {
    display: inline-block;
    margin-bottom: 30px;
}

.section-2 .advantages h3 {
    font-size: 35px;
    display: inline-block;
    vertical-align: middle;
    line-height: 66px;
}

.section-2 .advantages li p,
.section-4 li p {
    text-align: left;
    line-height: initial;
}

.section-2 .grid li {
    text-align: left;
}

.section-2 .caption {
    /*display: flex;*/
    /*align-items: center;*/
    margin-bottom: 30px;
}

.section-2 .caption > img {
    background-image: url('/img/advantage-icons.png');
    height: 66px;
    margin-right: 35px;
    float: left;
}

.section-2 li:nth-of-type(1) .caption > img {
    background-position: 0 0;
    width: 59px;
}

.section-2 li:nth-of-type(2) .caption > img {
    background-position: -64px 0;
    width: 67px;
}

.section-2 li:nth-of-type(3) .caption > img {
    background-position: -135px 0;
    width: 65px;
}

.video-section {
    padding: 70px 0 120px;
}

.video-section .bg-image {
    /*background-image: url('/img/bg_section-3.jpg');*/
}

.video-section .main-caption {
    color: #393939;
    margin-bottom: 65px;
}

.video-section .video-block {
    width: 640px;
}

.video-section .video-iframe {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-section .video-iframe iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.section-4 {
    background: #16191d;
    padding: 106px 0 76px;
}

.section-4 li img {
    /*width: 206px;*/
    /*height: 172px;*/
    margin-bottom: 30px;
}

.section-4 .grid li {
    flex-basis: 20%;
    padding: 0 10px;
    margin-bottom: 25px;
}

.section-4 .grid p {
    color: #b1c0d2;
}

.section-5 {
    padding: 111px 0px;
}

.section-5 .bg-image {
    /*background-image: url('/img/bg_section-5.jpg');*/
}

.section-5 .row.grid {
    display: flex;
    justify-content: space-between;
}

.section-5 .row.grid > div {
    flex-basis: 49%;
}

.section-5 .grid {
    display: flex;
    justify-content: center;
}

.section-5 .grid img {
    padding: 8px;
}

.section-5 .grid li {
    flex-basis: 50%;
}

.section-5 .main-caption {
    text-align: left;
    padding-bottom: 30px;
    color: #393939;
}

.section-5 .description {
    text-align: left;
    color: #58595a;
    padding-left: 80px;
}

.section-5 .description p {
    padding-bottom: 30px;
}

.section-5 .description p:last-of-type {
    /*color: #FFA500;*/
    font-weight: bold;
    font-family: 'Proxima Nova RgB';
    font-size: 20px;
}

.form-section {
    padding: 90px 0 0px;
}

/*.form-section .bg-image {*/
/*    background: url('/img/bg_section-6.jpg');*/
/*}*/

.form-section .main-caption {
    text-align: left;
    padding-bottom: 24px;
}

.form-section .sub-caption {
    font-size: 30px;
    line-height: 30px;
    text-align: left;
    padding-bottom: 31px;
}

.form .grid {
    flex-direction: column;
    align-items: left;
}

.form-section form {
    margin-bottom: 20px;
    width: 100%;
}

.form-section form .grid li {
    width: 100%;
    text-align: left;
}

/*.form-section */
form input {
    border: 1px solid rgba(255, 255, 255, 0.33);
    background-color: rgba(255, 255, 255, 0.33);
    color: #fff;
    opacity: 0.729;
    padding: 17px 16px;
    margin-bottom: 22px;
    width: 100%;
    max-width: 420px;
    font-size: 20px;
    line-height: 30px;
    outline: none;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    transition: all .3s;
}

form input.error {
    border-color: #e03333;
}

/*.form-section */
form input::placeholder {
    color: #fff;
}

/*.form-section */
form input::-webkit-input-placeholder {
    color: #fff;
}

/*.form-section */
form button {
    max-width: 235px;
    width: 100%;
    margin: 17px 0 0;
}

.map-section #map {
    height: 467px;
}

.map-section .contacts-block {
    background: #fff;
    position: absolute;
    top: 86px;
    bottom: 77px;
    padding: 25px 70px;
}

.map-section .contacts-block h3 {
    font-size: 38px;
    color: #272727;
    padding-bottom: 37px;
}

.map-section .contacts-block p {
    font-size: 18px;
    color: #585858;
    padding-bottom: 37px;
    position: relative;
    padding-left: 15px;
}

.map-section .contacts-block p:before {
    position: absolute;
    background-image: url('/img/contacts-icons.png');
    content: '';
    left: -25px;
}

.map-section .contacts-block p:nth-of-type(1):before {
    width: 21px;
    height: 30px;
    background-position: 0 0;
    top: 4px;
}

.map-section .contacts-block p:nth-of-type(2):before {
    width: 20px;
    height: 30px;
    background-position: -30px 0;
    top: -5px;
}

.map-section .contacts-block p:nth-of-type(3):before {
    width: 25px;
    height: 24px;
    background-position: -59px 0;
    top: -4px;
    left: -27px;
}

.extra-section {
    padding-top: 85px;
}

/*.extra-section .bg-image {*/
/*    background-image: url('/img/bg_section-7.jpg');*/
/*}*/

.extra-section .bg-image:after {
    background-image: url('/img/bg_pattern_7.png');
    opacity: 0.75;
}

.extra-section .extra-block-1,
.extra-section .extra-block-2 {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.extra-section .logo {
    height: 72px;
    margin-bottom: 33px;
}

.extra-section .extra-block-1 p:first-of-type {
    font-size: 25px;
    text-align: center;
    padding-bottom: 88px;
}

.extra-section .extra-block-1 p:last-of-type {
    font-size: 40px;
    padding-bottom: 107px;
}

/*.extra-section */
.extra-block-2 {
    background-color: #16191d;
    padding: 28px 0 40px;
    text-align: center;
    margin-top: 80px;
}

/*.extra-section */
.extra-block-2 p:first-of-type {
    font-size: 23px;
    color: #bbc3ce;
    text-align: center;
    padding-bottom: 14px;
}

/*.extra-section */
.extra-block-2 p:last-of-type {
    font-size: 33px;
    padding-bottom: 17px;
}

/*.extra-section */
.extra-block-2 a {
    font-size: 20px;
    color: #FFA500;
    text-decoration: none;
    border-bottom: 1px solid #FFA500;
    line-height: 20px;
    text-align: center;
    position: relative;
}

/*.extra-section */
.extra-block-2 a:after {
    position: absolute;
    content: '';
    background-image: url('/img/arrow.png');
    width: 19px;
    height: 11px;
    right: -35px;
    bottom: 5px;
}

/**
Bootstrap GridOnly12
 */
@-ms-viewport {
    width: device-width;
}

.visible-xs,
.visible-sm,
.visible-md,
.visible-lg {
    display: none !important;
}

.visible-xs-block,
.visible-xs-inline,
.visible-xs-inline-block,
.visible-sm-block,
.visible-sm-inline,
.visible-sm-inline-block,
.visible-md-block,
.visible-md-inline,
.visible-md-inline-block,
.visible-lg-block,
.visible-lg-inline,
.visible-lg-inline-block {
    display: none !important;
}

@media (max-width: 767px) {
    .visible-xs {
        display: block !important;
    }

    table.visible-xs {
        display: table;
    }

    tr.visible-xs {
        display: table-row !important;
    }

    th.visible-xs,
    td.visible-xs {
        display: table-cell !important;
    }
}

@media (max-width: 767px) {
    .visible-xs-block {
        display: block !important;
    }
}

@media (max-width: 767px) {
    .visible-xs-inline {
        display: inline !important;
    }
}

@media (max-width: 767px) {
    .visible-xs-inline-block {
        display: inline-block !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .visible-sm {
        display: block !important;
    }

    table.visible-sm {
        display: table;
    }

    tr.visible-sm {
        display: table-row !important;
    }

    th.visible-sm,
    td.visible-sm {
        display: table-cell !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .visible-sm-block {
        display: block !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .visible-sm-inline {
        display: inline !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .visible-sm-inline-block {
        display: inline-block !important;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .visible-md {
        display: block !important;
    }

    table.visible-md {
        display: table;
    }

    tr.visible-md {
        display: table-row !important;
    }

    th.visible-md,
    td.visible-md {
        display: table-cell !important;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .visible-md-block {
        display: block !important;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .visible-md-inline {
        display: inline !important;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .visible-md-inline-block {
        display: inline-block !important;
    }
}

@media (min-width: 1200px) {
    .visible-lg {
        display: block !important;
    }

    table.visible-lg {
        display: table;
    }

    tr.visible-lg {
        display: table-row !important;
    }

    th.visible-lg,
    td.visible-lg {
        display: table-cell !important;
    }
}

@media (min-width: 1200px) {
    .visible-lg-block {
        display: block !important;
    }
}

@media (min-width: 1200px) {
    .visible-lg-inline {
        display: inline !important;
    }
}

@media (min-width: 1200px) {
    .visible-lg-inline-block {
        display: inline-block !important;
    }
}

@media (max-width: 767px) {
    .hidden-xs {
        display: none !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .hidden-sm {
        display: none !important;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .hidden-md {
        display: none !important;
    }
}

@media (min-width: 1200px) {
    .hidden-lg {
        display: none !important;
    }
}

.visible-print {
    display: none !important;
}

@media print {
    .visible-print {
        display: block !important;
    }

    table.visible-print {
        display: table;
    }

    tr.visible-print {
        display: table-row !important;
    }

    th.visible-print,
    td.visible-print {
        display: table-cell !important;
    }
}

.visible-print-block {
    display: none !important;
}

@media print {
    .visible-print-block {
        display: block !important;
    }
}

.visible-print-inline {
    display: none !important;
}

@media print {
    .visible-print-inline {
        display: inline !important;
    }
}

.visible-print-inline-block {
    display: none !important;
}

@media print {
    .visible-print-inline-block {
        display: inline-block !important;
    }
}

@media print {
    .hidden-print {
        display: none !important;
    }
}

.container {
    margin-right: auto;
    margin-left: auto;
    padding-left: 15px;
    padding-right: 15px;
}

@media (min-width: 768px) {
    .container {
        width: 750px;
    }
}

@media (min-width: 992px) {
    .container {
        width: 970px;
    }
}

@media (min-width: 1200px) {
    .container {
        width: 1170px;
    }
}

.container-fluid {
    margin-right: auto;
    margin-left: auto;
    padding-left: 15px;
    padding-right: 15px;
}

.row {
    margin-left: -15px;
    margin-right: -15px;
}

.col, .col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
    position: relative;
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
}

.col, .col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 {
    float: left;
}

.col-xs-12 {
    width: 100%;
}

.col-xs-11 {
    width: 91.66666667%;
}

.col-xs-10 {
    width: 83.33333333%;
}

.col-xs-9 {
    width: 75%;
}

.col-xs-8 {
    width: 66.66666667%;
}

.col-xs-7 {
    width: 58.33333333%;
}

.col-xs-6 {
    width: 50%;
}

.col-xs-5 {
    width: 41.66666667%;
}

.col-xs-4 {
    width: 33.33333333%;
}

.col-xs-3 {
    width: 25%;
}

.col-xs-2 {
    width: 16.66666667%;
}

.col-xs-1 {
    width: 8.33333333%;
}

.col-xs-pull-12 {
    right: 100%;
}

.col-xs-pull-11 {
    right: 91.66666667%;
}

.col-xs-pull-10 {
    right: 83.33333333%;
}

.col-xs-pull-9 {
    right: 75%;
}

.col-xs-pull-8 {
    right: 66.66666667%;
}

.col-xs-pull-7 {
    right: 58.33333333%;
}

.col-xs-pull-6 {
    right: 50%;
}

.col-xs-pull-5 {
    right: 41.66666667%;
}

.col-xs-pull-4 {
    right: 33.33333333%;
}

.col-xs-pull-3 {
    right: 25%;
}

.col-xs-pull-2 {
    right: 16.66666667%;
}

.col-xs-pull-1 {
    right: 8.33333333%;
}

.col-xs-pull-0 {
    right: auto;
}

.col-xs-push-12 {
    left: 100%;
}

.col-xs-push-11 {
    left: 91.66666667%;
}

.col-xs-push-10 {
    left: 83.33333333%;
}

.col-xs-push-9 {
    left: 75%;
}

.col-xs-push-8 {
    left: 66.66666667%;
}

.col-xs-push-7 {
    left: 58.33333333%;
}

.col-xs-push-6 {
    left: 50%;
}

.col-xs-push-5 {
    left: 41.66666667%;
}

.col-xs-push-4 {
    left: 33.33333333%;
}

.col-xs-push-3 {
    left: 25%;
}

.col-xs-push-2 {
    left: 16.66666667%;
}

.col-xs-push-1 {
    left: 8.33333333%;
}

.col-xs-push-0 {
    left: auto;
}

.col-xs-offset-12 {
    margin-left: 100%;
}

.col-xs-offset-11 {
    margin-left: 91.66666667%;
}

.col-xs-offset-10 {
    margin-left: 83.33333333%;
}

.col-xs-offset-9 {
    margin-left: 75%;
}

.col-xs-offset-8 {
    margin-left: 66.66666667%;
}

.col-xs-offset-7 {
    margin-left: 58.33333333%;
}

.col-xs-offset-6 {
    margin-left: 50%;
}

.col-xs-offset-5 {
    margin-left: 41.66666667%;
}

.col-xs-offset-4 {
    margin-left: 33.33333333%;
}

.col-xs-offset-3 {
    margin-left: 25%;
}

.col-xs-offset-2 {
    margin-left: 16.66666667%;
}

.col-xs-offset-1 {
    margin-left: 8.33333333%;
}

.col-xs-offset-0 {
    margin-left: 0%;
}

@media (min-width: 768px) {
    .col, .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {
        float: left;
    }

    .col-sm-12 {
        width: 100%;
    }

    .col-sm-11 {
        width: 91.66666667%;
    }

    .col-sm-10 {
        width: 83.33333333%;
    }

    .col-sm-9 {
        width: 75%;
    }

    .col-sm-8 {
        width: 66.66666667%;
    }

    .col-sm-7 {
        width: 58.33333333%;
    }

    .col-sm-6 {
        width: 50%;
    }

    .col-sm-5 {
        width: 41.66666667%;
    }

    .col-sm-4 {
        width: 33.33333333%;
    }

    .col-sm-3 {
        width: 25%;
    }

    .col-sm-2 {
        width: 16.66666667%;
    }

    .col-sm-1 {
        width: 8.33333333%;
    }

    .col-sm-pull-12 {
        right: 100%;
    }

    .col-sm-pull-11 {
        right: 91.66666667%;
    }

    .col-sm-pull-10 {
        right: 83.33333333%;
    }

    .col-sm-pull-9 {
        right: 75%;
    }

    .col-sm-pull-8 {
        right: 66.66666667%;
    }

    .col-sm-pull-7 {
        right: 58.33333333%;
    }

    .col-sm-pull-6 {
        right: 50%;
    }

    .col-sm-pull-5 {
        right: 41.66666667%;
    }

    .col-sm-pull-4 {
        right: 33.33333333%;
    }

    .col-sm-pull-3 {
        right: 25%;
    }

    .col-sm-pull-2 {
        right: 16.66666667%;
    }

    .col-sm-pull-1 {
        right: 8.33333333%;
    }

    .col-sm-pull-0 {
        right: auto;
    }

    .col-sm-push-12 {
        left: 100%;
    }

    .col-sm-push-11 {
        left: 91.66666667%;
    }

    .col-sm-push-10 {
        left: 83.33333333%;
    }

    .col-sm-push-9 {
        left: 75%;
    }

    .col-sm-push-8 {
        left: 66.66666667%;
    }

    .col-sm-push-7 {
        left: 58.33333333%;
    }

    .col-sm-push-6 {
        left: 50%;
    }

    .col-sm-push-5 {
        left: 41.66666667%;
    }

    .col-sm-push-4 {
        left: 33.33333333%;
    }

    .col-sm-push-3 {
        left: 25%;
    }

    .col-sm-push-2 {
        left: 16.66666667%;
    }

    .col-sm-push-1 {
        left: 8.33333333%;
    }

    .col-sm-push-0 {
        left: auto;
    }

    .col-sm-offset-12 {
        margin-left: 100%;
    }

    .col-sm-offset-11 {
        margin-left: 91.66666667%;
    }

    .col-sm-offset-10 {
        margin-left: 83.33333333%;
    }

    .col-sm-offset-9 {
        margin-left: 75%;
    }

    .col-sm-offset-8 {
        margin-left: 66.66666667%;
    }

    .col-sm-offset-7 {
        margin-left: 58.33333333%;
    }

    .col-sm-offset-6 {
        margin-left: 50%;
    }

    .col-sm-offset-5 {
        margin-left: 41.66666667%;
    }

    .col-sm-offset-4 {
        margin-left: 33.33333333%;
    }

    .col-sm-offset-3 {
        margin-left: 25%;
    }

    .col-sm-offset-2 {
        margin-left: 16.66666667%;
    }

    .col-sm-offset-1 {
        margin-left: 8.33333333%;
    }

    .col-sm-offset-0 {
        margin-left: 0%;
    }
}

@media (min-width: 992px) {
    .col, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
        float: left;
    }

    .col-md-12 {
        width: 100%;
    }

    .col-md-11 {
        width: 91.66666667%;
    }

    .col-md-10 {
        width: 83.33333333%;
    }

    .col-md-9 {
        width: 75%;
    }

    .col-md-8 {
        width: 66.66666667%;
    }

    .col-md-7 {
        width: 58.33333333%;
    }

    .col-md-6 {
        width: 50%;
    }

    .col-md-5 {
        width: 41.66666667%;
    }

    .col-md-4 {
        width: 33.33333333%;
    }

    .col-md-3 {
        width: 25%;
    }

    .col-md-2 {
        width: 16.66666667%;
    }

    .col-md-1 {
        width: 8.33333333%;
    }

    .col-md-pull-12 {
        right: 100%;
    }

    .col-md-pull-11 {
        right: 91.66666667%;
    }

    .col-md-pull-10 {
        right: 83.33333333%;
    }

    .col-md-pull-9 {
        right: 75%;
    }

    .col-md-pull-8 {
        right: 66.66666667%;
    }

    .col-md-pull-7 {
        right: 58.33333333%;
    }

    .col-md-pull-6 {
        right: 50%;
    }

    .col-md-pull-5 {
        right: 41.66666667%;
    }

    .col-md-pull-4 {
        right: 33.33333333%;
    }

    .col-md-pull-3 {
        right: 25%;
    }

    .col-md-pull-2 {
        right: 16.66666667%;
    }

    .col-md-pull-1 {
        right: 8.33333333%;
    }

    .col-md-pull-0 {
        right: auto;
    }

    .col-md-push-12 {
        left: 100%;
    }

    .col-md-push-11 {
        left: 91.66666667%;
    }

    .col-md-push-10 {
        left: 83.33333333%;
    }

    .col-md-push-9 {
        left: 75%;
    }

    .col-md-push-8 {
        left: 66.66666667%;
    }

    .col-md-push-7 {
        left: 58.33333333%;
    }

    .col-md-push-6 {
        left: 50%;
    }

    .col-md-push-5 {
        left: 41.66666667%;
    }

    .col-md-push-4 {
        left: 33.33333333%;
    }

    .col-md-push-3 {
        left: 25%;
    }

    .col-md-push-2 {
        left: 16.66666667%;
    }

    .col-md-push-1 {
        left: 8.33333333%;
    }

    .col-md-push-0 {
        left: auto;
    }

    .col-md-offset-12 {
        margin-left: 100%;
    }

    .col-md-offset-11 {
        margin-left: 91.66666667%;
    }

    .col-md-offset-10 {
        margin-left: 83.33333333%;
    }

    .col-md-offset-9 {
        margin-left: 75%;
    }

    .col-md-offset-8 {
        margin-left: 66.66666667%;
    }

    .col-md-offset-7 {
        margin-left: 58.33333333%;
    }

    .col-md-offset-6 {
        margin-left: 50%;
    }

    .col-md-offset-5 {
        margin-left: 41.66666667%;
    }

    .col-md-offset-4 {
        margin-left: 33.33333333%;
    }

    .col-md-offset-3 {
        margin-left: 25%;
    }

    .col-md-offset-2 {
        margin-left: 16.66666667%;
    }

    .col-md-offset-1 {
        margin-left: 8.33333333%;
    }

    .col-md-offset-0 {
        margin-left: 0%;
    }
}

@media (min-width: 1200px) {
    .col, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 {
        float: left;
    }

    .col-lg-12 {
        width: 100%;
    }

    .col-lg-11 {
        width: 91.66666667%;
    }

    .col-lg-10 {
        width: 83.33333333%;
    }

    .col-lg-9 {
        width: 75%;
    }

    .col-lg-8 {
        width: 66.66666667%;
    }

    .col-lg-7 {
        width: 58.33333333%;
    }

    .col-lg-6 {
        width: 50%;
    }

    .col-lg-5 {
        width: 41.66666667%;
    }

    .col-lg-4 {
        width: 33.33333333%;
    }

    .col-lg-3 {
        width: 25%;
    }

    .col-lg-2 {
        width: 16.66666667%;
    }

    .col-lg-1 {
        width: 8.33333333%;
    }

    .col-lg-pull-12 {
        right: 100%;
    }

    .col-lg-pull-11 {
        right: 91.66666667%;
    }

    .col-lg-pull-10 {
        right: 83.33333333%;
    }

    .col-lg-pull-9 {
        right: 75%;
    }

    .col-lg-pull-8 {
        right: 66.66666667%;
    }

    .col-lg-pull-7 {
        right: 58.33333333%;
    }

    .col-lg-pull-6 {
        right: 50%;
    }

    .col-lg-pull-5 {
        right: 41.66666667%;
    }

    .col-lg-pull-4 {
        right: 33.33333333%;
    }

    .col-lg-pull-3 {
        right: 25%;
    }

    .col-lg-pull-2 {
        right: 16.66666667%;
    }

    .col-lg-pull-1 {
        right: 8.33333333%;
    }

    .col-lg-pull-0 {
        right: auto;
    }

    .col-lg-push-12 {
        left: 100%;
    }

    .col-lg-push-11 {
        left: 91.66666667%;
    }

    .col-lg-push-10 {
        left: 83.33333333%;
    }

    .col-lg-push-9 {
        left: 75%;
    }

    .col-lg-push-8 {
        left: 66.66666667%;
    }

    .col-lg-push-7 {
        left: 58.33333333%;
    }

    .col-lg-push-6 {
        left: 50%;
    }

    .col-lg-push-5 {
        left: 41.66666667%;
    }

    .col-lg-push-4 {
        left: 33.33333333%;
    }

    .col-lg-push-3 {
        left: 25%;
    }

    .col-lg-push-2 {
        left: 16.66666667%;
    }

    .col-lg-push-1 {
        left: 8.33333333%;
    }

    .col-lg-push-0 {
        left: auto;
    }

    .col-lg-offset-12 {
        margin-left: 100%;
    }

    .col-lg-offset-11 {
        margin-left: 91.66666667%;
    }

    .col-lg-offset-10 {
        margin-left: 83.33333333%;
    }

    .col-lg-offset-9 {
        margin-left: 75%;
    }

    .col-lg-offset-8 {
        margin-left: 66.66666667%;
    }

    .col-lg-offset-7 {
        margin-left: 58.33333333%;
    }

    .col-lg-offset-6 {
        margin-left: 50%;
    }

    .col-lg-offset-5 {
        margin-left: 41.66666667%;
    }

    .col-lg-offset-4 {
        margin-left: 33.33333333%;
    }

    .col-lg-offset-3 {
        margin-left: 25%;
    }

    .col-lg-offset-2 {
        margin-left: 16.66666667%;
    }

    .col-lg-offset-1 {
        margin-left: 8.33333333%;
    }

    .col-lg-offset-0 {
        margin-left: 0%;
    }
}

.clearfix,
.clearfix:before,
.clearfix:after,
.container:before,
.container:after,
.container-fluid:before,
.container-fluid:after,
.row:before,
.row:after {
    content: " ";
    display: table;
}

.clearfix:after,
.container:after,
.container-fluid:after,
.row:after {
    clear: both;
}

.center-block {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.pull-right {
    float: right !important;
}

.pull-left {
    float: left !important;
}

*,
*:before,
*:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/*End Bootstrap GridOnly12*/

/* Magnific Popup CSS */
.mfp-bg {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1042;
    overflow: hidden;
    position: fixed;
    background: #0b0b0b;
    opacity: 0.8;
}

.mfp-wrap {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1043;
    position: fixed;
    outline: none !important;
    -webkit-backface-visibility: hidden;
}

.mfp-container {
    text-align: center;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    padding: 0 8px;
    box-sizing: border-box;
}

.mfp-container:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.mfp-align-top .mfp-container:before {
    display: none;
}

.mfp-content {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    margin: 0 auto;
    text-align: left;
    z-index: 1045;
}

.mfp-inline-holder .mfp-content,
.mfp-ajax-holder .mfp-content {
    width: 100%;
    cursor: auto;
}

.mfp-ajax-cur {
    cursor: progress;
}

.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
    cursor: -moz-zoom-out;
    cursor: -webkit-zoom-out;
    cursor: zoom-out;
}

.mfp-zoom {
    cursor: pointer;
    cursor: -webkit-zoom-in;
    cursor: -moz-zoom-in;
    cursor: zoom-in;
}

.mfp-auto-cursor .mfp-content {
    cursor: auto;
}

.mfp-close,
.mfp-arrow,
.mfp-preloader,
.mfp-counter {
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.mfp-loading.mfp-figure {
    display: none;
}

.mfp-hide {
    display: none !important;
}

.mfp-preloader {
    color: #CCC;
    position: absolute;
    top: 50%;
    width: auto;
    text-align: center;
    margin-top: -0.8em;
    left: 8px;
    right: 8px;
    z-index: 1044;
}

.mfp-preloader a {
    color: #CCC;
}

.mfp-preloader a:hover {
    color: #FFF;
}

.mfp-s-ready .mfp-preloader {
    display: none;
}

.mfp-s-error .mfp-content {
    display: none;
}

button.mfp-close,
button.mfp-arrow {
    overflow: visible;
    cursor: pointer;
    background: transparent;
    border: 0;
    -webkit-appearance: none;
    display: block;
    outline: none;
    padding: 0;
    z-index: 1046;
    box-shadow: none;
    touch-action: manipulation;
}

button::-moz-focus-inner {
    padding: 0;
    border: 0;
}

.mfp-close {
    width: 44px;
    height: 44px;
    line-height: 44px;
    position: absolute;
    right: 0;
    top: 0;
    text-decoration: none;
    text-align: center;
    opacity: 0.65;
    padding: 0 0 18px 10px;
    color: #FFF;
    font-style: normal;
    font-size: 28px;
    font-family: Arial, Baskerville, monospace;
}

.mfp-close:hover,
.mfp-close:focus {
    opacity: 1;
}

.mfp-close:active {
    top: 1px;
}

.mfp-close-btn-in .mfp-close {
    color: #333;
}

.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
    color: #FFF;
    right: -6px;
    text-align: right;
    padding-right: 6px;
    width: 100%;
}

.mfp-counter {
    position: absolute;
    top: 0;
    right: 0;
    color: #CCC;
    font-size: 12px;
    line-height: 18px;
    white-space: nowrap;
}

.mfp-arrow {
    position: absolute;
    opacity: 0.65;
    margin: 0;
    top: 50%;
    margin-top: -55px;
    padding: 0;
    width: 90px;
    height: 110px;
    -webkit-tap-highlight-color: transparent;
}

.mfp-arrow:active {
    margin-top: -54px;
}

.mfp-arrow:hover,
.mfp-arrow:focus {
    opacity: 1;
}

.mfp-arrow:before,
.mfp-arrow:after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    left: 0;
    top: 0;
    margin-top: 35px;
    margin-left: 35px;
    border: medium inset transparent;
}

.mfp-arrow:after {
    border-top-width: 13px;
    border-bottom-width: 13px;
    top: 8px;
}

.mfp-arrow:before {
    border-top-width: 21px;
    border-bottom-width: 21px;
    opacity: 0.7;
}

.mfp-arrow-left {
    left: 0;
}

.mfp-arrow-left:after {
    border-right: 17px solid #FFF;
    margin-left: 31px;
}

.mfp-arrow-left:before {
    margin-left: 25px;
    border-right: 27px solid #3F3F3F;
}

.mfp-arrow-right {
    right: 0;
}

.mfp-arrow-right:after {
    border-left: 17px solid #FFF;
    margin-left: 39px;
}

.mfp-arrow-right:before {
    border-left: 27px solid #3F3F3F;
}

.mfp-iframe-holder {
    padding-top: 40px;
    padding-bottom: 40px;
}

.mfp-iframe-holder .mfp-content {
    line-height: 0;
    width: 100%;
    max-width: 900px;
}

.mfp-iframe-holder .mfp-close {
    top: -40px;
}

.mfp-iframe-scaler {
    width: 100%;
    height: 0;
    overflow: hidden;
    padding-top: 56.25%;
}

.mfp-iframe-scaler iframe {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #000;
}

/* Main image in popup */
img.mfp-img {
    width: auto;
    max-width: 100%;
    height: auto;
    display: block;
    line-height: 0;
    box-sizing: border-box;
    padding: 40px 0 40px;
    margin: 0 auto;
}

/* The shadow behind the image */
.mfp-figure {
    line-height: 0;
}

.mfp-figure:after {
    content: '';
    position: absolute;
    left: 0;
    top: 40px;
    bottom: 40px;
    display: block;
    right: 0;
    width: auto;
    height: auto;
    z-index: -1;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #444;
}

.mfp-figure small {
    color: #BDBDBD;
    display: block;
    font-size: 12px;
    line-height: 14px;
}

.mfp-figure figure {
    margin: 0;
}

.mfp-bottom-bar {
    margin-top: -36px;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    cursor: auto;
}

.mfp-title {
    text-align: left;
    line-height: 18px;
    color: #F3F3F3;
    word-wrap: break-word;
    padding-right: 36px;
}

.mfp-image-holder .mfp-content {
    max-width: 100%;
}

.mfp-gallery .mfp-image-holder .mfp-figure {
    cursor: pointer;
}

@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
    /**
         * Remove all paddings around the image on small screen
         */
    .mfp-img-mobile .mfp-image-holder {
        padding-left: 0;
        padding-right: 0;
    }

    .mfp-img-mobile img.mfp-img {
        padding: 0;
    }

    .mfp-img-mobile .mfp-figure:after {
        top: 0;
        bottom: 0;
    }

    .mfp-img-mobile .mfp-figure small {
        display: inline;
        margin-left: 5px;
    }

    .mfp-img-mobile .mfp-bottom-bar {
        background: rgba(0, 0, 0, 0.6);
        bottom: 0;
        margin: 0;
        top: auto;
        padding: 3px 5px;
        position: fixed;
        box-sizing: border-box;
    }

    .mfp-img-mobile .mfp-bottom-bar:empty {
        padding: 0;
    }

    .mfp-img-mobile .mfp-counter {
        right: 5px;
        top: 3px;
    }

    .mfp-img-mobile .mfp-close {
        top: 0;
        right: 0;
        width: 35px;
        height: 35px;
        line-height: 35px;
        background: rgba(0, 0, 0, 0.6);
        position: fixed;
        text-align: center;
        padding: 0;
    }
}

@media all and (max-width: 900px) {
    .mfp-arrow {
        -webkit-transform: scale(0.75);
        transform: scale(0.75);
    }

    .mfp-arrow-left {
        -webkit-transform-origin: 0;
        transform-origin: 0;
    }

    .mfp-arrow-right {
        -webkit-transform-origin: 100%;
        transform-origin: 100%;
    }

    .mfp-container {
        padding-left: 6px;
        padding-right: 6px;
    }
}

@media screen and (max-width: 1199px) {
    .section-2 .caption > img {
        margin-right: 10px;
    }
}

/* End Magnific Popup CSS */

@media screen and (max-width: 991px) {
    header {
        background: #0c1015;
    }

    header .container {
        width: 100%;
    }

    header .nav {
        display: none;
    }

    header .navbar {
        align-items: inherit;
        position: relative;
    }

    .navbar .btn-navbar {
        display: block;
    }

    .navbar .nav {
        position: absolute;
        width: 100%;
        top: 100%;
        left: 0;
        background: #0c1015;
    }

    .navbar nav {
        display: block;
    }

    .navbar nav li {
        display: block;
        text-align: center;
    }

    .navbar nav li > a {
        padding: 10px 10px 15px;
        /*background: #0c1015;*/
        color: #fff;
    }

    .main-section .title {
        font-size: 44px;
    }

    .main-section .sub-caption {
        font-size: 32px;
    }

    .main-section .mouse-icon {
        display: none;
    }

    .main-section .grid {
        justify-content: space-around;
    }

    .section-2 .bg-image {
        /*background-image: none;*/
        background-size: contain;
    }

    .section-2 .main-caption {
        font-size: 42px;
    }

    .section-2 .sub-caption {
        font-size: 18px;
        padding-bottom: 140px;
    }

    .section-2 .advantages .grid {
        justify-content: space-around;
    }

    .section-2 .advantages .grid li {
        padding: 0;
        flex-basis: 45%;
    }

    .video-section .video-block {
        width: 100%;
    }

    .section-4 .grid li {
        flex-basis: 33.33%;
    }

    .section-5 .row.grid {
        flex-direction: column;
    }

    .section-5 .row .grid {
        margin-bottom: 25px;
    }

    .section-5 .description,
    .section-5 .main-caption {
        text-align: center;
    }

    .section-5 .description {
        padding-left: 0;
    }

    .section-5 .row.grid > div {
        flex-basis: auto;
    }

    .map-section .contacts-block {
        top: auto;
        bottom: 35px;
        padding: 20px 35px;
        left: 40px;
    }

    .map-section .contacts-block h3 {
        font-size: 32px;
        padding-bottom: 20px;
        text-align: center;
    }

    .map-section .contacts-block p {
        font-size: 18px;
        padding-bottom: 25px;
    }

    .map-section .contacts-block p:before {
        left: -15px;
    }

    .map-section .contacts-block p:nth-of-type(3):before {
        left: -16px;
    }

    .extra-section {
        padding-top: 55px;
    }

    .extra-section .logo {
        height: 40px;
    }

    .extra-section .extra-block-1 p:first-of-type {
        font-size: 22px;
        text-align: center;
        padding-bottom: 35px;
    }

    .extra-section .extra-block-1 p:last-of-type {
        font-size: 36px;
        padding-bottom: 60px;
        text-align: center;
    }

    .extra-section .bg-image {
        /*background-size: contain;*/
        height: 100%;
    }

    /*.extra-section */
    .extra-block-2 p:first-of-type {
        font-size: 20px;
    }

    /*.extra-section */
    .extra-block-2 p:last-of-type {
        font-size: 24px;
        padding-bottom: 17px;
    }

    /*.extra-section */
    .extra-block-2 {
        background-color: #16191d;
        padding: 28px 0 30px;
    }

    footer .right-col {
        text-align: center;
    }
}

@media screen and (max-width: 767px) {
    .navbar .contacts {
        padding-right: 15px;
    }

    .main-section .social {
        display: none;
    }

    .section-2 .advantages .grid li {
        padding: 0 15px;
    }

    .section-2 .advantages .grid li {
        flex-basis: 80%;
    }

    /*.section-2 .advantages li > a img {*/
    /*    margin: 0 auto 30px;*/
    /*    width: 100%;*/
    /*}*/
    .section-2 .caption {
        display: flex;
        justify-content: center;
    }

    .section-4 .grid p {
        font-size: 18px;
    }

    .section-5 .main-caption,
    .form-section .main-caption,
    .section-2 .main-caption {
        font-size: 36px;
    }

    .section-5 .description {
        padding: 0 15px;
    }

    .form-section .sub-caption {
        font-size: 24px;
    }

    .form-section .main-caption,
    .form-section .sub-caption {
        text-align: center;
    }

    footer {
        padding: 20px 0;
    }

    footer .row {
        justify-content: space-between;
    }

    footer .left-col {
        flex: none;
    }

    footer .middle-col {
        flex: none;
    }

    footer .right-col {
        display: none;
    }

    footer .social {
        margin: 15px 0;
    }
}

@media screen and (max-width: 479px) {
    header {
        padding: 8px 0;
    }

    header .navbar {
        align-items: center;
    }

    .navbar .logo {
        height: 40px;
        flex: 2;
    }

    .navbar .mail {
        display: none;
    }

    .main-section .title {
        font-size: 30px;
    }

    .main-section .sub-caption {
        font-size: 28px;
    }

    .main-section .btn {
        width: 80%;
        padding: 15px 10px;
    }

    .section-2 .main-caption {
        font-size: 30px;
    }

    .section-2 .advantages .grid li {
        flex-basis: 95%;
    }

    .video-section {
        padding-bottom: 30px;
    }

    .video-section .main-caption {
        font-size: 36px;
    }

    .section-4 .grid li {
        flex-basis: 90%;
    }

    .section-4 .grid p {
        font-size: 18px;
    }

    .section-4 li img {
        margin: 0 auto 10px;
        width: 100%;
    }

    .form-section form button {
        margin: auto;
    }

    .map-section .contacts-block {
        display: none;
    }

    footer .left-col {
        text-align: center;
    }

    footer .middle-col {
        display: none;
    }
}

@media screen and (max-width: 410px) {

    .lang {
        flex: 2.5;
    }
}