/* 
Theme Name: 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: 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
*/

/* Fonts */
@font-face {
    font-family: "Peridot PE";
    src: url("./assets/fonts/peridot/peridot-pe-variable.otf") format("opentype");
    font-style: normal;
    font-weight: 100 950;
    font-display: swap;
}
/* END Fonts */

/* General */
body {
    font-family: "Peridot PE", Arial, sans-serif;
}

.wpsl-gmap-canvas img {
    max-width: none;
}

.font-peridot {
    font-family: "Peridot PE", Arial, sans-serif;
}

h2.elementor-heading-title {
    /* color: #21364C !important; */
    line-height: 1.2em !important;
}
/* END General */

/* Header */
header {
    background: linear-gradient(110deg,#21364C 0%, #285279 55%, #4778A0 100%);
    /* background: linear-gradient(120deg,#21364C 0%, #285279 100%); */
}

.sidebar-menu {
    background: linear-gradient(145deg,#172A38 0%,#21364C 45%,#285279 100%);
}
/* END Header */

/* Store locator */
.store_carousel_custom .swiper-slide-image {
    width: 100%;
    height: 577px;
    object-fit: cover;
}
/* END Store locator */

/* Store locator contact */
#custom_map_contact * {
    border-radius: 0 !important;
}

#custom_map_contact #list-shop {
    overflow: hidden;
}

#custom_map_contact .wpgmza-standalone-component label.wpgmza-address {
    display: none;
}

#custom_map_contact .store_search {
    width: 100%;
    padding: 10px 0;
    background-color: #f8f6f4;
}

#custom_map_contact .store_search label {
    display: none;
}

#custom_map_contact .store_search svg {
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    background: transparent;
    border: none;
}

.page-id-32359 #custom_map_contact .store_search {
    border-bottom: solid 1px;
}

.page-id-32359 #custom_map_contact .store_search input {
    background: #fff;
}

.page-id-32359 #custom_map_contact input{
    padding-left: 10px!important;
}

#custom_map_contact .store_search svg:nth-child(2){
    right: 0
}
/* END Store locator contact */

#custom_map * {
    border-radius: 0 !important;
}

#custom_map .store_liist {
    height: 325px;
    overflow-y: scroll;
}

#custom_map .store_search label {
    display: none;
}

#custom_map .store_search svg {
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    background: transparent;
    border: none;
}

.page-id-14442 #custom_map .store_search {
    border-bottom: solid 1px;
}

.page-id-14442 #custom_map input{
    padding-left: 10px!important;
}

#custom_map .store_search svg:nth-child(2){
    right: 0
}
.elementor-31.elementor-element.elementor-element-b513426 * {
    width: 100% !important;
    display: block;
}

.store_search .wpgmza-store-locator,
.store_search input,
.store_search .wpgmza-address-container {
    width: 100%;
    border: none !important;
    background: white
}

.store_search input {
    padding-left: 50px !important;
}

/***
* class: .sticky-header
*/
header.sticky-header {
    --header-height: 100px;
    --shrink-header-to: 0.6;
    --transition: .45s cubic-bezier(.4, 0, .2, 1);
}

/***
* Sticky header activated
*/
header.sticky-header.elementor-sticky--effects {
    background-color: rgba(244, 245, 248, .8);
    box-shadow: 0 4px 33px 1px rgba(0, 0, 0, .07);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
}

header.sticky-header > .elementor-container {
    min-height: var(--header-height);
    transition: min-height var(--transition);
}

header.sticky-header.elementor-sticky--effects > .elementor-container {
    min-height: calc(var(--header-height) * var(--shrink-header-to));
}

/***
* Shorter header on mobile (70px instead of 100px)
*/
@media only screen and (max-width: 767px) {
    header.sticky-header {
        --header-height: 70px;
    }
}

/***
* class: .logo
*/
header.sticky-header .logo img {
    transition: transform var(--transition);
}

header.sticky-header.elementor-sticky--effects .logo img {
    transform: scale(.8);
}

header.sticky-header.elementor-sticky--effects {
    --header-height: 70px;
    transition: --header-height var(--transition);
    top: -12px !important;
}

.burger_menu svg {
    width: 100px !important;
    cursor: pointer
}

.relevanssi-live-search-result-status {
    font-size: 20px;
}

.relevanssi-live-search-result-status {
    font-size: 20px;
}

#custom_services .elementor-cta__description {
    height: 250px
}

.elementor-lightbox .elementor-video-container .elementor-video-landscape iframe, .elementor-lightbox .elementor-video-container .elementor-video-landscape video {
    height: 100%;
}

