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

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

@media(min-width: 1025px) {
    /*-----------------*/
  /* HEADER + NAVPRIMARY */
  /*-----------------*/
  #header-coordonnees
  {
    align-items: center;
  }
  #logoCoordonnees {
    order: 0;
    grid-row: span 2;
  }
  
  #header-coordonnees::before {
    border: 1px solid rgb(255 255 255 / 40%);
    border-top: none;
    height: calc(100% - 5px);
    box-sizing: border-box;
    border-radius: 50px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 69% 100%, 57% 90%, 33% 90%, 33% 100%, 0 100%);
  }

  .navigmenu .naviglink.lvl-2 span {
    padding: 0 0 0 15px;
    display: block
  }

  .navigmenu .naviglink.lvl-2 {
    text-align: left;
    padding: 10px;
    font-size: 14px;
  }

  .navigmenu .naviglink.lvl-2 span:before {
    content: "";
    --size: 6px;
    position: absolute;
    top: 5px;
    left: 0;
    background: var(--primary-color);
    width: var(--size);
    height: var(--size);
    border-radius: 100%
  }

  #navprimary {
    position: relative;
  }

  #infoadresse br {
    display: none;
  }

  #header-coordonnees>:nth-child(1) {
    order: -1;
    align-items: flex-end;
  }

  #header-coordonnees .right {
    order: 2
  }

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

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

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

  #infotelportButton {
    padding: 6px 40px 6px 20px;
  }


  #header-coordonnees #infotelportButton:before {
    right: 15px;
  }

  #logoCoordonnees>a,
  #logo>a {
    padding: 5px;
    margin: 0 auto;
    position: relative;
    height: 140px;
  }
   /*-----------------*/
  /* HEADERHOME */
  /*-----------------*/
  #headerHome-title {
    position: relative;
    color: var(--primary-color);
  }

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

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

  .headerHome-img .headerHome-imgLeft1 {
    width: 110%;
    margin-top: 230px;
    position: relative;
    height: calc(100% - 300px);
  }

  .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: -30%;
    bottom: -10%;
  }

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

  .headerHome-img .headerHome-imgLeft4 {
    width: 55%;
    height: 42%;
    left: 3%;
    top: 44%;
  }
  #headerHome-content
  {
    padding-top: 200px;
    display: grid;
    align-items: center;
  }
  /*-----------------*/
  /* INTRO / CONTENT */
  /*-----------------*/
  .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(--white);
    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;
  }
  /*------------------- &&& ---------------------*/
  #reassurances
  {
    padding: 150px 20px;
  }
   /*-----------------*/
    /* ACTU / NEWS */
    /*-----------------*/
    #news {
      padding: 120px 20px 80px;
      z-index: 2;
      /* clip-path: polygon(1% 5%, 99% 0%, 94% 100%, 4% 96%); */
    }

}

@media(min-width: 1281px) {

  /*------------------- ACTU / NEWS ---------------------*/
	#news {
		padding: 150px 20px 100px;
	}
}

@media(min-width: 1320px) {
  #header::before {
    width: calc(100% - 100px);
    max-width: 1300px;
    height: calc(100% - 45px);
    border: 1px solid var(--white);
    border-top: 0;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.5;
    clip-path: polygon(0% 0%, 0% 100%, 10% 100%, 10% 10%, 100% 10%, 90% 100%, 10% 100%, 10% 100%, 100% 100%, 100% 0%);
  }
}

@media(min-width: 1481px) {
  /*----------------HEADER--------------------*/
  #header::before {
    clip-path: polygon(0% 0%, 0% 100%, 10% 100%, 10% 10%, 100% 10%, 90% 100%, 10% 100%, 10% 100%, 100% 100%, 100% 0%);
  }
  /*------------------- &&& ---------------------*/
  .headerHome-img .headerHome-imgLeft3
  {
    height: 58%;
    top: 10%;
  }
}

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


@media(max-width: 1680px) {

}

