@media(min-width: 481px) {}

@media(min-width: 768px) {
    /*------------------- NEWS / ACTU ---------------------*/

    #news .wrapper_slider:first-of-type {
        grid-column: span 2;
        grid-row: span 3
    }

    #news .wrapper_slider:first-of-type .content_slider .title {
        min-width: 600px;
        position: relative;
        z-index: 2
    }

    #news .wrapper_slider:first-of-type .title_slider {
        font-size: 45px;
        text-shadow: 0 0 8px #00000054;
        line-height: 1.1;
        margin-bottom: 15px !important;
    }

    #news .wrapper_slider:first-of-type .wrapper_inner_slider {
        display: flex
    }

    #news .wrapper_slider:first-of-type .thumbnail_slider {
        order: 2;
        height: 550px;
        width: 90%;
    }

    #news .wrapper_slider:first-of-type .content_slider {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    #news .wrapper_slider:first-of-type .text_slider,
    #news .wrapper_slider:first-of-type .text_slider a {
        max-width: 80%;
        line-height: 1.7;
        font-size: 16px
    }
}

@media(min-width: 1025px) {

    /*-----------------*/
    /* HEADER */
    /*-----------------*/
    #infoadresse {
        order: -1
    }

    #header-coordonnees div br {
        display: none
    }

    #logoCoordonnees {
        grid-row: span 2;
        order: -1;
        margin: -10px 30px;
    }

    #logoCoordonnees img {
        width: 330px;
    }

    #header-coordonnees {
        margin: 20px auto 20px;
    }

    #header-coordonnees>:nth-child(1),
    #header-coordonnees>:nth-child(4) {
        padding: 0 24px 0 0;
        text-align: right
    }

    #header-coordonnees>:nth-child(1) span,
    #header-coordonnees>:nth-child(4) span {
        text-align: right
    }

    #headerSocial .sociblock .share-buttons {
        justify-content: flex-start
    }

    #header-coordonnees>:nth-child(1):before,
    #header-coordonnees>:nth-child(4):before {
        right: 0;
        left: auto
    }
    #navprimary .navigtoogle:not(:last-child)::after
    {
        content : "";
        position: absolute;
        left: 0;
        top: 50%;
        transform:translateY(-50%);
        --size:100%;
        width: var(--size);
        height: 15px;
        border-right: 1px solid var(--white);
        opacity: 0.5;
        pointer-events: none;
    }
    .navigmenu .naviglink.lvl-0:not(.item-logo) span:after
    {
        bottom: -21px;
    }
    .navigmenu .navigtoogle.logo .naviglogo
    {
        position: relative;
        /* top: 2px; */
        background: var(--background-color);
        /* filter: drop-shadow(1px 1px #ffffff50); */
    }
    /*-----------------*/
    /* HEADERHOME */
    /*-----------------*/

    #headerHome-title {
        position: relative;
        /* margin-bottom: 40px; */
    }

    .headerHome-img>div {
        overflow: hidden;
    }

    .headerHome-img :is(.headerHome-imgLeft2, .headerHome-imgLeft4) {
        position: absolute;
    }

    .headerHome-img .headerHome-imgLeft1 {
        width: 120%;
        margin-top: 5%;
        position: relative;
        height: 54%;
        margin-left: 3%;
    }

    .headerHome-img .headerHome-imgLeft2 img {
        object-position: 22%;
    }

    .headerHome-img .headerHome-imgLeft3 img {
        object-position: 78%;
    }

    .headerHome-img .headerHome-imgLeft4 img {
        object-position: 30%;
    }

    .headerHome-img .headerHome-imgLeft2 {
        width: 48%;
        height: 31%;
        right: 0%;
        top: 43%;
    }

    .headerHome-img .headerHome-imgLeft3 {
        height: 58%;
        width: 73%;
        margin-left: auto;
        top: 3%;
        position: relative;
    }

    .headerHome-img .headerHome-imgLeft4 {
        width: 55%;
        height: 42%;
        left: 3%;
        top: 34%;
    }

    /*-----------------*/
    /* NAVPRIMARY */
    /*-----------------*/
    #header:not(.fixed-header) #navprimary {
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        border-bottom: 1px solid rgb(255 255 255 / 40%);
    }

    #navprimary .navigmenu {
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
    }

    .has-child-megamenu .naviglink.lvl-2 span {
        padding-left: 12px;
    }

    .has-child-megamenu .naviglink.lvl-2 span:before {
        content: "";
        --size: 5px;
        width: var(--size);
        height: var(--size);
        position: absolute;
        left: 0;
        border: solid 1px var(--primary-color);
        top: 12px;
        border-radius: 10px;
        transition: 250ms all ease-in-out;
    }

    .has-child-megamenu .naviglink.lvl-2:hover span:before {
        background: var(--primary-color);
    }
 /*-----------------*/
  /* CONTENT */
  /*-----------------*/
  .home #content .title {
    margin: 0 auto;
    width: 100%;
    margin-bottom: 100px;
    max-width: 890px;
  }

  .home #content {
    padding: 130px 30px;
    z-index: 1;
    overflow: hidden;
  }

  .grid-img {
    margin: 0 -1rem -40px -1rem !important;
    display: grid !important;
  }

  .grid-img .first .wp-block-image {
    width: 200%;
    margin-left: -100%;
    margin-top: 1.5rem;
    height: 440px;
  }

  .grid-img .second .wp-block-image {
    height: 299px;
  }

  .grid-img .third .wp-block-image {
    margin-top: 2.5rem;
    height: 299px;
  }

  .grid-img .fourth .wp-block-image {
    width: 200%;
    margin-right: -100%;
    height: 440px;
  }

  .intro-txt {
    max-width: 600px;
    width: 100%;
    margin: 0 auto!important;
    padding-right: 20px;
  }

  .intro-link {
    /* margin: 0 17% 0 auto !important; */
  }

    /*------------------- PRESTATIONS ---------------------*/
    #prestations {
        padding: 130Px 50px;
        padding-top: 180px;
        z-index: 2;
    }

    .widget_parentpage {
        gap: 0 !important;
    }

    #prestations .prestations-wrapper>*:not(.prestations-title) {
        transition: all 1s;
    }

    #prestations .hiddenChild .prestations-wrapper>*:not(.prestations-title) {
        opacity: 0;
    }

    .bloc_prestations .prestations-wrapper {
        display: grid;
        grid-template-columns: 140Px 2fr 2fr;
        align-items: stretch;
        height: 100%;
    }

    .widget_parentpage {
        display: flex;
        justify-content: center;
        flex-grow: 1;
        flex-shrink: 0;
        flex-basis: auto;
        counter-reset: prestations;
    }

    .prestations-img {
        position: relative;
    }

    .prestations-img::before {
        counter-increment: prestations;
        content: "0"counter(prestations);
        position: absolute;
        top: 0Px;
        right: -70px;
        font-size: 8em;
        font-family: var(--font-alt);
        z-index: 2;
        color: var(--primary-color);
        border-bottom: 2Px solid var(--primary-color);
        line-height: 1;
    }

    .bloc_prestations {
        width: 60%;
        transition: all 1s, background 0.4s;
        display: block;
        overflow: hidden;
    }

    .bloc_prestations:not(:first-child) {
        border-left: 1Px solid #00000024;
    }

    .prestations-title h3::after {
        content: "+";
        display: inline-block;
        margin-left: 10px;
        font-family: var(--font-title);
        /* color: var(--secondary-color); */
        transform: scale(0);
        transition: all 0.4s;
    }

    .bloc_prestations.hiddenChild .prestations-title h3::after {
        transform: scale(1);
    }

    .prestations-content {
        padding: 30px;
        margin-bottom: 50px;
    }

    .bloc_prestations.hiddenChild {
        width: 10%;
    }

    .prestations-title {
        position: relative;
        display: flex;
        align-items: flex-end;
        width: 100px;
        cursor: pointer;
    }

    .prestations-img {
        width: 100%;
        display: block;
        height: 100%;
        height: 650Px;
    }

    .prestations-title h3 {
        font-size: 2.5em;
        display: flex;
        transform: rotate(270deg);
        transform-origin: 0 5%;
        white-space: nowrap;
        align-items: center;
        position: relative;
        left: 23px;
        bottom: -49px;
    }

    .prestations-content {
        display: grid;
        align-content: end;
        min-width: 350px;
    }

    #prestations .specialthumb img
    {
        object-position: left center;
    }
    /*------------------- NEWS / ACTUS ---------------------*/
    #news .wrapper_slider:first-of-type .content_slider {
        width: 50%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    #news .wrapper_slider:first-of-type .wrapper_inner_slider {
        display: flex
    }

    #news .wrapper_slider:first-of-type .thumbnail_slider {
        order: 2;
        height: 550px;
        width: 50%;
    }
    /*-----------------*/
    /* SECTIONS */
    /*-----------------*/
	.sectionsbloc.even {padding: 100px 50px 600px;}
	.sectionsbloc.even .section_thumb .blocthumb {
	    height: 110%;
	    z-index: 1;
	}
	.sectionsbloc.even .section_txt .wrap-text {padding: 70px 50px 70px 0;}
	
	.sectionsbloc.even .specialthumb {
	    position: absolute;
	    left: 0;
	    right: 0;
	    bottom: 0;
	    height: 600px;
	    z-index: 0
	}
	
	.sectionsbloc.odd .section_thumb {
	    display: grid;
	    grid-template-columns: repeat(2,1fr);
	    grid-gap: 0 30px;
	    grid-auto-rows: 800px;
	    position: relative;
	    top: -80px;
	    z-index: 10
	}
	
	.sectionsbloc.odd .section_thumb .blocthumb {
	    position: relative;
	    top: 200px
	}
	
	.sectionsbloc.odd .section_txt {
	    position: relative;
	    z-index: 1;
	    padding-top: 120px;
	}
	.sectionsbloc.odd .section_txt:before,
    .sectionsbloc.odd .section_txt:after{
		top: 120px;
		width: 120%;
		height: calc(100% - 120px);
	}
    #sections
    {
        margin-bottom: 100px;
    }
    .section_num2 .section_txt
    {
        padding-top: 200px;
    }

    #chiffres
    {
        margin: -150px 0;
        margin-bottom: -250px;
    }
    /*-------------------- AGENCES -------------------*/
    .agencesCoord #listwidgetagence {
        grid-template-columns: repeat(3, 1fr);
    }

    .agencesCoord .itemlistwidgetagence:not(:last-child) {
        border-right: 1px solid #ffffff50;
        padding-top: 30px;
    }

    .agencesCoord
    {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 2;
    }
     /*-----------------*/
    /* FOOTER */
    /*-----------------*/
	body:not(.template-contact-php) #footer:before {
	    background: url(../images/home-bg3.jpg);
	    background-position: center;
	}
	
	body:not(.template-contact-php) #footer:before {
        height: 500px;
        top: 110px;
    }
	
	#footer:after{
		background: var(--white);
		z-index: -2;
		top: 60px;
		height: calc(100% - 60px);
	}
	body.template-contact-php #footer:after{
		top: 0;
		height: 100%;
	}
	
	 .wrapperFooter {
        padding: 50px;
        width: 94%
    }
    .blc.blc_fileattach
    {
        flex: 1 1 29%;
        max-width: 29%;
    }
}

