/*
Theme Name: Logistic Business Child
Description: Child theme for Logistic Business
Author: Your Name
Template: logistic-business
Version: 1.0.0
*/

/* Import parent theme styles */
@import url("../logistic-business/style.css");

@font-face {
    font-family: 'VSFont';
    src: url(fonts/SF-Pro-Display-Regular.otf);
}
@font-face {
    font-family: 'VSFont';
    font-weight: 500;
    src: url(fonts/SF-Pro-Display-Semibold.otf);
}
@font-face {
    font-family: 'VSFont';
    font-weight: bold;
    src: url(fonts/SF-Pro-Display-Bold.otf);
}

.blog.opened-article .post .cmsmasters_post_cont{
    overflow: unset;
}
.content{
    z-index: 2;
}
.badge-new-menu {
    position: relative;
    padding-right: 30px;
}
.badge-new-menu:after {
    content: '';
    background: url(https://vietsunlogistic.com/wp-content/uploads/2025/10/badge-new-2.png);
    width: 30px;
    height: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: 0px;
    right: 6px;
    animation: pulse 1s infinite;
}
header.cmsmasters_archive_item_header.entry-header.badge-new-box {
    padding-left: 55px;
    position: relative;
}
.badge-new {
    display: inline-block;
    position: absolute;
    top: 8px;
    left: 0;
    width: 50px;
    height: auto;
}
.post.cmsmasters_default_type .cmsmasters_post_title, .post.cmsmasters_default_type .cmsmasters_post_title a {
    font-weight: 400;
}
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 15px;
}
h1.home-h1 {
    font-size: 18px;
    display: inline-block !important;
    font-weight: bold;
}
.cmsmasters_post_cont p {
    margin-bottom: 15px;
}
.cmsmasters_post_cont ul {
    margin-bottom: 15px;
}
.cmsmasters_post_cont .wp-caption .wp-caption-text {
    padding: 8px 0 !important;
    text-align: center;
    margin-bottom: 0!important;
}
.cmsmasters_wrap_pagination {
    display: flex;
    justify-content: flex-end;
}
.cmsmasters_footer_small .footer_copyright {
    text-align: center;
    font-size: 14px;
    color: #d6d6d6;
}
div#bottom .social_wrap {
    margin-top: 15px;
}
div#bottom .social_wrap li {
    padding: 5px !important;
}
.header_top_left .meta_wrap {
    font-weight: 400;
    font-size: 13px;
    color: #ed1c24;
}
.datetime-post {
    font-size: 14px;
    opacity: 0.8;
    padding: 5px 0px;
}
.cmsmasters_archive_type .cmsmasters_archive_item_header {
    padding: 0 0 0;
}
.share-post {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative !important;
    z-index: 999 !important;
}
.zalo-share-button {
    position: relative;
    z-index: 999 !important;
}
a.btn-share-fb, a.btn-copy-link{
    background: #fff;
    width: 32px;
    height: 32px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}
a.btn-share-fb i , a.btn-copy-link i{
    color: #757575;
}
iframe {
    max-width: unset !important;
    z-index: 999 !important;
}
.blog iframe {
    aspect-ratio: 16 / 9;
    width: 100%;
    height: auto;
    display: block;
}
.cmsmasters_footer_small .social_wrap a {
    font-size: 18px;
    line-height: 18px;

}
.social_wrap .social_wrap_inner a{
    font-size: 19px;
}
.header_mid .header_mid_inner .logo_wrap {
    width: 450px;
}
.bot_nav > li > a {
    padding: 15px !important;
}

.bot_nav_wrap ul.sub-menu li a {
    font-size: 14px;
    text-transform: uppercase;
}
div#bottom ul li {
    border: none;
}
.footer_border {
    border-color: #d1d1d1;
}
div#bottom ul li a {
    color: #d1d1d1;
}
.widget_custom_contact_info_entries span {
    color: #d1d1d1;
}
html .cmsmasters_color_scheme_first a{
    color:#d1d1d1;
}
html .cmsmasters_color_scheme_first .cmsmasters_counters .cmsmasters_counter_wrap .cmsmasters_counter {
    background-color: #2c2c2c;
    border-color:#2c2c2c;
}
html .cmsmasters_color_scheme_second .cmsmasters_quotes_slider.cmsmasters_quotes_slider_type_box .wrap_quote_title *{
    color:#2c2c2c;
}

