/*
 Theme Name:   BDEA
 Theme URI:    https://www.bdea-adour.fr/
 Description:  BDEA Adour
 Author:       Onokaa SAS
 Author URI:   https://www.onokaa.com
 Template:     onk-shop
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/

@keyframes smoothScroll {
	0% {
		transform: translateY(-90px);
	}
	100% {
		transform: translateY(0px);
	}
}

body{font-family: 'Lato', sans-serif; color:#515259; font-size:1.6rem; background: #fff;}

h1, .h1-like{font-family: 'Open Sans', sans-serif; font-size: 3.5rem; font-weight: 300; line-height: 1.25}
h2, .h2-like{font-family: 'Open Sans', sans-serif; color: #252525; font-size: 2.8rem; line-height: 1.25;}
h3, .h3-like{font-family: 'Open Sans', sans-serif; font-size: 2.5rem; font-weight: 700; line-height: 1.25;}
h4, .h4-like{font-family: 'Open Sans', sans-serif; font-size: 2rem; font-weight: 900; margin: 0;}
p{line-height: 1.6;}
a{}
strong{color: #252525;}

[type="color"], [type="date"], [type="datetime-local"], [type="email"], [type="month"], [type="number"], [type="password"], [type="search"], [type="tel"], [type="text"], [type="time"], [type="url"], [type="week"], select, textarea{
	font-size: 1.4rem; 
	color: #044166; 
	font-family: 'Open Sans', sans-serif; 
	font-weight: 400;
	padding: 12px 12px;
}
.btn, button, input.submit, .frm_button_submit, .wp-block-button__link{background:#044166; color: #fff; font-size: 1.4rem ;font-weight: bold; font-family: 'Open Sans', sans-serif; padding: 20px 30px;}

.custom-link{margin-top: 25px; margin-bottom: 25px;}
.custom-link a{position: relative; text-transform: uppercase; font-weight: bold; color: #144563; font-family: 'Open Sans', sans-serif; text-decoration: none;}
.custom-link a:after{content: url('./assets/images/arrow.svg'); display: inline-block; margin-left: 15px; width: 15px;}

#primary{padding-bottom: 0;}

@media (min-width: 782px){
	h2, .h2-like{font-size: 3rem;}
}
@media (min-width: 992px){
	h1, .h1-like{font-size: 4rem;}
	h2, .h2-like{font-size: 3.5rem;}
	h3, .h3-like{font-size: 3rem;}
	h4, .h4-like{font-size: 2.5rem;}
}
@media (min-width: 1280px){
	h1, .h1-like{font-size: 5rem;}
	h2, .h2-like{font-size: 4rem;}
	h4, .h4-like{font-size: 2.8rem;}
}

/**
*	Hook gutenberg
**/
.wp-block-group.alignfull:not(.home-actions) > .wp-block-group__inner-container{width: 100%; margin-right: auto; margin-left: auto; padding-right: 15px; padding-left: 15px; padding-top: 25px; padding-bottom: 25px;}
@media (min-width: 600px){
	.header-container,
	.wp-block-group.alignfull:not(.home-actions) > .wp-block-group__inner-container{max-width: 540px;}
}
@media (min-width: 782px){
	.header-container,
	.wp-block-group.alignfull:not(.home-actions) > .wp-block-group__inner-container{max-width: 768px; padding-top: 50px; padding-bottom: 50px;}
}
@media (min-width: 992px){
	.header-container,
	.wp-block-group.alignfull:not(.home-actions) > .wp-block-group__inner-container{max-width: 960px;}
}
@media (min-width: 1280px){
	.header-container,
	.wp-block-group.alignfull:not(.home-actions) > .wp-block-group__inner-container{max-width: 1200px; padding-top: 75px; padding-bottom: 75px;}
}
/* @media (min-width: 1440px){
	.content-area, 
	.header-container,
	.wp-block-group.alignfull:not(.home-actions) > .wp-block-group__inner-container{max-width: 1400px;}
} */

.wp-block-gallery{margin-top: 25px; margin-bottom: 25px;}
@media (min-width: 782px){
	.wp-block-gallery{margin-top: 50px; margin-bottom: 50px;}
}
@media (min-width: 1280px){
	.wp-block-gallery{margin-top: 75px; margin-bottom: 75px;}
	#primary .entry-content > .wp-block-cover, 
	#primary .entry-content > .wp-block-columns {
		margin-top: 75px;
		margin-bottom: 75px;
	}
}

