/*
Theme Name:     Hestia-Julien
Template:       hestia
*/

@font-face {
	font-family: 'Amsi'; 
	src: url('fonts/AmsiPro-Light.woff') format('woff'),
	font-weight: 300;
    font-style: normal;
}
@font-face {
	font-family: 'Amsi'; 
	src: url('fonts/AmsiPro-Regular.woff') format('woff');
	font-weight: 400;
    font-style: normal;
}
@font-face {
	font-family: 'Amsi'; 
	src: url('fonts/AmsiPro-SemiBold.woff') format('woff');
	font-weight: 500;
    font-style: normal;
}
@font-face {
	font-family: 'Amsi'; 
	src: url('fonts/AmsiPro-Bold.woff') format('woff');
	font-weight: 600;
    font-style: normal;
}
@font-face {
	font-family: 'AmsiCond'; 
	src: url('fonts/AmsiProCond-Light.woff') format('woff'),
	font-weight: 300;
    font-style: normal;
}
@font-face {
	font-family: 'AmsiCond'; 
	src: url('fonts/AmsiProCond-Regular.woff') format('woff');
	font-weight: 400;
    font-style: normal;
}
@font-face {
	font-family: 'AmsiCond'; 
	src: url('fonts/AmsiProCond-SemiBold.woff') format('woff');
	font-weight: 500;
    font-style: normal;
}
@font-face {
	font-family: 'AmsiCond'; 
	src: url('fonts/AmsiProCond-Bold.woff') format('woff');
	font-weight: 600;
    font-style: normal;
}
@font-face {
	font-family: 'AmsiCond'; 
	src: url('fonts/AmsiProCond-Black.woff') format('woff');
	font-weight: 700;
    font-style: normal;
}
@font-face {
	font-family: 'ZenKakuGothicNew'; 
	src: url('fonts/ZenKakuGothicNew-Regular.ttf') format('truetype');
	font-weight: 400;
    font-style: normal;
}
@font-face {
	font-family: 'ZenMaruGothic'; 
	src: url('fonts/ZenMaruGothic-Bold.ttf') format('truetype');
	font-weight: 700;
    font-style: normal;
}
@font-face {
	font-family: 'ZenMaruGothic'; 
	src: url('fonts/ZenMaruGothic-Black.ttf') format('truetype');
	font-weight: 900;
    font-style: normal;
}

:root {
    --black: #302e2b;
	--beige: #998e7b;
    --cream: #e4e0d4;
	--white: #fefefc;
}

*,
*::before,
*::after {
	box-sizing: border-box;
	font-family: 'Amsi', sans-serif;
}
html {
	box-sizing: border-box;
}
body {
	font-family: 'Amsi', sans-serif;
	font-size: 18px;
	font-weight: 400;
	letter-spacing: 0.04em;
    line-height: 1.4em;
	color: var(--black);
}

h1,
h3,
h4 {
	font-family: 'AmsiCond', sans-serif !important;
	font-weight: 700;
	text-transform: uppercase;
	margin: 0 0 20px;
}
h1 {
	font-size: clamp(50px, 12vw, 70px);
	letter-spacing: 0.1em;
	color: var(--black);
	text-align: center;
}
h2 {
	font-size:clamp(18px, 4vw, 24px);
	font-weight: 400;
	letter-spacing: 0.05em;
	line-height: 1.3em;
	text-align: center;
	margin: 0;
}
h3 {
	font-size: 30px;
	letter-spacing: 0.05em;
	text-align: center;
}
h4 {
	font-size: 26px;
	letter-spacing: 0.04em;
}
span {
	font-family: inherit;
}

.text-br {
	display:inline-block;
}
.row {
	margin: 0;
}
a:hover,
a:focus {
	text-decoration: none;
}

/*--------------------------------------------------------------
# Main Menu
--------------------------------------------------------------*/
.navbar {
    background-color: var(--white);
    color: var(--black);
    border-radius: 0;
    border: none;
    padding: 0;
    transition: none;
    -webkit-box-shadow: none;
    box-shadow: none;
	margin-bottom: 0;
}
.navbar > .container {
	width: 100% !important;
}