.featured_block_text h3.cmsmasters_heading {
    height: 50px;
}
.cmsmasters_post_content.entry-content {
    margin-top: 25px;
}
html .cmsmasters_color_scheme_first .bottom_bg{
    background-color: rgb(0,38,100);
}
html .cmsmasters_color_scheme_first .contact_widget_name:before, html .cmsmasters_color_scheme_first .contact_widget_email:before, html .cmsmasters_color_scheme_first .contact_widget_url:before, html .cmsmasters_color_scheme_first .contact_widget_phone:before, html .cmsmasters_color_scheme_first .adress_wrap:before {
    color: #d1d1d1;
}
.bot_nav > li > a {
    padding: 13px 35px 13px 20px;
}
small, .tweet_time, .rss-date, .comment-respond .comment-reply-title a, .post_comments .cmsmasters_comment_item_date, .cmsmasters_single_slider .cmsmasters_single_slider_item_date, .post.cmsmasters_masonry_type .cmsmasters_post_date, .cmsmasters_archive_type .cmsmasters_archive_item_date, .post.cmsmasters_post_puzzle .cmsmasters_post_date, .cmsmasters_posts_slider .cmsmasters_post_date, .headline_outer, .headline_outer a, .cmsmasters_breadcrumbs_inner, form .formError .formErrorContent {
    font-family: 'VSFont', Arial, Helvetica, 'Nimbus Sans L', sans-serif;
    font-size: 16px;
}
.post-password-form, .header_top_inner, .header_mid_inner, .header_bot_inner, .content_wrap, .headline_inner, .bottom_outer, .footer_inner, .footer_copyright_inner, .cmsmasters_row_inner {
    position: relative;
    width: 1290px;
    padding: 0 20px;
    margin: 0 auto;
}
.navigation li > a .nav_tag, .navigation ul li a{
    font-family: 'VSFont', Arial, Helvetica, 'Nimbus Sans L', sans-serif;

}
.cmsmasters_post_content.entry-content {
    text-align: justify;
}
div#bottom .widget_nav_menu > div > ul li > a:before {
    display:none;
}
div#bottom ul li a {
    padding-top: 0;
}
h5.cmsmasters_slider_post_title.entry-title a {
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    display: -webkit-box;
    height: 60px;
    font-size: 22px;
    line-height: 1.3;
    text-transform: none;
}
.blog.opened-article .cmsmasters_post_title {
    text-transform: unset;
    font-size: 22px;
}
.cmsmasters_tabs.lpr .cmsmasters_lpr_cont a {
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    display: -webkit-box;
    height: 55px;
    line-height: 1.3;
    text-transform: none;
}
.header_top .social_wrap a {
    opacity: 1;
    font-size:18px;
}
.dich-vu-grid {
    margin-top:35px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}
.single-dich_vu .content.entry img {
    width: 100%;
}
.widget_nav_menu li > a:before {
    background: transparent;
}
.widget_nav_menu > div > ul > li > a:hover {
    color: #bababa;
}
.header_top_left .meta_wrap {
    font-size: 16px;
}
.drag_element.tips img {
    cursor: pointer;
}
.bottom_outer *::selection{
    background: transparent aliceblue!important;
    color:#fff !important;
}