@media(min-width: 1025px) and (max-width:1281px) {
    .prestations-img {
        opacity: 0;
    }
}

@media(min-width: 1281px) {

  

    /*------------------- PRESTATIONS ---------------------*/
    .prestations-title h3 {
        left: 43px;
    }
    /*-----------------*/
    /* SECTIONS */
    /*-----------------*/
	.sectionsbloc.even {padding: 120px 100px 800px;/* max-width: 1500px; */margin: 0 auto;width: calc(100% - 100px);}
	.sectionsbloc.even .specialthumb{height: 800px;}
	.sectionsbloc.even .section_txt .wrap-text {padding: 100px 100px 100px 0}
	.sectionsbloc .wrap-text {
	    padding: 150px 100px;
	    margin: auto;
	    max-width: 950px
	}
	.sectionsbloc.odd .section_txt{padding-top: 160px;}
	.sectionsbloc.odd .section_txt:before, 
    .sectionsbloc.odd .section_txt:after{
		top: 180px;
		height: calc(100% - 180px);
	}
}

@media(min-width: 1481px) {

   
}

@media(min-width: 1681px) {

    .home #content .tc_content .wp-block-gallery {
        grid-auto-rows: 105px;
    }
}

@media(max-width: 1680px) {}

@media(max-width: 1480px) {
    .wrappercontent.medium {
        max-width: 850px;
    }
}

