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

@media(min-width: 768px) {
  /*-------------------- CONTENTPAGE -------------------*/
  	.grid-img{
		grid-gap: 20px!important;
		margin-bottom: 40px;
		margin-top: 50px!important;
	}
	
	.grid-img .blocthumb{
		margin-top: 1.5rem;
		height: 320px;
	}
	.grid-img .specialthumb{
		height: 299px;
	}
	.grid-img .tertiarythumb{
		margin-top: 1.5rem;
		height: 299px;
	}
	.grid-img .quaternarythumb{
		height: 360px;
	}
  .grid-img img
  {
    height: 100%;
    object-fit: cover;
  }
	
}

@media(min-width: 1025px) {

  /*-----------------*/
  /* ELEMENTS */
  /*-----------------*/
  .title.tar:not(.no-after):after {
    left: auto;
    right: 0;
  }

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

  #infoouverture .infohoraires_ouverture {
    max-width: 170px;
  }

  #logoCoordonnees {
    grid-row: span 2;
    order: -1;
    margin: 0 50px;
  }

  #logoCoordonnees img {
    width: 250px;
  }

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

  #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
  }

  #header-coordonnees>:nth-child(1):before,
  #header-coordonnees>:nth-child(4):before {
    right: 0;
    left: auto
  }

  #header-social {
    margin-left: auto;
    margin-right: 10px;
  }

  #header.fixed-header .navigtoogle.logo {
    display: block;
    margin-right: auto;
  }

  #header.fixed-header #header-coordonnees {
    display: none
  }

  #header.fixed-header #navprimary {
    padding: 5px 10px;
  }

  #header.fixed-header .navigtoogle.social {
    margin-left: auto;
  }

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

  .navigmenu .social .naviglink.lvl-0 {
    padding: 0 6px;
  }

  /*-----------------*/
  /* INTRO / CONTENT */
  /*-----------------*/
  .nohome:not(.template-prestations-php) #content {
    position: relative;
    padding-top: 150px;
  }

  .home #content::before {
    top: -151px;
  }

  .home #content .blocthumb {
    position: absolute;
    left: 0;
    top: 0;
    width: 65.9%;
    height: 85%;
  }

  .home #content .wrap-text {
    padding: 0;
    max-width: 57%;
    margin-left: auto;
    background: var(--black);
    position: relative;
    z-index: 1;
    padding: 30px;
  }

  .home #content .content_txt {
    padding-top: 100px;
  }

  .home #content .content_title .title {
    max-width: 55%;
    margin-bottom: 60px;
  }

  .home #content .content_thumb .specialthumb {
    position: absolute;
    width: 284px;
    height: 284px;
    z-index: 1;
    top: -285px;
    left: -100px;
  }

  .home #content .content_thumb .tertiarythumb {
    height: 80%;
    position: relative;
    top: -15%;
  }

  .home #content .content_thumb .tertiarythumb img {
    object-position: right;
  }

  .home #content .content_thumb {
    padding-left: 30px;
  }

  .home #content {
    padding-top: 180px;
    padding-bottom: 120px;
  }

  .home #content :is(.wrap-text, blockquote p) {
    color: var(--white);
  }

   /*-----------------*/
	/* CONTENTPAGE */
	/*-----------------*/
  #contentPage :is(blockquote, .wp-block-quote)
  {
    margin-top: 0!important;
  }
  #contentPage .wp-block-buttons
  {
    margin-top: 30px;
  }
	.specialIntro{overflow: hidden;}
	 #intro-content .intro-txt{
		max-width: 870px;
		margin: 80px auto 0;
	} 
	#intro-content .intro-txt.small{
		max-width: 500px;
		padding-right: 40px;
		margin: 0 14% 0 auto;
	}
	.grid-img{grid-gap: 30px!important;margin-bottom: -20px;}
	
	.grid-img .blocthumb{
		width: 200%;
		margin-left: -100%;
		margin-top: 1.5rem;
		height: 440px;
	}
	.grid-img .specialthumb{
		height: 299px;
		margin-top: 2.5rem;
	}
	.grid-img .tertiarythumb{
		margin-top: 5.5rem;
		height: 299px;
	}
	.grid-img .quaternarythumb{
		width: 200%;
		margin-right: -100%;
		height: 440px;
	}
  /*-----------------*/
  /* ACTU */
  /*-----------------*/
  #news {
    padding: 150px 20px 100px;
  }

  #news .newsdate {
    min-width: 150px;
  }

  #news:before,
  #news::after {
    background: var(--overlay-color);
    width: 75%;
    height: calc(100% + 300px);
  }

  #news::before {
    z-index: -2;

    background-image: url(../images/pattern-dark.jpg);
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
  }

  #news::after {
    opacity: 0.7;
  }

  #news .left {
    padding-left: 30px;
    max-width: 500px;
    margin-left: auto;
    z-index: 2
  }

  #news .left .title h2 {
    color: var(--white);
    text-shadow: -1px -1px 0 var(--black), 1px -1px 0 var(--black), -1px 1px 0 var(--black), 1px 1px 0 var(--black);
  }

  #news .wrapperActu {
    padding-top: 40px;
  }

  #news .left .title {
    margin-top: 100px;
    margin-bottom: 50px;
  }

  #news .left .title .separator {
    margin-bottom: 0;
  }

  #news .titleImg {
    height: 440px;
  }

  #news .right:before {
    background: var(--background-color);
    width: calc(100% + 200Px);
    height: calc(100% + 150px);
    left: initial;
    right: 0;
    top: -50px
  }



  #news .hoverActif .content_slider {
    padding-left: 30px
  }

  #news .content_slider {
    transition: all .4s
  }

  #news .hoverActif .thumbnail_slider {
    height: 300px;
    transition: all .8s;
    width: 120%;
    transform-origin: center
  }

  /*-----------------*/
  /* PRESTATIONS */
  /*-----------------*/
  #content.parentPresta {
    margin-bottom: -100px;
  }

  #prestations-wrapper {
    padding: 60px 15px;
    padding-top: 200px;
  }

  .nohome #prestations-wrapper {
    padding-top: 100px;
  }

  .prestations-content {
    padding: 0;
    position: relative;
  }

  #prestations .bloc_prestations :is(.prestations-img, .specialthumb, .tertiarythumb) {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    overflow: hidden;
    transition: opacity 0s .45s;
    --dist-y: 25%;
  }

  #prestations .bloc_prestations .prestations-img {
    width: 184px;
    height: 243px;
    top: 61%;
    left: 1.5%;
    --dist-y: -20%;
    max-width: 16.7vw;
  }

  #prestations .bloc_prestations .specialthumb {
    left: 5%;
    translate: 0 -50%;
    max-width: 13.6vw;
    width: 195px;
    height: 274px
  }

  #prestations .bloc_prestations .tertiarythumb {
    top: 37%;
    right: 0%;
    translate: 0 -50%;
    --dist-y: 40%;
    max-width: 16.3vw;
    left: auto;
    width: 282px;
    height: 397px
  }

  #prestations .bloc_prestations .image_content {
    line-height: 0;
    display: block;
    height: 100%;
  }

  #prestations .bloc_prestations:first-child .prestations-img,
  #prestations .bloc_prestations:nth-child(4) .prestations-img {
    border-radius: 100px
  }

  #prestations .bloc_prestations:first-child .tertiarythumb,
  #prestations .bloc_prestations:nth-child(4) .tertiarythumb {
    border-radius: 100px 100px 0 0
  }

  #prestations .bloc_prestations:first-child .tertiarythumb img {
    object-position: 88%;
  }

  #prestations .bloc_prestations:first-child .prestations-img img {
    object-position: 88%;
  }

  #prestations .bloc_prestations:nth-child(2) .prestations-img {
    border-bottom-left-radius: 100px
  }

  #prestations .bloc_prestations:nth-child(2) .specialthumb {
    border-radius: 0 100px 100px 100px
  }

  #prestations .bloc_prestations:nth-child(2) .tertiarythumb {
    border-top-right-radius: 100px
  }

  #prestations .bloc_prestations:nth-child(2) .tertiarythumb img {
    object-position: 61%;
  }

  #prestations .bloc_prestations:nth-child(2) .specialthumb img {
    object-position: 88%;
  }

  #prestations .bloc_prestations:nth-child(3) .prestations-img {
    border-top-right-radius: 100px
  }

  #prestations .bloc_prestations:nth-child(3) .specialthumb {
    border-radius: 100px
  }

  #prestations .bloc_prestations:nth-child(3) .tertiarythumb {
    border-radius: 100px 100px 100px 0
  }

  #prestations .bloc_prestations:nth-child(3) .tertiarythumb img {
    object-position: 61%;
  }

  #prestations .bloc_prestations:nth-child(3) .specialthumb img {
    object-position: right;
  }

  #prestations .bloc_prestations.elemActif :is(.prestations-img, .specialthumb, .tertiarythumb) {
    animation: image-show-long .7s cubic-bezier(.25, .46, .35, .93) .1s forwards
  }

  #prestations .bloc_prestations.elemActif .prestations-img {
    animation-delay: .12s
  }

  #prestations .bloc_prestations.elemActif .specialthumb:nth-of-type(1) {
    animation-delay: .12s
  }

  #prestations .bloc_prestations.elemActif .tertiarythumb:nth-of-type(3) {
    animation-delay: .24s
  }

  /*-----------------*/
  /* GALLERY HOME */
  /*-----------------*/
  #galleryHome {
    position: relative;
    z-index: 2;
  }

  #galleryHome .gallery {
    display: grid;
    width: 100%;
    grid-gap: 10px;
    transition: .6s;
    grid-template-columns: repeat(38, 1fr);
    max-width: 100%;
    grid-template-rows: repeat(7, 150px);
    position: relative
  }

  #galleryHome .gallery .gallery-item {
    grid-column: span 6;
    position: relative;
    width: 100% !important
  }

  #galleryHome .gallery .gallery-item:first-of-type {
    grid-row: span 2;
    grid-column: span 13;
    padding-top: 15px
  }

  #galleryHome .gallery .gallery-item:nth-child(2) {
    grid-column: span 9;
    grid-row: span 3;
    padding-top: 98px
  }

  #galleryHome .gallery .gallery-item:nth-child(3) {
    grid-column: span 12;
    grid-row: span 3
  }

  #galleryHome .gallery .gallery-item:nth-child(4) {
    grid-column: span 4;
    grid-row: span 3;
    padding-top: 55px
  }

  #galleryHome .gallery .gallery-item:nth-child(5) {
    grid-column: span 7;
    grid-row: span 2
  }

  #galleryHome .gallery .gallery-item:nth-child(7) {
    grid-column: span 10;
    grid-row: span 2
  }

  #galleryHome .gallery .gallery-item:nth-child(8) {
    grid-column: span 13;
    grid-row: span 3
  }

  #galleryHome .gallery .gallery-item:nth-child(9) {
    grid-column: span 7;
    grid-row: span 2
  }

  #galleryHome .gallery .gallery-item:nth-child(10) {
    grid-column: span 7;
    grid-row: span 2
  }

  #galleryHome .gallery .gallery-item:nth-child(11) {
    grid-column: span 8;
    grid-row: span 2
  }

  #galleryHome .gallery .gallery-item:nth-child(12) {
    grid-column: span 8;
    grid-row: span 2
  }

  #galleryHome .gallery .gallery-item .gallery-icon {
    height: 100% !important;
    position: relative
  }

  #galleryHome .gallery .gallery-item:first-child .gallery-icon {
    width: 55%;
    margin: 0 auto
  }

  /*-------------------- MOT -------------------*/
  .home #content blockquote {
    margin-top: 0 !important;
  }

  /*-----------------*/
  /* REASSURANCES */
  /*-----------------*/
  .home #content {
    padding-bottom: 0;
  }


  /*-------------------- SECTIONS -------------------*/
  .sectionsbloc.odd blockquote p {
    color: var(--white);
  }

  .sectionsbloc .button {
    border: 1px solid #ffffff50;
    border-radius: 30px !important;
    background: var(--black) !important;
  }

  .sectionsbloc.even .button {
    background: var(--background-color) !important;
    border-color: #00000050;
  }

  .sectionsbloc.odd .button {
    color: var(--white);
  }

  .section_num0.sectionsbloc .wrap-text {
    background: var(--background-color);
  }

  /*-------------------- MOT -------------------*/
  .partenaires-title>.button:first-of-type {
    margin-right: 3px;
  }
}

