/*	
        Theme Name: Motors - Child Theme
        Theme URI: http://motors.stylemixthemes.com/
        Author: StylemixThemes
        Author URI: http://stylemixthemes.com/
        Description: Motors Child theme
        Version: 4.0
        License: GNU General Public License v2 or later
        License URI: http://www.gnu.org/licenses/gpl-2.0.html
        Tags: blue, red, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, fixed-layout, fluid-layout, responsive-layout, flexible-header, custom-background, custom-colors, custom-header, custom-menu, editor-style, sticky-post, theme-options
        Text Domain: motors-child
    Template: motors

    This theme, like WordPress, is licensed under the GPL.
    Use it to make something cool, have fun, and share what you've learned with others.
*/

/* Add your own styles here */

#top-bar {
    position: absolute;
    left: 0;
    top: 50%;
    z-index: 100;
    border-radius: 8px;
    background-color: #fff !important;
}
#top-bar .container, 
#top-bar .container .top-bar-wrapper{
    padding: 0;
}
#top-bar .container .header-top-bar-socs{
    margin-top: 0;
}
#top-bar .container .header-top-bar-socs li{
    margin: 0;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid;
    padding: 10px;
}
#top-bar .container .header-top-bar-socs li:last-child{
    border-bottom: none;
}
.theme-motors #top-bar .header-top-bar-socs{
    margin-left: 0;
}
#top-bar .header-top-bar-socs ul{
    display: flex;
    flex-direction: column;
}
.theme-motors #top-bar .header-top-bar-socs ul li{
    margin-right: 0;
}
.main-logo-menu-block{

}
.header-container{
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    position: relative;
}
.top-bar{
    background: #3c3c3c;
}
.top-bar .header-container{
    height: 50px;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    background: #3c3c3c;
    color: #fff;
    padding-right: 20px;
}
.top-bar span, .top-bar a{
    color: #aeaeae;
}
.top-bar i{
    font-size: 1.1em;
    padding-right: 5px;
}
.top-bar .separator-grey{
    width: 2px;
    height: 20px;
    background-color: #5c5c5c;
    margin: 0 15px;
}
.main-logo-menu-block{
    position: absolute;
    top:0;
    left:20px;
    padding: 15px 30px;
    border-radius: 0 0 20px 20px;
    z-index: 99;
    background-color: #ec0000;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 36%;
    max-width: 308px;
}
.main-logo-menu-block .menu-burger-wrapper {
    max-width: 30px;
    width: 100%;
    margin-right: 44px;
}
.main-logo-menu-block .menu-burger-wrapper .menu-burger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 22px;
    cursor: pointer;
}
.main-logo-menu-block .menu-burger-wrapper .menu-burger span{
    border-radius: 3px;
    height: 4px;
    width: 100%;
    background-color: #fff;
}
.main-logo-menu-block img{
    max-width: 300px;
    width: 100%;
    height: auto;
}
.stm-template-car_rental .stm_rent_car_form_wrapper .stm_rent_car_form{
    background-color: #f3f3f3 !important;
}
.stm-template-car_rental .stm_rent_car_form_wrapper .stm_pickup_location .select2-container--default .select2-selection--single{
    border-radius: 20px;
    border: 1px solid #ca0000;
}
.stm-template-car_rental .stm_rent_car_form_wrapper input{
    border-radius: 20px;
    border: 1px solid #ca0000 !important;
}

.form-btn-wrap button{
    border-radius: 20px;
    background-color: #ca0000 !important;
    width: 100%;
    box-shadow: none !important;
}
.img_wrap{
    width: 72px;
    height: 49px;
    background-size: contain;
    margin: 0 auto;
}
.img_wrap.koli{
    background-image: url('./assets/images/kolih.png');
}
.active .img_wrap.koli{
    background-image: url('./assets/images/koli.png');
}
.img_wrap.van{
    background-image: url('./assets/images/van.png');
}
.active .img_wrap.van{
    background-image: url('./assets/images/vanh.png');
}
.stm_rent_car_form label .radio{
    display: none;
}
.stm_rent_car_form{
    padding: 0 !important;
    border-radius: 20px;
    box-shadow: 0px 0px 20px rgba(0,0,0,0.7);
    width: 300px;
}
.auto_type_wrap{
    display: flex;
}
.auto_type_wrap label{
    text-align: center;
    width: 50%;
    padding: 0;
    margin: 0 !important;
}
.auto_type_wrap label:last-child .auto_type{
    background: #ec0000;
    border-radius: 0 20px;
    overflow: hidden;
    padding: 20px;
    box-shadow: inset 0px 0px 10px rgba(0,0,0,0.5);
}
.auto_type_wrap label:first-child .auto_type{
    background: #ec0000;
    border-radius: 20px 0;
    overflow: hidden;
    padding: 20px;
    box-shadow: inset 0px 0px 10px rgba(0,0,0,0.5);
}
.auto_type_wrap label .auto_type.active{
    box-shadow: unset;
    background: transparent;

}
.other_part_form_wrap{
    padding: 20px;
}
.stm-template-car_rental .stm_rent_car_form_wrapper .stm_rent_car_form .other_part_form_wrap .select2-container--default .select2-selection--single .select2-selection__arrow{
    width: 30px;
    background: #ec0000;
    border-radius: 0 20px 20px 0;
    height: calc(100% - 2px);
    text-align: center;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}