.navbar.hestia_left .title-logo-wrapper {
        min-width: unset !important;
}
.navbar .navbar-header .navbar-brand img {
    width: auto;
	height: 36px;
    max-height: unset;
}

.navbar .navbar-nav > li {
	margin: 0 !important;
}
.navbar-default .navbar-nav > li > a {
	font-family: 'AmsiCond', sans-serif !important;
	font-size: 16px;
	font-weight: 400;
    color: var(--black);
}
.navbar-default .navbar-nav > .active:not(.btn) > a,
.navbar li.on-section:not(.btn)>a {
	font-weight: 500;
	color: var(--black) !important;
}
.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus {
    opacity: 1 !important;
}

.navbar .navbar-nav > li.en,
.navbar .navbar-nav > li.jp {
	display: none;
}
.page-id-305 .navbar .navbar-nav > li:not(.en),
.page-id-296 .navbar .navbar-nav > li:not(.jp) {
	display: none;
}
.page-id-305 .navbar .navbar-nav > li.en,
.page-id-296 .navbar .navbar-nav > li.jp,
.page-id-305 .navbar .navbar-nav > li.global,
.page-id-296 .navbar .navbar-nav > li.global {
	display: block;
}

body:not(.home) nav.language {
	display: none;
}
body.page-id-305 nav.language,
body.page-id-296 nav.language {
	display: block;
}
nav.language {
	position: fixed;
	top: 85px;
    right: 15px;
    z-index: 1;
}
nav.language ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	column-gap: 10px; 
}
nav.language ul li {
	width: 62px;
	background-color: rgba(255,255,255,0.4);
	border: 1px solid var(--black);
	padding: 4px 6px;
}
nav.language ul li a {
	width: 100%;
    height: 100%;
    font-size: 12px;
    font-weight: 500;
	color: var(--black);
	letter-spacing: 0;
	line-height: 1em;
    text-align: center;
    display: block;
}
nav.language ul li:nth-child(3) a {
	font-family: 'Hiragino sans', 'Meryio',sans-serif;
	font-size: 11px;
	line-height: 12px;
}
nav.language ul li:nth-child(1),
.page-id-305 nav.language ul li:nth-child(2),
.page-id-296 nav.language ul li:nth-child(3) {
	display: none;
}
.page-id-305 nav.language ul li:nth-child(1),
.page-id-296 nav.language ul li:nth-child(1) {
	display: block;
}
    

/*--------------------------------------------------------------
# Initialize
--------------------------------------------------------------*/
.header-filter-gradient {
	background: var(--beige) !important;
}
.posted-by {
	display: none;
}

article section {
	background-color: var(--white);
	padding: 50px 0;
	position: relative;
	z-index: 2;
}
.section {
	padding-top: 70px;
	padding-bottom: 0;
}
ul.wp-block-list {
    padding: 10px 0 20px;
    padding-left: 16px;
    margin: 0;
}
ul.wp-block-list li {
	line-height: 1.2em;
	margin-bottom: 5px;
}

.header-contents {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 7;
	position: relative;
	padding: 0;
	z-index: 0;
}
.bg-image-clip {
	width: 100%;
	height: 100%;
	min-height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	clip-path: inset(0);
	z-index: -1;
}
.bg-image-fixed {
	width: 100%;
	height: 100%;
	background-repeat: no-repeat;
	position: fixed;
	top: 0;
}
.header-contents .header-text {
	position: fixed;
	left: 20px;
	top: 85px;
}
.header-contents .header-text h4 {
	margin-bottom: 4px;
}
.header-contents .header-text p {
	font-size: 12px;
	line-height: 1em;
}

