﻿@font-face {
    font-family: BellagiaDisplay;
    src: url(../fonts/BellagiaDisplay-Medium.otf);
}
*{margin:0;padding:0;}

:root {
    --primary-color: #AF9574; /* Green */
    --primary-hover: #AF9574;
    --select-bg: #AF9574;
    --select-border: #AF9574;
}
.list-group-item.active {
    z-index: 2;
    color: var(--bs-list-group-active-color);
    background-color: #AF9574;
    border-color: #AF9574;
}
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

    .btn-primary:hover {
        background-color: var(--primary-hover);
        border-color: var(--primary-hover);
    }

select.form-control, select {
    background-color: var(--select-bg);
    border: 1px solid var(--select-border);
    padding: 6px 12px;
    border-radius: 4px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

    select:focus {
        outline: none;
        border-color: var(--primary-color);
        box-shadow: 0 0 0 0.2rem rgba(76, 175, 80, 0.25);
    }
body{
    font-size:16px;
    font-family: "Outfit", sans-serif;
    color:#222;
    font-weight: 400;
}
ul {
    list-style: none;
}
a{ color:#000;text-decoration:none; }
a:hover {color: #E1B876;}

.clear {
    clear: both;
    font-size: 0px;
    line-height: 0px;
    height: 0;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-weight: 500;
    line-height: 1.1;
}

.hide {
    display: none !important;
}
.show {
    display: block !important;
}

.imgbox{
    position: relative;
    display: block;
    width: 100%;
    height: 100px; /* default*/
    overflow: hidden;
}
.imgbox img{
    max-height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.grid-item {
    width: 100%;
    aspect-ratio: 1 / 0.6;
    overflow: hidden;
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.zoomImage {
    transition: transform 0.3s ease-in-out;
}

.zoomImage:hover {
    transform: scale(1.1);
}

.message_panel{
    width:500px;
    margin:15px auto;
    padding:20px;
    border:1px solid #ccc;
    border-radius: 15px;
}
.breadcrumb{
    margin:10px 0;
}
.ui-widget-header{
    background:red;
    color:#fff;
}
.validate-error{
    border:1px solid red !important;
}
.form-group .control-label{
    text-align:right;
    padding-right:2px;
}
.form-group.required .control-label:after{
    content:' *';
    color:red;
}
.banner_ft{
    text-align:center;
}
.lang img{
    width:30px;
}
.btn-read-more {
    padding: 5px;
    text-align: center;
    border-radius: 0px;
    display: inline-block;
    border: 2px solid #662D91;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 12px;
    color:#662D91;
}
.btn-read-more:hover {
    color: #FFF;
    background: #662D91;
}

#frmsearch {
    width:100%;
    border-radius: 10px;
}
#frmsearch .btn-group{
    float: left;
}
#frmsearch .textsearch{
    margin-left: 65px;
    background: #fff;
    border-radius: 8px;
}
#btn-search{
}
#btn-search i{
    color: #fff;
    font-size: 15px;
}

.title_pages{
    margin-bottom: 20px;
}
.title_pages:after{
    clear:both;
    content:'';
    display:block;
}

.text-justify{ text-align: justify;}

.carousel-caption {
    top: 0;
    bottom: 0;
    left: 20px;
    right: 0;
    position: absolute;
    display: flex;
    align-items: center; /* Căn giữa theo chiều dọc */
    text-align: center;
    color:black;
}
.pagination {
}

    .pagination li {
        margin: 0 10px;
    }

        .pagination li a {
            display: flex;
            justify-content: center;
            align-items: center;
            border-radius: 50%;
            padding: 0;
            width: 40px;
            height: 40px;
            border: none;
            background: none;
            text-align: center;
            color: #5F6D7E;
            font-weight: 500;
            border: 1px solid #DAE0E6;
            box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.04);
        }

            .pagination li a.page-link.active, .pagination li a.page-link:hover {
                background: #3F4447;
                color: #F9F9F9;
                border: none;
            }

    .pagination .page-item:last-child .page-link, .pagination .page-item:first-child .page-link {
        border-radius: 50%;
    }



#loadMoreBtn {
    background: #875753;
    border: 0;
    padding: 10px 20px;
    color: #fff;
    border-radius: 4px;
}
/* Ẩn phân trang trên mobile, hiển thị trên PC */
@media (max-width: 768px) {
    nav .pagination {
        display: none !important;
    }
}

/* Ẩn nút "Xem thêm" trên PC, chỉ hiển thị trên mobile */
@media (min-width: 769px) {
    #loadMoreBtn {
        display: none;
    }
}
@media (max-width: 768px) {
    #loadMoreBtn {
        display: block;
        margin: 0 auto;
    }
    #filterPanel {
        display: none !important;
    }
}

