/***********************
    GLOBALS
***********************/
body {
    --primary: var(--e-global-color-primary);
    --secondary: var(--e-global-color-secondary);
    --text-color: var(--e-global-color-text);
    --text-font: var(--e-global-typography-primary-font-family);
    --title-font: var(--e-global-typography-secondary-font-family);
    --cookies-text-color : var(--secondary)
}

.elementor-button-link,
.elementor-button {
    font-family: var(--e-global-typography-primary-font-family) !important;
    font-weight: 500 !important;
}
/*@media screen and (min-width: 1025px) {
    .elementor-location-header a.elementor-item {
        font-size: clamp(14px, 7px + .7vw, 17px);
        padding-inline: .8vw !important;
    }
}*/
h1,
.title-xl .elementor-heading-title {
    font-family: var(--title-font);
    font-size: clamp(30px, 10px + 3vw, 40px);
    text-transform: uppercase;
    line-height: 1.1;
}
.title-lg .elementor-heading-title {
    font-family: var(--title-font);
    font-size: 18px;
    line-height: 1.1;
}

.elementor-post__read-more {
    font-weight: 800 !important;
}
#recherches-pop {
    background-color: #000;
    padding: 10px 0;
    text-align: center;
    color: #fff;
}
#recherches-pop a {
    color: #bbb;
}
#recherches-pop a:hover {
    color: var(--primary);
}
#recherches-pop {
    display: none;
}
#comments .title-comments {
    display: none;
}

.commentrating .fa {
    font-size: 16px;
    margin: 0 5px;
    color: #ffcc00;
}

.comment-form-url {
    display: none;
}

.elementor-widget-text-editor p:last-child {
    margin-bottom: 0;
}
.homepages-item{
    min-height: clamp(300px, 70vh + 100px, 8vh);
    background-size: cover;
    background-position: center;
    position: relative;
    isolation: isolate;         

}
.homepages-title{
        color: white;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 20px;
    text-align: center;
    line-height: 1.1;          
}
.homepages-link {
    max-height: 0px;
    opacity: 0;
    transition: .3s;
    text-align: center;
    padding-top: 25px;
}
.homepages-item-content {
    position: absolute;
    width: 100%;
    padding: 10px;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    transition: .3s;
    overflow: hidden;
    z-index: 2;
}
.homepages-item:hover:after {
    transform: scaleY(1);
}
.homepages-item:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: #040404a6;
    z-index: -1;
    /* mix-blend-mode: color; */
    transform: scaleY(0);
    transform-origin: bottom;
    transition: .3s;
}
/* categories page d'accueil */

.homepages-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.homepages-item {
    min-height: clamp(400px, 75vh + 100vh);
    background-size: cover;
    background-position: center;
    position: relative;
    isolation: isolate;
}

.homepages-item:hover .homepages-item-content{
  /* background-color: #ffffff00;*/ 
}
.homepages-item:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
   background-color: #29abe278;
    z-index: -1;
   /* mix-blend-mode: color;*/
    transform: scaleY(0);
    transform-origin: bottom;
    transition: .3s;
}

.homepages-item:hover.homepages-item-content{
/*background-color: #ffffff00!important;*/

}


.homepages-item-content {
    position: absolute;
    width: 100%;
    padding: 6px;
    bottom: 0px;
    left: 50%;
   /* background-color:#ff000080;*/
    transform: translateX(-50%);
    transition: .3s;
    overflow: hidden;
    z-index: 2
}

.homepages-title {
    color:white;
    text-transform: uppercase;
  margin-top: 6%;
    font-weight: bold;
    font-size: 20px;
    text-align: center;
    line-height: 1.2
}
.homepages-link a {
        list-style: none;
    background-color: white;
    color: #29abe2 !important;
    text-decoration: none !important;     
    border-radius: 20px;      
}
.homepages-link {
    max-height: 0px;
    opacity: 0;
    transition: .3s;
    text-align: center;

}

.homepages-date {
    max-height: 0px;
    opacity: 0;
    transition: .3s;
    text-align: center;
    color: white;
    
}



