/*
Theme Name: Twenty Twenty-Four
Theme URI: https://wordpress.org/themes/twentytwentyfour/
Author: the WordPress team
Author URI: https://wordpress.org
Description: Twenty Twenty-Four is designed to be flexible, versatile and applicable to any website. Its collection of templates and patterns tailor to different needs, such as presenting a business, blogging and writing or showcasing work. A multitude of possibilities open up with just a few adjustments to color and typography. Twenty Twenty-Four comes with style variations and full page designs to help speed up the site building process, is fully compatible with the site editor, and takes advantage of new design tools introduced in WordPress 6.4.
Requires at least: 6.4
Tested up to: 6.4
Requires PHP: 7.0
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentyfour
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/
header {
    position: fixed;
    width: 100%;
    z-index: 100;
}

.wp-block-navigation__responsive-container-close svg, .wp-block-navigation__responsive-container-open svg {
    fill: currentColor;
    display: block;
    height: 42px !important;
    pointer-events: none;
    width: 42px !important;
    color:#fff;
}
.has-modal-open .wp-block-navigation__responsive-container-close svg, .has-modal-open .wp-block-navigation__responsive-container-open svg {
    fill: currentColor;
    display: block;
    height: 42px !important;
    pointer-events: none;
    width: 42px !important;
    color: #000;
}
:where(footer .is-layout-flex) {
    gap: 0rem;
}
footer .liste-pages a{
    font-size: 14px;
    text-decoration:none;
}
footer .liste-pages a:hover {
    text-decoration: underline;
}
.copyright p {
    font-size: 12px;
}
.copyright p a {
    text-decoration:none;
}
.copyright p a:hover {
    text-decoration: underline;
}
.wp-block-social-links li { margin:0 10px;}

.wp-block-button a {
    background-color: transparent;
    color: #373118;
    border: 2px solid #373118;
    font-family: 'Latienne';
    font-weight: bold;
    font-size: 18px;
    padding: 5px 20px;
}

header {
    --shadow: hsla(0 0% 0% / 0.1) 0 0.5rem 1rem;
    position: sticky;
    top: 0;
    background-color: transparent;
    box-shadow: var(--shadow);
    z-index: 10;
}
main {
    margin-top:-182px !important;
}
.page-template-default main {
    margin-top: -100px !important;
}
.custom-logo {
    margin-left: 160px;
}
.page-template-default header .custom-logo {
    filter: brightness(0);
}
header {
    box-shadow:none;
    background-color: transparent;
}
.home .custom-logo {
    filter: brightness(1);
}
.home .wp-block-social-links li, .home .wp-block-navigation__responsive-container-open svg {
    filter: brightness(1);
}

    .header-scroll {
    box-shadow: var(--shadow);
    background-color: #fff9ee;
}
.home .custom-logo {
    filter: brightness(1);
}
.home .header-scroll .custom-logo {
    filter: brightness(0);
}
.home .header-scroll .wp-block-social-links li, .home .header-scroll .wp-block-navigation__responsive-container-open svg, .header-scroll .lv-top span.wp-block-navigation-item__label {
    filter: brightness(0);
}
.page-template-default header .wp-block-social-links li, .page-template-default header .wp-block-navigation__responsive-container-open svg {
    color: #000 !important;
}
.page-template-default header.header-scroll .wp-block-social-links li, .page-template-default header.header-scroll .wp-block-navigation__responsive-container-open svg {
    color: #000 !important;
}
.page-template-default header .lv-top span.wp-block-navigation-item__label {
    filter: brightness(0);
}
input, textarea, select {
    padding: 10px 5px;
    width: 100%;
    border: 2px solid #746d55;
    font-size: 14px;
    margin: 10px;
    border-radius: 4px;
}
.bloc-seychelles:hover .bloc-titre {
    background-color: #a5cbe2 !important;
}
.bloc-provence:hover .bloc-titre {
    background-color: #f6d9d7 !important;
}

.bloc-provence a, .bloc-seychelles a {
    text-decoration: none !important;
}
.bloc-seychelles:hover .wp-block-cover__image-background, .bloc-provence:hover .wp-block-cover__image-background {
    filter: none;
}
.wpml-ls-item-en a span, .wpml-ls-item-fr a span {visibility:hidden}
.wpml-ls-item-en a span:after {
    content: 'EN';
    visibility:visible;
}
    .wpml-ls-item-fr a span:after {
        content: 'FR';
        visibility: visible;
    }
.wp-block-navigation-item__label {
    text-transform: uppercase;
    border: 2px solid #615a43;
    padding: 2px;
    border-radius: 4px;
    font-size: 14px;
}
.wp-block-navigation-item {
    padding: 0 !important;
    margin: 0 !important;
}
[data-wpml='language-item']:first-of-type {
    margin-top: 0px !important;
}

.lv-top .wp-block-navigation-item__label {
    text-transform: uppercase;
    border: 2px solid #fff;
    padding: 2px;
    border-radius: 4px;
    font-size: 14px;
}
.lv-top {
    margin-top:6px !important;
}
li[data-wpml='current-language-item'] { display:none !important;}
.wpml-language-switcher-block ul.horizontal-list {
    justify-content: flex-end !important;
    gap: 0.5em !important;
}
.otgs-development-site-front-end {display:none !important}
footer .wpml-language-switcher-block ul.horizontal-list {
    justify-content: flex-start !important;
}

.wp-block-navigation__responsive-container {
    width: 25%;
    padding: 2%;
}
.wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open {
    background-color: #fff9ee !important;
}
.wp-block-navigation__responsive-container.is-menu-open {
    padding: 20px !important;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item, 
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container, 
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-page-list {
    align-items: flex-start;
    display: flex;
    flex-direction: column
}
.subtitle-home a {
    color:#fff;
    text-decoration:none;
}
.subtitle-home a:hover {
    text-decoration: underline;
}
.wp-block-navigation__responsive-container-content ul li {
    width: 100%;
}
.wp-block-navigation__responsive-container-content ul li a {
    text-align: right !important;
    width: 100%;
}
.wpml-language-switcher-block ul.horizontal-list li a {
    line-height: 100%;
    text-wrap: nowrap;
}


@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
    header > div > div {
        display: flex !important;
        flex-direction: row;
        flex-wrap: nowrap !important;
        align-content: center;
        justify-content: center !important;
        align-items: center !important;
    }

    .home header .custom-logo {
        margin-left: 0 !important;
    }

    .wp-block-navigation__responsive-container {
        width: 50%;
        padding: 2%;
    }
}