/*
Theme Name: Complices Dax
Theme URI: 
Author: 
Author URI: 
Description: 
Requires at least: 6.0
Tested up to: 6.4.3
Requires PHP: 5.7
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: blockpress
Text Domain: castillo
Tags: 
*/
.hidden{
    display: none !important;
}

body {
    --wp--preset--color--lightsecondarytag:  var(--wp--preset--color--secondary);
    --wp--custom--line-height--medium:1.4;
    --wp--custom--color--black:var(--wp--preset--color--textonbutton);
    /* --colors-background-brand-bold: var(--wp--preset--color--primary)!important; */
}
::selection {
    color: #fff;
}
h1, h2, h3 {
    margin-bottom:2rem;
}
:where(.wp-site-blocks) > * {
    margin-block-start: 0;
}
.wp-block-navigation__container>.wp-block-navigation-item:not(.has-child)>a:after {
    height: 1px;
    color: var(--wp--preset--color--secondary);
}
.wp-block-heading {
    font-family: var(--wp--preset--font-family--outfit);
}
.wp-block-heading.prix {
    font-size: var(--wp--preset--font-size--max-huge) !important;
}
.wp-block-heading.prix:not(:first-child) {
    margin-top:75px!important;
}
.temoignages .is-style-hovershadow {
    min-height:334px;
}
.ti-widget.ti-goog .ti-review-content {
    font-size:17px;
}
.ti-widget.ti-goog .ti-widget-container .ti-name {
    font-size:16px;
}
.ti-widget.ti-goog .ti-read-more span {
    font-size: 15.5px;
}
.wp-block-social-links.is-style-logos-only .wp-social-link svg {
    height: 1em;
    width: 1em;
}
#sb_instagram #sbi_load .sbi_load_btn, #sb_instagram .sbi_follow_btn a {
    font-size: 16px;
}
#sb_instagram .sbi_follow_btn a:hover, #sb_instagram .sbi_follow_btn a:focus {
    box-shadow: none;
}
#sbi_load {
    margin-top:20px;
}
/* .btn-avis-google {
    display: none!important;;
} */
.sbi_load_btn {
    display: none!important;
}
.wp-block-heading.prix span {
    display: block;
    color:var(--wp--preset--color--secondary);
    /* font-weight:300; */
    font-size:2.4rem;
    text-transform: none;
}
.wp-block-uagb-restaurant-menu .uagb-rm__desc, .wp-block-uagb-restaurant-menu .uagb-rm__title {
    line-height: 1.1em!important;
}
.wp-block-uagb-restaurant-menu .wp-block-uagb-restaurant-menu-child:first-child:before {
    content:'';
    border-top-width: 1px;
    border-top-style: solid;
    display: block;
    text-align: center;
    margin: 0 auto 10px auto;
}
.wp-block-uagb-restaurant-menu .uagb-rest_menu__wrap .uagb-rm__content .uagb-rm-details .uagb-rm__title {
    margin-bottom:10px!important;
    margin-top:15px!important;
}
.wp-block-uagb-restaurant-menu .uagb-rest_menu__wrap .uagb-rm__content .uagb-rm-details .uagb-rm__desc {
    margin-bottom:35px!important;
}
.wp-block-uagb-restaurant-menu .uagb-rest_menu__wrap .uagb-rm__separator, .wp-block-uagb-restaurant-menu .wp-block-uagb-restaurant-menu-child:first-child:before {
    /* border-top-style: dashed!important; */
    width: 7%!important;
    border-color: var(--wp--preset--color--secondary)!important;
}
.wp-block-uagb-restaurant-menu-child.liste-prix-vide .uagb-rm__separator, .wp-block-uagb-restaurant-menu-child.liste-prix-vide .uagb-rm__content {
    display: none!important;
}
.wp-block-button, .wp-block-navigation-item__content, 
.sbi_follow_btn.sbi_custom a {
    font-family: var(--wp--preset--font-family--pt-sans-narrow);
    text-transform: uppercase;
    letter-spacing: 2px;
}
.sbi_follow_btn.sbi_custom a {
    padding:10px 25px!important;
}
.wp-block-navigation__responsive-container-content {
    gap: 28px;
}
.hero-unit {
    background-position: top center;
}
.wp-block-social-links.block-social.is-style-logos-only .wp-social-link svg {
    width:75px;
    height:75px;
}
.wp-block-uagb-restaurant-menu .uagb-rest_menu__wrap .uagb-rm__content .uagb-rm-details .uagb-rm__title {
    font-size:var(--wp--preset--font-size--large);
}
.bloc-copyright p a {
    text-decoration: none;
}
.bloc-copyright p a:hover {
    text-decoration: underline;
}
.cky-btn-revisit-wrapper {
    background-color: var(--wp--preset--color--secondary)!important;
}
.go-to-top-button {
    background-color: var(--wp--preset--color--secondary);
    border-radius: 3px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    /* display: flex; */
    justify-content: center;
    align-items: center;
    display: none;
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 99;
    color: white;
    cursor: pointer;
}
.go-to-top-button svg {
    fill: white;
}
.go-to-top-button:hover {
    background-color: var(--wp--preset--color--primary);
}
.rtb-booking-form fieldset {
    border-width: 1px;
}
.rtb-form-submit button  {
    background-color: var(--wp--preset--color--secondary);
    border-radius: 0;
    border-width: 0;
    color: var(--wp--preset--color--textonprimary);
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    padding: calc(0.667em + 2px) calc(1.333em + 2px);
    text-decoration: none;
    font-family: var(--wp--preset--font-family--pt-sans-narrow);
    text-transform: uppercase;
    letter-spacing: 3px;
    cursor:pointer;
    border-radius: 3px;
}
.rtb-booking-form legend {
    font-family: var(--wp--preset--font-family--outfit);
    font-style: normal;
    font-weight: 100;
    text-transform: uppercase;
    font-size:  var(--wp--preset--font-size--medium);
}
.rtb-text {
    font-size:  var(--wp--preset--font-size--medium);
}
textarea {
    padding: 9px 15px;
}
.wp-block-button .wp-block-button__link {
    font-weight: var(--wp--custom--font-weight--medium);
    border-radius: 3px;
}
.wp-block-button .wp-block-button__link:hover {
    border-radius: 3px;
}
.wp-block-button.is-style-fill .wp-block-button__link {
    border:2px solid var(--wp--preset--color--primary);
    
}
header .wp-block-button.is-style-fill .wp-block-button__link {
    border:0;
}
.wp-block-button.is-style-fill .wp-block-button__link:hover, .sbi_follow_btn a:hover {
    border-color:transparent;
    background-color:var(--wp--preset--color--secondary)!important;
    color:var(--wp--custom--color--black)!important;
    transform: scale(1.07);
}
.wp-block-navigation-item.current-menu-item a:after {
    width: 100%!important;
}
footer .wp-block-social-links.is-style-logos-only .wp-social-link svg {
    width: 34px;
    height: 34px;
}
footer ul.is-style-nounderline li {
    align-items: center;
    background-color: inherit;
    display: flex;
    position: relative;
    margin-bottom:18px;
    line-height:1.7rem;
}
footer ul.is-style-nounderline li:before {
    content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path fill="%23e3a64b" d="M278.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L210.7 256 73.4 118.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l160 160z"/></svg>');
    display: inline-block;
    width: 14px;
    height: 14px;
    padding: 0 8px 8px 0;
}
footer ul.is-style-nounderline li.lien-tel:before {
    content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="%23e3a64b" d="M164.9 24.6c-7.7-18.6-28-28.5-47.4-23.2l-88 24C12.1 30.2 0 46 0 64C0 311.4 200.6 512 448 512c18 0 33.8-12.1 38.6-29.5l24-88c5.3-19.4-4.6-39.7-23.2-47.4l-96-40c-16.3-6.8-35.2-2.1-46.3 11.6L304.7 368C234.3 334.7 177.3 277.7 144 207.3L193.3 167c13.7-11.2 18.4-30 11.6-46.3l-40-96z"/></svg>');
    width: 18px;
    height: 18px;
    padding: 0 8px 8px 0;
}
footer ul.is-style-nounderline li.lien-map:before {
    content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path fill="%23e3a64b" d="M215.7 499.2C267 435 384 279.4 384 192C384 86 298 0 192 0S0 86 0 192c0 87.4 117 243 168.3 307.2c12.3 15.3 35.1 15.3 47.4 0zM192 128a64 64 0 1 1 0 128 64 64 0 1 1 0-128z"/></svg>');
    width: 16px;
    height: 16px;
    padding: 0 12px 12px 0;
}
footer ul.is-style-nounderline a:hover {
    text-decoration:underline;
}
/* .site-header {
    padding-left: 10px!important;
    padding-right: 10px!important;
} */
/* .site-header .fr-sticky-header {
    padding-left: 50px!important;
    padding-right: 50px!important;
} */
.bloc-reserver-tel.is-style-no-margin {
    margin-top: 60px!important;
}
body:not(.page-id-614) .bloc-reserver-tel {
    display:none;
}
.bloc-reserver-tel .wp-block-button.is-style-fill .wp-block-button__link:hover {
    background-color: var(--wp--preset--color--primary) !important;
    color: white !important;
}
body:not(.page-id-3):not(.page-id-225):not(.page-id-223):not(.error404) .site-header:not(.fr-sticky-enable) .fr-sticky-header {
    background:transparent!important;
}
body:not(.page-id-3):not(.page-id-225):not(.page-id-223):not(.error404) .site-header .fr-sticky-header  {
    padding-left: 40px!important;
    padding-right: 40px!important;
}
body:not(.page-id-3):not(.page-id-225):not(.page-id-223):not(.error404) .site-header {
    position: fixed;
    width: 100%;
    top: 0;
    left:0;
    z-index: 9999!important;
}