.hestia-scroll-to-top {
	background: var(--beige) url(/images/picto_scroll.svg) no-repeat center 18px;
	background-size: 16px;
}
.hestia-scroll-to-top:hover,
.hestia-scroll-to-top:focus {
	background-color: var(--beige);
}
.hestia-scroll-to-top svg {
	display: none;
}
/*--------------------------------------------------------------
# Home
--------------------------------------------------------------*/
.home h1 {
	font-size:min(11vw,90px);
}
.home h2 {
	line-height: 1em;
}
.home h3 {
	font-size: clamp(50px, 12vw, 70px);
	letter-spacing: 0.1em;
}
.home article {
	padding-top: 0 !important;
	padding-bottom: 0;
    min-height: 100vh;
}
.home .header-contents {
	height: 100vh;
}
.home .bg-image-fixed {
	background-image: url(/images/header_img_1.jpg);
	background-size: 110%;
	background-position: center bottom 10%;
}
.home.jp .bg-image-fixed {
	background-image: url(/images/header_img_jp.jpg);
}
@media (min-aspect-ratio: 59 / 40) {
	.home .bg-image-fixed {
		background-size: 100% auto;
	}
}
@media (max-aspect-ratio: 20/23) {
	.home .bg-image-fixed {
		background-size: auto 100%;
	}
}
@supports (background-image: url(/images/webp/header_img_1.webp)) {
  .home .bg-image-fixed {
    background-image: url(/images/webp/header_img_1.webp);
  }
}
.home .header-contents .header-text {
	width: 100%;
	position: fixed;
	left: 0;
	top: 50%;
	transform: translate(0, -50%);
}
.home .header-contents .header-text h2 {
	margin-top: 10px;
}
/* --------------------------------------------------------------
# Section Presentation */
.home .presentation {
	padding-top: 80px;
}
.home .presentation .profile h3 {
	width: 520px;
	text-align: left;
	letter-spacing: 0.04em;
	position: relative;
	margin: 0 auto -10px;
}
.home .presentation .profile h3:before,
.home .presentation .profile h3:after {
	content: "";
	width: 86px;
	height: 63px;
	background: no-repeat;
	background-size: auto 100%;
	position: absolute;
}
.home .presentation .profile h3:before {
	background-image: url(/images/img_headline_L.svg);
	left: 0;
    top: -20px;
}
.home .presentation .profile h3:after {
	background-image: url(/images/img_headline_R.svg);
	right: 0;
    bottom: -20px;
}
.home .presentation .profile h3 span:after {
 	content:"\A";
	white-space:pre;
}
.home .presentation .profile h3 span:nth-child(1) {
	margin-left: 110px;
}
.home .presentation .profile h3 span:nth-child(2) {
	margin-left: 60px;
}
.home .presentation .profile h3 span:nth-child(3) {
	margin-left: 130px;
}
.home .presentation .profile .content-wrap {
	display: flex;
	gap: 30px 36px;
	padding-bottom: 50px;
}
.home .presentation .profile .content-wrap > div:first-child {
	width: 320px;
	height: auto;
}
.home .presentation .profile .content-wrap > div:first-child img {
	border-radius: 5px;
}
.home .presentation .profile .content-wrap .text {
	width: calc(100% - 320px);
	padding-top: 60px;
}
.home .presentation .profile .row.row-1 .wp-block-group {
    border-top: 1px solid var(--beige);
	padding-top: 45px;
}
.home .presentation .profile .row h4 {
	color: var(--beige);
}
.home .presentation .profile .row ul {
	padding: 10px 0 20px;
	padding-left: 16px;
	margin: 0;
}
.home .presentation .profile .row ul li {
	margin-bottom: 10px;
}

/* --------------------------------------------------------------
# Section Presentation en japonais */
.home.jp .presentation .profile h3,
.home.jp .presentation .profile h4 {
	font-family: "ZenMaruGothic", serif !important;
	font-weight: 900;
}
.home.jp p,
.home.jp .presentation li {
	font-family: "ZenKakuGothicNew", sans-serif;
	font-size: 1.7rem;
	font-weight: 400;
	font-style: normal;
	line-height: 1.6em;
}
.home.jp .presentation .profile h3 {
	width: 480px;
	font-size: 5.8rem;
	letter-spacing: 0em;
	text-align: center;
	line-height: 1.2em;
	margin: 0 auto 30px;
}
.home.jp .presentation .profile h3 span:nth-child(1) {
	margin-left: 0;
}
.home.jp .presentation .profile h3:before {
	top: -30px;
}
.home.jp .presentation .profile h3:after {
	right: -24px;
	bottom: -30px;
}
.home.jp .presentation .profile .content-wrap .text {
	padding-top: 40px;
}
.home.jp .presentation .profile h4 {
	font-size: 2.0rem;
	font-weight: 700;
}
.home.jp .presentation li {
	line-height: 1.5em;
}
.home.jp .presentation .profile .row.row-2 .wp-block-group {
    border-top: 1px solid var(--beige);
    padding-top: 45px;
    margin-top: 30px;
}

