/*!
Theme Name: Thème du site
Text Domain: site-theme
Template: hello-elementor
*/
/******* SPEC *******/
.cls-1 {
    opacity:0.9!important
}/*debug svg*/
.alignleft{
    margin:10px 25px 15px 0;
}
.joinchat{
  bottom: auto!important;
}
@media screen and (max-width: 767px){
    .joinchat {
        top: 640px !important;
    }
}
@media screen and (min-width: 768px){
    .joinchat {
        top: 440px !important;
    }
}
/******* HEADER *******/
@media screen and (max-width: 767px){
    .bg-color-sm > .elementor-column-wrap{
        background-color: var(--e-global-color-secondary)!important;
    }
    .elementor-sticky--effects .bg-color-sm{
        display: none;
    }
    .elementor-8 .elementor-element.elementor-element-8f3e4a0 .elementor-nav-menu__container.elementor-nav-menu--dropdown{
        padding-top:40px;
        padding-bottom:40px;
    }
    ul.elementor-nav-menu--dropdown a{
        border-left:0!important;
    }
}
@media screen and (min-width: 1025px) and (max-width: 1279px){
    .elementor-8 .elementor-element.elementor-element-fb0e290{
        --icon-size: 32px!important;
    }
    .elementor-8 .elementor-element.elementor-element-6787d63 .elementor-nav-menu .elementor-item,
    .elementor-8 .elementor-element.elementor-element-78e3b1b .elementor-nav-menu .elementor-item,
    .elementor-8 .elementor-element.elementor-element-ca4dcfe .elementor-button{
        font-size:14px!important;
    }
    .elementor-8 .elementor-element.elementor-element-ca4dcfe .elementor-button{
        padding:10px 5px!important;
    }
    .elementor-nav-menu--main .elementor-nav-menu a{
        padding:13px 5px!important;
    }
}
@media screen and (min-width: 1280px) and (max-width: 1366px){
    .elementor-8 .elementor-element.elementor-element-6787d63 .elementor-nav-menu .elementor-item,
    .elementor-8 .elementor-element.elementor-element-78e3b1b .elementor-nav-menu .elementor-item,
    .elementor-8 .elementor-element.elementor-element-ca4dcfe .elementor-button{
        font-size:16px!important;
        padding-right:8px!important;
        padding-left:8px!important;
    }
    .elementor-8 .elementor-element.elementor-element-ca4dcfe .elementor-button{
        padding:12px!important;

    }
}
@media screen and (min-width: 1367px) and (max-width: 1500px){
    .elementor-8 .elementor-element.elementor-element-ca4dcfe .elementor-button{
        padding:12px!important;
    }
    .elementor-nav-menu--main .elementor-nav-menu a{
        padding:12px 10px!important;
    }
}
/***** SPEC TYPOS ****/
@media screen and (min-width: 768px){
    .title-bg-line{
        display: inline-table;
        width: auto!important;
        margin-bottom: 0!important;
    }
    .line-title{
        display: flex;
        width: auto!important;
        flex-grow: 1;
        align-items: flex-end;
        position: relative;
        top:-7px;
        margin-bottom:0!important;
    }
    .line-title >.elementor-widget-container{
        width:100%;
    }
}

/******CUSTOM NAV CAROUSSEL - SLIDER VIDEO *******/

.custom-nav-caroussel .elementor-swiper-button,
.custom-video-slider .elementor-swiper-button {
    border: 1px solid var(--e-global-color-secondary);
    padding: 8px;
}

@media screen and (max-width: 1080px) {
    .custom-nav-caroussel.elementor-widget-media-carousel .elementor-swiper-button-prev,
    .custom-nav-caroussel.elementor-widget-media-carousel .elementor-swiper-button-next{
        bottom:-80px;
        top:unset;
    }
    .custom-nav-caroussel.elementor-widget-media-carousel .elementor-swiper-button-prev{
        right: 50px;
        left:unset;
    }
    .custom-nav-caroussel.elementor-widget-media-carousel .elementor-swiper-button-next{
        right: 0;
        left: unset;
    }
}
@media screen and (min-width: 1081px) {
    .custom-nav-caroussel.elementor-widget-media-carousel .elementor-swiper-button-prev,
    .custom-nav-caroussel.elementor-widget-media-carousel .elementor-swiper-button-next{
        bottom:-95px;
        top:unset;
    }
    .custom-nav-caroussel.elementor-widget-media-carousel .elementor-swiper-button-prev{
        left: -150px;
    }
    .custom-nav-caroussel.elementor-widget-media-carousel .elementor-swiper-button-next{
        right: unset;
        left: -100px;
    }
}

.custom-video-slider .elementor-swiper-button-prev,
.custom-video-slider .elementor-swiper-button-next{
    bottom:-20px;
    top:unset;
}
.custom-video-slider .elementor-swiper-button-prev{
    right: 50px;
    left: unset;
}
.custom-video-slider .elementor-swiper-button-next{
    right: 0;
    left: unset;
}
.custom-video-slider .elementor-button{
    position:absolute;
    bottom:0;
}

/******CUSTOM SLIDER FOR VIDEOS *******/
@media screen and (max-width: 1023px){
    .custom-video-slider .elementor-slides .swiper-slide-bg{
        background-position: 0 0;
    }
}
@media screen and (min-width: 1024px){
    .custom-video-slider .elementor-slides .swiper-slide-bg{
        background-position: 0 50%;
    }
}

