/*
Theme Name: Astra Child
Template: astra
*/

/*@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css');*/

/* Goblal */
:root {
	--default: #142a4c;
	--bleu : #105B79;
	--rouge : #EA1D2A;
	--bleu-ciel : #10A4DE;
	--bleu-clair : #CDE1E7;
	--bleu-fonce2: #0B4A64;
	--gris : #414342;
	--blanc-casse : #F3F8FA;
	--header-height:97px;
}

#menu_logo{
	display:none;
}

#menu_title{
	display:none;
}

.ast-logo-title-inline .ast-site-identity {
	padding: 0;
}
.ast-logo-title-inline .site-logo-img {
	padding-right: 0;
}

.site-logo-img img {
	width: 73px;
	margin-top: 1rem;
  margin-left: 0;
}

.postid-249 .site-logo-img {
	display: inline-block !important;
	width: 100px !important;
	height: 107px !important;
}

/* Cache l'image originale ET applique la nouvelle */
.postid-249 .site-logo-img img.custom-logo {
	width: 73px !important;
	height: 78px !important;
	box-sizing: border-box !important;
	background-image: url("assets/img/logoitii.png") !important;
	background-size: contain !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
	padding-top: 81px !important;
	/* pousse l'ancienne image hors cadre */
}

.ast-mobile-header-content{
	height:calc(100vh - 96px);
	background-color:var(--blanc-casse) !important;
}

.ast-mobile-header-content .jpo-item {
	padding: 5%;
	border: 0;
}

.menu-toggle{
	z-index:9999;
}



@media (min-width: 770px) {

	.site-logo-img img {
		margin-top: 2rem;
		margin-left: 2.2rem;
	}

	.ast-mobile-header-content{
		height:100vh;
		background-color:var(--blanc-casse) !important;
		margin-top:-111px;
		z-index:-1;
	}

	.ast-mobile-header-content .jpo-item {
		padding: 4.5%;
		border: 0;
	}

	#menu_wrapper{
		height:100%;
		display: flex;
    flex-direction: column;
		justify-content: flex-start;
	}
	#menu_wrapper>nav {
		margin-top: 40px;
	}

	body.logged-in 	#menu_wrapper {
		height: calc(100% - 32px);
	}

	#menu_logo{
		display:block;
		background-image:url('assets/img/logo.svg');
		background-size: cover;
		background-repeat: no-repeat;
		width:100px;
		height:100px;
		margin:20px;
		margin-top:60px;
	}

	.postid-249	#menu_logo {
		background-image: url('assets/img/logoitii.png');
	}

	#menu_title{
		display:block;
		margin: 40px 20px 0;
		font-size:35px;
		font-weight:bold;
		color:var(--bleu);
	}
}

#ast-desktop-header{
	display:none;
}

.ast-builder-menu-mobile .main-header-menu {
	background-color: #fff !important;
}

.ast-builder-grid-row {
	grid-column-gap: 12px;
}

.site-header-above-section-right{
	margin-right: 20px;
	margin-top: 30px;
}

body {
	color: var(--default);
}

@media (max-width: 921px) {
	#masthead .ast-mobile-header-wrap .ast-above-header-bar {
		margin-bottom: 16px;
		padding-right: 0;
	}
}

@media (max-width: 921px) {
	header .custom-logo-link img,
	.ast-header-break-point .site-branding img,
	.ast-header-break-point .custom-logo-link img {
		max-width: 60px !important;
		width: 60px !important;
	}

	.postid-249 header .custom-logo-link img,
	.postid-249 .ast-header-break-point .site-branding img,
	.postid-249 .ast-header-break-point .custom-logo-link img,
	.postid-249 .site-logo-img img.custom-logo {
		padding-top: 64px !important;
		height: 64px !important;
	}

	.postid-249 .site-logo-img {
		width: auto !important;
		height: auto !important;
	}
}