#about {
	background-color: transparent;
	padding: 0;
}
#about .section-body h3 {
	color: var(--white);
	margin: 0;
}
#about .bg-image-clip {
	min-height: 230px;
}
#about .bg-image-fixed {
	background-image: url(/images/header_requin_4.jpg);
	background-size: cover;
	background-position: center top;
}
@supports (background-image: url(/images/webp/header_requin_4.webp)) {
  #about .bg-image-fixed {
    background-image: url(/images/webp/header_requin_4.webp);
  }
}
#about .section-body {
	width: 100%;
	height: 500px;
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
}

/* --------------------------------------------------------------
# Section Cabinet */
#cabinet {
	background-color: transparent;
	padding: 0;
}
#cabinet h3 {
	color: var(--white);
	margin: 0;
}
#cabinet .bg-image-clip {
	min-height: 230px;
}
#cabinet .bg-image-fixed {
	background-image: url(/images/img_nice.jpg);
	background-size: cover;
	background-position: center top;
}
#cabinet .section-body {
	width: 100%;
	height: 500px;
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
}
#cabinet .wp-block-themeisle-blocks-slider.wide {
	display: grid;
}
#cabinet .wp-block-themeisle-blocks-slider.small {
	display: none;
}
#cabinet .glide__bullets {
    position: absolute;
    left: initial;
	right: 20px;
    bottom: 5px;
    transform: translateX(0);
}
#cabinet .glide__bullet {
    width: 25px;
    height: 25px;
    border-radius: 0;
	border: none;
	box-shadow: none;
}
#cabinet .glide__bullet,
#cabinet .glide__bullet.glide__bullet--active {
	background-color: transparent;
}
#cabinet .glide__bullet:before {
    content: "";
    width: 100%;
    height: 5px;
    background-color: rgba(255,255,255,0.5);
    display: block;
}
#cabinet .glide__bullet.glide__bullet--active:before {
	background-color: rgba(255,255,255,1);
}
#cabinet .wp-block-themeisle-blocks-slider figure img[src*="_3"] {
	object-position: right;
}

/* --------------------------------------------------------------
# Section Domaines d'intervention */
.page-id-32 .bg-image-fixed {
	background-image: url(/images/header_justice.jpg);
	background-size: 100%;
	background-position: center 70px;
}
#domaines-intervention .tab {
	margin-top: 50px;
}
#domaines-intervention .tab .wp-block-themeisle-blocks-tabs__header {
	border-color: var(--black);
	justify-content: space-between;
}
#domaines-intervention .tab .wp-block-themeisle-blocks-tabs__header_item {
	width: 49%;
	background-color: var(--cream);
}
#domaines-intervention .tab .wp-block-themeisle-blocks-tabs .wp-block-themeisle-blocks-tabs__header_item > * {
	font-size: 26px;
	font-weight: 600;
	color: var(--white);
	text-align: center;
	margin: 0 auto;
}

#domaines-intervention .tab .wp-block-themeisle-blocks-tabs .wp-block-themeisle-blocks-tabs__header_item.active {
	background-color: var(--black);
}
#domaines-intervention .tab .wp-block-themeisle-blocks-tabs .wp-block-themeisle-blocks-tabs-item .wp-block-themeisle-blocks-tabs-item__content {
	border-color: var(--black);
}
#domaines-intervention .tab .wp-block-themeisle-blocks-tabs .wp-block-themeisle-blocks-tabs-item .wp-block-themeisle-blocks-tabs-item__content.active {
    background: var(--white);
	padding: 30px;
}
#domaines-intervention .tab .wp-block-themeisle-blocks-tabs .wp-block-themeisle-blocks-tabs-item .wp-block-themeisle-blocks-tabs-item__content:last-child.active {
	column-count: 1;
}

