:root {
    --main: #D20F31;
    --main-hover: #b70928;
    --primary: #51575c;
    --primary-hover: #3c4044;
    --info: #1F2E7A;
    --info-hover: #131e55;
    --danger: #AB2624;
    --green: #A9A41D;
    --green-hover: #94871a;
    --green2: #557F39;
    --green2-hover: #355420;
    --hover: .7;
    --black1: #222;
    --black2: #333;
    --gray: #aaa;
    --gray2: #f8f8f8;
    --more-default: var(--primary);
    --more-hover: var(--black1);
}


    .container-lg {
        max-width: 1140px !important;
    }

@media screen and (max-width: 1400px) {
    .container-xxl {
        padding-inline: 40px;
    }
}

@media screen and (max-width: 991px) {
    .container-xxl {
        padding-inline: 30px;
    }
}

@media screen and (max-width: 767px) {
    .container-xxl {
        padding-inline: 20px;
    }
}

@media screen and (max-width: 576px) {
    .container-xxl {
        padding-inline: 10px;
    }
}



body {
    font-family: "Noto Sans TC", sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: var(--primary);
    overflow-x: hidden;
    max-width: 100vw;

}

p {
    line-height: 200%;
    margin-bottom:0;
}

a {
    color: var(--primary)
}


img {
    max-width: 100%;
}

main {
    margin-top: 54px;
    min-height: calc(100vh - 400px);
}

@media (max-width: 1279px) {
    main {
        margin-top: 80px;
        min-height: calc(100vh - 300px);
    }
}

/*bg*/
.bg-gray2 {
    background: var(--gray2);
}

.bg-light-red {
    background: #fff1f3;
    border: 1px solid #ffd2da;
}

/*title*/
h1 {
    font-size: 30px;
}

h2 {
    letter-spacing: 1px;
}

h1, h2, h3, h4 {
    font-weight: 600;
}

h3, .h3 {
    font-size: 18px;
    color: var(--black1);
}
h4{font-size:18px;}

h3.title {
    border-bottom: 1px solid #eee;
    position: relative;
    padding-bottom: 5px;
    margin-bottom: 20px;
    font-weight: normal;
    margin-top: 30px;
    font-size: 32px;
    color: var(--green);
}
h3.title:after{content:"";width:50px;height: 3px;background: #a9a41d;position: absolute;left:0;bottom:-2px;}

.fs-14 {
    font-size: 14px !important;
}

.fs-18 {
    font-size: 18px !important;
}

.fs-20 {
    font-size: 20px !important;
}

.fs-24 {
    font-size: 24px !important;
}

.fs-32 {
    font-size: 32px !important;
    ;
}

/*text*/
.text-primary {
    color: var(--primary);
}

.text-black1 {
    color: var(--black1);
}

.text-danger {
    color: var(--danger);
}

.text-gray {
    color: var(--gray);
}


/*btn*/
.btn-more {
    color: var(--more-default);
    display: flex;
    font-size: 18px;
    align-items: center;
    font-weight: 600;
}

.btn-more span {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: 3px solid var(--more-default);
    display: flex;
    margin-right: 8px;
    justify-content: center;
    align-items: center;
}

.btn-more svg {
    stroke-width: 3px;
}

.btn-more:hover {
    color: var(--more-hover);
}
.btn-more:hover span {
    border-color: var(--more-hover);
}
.btn-more.green{
     color: var(--green2);
}
.btn-more.green span {
    border-color: var(--green2);
}

.btn-more.green:hover {
    color: var(--green2-hover);
}
.btn-more.green:hover span {
    border-color: var(--green2-hover);
}

.btn-more.white{
     color: #fff;
}
.btn-more.white span {
    border-color: #fff;
}

.btn-more.white:hover {
   opacity:.7
}

.btn-primary {
    --bs-btn-bg: var(--green);
    --bs-btn-border-color: var(--green);
    --bs-btn-hover-bg: var(--green-hover);
    --bs-btn-hover-border-color: var(--green);
    --bs-btn-focus-shadow-rgb: 225, 83, 97;
    --bs-btn-active-bg: var(--green);
    --bs-btn-active-border-color: #a52834;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-bg: #dc3545;
    --bs-btn-disabled-border-color: #dc3545;
}


.btn-danger {
    --bs-btn-bg: var(--main);
    --bs-btn-border-color: var(--main);
    --bs-btn-hover-bg: var(--main-hover);
    --bs-btn-hover-border-color: var(--main);
    --bs-btn-focus-shadow-rgb: 225, 83, 97;
    --bs-btn-active-bg: var(--main);
    --bs-btn-active-border-color: #a52834;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-bg: #dc3545;
    --bs-btn-disabled-border-color: #dc3545;
}

.btn-info {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--info);
    --bs-btn-border-color: var(--info);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--info-hover);
    --bs-btn-hover-border-color: var(--info);
    --bs-btn-focus-shadow-rgb: 11, 172, 204;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--info);
    --bs-btn-active-border-color: var(--info);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #0dcaf0;
    --bs-btn-disabled-border-color: #0dcaf0;
}
.btn-light {
    --bs-btn-color: #000;
    --bs-btn-bg: #dddddd;
    --bs-btn-border-color: #dddddd;
    --bs-btn-hover-color: #000;
    --bs-btn-hover-bg: #c3c3c3;
    --bs-btn-hover-border-color: #dddddd;
    --bs-btn-focus-shadow-rgb: 211, 212, 213;
    --bs-btn-active-color: #000;
    --bs-btn-active-bg: #dddddd;
    --bs-btn-active-border-color: #dddddd;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #000;
    --bs-btn-disabled-bg: #f8f9fa;
    --bs-btn-disabled-border-color: #f8f9fa;
}