/* .site-header.fr-sticky-enable  {
    padding-top: 10px;
} */
#cmplz-document p, .editor-styles-wrapper .cmplz-unlinked-mode p, #cmplz-document li, .editor-styles-wrapper .cmplz-unlinked-mode li, #cmplz-document td, .editor-styles-wrapper .cmplz-unlinked-mode td {
    font-size: initial;
}
.site-header.fr-sticky-enable .wp-block-site-logo img {
    max-width: 85%;
    transition: max-width 0.3s ease-out;
}
.pic-fx img, .pic-fx figure {
    position:relative;
}
.pic-fx img:after {
    position: absolute;
    content: "";
    top: 10px;
    left: 10px;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    border: 1px dashed var(--wp--preset--color--secondary);
    opacity: 0.45;
    z-index: 1;
}
.paddingtop-sm {
    padding-top:30px;
}
.wp-block-navigation__responsive-container:not(.is-menu-open) .lien-accueil span {
    content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><path fill="%23ffffff" d="M575.8 255.5c0 18-15 32.1-32 32.1h-32l.7 160.2c0 2.7-.2 5.4-.5 8.1V472c0 22.1-17.9 40-40 40H456c-1.1 0-2.2 0-3.3-.1c-1.4 .1-2.8 .1-4.2 .1H416 392c-22.1 0-40-17.9-40-40V448 384c0-17.7-14.3-32-32-32H256c-17.7 0-32 14.3-32 32v64 24c0 22.1-17.9 40-40 40H160 128.1c-1.5 0-3-.1-4.5-.2c-1.2 .1-2.4 .2-3.6 .2H104c-22.1 0-40-17.9-40-40V360c0-.9 0-1.9 .1-2.8V287.6H32c-18 0-32-14-32-32.1c0-9 3-17 10-24L266.4 8c7-7 15-8 22-8s15 2 21 7L564.8 231.5c8 7 12 15 11 24z"/></svg>');
    display: inline-block;
    width: 15px;
    height: 15px;
}
@media screen and (max-width: 1079px) and (min-width: 600px) {
    .wp-container-core-navigation-layout-1.wp-container-core-navigation-layout-1 {
        gap: 0px!important;
        order:4;
    }
}
@media screen and (max-width: 1079px) {
    header.fr-sticky-enable .wp-block-social-links,
    header.fr-sticky-enable .wp-block-buttons {
        display: none;
    }

    .wp-block-navigation__responsive-container-open:not(.always-shown) {
        display: flex;
    }
    .wp-block-navigation__responsive-container:not(.has-modal-open):not(.is-menu-open) #modal-1-content {
        display: none;
    }

}
@media (max-width: 1023px) {
    /* .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
        flex-basis: 100% !important;
    } */
}
@media screen and (max-width: 976px) {
    .wp-block-uagb-restaurant-menu.uagb-rm__tablet-column-2 {
        grid-template-columns: auto;
    }
}
@media screen and (min-width: 768px) {
    .sbi_follow_btn.sbi_custom:not(.sbi_custom_facebook) {
        margin-right:15px;
    }
}

