@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");

:root{
    --color-main1: #004264;
    --color-main2: #009c4f;
}

body {
    font-family: "Roboto", sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #000;
}

h1, h2, h3, h4{
    font-weight: 700;
}

.clamp-1 {
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.clamp-2 {
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.clamp-3 {
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.scrollbar {
    overflow-y: overlay;
}

.scrollbar::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    background-color: #f5f5f5;
}

.scrollbar::-webkit-scrollbar {
    width: 6px;
    background-color: #f5f5f5;
}

.scrollbar::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: #000;
}

.owl-prev {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}
.owl-next {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

.owl-nav > div {
    background-color: var(--color-main);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--color-main);
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s;
}

.owl-nav > div.disabled{
    display: none;
}

.owl-nav > div:hover{
    background: #fff;
    color: var(--color-main);
}

a{
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

img {
    -webkit-transition: all 0.7s ease;
    transition: all 0.7s ease;
}

.hover-zoom:hover img {
    transform: scale(1.05);
}
.hover-zoom {
    overflow: hidden;
}

.form-search-mobile input[type="text"]::placeholder {
    /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #fff;
    opacity: 1; /* Firefox */
}

.form-search-mobile input[type="text"]:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: #fff;
}

.form-search-mobile input[type="text"]::-ms-input-placeholder {
    /* Microsoft Edge */
    color: #fff;
}

.map iframe {
    width: 100%;
}

.owl-dots .owl-dot {
    width: 10px;
    height: 10px;
    background: #ddd;
    margin: 0px 2px;
    border-radius: 50%;
}
.owl-dots {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}
.owl-dots .owl-dot.active {
    background: var(--color-main);
}

.submenu:hover > .box-submenu{
    display: block;
}

.box_content *{
    margin-bottom: 10px;
}

.box_content :last-child{
    margin-bottom: 0;
}

.box_content img{
    height: auto !important;
}

.box_content p[style="text-align: center;"] img, .box_content p[style="text-align: center;"] iframe{
    margin-left: auto;
    margin-right: auto;
}

.box_content ul{
    list-style: disc;
    padding-left: 30px;
}

.box_content ol{
    list-style: decimal;
    padding-left: 30px;
}

.box_content table[border="1"] td, .box_content table[border="1"] th{
    border: 1px solid #ddd;
    padding: 5px;
}

.box_content blockquote{
    margin-left: 30px;
    padding-left: 20px;
    border-left: 5px solid #ddd;
}

.page-cate-vote .box-cate-vote a.active{
    background: #e9f8f1;
    border-color: var(--color-main2);
}

.page-cate-vote .box-cate-vote a.active span{
    color: var(--color-main2);
}

.item-art img{
    aspect-ratio: 3 / 2;
}

.btn-ajax-vote.cus-disable{
    background: #ccc;
    opacity: 0.5;
    /* pointer-events: none; */
    cursor: not-allowed;
}

@media(max-width:1279px){
    .box-menu-mobile.active{
        display: block;
    }

    .box-menu-mobile.active .box-content-menu{
        width: 100%;
        -webkit-transition: all 0.7s ease;
        transition: all 0.7s ease;
    }

    .box-menu-mobile .box-icon{
        -webkit-tap-highlight-color: transparent;
    }

    .box-menu-mobile .box-icon.active{
        transform: rotate(90deg);
    }

    .box-menu-mobile a.active{
        color: var(--color-main);
    }
}


/* css riêng */

.box-title-header::before{
    content: '';
    width: 1px;
    height: calc(100% - 10px);
    background: var(--color-main2);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.box-main-menu .menu-item.active, .box-main-menu .menu-item:hover{
    background: var(--color-main2);
    border-radius: 8px;
}

.page-home .box-slider img{
    height: 250px;
}

.item-vote .box-image img{
    aspect-ratio: 56 / 33;
}

.page-home .box-vote1 .box-banner2 img{
    aspect-ratio: 5.11 / 1;
}

.page-home .box-vote1 .box-banner3 img{
    aspect-ratio: 1 / 2;
}

.item-vote-list-1 .box-image img{
    aspect-ratio: 17 / 13;
}

.pagination .page-link{
    width: 40px;
    height: 40px;
    padding: 0;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.pagination li.active span, .pagination li:hover .page-link{
    background: var(--color-main2);
    border-color: var(--color-main2);
}

.banner-aside-1 img{
    aspect-ratio: 1 / 2;
}

.banner-aside-2 img{
    aspect-ratio: 6 / 5;
}

.page-detail-vote .swiper img, .page-detail-vote .swiper iframe{
    aspect-ratio: 2 / 1;
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.page-detail-vote .swiper iframe{
    pointer-events: none;
}

/* .page-detail-vote .swiper.swiperThumb iframe{
    pointer-events: none;
} */

.swiper-btn{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 8px;
    background: #00426499;
    z-index: 2;
    width: 32px;
    height: 32px;
    font-size: 20px;
}

.swiper-btn.swiper-prev{
    left: 15px;
}

.swiper-btn.swiper-next{
    right: 15px;
}

.page-detail-vote .box-tab-content .btn-tab.active, .page-detail-vote .box-tab-content .btn-tab:hover{
    color: var(--color-main1);
    font-weight: 700;
    border-color: var(--color-main2);
    background: #fff;
}