.ast-container{
	margin:0px;
	padding:0px;
}

.site-header{
	height:var(--header-height);
}

#connect_menu{
	color:var(--bleu);
}

/* Page accueil */
.landing-hero{
	background-color: var(--bleu-clair);
	height:100vh !important;
}

#front_page_image-container{
	width:100%;
	height:25vh;
}

#front_page_image{
	width:100%;
	height: 100%;
	object-fit: cover;
	object-position: center 36%;
}

#front_page_block{
	background-color: var(--bleu-clair);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

#front_page_title{
	 font-size:31px;
	 font-weight:bold;
	 width:75%;
	 color:var(--gris);
	 padding-left:20px;
	 padding-top:20px;
}

#front_page_text{
	font-family:Inter;
	 font-size:16px;
	 font-weight:normal;
	 color:var(--gris);
	 padding-left:20px;
	 padding-top:20px;
	 width:79%;
}

#front_page_button{
	background-color:var(--rouge);
	color:#fff;
	padding:10px;
	border-radius:20px 20px 20px 20px;
  font-family:Inter;
	font-size:13px;
	font-weight:bold;
	margin-bottom:30px;
	margin-left:30px;
	display: inline-block;
}

.jpo-item {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 0px;
	padding: 1.5rem;
	border-bottom: 1px solid #B5CED5;
}

.jpo-item:hover{
	 background:#fff;
}

.jpo-item:hover h3,
.jpo-item:hover .date,
.jpo-item:hover i{
	color:var(--rouge);
}



.jpo-item .date{
	display:inline;
	margin-right:30px;
	color:var(--gris);
}

.fa-solid.fa-map-pin{
	color:var(--gris);
	opacity: 0.8;
  text-shadow: none;
	margin-right:10px;

}

.jpo-item h3{
	display:inline;
}

#front_page_gps_wheel {
	position: absolute;
	left: 70%;
	top: 16%;
}

@media (min-width: 770px) {
  /* CSS rules here */

	.landing-hero{
		width:100% !important;
	}

	#front_page_container{
		display:flex;
		height:100vh;
	}

	#front_page_image-container{
		width:50%;
		height:100%;
	}

	#front_page_block {
		width: 50%;
		height: 100%;
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
		gap: 50px;
	}

	body.logged-in #front_page_block {
		height: calc(100% - 32px);
	}

	#front_page_gps_wheel{
		left: 50%;
		margin-left:-58px;
		top:25%;
	}

	#front_page_title{
		margin-left:50px;
		margin-top:10%;
		font-size: 40px;
	}

	#front_page_text{
		margin-left:50px;
	}

	.jpo-item{
		padding-left:80px;
		padding-top: 8%;
		padding-bottom: 8%;
	}

	.jpo-item-prez {
		padding: 2rem 1.5rem;
		height: 120px;
	}

	.jpo-liste{
		background:var(--blanc-casse);
		color:var(--bleu);
	}

	.jpo-item-column-2>.date {
		margin-right: 7vw;
	}

	.jpo-item-column-1 > h3,
	.jpo-item-column-1 > .fa-solid.fa-map-pin,
	.jpo-item-column-2 > .date	{
		color:var(--bleu);
	}

	.jpo-item-column-1 > h3{
	  font-size:24px;
	  font-weight:bold;
	}
	.ast-container {
		max-width: unset;
	}
	#front_page_button {
		background-color: var(--bleu-ciel);
		border-radius: 0;
		padding: 0.4rem 1.2rem;
		margin-bottom: 0;
	}

	body[data-menu-open="true"] {
		position: relative;
	}

	body[data-menu-open="true"]::before {
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background-color: rgba(11, 74, 100, 0.8);
		z-index: 10;
		pointer-events: none;
		border-radius: inherit;
		transition: opacity 0.3s ease;
		opacity: 1;
	}

	body:not([data-menu-open="true"])::before {
		opacity: 0;
	}

	.site-logo-img[data-menu-open="true"] {
		position: relative;
	}

	.site-logo-img[data-menu-open="true"]::before {
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background-color: rgba(11, 74, 100, 0.8);
		z-index: 10;
		pointer-events: none;
		border-radius: inherit;
		transition: opacity 0.3s ease;
		opacity: 1;
	}

	.site-logo-img:not([data-menu-open="true"])::before {
		opacity: 0;
	}
}
@media (min-width: 1900px) {
	#front_page_gps_wheel {
		top: 16%;
	}
}
/* FIN Page accueil */