#domaines-intervention .tab h4 {
	text-transform: none;
}
#domaines-intervention .tab ul.wp-block-list {
	padding-top: 6px;
}


/* --------------------------------------------------------------
# Section Honoraires */
#honoraires {
	background-color: var(--cream);
}

/* --------------------------------------------------------------
# Section A Part Ca */
.page-id-44 .bg-image-fixed {
	background-image: url(/images/header_requin_1.jpg);
	background-size: 100%;
	background-position: center 70px;
	overflow: hidden;
}
.page-id-44 .bg-image-clip .elem {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 7;
	background-repeat: no-repeat;
	background-size: auto 100%;
	position: fixed;
}
.page-id-44 .bg-image-clip .elem.jm {
	background-image: url(/images/header_requin_3.png);
	background-position: right bottom;
	animation:fuwafuwa 4s infinite linear alternate;
	left: 15px;
	top: 110px;
}
@supports (background-image: url(/images/webp/header_requin_3.webp)) {
  .page-id-44 .bg-image-clip .elem.jm {
    background-image: url(/images/webp/header_requin_3.webp);
  }
}
.page-id-44 .bg-image-clip .elem.requin:nth-child(3) {
	background-image: url(/images/header_requin_2.png);
	background-position: left top;
	opacity: 0;
	animation: requin 8s forwards;
	animation-delay: 2s;
	left: 50%;
	top: 5%;
}
.page-id-44 .header-contents .elem.requin:nth-child(4) {
	background-image: url(/images/header_requin_2.png);
	background-position: left top;
	transform: rotate(-2deg);
	opacity: 0;
	animation: fuwafuwa_requin 10s infinite linear alternate;
	animation-delay: 10s;
	left: 50%;
	top: 5%;
}
@supports (background-image: url(/images/webp/header_requin_2.webp)) {
  .page-id-44 .header-contents .elem.requin:nth-child(3),
	.page-id-44 .header-contents .elem.requin:nth-child(4) {
    background-image: url(/images/webp/header_requin_2.webp);
  }
}

@keyframes fuwafuwa {
	0% {transform:translate(0, 0) rotate(-2deg);}
	50% {transform:translate(0, 5px) rotate(0deg);}
	100% {transform:translate(0, 0)rotate(2deg);} 
}
@keyframes fuwafuwa_requin {
	0% {opacity: 1; transform:translate(0, 0) rotate(-2deg);}
	50% {opacity: 1;transform:translate(-3px, 0) rotate(0deg);}
	100% {opacity: 1; transform:translate(0, 0)rotate(8deg);} 
}
@keyframes requin {
	0% {
		opacity: 1;
		transform: translate(-50%, -50%);
	}
	50% {
		transform: rotate(3deg);
	}
	99.9% {
		opacity: 1;
		transform: translate(0, 0) rotate(-2deg);
	}
	100% {
		opacity: 0;
	}
}
.page-id-44 .photo,
.home.jp .photo {
	height: 500px;
}

.page-id-44 section:nth-child(2) {
	min-height: calc(100vh - 43.75vw - 70px);
}
.page-id-44 .photo .bg-image-fixed,
.home.jp .photo .bg-image-fixed {
	background-image: url(/images/img_japon.jpg);
	background-size: cover;
	background-position: center top;
}
@supports (background-image: url(/images/webp/img_japon.webp)) {
	.page-id-44 .photo .bg-image-fixed,
	.home.jp .photo .bg-image-fixed{
		background-image: url(/images/webp/img_japon.webp);
	}
}


/* --------------------------------------------------------------
# Section Partenaires */
.partenaires {
	min-height: calc(100vh - 68px);
	background-color: var(--cream);
	padding-bottom: 0;
	display: flex;
    flex-direction: column;
}
.partenaires .map {
	padding-top: 30px;
	flex-grow: 2;
}

