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

@media(min-width: 768px){
   /*------------------SECTIONS-----------------------*/
   .sectionsbloc .title small
   {
    display: flex;
    align-items: center;
   }
   .sectionsbloc .title small:before {
    content: "";
    position: relative;
    display: block;
    height: 1px;
    color: var(--tertiary-color);
    background-color: var(--tertiary-color);
    width: 50%;
    max-width: 250px;
    margin-right: 32px;
  }
}

@media(min-width: 1025px){
  /*-----------------HEADER-------------------*/
  #header-coordonnees
  {
    gap: 10px;
  }
  #logoCoordonnees
  {
    grid-row: span 2; 
    z-index: 2;
  }
  #header-coordonnees>:nth-child(1),
  #header-coordonnees>:nth-child(4){
	  align-items: flex-end;
	}
  #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;
	}
  /*------------------NAVPRIMARY------------------------*/
  #navprimary
  {
    position: relative;
    background: var(--light-color);
    padding-top: 20px;
  }
  #navprimary,#navprimary::before,#navprimary::after
  {
      border: 1Px solid #0000001a;
  }
  #navprimary::before,#navprimary::after
  {
      background: var(--background-color);
      border-top: none;
      left: 50%;
      height: 20Px;
      width: 13%;
      top: -1Px;
      z-index: 1;
      transform: translateX(calc(-50% - 10Px)) skewX(15deg);
  }
  #navprimary::before
  {
      border-right: none;
  }
  #navprimary::after
  {
      border-left: none;
      transform: translateX(calc(-50% + 10Px)) skewX(-15deg);
  }
  
  
  /*------------------HEADERHOME------------------------*/
  body .vegas-container
  {
    position: relative;
  }
  .wrapTitleHeaderHome
  {
    padding-left: 110Px;
  }
  #headerHome::before
  {
    background: url(../images/home-bg4.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 140Px;
    top: 50%;
    transform: translateY(-50%);
    height: 70%;
  }
  #headerHome-title
  {
    color: var(--primary-color);
  }
  #firstP
  {
    padding: 20Px;
  }
  .imageDiapo .overlay
  {
    opacity: 0.7;
  }
  #headerHome-content
  {
    position: relative;
    top: -50px;
  }
  #coord {
      position: absolute;
      top: 40%;
      left: 65%;
      transform: translateX(-50%) translateY(-50%);
  }
  /*------------------PRESTATIONS----------------------*/
  .nohome #prestations
  {
    padding-bottom: 30px;
  }
  /*-----------------CONTENT / INTRO----------------------*/
  .home #content
  {
    pointer-events: none;
  }
  .home #content>*
  {
    pointer-events: all;
  }
  .home #content::after,
  .home #content .overlay
  {
    width: 30%;
    top: 50%;
    transform: translateY(-50%);
    height: 60%;
  }
  .home #content::after {
    background: url(../images/home-bg1.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }
  .textContent
  {
    padding: 60px;
    padding-top: 100Px;
  }

  #content .imgContent img {
		position: absolute;
		left: -20%;
		height: 120%;
		width: 120%;
	}
  .wrapSecondaryImg .secondaryImgContent
  {
    width: 80%;
  }
  .wrapSecondaryImg .tertiaryImgContent
  {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      right: 0;
      width: 30%;
      height: 50%;
      z-index: 2;
  }
  .tc_content .wp-block-media-text__media:not(.is-image-fill)
  {
    display: grid;
    align-items: center;
  }
  .tc_content .wp-block-media-text__media:not(.is-image-fill) img
  {
    height: auto!important;
  }
  /*-------------------GALLERYHOME-----------------------*/
  #galleryHome .gallery
  {
    grid-template-columns: repeat(6,1fr);
    grid-auto-rows: 150Px;
    transform: rotate(45deg);
    width: 100%;
    margin-top: -280Px;
  }
  #galleryHome .gallery-item
  {
    display: grid;
    grid-row: span 2;
    grid-column: span 2;
    overflow: hidden;
  }
  #galleryHome .gallery-icon
  {
    overflow: hidden;
  }
  #galleryHome .gallery-icon a img
  {
    transform: rotate(-45deg) scale(1.6);
  }
  #galleryHome .gallery-item:nth-child(1)
  {
    grid-row: span 5;
    align-items: end;
    justify-content: end;
  }
  #galleryHome .gallery-item:nth-child(2)
  {
    grid-row: span 3;
    align-items: end;
  }
  #galleryHome .gallery-item:nth-child(3)
  {
    width: 80%;
  }
  #galleryHome .gallery-item:nth-child(6)
  {
    grid-row: span 1;
  }
  #galleryHome .gallery-item:nth-child(8)
  {
    justify-items: end;
  }
  #galleryHome .gallery-item:nth-child(1) .gallery-icon,
  #galleryHome .gallery-item:nth-child(2) .gallery-icon,
  #galleryHome .gallery-item:nth-child(6) .gallery-icon,
  #galleryHome .gallery-item:nth-child(9) .gallery-icon,
  #galleryHome .gallery-item:nth-child(8) .gallery-icon
  {
    --size: 150px;
    width: var(--size);
    height: var(--size);
  }
  /*----------------PRESTATIONS-------------------------*/
  .home #contactDiv
  {
    margin-top: 250Px;
    margin-bottom: 140px;
  }
  /*----------------REASSURANCES-------------------------*/
  .home #reassurances
  {
    padding-top: 250Px;
  }
  .nohome #reassurances
  {
    padding: 110px 20px;
  }
  .nohome #reassurances
  {
    background: url(../images/home-bg1.jpg);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    clip-path: polygon(0 100%,50% 100%,53% 90%,80% 90%,83% 100%,100% 100%,100% 0,43% 0,40% 10%,20% 10%,17% 0,0% 0%);
  }
  /*----------------NEWS-------------------------*/
  .home #news
  {
    padding-top: 250Px;
  }
  /*-------------------SECTIONS------------------*/
  .sectionsbloc::before
  {
    height: calc(100% - 470Px);
    top:initial;
    bottom: 0;
    width: 65%;
  }
  .sectionsbloc.even::before
  {
    left: initial;
    right: 0;
  }
  .sectionsbloc.odd .first_thumb
  {
    margin-left: auto;
  }
  .sectionsbloc.odd .wrapImgSections
  {
    order: 2;
  }
  .section_txt
  {
    position: relative;
    z-index: 2;
  }
  .first_thumb
  {
    width: 70%;
    height: 800Px;
  }
  .first_thumb *
  {
    height: 100%;
  }
  .secondary_thumb
  {
    position: absolute;
    height: 80%;
    width: 70%;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
  }
  .tertiary_thumb
  {
    position: absolute;
    --size: 400px;
    width: var(--size);
    height: var(--size);
    bottom: -150Px;
    left: 0;
  }
  .sectionsbloc.even .tertiary_thumb
  {
    left: initial;
    right: 0;
  }
  .wrapImgSections img
  {
    position: absolute;
    --size: 100%;
    width: var(--size);
    height: var(--size);
    top: 0;
    left: 0;
  }
  .wrap-text
  {
    max-width: 850Px;
    margin: 0 auto;
    width: 100%;
  }
  .sectionsbloc:nth-child(1){z-index: 3;}
  .sectionsbloc:nth-child(2){z-index: 2;}
  .sectionsbloc:nth-child(3){z-index: 1;}
  /*-----------------PARTENAIRES---------------------*/
  .template-prestations-part-php #partenaires
  {
      padding: 130px 20px;
  }
  .template-prestations-part-php #partenaires::before,
  .template-prestations-part-php #partenaires .overlay
  {
      clip-path: polygon(0 100%,50% 100%,53% 90%,80% 90%,83% 100%,100% 100%,100% 0,43% 0,40% 10%,20% 10%,17% 0,0% 0%);
  }
  /*-----------------*/
	/* FOOTER */
	/*-----------------*/
	#footer-coordonnees {
	  width: 40%;
	}

	#footerForm #wrapperForm {
	  width: 60%;
	  padding: 0 50px;
	}

	#footerForm {
	  padding: 120px 60px;
	}
  #footerForm::before,#footerForm .overlay
  {
    clip-path: polygon(0 100%,51% 100%,53% 95%,81% 95%,83% 100%,100% 100%,100% 0,43% 0,41% 5%,19% 5%,17% 0,0% 0%);
  }
}