.stm-template-car_rental .stm_rent_car_form_wrapper .stm_rent_car_form .other_part_form_wrap .select2-container--default .select2-selection--single .select2-selection__arrow b{
    position: unset;
    margin: 0;
    padding: 0;
    top: unset;
    left: unset;
    color: #fff !important;
}
.stm-template-car_rental .stm_rent_car_form_wrapper .stm_rent_car_form .other_part_form_wrap i {
    color: #ec0000;
}

.stm-template-car_rental .stm_rent_location .select2-dropdown {
    border-radius: 20px;
    padding: 10px;
}
.select2-container--default .select2-search--dropdown .select2-search__field {
    border-radius: 20px;
}

.stm-template-car_rental .stm_rent_location .select2-dropdown .select2-results__options li {
    border-radius: 20px;
}
.stm-template-car_rental .stm_rent_car_form_wrapper .stm_pickup_location.stm_error .select2-container{
    outline: none !important;
}
.select2-search--dropdown .select2-search__field {
    padding: 4px 15px;
}
.stm-template-car_rental #wrapper #header{
    min-height: unset;
}
#footer-main{
    margin-top: 100px;
    position: relative;
}
.footer_subscribe{
    position: absolute;
    top: -75px;
    margin: 0 auto;
    left: 0;
    right: 0;
    background-color: #ec0000;
}
.subtitle_subscribe{
    padding-top: 20px;
    margin-top: 20px;
    border-top: 5px dotted #fff;
}
.white-dot-red {
    color: #fff;
    font-size: 20px;
}
.subscribe_title {
    color: #fff;
    font-size: 26px;
    padding-right: 30px;
    /*text-transform: uppercase;*/
}
#footer-main .footer_subscribe form{
    /*padding-top: 20px;*/

}
#footer-main .footer_subscribe form p{
    display: flex;
    margin: 0;
    padding: 0;
}
.footer_subscribe {
    width: 100%;
    margin: 0 auto;
    padding: 30px;
    justify-content: center;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.stm-template-car_rental .footer_widgets_wrapper{
    padding:0;
}
.widget-wrapper ul{
    list-style: none;
}
.widget-wrapper ul li a {
    color: #888;
}
.less_4 aside .widget-wrapper.grey-wrapp{
    padding: 30px !important;
    border-radius: 20px;
    background: #4a4a4a;
}
.widget-wrapper {
    padding: 30px;
}
.pull-left.language-switcher-unit{
    display: none;
}

.stm-template-car_rental .stm_products_grid_class .stm_product_grid_single:hover .inner:before {
    transform: scale(1) !important;
}

.stm-template-car_rental .stm_products_grid_class .stm_product_grid_single .inner:before {
    background-color: #fff !important;
    border: 4px solid #ec0000 !important;
}

.form-btn-wrap button .fa-telegram{
    color:#fff !important;
    top: 4px!important;
    left: -10px!important;
    font-size: 24px !important;
}
.stm-template-car_rental .stm_rent_car_form_wrapper button[type="submit"] {
    margin-top: 19px;
    padding: 4px 24px 12px 19px!important;
}
.stm-template-car_rental .stm_rent_car_form_wrapper .stm_rent_car_form h4 {
    text-align: center;
    color: #888;
    font-weight: 600;
}
.main-logo-menu-block .stm-opened-menu-listing {
    display: none;
    position: relative;
    background-color: #333333!important;
    padding: 16px 0 16px;
    width: 100%;
    box-shadow: none;
    overflow-y: auto;
    overflow-x: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    left: unset !important;
    top: unset !important;
    right: unset !important;
}
.main-logo-menu-block .stm-opened-menu-listing.active{
    display: block;
}
.fixed {
    position:fixed; 
    width:100%;
}
.stm-opened-menu-listing .listing-menu-mobile li a {
    display: block;
    height: 50px;
    line-height: 50px;
    /*padding-left: 36px;*/
    padding-right: 25px;
    text-decoration: none !important;
}
.stm-opened-menu-listing .listing-menu-mobile > li > a {
    padding-right: 40px;
    position: relative;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
}
.stm-opened-menu-listing .listing-menu-mobile {
    padding: 0;
    list-style: none;
}
.stm-opened-menu-listing .phone,
.stm-opened-menu-listing .email{
    display: none;
}

.stm-template-car_rental .stm_products_grid_class .stm_product_grid_single .inner .stm_top{
    display: flex;
}
.stm-template-car_rental .stm_products_grid_class .stm_product_grid_single .inner .stm_top .stm_left{
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: space-between;
    padding: 0 10px;
}
.stm-template-car_rental #main .stm-background-centered {
    background-position: center center !important;
    background-size: cover !important;
}
.stm-template-car_rental .stm_rent_car_form_wrapper.style_1 .stm_pickup_location{
    padding-bottom: 10px;
}
.stm-template-car_rental .stm_single_class_car .stm_rent_prices .stm_rent_price:last-child .pay a{
    color: #fff !important;
}
.stm-template-car_rental .stm_single_class_car .stm_rent_prices .stm_rent_price .total.heading-font {
    font-size: 18px;
    font-weight: bold;
}
.stm-template-car_rental .stm_single_class_car .stm_rent_prices .stm_rent_price .total .woocommerce-Price-amount.amount{
    font: inherit;
}
.stm-template-car_rental .stm_custom_rental_checkout .woocommerce-checkout-review-order .stm_rental_payment_methods .woocommerce-checkout-payment .place-order #place_order.button{
    color: #fff !important;
}