/* Page Presentation */
button {
	border-radius: 0;
	background-color: var(--rouge);
	color: #fff;
	font-size: 17px;
	line-height: 1.3rem;
	width:100%;
	text-align:center;
	display:flex;
	justify-content:space-between;
	align-items:center;
	align-content:center;
	padding:24px 20px;
	transition: all 0.3s ease;
}

button:hover{
	background: var(--bleu-clair);
	color:#105B79;
}

#presentation_page_content > section{
	padding-left: 1.7rem;
	padding-right: 1.7rem;
	padding-top:0;
	height:100%;
	background-image:url('assets/img/presentation.png');
	background-repeat: no-repeat;
  background-position: bottom center;
	background-size: contain;
	display:flex;
	flex-direction:column;
	justify-content:flex-start;
}

#presentation_page_content > section > h1 {
	max-width: 265px;
	margin-bottom:30px;
	margin-top: 3rem;
}
@media (min-width: 1600px) {
	#presentation_page_content>section>h1 {
		margin-top: 6rem;
	}
}

#presentation_page_content a.return {
	color: var(--blanc-casse);
	font-size: 17px;
	font-weight: 600;
	margin-top: 1rem;
	display: block;
}

#presentation_page_content > section .texte-intro {
	 font-size:16px;
	 font-weight:normal;
	 width:75%;
	 margin-bottom:30px;
}

#presentation_page_content > section .date {
	 font-size:14px;
	 font-weight:bold;
	 background-color:var(--bleu-ciel);
	 width:fit-content;
	 padding: 8px 12px;
	 margin-bottom:100px;
}

#presentation_page_content > section > nav{
	position:absolute;
	bottom:1rem;
}

#presentation_page_content section nav a {
	display: block;
	width: calc(100vw - 3.4rem);
}

.bg-jpo {
	background-color: var(--bleu-fonce2);
	position: relative;
	color: #fff;
	width: 100vw;
	height: calc(100vh - var(--header-height));
}

.bg-jpo h1 {
	color: var(--blanc-casse);
	font-size: 31px;
}

button {
	border-radius: 0;
	background-color: var(--rouge);
	color: #fff;
	font-size: 17px;
	line-height: 1.3rem;
	font-weight: 600;
}

button:hover {
	background-color: #fff;
	color: var(--bleu);
}

.ast-builder-menu-mobile{
	display:none;
}

.jpo-item-column-1 i,
.jpo-item-column-1 h3{
	color:var(--bleu);
}

#menu_connect a{
	color:var(--bleu);
	font-weight: 600;
}

#menu_connect_link{
	display:inline;
}

#menu_disconnect_link{
	display:none;
}

#menu_connect a:hover,
#menu_disconnect_link a:hover {
	opacity: 0.7;
}