/* --------------------------------------------------------------
# Section Contact */
#contact {
	min-height: 732px;
	background: var(--white);
	position: relative;
	padding: 50px 0 0;
	z-index: 10;
}
#contact ul.contact-list {
	width: 100%;
	max-width: 1200px;
	line-height: 1.2em;
	display: flex;
	padding: 30px 15px 50px;
	margin: 0 auto;
	position: relative;
}
#contact ul.contact-list li {
	width: calc(100% / 3);
	text-align: center;
	list-style: none;
}
#contact ul.contact-list li a {
	font-weight: 500;
	color: var(--black);
}
#contact ul.contact-list li a:before {
	content: "";
	width: 100%;
	height: 42px;
	background: no-repeat center;
	background-size: contain;
	display: block;
	margin-bottom: 15px;
}
#contact ul.contact-list li:nth-child(1) a:before {
	background-image: url(/images/picto_contact_1.svg);
}
#contact ul.contact-list li:nth-child(2) a:before {
	background-image: url(/images/picto_contact_2.svg);
}
#contact ul.contact-list li:nth-child(3) a:before {
	background-image: url(/images/picto_contact_3.svg);
}
#contact .row:last-child p {
	margin: 0;
}
.gm-style {
	font-family: 'AmsiCond', sans-serif !important;
}
.egm-marker-iw {
	font-family: 'Amsi', sans-serif !important;
}
.gm-style-iw-chr {
	position: absolute;
	right: 10px;
    top: 6px;
}

.gm-style-iw-chr .gm-ui-hover-effect {
	width: 20px !important;
    height: 20px !important;
}
.gm-style-iw-chr .gm-ui-hover-effect span {
	margin: 0 !important;
}
.gm-style-iw-d {
	overflow: auto !important;
}
.gmpInfoWindowtitle {
	font-family: 'AmsiCond', sans-serif;
	font-weight: 700;
	padding: 0 !important;
	margin-bottom: 0 !important;
}
#contact .gmp_map_opts .gm-style-iw>div:first-child {
	overflow: hidden !important;
}
/* --------------------------------------------------------------
# Section Footer */
footer {
	height: fit-content;
	background: url(/images/img_footer.jpg) var(--black) no-repeat right top;
	background-size: cover;
	position: relative;
	padding: 20px 15px 15px;
}
footer .logo {
	width: 50px;
	height: 30px;
	background: var(--white);
	/* mask */
	mask-position: center center;
	mask-repeat: no-repeat;
	mask-size: contain;
	mask-image: url(/images/logo_header.svg);
}
footer h4 {
	color: var(--white);
	margin-top: 5px;
	margin-bottom: 0px;
}
footer h4 + p {
	font-size: 1.3rem;
	color: var(--white);
	line-height: 1em;
	margin-bottom: 15px;
}
footer .contact {
	margin-bottom: 40px;
} 
footer .contact > div,
footer .contact a {
	font-size: 14px;
	color: var(--white);
	line-height: 1.2em;
}
footer .contact .address {
	width: 300px;
	margin-bottom: 5px;
}
footer .contact .email {
	margin-bottom: 20px;
}
footer .contact .in {
	width: 30px;
	height: 30px;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
	background: url(/images/picto_in.svg) no-repeat left center;
	display: block;
}
footer .credit,
footer .credit a {
	font-family: 'AmsiCond', sans-serif;
	font-size: 12px;
	color: var(--white);
	line-height: 1.1em;
}

