/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/
@font-face {
    font-family: 'djamena_regularregular';
    src: url('src/fonts/djamena-regular-webfont.woff2') format('woff2'),
         url('src/fonts/djamena-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
	font-family: 'Optima nova LT Pro Regular';
	font-style: normal;
	font-weight: normal;
	src: local('Optima nova LT Pro Regular'), url('src/fonts/optima-nova-lt-pro/OptimaNovaLTProRegular.woff') format('woff');
}
.generate-back-to-top {
    border-radius: 0;
}
.gp-icon.icon-menu-bars svg {
	fill: inherit;
}
.btn.arrow-right,
.main-navigation .main-nav ul li a{position:relative}
.btn.arrow-right:after,
.main-navigation .main-nav ul li a:after{
    transition: all 0.2s ease-out;
    content: "";
    width: 0;
    height: 2px;
    background: #fff;
    display: block;
    position: absolute;
    bottom: 10px;
    left: 24px;
}
.main-navigation.sub-menu-left ul ul {
    box-shadow: 20px 1px 20px rgb(0 0 0 / 10%);
	left:24px !important;
}
.slideout-navigation.do-overlay .menu-item-has-children .dropdown-menu-toggle {
	border-left:0 !important;
}
.slideout-navigation{
	transform:translate(100%,0);
	transition:opacity .4s,visibility .4s,transform .4s !important;
}
.slideout-navigation.do-overlay{
	transform:translate(100%,0) !important;
}
.slideout-navigation.do-overlay.is-open{
	transform:translate(0,0) !important;
}
.main-navigation .main-nav ul li.current-menu-item > a:after,
.main-navigation .main-nav ul li a:hover:after {
    width: calc(100% - 48px);
}
.main-navigation .main-nav ul li .sub-menu a:after{
	background-color:#0C57CB;
	top:0;left:0;
	height:100% !important;
	width:0px;
}

.main-navigation .main-nav ul li .sub-menu li a:hover:after{
	width:8px !important;
}
.main-navigation .sub-menu{
	box-shadow: 0 20px 20px rgba(0,0,0,.1);
}
.slideout-navigation.main-navigation .sub-menu{
	background:#fff;
	padding:16px 0;
}
.slideout-navigation.main-navigation .sub-menu li{
	margin-bottom:0 !important;
}
.slideout-navigation.main-navigation .main-nav ul ul.sub-menu li a {
	color:#001941;
	padding:15px 0;
	font-size:17px !important;
}
.slideout-navigation.main-navigation .main-nav ul li .sub-menu a:after{
	background-color:#001941;
	top:auto;left:0;bottom:6px;
    height: 2px !important;
	width:0px;
}
.slideout-navigation.main-navigation .main-nav ul ul li[class*="current-menu-"] > a,
.slideout-navigation.main-navigation .main-nav ul li .sub-menu li a:hover {
	color:#001941 !important;
}
.slideout-navigation.main-navigation .main-nav ul ul li[class*="current-menu-"] > a {
	background-color:transparent !important;
}
.slideout-navigation.main-navigation .main-nav ul li .sub-menu li a:hover:after{
    width: calc(100%) !important;
}
.header-wrap.fixed {
    z-index: 100;
    display: block;
    position: fixed;
    top: 0px;	
	background:#0c57cb;
	box-shadow:0 20px 30px rgba(0,0,0,.1);
}
.header-wrap.fixed .inside-navigation {

}
.gb-headline.homepagesubtitle {
	font-family: Segoe UI !important;	
	font-weight: 300;
}
#primary-menu .menu-item-34 a,
#primary-menu .menu-item-4726 a{
	color:#000;
}
#primary-menu .menu-item-34 a:after,
#primary-menu .menu-item-4726 a:after{
    background: #000 !important;
}
.custom-page-hero .container h1,
.inside-page-hero.grid-container.grid-parent h1,
h1.gb-headline.homepagetitle {
	font-family: 'djamena_regularregular' !important;
	color:#fff;
	margin: 0;
}  
.rainbow_before,
.page-hero,
.rainbow_after{
	overflow:visible !important;
	position:relative;
}
.page-hero::after,
.rainbow_before::after,
.rainbow_after::after{
    content: "";
    position: absolute;
	bottom:-13px;	
	height:13px;
	width:100%;
	background:url('src/rainbow_pattern2.svg') repeat-x 0 0;
}
.rainbow_before::after{
	bottom:auto;
	top:-11px;
	z-index:0 !important;	
}
.homepage_container > .gb-inside-container {
	background: #0c57cb url('src/image_accueil.jpg') no-repeat 0 0; 
	background-size:contain;
	background-position:top right;
	position:relative;
}
.page-hero,
.homepage_container,
#generate-slideout-menu .inside-navigation,
.custom-page-hero .container,
.header-wrap.fixed .inside-header,
.page-hero .inside-page-hero.grid-container{
	position:relative;
}
.page-hero,
.custom-page-hero {
    background-color: #0c57cb;
}
.custom-page-hero span,
.custom-page-hero a,
.page-hero a{
	color:#fff;
}
.custom-page-hero .container,
.page-hero{
	background-size:contain;
}
.page-template-template_top_img .page-hero,
.home .page-hero{
	display:none !important;
}
.header-wrap .inside-header {
	transition: all .2s ease-in;
}