.homepages-link a {
    
    padding: 6px;
    text-transform: uppercase;
    font-weight: 600;
    transition: .3s;
        color: white;
  
}

.homepages-link a:hover {
    
    color: black !important;
      text-decoration: underline;
      padding: 6px;
}
/*HOVER*/
.homepages-item:hover:after {
    transform: scaleY(1);
}
.homepages-item:hover .homepages-item-content {
    bottom: 40%
}
.homepages-item:hover .homepages-link {
    max-height: 150px;
    opacity: 1
}

@media screen and (max-width: 1024px) {
    .homepages-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media screen and (max-width: 767px) {
    .homepages-wrapper {
        grid-template-columns: repeat(1, 1fr);
    }
}
/***********************
    ANIMATIONS
***********************/

body:not(.elementor-editor-active) .transform-left {
    opacity: 0;
    transform: translateX(-100px);
}
body:not(.elementor-editor-active) .transform-right {
    opacity: 0;
    transform: translateX(100px);
}
body:not(.elementor-editor-active) .transform-top {
    opacity: 0;
    transform: translateY(-100px);
}
body:not(.elementor-editor-active) .transform-bottom {
    opacity: 0;
    transform: translateY(100px);
}
body:not(.elementor-editor-active) .transform-opacity {
    opacity: 0;
}

/***********************
    FORMULAIRE
***********************/
#gform_submit_button_1{
background-color:   #0071BC;
color: white;
border-color:#0071BC ;                    
}

#gform_submit_button_1:hover{
background-color:white;
color:#0071BC;
border-color:#0071BC ;                    
}


.gform_wrapper input[type="text"],
.gform_wrapper input[type="email"] {
    border: none;
    border-radius: 0;
    border-bottom: 2px solid #0071bc;
    margin-bottom: 20px;
    background-color: transparent;
}
.gform_wrapper textarea {
    border: 2px solid #0071bc;
    background-color: transparent;
}
.gform_wrapper input[type="text"]:focus,
.gform_wrapper textarea:focus {
    background-color: #aadeff;
}
.gform_wrapper li.gfield > label {
    color: #0071bc;
    font-weight: normal;
    opacity: 0.8;
    position: relative;
    top: 5px;
}
.gform_wrapper .ginput_container_textarea {
    margin-top: 25px !important;
}

/*CHECKBOX*/

.gform_wrapper input[type="checkbox"] {
    opacity: 0;
    position: absolute;
}
.gform_wrapper input[type="checkbox"] + label {
    position: relative;
    overflow: hidden;
    padding-left: 35px;
    cursor: pointer;
    display: inline-block;
    font-size: 16px;
    line-height: 22px;
}

.gform_wrapper input[type="checkbox"] + label:before,
.gform_wrapper input[type="checkbox"] + label:after {
    content: "";
    position: absolute;
    left: 0;
    z-index: 1;
    -webkit-transition: 0.2s;
    transition: 0.2s;
}
/* after */
.gform_wrapper input[type="checkbox"]:not(:checked) + label:after {
    width: 20px;
    height: 20px;
    border: 2px solid #000;
    top: 0px;
    border-radius: 50%;
}
.gform_wrapper input[type="checkbox"]:checked + label:after {
    top: 0;
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary);
    background-color: #0071bc;
    z-index: 0;
    border-radius: 2px;
    border-radius: 50%;
}
/* before */
.gform_wrapper input[type="checkbox"]:not(:checked) + label:before {
    width: 0;
    height: 0;
    border: 3px solid transparent;
    left: 6px;
    top: 10px;
    -webkit-transform: rotateZ(37deg);
    transform: rotateZ(37deg);
    -webkit-transform-origin: 100% 100%;
    transform-origin: 100% 100%;
}
.gform_wrapper input[type="checkbox"]:checked + label:before {
    top: 0;
    left: 1px;
    width: 8px;
    height: 13px;
    margin-top: 3px;
    border-top: 2px solid transparent;
    border-left: 2px solid transparent;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    -webkit-transform: rotateZ(37deg);
    transform: rotateZ(37deg);
    -webkit-transform-origin: 100% 100%;
    transform-origin: 100% 100%;
}