@media(min-width: 1281px){
  /*--------------------HEADERHOME---------------------*/
  .wrapTitleHeaderHome
  {
    padding-left: 150px;
  }
  #coord
  {
    left: 55%;
  }
  /*-------------------PRESTATIONS----------------------*/
  .home #prestations {
    z-index: 2;
    margin-top: 30Px;
  }
  #prestations .widget_parentpage {
    grid-template-columns: repeat(13, 1fr);
    gap: 30px;
  }

  .bloc_prestations:nth-child(1) {
    grid-column: span 3;
    height: 400px;
  }

  .bloc_prestations:nth-child(2) {
    position: relative;
    top: -200Px;
    grid-column: span 4;
  }

  .bloc_prestations:nth-child(3) {
    height: 320px;
    position: relative;
    top: -100Px;
    grid-column: span 2;
  }

  .bloc_prestations:nth-child(4) {
    grid-column: span 4;
  }
  .nohome #prestations {
      margin-top: 100px;
  }
  /*----------------REASSURANCES-----------------------*/
  .picto-bloc {
    position: relative;
  }
  .picto-bloc:not(:last-child)::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 0;
      background: var(--white);
      width: 1px;
      left: initial;
      right: 0;
      opacity: .3;
  }
}

@media(min-width: 1481px){

  /*---------------HEADERHOME-------------------------*/
  #headerHome::before
  {
    top: calc(50% - 50px);
  }
  /*-----------------SECTIONS------------------------*/
  .sectionsbloc .title
  {
    left: -20px;
  }
  /*------------------PRESTATIONS--------------------*/
  .template-parent-page-php #prestations
  {
    padding-bottom: 100px;
  }
}

