/*
 Theme Name: Astra Child
 Theme URI: https://www.myjobglasses.com/
 Description: Un thème enfant pour Astra.
 Author: Lucas Pozzer
 Author URI: https://www.myjobglasses.com/
 Template: astra
 Version: 1.1.0
 Text Domain: astra-child
*/

#wpadminbar {
    /* display: none; */
}


.menu-item {
    position: relative;
}

/* .wrap-menu-desktop  {
    margin: 0!important;
} */

.elementor-nav-menu .menu-item:first-of-type .sub-menu {
    /* display: grid!important; */
    /* background-color: red!important; */
    /* top: calc(100% - 1px)!important; */
}

/* NEW */

/* Menu */
.elementor-location-header > .elementor-element > .e-con-inner > .elementor-element > .e-con-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
}

/* Sous-menu */
.menu-desktop nav>ul>li .elementor-nav-menu--dropdown{
    min-width: 100%;
    max-width: 100%!important;
    width: 100%!important;
    position: fixed!important;
    margin-left: 0px!important;
    padding: 32px 10%;
    background-color: #FFF;
    box-shadow: 0px 10px 10px 0px rgba(12, 29, 55, .1);
    left: 0!important;
    top: 65px!important;
    grid-template-columns: repeat(3, 1fr);
    padding-top: 50px!important;
    gap: 30px;
}

.menu-desktop nav>ul>li:hover ul.sub-menu, ul.sub-menu:hover {
    display: grid!important;
    grid-template-columns: repeat(4, 1fr);
    left: 0!important;
    /* background-color: red!important; */
}

/* En dessous de 1800px */
@media (max-width: 1800px) {
    .menu-desktop .menu-item:hover ul.sub-menu, ul.sub-menu:hover {
        display: grid!important;
        grid-template-columns: repeat(3, 1fr);
        /* background-color: red!important; */
    }
}

/* Items sous-menu */
.menu-desktop nav>ul>li .elementor-nav-menu--dropdown a, .menu-mobile .elementor-nav-menu a {
    color: #0C1D37;
    font-size: 20px!important;
    font-family: 'lexend', Sans-Serif;
    white-space: normal;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-content: flex-start;
    padding: 32px!important;
    border-radius: 12px;
    background-color: #FFF;
    width: 100%;
}

.menu-desktop nav>ul>li .elementor-nav-menu--dropdown a:before{
    content: "→";
    margin-bottom: -20px;
    margin-left: -30px;
    width: 100%;
}

/* Description */
.menu-item-description {
    font-size: 12px;
    color: #535E7C;
    margin-top: 8px;
}


/* Couleurs */

.menu-desktop nav>ul>li:first-of-type a.menu-link:hover, .menu-desktop nav>ul>li:first-of-type a.menu-link:active {
    color: #FF3460;
}

.menu-desktop nav>ul>li:first-of-type .elementor-nav-menu--dropdown a:before{
    color: #FF3460;
}

.menu-desktop nav>ul>li:nth-of-type(2) a.menu-link:hover, .menu-desktop nav>ul>li:nth-last-of-type(2) a.menu-link:active {
    color: #00C1A8;
}

.menu-desktop nav>ul>li:nth-of-type(2) .elementor-nav-menu--dropdown a:before{
    color: #00C1A8;
}

.menu-desktop nav>ul>li:nth-of-type(3) a.menu-link:hover, .menu-desktop nav>ul>li:nth-last-of-type(2) a.menu-link:active {
    color: #E0CA4B;
}

.menu-desktop nav>ul>li:nth-of-type(3) .elementor-nav-menu--dropdown a:before{
    color: #E0CA4B;
}

.menu-desktop nav>ul>li:nth-of-type(4) a.menu-link {
    border: solid 1px #0C1D37!important;
    border-radius: 8px;
    transition: 0.3s;
    margin-right: 12px!important;
}

.menu-desktop nav>ul>li:nth-of-type(4) a.menu-link:hover {
    opacity: 0.8;
}

.menu-desktop nav>ul>li:nth-of-type(5) a.menu-link {
    background-color: #0C1D37!important;
    border-radius: 8px;
    transition: 0.3s;
    color: #FFF!important;
}

.menu-desktop nav>ul>li:nth-of-type(5) a.menu-link:hover {
    opacity: 0.8;
}

.menu-desktop nav>ul>li:nth-of-type(1) .elementor-nav-menu--dropdown a:hover {
    background-color: #FFF2F5;
}

.menu-desktop nav>ul>li:nth-of-type(2) .elementor-nav-menu--dropdown a:hover {
    background-color: #EAFFFC;
}

.menu-desktop nav>ul>li:nth-of-type(3) .elementor-nav-menu--dropdown a:hover {
    background-color: #F7F2D6;
}


/* Mobile */
.menu-mobile nav>ul>li {
    display: flex;
    flex-direction: column;
}

