/*
 Theme Name:   Transport Child 
 Theme URI:    http://example.com/transport/
 Description:  Transport Child 
 Author:       John Doe
 Author URI:   http://example.com
 Template:     tm_transport
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  tm_transportchild
*/

@media screen and (max-width:767px) {
    .big-title .entry-title{
        text-align: center;
    }
    .entry-content .widget.widget_text{
        text-align: center;
    }
    .entry-content .widget.widget_text .office i{
        float: unset; 
        display: inline;
    }
    .site-content .container{
        max-width: 100%;
    }
    body .wpb_accordion .wpb_accordion_wrapper .ui-state-default .ui-icon:after{
        border-width: 50px 0 0 30px;
    }

    body .wpb_accordion .wpb_accordion_wrapper .wpb_accordion_header a{
        padding-top: 0 !important;
    }

    body .wpb_accordion .wpb_accordion_wrapper .wpb_accordion_header{
        display: flex;
        height: 50px;
        align-items: center;
    }
    .page-id-22  .wpb_text_column.wpb_content_element{
        text-align: center;
    }
    .page-id-22 .wpb_text_column.wpb_content_element .wpb_wrapper{
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .page-id-22 .wpb_text_column.wpb_content_element .wpb_wrapper p{
        margin-bottom: 0;
        display: flex;
    flex-direction: column;
    }
    .page-id-22 .wpb_column.vc_column_container.vc_col-sm-4 .wpb_wrapper a img{
        margin: 10px 0;
    }
    .page-id-22 .wpb_column.vc_column_container.vc_col-sm-4 .wpb_wrapper .vc_empty_space{
        display: none;
    }
    .page-id-22 .wpb_column.vc_column_container.vc_col-sm-4 .wpb_wrapper a + br{
        display: none;
    }
    #post-74325 .products-sidebar .products.columns-3, .related.products .products.columns-3{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    #post-74325 .products-sidebar .vc_col-sm-8 .woocommerce ul.products li.product, .vc_col-sm-8 .woocommerce-page ul.products li.product, .related.products .products.columns-3 li.product{
        width: auto;
        margin-left: 10px;
        margin-right: 10px;
    }
    body .vc_custom_heading.style1:after, body .vc_custom_heading.style4:after, body .vc_custom_heading.style2:after{
        margin-left: 10px;
    }
    body .vc_custom_heading.style1:before, body .vc_custom_heading.style4:before, body .vc_custom_heading.style2:before{
        margin-right: 10px;
    }
    .vc_custom_heading.style3, .vc_custom_heading.style1, .vc_custom_heading.style4{ 
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .vc_custom_heading.style1 h2, .vc_custom_heading.style4 h2{
        white-space: nowrap;
    }

    
}


@media screen and (max-width:374px) {
    body .eg-jefferson-element-3{
        font-size: 12px;
        max-width: 100%;
        padding: 0 3px;
    }
}

@media screen and (max-width: 991px) {
    .social-menu .menu{
        display: flex;
        justify-content: center;
    }   
    .social-menu ul.menu li{
        margin: 0;
    }
    .social-menu ul.menu li+ li{
        margin-left: 20px;
    }
    body .extra-info i {
        display: inline;
        font-size: 20px;
        margin-bottom: unset;
        float: unset;
        margin-right: unset;
        display: unset;
    }
    body .extra-info > div{
        text-align: center;
    }
    .mobile-menu > ul li.current-menu-item a{
        color: #ca1f26;
    }
}

@media screen and (max-width:1199px) and (min-width: 991px) {
    nav#site-navigation .container{
        max-width: 100%;
        display: flex;
        justify-content: center;
    }
    
}

.woocommerce div.product{
    display: flex;
    flex-direction: column;
    text-align: center;
    width: 100%;
    align-items: center;
}