@media(min-width: 1281px) {

  /*-----------------*/
  /* HEADER */
  /*-----------------*/
  #logoCoordonnees {
    margin: 0 40px;
  }

  #infoouverture .infohoraires_ouverture {
    max-width: none;
  }

  /*-----------------*/
  /* INTRO / CONTENT */
  /*-----------------*/
  .home #content .content_thumb .specialthumb {
    width: 334px;
    height: 350px;
    top: -200px;
  }

  .home #content {
    padding: 100px 0;
    padding-bottom: 0;
  }

  .home #content .wrap-text {
    padding: 50px;
    max-width: 57%;
    margin-right: -10%;
    padding-right: 14%;
    padding-top: 120px;
  }
  /*-----------------*/
	/* CONTENTPAGE */
	/*-----------------*/
	#intro-content .intro-txt{margin: 40px auto 0;}
  /*------------------- PRESTATIONS ---------------------*/
  #prestations .bloc_prestations .tertiarythumb {
    right: 8%;
  }

  #prestations .bloc_prestations .specialthumb {
    left: 17%;
  }
  /*-------------------- MOT -------------------*/
  #partenaires::before
  {
    top:initial;
    bottom: 0;
    height: calc(100% + 400px);
  }
}

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

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

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

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

@media(max-width: 1280px) {

  /*-------------------- NAVIG -------------------*/
  .navigmenu .naviglink.lvl-0 {
    padding: 20px 10px;
    font-size: 15px;
  }

  /*-----------------*/
  /* ACTU */
  /*-----------------*/
  #news .wrapActu {
    grid-gap: 30px;
  }

}

