/* --- PHÃ¡ÂºÂ¦N FIX LÃ¡Â»â€“I & TÃ¡Â»ÂI Ã†Â¯U --- */

/* 1. CÃ¡ÂºÂ¥u trÃƒÂºc layout chÃƒÂ­nh */
html body .large-3-duan {
    padding: 0 !important;
}

html body .large-3-duan #content_right_fixed {
    border-radius: 8px;
    -webkit-box-shadow: 0 2px 16px 0 rgba(170, 170, 170, .2);
    box-shadow: 0 2px 16px 0 rgba(170, 170, 170, .2);
    border: solid 1px rgba(204, 204, 204, .4);
    padding: 12px 0;
}

html body #content_right_fixed section {
    padding: 10px 25px;
}

/* Sticky cho PC */
@media (min-width: 1101px) {
    #content_right_fixed {
        position: -webkit-sticky;
        position: sticky;
        top: 50px;
        z-index: 10;
    }
    
    /* Fix chiÃ¡Â»Âu cao Ã¡ÂºÂ£nh gallery trÃƒÂªn PC */
    #owl-gallery-content .owl-item img {
        height: 100% !important;
    }
    
    #owl-gallery-content .owl-thumb-item img {
        object-fit: cover;
        object-position: center;
    }
}

/* Responsive cho Mobile/Tablet */
@media (max-width: 1100px) {
    html body .large-3-duan {
        padding: 0 15px !important;
    }

    #owl-gallery-content .owl-thumbs {
        padding: 7px 0;
    }

    #owl-gallery-content .owl-thumb-item {
        width: 9%;
        height: 40px;
        min-height: 40px;
    }

    .single-batdongsan_vnw .box-categories {
        display: none !important;
    }

    .listing-item-del {
        width: 100% !important;
        float: none !important;
    }
    
    html body .back-to-top.button {
        bottom: 90px;
    }

    html body.home #content {
        padding: 0px !important;
    }

    .parallax-title .entry-header {
        margin: 15% auto;
        max-width: 98%;
    }

    .parallax-title .entry-header h1, 
    .parallax-title .entry-header h1 strong {
        font-size: 20px;
        color: rgb(255, 255, 255);
    }
}

@media (max-width: 800px) {
    html body .listing-item { width: 100%; }
    html body .listing-item .item-left { width: 30%; }
    html body .listing-item .item-right { width: 70%; }
    html body .price-redRV { font-size: 100%; }
    #owl-gallery-content .owl-thumb-item { width: 11%; }
    #owl-gallery-content .owl-thumbs { padding: 3px 0; }
    #owl-gallery-content .owl-thumb-item { height: 50px; min-height: 50px; }
}

/* 2. Form & Inputs */
.wpcf7 p {
    position: relative;
}

#icon-form {
    position: absolute;
    color: rgb(1, 48, 76);
    z-index: 100;
    font-size: 18px;
    top: 8px;
    right: 10px;
}