/* prettyPhoto mobile fix */
@media (max-width: 1024px)
{
    .pp_pic_holder.pp_default
    {
        width: 100%!important;
        margin-top:-100px !important;
        left: 0!important;
        overflow: hidden;
    }
    div.pp_default .pp_content_container .pp_left
    {
        padding-left: 0!important;
    }
    div.pp_default .pp_content_container .pp_right
    {
        padding-right: 0!important;
    }
    .pp_content
    {
        width: 100%!important;
        height: auto!important;
    }
    .pp_fade
    {
        width: 100%!important;
        height: 100%!important;
    }
    a.pp_expand,
    a.pp_contract,
    .pp_hoverContainer,
    .pp_gallery,
    .pp_top,
    .pp_bottom
    {
        display: none!important;
    }
    #pp_full_res img
    {
        width: 100%!important;
        height: auto!important;
    }
    .pp_details
    {
        box-sizing: border-box;
        width: 100%!important;
        padding-left: 3%;
        padding-right: 4%;
        padding-top: 10px;
        padding-bottom: 10px;
        background-color: #fff;
        margin-top: -2px!important;
    }
    a.pp_close
    {
        right: 10px!important;
        top: 10px!important;
    }
}

.rev_slider .tp-mask-wrap .tp-caption, .rev_slider .tp-mask-wrap *:last-child, .wpb_text_column .rev_slider .tp-mask-wrap .tp-caption, .wpb_text_column .rev_slider .tp-mask-wrap .tp-caption#slide-14-layer-2 {
    max-width: unset !important;
    max-height: unset !important;
}



/* Store widget fix */
#woocommerce_products-2 .product_list_widget li{
    width: 50%;
}
#woocommerce_products-2 .product_list_widget{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
#woocommerce_products-2 .product_list_widget li a{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
#woocommerce_products-2 .product_list_widget li a img{
    width: 95%;
}
/*END*/


/* News section */
.posts-archive-wrapper{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.posts-archive-wrapper article{
    flex-basis: 49%;
    max-width: 49%;
}
.archive-pagination{
    display: flex;
    justify-content: center;
    width: 100%;
}
.archive-pagination .page-numbers {
    margin: 0 5px 10px;
    padding: 0px 10px;
    border-radius: 5px;
    background-color: #e4e4e4;
    cursor: default;
    user-select: none;
}
.archive-pagination a.page-numbers{
    background-color: rgba(202, 31, 37, 0.8);
    transition: background-color 0.3s ease;
    color: #fff;
    cursor: pointer;
}
.archive-pagination a:hover{
    background-color: rgba(202, 31, 37);
}
/*END*/


/*Gallery */
.gallery-page-content {
    display: flex;
    min-height: 1000px;
}
.gallery-page-content .tab-content div {
    border: 0.3px #e4e4e4 solid;
    border-radius: 5px;
    display: none; 
    margin-bottom: 10px;
}
/* 
.gallery-page-content .tab-content{
    height: 0;
}

.gallery-page-content .tab-content.active{
    height: auto;
    transition: .5s;
} */

.gallery-page-content .tab-content div:target {
    display: flex;
    flex-wrap: wrap;
}
.gallery-page-content .tab-content div:target a{
    margin: 5px;
    min-width: 350px;
    max-width: 450px;
}

.gallery-page-content .tab-content div:target a img{
    width: 100%;
}

.tab-buttons {
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    min-width: 150px;
    flex: 1;

}

.tab-buttons a {
    padding: 14px 20px;
    display: block;
    box-sizing: border-box;
    border: solid transparent;
    position: relative;
    border-radius: 5px;
    border-color: #e3e3e3;
    background-color: #EBEBEB;
    color: #666;
}

.tab-buttons a:hover{
    background-color: #dcdcdc;
    color: #666;
}

.tab-buttons a.active {
    border-color: #f0f0f0;
    background-color: #f8f8f8;
    color: #666;
}


@media screen and (max-width:768px) {
    .gallery-page-content .tab-content div:target{
        column-count: 3;
        -webkit-column-count: 3;
        -moz-column-count: 3;
    }
}

@media screen and (max-width:425px) {
    .tab-buttons a{
        padding: 5px;
        margin: 0 2px;
        font-size: 12px;
    }
    .gallery-page-content .tab-content div:target{
        column-count: 2;
        -webkit-column-count: 2;
        -moz-column-count: 2;
    }
}
/*END*/
.wpml-ls-menu-item .wpml-ls-flag {
    height: 18px;
    margin-top: 15px;
}


.vc_custom_heading.style1{
    font-size: 36px;
}
.vc_custom_heading.style3:before{
    color: #ca1f26;
}