/** Comment form **/

#comments #reply-title{
    font-size: 20px;
    text-transform: uppercase;
    color: #97155E;
    font-weight: bold;
    margin-bottom: 10px;
}
#comments .comment-form-comment label{
    display: none;
}
#comments .comment-form-comment textarea{
    border-radius: 0;
}
#comments #submit{
    background: #97155E;
    color: white;
    text-transform: uppercase;
    border: solid 1px;
}

#comments #submit:hover{
    background: white;
    color: #51aec8;
    text-transform: uppercase;
    border: solid 1px;
}
#comments .comment-list .children{
    width: 90%;
    margin-left: 10%;
    padding: 0;
    margin-bottom: 20px;
    margin-top: 20px;
}
#comments .comment-list .children:before{
    content: none;
    display: none!important;
    padding: 0!important;
}
#comments .comment-list li article{
    padding-block-start: 10px!important;
    padding-block-end: 10px!important;
    padding-inline-start: 50px!important;
    padding-inline-end: 10px!important;
}

.elementor-shortcode table{
    width: 100%!important;
}
.elementor-shortcode table td{
    background: none!important;
    color: #285279;
}

.elementor-shortcode table td:nth-child(2){
    text-align: right
}
#wpsl-base-gmap_1,
.wpsl-locations-details,
.wpsl-opening-hours,
.wpgmza_marker_list_class .wpgmza_custom_fields{
    display: none
}

.custom_list .wpgmza_marker_list_class{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.custom_list .wpgmza_marker_list_class .wpgmaps_mlist_row{
    width: 49%;
    margin-bottom: 1%;
}
.locator_left_block .wpsl-locations-details,
.locator_left_block .wpsl-gmap-canvas,
.locator_left_block .wpsl-opening-hours{
    display: none;
}

#centre_form select{
    line-height: 1.4;
    font-size: 15px;
}
#centre_form .select-caret-down-wrapper{
    display: none
}



.custom-opening-hours td{
    border: none!important;
    padding: 0;
}
.custom-opening-hours td:nth-child(even){
    display: flex;
    justify-content: flex-end;
}
.custom-opening-hours td:nth-child(2):has(> time:only-of-type) {
    margin-right: 119px;
	/* justify-content: flex-start; */
    /* margin-left: calc(17% - 1px); */
	/* text-align: left; */
}

.custom-opening-hours td:nth-child(even) time{
    margin-left: 10px;
}

.custom-opening-hours td:nth-child(even) time:nth-child(2){
    margin-left: 20px;
    position: relative;
}
.custom-opening-hours td:nth-child(even) time:nth-child(2):before{
    content: '-';
    position: absolute;
    left: -12px;
}
@media (max-width: 762px) {

    .custom-opening-hours td:nth-child(even){
        display: inline;
    }

    .custom-opening-hours td:nth-child(even) time{
        margin-left: 5px!important;
    }
    .custom-opening-hours td:nth-child(even) time:nth-child(2):before{
        content: none;
    }
}


.dpt-list .elementor-shortcode  {
    display: flex;
    flex-flow: row wrap;
    padding-top: 40px;
    padding-bottom: 40px;
}

.dpt-list .dpt-card {
    width:23%;
    background: #fff;
    border: solid 1px rgba(0,0,0,0.1);
    padding: 10px 15px;
    margin: 0 5px 10px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

}
@media (max-width: 762px) {

    .dpt-list .dpt-card {
        width:100%;
    }
}

.dpt-list::before, .dpt-list::after{
    display: none;
}

.dpt-card .card-title{
    position: relative;
    margin-bottom: 10px;
    display: block;
    text-transform: uppercase;
    font-weight: bold;
}

.dpt-card .card-title::after {
    content: "";
    background: #2ea3bf;
    height: 2px;
    width: 50px;
    position: absolute;
    bottom: -3px;
    left: 0;
}

.dpt-card p {
    text-transform: uppercase;
}

.dpt-card .card-phone-number {
    margin-bottom: 10px;
    margin-top: 10px;
}

.dpt-card .card-phone-number .phone_number{
    display: none;
}

.dpt-card .card-rdv {
    margin-bottom: 5px;
}

.dpt-card .btn-phone {
    background: #2ea3bf;
    color: #fff;
    padding: 5px 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    font-size: 15px;
    text-transform: uppercase;
    width: fit-content;
    cursor: pointer;
}