@media(max-width: 1280px) {
    .wrappercontent.medium {
        max-width: 720px;
    }

    /*-----------------*/
    /* HEADERHOME */
    /*-----------------*/
    #headerHome-title {
        font-size: 35px;
    }

    #headerHome-wrapper {
        padding: 80px 20px 60px;
    }

    #headerHome-title .typewrite {
        font-size: 16px;
    }
}

@media(max-width: 1024px) {

    /*-----------------*/
    /* HEADER */
    /*-----------------*/
    #logoCoordonnees {
        order: -1;
    }

    #header-coordonnees>div {
        max-width: 200px;
        width: 100%;
        margin: 8px auto;
    }

    #headerSocial .sociblock .share-buttons {
        justify-content: flex-start;
    }
    .agencesCoord .itemlistwidgetagence:not(:last-child) {
        border-bottom: 1px solid #ffffff50;
    }
    .agencesCoord .itemlistwidgetagence
    {
        padding: 20px;
    }
    body:not(.is-toggle-open) .agencesCoord
    {
        display: none;
    }
    .nohome .agencesCoord
    {
        background: var(--black);
    }
    /*-----------------*/
    /* NAVPRIMARY */
    /*-----------------*/
    .navigmenu .naviglink {
        font-size: 14px;
    }

    .navigmenu .naviglink.lvl-0:not(.item-logo) span:after {
        bottom: 0;
        height: 2px;
    }

    .has-child-megamenu .naviglink.lvl-2 {
        text-align: center;
    }

    /*-----------------*/
    /* HEADERHOME */
    /*-----------------*/
    #headerHome {
        padding: 0;
    }
    .navigtoogle.logo
    {
        display: none;
    }
    #headerHome-wrapper {
        padding: 0;
        grid-gap: 0;
        height: auto;
    }

    #headerHome-content {
        padding: 90px 30px 120px;
        order: -1;
    }

    #headerHome-title {
        margin-bottom: 10px;
        font-size: 32px;
        left: 0;
        min-width: auto;
    }

    #headerHome-imgLeft,
    #headerHome-right {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 250px;
        grid-gap: 0;
        padding: 2px;
    }

    #headerHome-diapo {
        position: relative;
        order: -1;
        grid-column: span 2;
        border-radius: 0;
    }

    #headerHome-content,
    #headerHome-diapo {
        min-height: 540px !important;
        height: 70vh !important;
    }

    /*-------------------MDTAC---------------------*/
    .md-tac {
        text-align: center;
    }

    .title.md-tac:not(.no-after):after {
        left: 50%;
        transform: translateX(-50%);
    }
    /*-----------------*/
    /* CONTENT */
    /*-----------------*/
    .grid-img {
        margin: 30px 0;
        grid-gap: 10px !important;
        display: grid !important;
    }

    .grid-img .wp-block-image {
        height: 100%;
    }

    .home #content {
        /* padding-top: 150px; */
    }
    .nohome #content
    {
        z-index: 0;
    }
    /*-----------------*/
	/* CHIFFRES */
	/*-----------------*/
	#chiffres{
		margin: 0;
		padding: 100px 15px;
	}	
	#chiffres .wrap-element img { --size: 35px;}
	#chiffres .wrap-element:before{--size: 80px;}
	.bloc_chiffres {padding: 30px 10px 0;margin: 0 0 30px 0;}
	#chiffres h2{font-size: 30px;}
	#chiffres .element_content{font-size: 14px;}

	
    /*------------------- PRESTATIONS ---------------------*/
    .bloc_prestations h3 {
        margin-top: 0;
    }

    /*-----------------*/
	/* SECTIONS */
	/*-----------------*/
	.sectionsbloc .section_thumb {
	    display: grid;
	    grid-template-columns: 1fr 1fr;
	}
    /*------------------- NEWS / ACTU ---------------------*/
    #news .content-news {
        grid-gap: 0 30px;
    }

    #news:after {
        content: none;
    }

    #news {
        padding: 80px 15px;
        margin: 0;
    }

    #news .title_slider {
        font-size: 24px
    }

    #news .wrapper_slider:first-of-type img {
        filter: brightness(0.8);
    }

    #news .wrapper_slider:first-of-type .text_slider,
    #news .wrapper_slider:first-of-type .text_slider a {
        font-size: 14px
    }

    #news .wrapper_slider:first-of-type .content_slider .title {
        min-width: 170%
    }

    #news .wrapper_slider:first-of-type .title_slider {
        font-size: 35px;
    }

    #news .wrapper_slider:first-of-type .wrapper_inner_slider {
        display: flex;
        flex-direction: column-reverse
    }

    #news .wrapper_slider:first-of-type .content_slider .title {
        min-width: auto
    }

    #news .title_slider,
    #news .wrapper_slider:first-of-type .title_slider {
        font-size: 22px;
    }

    #news .next_slider {
        margin-top: -10px
    }

    #news .wrapper_slider:first-of-type .thumbnail_slider {
        height: 250px;
        margin-top: 30px
    }

    #news .content-news {
        grid-gap: 30px 0;
    }

    #news {
        padding: 70px 15px 60px;
    }

    /*-----------------*/
    /* REASSURANCES */
    /*-----------------*/
    .home #reassurances {
        height: 150px;
        margin-bottom: -40px;
        margin-top: -50px;
    }

    .home #reassurances-container {
        padding: 10px 10px;
        width: calc(100% + 10px);
        max-width: calc(100% + 10px);
        left: -5px;
    }

    .home .picto-container li {
        padding: 0 15px;
    }

    .home #reassurances-containerBis {
        padding: 0 10Px;
        width: calc(100% + 10Px);
        max-width: calc(100% + 10Px);
        height: 50px;
        left: -5px;
        font-size: 13px;
    }

    .home #reassurances-containerBis span {
        padding: 0;
    }

    .home #reassurances-containerBis span:before {
        content: none;
    }
    /*-----------------*/
	/* FOOTER */
	/*-----------------*/
	.wrapperFooter {
        padding: 70px 25px;
        grid-gap: 70px!important;
    }
	#footerLinks {padding: 20px 10px;}
	.imgFooter{
		height: 300px;
		margin: 0 -25px -70px;
	}
	#logoCoordonneesFooter img{width: 160px;}
	#footer{background: var(--white);}

}