.bot_nav_wrap ul.sub-menu li a {
    font-size: 14px;
}
.cmsmasters_posts_slider {
    padding-top: 0;
    margin: 0;
}
.content_wrap.r_sidebar .share_posts a {
    color: #002664;
}
figcaption {
    padding: 5px;
    text-align: center;
    font-size: 14px;
    margin-bottom: 15px;
}
figcaption > * {
    font-size: 14px;
}
.arcontactus-widget .arcontactus-message-button p, .arcontactus-widget .arcontactus-message-button .arcu-item-label {
    padding: 0 !important;
}
.arcontactus-widget .arcontactus-message-button .static div {
    text-align: center;
}
small, .tweet_time, .rss-date, .comment-respond .comment-reply-title a, .post_comments .cmsmasters_comment_item_date, .cmsmasters_single_slider .cmsmasters_single_slider_item_date, .post.cmsmasters_masonry_type .cmsmasters_post_date, .cmsmasters_archive_type .cmsmasters_archive_item_date, .post.cmsmasters_post_puzzle .cmsmasters_post_date, .cmsmasters_posts_slider .cmsmasters_post_date, .headline_outer, .headline_outer a, .cmsmasters_breadcrumbs_inner, form .formError .formErrorContent {
    font-family: 'VSFont', Arial, Helvetica, 'Nimbus Sans L', sans-serif;
    font-size: 12px;
}
.noidungmap, .tieudemap {
    font-family: 'VSFont', Arial, Helvetica, 'Nimbus Sans L', sans-serif !important;
    padding: 0 !important;
}
span.cmsmasters_archive_item_date_wrap, span.cmsmasters_archive_item_user_name {
    display: none;
}
.cmsmasters_archive_item_type {
    display: none;
}

.header_mid .header_mid_inner .logo_wrap {
    width: 400px;
}
#owl-service {
    padding-bottom: 25px;
}
#owl-service .owl-pagination {
    bottom: 0 !important;
}
.item-service {
    margin: 5px 5px;
    background: #f5f5f5;
    border: none;
    overflow: hidden;
    border-radius: 15px;
}
.item-service img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.item-service:hover img {
    transform: scale(1.1);
}

.item-service a.thumb-services  {
    height: 200px;
    display: block;
    overflow: hidden;
}
.desc-service {
    padding: 15px;
}

.desc-service h3 a {
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    display: -webkit-box;
    height: 60px;
    font-size: 22px;
    line-height: 1.3;
    text-transform: none;
    text-align: center;
}
.desc-service h3 {
    margin-bottom: 10px;
}
.desc-service p {
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    display: -webkit-box;
    height: 75px;
}
.viewmore-service {
    text-align: center;
    margin-bottom: 20px;
}
.viewmore-service a {
    display: inline-block;
    margin: 0 auto;
    padding: 5px 15px;
    border: 1px solid #002664;
    border-radius: 50px;
}
#owl-service .owl-page{
    background: #bbb;
}

#owl-service .owl-page.active {
    background: #042966;
}
.header_mid .slogan_wrap strong {
    color: #002664;
}

.cmsmasters_clients_item img {
    object-fit: contain;
}


div#owl-service .owl-prev {
    left: -50px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
div#owl-service .owl-next {
    right: -50px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
div#owl-service span.cmsmasters_prev_arrow, span.cmsmasters_next_arrow {
    width: 50px;
    height: 50px;
}
div#owl-service .cmsmasters_prev_arrow span:before, div#owl-service .cmsmasters_next_arrow span:before {
    font-size: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}



/*Form*/
.form-tracking-sc {
    position: relative;
    z-index: 999;
    bottom: 220px;
    margin-bottom: -220px;
}
.form-tracking-sc h2 {
    color: #fff;
    text-shadow: 1px 1px black;
}
.form-tracking-sc form {
    display: flex;
    flex-direction: column;
    width: 500px;
    margin: 0 auto;
    margin-bottom: 25px;
}

.tracking-form {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}
.tracking-form > div {
    position: relative;
    flex-basis: calc(50% - 5px);
    height: 50px !important;
}

.tracking-form > div input {
    width: 100%;
    border: 1px solid #8c8c8c;
    border-radius: 5px;
    height: 100% !important;
    padding-top: 25px !important;
}
button#tracking-btn {
    margin: 0;
    border: none;
    display: block !important;
    height: 50px;
    flex: 100%;
    border-radius: 8px;
    cursor: pointer;
    text-transform: none;
    background: #ee2a33;
    color:#fff;
}