/* @media (max-width: 781px) {
.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
    flex-basis: 100% !important;
}
} */
/* @media (max-width: 1023px){
.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
    flex-basis: 100% !important;
}} */
/* @media (min-width: 782px) {
.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
    flex-basis: 0;
    flex-grow: 1;
}
} */
@media screen and (max-width: 767px) {
    
    .sbi_follow_btn.sbi_custom {
        margin-bottom:10px;
    }
    .hero-unit.hero-unit-sm {
        padding-top:80px;
    }
    /*.site-header.fr-sticky-enable .wp-block-site-logo {
        text-align: center;
    }*/
    /* .site-header.fr-sticky-enable .wp-block-site-logo img {
        max-width: 70%;
    } */
    /* .site-header.fr-sticky-enable .wp-block-site-logo {
        background-image: url(/wp-content/uploads/2024/02/Complices-Logo-Icone-Blanc-RVB-VECTO.svg);
        background-repeat: no-repeat;
        background-position: top center;
    } */
    header .wp-block-button .wp-block-button__link {
        padding-top: 5px;
        padding-right: 15px;
        padding-bottom: 5px;
        padding-left: 15px;
    }
    .bloc-copyright {
        justify-content:center!important;
    }
    
    .bloc-copyright {
        justify-content:center!important;
    }
    .bloc-copyright p, .bloc-copyright figure, .bloc-copyright div {
        width:100%;
        text-align: center;
        display:block;
        margin-top:25px;
        margin-bottom:25px;
    }
    .go-to-top-button {
		display:none!important;
    }
    .wp-block-uagb-restaurant-menu .uagb-rest_menu__wrap .uagb-rm__separator, .wp-block-uagb-restaurant-menu .wp-block-uagb-restaurant-menu-child:first-child:before {
        width: 17%!important;
    }
    .spacer-hero {
        height:170px!important;
    }
    .spacer-hero-bottom {
        height:80px!important;
    }
    
}
@media screen and (max-width: 700px) {
    .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container:before {
        content:'';
    }

    .site-header .wp-block-site-logo {
        max-width: 90%;
    }
    /* .site-header.fr-sticky-enable .wp-block-buttons {
        display: none;
    } */
}
@media screen and (min-width: 430px) and (max-width: 570px) {
    /* .site-header .wp-block-buttons {
        width:100%;
    } */
}
@media screen and (max-width: 480px) {
    body {
        --wp--preset--font-size--max-huge: 2rem;
        --wp--preset--font-size--max-gigantic: 2.2rem;
    }
    .site-header .wp-block-site-logo {
        max-width: 80%;
    }
    .sbi_follow_btn.sbi_custom a {
        padding: 10px 20px !important;
    }
}
@media screen and (max-width: 340px) {
    body {
        --wp--preset--font-size--max-huge: 1.8rem;
        --wp--preset--font-size--max-gigantic: 2rem;
    }
    /* .has-max-gigantic-font-size {
        font-size:var(--wp--preset--font-size--x-large)!important;
    } */
}

/* bug insta */
#sbi_images p{
	display:none !important
}

.text-shadow{
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.filter-dark{
    position: relative
}

.filter-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(53, 63, 43, 0.30); /* Noir semi-transparent */
  z-index: 1;
}

.filter-dark h1,
.filter-dark h2,
.filter-dark p {
  position: relative;
  z-index: 2;
  color: #fff; /* Texte clair sur fond assombri */
}

.ZC_sdk__opened_MKywu{
    z-index: 99 !important;
}

.wp-block-uagb-modal{
    z-index: 100 !important;
}

[id] {
    scroll-margin-top: 100px !important;
}

