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

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

@media(min-width: 1025px) {

	/*-----------------*/
	/* HEADER + NAVPRIMARY */
	/*-----------------*/
	#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%, 59% 100%, 57% 90%, 43% 90%, 41% 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%
	}

	.nohome #navprimary {
		border-bottom: 1px solid rgb(255 255 255 / 40%);
		position: relative;
	}

	#infoadresse br {
		display: none;
	}

	#logoCoordonnees {
		order: 0;
		grid-row: span 2;
	}

	#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 {
		height: 130px;
		padding: 0;
		margin: 0 auto;
		position: relative;
		margin-bottom: -27px;
		margin-top: -20px;
	}

	#logoCoordonnees img {
		padding: 10Px;
	}

	.home #header::before {
		background: var(--black);
	}

	/*------------------- HEADERHOME ---------------------*/
	#headerHome-accroche {
		max-width: 800Px;
		margin: 0 auto;
	}

	#headerHome .imageDiapo {
		-webkit-mask: url(../images/bottomCurveFull.svg);
		mask: url(../images/bottomCurveFull.svg);
		mask-size: cover;
		-webkit-mask-size: cover;
		mask-repeat: no-repeat;
		-webkit-mask-repeat: no-repeat;
		mask-position: bottom center;
		-webkit-mask-position: bottom center;
	}

	/*------------------- CERTIFICATIONS ---------------------*/
	.bloc_certifications:first-child {
		border-right: 1Px solid #ffffff20;
	}

	/*------------------- GALLERYHOME ---------------------*/
	#galleryHome {
		margin-bottom: 100px;
	}

	#galleryHome,
	#galleryFooter {
		overflow: hidden;
	}

	#galleryHome .wp-block-gallery,
	#galleryFooter .wp-block-gallery {
		height: 34.625em;
		font-size: 1.25vw
	}

	#galleryHome .wp-block-gallery .wp-block-image,
	#galleryFooter .wp-block-gallery .wp-block-image {
		margin-bottom: 0;
		position: absolute
	}

	#galleryHome .wp-block-gallery .wp-block-image:first-of-type,
	#galleryFooter .wp-block-gallery .wp-block-image:first-of-type {
		width: 17.9375em !important;
		height: 25.25em;
		top: 3.625em;
		left: 0;
		z-index: 1
	}

	#galleryHome .wp-block-gallery .wp-block-image:nth-child(2),
	#galleryFooter .wp-block-gallery .wp-block-image:nth-child(2) {
		width: 11.5625em !important;
		height: 16.25em;
		top: 7.0625em;
		left: 16.4375em;
		z-index: 6
	}

	#galleryHome .wp-block-gallery .wp-block-image:nth-child(3),
	#galleryFooter .wp-block-gallery .wp-block-image:nth-child(3) {
		width: 9.8125em !important;
		height: 13.75em;
		top: 13.875em;
		left: 26.625em;
		z-index: 4
	}

	#galleryHome .wp-block-gallery .wp-block-image:nth-child(4),
	#galleryFooter .wp-block-gallery .wp-block-image:nth-child(4) {
		width: 24.5625em !important;
		height: 34.625em;
		top: 0;
		left: 33.875em;
		z-index: 2
	}

	#galleryHome .wp-block-gallery .wp-block-image:nth-child(5),
	#galleryFooter .wp-block-gallery .wp-block-image:nth-child(5) {
		width: 15.4375em !important;
		height: 21.75em;
		top: 8em;
		left: 55.375em;
		z-index: 5
	}

	#galleryHome .wp-block-gallery .wp-block-image:nth-child(6),
	#galleryFooter .wp-block-gallery .wp-block-image:nth-child(6) {
		width: 12.4375em !important;
		height: 17.5em;
		top: 5.125em;
		left: 69.4375em;
		z-index: 3
	}

}

@media(min-width: 1281px) {

	/*-----------------*/
	/* INTRO CONTENT */
	/*-----------------*/
	#content-wrapper .content-body .title {
		left: -25%;
		width: 120%;
		margin-bottom: 50px;
	}

	#content-img .specialthumb {
		right: 50Px;
		width: 450px;
		bottom: 200px;
	}
}

@media(min-width: 1320px) {

	/*------------------- HEADER ---------------------*/
	#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%);
	}

	/*------------------- INTRO ---------------------*/
	#content-img .specialthumb {
		bottom: 50px;
	}
}

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

	/*------------------- CERTIFICATION ---------------------*/
	#certifications {
		left: 50%;
		transform: translateX(-50%);
		bottom: -100px;
	}

	/*------------INTRO / CONTENT--------------------------*/
	.home #content {
		padding: 100px 20px
	}

	#content-wrapper {
		padding: 0 30px 0 0;
		display: flex;
		flex-wrap: wrap
	}

	#content-wrapper .content-body {
		max-width: none;
		order: -1;
		padding: 0 25px 30px;
	}

	#content-wrapper .tertiarythumb,
	#content-wrapper .quaternarythumb {
		position: relative;
		height: 250px;
		width: 100%;
		top: 0 !important;
		left: 0 !important
	}

	#content-wrapper .quaternarythumb {
		padding-right: 1px
	}

	#content-wrapper .tertiarythumb {
		padding-left: 1px
	}

	/*------------------- NEWS / ACTUS ---------------------*/
	#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;
	}

	#logoheader {
		height: 100Px;
	}


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

	.title.md-tac:not(.no-after):after {
		left: 50%;
		transform: translateX(-50%);
	}

	/*------------------- INTRO / CONTENT ---------------------*/
	#content-img img {
		transform: initial !important;
	}

	/*-----------------*/
	/* NEWS / ACTU */
	/*-----------------*/
	.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;
	}

	#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,
	.buttons-wrap {
		padding: 0;
		flex-direction: column;
	}

	#content-wrapper {
		width: 100%;
		padding: 40px 0 0
	}

	#content-img {
		width: 100%;
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		grid-gap: 2px;
		padding-top: 2px;
		grid-template-rows: 250px auto;
	}

	#content-img .specialthumb,
	#content-img .blocthumb {
		position: relative;
		bottom: auto;
		left: 0;
		width: 100%;
		height: 100%
	}

	.home #content {
		padding-top: 80px !important;
	}
}

@media(max-width: 480px) {

  /*-----------------*/
  /* ACTU */
  /*-----------------*/
  #news-content {
    grid-template-columns: repeat(1, 1fr);
    gap: 0;
  }
}