/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/
Description: Theme con của Hello Elementor
Author: Tritt
Author URI: https://yourwebsite.com/
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
*/
.frm_timkiem {
    border: 1px solid #ccc;
}
.elementor-page-title{display:block !important;}
.first_post_index:hover .title_first_post_index a{color:#c00000;}

.block_title_index.maucam {
    border-bottom: 2px solid #ffa500;

}
.block_title_index.maucam h3{
    background: #ffa500;
    display: inline-block;
    padding: 7px 12px 4px 12px;
}
.btn-tu-van{
    cursor: pointer;
}
.block_title_index.mauxanhla {
    border-bottom: 2px solid #51b5d3;

}
.footer_bottom p{margin:5px 0px;}
.block_title_index.mauxanhla h3{
    background: #51b5d3;
    display: inline-block;
    padding: 7px 12px 4px 12px;
}
.block_title_index.mauxam {
    border-bottom: 2px solid #cc9a4a;

}
.block_title_index.mauxam h3{
    background: #cc9a4a;
    display: inline-block;
    padding: 7px 12px 4px 12px;
}
.block_title_index.vangcam {
    border-bottom: 2px solid #dd9933;

}
.block_title_index.vangcam h3{
    background: #dd9933;
    display: inline-block;
    padding: 7px 12px 4px 12px;
}
.block_title_index.xanhreu {
    border-bottom: 2px solid #528e2c;

}
.block_title_index.xanhreu h3{
    background: #528e2c;
    display: inline-block;
    padding: 7px 12px 4px 12px;
}
.block_title_index.xanhduong {
    border-bottom: 2px solid #4db2ec;

}
.block_title_index.xanhduong h3{
    background: #4db2ec;
    display: inline-block;
    padding: 7px 12px 4px 12px;
}
.block_title_index.maudo {
    border-bottom: 2px solid #c00000;

}
.block_title_index.maudo h3{
    background: #c00000;
    display: inline-block;
    padding: 7px 12px 4px 12px;
}
.hover-zoom-image img{
    transition:0.5s;
}
.hover-zoom-image:hover img{
    transition:0.5s;
    transform:scale(1.1);
}
span.page-numbers.current {
    background: #cc9a4a;
    padding: 7px 12px;
    color: #fff;
    border-radius: 20px;
}
a.page-numbers {
    border: 1px solid #e3e3e3;
    padding: 7px 12px;
    color: #000;
    border-radius: 20px;
}
a.page-numbers:hover {
    background: #cc9a4a;
    color: #fff;
}
nav.elementor-pagination {
    margin-top: 20px;
}
figcaption.elementor-image-carousel-caption {
    position: absolute;
    bottom: 0px;
    color: #fff;
    background: rgba(0, 0, 0, 0.7);
    margin-bottom: 5px;
    padding:10px;
}
.bold-text-white strong{color:white;}
.bold-text-red strong{color:red;}
.button_footer .elementor-button-text {
    position: relative;
    top: -7px;
}
.button_footer {
    border-radius: 24px;
    /* background: linear-gradient(90deg, #edbe6f -59.01%, #965e00 100%); */
    /* border: 1px solid var(--color-heading); */
    color: #fff;
    font-size: 1.8rem;
    line-height: 3.2rem;
    cursor: pointer;
    width: 23.5rem;
    height: 5.2rem;
    max-width: 235px !important;
    height: auto;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
    position: relative;
    background: url(images/btn-hover-bg.png);
    background-size: 100% 100%;
    border: none;
    outline: none;
}
.btn_hoavan .elementor-button,.form_footer .elementor-button{
    background-image: url(images/background_button.png);
    background-size: 100% 75%;
    background-repeat: no-repeat;
    background-position: center;
}

.button_footer:hover {
    background: url(images/btn-bg.png);
    background-size: 100% 100%;
}
.button_footer::before {
    width: 60px;
    height: 100px;
    content: "";
    position: absolute;
    bottom: -63px;
    left: -25px;
    background: url(images/btn-before.png);
    background-size: 100% auto;
    background-repeat: no-repeat;
    display: block;
}
.icon_footer svg {
    height: 15px !important;
    width: 15px !important;
}
@media(max-width: 1024px) {
    .category_index {
        margin-top: -80px !important;
        z-index: 2 !important;
        background: #fff;
    }
}
@media (max-width:480px){
    .form_popup input#form-field-sodienthoai {padding: 0px;padding-left:5px;min-height: 30px !important;}

    .form_popup button.elementor-button.elementor-size-sm {
        min-height: 30px !important;
        padding: 0px !important;
    }
    .container_mobile {
        width: calc(100% - 120px) !important;
    }
    figcaption.elementor-image-carousel-caption {
        position: relative;
        color: #000;
        margin-top:-5px;
        background: #dbdbdb;
        margin-bottom: 5px;
        padding:10px;
    }
}
/* Lưới cơ bản */
.dm-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(200px,1fr));
  gap:16px;
}
.dm-item{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 4px;
    text-decoration: none;
    justify-content: center;
    background: #cc9a4a;
    background-size: 100% 100%;
    height: 130px;
    margin-bottom: 10px;
    border-radius: 15px;
}
.dm-name {
color: #fff;
    font-size: 16px;
    font-weight: bold;
}
.dm-thumb{ display:block; width:60px; height:60px; margin-bottom:8px; }
.dm-thumb img{ width:100%; height:100%; object-fit:contain; }

.elementor-shortcode {
    max-width: 1200px;
    margin: auto;
}
.dm-grid.cats-scroll > *{ }
a.dm-item:hover {
    background: #7a4826;
}
a.dm-item:hover .dm-thumb img{
    filter:unset;
}
a.dm-item:hover .dm-name{
    color:#fff;
}
.twoitems {
    margin: 0px 5px;
}
.slick_slider{margin:50px 0px;margin-bottom:30px;}
.slick_slider .button{font-size:25px;}