/* 
Theme Name: ABS Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: ABS-hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Off canvas menu */

.hc-offcanvas-nav .nav-content ul.menu {
    margin-top: 36px;
}

.hc-offcanvas-nav .nav-close-button span::before {
    margin-left: -6px;
}

.hc-offcanvas-nav .nav-wrapper>.nav-content>ul:first-of-type>li:first-child:not(.nav-back):not(.nav-close)>.nav-item-wrapper>.nav-item-link+a {
    border-top: 0px solid #00405F;
}

.hc-offcanvas-nav a.nav-next {
    border-left: 0px solid #B48A1E;
    border-bottom: 0px solid #B48A1E;
}

.hc-offcanvas-nav .nav-content>.nav-close:first-child a,
.hc-offcanvas-nav .nav-title+.nav-close a.has-label,
.hc-offcanvas-nav li.nav-close a,
.hc-offcanvas-nav .nav-back a {
    background: #00405F;
    border-top: #B48A1E;
    border-bottom: 0px solid #B48A1E;
}

.hc-offcanvas-nav .nav-container,
.hc-offcanvas-nav .nav-wrapper,
.hc-offcanvas-nav ul {
    background: #00405F;
}

.hc-offcanvas-nav .nav-wrapper>.nav-content>ul:first-of-type>li:first-child:not(.nav-back):not(.nav-close)>.nav-item-wrapper>.nav-item-link {
    border-top: 0px solid #00405F;
}

.hc-offcanvas-nav .nav-item-link,
.hc-offcanvas-nav li.nav-close a,
.hc-offcanvas-nav .nav-back a {
    border-bottom: 0px solid #B48A1E;
}

.hc-offcanvas-nav .nav-item-link,
.hc-offcanvas-nav li.nav-close a,
.hc-offcanvas-nav .nav-back a {
    font-family: dual, Sans-serif;
    font-size: 16px !important;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1em;
    letter-spacing: 1.2px;
}

.hc-nav-trigger {
    border: 0 !important;
}

.hc-nav-trigger:hover,
.hc-nav-trigger:focus {
    background: none !important;
}


.e-loop-item:has(.firstItem) {
    grid-column: 1 !important;
    grid-row: 1 / 4 !important;
}


li.menu-item-8708,
li.menu-item-15565,
li.menu-item-10158,
li.menu-item-8074,
li.menu-item-10971 {
    pointer-events: none;
    cursor: default;
}

.top-about-us.menu-item.menu-item-type-custom.menu-item-object-custom.current-menu-ancestor.current-menu-parent.menu-item-has-children.menu-item-15570>a,
.top-our-services.menu-item.menu-item-type-custom.menu-item-object-custom.current-menu-ancestor.current-menu-parent.menu-item-has-children.menu-item-15567>a,
.top-news.menu-item.menu-item-type-custom.menu-item-object-custom.current-menu-ancestor.current-menu-parent.menu-item-has-children.menu-item-15568>a,
.menu-item.menu-item-type-custom.menu-item-object-custom.current-menu-ancestor.current-menu-parent.menu-item-has-children.menu-item-15602>a,
.menu-item.menu-item-type-custom.menu-item-object-custom.current-menu-ancestor.current-menu-parent.menu-item-has-children.menu-item-15603>a {
    color: #B48A1E;
}

/* RESPONSIVE */

@media screen and (max-width:1024px) {

    .hc-offcanvas-nav li.menu-item-10157,
    .hc-offcanvas-nav li.menu-item-15565,
    .hc-offcanvas-nav li.menu-item-8708,
    .hc-offcanvas-nav li.menu-item-10158 {
        display: none;
    }
}

@media screen and (min-width:1025px) {
    li.ebankingMenu {
        display: none !important;
    }
}


/* Image size for Artwork on archives page */

.paysage {
    width: 100%;
}

.carre {
    width: 90%;
}

.portrait {
    width: 75%;
}

/* Play Button for video Artwork */
.play-button {
    width: 50px;
    height: 50px;
    position: absolute;
    transform: translate(-50%, -50%);
    top: 47%;
    left: 50%;
    border: 2px solid #ffffff;
    border-radius: 54px;
    cursor: pointer;
}

.play-button span {
    position: absolute;
    top: 13px;
    left: 16px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 20px solid #fff;
}

/*LANGUAGE DROPDOWN */

.wpml-ls-statics-shortcode_actions.wpml-ls.wpml-ls-legacy-dropdown {
    margin-left: 11px;
    margin-right: 6px;
}

.menu-item.wpml-ls-slot-3 {
    margin-right: 0;
}

.wpml-ls-statics-shortcode_actions.wpml-ls.wpml-ls-legacy-dropdown {
    display: inline-block;
    border: 0;
    width: auto;
}

.wpml-ls-statics-shortcode_actions.wpml-ls-legacy-dropdown a {
    background: transparent;
    border: 0;
    text-transform: uppercase;
    padding-top: 0;
    padding-bottom: 0;
}

.wpml-ls-legacy-dropdown .wpml-ls-current-language:hover>a {
    background: transparent;
    color: #fff;
}


.wpml-ls-statics-shortcode_actions .wpml-ls-sub-menu {
    border-color: transparent;
}