html body form input[type=submit] {
    background: linear-gradient(90deg, #bd8504 0, #f8c848 50%, #bd8504 100%);
    border-radius: 4px;
    font-size: 85%;
    color: #071a25;
    width: 100%;
}
html body form .contact-bottom textarea {
    height: 80px;
    min-height: 80px;
}
html body .content-area .content_right_fixed .wpcf7, .contact-bottom .wpcf7-form {
    margin-top: 10px;
    margin-bottom: 15px;
}
html body form .contact-bottom input, html body form .contact-bottom textarea {}
html body form .contact-bottom input[type="text"] {
    padding-left: 10px;
}
html body form .contact-bottom .col {padding:0;margin:0}
html body .submitf {
    background: #8a6712 !important;
    width: 100%;
    border-radius: 4px !important;
}

/* 3. TiÃ¡Â»â€¡n ÃƒÂ­ch & HiÃ¡Â»Æ’n thÃ¡Â»â€¹ */
html body .post-date.badge-squarez,
.phone-mobile {
    display: none;
}

html body::-webkit-scrollbar-thumb, 
html body .section .col::-webkit-scrollbar-thumb {
    border-radius: 10px;
    /* CÃ¡ÂºÂ­p nhÃ¡ÂºÂ­t syntax chuÃ¡ÂºÂ©n cho gradient */
    background-image: linear-gradient(to top, rgb(1, 48, 76) 0%, rgb(1, 68, 108) 28%, rgb(1, 69, 110) 100%); 
}

html body .col.colh400 {
    max-height: 400px;
    overflow-y: scroll;
}

/* 4. Post & Project Card Styles */
html body .htglspostda .box-image .overlay {
    background: linear-gradient(rgba(0, 0, 0, 0) 0%, #01304c 85%);
    height: 90px;
    bottom: 0px;
    top: auto; /* SÃ¡Â»Â­a inherit thÃƒÂ nh auto cho rÃƒÂµ nghÃ„Â©a */
}

html body .htglspostda .box-text {
    padding: 5px 7px;
    padding-bottom: 0;
    height: auto;
    width: 100%;
    display: inline-block;
}

html body .htglspostda .box-text h5 {margin-bottom: 5px;font-size: 15px;}
html body .htglspostda .box-text a {/* color: rgb(255, 255, 255); */}
html body .htglspostda .box-text span {
    color: rgb(255, 255, 255);
    display: block;
    line-height: 1.2;
    font-size: 12px;
}

html body .htglspostda i {
    text-align: left;
    color: rgb(1, 48, 76);
    font-size: 12px;
    width: 15px;
}

html body .htglspostda .box-text i {
    /* color: rgb(255, 255, 255); */
    font-size: 11px;
    /* width: 12px; */
}

html body .htglspostda .infoCateList {
    padding: 7px 10px;
    color: rgb(34, 34, 34);
    width: 100%;
    display: inline-block;
    background: rgb(255, 255, 255);
}

html body .htglspostda .infoCateList p {
    margin: 0px 5px;
    font-size: 12px;
    height: 20px;
    overflow: hidden;
}

html body .htglspostda .infoCateList p span { font-weight: bold; }

html body .htglspostda .col-inner {
    box-sizing: border-box;
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 8px 0px;
    border: 1px solid rgba(151, 151, 151, 0.25);
    transition: 0.3s;
}

html body .htglspostda .property-meta {
    border-top: 1px solid rgb(240, 240, 240);
    font-size: 13px;
    line-height: 36px;
    letter-spacing: 0px;
    text-transform: uppercase;
    text-align: center;
    padding: 0px;
    color: rgb(34, 34, 34);
    font-weight: bold;
    overflow: hidden;
    width: 100%;
    background: rgb(255, 255, 255);
    display: inline-block;
    margin: 0px;
}

html body .htglspostda .property-meta .box-111 {
    float: left;
    text-align: center;
    width: 50%;
    margin: 0px;
    line-height: 36px;
    cursor: pointer;
    text-transform: none;
}
html body .htglspostda .entry-meta-htg {}
html body .htglspostda .entry-meta-htg .col {padding-bottom:7px}

html body .htglspostda .property-meta .box-111:hover {
    background: #01304c;
    color: rgb(255, 255, 255);
}

html body .htglspost.htglspostda { margin-bottom: 15px; }
html body .htglspostda .property-meta .button { margin: 0px; }

html body blockquote, html body dl, html body figure, html body form, html body ol, html body p, html body pre, html body ul {
    margin: 4px 0px;
}

html body .htglspostda .status-top-left {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 6px 8px 1px;
    color: rgb(255, 255, 255);
    background: rgba(199, 37, 40, 0.86);
    font-size: 12px;
    line-height: 1.5;
    font-weight: 600;
    z-index: 12;
    border-radius: 2px;
    text-transform: uppercase;
    text-align: center;
}

html body .htglspostda .logo-caption span {
    background: url("") center center / contain no-repeat #01304c;
    padding: 14px;
    width: 100%;
    display: block;
    position: absolute;
    bottom: 20px;
}

html body .htglspostda .logo-caption {
    box-shadow: rgba(7, 22, 69, 0.3) 0px 0px 10px 0px;
    position: absolute;
    width: 50px;
    height: 70px;
    border-radius: 0px 10px 50px 50px;
    top: -5px;
    right: 10px;
    border: 2px solid rgb(221, 182, 15);
    border-top: 0;
    background: #01304c;
}

/* 5. Page Wrapper & Titles */
.page-wrapper { padding: 0px; }

.parallax-title .entry-header {
    max-width: 500px;
    margin: 7% auto 0px;
    padding: 10px;
    border-radius: 10px;
    background: rgba(0, 51, 73, 0.85);
}

.parallax-title .entry-header h1, 
.parallax-title .entry-header h1 strong {
    font-size: 26px;
    color: rgb(255, 255, 255);
}

html body .htgbgtitle .banner {
    padding-top: 270px !important;
}

html body .status-sp {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #a60a12c4;
    color: #ffffff !important;
    border: #a60a12 1px solid;
    font-size: 11px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 4px;
}

html body.wp-singular .has-shadow { box-shadow: none; }

html body.wp-singular .entry-content.single-page {
    padding: 0;
    padding-top: 15px;
}

html body .row-htg-duan { margin-top: 15px; }

/* 6. Owl Gallery Styles */
#owl-gallery-content.owl-carousel .owl-stage-outer {
    padding: 0;
    background: #262626;
}

#owl-gallery-content .owl-stage { background-color: #262626; }

#owl-gallery-content .owl-item img {
    padding: 1px;
    background: #262626;
    object-fit: cover;
    object-position: center;
}

