/*

Theme Name: AGR-Group

Description: AGR-Group build

Author: Valery_WEB

Version: 0.0.1

*/

/*ALL STYLE*/
*:focus {
    outline: none !important;
}

#menu-item-20 .sub-menu {
    min-width: 240px;
}

.main_navigation_aside .sub-menu {
    display: block;
}

.navbar .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 185px;
    padding: 5px 0;
    margin: 2px 0 0;
    font-size: 14px;
    text-align: left;
    list-style: none;
    background-color: #303842;
    border: 1px solid #ccc;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 4px;
    -webkit-box-shadow: 0 6px 12px rgba(0,0,0,.175);
    box-shadow: 0 6px 12px rgba(0,0,0,.175);
}

.navbar .sub-menu li {
    border-bottom: 1px solid #454c55;
    margin-left: 15px;
    margin-right: 15px;
    background: transparent;
}


.navbar .sub-menu li a {
    margin-left: 0%;
    margin-right: 10%;
    text-align: left;
    padding-left: 0px;
    text-decoration: none;
    display: block;
    padding: 3px 20px 3px 0;
    clear: both;
    font-weight: 400;
    line-height: 1.42857143;
    white-space: normal;
}

.navbar .sub-menu li a:hover {
    background-color: #303842;
    color: #f76729;
}

.navbar .menu-item-has-children > a {
    cursor: pointer;
}

.navbar .menu-item-has-children > a:after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 2px;
    vertical-align: middle;
    border-top: 4px dashed;
    border-top: 4px solid\9;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
}

.carousel form,
.about_main form{
    background-color: rgba(240, 237, 235, 0.90);
    border-radius: 0 0 10px 10px;
}

.carousel div.wpcf7-response-output,
.about_main div.wpcf7-response-output{
    padding-bottom: 10px;
    border: none;
}

.carousel input:not([type="submit"]),
.about_main input:not([type="submit"]) {
    margin-top: 10px;
    border-radius: 20px;
    background-image: url(./img/input-1.png), url(./img/hr.png);
    background-repeat: no-repeat;
    background-position: 13px 13px, 30px 0;
    padding-left: 38px;
    height: 39px;
    background-color: #fff;
    font-size: 18px;
    font-family: opensans_regular;
    color: #303842;
}

input:not([type="submit"])[name="text-422"] {
    background-image: url(./img/input-2.png), url(./img/hr.png);
    background-repeat: no-repeat;
    background-position: 9px 13px, 30px 0;

}

input:not([type="submit"])[name="tel-924"] {
    background-image: url(./img/input-3.png), url(./img/hr.png);
    background-repeat: no-repeat;
    background-position: 13px 13px, 30px 0;
}

.scroll_nav {
    display: block;
}

.main_navigation_aside {
    padding-bottom: 20px;
}

.main_navigation_aside > ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.main_navigation_aside > ul > li {
    padding-top: 25px;
    font-size: 20px;
    font-family: "opensanssemibold";
    padding-left: 20px;
    background-image: url(./img/triangle.png);
    background-repeat: no-repeat;
    background-position: 5px 34px;
}

.main_navigation_aside > ul > li a {
    color: #282828;
}

.main_navigation > ul >li > ul {
    list-style: circle;
}

.main_navigation > ul >li > ul li a {
    font-size: 17px;
    font-family: "opensanssemibold";
    color: #282828;
}

.main_navigation > ul >li > ul li {
    list-style: none;
    padding-left: 13px;
    background-image: url(./img/main_circle.png);
    background-repeat: no-repeat;
    background-position: 0px 9px;
}

.cd-breadcrumb {
    margin-left: -15px;
}

.cd-breadcrumb li + span {
    color: #f36224;
    font-size: 18px;
    font-family: opensanssemibold;
}

.cd-breadcrumb li,
.cd-breadcrumb li + span {
    margin-top: 20px;
    display: inline-block;
    margin-left: 10px;
    margin-right: 10px;
    background-position: 0px 8px;
}

.cd-breadcrumb li:first-child {
    margin-left: 0;
}

.vacancy_benefit p {
    margin-bottom: 60px;
}

input[type=checkbox] {
    position: static;
}

.data {
    padding-left: 0;
}

.data > span,
.reverse_form > span {
    display: inline-block;
    vertical-align: middle;
}

.data > span:last-child,
.reverse_form > span:last-child {
    width: calc(100% - 40px);
    padding-left: 10px;
}

.question_answer .spoiler-body {
    height: auto;
    padding-bottom: 10px;
}

.transportation_rus_benefit_inside {
    min-height: 240px;
    text-align: center;
}

.transportation_rus_form p {
    padding-top: 0;
}

.transportation_rus_form .transportation_rus_first {
    padding-top: 33px;
}

.transportation_rus_form .reverse_form{
    padding: 0;
}

.transportation_rus_form .reverse_form input[type=checkbox] {
    position: static;
}

.transportation_rus_form {
    height: auto;
}