.btn-dark {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--primary);
    --bs-btn-border-color: var(--primary);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--primary-hover);
    --bs-btn-hover-border-color: var(--primary-hover);
    --bs-btn-focus-shadow-rgb: 66, 70, 73;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--primary);
    --bs-btn-active-border-color: var(--primary);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #212529;
    --bs-btn-disabled-border-color: #212529;
}


a, a:hover {
    text-decoration: none;
}

/*other*/
.w500 {
    width: 500px;
}
.w155 {
    width: 155px;
}
.cursor-pointer{
    cursor: pointer
}
.btn + .btn {
    margin-left: 12px;
}

.sweet-alert .sa-button-container cancel.btn {
    width:155px;
}
/*--------------------------------------------------------------
# header and menu
--------------------------------------------------------------*/
/*--------- header ----------*/
.header .navbar {
    border-bottom: 5px solid #E3E6EA;
    padding: 0;
}

.header .container-fluid {
    border-bottom: 5px solid var(--main);
}

.header .lang {
    background: #ddd;
    padding: 4px 6px !important;
    margin-top: 4px;
    color:var(--black1);
    font-weight:600;
}

@media (min-width: 1200px) {

    .navbar-expand-xl .navbar-nav .nav-link {
        --bs-navbar-nav-link-padding-x: 0.8rem;
        padding-right: var(--bs-navbar-nav-link-padding-x);
        padding-left: var(--bs-navbar-nav-link-padding-x);
    }
}

