﻿/*Start: Box style các khối nội dung tin kéo vào CKEditor*/
/*#1, Box item gồm: ảnh, tiêu đề.*/
.simple-box-slide-qh24 {
    width: 100%;
    max-width: 100%;
}

.blog_right_sidebar {
    width: 100%;
}

    .blog_right_sidebar .widget_title {
        font-size: 20px;
        margin-bottom: 20px;
        color: #1f4284;
        text-transform: uppercase;
        font-weight: 700;
    }

        .blog_right_sidebar .widget_title span {
            text-transform: none;
        }

        .blog_right_sidebar .widget_title::after {
            content: '';
            display: block;
            padding-top: 10px;
            border-bottom: 1px solid #ddd;
        }

    .blog_right_sidebar .single_sidebar_widget {
        background: #f1f5f9;
        padding: 23px;
    }

        .blog_right_sidebar .single_sidebar_widget .btn_1 {
            margin-top: 0px;
        }

        .blog_right_sidebar .single_sidebar_widget .post_item img {
            width: 30%;
        }

    .blog_right_sidebar .popular_post_widget .post_item .media-body {
        justify-content: center;
        padding-left: 20px;
    }

        .blog_right_sidebar .popular_post_widget .post_item .media-body h3 {
            font-size: 14px;
            line-height: normal;
            margin-bottom: 5px;
            transition: all 0.3s linear;
            text-align: justify;
        }

        .blog_right_sidebar .popular_post_widget .post_item .media-body a {
            color: black;
        }

        .blog_right_sidebar .popular_post_widget .post_item .media-body p {
            font-size: 12px;
            line-height: 21px;
            margin-bottom: 0px;
        }

    .blog_right_sidebar .popular_post_widget .post_item + .post_item {
        margin-top: 20px;
    }

    .blog_right_sidebar .br {
        width: 100%;
        height: 1px;
        background: #eee;
        margin: 30px 0px;
    }

    .blog_right_sidebar .mediaBox {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-align: start;
        align-items: flex-start;
    }

    .blog_right_sidebar .separator.separator-dashed {
        border-bottom-color: #ccc;
    }
/*Start: Box style các khối nội dung tin kéo vào CKEditor*/

.separator {
    display: block;
    height: 0;
    border-bottom: 1px solid #eff2f5;
}

    .separator.separator-dashed {
        border-bottom-style: dashed;
        border-bottom-color: #eff2f5;
    }

.blog_right_sidebar .separator.separator-dashed {
    border-bottom-color: #ccc;
}

a.text-gray-800 {
    color: black !important;
    font-weight: 500;
}

/* common style */
.styled-icons a {
    color: #333333;
    font-size: 18px;
    height: 32px;
    line-height: 32px;
    width: 32px;
    float: left;
    margin: 5px 7px 5px 0;
    text-align: center;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

    .styled-icons a:hover {
        color: #666666;
    }

.styled-icons.icon-gray a {
    background-color: #eeeeee;
    color: #555555;
    display: block;
    font-size: 18px;
    height: 36px;
    line-height: 36px;
    width: 36px;
}

    .styled-icons.icon-gray a:hover {
        color: #bbbbbb;
    }

.styled-icons.icon-gray.icon-bordered a {
    background-color: transparent;
    border: 2px solid #eeeeee;
}

    .styled-icons.icon-gray.icon-bordered a:hover {
        border: 2px solid #d5d5d5;
    }

.styled-icons.icon-dark a {
    background-color: #333333;
    color: #eeeeee;
    display: block;
    font-size: 18px;
    height: 36px;
    line-height: 36px;
    width: 36px;
}

    .styled-icons.icon-dark a:hover {
        color: #5e5e5e;
    }

.styled-icons.icon-dark.icon-bordered a {
    background-color: transparent;
    border: 2px solid #111111;
    color: #111111;
}

    .styled-icons.icon-dark.icon-bordered a:hover {
        background-color: #111111;
        border-color: #111111;
        color: #fff;
    }

.styled-icons.icon-bordered a {
    border: 1px solid #777777;
}

    .styled-icons.icon-bordered a:hover {
        background-color: #777777;
        color: #fff;
    }

.styled-icons.icon-rounded a {
    border-radius: 3px;
}

.styled-icons.icon-circled a {
    border-radius: 50%;
}

.styled-icons.icon-sm a {
    font-size: 13px;
    height: 30px;
    line-height: 30px;
    margin: 2px 7px 2px 0;
    width: 30px;
}

.styled-icons.icon-md a {
    font-size: 24px;
    height: 50px;
    line-height: 50px;
    width: 50px;
}

.styled-icons.icon-lg a {
    font-size: 32px;
    height: 60px;
    line-height: 60px;
    width: 60px;
}

.styled-icons.icon-xl a {
    font-size: 60px;
    height: 120px;
    line-height: 120px;
    width: 120px;
}

.styled-icons li {
    display: inline-block;
    margin-bottom: 0;
    margin-top: 0;
}

.text-white {
    color: #fff !important;
}

.text-theme-colored {
    color: #1F386B !important;
}

.tags {
    margin-left: 15px;
    margin-top: 10px;
}

    .tags a {
        color: #004175;
        margin-right: 5px;
    }

    .tags span {
        padding: 5px;
        font: 600 10pt 'Roboto Condensed',Arial,Helvetica,sans-serif;
        text-transform: uppercase;
        color: #888;
    }
/*Các Box bổ sung khi Insert vào Fckeditor*/
.article .notebox {
    background: rgba(255, 193, 7, 0.2);
    border: 1px solid rgba(255, 193, 7, 0.5);
    padding: 36px;
    text-align: left;
    margin-top: 1.6rem !important;
    overflow: auto;
    margin-bottom: 16px;
}

/*Box 1*/
.related-news {
    background: #fff;
    border: 1px solid #ddd;
    padding: 24px 33px 33px;
}

    .related-news .box-heading .heading {
        font-style: normal;
        font-weight: 600;
        font-size: 20px;
        line-height: 23px;
        text-transform: uppercase;
        color: #212529;
        font-family: Roboto;
    }

    .related-news .box-content {
        margin-top: 16px;
    }

        .related-news .box-content .story__heading a {
            font-style: normal;
            font-weight: 700;
            font-size: 16px;
            line-height: 20px;
            color: #343a40;
            font-family: Roboto;
            align-items: baseline;
            display: flex;
        }
/*Box tin bạn có thể quan tâm*/

#lightgalleryShowSlide img {
    cursor: pointer;
}