.menu-mobile nav>ul>li .sub-menu li a {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.menu-mobile nav>ul>li .sub-menu[aria-expanded=true], .menu-mobile nav>ul>li .sub-menu:hover {
    display: flex!important;
    flex-direction: column;
    align-items: flex-start;
}

.menu-mobile nav>ul>li .sub-menu .menu-item-description {
    display: none;
}

.menu-mobile nav>.elementor-nav-menu>li {
    margin: 12px 0px;
    border-radius: 12px;
}

.menu-mobile nav>.elementor-nav-menu>li a {
    padding: 22px 20px!important;
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 12px;
}

.elementor-nav-menu--dropdown .elementor-item.highlighted {
    color: #0C1D37!important;
}

.menu-mobile nav>.elementor-nav-menu>li:nth-of-type(1), .menu-mobile nav>.elementor-nav-menu>li:nth-of-type(1) a{
    background-color: #FFF2F5!important;
}

.menu-mobile nav>.elementor-nav-menu>li:nth-of-type(2), .menu-mobile nav>.elementor-nav-menu>li:nth-of-type(2) a{
    background-color: #EAFFFC!important;
}

.menu-mobile nav>.elementor-nav-menu>li:nth-of-type(3), .menu-mobile nav>.elementor-nav-menu>li:nth-of-type(3) a {
    background-color: #F7F2D6!important;
}

.menu-mobile nav>.elementor-nav-menu>li:nth-of-type(4) {
    border: solid 1px #0C1D37!important;
    border-radius: 8px;
    transition: 0.3s;
    margin-right: 12px!important;
}

.menu-mobile nav>.elementor-nav-menu>li:nth-of-type(5), .menu-mobile nav>.elementor-nav-menu>li:nth-of-type(5) a {
    background-color: #0C1D37!important;
    border-radius: 8px;
    transition: 0.3s;
    color: #FFF!important;
}

.menu-mobile .elementor-nav-menu li:nth-of-type(1) a:hover{
    color: #FF3460;
}

.menu-mobile .elementor-nav-menu li:nth-of-type(2) a:hover{
    color: #00C1A8;
}

.menu-mobile .elementor-nav-menu li:nth-of-type(3) a:hover{
    color: #E0CA4B;
}

.menu-mobile .elementor-nav-menu {
    margin: 16px;
}

.menu-mobile .sub-menu {
    background-color: transparent!important;
}

.menu-mobile .sub-menu li a {
    color: #0C1D37!important;
    background-color: transparent!important;
}

.sm-nowrap{
    min-width: 100%;
    max-width: 100%;
    width: 100%!important;
}




/* BANNER */

[class*="-frame"] {
    transition: all 300ms;
    position: absolute;
}

[class*="-frame"]:first-of-type {
    position: relative;
}

[class*="-frame"] fieldset {
    padding: 0px!important;
    margin: 0px!important;
}

[class*="-frame1"] {
    position: relative;
}

.rencontrer-frame {
    position: relative;
}

.hero-home-active a{
    color: #A8B0CB!important;
}
.hero-home-active .elementor-widget-container {
    border-color: #A8B0CB!important;
}
.hero-home-active:hover a{
    color: #CAD0E4!important;
}

/* Hide desktop */

.hide-left {
    opacity: 0;
    margin-left: -1000px;
}

.hide-right {
    opacity: 0;
    margin-left: 1000px;
}

/* Positions */

/* .partager-frame {
  margin-bottom: 50px;
}

.inspirer-frame {
    margin-bottom: 60px;
} */

/* Hide mobile */
.hide-frame {
    display: none;
}





@media screen and (min-width: 1040px) {
    .elementor-63909 .elementor-element.elementor-element-17abf67:not(.elementor-motion-effects-element-type-background), .elementor-63909 .elementor-element.elementor-element-17abf67 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
    animation: heroanim1 500ms;
    }

    @keyframes heroanim1{
        0% {
            background-position: 1005px -91px;
            opacity: 0;
        }
        100% {
            background-position: 305px -91px;
            opacity: 1;
        }
    }
}

@media screen and (max-width: 700px) {
    .elementor-63909 .elementor-element.elementor-element-17abf67:not(.elementor-motion-effects-element-type-background), .elementor-63909 .elementor-element.elementor-element-17abf67 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
        background-position: -160px -91px;
    }
}


@media screen and (max-width: 500px) {
    .elementor-63909 .elementor-element.elementor-element-17abf67:not(.elementor-motion-effects-element-type-background), .elementor-63909 .elementor-element.elementor-element-17abf67 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
        background-position: -100px -51px;
    }
}





.elementor-kit-9 input:not([type="button"]):not([type="submit"]), .elementor-kit-9 textarea, .elementor-kit-9 .elementor-field-textual {
    letter-spacing: 0em;
}


.searchbarfr .nice_mjg_search button.search_submit:hover {
    background-color: #E0CA4B!important;
    color: #0C1D37!important;
}

.searchbarfr .nice_mjg_search button.search_submit {
    transition: 0.3s;
}

.searchbarfr .nice_mjg_search .custom-select:before {
    top: 8px;
}

.searchbarfr .nice_mjg_search fieldset {
    padding: 0px!important;
    align-items: center;
}

.searchbarfr .nice_mjg_search button.search_submit, .nice_mjg_search_mobile button.search_submit {
    font-weight: 400;
    font-size: 1rem;
    padding: 20px 12px;
}

.searchbarfr .nice_mjg_search_mobile .custom-select {
    color: #9E9E9E;
}

.searchbarfr .nice_mjg_search_mobile .select-options li {
    color: #424242;
}

.searchbarfr .nice_mjg_search, .nice_mjg_search_mobile {
    padding: 0px;
}

.searchbarfr .nice_mjg_search .select, .nice_mjg_search_mobile .select {
    color: #0C1D37;
}

.searchbarfr .nice_mjg_search fieldset {
    padding: 8px;
    border-radius: 12px;
}
.searchbarfr .nice_mjg_search form {
    margin: 0;
}

.searchbarfr .nice_mjg_search button.search_submit {
    background-color: #0C1D37;
    border-radius: 12px;
}