@media(min-width: 1681px){
  #headerHome::before
  {
    width: 200px;
  }
  #coord
  {
    left: 50%;
  }
}

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

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

@media(max-width: 1280px)
{
  /*-----------------PRESTATIONS------------------------*/
  #prestations
  {
    padding: 0 20px;
    padding-top: 40px;
  }
  #prestations .wrappercontent
  {
    max-width: 700Px;
  }
  /*----------------NEWS / ACTUS------------------------*/
  #news{
		padding: 40px 40px 150px;
	}
  /*-----------------*/
	/* FOOTER */
	/*-----------------*/
	#footerForm {
	  padding: 140px 30px;
	}

	#footerForm #wrapperForm {
	  padding: 0 0 0 40px;
	}
  
}

@media(max-width: 1024px){
  /*---------------HEADER---------------------*/
  body:not(.is-toggle-open) #header .ckmenu {
      position: relative;
      z-index: 1000
  }

  .logoParent
  {
    display: none;
  }

  #header .ckmenu-nav {
      top: 0;
      padding-top: 50px
  }
  #header > #headerGrid
  {
    align-items: start;
  }
  #header-coordonnees
  {
    max-width: 500px;
    margin: 0 auto;
  }
  /*-------------------MDTAC---------------------*/
  .md-tac,#footer-coordonnees>*,#header-coordonnees>*   {
   text-align: center!important;
  }
  .title.md-tac:not(.no-after):before,.title.md-tac:not(.no-after):after  {
    left: 50%;
    left: 50%;
    transform: translateX(-50%);
  }
  .home .wrappercontent
  {
      max-width: 700Px;
      margin: 0px auto;
      width: 100%;
  }
  /*-------------------HEADERHOME--------------------*/
  #headerHome-accroche,#headerHome-content
  {
    color: var(--white);
  }
  #headerHome .button.hollow:not(:hover)
  { 
    color: var(--white);
    border-color: var(--white);
  }
  body .vegas-container.imageDiapo
  {
    height: 90%!important;
  }
  /*-------------------PRESTATIONS--------------------*/
  #prestations
  {
    padding: 20px;
  }
  /*-----------------CONTENT---------------------*/
  .wrapSecondaryImg
  {
      display: grid;
      align-items: stretch;
      grid-template-columns: 1fr 1fr;
      height: 300Px;
      grid-auto-rows: 300Px;
      gap: 10Px;
  }
  /*-----------------NEWS/ACTUS---------------------*/
	#news .next_slider {
	  width: 150px;
	}

	#news .content_slider {
	  padding: 50px 0 50px 70px;
	}

	.newsdate {
	  padding: 20px 20px;
	  height: calc(100% - 140px);
	  top: 50px;
	  left: -60px;
	  min-height: 150px;
	}

	#news {
	  padding: 60px 30px;
	}

	#news-title {
	  flex-direction: column;
	  justify-content: center;
	  text-align: center;
	  border: none;
	  padding-bottom: 0;
	  margin-bottom: 20px;
	}

	#news-title .title {
	  margin-bottom: 10px;
	}

	.title_slider {
	  font-size: 22px;
	}

	.newsdate .day {
	  font-size: 30px;
	}

	.newsdate .month {
	  font-size: 17px;
	}
  /*------------------SECTIONS-----------------*/
  .wrap-text {
    max-width: 700Px;
    margin: 0px auto;
  }
  .wrapImgSections *
  {
    height: 100%;
  }
  /*------------------CONTACTDIV--------------------*/
  #contactDiv
  {
    width: calc(100% - 40px);
    margin: 50px auto;
  }
  /*-----------------*/
	/* FOOTER */
	/*-----------------*/
	#footerForm>.wrappercontent {
	  flex-direction: column;
	}

	#footer-coordonnees>div:not(.title) {
	  margin: 20px auto;
	  font-size: 15px;
	  max-width: 240px;
	}

	#footer-coordonnees .title {
	  text-align: center;
	}

	#footer-coordonnees .title:after {
	  left: 50%;
	  margin-left: -25px;
	}

	#footer-coordonnees {
	  max-width: 520px;
	  margin: 0 auto 20px;
	}

	#footerForm {
	  padding: 80px 25px;
	}
}

@media(max-width: 767px)
{
  /*-------------------NEWS/ACTUS-----------------------*/
	.thumbnail_slider {
	  height: 250px;
	}

	#news {
	  padding: 50px 15px;
	}

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

	.newsdate {
	  left: 20px;
	  top: -40px;
	  height: auto;
	  padding: 10px 20px;
	  min-height: auto;
	}

	.newsdate .month {
	  font-size: 15px;
	}

	.newsdate .day {
	  font-size: 22px;
	}

	.title_slider {
	  font-size: 20px;
	}

	#news .next_slider {
	  justify-content: flex-start;
	}
  /*-----------------*/
	/* FOOTER */
	/*-----------------*/
	#wrapperForm {
	  max-width: 500px;
	}

	#footerForm #wrapperForm {
	  padding: 0;
	}

	#footerForm {
	  padding: 60px 25px;
	}

	#footer #footerbloc {
	  padding-bottom: 70px;
	}
}

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