.header .navbar-brand img {
    width: 180px;
    height: 60px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

@media (max-width: 576px) {
    .header .navbar-brand img {
        width: 140px;
        height: auto;
    }
}

.header .container-fluid {
    padding-left: 25px;
    padding-right: 25px;
}

@media (max-width: 991px) {
    .header .container-fluid {
        padding-left: 12px;
        padding-right: 12px;
    }
}

.header .navbar-nav .nav-item .nav-link {
    color: var(--primary);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    white-space: nowrap;
}


.header .navbar-nav .nav-item .dropdown-toggle::after {
    display: none;
}

.header .navbar-nav .nav-item .dropdown-menu {
    padding: 0;
    border-radius: 0;
    border: 1px solid var(--grey, #E3E6EA);
    background: #FFF;
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
}

    .header .navbar-nav .nav-item .dropdown-menu[data-bs-popper] {
    }

    .header .navbar-nav .nav-item .dropdown-menu .dropdown-item {
        color: var(--primary);
        text-align: center;
        line-height: 250%;
        padding: 0 15px;
    }

        .header .navbar-nav .nav-item .dropdown-menu .dropdown-item:hover {
            background: #E3E6EA;
        }

        .header .navbar-nav .nav-item .dropdown-menu .dropdown-item.active, .header .navbar-nav .nav-item .dropdown-menu .dropdown-item:active {
            background: transparent;
        }

@media (max-width: 991px) {
    .header .navbar-nav {
        margin-right: 0;
        margin-top: 10px;
    }

        .header .navbar-nav .nav-item:not(:last-child) {
            border-bottom: 1px solid var(--grey, #E3E6EA);
        }

        .header .navbar-nav .nav-item .nav-link {
            padding-top: 15px;
            padding-bottom: 15px;
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-pack: justify;
            -ms-flex-pack: justify;
        }

        .header .navbar-nav .nav-item .dropdown-menu {
            -webkit-box-shadow: none;
            box-shadow: none;
            background: #f5f5f5;
            border: none;
        }

            .header .navbar-nav .nav-item .dropdown-menu .dropdown-item {
                padding: 8px 15px;
                text-align: left;
            }

            .header .navbar-nav .nav-item .dropdown-menu li:not(:last-child) .dropdown-item {
                border-bottom: 1px solid #ddd;
            }
}

.header .main-nav {
    margin-right: 15px;
}

.header .main-nav .nav-item .nav-link:hover {
    color: var(--black1);
}
.search-btn svg{width:18px;height:18px;margin-right:2px;}

@media (max-width: 991px) {
    .header .main-nav {
        margin-right: 0;
    }
}



.header .navbar-toggler {
    border-width: 0;
}

.header .navbar-toggler:focus {
    background: var(--grey, #E3E6EA);
    border-width: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.typeMenu{
    max-width:1
}

.typeMenu ul li {
    padding: 0;
    margin: 0;
    list-style: none;
}

.typeMenu li {
    position: relative;
}

.typeMenu > ul > li:hover:after {
    content: '';
    position: absolute;
    bottom: -5px;
    height: 5px;
    background: #8a8a8a;
    width: 100%;
    border-radius: 10px;
}
.typeMenu .logo{margin-top:2px;}

.header.scroll .typeMenu .search-btn{margin-top:3px;}
.sr-visible {
    display: none;
}
.header.scroll .sr-visible {
    display: block
}

.header.scroll .typeMenu {
    position: fixed;
    top: 0;
    width: 100%;
    background: #fff;
    z-index: 999;
}

    .header.scroll .typeMenu:after {
        content: '';
        height: 3px;
        width: 100%;
        position: absolute;
        top: 39px;
        left: 0;
        background: var(--main);
    }

    .header.scroll .typeMenu .navbar-brand img {
        height: 32px;
        width: auto;
    }

.typeMenu .navbar-nav {
    justify-content: center;
}

.header .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}

@media (max-width: 1279px) {
    .header {
        display: none;
    }
}



/*--------- search ----------*/
.search-popup {
    background: rgba(0,0,0,.8);
    width: 100%;
    padding: 24px 40px;
    align-items: center;
    position: fixed;
    top: 120px;
    display: none;
    z-index: 100;
}

.header.scroll .search-popup {
    background: rgba(0,0,0,.8);
    width: 100%;
    padding: 24px 40px;
    align-items: center;
    position: fixed;
    top: 40px;
    display: none;
    z-index: 99;
}

.search-input {
    display: flex;
    background: #fff;
    align-items: center;
    padding: 10px;
}

.search-popup .form-control {
    border: 0;
}

.search-input .search-icon svg {
    width: 30px;
    height: 30px;
}

.search-content {
    width: 500px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.search-popup .close-search {
    color: #fff;
    display: flex;
    align-items: center;
    margin-left: auto;
    padding-inline:0;
}

/*--------- header-mb ----------*/
.header-mb {
    display: none;
}

@media (max-width: 1279px) {
    .header-mb {
        display: block;
    }

    .nav-mb {
        display: flex;
        position: fixed;
        width: 100%;
        z-index: 999;
        background: #fff;
        top: 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, .1);
        padding-inline: 8px;
        align-items: center;
    }

        .nav-mb img {
            height: 24px;
        }

        .nav-mb .navbar-brand > img {
            height: 36px;
            width: auto;
        }

        .nav-mb .nav-item {
            flex: 1;
            list-style: none;
            margin-bottom: 0;
        }

        .nav-mb .nav-link {
            padding: 8px;
            display: inline-block;
        }

    .header-mb .dropdown-toggle::after {
        border: 0;
    }

    .nav-mb > .nav-item:nth-child(1) .nav-link {
        position: relative;
        top: -3px;
    }
}
.header-mb .sideMenu ul ul li a {
    font-size: 14px;
}
.header-mb .sideMenu ul ul li {
    background: #f5f5f5;
}

@media (max-width: 400px) {
    .nav-mb .nav-item {
        flex: inherit;
    }

    .nav-mb ul {
        margin-left: auto;
    }

    .nav-mb .navbar-brand > img {
        margin-left: 8px;
    }
}

/*icon-menu*/
.icon-menu {
    width: 18px;
    height: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

    .icon-menu span {
        display: block;
        height: 2px;
        background-color: #5F6971;
        border-radius: 1px;
        transition: all 0.3s ease;
    }

        /* menu line width */
        .icon-menu span:nth-child(1),
        .icon-menu span:nth-child(2) {
            width: 100%;
        }

        .icon-menu span:nth-child(3),
        .icon-menu span:nth-child(4) {
            width: 12.75px;
        }

    /* "active chage X */
    .icon-menu.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        width: 100%;
    }

    .icon-menu.active span:nth-child(2) {
        opacity: 0;
    }

    .icon-menu.active span:nth-child(3) {
        opacity: 0;
    }

    .icon-menu.active span:nth-child(4) {
        transform: translateY(-8px) rotate(-45deg);
        width: 100%;
    }
/*sideMenu menu*/
.sideMenu {
    left: -321px;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
    transition: left 0.3s ease;
    z-index: 1000;
    position: fixed;
    height: calc(100vh - 50px);
    top: 41px;
    margin: 0;
    background: #fff;
    overflow: auto;
}


    .sideMenu::-webkit-scrollbar {
        width: 5px;
    }

    .sideMenu::-webkit-scrollbar-button {
        background: transparent;
        border-radius: 4px;
    }

    .sideMenu::-webkit-scrollbar-track-piece {
        background: transparent;
    }

    .sideMenu::-webkit-scrollbar-thumb {
        border-radius: 4px;
        background-color: rgba(0, 0, 0, 0.4);
        border: 1px solid slategrey;
    }

    .sideMenu::-webkit-scrollbar-track {
        box-shadow: transparent;
    }


    .sideMenu.active {
        left: 0;
    }

    .sideMenu .search-input {
        background: #D3D8D8;
        padding: 12px 20px;
    }

    .sideMenu .search-icon {
        position: absolute;
        left: 31px;
    }

    .sideMenu .form-control {
        margin-right: 8px;
        padding-left: 44px;
        height: 40px;
        min-height: 40px;
    }

    .sideMenu .btn {
        height: 40px;
    }

    .sideMenu > ul {
        overflow: auto;
        padding-bottom: 50px;
    }

    .sideMenu .search-icon svg {
        width: 22px;
    }

    .sideMenu .top-menu {
        padding: 0;
        display: flex;
        flex: 1;
        margin: 0;
        list-style: none;
    }

        .sideMenu .top-menu li {
            padding-inline: 6px;
            background:#fff !important;
        }

        .sideMenu .top-menu .nav-link {
            padding-inline: 0 !important;
        }

    .sideMenu li {
        border-bottom: 1px solid #ddd;
    }


    .sideMenu .dropdown-menu {
        position: inherit !important;
        padding: 0;
        transform: inherit !important;
        border: 0;
    }

    .sideMenu .nav-link, .sideMenu .dropdown-item {
        padding: 12px 20px 12px 43px;
    }

    .sideMenu .dropdown-item {
    }

    .sideMenu .nav-link {
        position: relative;
    }

        .sideMenu .nav-link.dropdown-toggle {
        }

    .sideMenu .dropdown-toggle::before {
        margin-left: 0;
        vertical-align: 0;
        content: "";
        width: 12px;
        height: 12px;
        border-bottom: 3px solid var(--primary);
        border-right: 3px solid var(--primary);
        transform: rotate(45deg);
        position: absolute;
        left: 22px;
        top: 17px;
    }

    .sideMenu .dropdown-toggle.up::before {
        transform: rotate(225deg);
        top: 23px;
    }

    .sideMenu .dropdown-toggle::after {
        content: "";
        border-top: 0 solid;
        border-right: 0 solid transparent;
        border-bottom: 0;
        border-left: 0 solid transparent;
    }


    .sideMenu .order {
        position: fixed;
        bottom: 0;
        background: #E3E3E3;
        text-align: center;
        z-index:9;
    }

    .sideMenu .order, .sideMenu {
        width: 320px;
    }

        .sideMenu .order a {
            padding-inline: 0;
        }

        .sideMenu .btn-close {
            position: fixed;
            top: 0;
            left: 0;
            z-index: 99999;
        }

.sideMenu .dropdown-item{color:var(--primary)}
.sm-overlay.active {
    background: rgba(0,0,0,.7);
    width: 100vw;
    height: 100vh;
    position: fixed;
    z-index: 998;
    top: 0;
    left: 0
}



/*---------------------------------------------------------
# pagination
---------------------------------------------------------*/
.pagination {
    margin-right: -4px;
    margin-left: -4px;
    margin-bottom: 0;
    margin-top: 60px;
    flex-wrap:wrap;
}

    .pagination .page-item {
        padding-left: 4px;
        padding-right: 4px;
        margin-bottom:4px;
    }

        .pagination .page-item .page-link {
            padding: 0;
            width: clamp(35px, 2.7vw, 40px);
            height: clamp(35px, 2.7vw, 40px);
            border-radius: 100%;
            border: 1px solid var(--gray);
            color: var(--primary);
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-pack: center;
            -ms-flex-pack: center;
            justify-content: center;
            -webkit-box-align: center;
            -ms-flex-align: center;
            align-items: center;
        }

            .pagination .page-item .page-link:hover, .pagination .page-item .page-link.active {
                background: var(--primary);
                color: white;
            }

        .pagination .page-item.disabled .page-link {
            background: var(--bg-gery, #F5F5F5);
            border-color: white;
        }

            .pagination .page-item.disabled .page-link .feather {
                width: 24px;
                height: 24px;
            }

                .pagination .page-item.disabled .page-link .feather polyline {
                    color: #E3E6EA;
                }
.pagination .page-link svg{width:20px;}

/*---------------------------------------------------------
# owl-carousel
---------------------------------------------------------*/

.owl-carousel .owl-item img {
    max-width: 100%;
    width: inherit;
}

.owl-item .item {
    display: flex;
    justify-content: center;
}

.owl-carousel {
    position: relative;
}

    .owl-carousel .owl-nav button.owl-next,
    .owl-carousel .owl-nav button.owl-prev {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: clamp(50px, 4.861vw, 60px);
        height: clamp(50px, 4.861vw, 60px);
        border: 1px solid white;
        opacity: 0.8;
        background: var(--primary);
        border-radius: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        box-shadow: 0px 0px 20px #E3E6EA;
        border: 0;
    }

        .owl-carousel .owl-nav button.owl-next:hover, .owl-carousel .owl-nav button.owl-prev:hover {
            opacity: 1;
        }

        .owl-carousel .owl-nav button.owl-next span, .owl-carousel .owl-nav button.owl-prev span {
            font-size: calc(1.325rem + 2.5vw);
            position: relative;
            top: -8px;
            color: #A5B3C6;
        }

    .owl-carousel .owl-nav button.owl-next {
        right: -80px;
    }
    .owl-carousel .owl-nav button.owl-prev {
        left: -80px;
    }
    .owl-carousel .owl-stage {
        margin: auto;
    }



@media (max-width: 991px) {

    .owl-carousel .owl-nav button.owl-next span, .owl-carousel .owl-nav button.owl-prev span {
        top: -5px;
    }
}

    @media (max-width: 767px) {
        .owl-carousel .owl-nav button.owl-next {
            right: -60px;
        }

        .owl-carousel .owl-nav button.owl-prev {
            left: -60px;
        }

        .owl-carousel .owl-nav button.owl-next, .owl-carousel .owl-nav button.owl-prev {
            box-shadow: none;
        }



        .topic-box .container-xxl {
            padding-right: calc(var(--bs-gutter-x) * .5);
            padding-left: calc(var(--bs-gutter-x) * .5);
        }
    }

    .ad-right .owl-carousel.owl-ad {
        margin-bottom: 20px;
    }

    .owl-carousel.owl-ad .owl-dots {
        margin-top: clamp(20px, 2.083vw, 30px);
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    .owl-carousel.owl-ad button.owl-dot {
        border: 1px solid white;
        background: #E3E6EA;
        display: inline-block;
        border-radius: 100%;
        width: 10px;
        height: 10px;
        margin: 0 3px;
    }

        .owl-carousel.owl-ad button.owl-dot:hover, .owl-carousel.owl-ad button.owl-dot.active {
            background: var(--primary);
        }



    /*---------------------------------------------------------
# modal
---------------------------------------------------------*/
    .modal-header .modal-title {
        font-weight: 600;
    }

    .modal-header .close {
        border: 0;
        background: none;
        font-size: 25px;
        line-height: 16px;
    }

    .footer-modal .modal-dialog {
        top: 50%;
        transform: translateY(-50%) !important;
        width: 300px;
    }

    .footer-modal ul, .footer-modal li {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .footer-modal li {
        border-bottom: 1px solid var(--gray2);
    }

        .footer-modal li a {
            padding: 12px 24px;
            display: block;
            text-align: center;
        }

    .footer-modal .modal-body {
        padding: 0;
    }

    .footer-modal .modal-header {
        border: 0;
        padding-bottom: 0;
    }

    /*---------------------------------------------------------
# search
---------------------------------------------------------*/

    .search-list .card-article {
        display: flex;
        margin-bottom: 16px;
        border-bottom: 1px solid rgba(0, 0, 0, .1);
        padding-bottom: 16px;
    }

        .search-list .card-article img {
            width: 100%;
        }

    .search-list .ratio {
        width: 170px;
        flex: 1;
    }

    .search-info {
        margin-left: 24px;
        width: calc(100% - 200px);
        align-content: center;
    }

    @media (max-width: 767px) {
        .search-list .card-article img {
            display: none;
        }

        .search-info {
            width: 100%;
            margin-left: 0;
        }
    }

    /*---------------------------------------------------------
# footer
---------------------------------------------------------*/
    .footer {
        background: var(--black2);
        padding: 30px 25px 20px 25px;
        color: white;
        margin-top: 80px;
    }

        .footer .logo {
            width: 240px;
        }

        .footer a:hover {
            opacity: .7
        }

        .footer .hr {
            margin-top: 20px;
            margin-bottom: 10px;
            opacity: .4;
        }

        .footer .navbar-nav {
        }

            .footer .navbar-nav .nav-item {
                padding-inline: 15px;
            }


    .footer-social {
        margin-left: 20px;
    }

        .footer-social li {
            padding-inline: 8px !important;
        }

        .footer-social a {
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-size: 24px;
        }





    @media (max-width: 991px) {
        .footer {
            font-size: 14px;
            padding-inline: 0;
        }

            .footer .logo {
                margin-bottom: 25px;
                width: 250px;
            }

        .social-box {
            margin-left: 0px;
            margin-top: 30px;
        }
    }

    @media (max-width: 575px) {
        .footer-menu {
            margin-bottom: 16px;
        }
    }

    @media (max-width: 400px) {
        .footer .footer-menu {
            display: block
        }

        .footer li {
            width: 100%;
            text-align: center;
        }
    }

    /*---------------------------------------------------------
# ad
---------------------------------------------------------*/

    .ad-top {
        text-align: center;
        margin-bottom: 30px;
    }

    .ad-mid {
        margin: 52px 0;
    }

    .ad-right {
        width: 300px;
        margin-left: 40px;
        flex: 1;
    }

        .ad-right .owl-dots {
            display: none !important;
        }

    .ad-right-sticky {
        position: sticky;
        top: 50px;
    }

    @media (max-width: 991px) {
        .ad-right {
            margin-top: 70px;
            margin-left: 0;
            position: relative;
            left: 50%;
            transform: translateX(-50%);
        }
    }


    /*--------------------------------------------------------------
# img-position-center RWD  
--------------------------------------------------------------*/
    .fixedImgBox {
        height: 160px;
        width: 160px;
        position: relative;
    }

    .rwdImgBox {
        height: 0;
        width: 100%;
        padding-bottom: 100%;
        position: relative;
    }

        .rwdImgBox img, .fixedImgBox img, .img16-9 img {
            max-height: 100%;
            max-width: 100%;
            width: auto !important;
            height: auto;
            position: absolute;
            top: 0;
            bottom: 0;
            left: 0;
            right: 0;
            margin: auto;
        }

    .img16-9 {
        padding-bottom: 56.2%;
    }

    .img-cover {
        position: relative;
        background-image: url("../images/noImg.jpg");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    iframe .embed-responsive-item img {
        width: 100%
    }


    .bg-cover-img {
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center center;
    }

    /*--------------------------------------------------------------
# empty
--------------------------------------------------------------*/
    .empty {
        text-align: center;
        color: #666;
        display: block;
        margin: 100px 0 20px 0;
        background: #ffffff;
    }

        .empty i {
            font-size: 56px;
            display: block;
            margin-bottom: 5px;
        }

        .empty span {
            font-size: 22px;
            letter-spacing: 2px;
        }



    /*--------------------------------------------------------------
# form
--------------------------------------------------------------*/
    .form-validate-error {
        color: #e40003;
        width: 100%;
    }

    .form-list {
        margin: auto;
        border: 1px solid #eee;
        -webkit-box-shadow: 0px 0px 5px rgba(0,0,0,.5);
        box-shadow: 0px 0px 5px rgba(0,0,0,.5);
        border-radius: 10px;
        padding: 30px;
    }

        .form-list > .form-group {
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
        }

        .form-list label {
            width: 100px;
            text-align: left;
        }

    .input-200 input {
        display: inline;
        width: 200px;
        -webkit-box-flex: 1;
        -ms-flex: 1;
        flex: 1;
    }

    /*star*/
    .star {
        position: relative
    }

        .star:before {
            content: '*';
            position: absolute;
            left: -10PX;
            color: #ff0004;
        }


    /*--------------------------------------------------------------
# table
--------------------------------------------------------------*/
    .table th {
        vertical-align: middle !important;
        height: 46px;
        border-bottom-width: 0;
        background-color: #263238;
        border: .1rem solid #8a837f;
        border-left-color: transparent;
        color: #fff;
        font-weight: 600;
        padding: 10px;
        text-align: left;
        white-space: nowrap !important;
    }

        .table th:first-child {
            border-left-color: #8a837f
        }

    .table td {
        padding: 10px;
        vertical-align: middle !important;
        border-left: .1rem dashed #d6d6d6 !important;
        border-right: .1rem dashed #d6d6d6 !important;
        color: #303030;
        border-top: 0 !important;
    }

    th.sorting_disabled {
        width: 37px;
    }

    .table td:first-child {
        border-left-style: solid !important;
    }

    .table td:last-child {
        border-right-style: solid !important;
    }

    .table tr:last-child td {
        border-bottom: .1rem solid #d6d6d6
    }

    .table tbody tr:hover {
        background-color: #e2eef2 !important;
    }

    .table td .btn {
        white-space: nowrap !important;
        margin: 2px 2px;
    }

    .table-responsive {
        overflow-x: auto;
        border: none;
    }

    .table td {
        white-space: normal;
    }

    .table tr:nth-child(odd) .bg-light-yellow {
        background-color: #efe5da !important;
    }

    @media screen and (max-width: 767.98px) {
        .table-responsive {
            border: none;
        }

        .table thead {
            display: none;
        }

        .table tbody td {
            display: block;
            border: 0 !important;
            padding: 4px 10px;
        }

            .table tbody td:before {
                content: attr(data-title);
                color: #000;
                font-weight: bold
            }

        .table tbody tr {
            border-bottom: 1px solid #aaa;
        }
    }



    /*--------------------------------------------------------------
# formModal
--------------------------------------------------------------*/
    .formModal {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        z-index: 99999;
    }

        .formModal .modal-body {
            padding: 16px;
        }

        .formModal .modal-header {
            padding: 12px 16px 0 16px;
            border-bottom: 0;
        }

        .formModal .modal-content {
            background: #fff;
            width: 420px;
        }

        .formModal .title {
            font-size: 22px;
            font-weight: 600;
        }

        .formModal .btn-close {
            padding: 4px 0;
            color: #999;
            margin-right: 6px;
        }

            .formModal .btn-close:hover {
                color: #222;
            }

            .formModal .btn-close i {
                font-size: 28px;
            }

    .icon-form-group {
        position: relative;
        margin-bottom: 12px;
    }

        .icon-form-group input {
            padding: 0 0 0 40px;
            height: 42px;
        }

        .icon-form-group > i {
            position: absolute;
            left: 10px;
            top: 13px;
            color: #c8c8c8;
        }

        .icon-form-group .form-type-icon {
            top: 6px;
            left: 6px;
            color: #ccc;
        }

    .formModal .modal-dialog {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%) !important;
        margin: 0;
    }

    .changeIDModal .memberID {
        opacity: 1;
        visibility: visible;
        position: inherit;
        left: inherit;
        width: auto;
        background: none;
        box-shadow: none;
        padding: 0;
    }

        .changeIDModal .memberID li {
            margin-bottom: 0;
        }

            .changeIDModal .memberID li:not(:last-child), .changeIDModal .modal-header {
                border-bottom: 1px solid #ddd
            }

    .changeIDModal .modal-header {
        margin-bottom: 8px;
    }

    .changeIDModal .modal-body {
        padding: 0;
    }

    .changeIDModal .memberID-item {
        align-items: center;
        padding: 16px 32px;
    }

        .changeIDModal .memberID-item:hover .name {
            color: #a9a41d;
        }

        .changeIDModal .memberID-item:hover {
            background: rgba(169,164,29,.04);
        }

    @media (max-width: 575.98px) {
        .formModal .modal-content, .formModal .modal-dialog {
            width: 95%;
        }
    }


    /*--------------------------------------------------------------
# pointToast
--------------------------------------------------------------*/
    .pointToast {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        padding: 16px;
        min-width: 300px;
        background-image: -o-linear-gradient(60deg, #ffd3d5 0%, #ffeed5 100%);
        background-image: linear-gradient(30deg, #ffd3d5 0%, #ffeed5 100%);
        -webkit-box-shadow: 0 0px 5px rgba(0,0,0,.3);
        box-shadow: 0 0px 5px rgba(0,0,0,.3);
        border: 0;
        font-weight: bold;
        font-size: 20px;
    }

    .pointAdd {
        font-weight: 800;
        margin-left: 8px;
        font-size: 24px;
        color: #af0512;
    }

    .pointNum {
        font-size: 30px;
        font-weight: 700;
    }

    .pointToast img {
        margin-right: 24px;
        width: 80px;
    }

    .pointToast-content {
        -webkit-box-flex: 1;
        -ms-flex: 1;
        flex: 1;
    }

    /*memberID*/
    .memberID {
        top: 0 !important;
        left: -220px;
        right: auto !important;
        width: 220px;
    }

    .memberID-content {
        line-height: 1;
    }

    .memberID-item {
        display: flex !important;
    }

        .memberID-item .idName {
            font-size: 14px;
            position: relative;
            top: -5px;
            color: #aaa;
        }

        .memberID-item .name {
            word-wrap: break-word;
            width: 105px;
            overflow: hidden;
            line-height: 1.4;
            margin-bottom: 4px;
        }

        .memberID-item i {
            font-size: 29px;
            color: #ddd;
            margin-left: auto;
            margin-right: 0;
        }

        .memberID-item img {
            width: 40px !important;
            height: 40px;
            margin-right: 16px !important;
            top: 0 !important;
        }

        .memberID-item.active i, .changeID > a:hover:after {
            color: #a9a41d;
        }
    /*m-memberID*/
    .m-memberID {
        align-items: center;
        background: #303439 !important;
    }

        .m-memberID i {
            font-weight: bold
        }

        .m-memberID .name, .m-memberID i {
            color: rgba(255,255,255,.8) !important;
        }

        .m-memberID .idName {
            opacity: .8 !important
        }