.td-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 20px;
    margin: 20px 0;
    border-radius: 10px;
    border: solid 1px #e5e5e5;
}

.td-column {
    flex: 1 1 21%;
    margin: 10px;
    background-color: #f2f2f2;
    padding: 10px;
    text-align: center;
}

    .td-column img {
        max-width: 100%;
        height: auto;
        border-radius: 5px;
    }

    .td-column a {
        text-decoration: none;
        color: #333;
    }

    .td-column h2 {
        font-size: 16px;
        margin-top: 10px;
    }

@media (max-width: 768px) {
    .td-column {
        flex: 1 1 46%;
    }
}

@media (max-width: 480px) {
    .td-column {
        flex: 1 1 100%;
    }
}


.box-style-23 .box-heading a {
    font-weight: 800;
    font-size: 26px;
    line-height: 35px;
    text-transform: uppercase;
    color: #343a40;
    position: relative;
    display: block;
    padding-bottom: 13px;
    font-family: PlayfairDisplay;
}

.box-style-23 .box-heading a:before {
    position: absolute;
    content: '';
    height: 5px;
    width: 45px;
    background: #bd1723;
    bottom: 0;
    left: 0;
    display: block;
}

.notebox_box07qh {
    background: rgba(255, 193, 7, 0.2);
    border: 1px solid rgba(255, 193, 7, 0.5);
    padding: 36px;
    text-align: left;
    margin-top: 1.6rem !important;
    overflow: auto;
    margin-bottom: 16px;
}

.notebox_box07qh p {
    padding-bottom: 10px;
}

.notebox_box07qh p a {
    color: #bd1723;
    font-weight: bold;
}

.article__relate {
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    padding: 20px 0;
    padding-left: 0;
    width: 100%;
    overflow: auto;
}

.article__relate__thumb {
    width: 200px;
    height: 130px;
    float: left;
    clear: left;
    margin-top: 0;
    margin-right: 16px;
    margin-bottom: 10px;
    margin-left: 0;
}

    .article__relate__thumb a {
        display: flex;
        width: 100%;
        height: 100%;
        transition: transform 0.5s ease-out 0.1s;
    }

    .article__relate__thumb img {
        width: 100%;
        object-fit: cover;
        margin: initial;
    }

.article__relate__heading a {
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    line-height: 26px;
    color: #000 !important;
    margin-top: 8px;
    padding-left: 215px;
    display: block;
}

    .article__relate__heading a:hover {
        color: #bd1723;
    }

.article__relate__meta a {
    font-style: normal;
    font-weight: 600;
    font-size: 12px;
    line-height: 20px;
    text-transform: uppercase;
    color: #bd1723;
    padding-top: 12px;
    display: block;
}

/*Slide*/

.simple-box-slide-qh24 .amazingslider-text-1 {
    background-color: rgb(0 0 0 / 0.4) !important;
}

.simple-box-slide-qh24 .amazingslider-bullet-image-1 img {
    display: block;
    margin: 0 auto;
    width: auto !important;
    height: 100% !important;
    max-height: 100%;
    object-fit: cover !important;
    margin-left:0px !important;
}

.simple-box-slide-qh24 .amazingslider-box-1 {
    border-color: #767575 !important;
    border-width: 1px !important;
}