.stm-template-car_rental .stm_custom_rental_checkout input[type="date"] {
    display: block;
    width: 100%;
    height: 47px;
    line-height: 47px;
    padding: 0 21px;
    font-weight: 400;
    color: #888888;
    border: 2px solid #eceff3;
    font-size: 14px;
    outline: none !important;
    background-color: #eee;
    border-radius: 2px;
}
.stm_rent_table_wrap{
    display: flex;
    flex-direction: row;
    background-color: #f9f9f9;
}
.stm_rent_table_wrap-name{
    width: 70%;
    padding: 10px 10px 8px 28px;
    font-size: 12px;
    color: #2a4045;
    text-transform: uppercase;
    font-weight: 700;
}
.stm_rent_table_wrap-value{
    padding: 10px 10px 8px 28px;
    font-size: 12px;
    color: #2a4045;
    text-transform: uppercase;
    font-weight: 700;
}
#footer .widget-wrapper .heading-font {
    color: #888;
}
#footer .widget-wrapper ul{
    padding: 0;
}
@media (max-width:900px){
    .main-logo-menu-block .stm-opened-menu-listing {
        top: 99px;
        left: 20px;
        padding: 0;
        width: fit-content;
    }
    .stm-template-car_rental .stm_rent_car_form_wrapper {
        width: 60%;
        margin: 0 auto;
        margin-top: 8px;

    }
}
@media (max-width: 767px){
    .woocommerce.stm-template-car_rental .stm_single_class_car .stm_rent_prices {
        text-align: center;
        margin-top: 30px;
        padding-right: 0;
    }
    .woocommerce.stm-template-car_rental .stm_single_class_car .col-md-8.col-sm-8.second{
        text-align: center;
    }
}

@media (max-width: 1025px) {
.stm-opened-menu-listing {
    display: block;
    position: fixed;
    top: 96px;
    bottom: 0;
    right: -279px;
    background-color: #333333!important;
    padding: 16px 0 16px;
    width: 279px;
    box-shadow: -1px 3px 5px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    overflow-x: hidden;
    transition: all 0.3s ease;
    z-index: 100;
}
}
@media (max-width:700px){
    .top-bar{
        display: none;
    }
    .stm-opened-menu-listing .phone,
    .stm-opened-menu-listing .email{
        display: block;
    }
    .other_part_form_wrap {
        margin: 0 auto;
        max-width: 400px;
    }
    .main-logo-menu-block {
        border-radius: 0;
        position: relative;
        top: 0;
        left: unset;
        padding: 15px 30px;
        z-index: 99;
        background-color: #ec0000;
        display: flex;
        align-items: center;
        width: 100%;
        height: auto;
        max-width: unset;
        justify-content: center;
    }
    .main-logo-menu-block .stm-opened-menu-listing {
        top: 99px;
        left: 20px;
        padding: 0;
        width: 420px;
        left: 50%;
        top: 93px;
        /*transform: translate(-50%);*/
    }
    .stm-template-car_rental .stm_rent_car_form_wrapper {
        width: 100%;
    }
    .footer_subscribe.container{
        flex-direction: column;
    }
    .subscribe_title{
        padding-bottom: 20px;
        text-align: center;
        line-height: 30px;
    }
    #footer-main .footer_subscribe form p{
        display: flex;
        flex-direction: column;
    }
    #footer-main .footer_subscribe form p .wpcf7-form-control-wrap{
        padding-bottom: 20px;
    }

}

#main_slider {
    position: absolute;
    width: 58%;
    padding-top: 223px;
}