.wpml-ls-legacy-dropdown .wpml-ls-current-language:hover .wpml-ls-sub-menu {
    padding-top: 9px;
}

.wpml-ls-legacy-dropdown .wpml-ls-sub-menu a {
    padding-right: calc(10px + 1.4em);
}

.wpml-ls-slot-3 .dropdown-menu {
    background: transparent;
    padding: 8px 0px;
    border: 0;
}

.wpml-ls-slot-3 .dropdown-menu li {
    margin-left: 0;
}

.wpml-ls-current-language a {
    color: #4dc7e7;
}

.search-icon {
    background: none;
    border: none;
    cursor: pointer;
}

.search-icon i {
    color: #333;
    /* Choisir la couleur appropriée */
    font-size: 16px;
    /* Ajuster la taille selon le design */
}

.search-icon:hover i {
    color: #555;
    /* Couleur au survol */
}


/*CONTACT FORM */

form .valid[type="text"],
form .valid[type="tel"],
form select.valid,
form .valid[type="email"] {
    background-image: url('images/green-tick.png');
    background-position: right center;
    background-repeat: no-repeat;
    background-size: contain;
    border: 1px solid green !important;

}

form textarea.valid {
    background-image: url('images/green-tick.png');
    background-position: right bottom;
    background-repeat: no-repeat;
    background-size: 39px;
    border: 1px solid green !important;
}

form .invalid[type="text"],
form .invalid[type="tel"],
form select.invalid,
form [aria-invalid="true"] {
    background-image: url('images/red-tick.png');
    background-position: right center;
    background-repeat: no-repeat;
    background-size: contain;
    border: 1px solid red !important;

}

form .valid[aria-invalid="true"],
form textarea.invalid {
    background-image: url('images/red-tick.png');
    background-position: right bottom;
    background-repeat: no-repeat;
    background-size: 39px;
    border: 1px solid red !important;
}



form .error-message {
    font-size: 12px;
    margin-left: 17px;
    margin-top: -10px;
    color: red;
}

@media screen and (max-width:1024px) {
    .homeMenu {
        background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><path fill="white" d="M575.8 255.5c0 18-15 32.1-32 32.1l-32 0 .7 160.2c0 2.7-.2 5.4-.5 8.1l0 16.2c0 22.1-17.9 40-40 40l-16 0c-1.1 0-2.2 0-3.3-.1c-1.4 .1-2.8 .1-4.2 .1L416 512l-24 0c-22.1 0-40-17.9-40-40l0-24 0-64c0-17.7-14.3-32-32-32l-64 0c-17.7 0-32 14.3-32 32l0 64 0 24c0 22.1-17.9 40-40 40l-24 0-31.9 0c-1.5 0-3-.1-4.5-.2c-1.2 .1-2.4 .2-3.6 .2l-16 0c-22.1 0-40-17.9-40-40l0-112c0-.9 0-1.9 .1-2.8l0-69.7-32 0c-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>');
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        /* Pour ajuster la taille de l'icône */
        width: 26px;
        /* Ajuste selon tes besoins */
        height: 26px;
        /* Ajuste selon tes besoins */
        margin-left: 15px;
        margin-bottom: 13px;
    }

    .homeMenu a {
        text-indent: -9999px;
        /* Cache le texte en l'envoyant hors de l'écran */
        white-space: nowrap;
        /* Empêche la ligne de se casser */
        overflow: hidden;
        /* Assure que rien ne déborde */
        display: block;
        /* S'assure que l'élément est bien un bloc */
    }

    .ebankingMenu {
        background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="white" d="M224 256A128 128 0 1 0 224 0a128 128 0 1 0 0 256zm-45.7 48C79.8 304 0 383.8 0 482.3C0 498.7 13.3 512 29.7 512l388.6 0c16.4 0 29.7-13.3 29.7-29.7C448 383.8 368.2 304 269.7 304l-91.4 0z"/></svg>');
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        width: 15px;
        /* Ajuste selon tes besoins */
        height: 15px;
        margin-left: 16px;
        margin-top: 12px;
    }

    .ebankingMenu a {
        padding: 0px 0px 0px 25px !important;
        text-transform: inherit !important;
    }

    .menu-item-8074,
    .menu-item-10971 {
        display: none !important;
    }
}

@media screen and (min-width:1025px) {
    .homeMenu {
        display: none !important;
    }


}

/* Quote Placeholders */
.quote-placeholder {
    background: linear-gradient(135deg, #00405F 0%, #002D44 100%);
    color: #ffffff;
    padding: 60px 40px;
    text-align: center;
    border-radius: 8px;
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.white-quote-placeholder {
    background: #f9f9f9;
    color: #00405F;
    border: 1px solid #e0e0e0;
}

.quote-text {
    font-family: inherit;
    font-size: 28px;
    line-height: 1.4;
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    max-width: 800px;
}

.quote-text::before {
    content: "\201C";
    font-size: 60px;
    color: #B48A1E;
    position: absolute;
    top: -40px;
    left: -30px;
    opacity: 0.5;
}

.quote-author {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #B48A1E;
    font-size: 16px;
}