/* --------------------------------------------------------------
# Section ML */
.page-id-3 h1 {
	margin-bottom: 50px;
}
.page-id-3 h2 {
	font-family: 'AmsiCond', sans-serif;
	font-size: 24px;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	text-align: left;
	border-bottom: 1px solid var(--beige);
	margin: 20px 0 10px;
	padding-bottom: 5px;
}
/* --------------------------------------------------------------
# Cookie notice */
#cookie-notice {
	width: 100%;
	max-width: 480px;
    min-width: unset;
    height: auto;
	position: fixed;
    left: initial;
	right: 0;
	bottom: 0;
}
#cookie-notice .cookie-notice-container {
	font-size: 13px;
	text-align: left;
	line-height: 1.2em;
	padding: 15px;
}
#cookie-notice .cookie-notice-container h5 {
	font-size: 14px;
	font-weight: 500;
	margin: 0 0 3px;
}
#cookie-notice .cn-buttons-container {
	width: 100%;
	padding: 0;
	display: flex;
	column-gap: 6px;
	justify-content: space-between;
}
#cookie-notice .cn-button:not(.cn-button-custom) {
	width: calc(50% - 6px);
	margin: 0;
}
#cookie-notice .cn-close-icon {
    position: absolute;
    right: 15px;
    top: 10px;
    margin-top: 0;
}

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/
@media (min-width: 1200px) {
    .container {
        width: 970px;
    }
}
@media (max-width: 1200px) {
    .container {
        width: 970px;
    }
	#cabinet .wp-block-themeisle-blocks-slider.wide {
		display: none;
	}
	#cabinet .wp-block-themeisle-blocks-slider.small {
		max-height: 500px;
		display: grid;
	}
	#cabinet .wp-block-themeisle-blocks-slider .glide__track,
	#cabinet .wp-block-themeisle-blocks-slider .wp-block-themeisle-blocks-slider-item-wrapper figure img {
		max-height: 500px;
	}
}
@media (max-width : 960px) {
	.home .presentation .profile h3 {
		margin-bottom: 0;
	}
	.home .presentation .profile .content-wrap {
		padding-top: 60px;
		gap: 30px;
	}
	.home .presentation .profile .content-wrap .text {
		padding-top: 0;
	}
}
@media (max-width : 860px) {
	#main-navigation {
		height: 0;
	}
	.navbar > .container {
        transition: padding 0.1s ease;
        padding: 10px 15px;
        align-items: center;
        display: block;
    }
	.container .navbar-header {
		width: 100%;
		display: flex;
		margin: 0 !important;
	}
	.navbar.navbar-fixed-top .navbar-collapse {
        max-height: calc(100% - 68px);
        margin-top: 68px;
        overflow-y: auto;
        position: fixed;
        z-index: 9999;
        background: var(--black);
        width: 100%;
        left: 0;
        top: 0;
        margin-left: 0;
        margin-right: 0;
        -webkit-overflow-scrolling: auto;
    }
	.navbar-toggle {
        display: block;
    }
	.navbar button.navbar-toggle, 
	.navbar button.navbar-toggle:hover,
	.navbar button.navbar-toggle:focus {
		background-color: transparent;
	}
	
	.navbar .nav.navbar-nav {
		width: 100%;
        display: block;
		margin: 10px 0;
    }
	.navbar .navbar-nav li {
        box-sizing: border-box;
        float: left;
        margin: 0;
        padding: 0;
        width: 100%;
        text-align: left;
    }
	.navbar .navbar-nav li a {
		color: var(--white);
	}
	body:not(.home) .navbar-default .navbar-nav > .active:not(.btn) > a {
		color: var(--cream) !important;
	}
	.navbar-collapse.collapse {
        display: none !important;
        height: 0 !important;
        padding-bottom: 0;
        overflow: hidden !important
    }

    .navbar-collapse.in {
		display: block !important;
        height: auto !important;
        overflow-y: visible !important
    }
	
	#domaines-intervention .tab .wp-block-themeisle-blocks-tabs .wp-block-themeisle-blocks-tabs__header {
        display: flex;
    }
	#domaines-intervention .tab .wp-block-themeisle-blocks-tabs .wp-block-themeisle-blocks-tabs__header_item > * {
		font-size: 3vw;
	}
	#domaines-intervention .tab .wp-block-themeisle-blocks-tabs__content {
		margin-top: 3px;
	}
	#domaines-intervention .tab .wp-block-themeisle-blocks-tabs .wp-block-themeisle-blocks-tabs-item:not(:last-child)>.wp-block-themeisle-blocks-tabs-item__content {
        border-bottom-width: 3px;
    }
	#domaines-intervention .tab .wp-block-themeisle-blocks-tabs-item__header {
		display: none;
	}
	
}
@media (max-width : 640px) {
	h1 {
		letter-spacing: 0.05em;
	}
	.header-contents {
		aspect-ratio: 1 / 1;
	}
	.page-id-32 .bg-image-fixed {
		background-size: auto 100vw;
	}
	.page-id-44 .bg-image-fixed,
	#about .bg-image-fixed {
		background-image: url(/images/header_requin_mb.jpg);
		background-size: contain;
	}
	@supports (background-image: url(/images/webp/header_requin_mb.webp)) {
	  .page-id-44 .bg-image-fixed,
	#about .bg-image-fixed {
		background-image: url(/images/webp/header_requin_mb.webp);
	  }
	}
	#about .bg-image-fixed {
		background-size: cover;
	}
	.page-id-44 .header-contents .elem {
		display: none;
	}
	body:not(.home) .header-contents .header-text {
		left: 15px;
	}
	.home .header-contents .header-text h1 {
		font-size:clamp(60px, 18vw, 110px);
		letter-spacing: 0.1em;
	}
	.home .header-contents .header-text h2 {
		font-size:clamp(14px, 4vw, 26px);
	}
	
	.home:not(.jp) .presentation h3 {
		font-size:clamp(50px, 14vw, 70px);
	}
	.home:not(.jp) .presentation .profile h3 {
		width: fit-content;
		text-align: right;
		padding-right: 13vw;
        padding-left: 3vw;
		margin: 0 auto;
	}
	.home.jp .presentation .profile h3 {
		width: fit-content;
		font-size:clamp(40px, 12vw, 58px);
		margin-bottom: 0;
	}
	.home .presentation .profile h3:before,
	.home .presentation .profile h3:after {
		height: 8vw;
	}
	.home .presentation .profile h3:before {
		left: 0;
		top: 0;
	}
	.home .presentation .profile h3:after {
		background-position: right top;
		bottom: 0;
	}
	.home:not(.jp) .presentation .profile h3 span:nth-child(1) {
        margin-left: 0;
		position: relative;
		left: -60%;
	}
	.home .presentation .profile h3 span:nth-child(2) {
		margin-left: 0;
	}
	.home .presentation .profile h3 span:nth-child(3) {
		margin-left: 0;
	}
	.home .presentation .profile .content-wrap {
		flex-wrap: wrap;
		justify-content: center;
	}
	.home .presentation .profile .content-wrap .text {
		width: 100%;
	}
	.home.jp .presentation .profile .content-wrap .text {
		padding-top: 0;
	}
	
	#contact ul.contact-list {
		flex-wrap: wrap;
		justify-content: center;
	}
	#contact ul.contact-list li {
		width: 100%;
	}
	#contact ul.contact-list li:nth-child(1) {
		max-width: 280px;
	}
	#contact ul.contact-list li:nth-child(2) {
		padding: 30px 0 20px;
	}
	
	#domaines-intervention .tab .wp-block-themeisle-blocks-tabs .wp-block-themeisle-blocks-tabs__header {
        display: none;
    }
	#domaines-intervention .tab .wp-block-themeisle-blocks-tabs__content {
		margin-top: 0;
	}
	#domaines-intervention .tab .wp-block-themeisle-blocks-tabs .wp-block-themeisle-blocks-tabs-item:not(:last-child)>.wp-block-themeisle-blocks-tabs-item__content {
        border-bottom-width: 3px;
    }
	#domaines-intervention .tab .wp-block-themeisle-blocks-tabs-item__header {
		font-size:clamp(18px, 6vw, 26px);
		font-weight: 600;
		text-align: center;
		color: var(--white);
		display: block;
		pointer-events: none;
	}
	#domaines-intervention .tab .wp-block-themeisle-blocks-tabs .wp-block-themeisle-blocks-tabs-item .wp-block-themeisle-blocks-tabs-item__content,
	#domaines-intervention .tab .wp-block-themeisle-blocks-tabs-item__header.hidden {
		display: block !important;
		border-top-width: 0;
	}
	#domaines-intervention .tab .wp-block-themeisle-blocks-tabs .wp-block-themeisle-blocks-tabs-item .wp-block-themeisle-blocks-tabs-item__content.active {
		padding: 15px;
	}
	#domaines-intervention .tab .wp-block-themeisle-blocks-tabs-item:last-child .wp-block-themeisle-blocks-tabs-item__header {
		background-color: var(--beige);
		border-color: var(--beige);
		margin-top: 20px;
	}
}