/***********************
    AVIS
***********************/
#submit{
        
border-color:#0071BC !important;
}
/*.front-page-avis-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    margin-top: 20px;
}
.front-page-avis-content-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.front-page-avis-content-author {
    color: var(--e-global-color-primary);
    font-family: var(--e-global-typography-secondary-font-family);
    font-size: 35px;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
}
.front-page-avis-content-date {
    color: black;
    font-family: var(--e-global-typography-secondary-font-family);
    font-weight: 600;
}
.front-page-avis-content-rating i {
    color: #ffcc00;
    margin: 0 10px;
    font-size: 23px;
}
.front-page-avis-content-text {
    color: black;
    text-align: center;
}
@media screen and (max-width: 1024px) {
    .front-page-avis-content-author {
        font-size: 25px
    }
}
@media screen and (max-width: 767px) {
    .front-page-avis-content {
        grid-template-columns: 1fr;
    }
}*/

/***********************
    TABLEAUX
***********************/
tr,
td {
    background-color: transparent !important;
}
.horaires tr,
.horaires td {
    padding: 0 !important;
    border: none !important;
    line-height: 2.2;
}
.horaires-line {
    display: grid;
    grid-template-columns: 1fr 2fr;
}
@media screen and (min-width: 1024px) {
    .horaires-hour {
        justify-self: end;
    }
}
/***********************
    HOME NEWSLETTER
***********************/
/*
.home-newsletter form {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.home-newsletter form p {
    flex-grow: 1;
    margin: 0;
    position: relative;
}
.home-newsletter .meo-newsletter-input,
.home-newsletter .meo-newsletter-submit {
    height: 45px;
    padding-left: 25px;
    font-family: var(--e-global-typography-primary-font-family);
    border-radius: 0;
    border: none;
}
.home-newsletter .meo-newsletter-input::placeholder {
    color: black;
    opacity: 0.5;
    font-family: var(--e-global-typography-primary-font-family);
    font-style: italic;
}
.home-newsletter .meo-newsletter-submit {
    background-color: var(--e-global-color-secondary) !important;
    color: white !important;
    text-transform: uppercase;
    padding-right: 25px !important;
    padding-left: 25px !important;
}*/
/***********************
    SITEMAP
***********************/
.wsp-container h2 {
    margin-top: 20px;
    color: var(--secondary);
}

.wsp-container li a,
.wsp-container strong {
    font-size: 1rem;
    color:#0071BC;
    padding-left: 10px;
}
.wsp-container li a:hover {
    color: #0071BC;
}

.wsp-container li::marker {
    color: var(--primary);
    font-family: "Font Awesome 5 Free";
    content: "\f15c";
    font-weight: 900;
}

/***********************
    GALERIE
***********************/
.galerie-dynamique-wrapper .slick-arrow {
    font-size: 0;
    background-color: transparent !important;
}
.mfp-gallery button {
    background-color: transparent !important;
    border: none;
    outline: none !important;
}
.mfp-arrow-left:after,
.mfp-arrow-right:after {
    bottom: -20px;
}

/***********************
    COOKIES BAR
***********************/
#cookie-notice .cookie-notice-container {
    background-color: #0071bc;
    font-family: var(--text-font);
    color: white;
}
#cookie-notice .cookie-notice-container .cn-button {
    background-color: transparent !important;
    border: 1px solid black !important;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-family: var(--text-font) !important;
}
#cookie-notice .cookie-notice-container .cn-button:hover {
    background-color: black !important;
    color: inherit;
}
#cookie-notice .cookie-notice-container a {
    color: inherit;
    font-weight: bold;
}
#cookie-notice .cookie-notice-container a:hover {
    color: black;
}
/*#cookie-notice .cn-close-icon:before, #cookie-notice .cn-close-icon:after {
    background-color: var(--e-global-color-accent);;
}*/

@media screen and (max-width: 1024px) {
}

/*** SMARTPHONE SIZE ***/
@media screen and (max-width: 767px) {
}