.dpt-card .btn-rdv {
    background: #4b4b4b;
    color: #fff!important;
    padding: 5px 10px;
    text-decoration: none!important;
    border-radius: 5px;
    font-size: 15px;
    text-transform: uppercase;
}

.dpt-card .card-link {
    text-transform: uppercase;
    outline: 0;
    color: var( --e-global-color-primary );
}

@media all and (max-width:991px) {
    .dpt-list .wpb_raw_code .dpt-card {
        width:30%;
    }
}

#search-dept{
    font-family: "Roboto", Sans-serif;
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
    font-style: normal;
    text-decoration: none;
    line-height: 1em;
    letter-spacing: 0px;
    word-spacing: 0em;
    fill: #FFFFFF;
    color: #FFFFFF;
    background-color: var( --e-global-color-primary );
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: var( --e-global-color-primary );
    border-radius: 100px 100px 100px 100px;
    padding: 16px 55px 16px 55px;
}
.morecontent {
    display: none;
}

.elementor-posts .elementor-post__card .elementor-post__thumbnail img{
    height: 250px;
    object-fit: cover;
}

/* List by departments */
.liste_centres_par_departement .elementor-shortcode {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 20px;
}

@media all and (min-width: 1025px) {
    .liste_centres_par_departement .departement-group.multi-col {
        grid-column: span 2;
    }

    .liste_centres_par_departement .departement-group.multi-col .wrapper-card {
        /* display: grid;
        grid-template-columns: repeat(2, 1fr); */
        column-count: 2;
    }
}

@media all and (max-width: 1024px) {
    .liste_centres_par_departement .elementor-shortcode {
        grid-template-columns: repeat(3,1fr);
    }
}

@media all and (max-width: 767px) {
    .liste_centres_par_departement .elementor-shortcode {
        grid-template-columns: repeat(2,1fr);
    }
}

@media all and (max-width: 480px) {
    .liste_centres_par_departement .elementor-shortcode {
        grid-template-columns: repeat(1,1fr);
    }
}

.liste_centres_par_departement .departement-group h2 {
    color: #97155E;
}

/* .liste_centres_par_departement .departement-group.multi-col h2 {
    grid-column: 1 / -1;
} */

.liste_centres_par_departement .departement-group {
    padding: 15px;
    background-color: #fff;
}

.liste_centres_par_departement .card-title {
    margin-bottom: 0;
}

.liste_centres_par_departement .card-title::first-letter {
    text-transform: uppercase;
}

.liste_centres_par_departement .card-title::after {
    content: none;
}

.liste_centres_par_departement .card-title a {
    font-size: 16px;
    /* text-transform: lowercase; */
    text-transform: capitalize;
    text-underline-offset: 4px;
}

.liste_centres_par_departement .card-title a::first-letter {
    display: block;
    text-transform: uppercase;
}

.selector_display input[type=checkbox] {
    border: 1px solid #000000;
    background-color: transparent;
    transition: 0.25s all;
    width: 2rem;
    height: 2rem;
}

.selector_display input[type=checkbox]:after {
    content: "\f00c";
    font-family: "Font Awesome 6 Pro";
    width: 100%;
    height: 100%;
    font-size: 1.5rem;
    border: none;
    transform: none;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.selector_display input[type=checkbox] + label {
    font-size: 2rem;
}

.selector_display .switch input[type="checkbox"] {
    position: absolute;
    left: -99999px;
}

.selector_display .switch input[type="checkbox"]:checked + label {
    background: #00A5C1;
}

.selector_display .switch input[type="checkbox"]:checked + label:before {
    left: 3.5rem;
    transition: 0.25s all;
}

.selector_display .switch label {
    display: block;
    background: #21364C;
    height: 3rem;
    width: 6rem;
    margin: 0 auto;
    position: relative;
    border-radius: 99999px;
}

.selector_display .switch label:before {
    content: "";
    display: block;
    position: absolute;
    z-index: 1;
    top: 0.5rem;
    left: 0.5rem;
    height: 2rem;
    width: 2rem;
    background: #FFFFFF;
    transition: 0.25s all;
    border-radius: 99999px;
}

.selector_display .switch label .on {
    display: block;
    position: absolute;
    z-index: 0;
    left: 8rem;
    opacity: 1;
    min-width: 2rem;
    line-height: 3rem;
}

.selector_display .switch label .off {
    display: block;
    position: absolute;
    z-index: 0;
    right: 8rem;
    text-align: right;
    min-width: 2rem;
    line-height: 3rem;
    opacity: 1;
}
/* END List by departments */