#generate-slideout-menu::before,
.page-hero::before,
.custom-page-hero::before,
.page-hero .inside-page-hero.grid-container::before,
.header-wrap.fixed::before,
.header-wrap.fixed .inside-header::before,
.custom-page-hero .container::before,
.custom-page-hero .container::after,
.homepage_container::before,
.homepage_container > .gb-inside-container::before {
	background: url('src/yellow_curve.svg') no-repeat 0 0; 
	background-position:top left;	
    content: "";
    z-index: 0;
    position: absolute;
    top: 0;
    right: -1px;
    bottom: 0;
    left: auto;
	width:29%;
}
.header-wrap.fixed::before {
	background:#ffd800;
	width:calc(50% - 600px);
}
.header-wrap.fixed .inside-header {
    padding: 20px 20px;
}
.header-wrap.fixed .inside-header::before{
	width:310px;
}
.custom-page-hero .container::before{
    z-index: 1;		
    background-size: cover;		
}
.custom-page-hero .container::after{
	width:100%;
    z-index: 0;	
}
.inside-article .post-image {
    max-width: 30%;
    margin-right: 30px;
    float: left;
}
#generate-slideout-menu::before{
    max-width: 200px;
}
.slideout-navigation.do-overlay .slideout-exit{
	position:fixed !important;
	z-index: 100000;
	color: #000;
}
.page-hero .inside-page-hero.grid-container{
	background:#0c57cb; 	
}
.custom-page-hero .container::before,
.page-hero .inside-page-hero.grid-container::before{
	background-position:top left;		
	width:26%;	
}
.custom-page-hero::before,
.page-hero::before{
	background:#ffd800;
}
.homepage_container > .gb-inside-container::before {
	width:26%;
}
.blue_curve {
	background: url('src/blue_curve.svg') no-repeat 0 0; 
	background-position:top right;
}	
.custom-page-hero .container::after {
	background: linear-gradient(170deg, rgba(0,0,50,0.7) 0%, rgba(12,87,203,0.1) 80%);
}		
.custom-page-hero .container .blue_curve,
.page-hero .inside-page-hero.grid-container {
    padding: 120px 20px 60px;
}
.custom-page-hero .container .blue_curve {
	width:70%;
	position:relative;
	background-size:cover;
	z-index:3;
}
.custom-page-hero {
	position:relative;
	overflow:hidden;
}
.custom-page-hero .container{
	background:#0c57cb;
	background-position: 86% 20%;
	background-repeat:no-repeat;
	max-width: 1200px;
    margin-left: auto;
    margin-right: auto;	
	
    background-position: 79% 20%;
    background-size: auto 100%;	
}
.single .page-hero .inside-page-hero.grid-container {
    padding: 120px 220px 60px 20px;
}
.div-shadow.red,
.object-shadow.red img{
    box-shadow: -5px 5px 0 #FF734E;
}
.div-shadow.blue,
.object-shadow.blue img{
    box-shadow: -5px 5px 0 #67A2FF;
}
.div-shadow.yellow,
.object-shadow.yellow img{
    box-shadow: -5px 5px 0 #ffd800;
}
.object-shadow.right-shadow.red img{
    box-shadow: 5px 5px 0 #FF734E;
}
.object-shadow.right-shadow.blue img{
    box-shadow: 5px 5px 0 #67A2FF;
}
.object-shadow.right-shadow.yellow img{
    box-shadow: 5px 5px 0 #ffd800;
}
.object-shadow figcaption {
    margin-top: 18px;
}
.comment-content,
.mec-single-event .mec-frontbox,
.colored_box{
	border-image:url('src/colored_box.svg');
	border-image-slice: 32% 27% 37% 27% fill;
	border-image-width:131px 277px;
	box-shadow:none;
}
.menu-item-2345{
	background:#ffd800;
	margin-top:20px;
}
.menu-item-2345 a{
	color:#000 !important;
	background:url('src/heart.svg') no-repeat 0 center;
	padding-left:40px !important;
}
.menu-item-2345:hover{
	background:#fff !important;
}
.menu-item-2345:hover a,
.menu-item-2345 a:hover{
	background:#fff url('src/heart.svg') no-repeat 0 center !important;
}
.has-white-color a{
	color:#fff;
	text-decoration:underline;
}
.page-template-template_top_img #content {
	padding-bottom:0;
}
.svg_priere{
	background:#ff734e url('src/svg_priere.svg') no-repeat bottom -10px right -10px;
	background-size: 59px;
}
.comment-content {
    padding: 50px 80px;
    background-color: transparent;
}
.one-container .comments-area {
	margin-top:50px;
}
.comments-area h3{
	margin-bottom:0;
}
.home .footer::before,
.home .footer::after{ 
	display:none !important;
}
/* ============ TABLES ============ */
.round-table table{
	border-width:0;
}
.round-table td, .round-table th{
    margin: 0 0 5px 5px;	
	border-width:0 0 1px 0;
}
.round-table th{
	background:#0C57CB;
	color:#fff;
}
.alternate-row table tr:nth-child(2n){
	background:#FFFCF0;
}
.alternate-row table tr:nth-child(2n+1){
	background:#F7F5EB;
}
.round-table.alternate-row td, .round-table.alternate-row th{	
	border-width:0;
}
.round-table.wp-block-table thead {
    border-bottom: 0;
}
/* ========================== EVENTS =============================== */
h1, h2, h3, h4, h5, h6 {
    font-family: "Optima nova LT Pro Regular", serif !important;
}
h5 {
	line-height:1.4em;
}
.mec-single-title{
	display:none;
}
.entry-content .mec-wrap h1, .entry-content .mec-wrap h2, .entry-content .mec-wrap h3, .entry-content .mec-wrap h4, .entry-content .mec-wrap h5, .entry-content .mec-wrap h6, .mec-wrap h1, .mec-wrap h2, .mec-wrap h3, .mec-wrap h4, .mec-wrap h5, .mec-wrap h6 {
    font-family: "Optima nova LT Pro Regular", serif !important;
    color: inherit;
}
.mec-event-grid-classic .mec-event-title {
	font-weight:500;
}
.mec-event-content p,
.mec-wrap,
.lity-container, .mec-wrap{
    font-family: Segoe UI, Helvetica Neue, Helvetica, sans-serif;
    font-size: 14px;
	font-weight:400;
}

