/* Developer: Alessio Zanghi */
/* CSS Cliente */

/* Box footer

html .bg-primary {
        background-color: #b4b4b4 !important;
}
 */
/*

CSS Booking Engine SimpleBooking

#sb-container {
    width: 100%;
}
.sb__footer {
    display: none;
}

.sb-screen-l .sb__btn--verify {
    font-size: 13px !important;
    text-transform: uppercase;
    font-weight: bold;
}

*/

/*
HIDE MESSENGER
 */
#messenger-header-icon, .fab.fa-facebook-messenger,  .d-none.d-lg-inline-flex.ml-2, .col-lg-3.mb-0 .footer-info {
    display: none !important;
}
/********************/

/*
HIDE MAILCHIMP
 */
#newsletter, section:has(#newsletterForm) {
    display: none !important;
}
/********************/

#top-header-social-instagram {
    padding-right: 2px !important;
}

html .bg-primary, html .bg-color-primary {
    background-color: #e6ded1 !important;
}

#footer .footer-info .icons {
    color: #4d0a05 !important;
}

#footer .footer-info label {
    color: #4d0a05 !important;
}

#footer .footer-info strong, #footer a:not(.btn), #footer .footer-info .social-icons li a  {
    color: #4d0a05 !important;
}

.gold-gradient {
    background: #F4F0EB !important;
}

.footer-copyright p, .footer-copyright nav ul li a {
    opacity: 0.8 !important;
}

#header .header-nav-main nav > ul > li > a.active, #header .header-nav-main nav > ul:hover > li > a.active, #header .header-nav-main nav > ul > li.open > a, #header .header-nav-main nav > ul > li:hover > a {
    background-color: #4d0a05 !important;
    color: #FFF !important;
}

#header .header-nav-main nav > ul > li > a {
    color: #4d0a05 !important;
}

html .text-color-primary, html .text-primary {
    color: #F4F0EB !important;
}

a {
    color: #F4F0EB !important;
}

html section.section-tertiary, html section.section-quaternary {
    background-color: #64656c !important;
}

html .btn-primary {
    background-color: #4d0a05;
    border-color: #4d0a05 #4d0a05 #360704;
}
html .btn-primary:hover {
    background-color: #79130b;
    border-color: #79130b #79130b #510d08;
}

html .divider.divider-primary.divider-small hr {
    background: #4d0a05;
}

html .list-primary.list-icons li > [class*="fa-"]:first-child, html .list-primary.list-icons li a:first-child > [class*="fa-"]:first-child, html .list-primary.list-icons li > .icons:first-child, html .list-primary.list-icons li a:first-child > .icons:first-child {
    color: #4d0a05;
    border-color: #4d0a05;
}



#review-index-section {
    background-color: #e6ded1 !important;
    border-color: #e6ded1 !important;
}

#review-index-section .text-light, .testimonial.testimonial-style-custom .testimonial-author p strong, .testimonial.testimonial-style-custom .testimonial-author p span {
    color: #4d0a05 !important;
}

#review-index-section .divider.divider-light.divider-small hr {
    background: #4d0a05;
}

#review-index-section .testimonial.testimonial-style-3 blockquote::before {
    color: #4d0a05 !important;
}

.nav-pills > li.active > a, .nav-pills .nav-link.active {
    background-color: #4d0a05 !important;
    color: #F4F0EB !important;
}

.nav-link {
    color: #4d0a05 !important;
}

.room-suite-info  a {
    color: #4d0a05 !important;
}

html .featured-box-primary .box-content{
    border-top-color: #4d0a05;
}

#sidebar-facilities .featured-box-primary .icon-featured {
    color: #4d0a05;
}

.list.list-icons li > [class*="fa-"]:first-child, .list.list-icons li a:first-child > [class*="fa-"]:first-child, .list.list-icons li > .icons:first-child, .list.list-icons li a:first-child > .icons:first-child {
    color: #4d0a05;
    border-color: #4d0a05;
}

.owl-carousel .owl-nav button[class*="owl-"] {
    background-color: #4d0a05;
    border-color: #4d0a05 #4d0a05 #360704;
}

.owl-carousel .owl-nav button[class*="owl-"]:hover, .owl-carousel .owl-nav button[class*="owl-"].hover {
    background-color: #79130b;
    border-color: #79130b #79130b #510d08;
}

.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus, .pagination .page-item.active .page-link {
    background-color: #4d0a05 !important;
    border-color: #4d0a05 !important;
    color: #F4F0EB !important;
}

.page-item a {
    color: #4d0a05 !important;
}

#apartment-title-section .text-light, #room-title-section .text-light, #listing-title-section .text-light, #book-now-title-section .text-light, #contact-us-title-section .text-light {
    color: #4d0a05 !important;
}

#header .header-btn-collapse-nav {
    background: #4d0a05;
}

#contact-us-privacy-policy {
    color: #4d0a05 !important;
}