.wp-block-latest-posts.is-grid{align-items: baseline;}
.wp-block-latest-posts.is-grid li{display: flex; flex-wrap: wrap;}
.wp-block-latest-posts.is-grid li > *{flex-basis: 100%; flex-grow: 1;}
.wp-block-latest-posts.is-grid li .wp-block-latest-posts__featured-image{order: 1; height: 250px; margin-bottom: 25px;}
.wp-block-latest-posts.is-grid li .wp-block-latest-posts__featured-image a{width: 100%; height: 100%;}
.wp-block-latest-posts.is-grid li .wp-block-latest-posts__featured-image a img{width: 100%; height: 100%; object-fit: cover; -o-object-fit: cover;}
.wp-block-latest-posts.is-grid li .wp-block-latest-posts__post-date{color: #044166; font-size: 1.4rem; font-weight: 400; font-family: 'Open Sans', sans-serif; order: 2;}
.wp-block-latest-posts.is-grid li a{text-decoration: none; color: #333333; font-size: 2.2rem; font-weight: bold; font-family: 'Open Sans', sans-serif; order: 3;}



/**
 * Navbar
 **/
header{padding: 0; height: 80px; -webkit-transition: height 0.3s; -moz-transition: height 0.3s; transition: height 0.3s; position: sticky; top: 0;
	-webkit-box-shadow: none;
    -khtml-box-shadow: none;
    -moz-box-shadow: none;
    -ms-box-shadow: none;
    -o-box-shadow: none;
    box-shadow: none;
}
header #navbar{height: 100%;}
header #navbar nav{height: 100%; width: 100%; top: 0; right: 0; padding: 80px 15px 0; z-index: 998; position: fixed; background: #fff; font-family: 'Open Sans', sans-serif; }
header #navbar .hamburger{position: relative; z-index: 999; top: calc(50% - (59px / 2));}
header #navbar .hamburger:focus{outline: 0;}
header #navbar nav a{font-size: 1.4rem; color: #515259;}
header #navbar nav li{text-align: center;}
header #navbar nav li.active > a,
header #navbar nav > ul > li.dropdown:hover, 
header #navbar nav > ul > li.dropdown:hover > a,
header #navbar nav li > a:hover{color:#044166;}
header #navbar nav ul > li.contact-link{background:#044166;}
header #navbar nav ul > li.contact-link a{color:#fff; font-weight: 800;}
header #navbar nav > ul > li.dropdown > span{border: 0;}
header #navbar .navbar-brand{padding-left: 10px; z-index: 999; margin-right: 10px; height: 100%;}

header #navbar nav ul.dropdown-menu > li a{font-family:Open Sans;font-size: 1.4rem;}

header.sticky,
header.sticky #navbar .navbar-brand{height: 100px;}

.hamburger-inner, .hamburger-inner:after, .hamburger-inner:before{background: #044166}

@media (min-width: 782px){
	header #navbar nav {display: none;}
	header #navbar nav ul > li {display: block; padding: 12px 0px; border-bottom: 1px solid #ddd;}
}

@media (min-width: 992px){
	header{height: 120px;}
	header.is-sticky{height: 80px;}
	header #navbar .hamburger {display: none;}
	header #navbar .navbar-brand{padding-left:10px;}
	header #navbar nav{min-width: unset; height: 100%; width: auto; padding: 0; position: relative; display: inline-block; background: transparent;}
	header #navbar nav a{font-size: 1.2rem; white-space: nowrap;}
	header #navbar nav > ul{display: flex; height: 100%;}
	header #navbar nav > ul > li{padding: 0 5px; height: 100%; display: flex; align-items: center; border: 0;}
}

@media (min-width: 1280px){
	header #navbar .navbar-brand{padding-left:50px;}
	header #navbar nav a{font-size: 1.4rem; white-space: normal}
	header #navbar nav > ul > li{padding: 0 12px;}
}

/**
*	Header
**/
#header{background: #F9F9F9; height: 200px; min-height: 200px}
#header > article *{color: #fff;}
#header > article .header-content .suptitle{font-size: 2rem; font-weight: 600; font-family: 'Open Sans', sans-serif;}
#header > article .header-content h1, 
#header > article .header-content .h1-like{text-transform: none; font-size: 3.5rem; font-weight: 300; margin-top: 0; position: relative; color: #252525}
.home #header > article .header-content h1{font-size:3rem;}

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

@media (min-width: 992px){
	#header > article .header-content .suptitle{font-size: 2.5rem;}
	#header > article .header-content h1, 
	#header > article .header-content .h1-like{font-size: 4rem;}
	.home #header > article .header-content h1{font-size:3.5rem;}
}

@media (min-width: 1280px){	
	#header > article .header-content h1, 
	#header > article .header-content .h1-like{font-size: 5rem;}
	.home #header > article .header-content h1{font-size:4rem;}
}
@media (min-width: 1440px){	
	.home #header > article .header-content h1{font-size:5rem;}
}

/**
*	Home
**/
.home #header{height: auto; margin-bottom: 0; background: rgb(17,77,185);}
.home #header > article{display: flex; flex-wrap: wrap; align-items: center; background-image: url('./assets/images/bg-header.png'); background-repeat: no-repeat; background-size: contain; background-position: 30% center;}
.home #header > article .header-content{flex-basis: 100%; text-align: left; padding: 50px 25px; height: auto;}
.home #header > article .header-content h1,
.home #header > article .header-content .h1-like{color: #fff; margin-top: 25px;}
.home #header > article .header-content h1:after,
.home #header > article .header-content .h1-like:after{content: '';display: block; width: 50px; background: #fff; height: 3px; margin-top: 25px;}
.home #header > article figure{flex-basis: 100%; background: #fff; margin-top: 0;}
.home #header > article figure img{ height: 100%; width: 100%; object-fit: contain; -o-object-fit: contain}

.home #primary{padding-top: 0;}

.home-intro{padding: 50px 0; }

.home .wp-block-quote > cite{margin-top:15px;}

.home-members{margin-top: 50px;}
.home-members .blocks-gallery-grid{align-items: center;}

.padding-groupe{padding:25px;}
.actu-rdv h3{font-size:2.5rem;} 
.actu-rdv .has-white-color strong{color:#fff;} 
.actu-rdv .date{}
.actu-rdv .date:before{content:url('./assets/images/picto-date.png');width:30px;height:30px;padding-right:10px;display:inline-block;vertical-align:middle;}
.wp-block-latest-posts__list a{text-decoration:none;font-weight:bold;}

@media (min-width: 782px){
	.home #header{
    background: -moz-linear-gradient(90deg,rgba(17,77,185,1) 50%,rgba(255,255,255,1) 50%);
    background: -webkit-linear-gradient(90deg,rgba(17,77,185,1) 50%,rgba(255,255,255,1) 50%);
    background: linear-gradient(90deg,rgba(17,77,185,1) 50%,rgba(255,255,255,1) 50%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#114DB9",endColorstr="#ffffff",GradientType=1);}
	.home #header > article{flex-wrap: nowrap;}
	.home #header > article .header-content{flex-basis: 50%; padding: 25px;}
	.home #header > article figure{flex-basis: 50%;}
}
@media (min-width: 992px){
	.home #header > article .header-content{padding: 50px;}
}
@media (min-width: 1280px){	
	.home #header{height: calc(100vh - 120px); min-height: calc(100vh - 120px);}
}

.slick-prev, .slick-next{width: 15px; height: 25px; z-index: 100;}
.slick-prev{left: 15px;}
.slick-next{right: 15px;}
.slick-prev:before, .slick-next:before{font-family: inherit; font-size: 25px;}
.slick-prev:before{content: url('./assets/images/angle-left.svg');}
.slick-next:before{content: url('./assets/images/angle-right.svg');}

.with-slide.wp-block-gallery{margin-top: 0; margin-bottom: 0;}
.with-slide.wp-block-gallery ul.slick-slider{display: block; width: 100%;}
.with-slide.wp-block-gallery .blocks-gallery-item.slick-slide figure{width: 100%; height: 250px; display: block !important}
.with-slide.wp-block-gallery .blocks-gallery-item.slick-slide figure img{width: 100%; height: 100%; object-fit: cover; -o-object-fit: cover;}
@media (min-width: 782px){
	.slick-prev, .slick-next{width: 30px; height: 50px;}
	.slick-prev{left: 25px;}
	.slick-next{right: 25px;}
	.slick-prev:before, .slick-next:before{font-size: 50px;}
	
	.with-slide.wp-block-gallery .blocks-gallery-item.slick-slide figure{ height: 300px;}
}
@media (min-width: 992px){
	.with-slide.wp-block-gallery .blocks-gallery-item.slick-slide figure{ height: 500px;}
}

.wp-block-gallery.has-nested-images:not(.is-cropped) figure.wp-block-image:not(#individual-image){margin: auto;}
.wp-block-gallery.has-nested-images figure.wp-block-image img{margin: auto;}

/**
*  Archive blog
**/
.blog #article-grid > article{margin-bottom:20px;}
.blog .post-categories{margin:15px 0 0 0;padding:0;}
.blog .post-categories li{list-style:none;display:inline-block;background:#096658;padding:4px 8px 5px 8px;}
.blog .post-categories li a{color:#fff;font-size:1.3rem;font-weight:700;}


/**
*	Formidable
**/

.with_frm_style input[type=text], .with_frm_style input[type=password], .with_frm_style input[type=email], .with_frm_style input[type=number], .with_frm_style input[type=url], .with_frm_style input[type=tel], .with_frm_style input[type=phone], .with_frm_style input[type=search], .with_frm_style select, .with_frm_style textarea, .frm_form_fields_style, .with_frm_style .frm_scroll_box .frm_opt_container, .frm_form_fields_active_style, .frm_form_fields_error_style, .with_frm_style .frm-card-element.StripeElement, .with_frm_style .chosen-container-multi .chosen-choices, .with_frm_style .chosen-container-single .chosen-single{
	background-color:#f7f7f7;
	border:none;
	-moz-border-radius: 0px;
    -webkit-border-radius: 0px;
    border-radius: 0px;
	padding:8px 15px;
	height:45px
}
.with_frm_style textarea{height:inherit;}

.frm_style_style-formidable.with_frm_style .frm_compact .frm_dropzone.dz-clickable .dz-message, .frm_style_style-formidable.with_frm_style input[type=submit], .frm_style_style-formidable.with_frm_style .frm_submit input[type=button], .frm_style_style-formidable.with_frm_style .frm_submit button, .frm_form_submit_style, .frm_style_style-formidable.with_frm_style .frm-edit-page-btn{
	border-color:#044166;
	background:#044166;
	-moz-border-radius: 0px;
    -webkit-border-radius: 0px;
    border-radius: 0px;
	padding:15px 45px;
}

.single #primary{padding-bottom:50px;}
.single #next-prev-links{background:#F9F9F9;padding:50px 0px;}

/**
* Map
**/
#osm-map{height:500px;}

/**
*	Footer
**/
footer{background: #F7F7F7; margin-top: 0; color: #444444; font-size: 1.5rem; padding: 50px 0; line-height: 2;}
footer #footer-widget-area{padding: 0;}
footer address{font-style: normal; margin-bottom: 10px;}
footer strong{font-weight: 900; color: #144563; text-transform: uppercase; font-family: 'Open Sans', sans-serif;}
footer a{color: #444444; text-decoration: none;}
footer .h3-like{font-size: 1.5rem; text-transform: uppercase; display: inline-block; color: #144563;}

footer ul{list-style: none; padding-left: 0; display: inline-block;}
footer ul > li{display: inline-block; position: relative;}
footer ul > li:not(:last-child):after{content:'-'; margin: 0 5px; display: inline-block;}

footer #footer-widget-area .widget_media_image{margin-bottom: 25px;}

footer .social-links{display: flex; flex-wrap: nowrap; align-items: center; margin-bottom: 25px; margin-top: 25px; }
footer .social-links .h3-like{vertical-align: middle; margin-top: 0; margin-bottom: 0;}
footer .social-links ul{margin-left: 30px; margin-top: 0; display: flex;}
footer .social-links ul li{width: 30px; height: 30px; background: transparent; border-radius: 5px; position: relative; padding: 5px; transition: 0.5s; margin-left: 5px;}
footer .social-links ul li:after{display: none;}
footer .social-links ul li:hover{background: #144563}
footer .social-links ul li a{display: block; font-size: 0; position: relative; width: 100%; height: 100%; background: transparent;}
footer .social-links ul li a:before{content:''; display: block; position: absolute; width: 100%; height: 100%; top: 0; left: 0; background-size: contain; background-repeat: no-repeat; background-position: center center; transition: 0.5s;}
footer .social-links ul li a#link-facebook:before{background-image: url('./assets/images/picto-facebook.svg');}
footer .social-links ul li:hover a#link-facebook:before{background-image: url('./assets/images/picto-facebook-hover.svg');}
footer .social-links ul li a#link-twitter:before{background-image: url('./assets/images/picto-twitter.svg');}
footer .social-links ul li:hover a#link-twitter:before{background-image: url('./assets/images/picto-twitter-hover.svg');}
footer .social-links ul li a#link-linkedin:before{background-image: url('./assets/images/picto-linkedin.svg');}
footer .social-links ul li:hover a#link-linkedin:before{background-image: url('./assets/images/picto-linkedin-hover.svg');}



@media(min-width: 782px){
	footer .social-links{justify-content: flex-end; margin-top: 0;}
	footer .social-links ul{margin-left: 15px;}
	footer .grid > div:last-child{text-align: right; flex-grow: 1;}
	footer #footer-widget-area .widget_media_image{margin-bottom: 0;}
}
@media(min-width: 1280px){
	footer{padding: 80px 0;}
	footer ul{white-space: nowrap;}
	footer .social-links ul{margin-left: 30px;}
	footer .social-links ul li{width: 35px; height: 35px; padding: 8px; margin-left: 10px;}
}