@media (min-width: 770px) {
	.bg-jpo {
		background-image: url('assets/img/grille.svg');
		background-size: cover;
		/* 100% largeur + zoom/crop */
		background-repeat: no-repeat;
		background-position: top center;
		height: 100vh ;
		/* Priorité haut/centre, coupe BAS */
		width: 100%;
		left: 0;
		transform: none;
		margin-left: 0;
	}

	#presentation_page_content{
		display:flex;
	}

	#presentation_page_content_image_desktop{
		width:60%;
		background-image:url('assets/img/presentation.png');
		background-repeat: no-repeat;
		background-position: bottom center;
		background-size: 70%;
	}

	#presentation_page_content > section{
		background-image:none;
		width:40%;
		margin-left: 4.6rem;
		padding-top: 10%;
	}

	#presentation_page_content a.return {
		margin-left: -5rem;
	}

	#presentation_page_content > section > nav {
		position:unset;
	}

	#presentation_page_content>section>nav a {
		width: 310px;
	}

	.site-header{
		position:absolute;
		width:100%;
	}

	#menu_connect a{
		color:var(--blanc-casse);
	}

	#ast-mobile-header{
		display:unset;
	}

	#menu_connect_link{
		color:#fff;
	}

	.ast-mobile-header-content{
		width: 50%;
    left: 50%;
	}
	.ast-mobile-header-wrap .ast-button-wrap button.menu-toggle.main-header-menu-toggle {
		background: var(--bleu-ciel);
	}
}
/* FIN Page presentation */


/* LOGIN POPIN */
#login-background{
	position:fixed;
	background: rgba(11, 74, 100, 0.8);
	width:100vw;
	height:100vh;
	z-index:9999;
	display:flex;
	align-items:center;
	justify-content:center;
	display:none;
	margin-top:calc(0px - var(--header-height));
}

#login-background > div{
	position:relative;
	width:100%;
	height:100%;
	background:#E1EBEF;
	display:flex;
	flex-direction:column;
	justify-content:flex-start;
	align-items:center;
	padding:50px 30px;
}

#connect_logo{
	display:block;
	background-image:url('assets/img/logo.svg');
	background-size: contain;
	background-repeat: no-repeat;
	width:100px;
	height:100px;
	margin-bottom:20px;
}

.postid-249 #connect_logo {
	background-image: url('assets/img/logoitii.png');
}

.connect_title{
	margin-bottom:20px;
	font-family:Inter;
	font-size:31px;
	font-weight:bold;
	color:var(--bleu);
}

#email {
	width: 100%;
	padding: 20px;
	margin: 10px 0;
	border: 0px;
	height: unset;
}

#connect_submit_button{
	border-radius: 0;
	background-color: var(--rouge);
	color: #fff;
	font-size: 17px;
	line-height: 1.3rem;
	width:100%;
	text-align:center;
	display:flex;
	justify-content:space-between;
	align-items:center;
	align-content:center;
	padding:24px 20px;
	margin-bottom:50px;
}

#connect_form{
	margin-bottom:30px;
}

.connect_link{
	font-family:Inter;
	font-size:14px;
	font-weight:bold;
	color:var(--bleu);
}

#connect_back{
	width:100%;
	margin-bottom:30px;
	cursor: pointer;
	color: var(--default);
}

#disconnect-background{
	position:fixed;
	margin-top:calc(0px - var(--header-height));
	background:#105B79cc;
	width:100vw;
	height:100vh;
	z-index:9999;
	display:none;
	align-items:center;
	justify-content:center;
}

#disconnect-background > div{
	background:#E1EBEF;
	width:fit-content;
	height:fit-content;
	padding:20px;
	display:flex;
	flex-direction:column;
	align-items:center;
	justify-content:center;
}

#disconnect_label{
	font-family:Inter;
	font-size:14px;
	font-weight:600;
	color:var(--gris);
}

#disconnect_buttons{
	display:flex;
	gap:20px;
	margin-top: 20px;
}

#cancel_disconnect_button{
	background:#FFFFFF;
	color:var(--bleu);
	font-weight:bold;
	width: fit-content;
}

#submit_disconnect_button{
	width: fit-content;
}

@media (min-width: 770px) {
	#login-background{
		margin-top:unset;
	}

	#login-background > div{
		width: fit-content;
	height: fit-content;
	}

	#disconnect-background{
		margin-top:unset;
	}
}
/* Fin Login Popin */

