@media only screen and (min-width: 1400px) and (max-width: 4000px) {

}

@media(min-width: 1700px) {
    .contact-with-us h6 {
        margin-top: 93px;
    }
}

@media (min-width: 1440px) {
    .container {
        max-width: 1300px !important;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1440px){
    .career-and-gallery {
        margin-top: -83px;
    }

    .career-and-gallery .bgr-effect {
        margin-top: -189px;
        max-height: 3445px;
        min-height: 2783px;
    }
}

@media only screen and (min-width: 1900px) and (max-width: 4000px) {
    /*.intro {*/
    /*    min-height: 1384px;*/
    /*}*/
}

@media only screen and (min-width: 992px) and (max-width: 1200px) {
    header nav ul li {
        padding: 0 13px;
    }

    header nav ul li a {
        font-size: 16px;
    }

    header nav ul li.dropdown ul.dropdown-menu li a {
        padding: 15px 20px;
    }
}

@media only screen and (min-width: 767px) and (max-width: 1200px) {
    .careers:after {
        width: 42px;
        height: 228px;
    }
}

    @media only screen and (min-width: 0px) and (max-width: 1200px) {
    header .logo {
        position: static;
    }
}

@media only screen and (min-width: 767px) and (max-width: 991px)  {
    header nav ul.open {
        margin-top: 0;
    }

    header.fixed nav ul.open {
        overflow-y: scroll;
        height: 100vh;
        padding-bottom: 87px;
    }

    .our-info .count-info-block {
        margin-bottom: 25px;
    }

    .team .team-person-inf {
        margin-top: 35px;
    }

    .team h2 {
        margin-bottom: 20px;
    }

    .careers .career-images {
        margin-left: 0;
        margin-bottom: 25px;
    }

    .free-position {
        margin-top: 30px;
    }


    .free-position .free-position-block a.button {
        margin: 10px 0 0 0;
    }

    .gallery .owl-carousel .owl-nav button.owl-next {
        right: 2%;
    }

    .gallery .owl-carousel .owl-nav button.owl-prev {
        left: 2%;
    }

    .contacts .contact-block {
        padding: 55px 0 0 8px;
    }

    .contacts .location-image {
        margin-top: -170px;
        margin-right: -16px;
    }

    .contacts .location-image img {
        width: 200px;
    }

    .contacts:after {
        min-height: 1390px;
    }

    .nav-btn.open span:nth-child(1) {width:100%; transform: rotate(45deg); top: -3px;}
    .nav-btn.open span:nth-child(2) {opacity: 0;}
    .nav-btn.open span:nth-child(3) {width:100%; transform: rotate(-45deg); top: 22px;}


    .free-position .free-position-block .region {
        font-size: 15px;
        margin-bottom: 0;
    }

    .free-position .free-position-block .work-time {
        font-size: 15px;
        margin-top: 10px;
    }

    .application-form {
        margin: -160px 0 0 0;
    }


}

@media only screen and (min-width: 0px) and (max-width: 991px) {
    header nav {
        justify-content: center;
    }

    header {
        left: 0;
        padding: 0;
        position: absolute;
        top: 0;
        transition: all .6s;
        width: 100%;
    }

    body.nav-open header {
        height: 100%;
    }

    header nav ul {

        transition: all .4s;
        width: 100%;
        background: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(2,23,22,0.5242471988795518) 0%);
        padding-top: 15px;
    }

    header.fixed nav ul {
        background: #ffffff;
    }

    header nav ul li {
        display: block;
        padding: 10px 0;
        border-top: 1px solid #9D9D9D;
        width: 100%;
        text-align: center;

    }

    header nav ul li:last-child {
        border-bottom: 1px solid #9D9D9D;
    }

    header .logo {
        text-align: left;
    }

    .nav-btn {
        z-index: 10000;
        width: 36px;
        height: 20px;
        cursor: pointer;
        position: relative;
        margin: -10px 0 0 0;
        display: block;
        padding-right: 35px;
        right: 0;
        top: 50%;
    }

    .nav-btn span {
        display: block;
        border-radius: 20%;
        height: 4px;
        background-color: #ffffff;
        position: absolute;
        right: 0;
        top: 0;

        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);

        -webkit-transition: .1s ease-in-out;
        -moz-transition: .1s ease-in-out;
        -o-transition: .1s ease-in-out;
        transition: .1s ease-in-out;

        -webkit-transform-origin: left center;
        -moz-transform-origin: left center;
        -o-transform-origin: left center;
        transform-origin: left center;
    }

    body.outside-header .nav-btn span,
    body.outside-header .nav-btn.open span {
        background: #000000;
    }

    body header nav ul {
        background: #ffffff;
    }

    body header nav ul li a {
        color: #000000;
    }

    header.fixed .nav-btn span {
        background: #000000;
    }

    .nav-btn span:nth-child(1) {width:100%;}
    .nav-btn span:nth-child(2) {width:100%; top: 7px; margin-right: 10px;}
    .nav-btn span:nth-child(3) {width:100%; top: 14px;}

    .nav-btn:hover span:nth-child(2) {width: 100%;}
    .nav-btn:hover span:nth-child(3) {width: 100%;}

    .nav-btn.open {transition-duration: .3s;}
    .nav-btn.open span {box-shadow: none; background-color: #000000; right: -5px;}
     header.fixed .nav-btn.open span {background-color: #000000;}



    header nav ul li.dropdown ul.dropdown-menu {
        margin: 0;
    }

    header nav ul li.dropdown ul.dropdown-menu li a {
        padding: 10px 17px 10px 0;
    }

    .services .service-block {
        padding: 0;
    }

    header.fixed nav ul li.dropdown ul.dropdown-menu {
        border: none;
        margin-left: 0;
    }

    .career-and-gallery .bgr-effect {
        display: none;
    }

    .careers ul li,
    .free-position h3,
    .gallery h2 {
        color: #000000;
    }

    .free-position .free-position-block {
        background: #000000;
}

    .gallery.effect-bgr:before {
        background: url("../images/effect.svg") center no-repeat;
        background-size: 100%;
    }

    header nav ul li.dropdown ul.dropdown-menu.show {
        display: none;
    }

    header.open nav ul li.dropdown ul.dropdown-menu.show {
        display: block;
        background: #ffffff;
    }

    .careers h4 {
        color: #000000;
    }

    header nav ul li img.arrow.black {
        display: inline-block;
    }

    header nav ul li img.arrow.white {
        display: none;
    }


}




@media only screen and (min-width: 0px) and (max-width: 767px)  {


/*nav {*/
    /*    height: 0;*/
    /*    overflow: hidden;*/
    /*}*/

    /*nav.open {*/
    /*    height: 100%;*/
    /*}*/

    header .logo img {
        height: 80px;
        padding: 10px 0 5px 0;
    }

    .intro {
        min-height: 541px;
        margin-top: -79px;
    }

    header nav ul.open {
        margin-top: 0;

    }

    header.fixed nav ul.open {
        overflow-y: scroll;
        height: 100vh;
        padding-bottom: 87px;
    }

    .our-info {
        padding: 25px 0 10px 0;
        z-index: 11;
        position: relative;
    }

    .our-info .count-info-block {
        font-size: 14px;
        line-height: 19px;
        padding: 0;
        margin-bottom: 25px;
    }

    .our-info .count-info-block span {
        font-size: 14px;
    }

    .our-info .count-info-block span.count {
        font-size: 38px;
        line-height: 40px;
        margin-bottom: 5px;
    }

    .effect-bgr:before {
        width: 11px;
        height: 87px;
        margin-left: -5px;
        margin-top: -5px;
    }

    .space {
        padding: 60px 0 35px 0;
    }

    .heading {
        margin: 40px 0 25px 0;
        font-size: 25px;
        line-height: 32px;
    }

    p {
        font-size: 15px;
        line-height: 23px;
        margin-bottom: 15px;
    }

    .for-us p {
        margin-bottom: 15px;
    }

    .for-us .our-companies {
        margin-bottom: 25px;
    }

    .services {
        background: black;
        z-index: 1;
        min-height: auto;
    }

    .services .rolet-bgr {
        min-height: 189px;
        max-height: 189px;
        bottom: 0;
        top: auto;
        margin-bottom: 0;
    }

    .services h2 {
        margin-top: 40px;
    }

    .services .service-block {
        margin-bottom: 25px;
        font-size: 15px;
        line-height: 21px;
    }

    .services .service-block.sec,
    .services .service-block.fourth {
        margin-top: 0;
    }

    .services .service-block.first,
    .services .service-block.fifth {
        margin-top: 0;
    }

    .services .service-block img {
        margin: 0 auto 5px auto;
        max-width: 55px;
        max-height: 50px;
    }

    .services p {
        margin-bottom: 30px;
    }

    .contacts .location-image {
        margin: 0;
    }

    .team .team-person-inf .profession {
        font-size: 12px;
        margin-bottom: 6px;
    }

    .team .team-person-inf h3 {
        font-size: 16px;
        line-height: 22px;
    }

    .team .team-person-inf a img {
        width: 24px;
    }

    .team .team-person-inf {
        margin-top: 30px;
    }

    .careers:after {
        top: 3%;
    }

    .careers h2 {
        margin-bottom: 25px;
    }

    .careers .career-images {
        margin: -50px 0 25px 0;
    }

    .careers .career-images .first {
        margin-top: 0;
    }

    .careers .career-images .third {
        display: block;
        margin: -49px auto 0 auto;
    }

    .careers h4 {
        letter-spacing: 0.3px;
        margin-bottom: 20px;
        font-size: 18px;
        line-height: 24px;

    }

    .careers ul li:before {
        width: 10px;
        height: 21px;
    }

    .careers ul li {
        margin-bottom: 14px;
        font-size: 15px;
        padding-left: 17px;
    }

    .careers .apply {
        margin-top: 20px;
        font-size: 17px;
    }
    .free-position {
        margin-top: 0;
    }

    .free-position h3 {
        font-size: 21px;
        line-height: 30px;
        margin: 25px 0;
    }

    .free-position .free-position-block {
        padding: 20px 20px 10px 20px;
    }

    .free-position .free-position-block a.button {
        margin: 0 0 15px 0;
    }

    .free-position .free-position-block h4 {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .free-position .free-position-block .work-time {
        font-size: 15px;
        padding-left: 20px;
        margin-bottom: 15px;
    }
    .free-position .free-position-block .region {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .free-position .free-position-block .work-time:before {
        width: 15px;
        height: 15px;
        margin-top: 4px;
    }

    .free-position .free-position-block .region:before {
        margin-top: -2px;
    }

    .button {
        padding: 11px 24px;
        font-size: 14px;
        min-width: auto;
    }

    .btn-arrow {
        width: 15px;
        margin: 0 0 0 4px;
    }

    .gallery h2 {
        margin-bottom: 25px;
    }

    .gallery .owl-carousel .owl-nav button.owl-next {
        right: 0;
        top: 36%;
    }

    .gallery .owl-carousel .owl-nav button.owl-prev {
        left: 0;
        top: 36%;
    }

    .gallery .owl-carousel .owl-nav button.owl-next:before,
    .gallery .owl-carousel .owl-nav button.owl-prev:before {
        width: 50px;
        height: 50px;
    }

    .contacts {
        padding-bottom: 45px;
    }
    .contacts h2 {
        margin-bottom: 25px;
    }

    .contacts .contact-block {
        padding: 0;
    }

    .contacts .contact-info .info {
        font-size: 15px;
        line-height: 18px;
    }

    .contacts .contact-info .info span {
        font-size: 12px;
        margin-bottom: 1px;
    }

    .contacts .contact-info {
        margin-bottom: 20px;
    }

    .contacts .contact-info .info a {
        font-size: 15px;
    }

    .contacts .contact-info .contact-icon img {
        width: 46px;
        margin-right: 7px;
    }

    .contacts .location-image img {
        width: 160px;
    }

    .contacts .location-image {
        margin-top: -120px;
        margin-right: 0;
    }

    .contacts .location-map {
        margin-top: 15px;
    }

    .contact-with-us {
        margin-top: 35px;
    }

    .contact-with-us h6 {
        margin-bottom: 25px;
        font-size: 21px;
        line-height: 29px;
    }

    .form-control {
        font-size: 14px;
        padding: 22px 15px;
    }

    textarea.form-control {
        padding: 13px 15px;
    }

    form .form-group {
        margin-bottom: 18px;
    }

    .contact-with-us .btn-send button {
        margin-top: 0;
    }

    footer {
        padding: 45px 0;
    }

    footer .copyright {
        font-size: 14px;
        text-align: center;
    }

    footer .logo {
        display: block;
        margin: 0 auto 25px auto;
        width: 80px;
    }

    footer .social-items {
        text-align: center;
        margin-bottom: 19px;
    }

    footer .social-items li {
        margin-left: 0;
        padding: 0 8px;
    }

    .nav-btn.open span:nth-child(1) {width:28px; transform: rotate(45deg); top: 0;}
    .nav-btn.open span:nth-child(2) {opacity: 0;}
    .nav-btn.open span:nth-child(3) {width:28px; transform: rotate(-45deg); top: 20px;}


    .careers-intro {
        min-height: 330px;
    }

    .careers-intro h1 {
        font-size: 22px;
        line-height: 35px;
        margin: 60px 0 20px 0;
    }

    .careers-intro .btn-back {
        font-size: 16px;
    }

    .careers-intro .btn-back img {
        width: 16px;
        margin-right: 4px;
    }

    .careers-intro .place {
        font-size: 15px;
    }

    .careers-intro span.time {
        margin-bottom: 8px;
        font-size: 15px;
    }

    .position-info h5 {
        font-size: 18px;
        margin: 25px 0 13px 0;
    }

    .position-info p {
        font-size: 15px;
    }

    .position-info ul li {
        font-size: 15px;
        margin-bottom: 8px;
        padding-left: 14px;
    }

    .position-info ul li:before {
        width: 9px;
        height: 20px;
        margin-top: 1px;
    }

    .application-form h6 {
        margin-top: 320px !important;
    }

    .file-upload .file-select .file-select-name {
        font-size: 14px;
        padding: 0 15px;
        line-height: 45px;

    }

    .file-upload .file-select .file-select-button {
        font-size: 14px;
        padding: 0 15px;
        height: 44px;
        line-height: 45px;
    }

    .file-upload .file-select .file-select-button img {
        width: 15px;
        margin: -6px 4px 0 0;
    }

    .file-upload .file-select {
        height: 44px;
    }


    .application-form:before {
        margin-top: 209px;
    }
}


@media only screen and (min-width: 575px) and (max-width: 767px) {
    .application-form {
        margin: -155px 0 0 0;
        padding: 0 0 50px 0;
        min-height: 800px;
    }
}

@media only screen and (min-width: 0px) and (max-width: 574px) {
    .application-form {
        margin: -175px 0 0 0;
        padding: 0 0 50px 0;
        min-height: 800px;
    }
}


/*    @media(max-height: 500px) and (max-width: 768px) {*/
/*    header nav ul {*/
/*        margin-top: -204vh;*/
/*    }*/

/*    header.fixed nav ul.open {*/
/*        padding-bottom: 103px;*/
/*    }*/
/*}*/