@media(max-width: 767px) {
    /*-----------------*/
    /* HEADERHOME */
    /*-----------------*/

    #headerHome-content {
        padding: 40px 15px;
        height: auto !important;
    }

    #headerHome-imgLeft,
    #headerHome-right {
        grid-auto-rows: 140px;
        padding: 0;
    }

    #headerHome-content,
    #headerHome-diapo {
        min-height: 470px !important;
        right: 0;
    }

    #headerHome-title {
        font-size: 22px;
    }

    #headerHome-title .typewrite {
        font-size: 13px;
    }

    /*-----------------*/
    /* HEADER */
    /*-----------------*/
    .horairesTitle {
        font-size: 24px;
    }


    /*------------------- PRESTATIONS ---------------------*/
    .widget_parentpage {
        gap: 0 !important;
    }

    /*-----------------*/
    /* REASSURANCES */
    /*-----------------*/
    .home #reassurances-containerBis span {
        display: none;
    }

    .home .picto-container li p {
        font-size: 12px;
        letter-spacing: 0.5px;
    }

    .nohome #reassurances .picto-container {
        max-width: 500px;
        margin: 0 auto;
    }

    .nohome #reassurances .picto-container li:before {
        top: 50%;
        transform: translateY(-50%);
        --size: 50px
    }

    .nohome #reassurances .picto-container li svg,
    .nohome #reassurances .picto-container li img {
        --size: 25px
    }

    .nohome #reassurances .picto-container li {
        padding: 19px 35px
    }

    .nohome #reassurances .picto-container {
        max-width: 330px;
        margin: 0 auto
    }
    /*-----------------*/
	/* CHIFFRES */
	/*-----------------*/
	#chiffres{padding: 60px 15px;	}
	
     /*-----------------*/
	/* FOOTER */
	/*-----------------*/
	.wrapperFooter {
		padding: 40px 15px;
		grid-gap: 50px !important;
	}
	#logoCoordonneesFooter {
        margin-bottom: 15px;
        width: 150px;
    }
	.imgFooter{margin: 0 -15px -40px;}
}

@media(max-width: 480px) {}