@media(max-width: 1480px) {

}
@media(max-width: 1280px) {
    /*-----------------*/
  /* HEADER + NAVPRIMARY */
  /*-----------------*/
  #header:before {
    right: 5%;
    left: 5%;
  }

  .navigmenu .navbloctitle {
    font-size: 16px;
    letter-spacing: 1px;
  }
   /*-----------------*/
  /* HEADERHOME */
  /*-----------------*/
  #headerHome-title {
    font-size: 35px;
  }

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

  #headerHome-title .typewrite {
    font-size: 16px;
  }
    /*-----------------*/
	/* NEWS / ACTU */
	/*-----------------*/
	#news .text_slider {
		width: 30%;
	}
}

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

  #headerGrid {
    align-items: start;
  }

  #header-coordonnees>* {
    text-align: center;
  }

  .typewrite {
    height: 41px;
    display: grid;
    align-items: center;
    justify-items: center;
  }

  #header {
    padding: 0;
  }

  #logoCoordonnees img {
    max-width: 200px;
  }

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

  #header-coordonnees>div {
    margin: 10px auto;
  }

  #logoCoordonnees>a,
  #logo>a {
    padding-top: 10Px;
  }

  #logo {
    position: relative;
  }

  .navigmenu .naviglink span {
    padding: 5px 0;
  }

  .menuarticle,
  .navigmenu .navbloctitle {
    display: none;
  }

  #header:before {
    bottom: 72px;
    left: 35px;
    right: 35px;
  }

  body:not(.is-toggle-open) #header .ckmenu {
    position: relative;
    z-index: 1000
  }

  .logoParent {
    display: none;
  }

  #header .ckmenu-nav {
    top: 0;
    padding-top: 50px
  }

  #headerGrid {
    align-items: start;
  }

  #header-coordonnees {
    pointer-events: none;
  }

  #header-coordonnees>* {
    pointer-events: all;
  }

  #header :is(#header-coordonnees>*,#header-coordonnees>*>span, .horaires.nomodal .titlehoraires)
  {
    text-align: center;
  }

  #infoadresseBis
  {
    order: -2;
  }
  #infoadresse
  {
    order: -1;
  }
  #logoCoordonnees
  {
    order: -3;
  }

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

  .title.md-tac:not(.no-after):after {
    left: 50%;
    transform: translateX(-50%);
  }
 /*-----------------*/
  /* HEADERHOME */
  /*-----------------*/
  #headerHome {
    padding: 0;
  }

  #headerHome-wrapper {
    padding: 0;
    grid-gap: 4px;
  }

  #headerHome-content {
    padding: 90px 30px 120px;
    order: -1;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  #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: 4px;
    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;
  }
  #headerHome-wrapper::before
  {
    background-position: bottom 200px center;
  }
   /*-----------------*/
  /* 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;
  }
  /*-----------------*/
	/* ACTU / NEWS */
	/*-----------------*/
	.thumbnail_slider {
		height: 250px;
	}

	#news .thumbnail_slider {
		margin-bottom: 20px;
	}

	#news .wrapper_inner_slider {
		flex-direction: column;
		border: none !important;
	}

	#news .content_slider {
		width: 100%;
		padding: 0;
		text-align: center;
	}

	#news .text_slider {
		width: 100%;
		text-align: center;
		font-size: 14px;
		line-height: 1.5;
	}

	#news .title_slider {
		font-size: 15px;
	}

	#news .next_slider {
		margin: 10px 0 0 0;
	}

	#news-content {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}
}

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

  #logoCoordonnees>a {
    width: 140px;
  }

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

  #content .eb-feature-list-item {
    margin-bottom: 20px;
  }
    /*------------------- NEWS / ACTUS ---------------------*/
	#news {
		padding: 150Px 20px;
	}
}

@media(max-width: 480px) {
    /*-----------------*/
	/* ACTU */
	/*-----------------*/
	#news-content {
		grid-template-columns: repeat(1, 1fr);
		gap: 0;
	}

	#news .text_slider {
		display: none;
	}
}