/*body.home{padding-top:194px;}*/

.home__banner{align-items:flex-end; min-height:inherit !important; padding:0;}
.wp-block-cover.home__banner .wp-block-cover__inner-container{position:absolute; bottom:25%; left:20%; width:72%; z-index:1;}
.wp-block-cover.home__banner img.wp-block-cover__image-background{position:relative; width:100%; display:block; top:auto; right:auto; bottom:auto; left:auto;}
.home__banner::after{content:""; position:absolute; bottom:40px; left:21%; width:372px; height:150px; max-width:50%; max-height:30%; background:url(../images/vague_banner.svg) scroll no-repeat center / contain; transform:translateY(50%); z-index:1;}
.home__banner h1{font-size:400%; margin:0; }


.home h2{font-size:350%; font-weight:300;}

.wp-block-advgb-button.actus-directes .wp-block-advgb-button_link{background:url(../images/panneaupocket.png) scroll no-repeat 10px center / auto 32px;}

#AgendaCarousel{padding:0 70px;}
#AgendaCarousel .carousel-control{width:50px; height:100%; width:40px; margin:0; background:url(../images/arrow_blue_right.svg) scroll no-repeat center; opacity:1; z-index:3;}
#AgendaCarousel .carousel-control.left{background:url(../images/arrow_blue_left.svg) scroll no-repeat center;}
#AgendaCarousel .item{padding-bottom:10px; padding-left:10px; padding-right:10px;}
.home__agenda_flex{display:flex; flex-wrap:wrap; gap:2em;}

#AgendaCarouselSmartphone{display:none;}
#AgendaCarouselSmartphone .carousel-control{position:relative; top:auto; right:auto; bottom:auto; left:auto; width:40px; height:30px; margin:0 0 20px; background:url(../images/arrow_blue_right.svg) scroll no-repeat center / contain; opacity:1; z-index:3; float:right;}
#AgendaCarouselSmartphone .carousel-control.left{background:url(../images/arrow_blue_left.svg) scroll no-repeat center / contain; margin-right:20px;}
#AgendaCarouselSmartphone .carousel-inner{width:350px; max-width:100%; margin:0 auto; clear:both;}
#AgendaCarouselSmartphone .item{padding-bottom:10px; padding-left:10px; padding-right:10px;}
.home__agenda_flex{display:flex; flex-wrap:wrap; gap:2em;}



.homepage{overflow:hidden; position:relative;}
.homepage::before{content:""; position:absolute; width:714px; height:292px; background:url(/wp-content/themes/quincieux2022/images/vague_bleue.svg) scroll no-repeat center / contain; top:40%; right:-120px; z-index:-1;}

.vague_rose_gauche{position:relative;}
.vague_rose_gauche::before{content:""; position:absolute; width:714px; height:292px; background:url(/wp-content/themes/quincieux2022/images/vague_rose_gauche.svg) scroll no-repeat center / contain; top:-100px; left:-30px; transform:translateX(-50%); z-index:-1;}

.slider-container{width:1000px; margin:0 auto;}
.custom-slider__column-left{display:flex; justify-content:flex-end; align-items:flex-end; flex-direction:column; order:1; padding-right:50px;}
.active-description-content{width:215px; margin:0 0 0 auto; text-align:right;}