.mec-event-image a {
	line-height:0;
    display: block;	
}
.mec-event-grid-classic .mec-event-article {
    border: 1px solid #e3e3e3;
    box-shadow: 0 2px 0 0 rgba(0,0,0,.016);
    margin-bottom: 30px;
}
.mec-event-footer .mec-booking-button {
	border:0;
	background:#0C57CB;
	color:#fff;
}
.mec-load-more-button {
    border: 1px solid #e8e8e8;
    border-radius: 0;
}
.mec-event-carousel-type1 .mec-event-carousel-content {
    background: #fff;
}
.mec-event-cost, .mec-event-more-info, .mec-event-website, .mec-events-meta-date, .mec-single-event-additional-organizers, .mec-single-event-category, .mec-single-event-date, .mec-single-event-label, .mec-single-event-location, .mec-single-event-organizer, .mec-single-event-time {
    background: transparent;
	padding:19px 14px 8px 30px;
}
.mec-load-more-button,
.mec-events-button {
	background:#0C57CB !important;
	color:#fff !important;
	border:0;
}
.mec-load-more-button:hover,
.mec-events-button:hover {
	background:#000;
}
.helloasso_link span{
	text-align:left;
}
.helloasso_link .gb-button-2nd-line{
	font-size:0.9em;
	opacity:0.8;
}
.mec-owl-theme .owl-dots .owl-dot.active span, .mec-owl-theme .owl-dots .owl-dot:hover span {
	background:#0c57cb !important;
}
.mec-wrap .button:hover, .mec-wrap a.button:hover, .mec-wrap button:hover:not(.mejs), .mec-wrap input[type=button]:hover, .mec-wrap input[type=reset]:hover, .mec-wrap input[type=submit]:hover {
    background: transparent;
    color: #fff;
}
.mec-single-event .mec-booking-button{
    height: auto;
    padding: 12px 28px;
    line-height: inherit;
    margin: 0 15px 20px;
    box-shadow: none;
}
/*================= BOUTONS ================== */
.btn-yellow-shadow{ 
	box-shadow: 0px 3px 20px rgb(205 205 255 / 20%);	
	transition:all 0.1s ease-in;
}
.btn-yellow-shadow:hover{ 
	box-shadow: 0px 3px 50px rgb(205 205 255 / 50%);	
}
.btn.arrow-right {
	position:relative;
}
.btn.arrow-right:after{
	background:#000;
	bottom:0;
	left:0;
}
.btn.arrow-right.white:after{
	background:#fff;	
}
.btn.arrow-right:hover:after{
	width:100%;
}
.btn.arrow-right .gb-icon{
	transition: all 0.2s ease-out;
	transform: translateX(0);	
}
.btn.arrow-right:hover .gb-icon{
	transform: translateX(10px);
}
.widget-title{
	font-size:25px;
}
.emailadress_button {
	text-align:left !important;
	font-size: 15px !important;
}
.campain-label{
	margin: 0 5px;
}
@media(min-width:789px){
	.homepage_container{
		background:#0c57cb  !important;
	}
	.homepage_container::before {
		background:#ffd800 !important;
		width:50%;
		right:0 !important;
		left:auto !important;
		opacity: 1 !important;	
	}	
}