.simple-box-slide-qh24 .amazingslider-box-1 div.amazingslider-title-1 {
    color: white;
}

.simple-box-slide-qh24 .amazingslider-bottom-shadow-1 {
    display: none !important;
}

.amazingsliderGallery .amazingslider-nav-1 {
    background-color: #767575 !important;
    padding-bottom: 10px;
    margin-top: 0 !important;
}

.simple-box-slide-qh24 .amazingsliderMediaPage .amazingslider-bullet-text-1 {
    display: none !important;
}

.simple-box-slide-qh24 .amazingsliderMediaPage .amazingslider-bullet-image-1 {
    width: auto !important;
    height: 100% !important;
}

.simple-box-slide-qh24 .amazingsliderMediaPage .amazingslider-bullet-image-1 img {
    margin-top: -4px !important;
}

.simple-box-slide-qh24 .amazingsliderRightTabDask .amazingslider-bullet-image-1 {
    height: 88% !important;
}

.simple-box-slide-qh24 .amazingcarouselList .amazingcarousel-bullet-list {
    max-width: none;
}

.simple-box-slide-qh24 .carousel-item .lg-item img {
    width: 100%;
}

.simple-box-slide-qh24 .carousel-caption {
    background-color: rgb(0 0 0 / 0.4) !important;
}

    .simple-box-slide-qh24 .carousel-caption p{color:white;}
    .simple-box-slide-qh24 .amazingslider-bullet-1 {
        padding: 0 !important;
    }

.simple-box-slide-qh24 .fw-semibold {
    font-weight: 501 !important;
}

.simple-box-slide-qh24 img.image_resized {
    width: 250px !important;
    max-width:none !important;
}

/*Begin: Style box tin tức*/
.td-box1 {
    background: #da0000;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

    .td-box1 .td-title-box {
        color: #fff;
        font-size: 18px;
        line-height: 25px;
        border: 1px dashed #fff;
        padding: 20px;
        border-radius: 8px;
        text-align: justify;
    }

.td-box2 {
    background: #ffdfb0;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

    .td-box2 .td-title-box {
        color: #333;
        font-size: 18px;
        line-height: 25px;
        border: 1px dashed #333;
        padding: 20px;
        border-radius: 8px;
        font-weight: 700;
        text-align: justify;
    }

.td-box3 {
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

    .td-box3 .bg-line {
        display: flex;
        text-align: center;
        justify-content: center;
    }

        .td-box3 .bg-line .theme-box {
            display: inline-block;
            border: none;
            background-color: rgba(204, 204, 204, 0.75);
            height: 2px;
            margin: 2.1rem 0;
            overflow: hidden;
            width: 70%;
        }

    .td-box3 .td-title-box {
        text-align: center;
        justify-content: center;
    }

    .td-box3 .td-title-box strong {
        font-size: 30px !important; 
        color: #da0000;
    }

.td-box4 {
    background: #f8f6f1;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e7e2d5 !important;
    margin: 20px 0;
}

    .td-box4 .td-title-box {
        color: #333;
        font-size: 18px;
        line-height: 25px;
        font-weight: 700;
        text-align: justify;
    }

.td-box5 {
    padding: 20px;
    margin: 20px 0;
}

    .td-box5 .td-title-box {
        color: #333;
        font-size: 18px;
        line-height: 25px;
        font-weight: 700;
        text-align: justify;
        padding: 0 60px;
    }

    .td-box5 .td-itleft {
        text-align: left;
        font-size: 50px;
    }

    .td-box5 .td-itright {
        text-align: right;
        font-size: 50px;
    }

        .td-box5 .td-itleft img, .td-box5 .td-itright img, .td-box6 .td-itleft img, .td-box6 .td-itright img {
            width: auto;
        }

    .td-box6 {
        padding: 20px;
        margin: 20px 0;
        border: 1px solid #ddd;
        border-radius: 8px;
    }

    .td-box6 .td-title-box {
        color: #333;
        font-size: 18px;
        line-height: 25px;
        font-weight: 700;
        text-align: justify;
        padding: 0 60px;
    }

    .td-box6 .td-itleft {
        text-align: left;
        font-size: 50px;
    }

    .td-box6 .td-itright {
        text-align: right;
        font-size: 50px;
    }

p.info-box-7 {
    --background-size: 30px;
    --background-color: #e91e63;
    padding: 1.2em 2em;
    border: 1px solid var(--background-color);
    background: linear-gradient( 135deg, var(--background-color) 0%, var(--background-color) var(--background-size), transparent var(--background-size) ), linear-gradient( 135deg, transparent calc(100% - var(--background-size)), var(--background-color) calc(100% - var(--background-size)), var(--background-color) );
    border-radius: 10px;
    margin: 1.5em 2em;
    box-shadow: 5px 5px 0 #ffe6ef;
}
/*End: Style box tin tức*/

.amazingcarouselList .amazingcarousel-item-container {padding-bottom:0px !important;}