@media(max-width: 1024px) {

  /*-----------------*/
  /* LOADER */
  /*-----------------*/
  #loader-wrapper svg {
    width: 200px;
  }

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

  #logoCoordonnees img {
    width: 180px;
  }

  #header-coordonnees>div :is(.titlehoraires, span) {
    font-size: 10px;
  }

  /*-----------------*/
  /* HEADERHOME */
  /*-----------------*/
  #headerHome-content {
    padding-top: 100px;
  }

  /*-----------------*/
  /* CONTENT PAGE */
  /*-----------------*/
  #content .introBanner {
    height: 500px;
    max-width: 95%;
    margin: 50px 0 100px;
  }

  #content .specialGallery {
    margin: 100px 0 50px !important;
  }

  #contactCoordonnees>div {
    margin: 20px auto;
    max-width: 200px;
  }


  /*-----------------*/
  /* INTRO / CONTENT */
  /*-----------------*/
  .home #content {
    flex-direction: column;
    display: flex;
  }

  .home #content .content_thumb {
    display: grid;
    align-items: stretch;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }

  .home #content .content_thumb>div {
    height: 100%;
  }

  .home #content .content_txt .wrap-text {
    grid-column: span 2;
  }

  .home #content .content_txt .blocthumb {
    height: 400px;
  }

  .home #content .content_title {
    padding: 0;
  }

  .home #content .linkTurn {
    --size: 9rem;
    position: absolute;
    top: -70px;
    margin: 0 auto;
    right: 0;
  }

  .home #content .tertiarythumb {
    filter: drop-shadow(2px 2px #ffffff50);
  }

  .home #content .tertiarythumb::before {
    bottom: 100px;
    left: 30px;
    --size: 200px;
    width: 120px;
  }

  /*-----------------*/
  /* PRESTATIONS */
  /*-----------------*/
  .prestations-content :is(h2, h3) {
    font-size: 28px;
  }

  #prestations .bloc_prestations :is(.specialthumb, .tertiarythumb) {
    display: none
  }

  #prestations .bloc_prestations {
    padding: 20px 7vw 30px !important;
  }

  /*-----------------*/
  /* ACTU */
  /*-----------------*/
  #news {
    padding-bottom: 20px;
    box-shadow: 0 0 20px #7e72726e;
    background: var(--background-color);
  }

  #news .wrapActu {
    grid-gap: 40px;
  }

  /*-----------------*/
  /* FOOTER */
  /*-----------------*/
  #footerLinks {
    flex-direction: column;
  }
}