#terms a, .iub__us-widget__wrapper a {
    color: #4d0a05 !important;
}
/* La regola su #review-index-section .text-light colora i testi della sezione
   recensioni con lo stesso colore del suo sfondo: serve per le testimonianze
   dentro le card chiare, ma cattura anche il titolo della sezione. Prima
   restava invisibile solo perche' la chiave reviews_title era vuota. */
#review-index-section h1.text-light,
#review-index-section h2.text-light,
#review-index-section h3.text-light,
#review-index-section h4.text-light {
    color: #212529 !important;
}

/* Contrasto: il layout boxed ha sfondo bianco, i testi chiari del tema
   (top header, sub-menu, copyright) risultavano illeggibili */
#header .header-top .text-light,
#header .header-top .header-extra-info a,
#header .header-top .header-extra-info i,
#header .header-top .header-extra-info .icons {
    color: #4d0a05 !important;
}
#header .header-top .opacity-7 {
    opacity: 0.85 !important;
}

.footer-copyright {
    background-color: #4d0a05;
    color: #F4F0EB;
    margin-top: 0 !important;
    padding: 25px 0 15px;
}
.footer-copyright p, .footer-copyright nav ul li a {
    color: #F4F0EB !important;
    opacity: 1 !important;
}
.footer-copyright nav ul li {
    border-color: #F4F0EB !important;
}

#footer, #footer p, #footer span, #footer .footer-info span {
    color: #4d0a05 !important;
}
#footer .footer-info label {
    opacity: 1 !important;
}

body {
    color: #555;
}

#listings-title-section .text-light, #listings-title-section h1, #listings-title-section span {
    color: #4d0a05 !important;
}
p, #listings-page label, #listing-page label, #sidebar-facilities p, #review-index-section .testimonial blockquote p {
    color: #555 !important;
}
#review-index-section .testimonial-author p span, #listings-page label {
    opacity: 1 !important;
}
#terms-page a:not(.btn):not(.footer-copyright a) {
    color: #4d0a05 !important;
}

/* Widget KrossBooking (stesso di florence-bnb, colori del sito) */

.kross-container {
    width: 100% !important;
    background: #fff; /* Sfondo bianco come l'header */
    border-bottom: 2px solid #4d0a05; /* Riga bordeaux sotto */
    box-shadow: 0 2px 8px rgba(77, 10, 5, 0.08); /* Ombra leggera bordeaux */
    padding: 10px 0 10px 0; /* Spaziatura verticale */
    min-height: 60px; /* Altezza minima per visibilità */
    z-index: 1050; /* Sopra l'header */
    position: relative;
}

.kb-d, .kb-label, .kb-qt, .kb-btn  {
    color: #4d0a05 !important;
}

.kross-container * {
    font-family: "Open Sans", Arial, sans-serif;
    color: #222; /* Testo scuro per leggibilità */
}

.kb-form-group.kb-date .kb-d1, .kb-form-group.kb-date .kb-d2 {
border: 1px solid #4d0a05 !important;
margin-left: 10px;
}

.kb-btn.kb-btn-submit {
    background: #4d0a05 !important;
    height: 70% !important;
}

.kb-btn-submit-txt {
    color: #fff !important;
    text-transform: uppercase !important;
    font-weight: 500 !important;
    font-size: 12px !important;
    padding: 0.5rem 1rem !important;
}

/* Forza il calendario KrossBooking a essere posizionato sotto l'header */
.KB-daterangepicker.daterangepicker {
    top: 290px !important;
    bottom: auto !important;
    margin-top: 0 !important;
    transform: none !important;
}

#header {
margin-bottom: 0 !important;
}

@media (max-width: 991px) {
    .kross-container {
        padding: 8px 0;
        min-height: 40px;
    }
    .kross-container .kb-btn-submit {
        height: 40px !important;
    }
    #header {
	margin-bottom: 180px !important;
    }
}

@media (max-width: 450px) {
    #header {
        margin-bottom: 210px !important;
    }
}

/* Sfondo del layout boxed: tarsie ispirate alla facciata di Santa Maria Novella */
html.boxed, html.boxed body {
    background: #ede6da url("../img/smartbooking/upload/pattern-santa-maria-novella.svg") repeat top center !important;
}
html.boxed .body {
    box-shadow: 0 0 30px rgba(77, 10, 5, 0.12);
}

/* Il colore primario dell'account Kross e' bianco: mesi e frecce del calendario erano invisibili */
:root {
    --kross_widget_primary: #4d0a05 !important;
}

/* Il banner cookie ha sfondo scuro: esclusione dalla regola sui paragrafi */
.cookie-text, .cookie-text p {
    color: #fff !important;
}

/* Footer: la colonna Messenger e' vuota ma occupava spazio, sbilanciando il blocco */
#footer-box-logo .row > .col-lg-3:last-child {
    display: none;
}
#footer-box-logo .row {
    justify-content: center;
    align-items: center;
}