.custom-slider__link{font-size:120%; color:#fff; background:#095098 url(../images/arrow_white.svg) scroll no-repeat center left 15px/ 14px 22px; margin:0; padding:10px 15px 10px 45px; border:1px solid #095098; font-weight:bold; border-radius:10px;}
.custom-slider__link:hover{text-decoration:none; color:#095098; background-color:#fff; background-image:url(../images/arrow_blue.svg);}

.custom-slider__column-right{order:2;}

#PublicationsCarousel{position:relative; height:400px; display:flex;}
.quick-access .slide{position:absolute; width:calc(100% - 30px); object-fit:cover; transition:0.3s transform ease 0s, 0.5s left ease 0.15s;}
#PublicationsCarousel .slide{position:absolute; width:40%; object-fit:cover; transition:0.3s transform ease 0s, 0.5s left ease 0.15s;}
#PublicationsCarousel .slide img{box-shadow:0 0 10px rgba(0,0,0,0.6);}

.slide1.active{top:50%; left:70px; transform:translate(0,-50%) scale(1.2); transform-origin:left; z-index:1;}
.slide1{top:50%; left:calc(40% + 50px); transform:translate(0,-50%); z-index:0;}

.slide2{top:50%; left:calc(40% + 50px); transform:translate(0,-50%); z-index:0;}
.slide2.active{top:50%; left:50px; transform:translate(0,-50%) scale(1.2); transform-origin:left; z-index:1;}

.slide-content{display:none;}

.slider-container::before{background:url(../images/vague_verte.svg) scroll no-repeat center / contain; content:""; height:428px; position:absolute; transform:translateX(-50%); width:1047px;}
.slider-container .flex-container{width:100%;}
.custom-slider__prev, .custom-slider__next{position:absolute; top:50%; left:0; transform:translate(0,-50%); cursor:pointer;}
.custom-slider__prev{background:url(/wp-content/themes/quincieux2022/images/arrow_blue_left.svg) scroll no-repeat center center / contain; height:58px; width:36px;}
.custom-slider__next{left:auto; right:0; background:url(/wp-content/themes/quincieux2022/images/arrow_blue_right.svg) scroll no-repeat center center / contain; height:58px; width:36px;}

.home .alignright{padding-right:15px;}
.home__agenda_list .alignright{padding-right:0;}
.home .row > h2, .home .home__agenda_list{padding-left:15px; padding-right:15px;}

iframe{display:block;}


@media all and (max-width:1800px){
    .home__banner::after{left:17%;}
    .wp-block-cover.home__banner .wp-block-cover__inner-container{left:17%;}
}

@media all and (max-width:1600px){
    .home__banner::after{left:15%; max-width:23%;}
    .wp-block-cover.home__banner .wp-block-cover__inner-container{bottom:28%; left:15%;}

    .home-spacer{max-height:50px;}
}

@media all and (max-width:1400px){
    .wp-block-cover.home__banner .wp-block-cover__inner-container{bottom:30%;}
    .home__banner h1{font-size:300%;}
    
    .home-spacer{max-height:40px;}
}

@media all and (max-width:1300px){
    .wp-block-cover.home__banner .wp-block-cover__inner-container{bottom:40%;}
    .home__banner h1{font-size:250%;}
}

@media all and (max-width:1199px){
    .wp-block-cover.home__banner .wp-block-cover__inner-container{bottom:48%;}
    
    .home__agenda_flex{gap:1em;}
    .agenda__container{flex-basis:calc(25% - 1em);}
}

@media all and (max-width:1024px){
    .home__banner h1{font-size:200%;}
}

@media all and (max-width:1600px) and (max-height:900px){
    .home__banner:after{bottom:15px;}
}
@media all and (max-width:991px) and (max-height:900px){
    .home__banner:after{bottom:15px;}
}

@media all and (max-width:991px){
    /* Titres */
    .wp-block-cover.home__banner .wp-block-cover__inner-container{bottom:50%;}
    .home h2{font-size:400%;}
    
    .search-form{top:-80px;}


    /* Agenda */
    .agenda__container{flex-basis:calc(50% - 1em);}

    /* Kiosque */
    .slider-container{width:100%;}
    .slider-container .flex-container{display:block;}
    .custom-slider__column-left, .custom-slider__column-right{padding-left:30px; padding-right:0; padding-top:30px; width:100%;}

    #PublicationsCarousel .slide img{max-height:400px;}
    .slide1.active{left:43%; text-align:center; transform:translate(-50%,-50%) scale(1);}
    .slide2{left:57%; text-align:center; transform:translate(-50%,-50%) scale(0.8);}
    .custom-slider__column-left .wp-block-spacer{display:none;}
    .custom-slider__column-left .custom-slider__link{margin-top:30px;}
}

@media all and (max-width:781px){
    .home .wp-block-advgb-button.alignright{margin:0 auto; float:none; text-align:center;}

    /* Titres */
    .home h2{font-size:300%;}

}

@media all and (max-width:767px){
    .home #menu_rs{top:120px;}
    
    .home__banner:after{display:none;}

    .search-form{top:-60px;}

    .wp-block-cover.home__banner img.wp-block-cover__image-background{height:200px; width:100%; object-fit:cover;}

    .back-to-top{height:50px; width:50px;}
}

@media all and (max-width:700px){
    #AgendaCarousel{display:none}
    #AgendaCarouselSmartphone{display:block;}
}

@media all and (max-width:500px){
    .home #menu_rs{top:75px;}
 
    #PublicationsCarousel{height:270px;}
}