.transportation_mos h3 {
    padding-top: 0;
}

.transportation_mos_caption_wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.transportation_mos_caption_wrap > div {
    margin: auto;
}

.autopark_choice ul li:first-child {
    margin-left: -15px;
}

.autopark_choice ul li:first-child {
    padding: 0;
}

.autopark_choice ul li {
    padding-left: 16px;
}

.nav-pills>li.active>a, .nav-pills>li.active>a:focus, .nav-pills>li.active>a:hover {
    background-color: #f36224;
}

footer h3 a,
footer h3 a:hover {
    color:#fff;
}

.news-cap {
    font-size: 18px;
    line-height: 24px;
    color:#282828;  
    text-transform: uppercase;
    font-family: opensanssemibold;
}

.news-cap:hover {
    color: #f36224;
}

.page_wparrer img {
    max-width: 100%;
    height: auto;
}

.img_wrap_n img {
    width: 100%;
    height: 200px;
    -o-object-fit: cover;
       object-fit: cover;
}

.img_wrap_n {
    margin-bottom: 20px;
}

input[name="names"] {
    margin-top: 10px;
    border-radius: 20px;
    background-image: url(./img/input-2.png), url(./img/hr.png);
    background-repeat: no-repeat;
    background-position: 9px 13px, 30px 0;
    padding-left: 38px;
    height: 39px;
    background-color: #fff;
    font-size: 18px;
    font-family: opensans_regular;
    color: #303842;
}

input[name="phones"] {
    margin-top: 10px;
    border-radius: 20px;
    background-image: url(./img/input-3.png), url(./img/hr.png);
    background-repeat: no-repeat;
    background-position: 13px 13px, 30px 0;
    padding-left: 38px;
    height: 39px;
    background-color: #fff;
    font-size: 18px;
    font-family: opensans_regular;
    color: #303842;
}

.modal-body {
    height: auto;
}

.block_choice {
    height: auto;
}

@media (max-width: 991px) {
    .about_main {
        height: 380px;
        background-repeat: no-repeat !important;
    }

    .about_main.main_vacancy,
    .about_main_about,
    .about_main.answer_main,
    .about_main.transportation_mos,
    .about_main.tarrif_mos,
    .about_main.our_autopark_main,
    .about_main.contact {
        background-size: cover;
        height: 480px;
    }

    .tarrif_mos {
        height: 480px;
    }

    .carousel {
        height: 400px;
    }

    .carousel .item img {
        height: 400px;
        -o-object-fit: cover;
           object-fit: cover;
    }

    .transportation_russian {
        height: 300px;
        min-height: 300px;
        background-size: cover;
    }

    .transportation_mos_caption_wrap {
        display: block;
    }

}

@media (max-width: 768px) {

    .carousel {
        height: 380px;
    }

    .carousel .item img {
        height: 380px;
    }

    .about_transportation h3 {
        padding-top: 140px;
    }

}

@media (max-width: 580px) {
    .carousel {
        height: 550px;
    }

    .carousel .item img {
        height: 550px;
    }
    .cd-breadcrumb {
        padding-top: 40px;
        padding-bottom: 20px;
    }
}

@media (max-width: 320px) and (min-width: 240px) {
    .cd-breadcrumb {
        padding-left: 10px;
        padding-top: 25px;
    }

    .carousel {
        min-height: 550px;
    }

    .block_choice ul li {
        margin-top: 0;
    }

}

@media (max-width: 320px) and (min-width: 240px) {
    .about_main_content img {
        display: block;
    }
}
@media (max-width: 480px) and (min-width: 320px){
    footer {
        height: auto;
        margin: 0;
    }

    .autopark_choice ul {
        padding-left: 0;
    }

    .autopark_choice ul li:nth-child(n) {
        display: block;
        float: none;
        padding-left: 0;
    }

    .contacts iframe {
        height: 300px;
    }
    .cd-breadcrumb {
        display: none;
    }

    .about_main h3 {
        font-size: 22px;
    }
}

footer .main h3,
footer .main h4,
.service h3,
.tariff h3,
.feedback h3,
.tariff .phone_footer p {
    font-size: 14px;
    text-transform: uppercase;
    font-family: opensanssemibold;
}

footer .main h3:hover,
footer .main h4:hover,
.service h3:hover,
.tariff h3:hover,
.feedback h3:hover {
    -webkit-text-decoration-color: #f36224;
            text-decoration-color: #f36224;
}

footer .main ul li a,
.service ul li a,
.tariff ul li a {
    font-size: 12px;
}

footer .main ul li a:hover,
.service ul li a:hover,
.tariff ul li a:hover {
    font-size: 12px;
    -webkit-text-decoration-color: #f36224;
            text-decoration-color: #f36224;
}

footer .main h3 {
    padding-bottom: 29px;
}

.feedback h3.our_park  {
    text-align: left;
    padding-bottom: 20px;
}

.feedback h3.our_park:last-child {
    padding-top: 0;
}
/* .about_main {
    height: 317px;
} */