input#tracking-input:focus {
    border: none;
    outline: none;
    box-shadow: none;
}

.tracking-form label {
    position: absolute;
    top: 3px;
    left: 10px;
    font-size: 12px;
    color: #666;
}

.card-repeater {
    background: #fff;
    width: 600px;
    margin: 0 auto;
    display: none;
    grid-template-columns: repeat(2, 1fr);
    box-shadow: 0 .1rem .4rem 0 #32323280;
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
}
.card-info {
    cursor: pointer;
    padding: 25px;
    text-align: center;
    transition: 0.3s;
}
.card-info a {
    display: block;
}
.card-info:hover {
    box-shadow: 0 .2rem 3rem .1rem #5e5e5e66;
}
.card-info p {
    padding-bottom: 0;
    font-size: 14px;
    color: #777;
}
.desc-info h4 {
    margin-bottom: 0px;
    color: #000;
    font-size: 14px;
}
.card-info i {
    font-size: 28px;
    margin-bottom: 13px;
    color: #ee2a33;
}
.desc-info {
    text-align: center;
}

.card-info:nth-child(2) {
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
}

.page-id-9471 .fixed_header #header {
    position: static;
}
.page-id-9471 #page.cmsmasters_heading_after_header.enable_header_top.enable_header_bottom #middle{
    padding-top: 0px;
}

.page-id-9471 .header_bot .header_bot_outer {
    z-index: 1;
}
.page-id-9471 .middle_inner {
    background: #f2f2f2;
}
.tracking-pagetile {
    padding-top: 35px;
    padding-bottom: 35px;
    background: #fff;
}
.tracking-pagetile h1 {
    margin-bottom: 0px;
}
.tracking-content {
    padding-top: 50px;
    padding-bottom: 50px;
}
.blog.opened-article h1 {
    font-weight: bold;
    margin-bottom: 15px;
}
a.link-image-post {
    display: block;
    width: 100%;
}

a.link-image-post img {
    width: 100%;
}

/* Lightbox styles cho hình ảnh có link media */
.lightbox-link {
    position: relative;
    display: inline-block;
}

.lightbox-link img {
    max-width: 100%;
    height: auto;
}

/* Căn giữa hình ảnh WordPress */
.entry-content img.aligncenter,
.entry-content .wp-block-image.aligncenter img,
.entry-content figure.aligncenter img,
.entry-content .wp-caption.aligncenter img,
.post_content img.aligncenter,
.cmsmasters_post_content img.aligncenter,
.single-post .content img.aligncenter,
.lightbox-link img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.entry-content .wp-block-image.aligncenter,
.entry-content figure.aligncenter,
.entry-content .wp-caption.aligncenter,
figure.wp-block-image.aligncenter {
    text-align: center;
}
@keyframes pulse {
    0%   {
        transform: scale(1);
        opacity: 1;
    }
    50%  {
        transform: scale(1.2);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}
@media screen and (max-width: 767px ) {
    .dich-vu-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    html .header_mid .slogan_wrap{
        display: none;
    }
    .header_mid .header_mid_inner .logo_wrap, .header_mid_inner .logo img.logo_retina {
        width: 100%;
        object-fit: contain !important;
    }

    .form-tracking-sc form {
        padding: 15px;
        width: 100%;
    }

    .form-tracking-sc {
        position: relative;
        z-index: 999;
        bottom: 0;
        margin-bottom: 0;
    }
    .form-tracking-sc h2 {
        color: #002664;
        text-shadow: none;
    }
    .card-repeater {
        background: #fff;
        width: 100%;
        box-shadow: 0 0.1rem 0.4rem 0 #32323280;
        border-radius: 0;
    }
    .card-info {
        padding: 15px;
    }
    .owl-controls {
        display: none;
    }

}