@media screen and (min-width: 1024px) and (max-width: 1080px){
    .custom-video-slider .elementor-slides .swiper-slide-bg{
        min-width:45%;
        max-width:45%;
    }
}
@media screen and (max-width: 767px){
    .custom-video-slider .elementor-slides .swiper-slide-bg::after{
        top: 12%;
        left: 40%;
        width: 65px;
        height: 65px;
    }
    .custom-video-slider .elementor-slide-heading h2{
        font-size:40px;
    }
}
@media screen and (min-width: 768px) and (max-width: 1023px){
    .custom-video-slider .elementor-slides .swiper-slide-bg::after{
        top: 25%;
        left: 45%;
        width:80px;
        height:80px;
    }
    .custom-video-slider .elementor-slide-heading h2{
        font-size:55px;
    }
}
@media screen and (min-width: 1024px){
    .custom-video-slider .elementor-slides .swiper-slide-bg::after{
        top: 40%;
        left: 20%;
        width:80px;
        height:80px;
    }
    .custom-video-slider .elementor-slide-heading h2::after{
        content:"";
        position: absolute;
        right: 0;
        bottom:5px;
        border-top:2px solid var(--e-global-color-secondary);
    }
    .custom-video-slider .elementor-slide-heading h2{
        font-size:48px;
    }
}
@media screen and (min-width: 1024px) and (max-width: 1280px){
    .custom-video-slider .elementor-slide-heading h2::after{
        width:18%;
    }
    .custom-video-slider .elementor-slides .swiper-slide {
      height: 50vh!important;
    }
    .custom-video-slider .elementor-slides .swiper-slide-contents {
        max-width: 48%!important;
    }
    .custom-video-slider .elementor-slides .swiper-slide-inner {
      padding: 0% 0% 0% 0%!important;
    }
}
@media screen and (min-width: 1281px){
    .custom-video-slider .elementor-slide-heading h2::after{
        width:21%;
    }
}
.custom-video-slider .elementor-slides .swiper-slide-bg::after{
    content:"";
    background: url(img/play-button.png);
    position: absolute;
    background-size: contain;
}
.custom-video-slider .elementor-slides strong{
    font-family:"Oswald",sans-serif;
    font-size:22px;
    line-height: 1.4em;
    font-weight: 400;
    margin-bottom: 10px;
    display: block;
}
.custom-video-slider .elementor-slide-heading{
    position: relative;
}
.custom-video-slider .elementor-slide-heading h2{
    display: inline-block;
    margin:0;
}

/******* Formulaire diagnostic ******/
.elementor-field-type-textarea.elementor-field-group-comment1, .elementor-field-type-textarea.elementor-field-group-comment2{
    margin-bottom: 10px!important;
}
.elementor-field-group-comment1 > label.elementor-field-label.elementor-screen-only,
.elementor-field-group-comment2 > label.elementor-field-label.elementor-screen-only{
    font-family:"Oswald", sans-serif;
    font-weight:400;
    font-size: 22px;
    line-height: 1.2em;
    margin-bottom:10px;
    position: relative;
    top: 0;
    width: auto;
    height: auto;
    padding: 0;
    overflow: auto;
    clip: auto;
    border: 0;
}
@media screen and (max-width: 767px){
    .elementor-field-group-comment1 > textarea#form-field-comment1,
    .elementor-field-group-comment2 > textarea#form-field-comment2{
        min-height:90px;
    }
}
.elementor-field-group-comment1 > textarea#form-field-comment1,
.elementor-field-group-comment2 > textarea#form-field-comment2{
    border:none;
    padding:0;
    background: transparent;
    overflow: auto;
    resize: none;
}
.elementor-field-group textarea#form-field-comment1.elementor-field-textual::placeholder,
.elementor-field-group textarea#form-field-comment2.elementor-field-textual::placeholder{
    opacity:1;
}
/******* CUSTOM LOOP POSTS CARD BT ******/
.custom-cards-bt .elementor-posts .elementor-post__card .elementor-post__text{
    padding-right:0;
    padding-left:0;
    margin-top:0;
}
.custom-cards-bt .elementor-posts .elementor-post__card .elementor-post__read-more{
    padding:12px;
    border:2px solid var(--e-global-color-accent);
}
.custom-cards-bt .elementor-posts .elementor-post__card .elementor-post__read-more:hover{
    background-color:var(--e-global-color-accent);
}

/******* PAGE FILLE ******/
.sub-menu-page{
    padding:0;
    margin-bottom:35px;
}
.sub-menu-page li{
    list-style: none;
}
.sub-menu-page .page_item > a{
    padding:15px 0 15px 25px;
    border-top:1px solid var(--e-global-color-primary);
    font-family:"Oswald", sans-serif;
    font-weight:400;
    font-size: 18px;
    color:var(--e-global-color-secondary);
    display: block;
}
.sub-menu-page .page_item:last-child > a{
    border-bottom:1px solid var(--e-global-color-primary);
}
.sub-menu-page .page_item.current_page_item > a,
.sub-menu-page .page_item:hover > a{
    background-color:var(--e-global-color-14671eb);
    cursor: pointer;
}
/******* FOOTER ******/
#contact .elementor-icon-box-description a,
#credits a{
    color:inherit;
}
#contact .elementor-icon-box-description a:hover{
    color:var(--e-global-color-primary);
}