@media(max-width:1200px){
	.page-hero .inside-page-hero.grid-container::before{
		width:28%;
	}
	.homepage_container > .gb-inside-container::before {
		width:29%;
	}	
	#sticky-navigation .inside-navigation::before{
		width:26%;
	}		
}
@media(max-width:1024px){ /*Mobile navigation*/
	.mobile-header-navigation .site-logo,
	.site-logo.mobile-header-logo {
		margin-top: 10px;
		margin-left: 20px !important;
		transition:all .2 ease-in;
	}
	.header-wrap.fixed::before {
		background: transparent url('src/yellow_curve.svg') no-repeat 0 0; 		
		width:150px;
	}
	.header-wrap.fixed .site-logo.mobile-header-logo{
		margin-top:0;
	}
	.header-wrap.fixed .site-logo.mobile-header-logo img {
		height: 65px;
	}
}
@media(max-width:1024px) and (min-width:790px){ /*Mobile navigation*/
	.inside-page-hero.grid-container.grid-parent h1,
	h1.gb-headline.homepagetitle {
		font-size: 29px;
	}	
	.homepage_container > .gb-inside-container {
		background-position: top 0 right -100px;
	}		
	.main-navigation .main-nav ul li.current-menu-item > a:after {
		width:0;
	}		
	.main-navigation .main-nav ul li.current-menu-item > a:hover:after {
		width: calc(100% - 48px);
	}	
}
@media(max-width:789px){
	.page-hero::before,
	.page-hero .inside-page-hero.grid-container::before,
	.homepage_container > .gb-inside-container::before {
		background-image: url('src/yellow_curve_mobile.svg'); 
	}		
	.blue_curve {
		background: none;
	}
	.homepage_container {
		background: #0c57cb url(src/image_accueil.jpg) no-repeat 0 0;
		background-size: cover;
		background-position: top center;		
	}		
	.custom-page-hero .container {
		background-size:cover;
	}	
	.custom-page-hero .container::before{
		background-size:initial;
	}
	.custom-page-hero .container::after,
	.homepage_container > .gb-inside-container {
		background: linear-gradient(170deg, rgba(12,87,203,0.4) 0%, rgba(0,0,50,0.8) 80%);
		width:101%;
	}		
	.homepage_container::before {
		background:none !important;
	}
	.homepagesubtitle {
		font-size:24px;
	}	
	.single .page-hero .inside-page-hero.grid-container {
		padding: 120px 70px 60px 20px;
	}	
	.blog .is-right-sidebar {
		margin-top:30px;
	}	
}
@media (max-width: 420px){
	.page-hero .inside-page-hero.grid-container::before {
		width: 28%;
	}	
	.custom-page-hero .container::before,
	#generate-slideout-menu::before,
	.homepage_container > .gb-inside-container::before {
		width: 35%;
	}	
	.homepage_container {	
		height: 90vh;
	}
	.homepage_container > .gb-inside-container {
		height:100%;
	}	
	.homepage_container .gb-grid-wrapper{
		align-items: center;
		height: 100%;
	}	
	.mobile-header-navigation .site-logo,
	.site-logo.mobile-header-logo {
		width: 200px;
		margin-top: 5px;
		margin-left: 20px !important;
	}
	.header-wrap.fixed::before {
		width:100px;
	}	
}
.overflow-x-hidden .gb-inside-container{
	overflow-x:hidden;
}
.animateOnScroll {
	opacity:0;
	transform:translate(0,30%);
}
.animateOnScroll.fromleft {
	opacity:0;
	transform:translate(0,0);
}
.animateOnScroll.nojs {
	opacity:1;
	transform:translate(0,0);
}
@media (prefers-reduced-motion: no-preference) {
  .animateOnScroll.triggered {
    animation: appear-bottom 1s 0s 1 forwards;
  }
  .animateOnScroll.fromleft.triggered {
    animation: appear-left 1s 0s 1 forwards;
  }  
}
@keyframes appear-bottom {
	0% {
		opacity:0;
		transform:translate(0,100%);
	}
	100% {
		opacity:1;
		transform:translate(0,0);
	}
}
@keyframes appear-left {
	0% {
		opacity:0;
		transform:translate(-100%,0);
	}
	100% {
		opacity:1;
		transform:translate(0,0);
	}
}