@media(max-width: 767px) {

  /*-----------------*/
  /* ELEMENTS */
  /*-----------------*/
  .accroche {
    font-size: 17px;
  }

  /*-----------------*/
  /* LOADER */
  /*-----------------*/
  #loader-wrapper svg {
    width: 150px;
  }

  /*-----------------*/
  /* HEADERHOME */
  /*-----------------*/
  #headerHome-content {
    padding-top: 70px;
  }

  /*-----------------*/
  /* INTRO / CONTENT */
  /*-----------------*/
  .home #content .content_txt .blocthumb {
    height: 300px;
  }

  #content .eb-feature-list-item {
    margin-bottom: 20px;
  }

  /*-----------------*/
  /* CONTENT PAGE */
  /*-----------------*/
  #content .introBanner {
    height: 300px;
    max-width: 100%;
    margin: 50px 0;
  }

  #content .specialGallery {
    margin: 50px 0 !important;
  }

  #contactCoordonnees>div {
    font-size: 17px;
    max-width: 180px;
  }
  /*-------------------- CONTENTPAGE -------------------*/
  .grid-img {
	    margin: 20px 0 40px!important;
	    grid-gap: 3px!important;
	    grid-auto-rows: 150px;
	}
  /*-----------------*/
  /* PRESTATIONS */
  /*-----------------*/
  #prestations .bloc_prestations {
    padding: 20px 0 30px !important;
  }

  #prestations .widget_parentpage {
    padding-bottom: 0
  }

  .prestations-content :is(h2, h3) {
    font-size: 20px;
  }

  #prestations .tc_excerpt {
    font-size: 15px;
  }

  /*-----------------*/
  /* ACTU */
  /*-----------------*/
  #listarticles .listedarticle .tc_excerpt {
    font-size: 16px;
  }

  #news {
    padding-bottom: 20px;
  }

  #news .wrapper_inner_slider {
    padding: 30px 0;
  }

  #news .content_slider {
    padding: 20px 0 0;
  }

  #news .content_slider::before {
    left: 50%;
    transform: translateX(-50%);
    top: 200px;
  }

  .thumbnail_slider {
    height: 250px;
  }

}

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