#owl-gallery-content .center {
    opacity: 1;
    transform: scale(1.005);
    transition: .5s ease-in-out;
    z-index: 9999;
}

#owl-gallery-content .owl-next, 
#owl-gallery-content .owl-prev {
    position: absolute;
    top: 45%;
    width: 44px;
    height: 44px;
    line-height: 44px;
    padding: 0;
    border-radius: 5px;
    background: #01304c;
    border: none;
    color: #FFF;
    opacity: 0.8;
    transition: all .4s ease;
    text-align: center;
}

#owl-gallery-content .owl-next:hover, 
#owl-gallery-content .owl-prev:hover { opacity: 1; }

#owl-gallery-content.owl-gallery-content .owl-next { right: 10px; }
#owl-gallery-content.owl-gallery-content .owl-prev { left: 10px; }

#owl-gallery-content .owl-nav,
#owl-gallery-content .owl-nav button,
#owl-gallery-content .owl-nav button.owl-next,
#owl-gallery-content .owl-nav button.owl-pre {
    visibility: inherit;
    margin: 0;
}

/* Ã„ÂÃƒÂ£ sÃ¡Â»Â­a lÃ¡Â»â€”i trÃƒÂ¹ng lÃ¡ÂºÂ·p background vÃƒÂ  text-align */
#owl-gallery-content .owl-thumbs {
    text-align: left; 
    display: table;
    width: 100%;
    padding-top: 0px;
    background: #fff;
    padding-bottom: 4px;
}

#owl-gallery-content .owl-thumb-item {
    width: 9%;
    height: 80px;
    min-height: 80px;
    border: none;
    background: none;
    padding: 0;
    opacity: .7;
    overflow: hidden;
    margin: 0 1px;
}

#owl-gallery-content .owl-thumb-item img {
    width: 100%;
    height: auto;
    vertical-align: sub;
    border: #fff 2px solid;
}

#owl-gallery-content .owl-thumb-item.active { opacity: 1; }
#owl-gallery-content .owl-thumb-item.active img {
    position: relative;
    border-color: #174578;
}

#owl-doitac.owl-carousel.owl-drag .owl-item { background: #FFF; }

#owl-gallery-content .overlay {
    width: 100%;
    height: 100%;
    display: block;
    background-color: black;
}

/* 7. Misc Styles */
.ratio-16x9 {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
    background: #000;
    border-radius: 0;
}

.ratio-16x9 > .ratio-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.building-thumb { overflow: visible; }
html body .content-htg-duan { padding: 0; }
html body .headerBDS h1 {font-size: 22px;text-transform: capitalize;margin-bottom: 5px;}
html body .headerBDS nav {
    font-size: 70%;
    color: #777;
}
html body .headerBDS nav p {
    color: #777;
    margin: 0;
    margin-bottom: 5px;
}
html body .headerBDS nav a {
    color: #777;
}
html body .thongtinduan {
    display: inline-block;
    width: 100%;
    font-size: 90%;
}
html body .thongtinthemduan .row .row .col {padding: 0;}
html body .thongtinduan i { color: #02304c; font-size: 80%; }
html body .thongtinduan .thongtinthemduan .row { margin: 0; }
html body .thongtinduan .thongtinthemduan .row .col { padding-bottom: 5px; }
html body .thongtinduan .kg1 { font-size: 80%; color: #777; }
html body .thongtinduan .kg2 { font-size: 110%; font-weight: bold; }