/*

 Theme Name:     MTS

 Template:       Divi

*/

/* Header */
body{
    overflow-x: hidden !important;
}
.main-menu .menu-item {
    align-items: center !important;
}
.main-menu div{
    height: 100%;
}
.main-menu .et-menu{
    column-gap: 1vw;
}

.main-menu .et-menu>li{
    padding: 0 10px;
    margin: 0 !important;
}

.main-menu .et_pb_menu__menu .menu-item{
    border-top: 4px solid transparent;
}
.main-menu .et_pb_menu__menu .current-menu-item, .main-menu .et_pb_menu__menu .menu-item:hover{
    border-top: 4px solid #F0BB01 !important;
}
.main-menu .current-menu-item a, .main-menu .menu-item:hover a{
    font-weight: 700;
}
.main-menu .sub-menu li{
    width: 100%;
}
.main-menu .sub-menu li a{
    font-weight: 400 !important;
    width: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
}
.main-menu .et_pb_menu__menu .sub-menu li:hover, .main-menu .et_pb_menu__menu .sub-menu li{
    border: none !important;
    background-color: #EEF4FC !important;
}
.main-menu .sub-menu li:hover a{
    font-weight: 700 !important;
}
.main-menu .sub-menu, .main-menu .sub-menu li{
    padding: 0 !important;
}
.main-menu .nav li ul{
    width: 350px !important;
}
.main-menu .get-a-quote{
    background-color: #F0BB01 !important;
    padding: 0 15px !important;
}

.main-menu .get-a-quote a:after{
    content: '↗';
    font-size: 20px;
    padding-left: 10px;
}
.mobile_nav ul{
    width: 75vw !important;
    left: -26vw !important;
}

/* Home */
.hero-inner .et-last-child{
    position: absolute !important;
    right: -20vw !important;
    bottom: -5vh !important;
}
.custom-flex{
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
}
.custom-divider{
    flex: 0 0 40% !important;
    border-top: 1px solid #C1C5D7 !important;
}
.custom-divider-wrapper img{
    flex: 0 0 20% !important;
    padding: 0 8% !important;
}
.services-for-shippers .custom-flex h4{
    padding-right: 25px;
}
.services-for-shippers .custom-flex p{
    flex-grow: 1 !important;
    border-top: 1px solid #C1C5D7 !important;
}
.alaga-cta-1 .et_pb_row .et-last-child .et_pb_module{
    position: absolute !important;
    bottom: 0 !important;
    right: 0 !important;
}
.alaga-cta-1 .et_pb_row .et-last-child .et_pb_module{
    width: 100% !important;
}
.hidden-table table, .hidden-table td{
    border: none !important;
}
.hidden-table td{
    padding: 0 !important;
    padding-top: 20px !important;
}
.hidden-table tr:nth-child(1) td:first-of-type:after, .hidden-table tr:nth-child(2) td:first-of-type:after, .hidden-table tr:nth-child(3) td:first-of-type:after{
    content: ' .';
    padding: 15%;
    color: transparent !important;
    border-left: 2px dashed #838BAF;
    position: absolute;
    left: 32px;
    z-index: -1;   
}
.hidden-table tr:nth-child(3) td:first-of-type:after{
    border-left: 2px dashed transparent !important;
}
.hidden-table td:nth-child(2){
    padding-left: 15px !important;
}
.custom-button-2{
    margin: 0 !important;
}

/* Shippers */
.fix-button .et_pb_button:after{
    margin-left: .3em !important;
    right: auto !important;
}

/* Forms */
.et_pb_contact input{
    padding-left: 0 !important;
}


/* Section Header */
.section-header .et-last-child{
    position: absolute !important;
    right: -10vw !important;
    bottom: -5vh !important;
    z-index: 0 !important;
}
.section-header .et-last-child img{
    max-width: 450px !important;
}

/* Carriers */
.background-arrows{
    position: absolute !important;
    right: -15vw !important;
    bottom: -20vh !important;
}
.line-arrow{
    position: absolute !important;
    top: 48px !important;
    left: 104px;
}
.custom-step-flow{
    display: flex;
    min-width: 780px;
    justify-content: center;
}
@media (max-width: 780px){
    .custom-step-flow{
        padding: 0 10vw;
    }
}
.custom-overflow {
    overflow-x: auto !important;
}

/* About us */
.center{
    align-items: center;
}
.custom-cta .et_pb_button_wrapper a{
    padding: 10px 45px 10px 25px;
}
@media (min-width: 980px){
    .custom-cta .et_pb_button_wrapper{
        flex: 0 0 25% ;
    }
}
@media (min-width: 768px){
    .custom-cta{
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
    }   
    .custom-cta .et_pb_button_wrapper{
        flex: 0 0 40% ;
    }
    
}


/* Footer */
#menu-site-map{
    display: flex;
    justify-content: space-around;
}

/* Responsive */

/* Phone and Tablet */
@media (max-width: 980px){
    .hidden-table td:nth-child(2){
        padding-left: 15px !important;
    }
    #header .et_pb_row{
        display: flex;
        align-items: center;
    }
    #header .et_pb_row .et_pb_column{
        margin: 0;
    }
    .et_mobile_nav_menu{
        background-color: #F0BB01 !important;
    }
    .et_mobile_nav_menu{
        margin: 0 !important;
        padding: 20px !important;
    }
    .et_mobile_menu{
        padding: 0 !important;
    }
    .et_mobile_menu li, .et_mobile_menu li:hover{
        border-top: none !important;
    }
    .et_mobile_menu .sub-menu li{
        background: #515778 !important;
    }
    .et_mobile_menu .sub-menu li a{
        color: #515778 !important;
    }
    .alaga-cta-1 .et_pb_row .et-last-child .et_pb_module{
        position: relative !important;
    }
    .services-for-shippers{
        width: 100vw !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }
    .hero-inner .et-last-child{
        right: -50vw !important;
        bottom: -5vh !important;
    }    
    .services-for-shippers .swiper-container{
        overflow: visible !important;
    }
    .reverse-col-medium{
        display: flex !important;
        flex-direction: column-reverse;
        
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 980px){
    .medium-flex, .medium-row{
        display: flex !important;
        column-gap: 25px !important;
    }
    .medium-flex div{
        flex-grow: 1 !important;
        margin: 0 !important;
    }
    .section-header .et-last-child{
        right: -60vw !important;
        bottom: 0 !important;
    }
    
}

/* Phone */
@media (max-width: 768px){
    .small-reverse-column{
        display: flex;
        flex-direction: column-reverse;
    }
    .section-header .et-last-child{
        right: -40vw !important;
        bottom: 0 !important;
    }
    .custom-button-1, .custom-button-2{
        width: 100% !important;
        text-align: center !important;
    }
    
}

@media (max-width: 478px){
    .value-card-group{
        display: flex !important;
        column-gap: 4% !important;
    }
    .value-card-col{
        flex: 0 0 48%;
    }
}

@media (max-width: 500px){
    .hidden-table tr:nth-child(1) td:first-of-type:after, .hidden-table tr:nth-child(2) td:first-of-type:after, .hidden-table tr:nth-child(3) td:first-of-type:after{
        left: 7% !important;
    }
}
@media (min-width: 768px) and (max-width: 1160px){
    .hidden-table tr:nth-child(1) td:first-of-type:after, .hidden-table tr:nth-child(2) td:first-of-type:after, .hidden-table tr:nth-child(3) td:first-of-type:after{
        left: 7% !important;
    }
}