/*
Theme Name: MaxJacob ~ Child
Description: Thème Child customisé par Max Jacob
Version: 1.2
Author: Max Jacob
Author URI: http://www.max-jacob.net
Template: enfold
*/


/* General */

img, a img { image-rendering: auto; }

.break:before { content: "\A"; white-space: pre; }

.lineheight_zero { line-height: 0; }

/* non-sense since update */

#top #main .av-layout-grid-container > .flex_cell.av_one_full { width: 100% !important; }  /* fix enfold */
.place-map:not(.embed-responsive) .embed-responsive-item { height: inherit; }

.av-subheading.av_custom_color,
#top .av_header_transparency .main_menu ul:first-child > li > a:hover,
#top #wrap_all .av_header_transparency .sub_menu > ul > li > a:hover { opacity: 1; }
/* */

html[lang="fr-FR"] a[data-gt-lang="fr"],
html[lang="fr"] a[data-gt-lang="fr"],
html[lang="en"] a[data-gt-lang="en"] { display: none !important; }

#top .av-submenu-container { border: 0 none; box-shadow: rgba(0, 0, 0, 0.1) 0px 8px 10px; }
#top .av-submenu-container ul li a { font-size: 16px; color: #4E859E; text-decoration: underline; }
#top .av-submenu-container ul li a:hover { text-decoration: none; }


#top .gdr_button .avia-button { border-radius: 0; border: 1px solid #4E8397; font-size: 1em; transition: all 50ms ease; }
#top .gdr_button .avia-button:hover { background: #fff; color: #4E8397; }
#top .gdr_button .avia-button.avia-size-large { padding: 20px 40px 20px; }
#top .gdr_button .avia-button.avia-size-medium { font-size: .9em; padding: 8px 20px; line-height: 1.4em; }

	#top .gdr_button.gdr_b_white .avia-button { border: 1px solid #fff; background: transparent; color: #fff; }
	#top .gdr_button.gdr_b_white .avia-button:hover { background: #fff; color: #4E8397; border-color: #4E8397; }

#top .hlc_competition .gdr_button.avia-button-wrap { margin: 0; }

.header_color .header_bg { display: none; }

.main_color table caption, .main_color tr:nth-child(2n), .main_color .pricing-table > li:nth-child(2n), #top .main_color .avia-data-table.avia_pricing_minimal td { color: #2d4b55; }

.mfp-ready .mfp-figure { opacity: 1; }
.galleryItemSet { display: none; }
#section-gallery .container, #section-gallery .template-page { padding: 0; }


#top .input-text, #top input[type="text"], #top input[type="input"], #top input[type="password"], #top input[type="email"], #top input[type="number"], #top input[type="url"], #top input[type="tel"], #top input[type="search"], #top textarea, #top select { font-family: 'larsseit', 'HelveticaNeue', 'Helvetica Neue', 'Helvetica-Neue', Helvetica, Arial, sans-serif; }


#top .sousmenu_page_wrapper { display: flex; }
#top ul.sousmenu_page { list-style: none; display: block; margin: auto; text-align: center; }
	#top ul.sousmenu_page li { display: inline-block; font-weight: 300; font-size: 1.25em; line-height: 2.5em; margin: 0 30px; padding: 0; }
	#top ul.sousmenu_page li.gtranslate_li { margin: 0 -30px 0 30px; }
		#top ul.sousmenu_page li a { color: #4E8397; }
		#top ul.sousmenu_page li a:hover { text-decoration: underline; color: #234E87; }
			#top ul.sousmenu_page li a img { width: 24px; height: 24px; vertical-align: middle; margin-right: 2px; }
			#top ul.sousmenu_page li.gtranslate_li a img { width: 24px; height: 24px; margin-right: 0; }


#top .avia-image-container.img_with_bg { padding-right: 60px; }
#top .avia-image-container.img_with_bg.iwb_left { padding-right: 0; padding-left: 60px; }
	#top .avia-image-container.img_with_bg .avia-image-overlay-wrap:before { background: #DEF0F4; width: 100%; height: 100%; display: block; content: ''; position: absolute; left: 40px; top: 40px; }
	#top .avia-image-container.img_with_bg.iwb_left .avia-image-overlay-wrap:before { left: auto; right: 40px; top: 40px; }

#top .avia-video.alternate_player_button .av-click-to-play-overlay .avia_playpause_icon { background: #fff; border-radius: 50%; transition: none; }
#top .avia-video.alternate_player_button .av-click-to-play-overlay:hover .avia_playpause_icon { background: #4E8497; opacity: 1; }
	#top .avia-video.alternate_player_button .av-click-to-play-overlay .avia_playpause_icon:before { color: #4E8497; }
	#top .avia-video.alternate_player_button .av-click-to-play-overlay:hover .avia_playpause_icon:before { color: #fff; }

.responsive #top .offcontainer_w_padding > .container { max-width: none; }


#top .partenaires-swiper { width: 100%; height: 150px; overflow: hidden; }
	#top .partenaires-swiper .swiper-slide { text-align: center; }
		#top .partenaires-swiper .swiper-slide a img { width: auto; max-height: 150px; transition: all 100ms ease; filter: grayscale(1); opacity: 0.4; }
		#top .partenaires-swiper .swiper-slide a:hover img { filter: grayscale(0); opacity: 1; }


#top .contact_box_onmap_wrapper { position: absolute; width: 100%; height: 100%; top: 0; left: 0; background: rgba(0,0,0,0.5); z-index: -1; opacity: 0; transition: all 200ms ease; }
#top .contact_box_onmap_wrapper.get_hovered { z-index: 2; opacity: 1; }
#top .contact_box_onmap { position: absolute; width: 100%; max-width: 500px; padding: 5% 3%; background: #fff; right: 10%; top: 15%; text-align: center; box-shadow: 0 0 20px rgba(0,0,0,0.5); line-height: 1.5em; z-index: 3; }
	#top .contact_box_onmap img { margin-bottom: 20px; }

#top .avia-button-wrap { margin-bottom: 20px; }
	#top .avia-button-fullwidth { font-weight: bold; font-size: 20px; transition: all 100ms ease !important; opacity: 1 !important; border-radius: 0; }
	#top .avia-button-fullwidth:hover { background: #DEF0F4; color: #4E8497 !important; }
		#top .avia-button-fullwidth:hover .avia_button_background { background: #DEF0F4; opacity: 1 !important; }


/* Header */

#top #header_main > .container { max-width: none !important; width: 100% !important; padding: 0; }

	#top div .logo { background: #4E8397; padding: 15px; width: 120px; position: relative; }
		#top div .logo img { margin: auto; }

	#top .main_menu { position: relative; right: auto; }

	.html_burger_menu_active #top #wrap_all #header .av-burger-menu-main > a { background: #4E8397; width: 120px; text-align: center; padding: 0; transition: all 50ms ease; }
	.html_burger_menu_active #top #wrap_all #header .av-burger-menu-main > a:hover { background: #234E87; }

	#top .main_menu a.hamburger_icon_booking { float: left; height: 120px; background: #fff; width: 120px; text-align: center; display: flex; transition: all 50ms ease; position: relative; line-height: 1.2em; }
	#top .main_menu a.hamburger_icon_booking:hover { background: #234E87; }

		#top .main_menu .hamburger_icon_booking span { opacity: 1; position: absolute; color: #4E8397; text-transform: uppercase; font-weight: bold; transition: all 50ms ease; left: 50%; top: 50%; transform: translate(-50%,-50%); }
		#top .main_menu .hamburger_icon_booking:hover span { opacity: 1; color: #fff; }

		#top .main_menu .hamburger_icon_booking img { display: block; margin: auto; transition: all 50ms ease; }
		#top .main_menu .hamburger_icon_booking:hover img { opacity: 0.1; filter: brightness(0) invert(1); }

	#top .main_menu .hamburger_icon_white_content { float: left; height: 120px; background: #fff; width: 120px; text-align: center; display: flex; transition: all 50ms ease; position: relative; }
		#top .main_menu .hamburger_icon_white_content a { display: block; margin: auto; }
		#top .main_menu .hamburger_icon_white_content img { display: block; margin: auto; max-height: 100px; }


/* Footer */


#top #footer-page { border: 0 none; }
	#top #footer-page a:hover { color: #4E8397; }

#top .footer_logo_institutionnels { opacity: 0.5; transition: all 200ms ease; }
#top .footer_logo_institutionnels:hover { opacity: 1; }

#top #actus form#sib_signup_form_1 { position: relative; margin-top: 80px; }

	#top #footer-page .the_newsletter_form { text-align: left !important; }

		#top .the_newsletter_form #email { display: inline-block; width: calc(100% - 135px); vertical-align: middle; margin: 0; background: transparent; border: 0 none; border-bottom: 2px solid #4E8397; max-width: 600px; color: #2D4B55; font-size: 1em; }
		#top #footer-page .the_newsletter_form #email { border-color: #fff; color: #fff; }
		#top #footer-page .the_newsletter_form #email::placeholder { color: #fff; }
		#top .the_newsletter_form > div { display: none; }
		#top .the_newsletter_form label { font-weight: normal; }
		#top #footer-page .the_newsletter_form label { color: #DEF0F4; }
			#top #footer-page .the_newsletter_form label a { color: #DEF0F4; text-decoration: underline; }
			#top #footer-page .the_newsletter_form label a:hover { color: #4E8397; }

		#top .the_newsletter_form input[type="submit"] { width: 130px; background: #4E8397; color: #fff; display: inline-block; vertical-align: middle; font-family: 'larsseit', 'HelveticaNeue', 'Helvetica Neue', 'Helvetica-Neue', Helvetica, Arial, sans-serif; font-size: 15px; font-weight: 300; border: 1px solid #4E8397; line-height: 18px; transition: all 50ms ease; }
		#top .the_newsletter_form input[type="submit"]:hover { background: #fff; color: #4E8397; }

		#top #footer-page .the_newsletter_form input[type="submit"] { background: #fff; color: #4E8397; border: 1px solid #fff; }
		#top #footer-page .the_newsletter_form input[type="submit"]:hover { background: #4E8397; color: #fff; }

.grecaptcha-badge { display: none !important; }

/* Accueil */

#top .home_last_actu { position: relative; }
	#top .home_last_actu .hla_img { position: relative; width: 70%; }
	#top .home_last_actu .hla_txt { width: 45%; color: #fff; background: #4E8397; padding: 40px; position: absolute; top: 15%; right: 0; }
		#top .home_last_actu .hla_txt h2 { color: #fff; font-size: 1.2em; margin: 12px 0; } 

#top .home_zoom_effect_wrapper { z-index: 1; position: relative; height: 70vh; overflow: hidden; }
	#top .home_zoom_effect_wrapper .home_zoom_effect { display: block; object-fit: cover; position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
		#top .home_zoom_effect_wrapper .home_zoom_effect .o-cover--bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: 50%; background-repeat: no-repeat; }
			#top .home_zoom_effect_wrapper .home_zoom_effect .hze-ocb-btn { background: #fff; color: #000; position: absolute; top: 45%; left: 50%; line-height: 0; border-radius: 50%; text-align: center; width: 70px; height: 70px; display: flex; padding-left: 5px; transition: all 50ms ease; }
			#top .home_zoom_effect_wrapper .home_zoom_effect .hze-ocb-btn:hover { background: #234E87; }
				#top .home_zoom_effect_wrapper .home_zoom_effect .hze-ocb-btn img { display: block; margin: auto; }
				#top .home_zoom_effect_wrapper .home_zoom_effect .hze-ocb-btn:hover img { filter: brightness(0) invert(1); }

#top .home_last_competitions { position: relative; padding: 0 0 0 20px; }
	#top .home_last_competitions .hlc_competition { background: #4E8397; margin-bottom: 50px; min-height: 250px; }
		#top .home_last_competitions .hlc_competition .hlc_competition_inner { background: #DEF0F4; height: 100%; display: flex; transform: translate(-25px, -15px); padding: 20px; transition: all 100ms ease; background-size: cover; }
		#top .home_last_competitions .hlc_competition:hover .hlc_competition_inner { transform: translate(-10px, -10px); }
			#top .home_last_competitions .hlc_competition .hlc_competition_inner .hlc_competition_inner_centered { display: block; margin: auto 0; }
				#top .home_last_competitions .hlc_competition .hlc_competition_inner .hlc_competition_inner_centered h2 { margin-bottom: 15px; }
				#top .home_last_competitions .hlc_competition .hlc_competition_inner .hlc_competition_inner_centered h2:hover a { text-decoration: underline; }
				#top .home_last_competitions .hlc_competition .hlc_competition_inner .hlc_competition_inner_centered span.hlc_time { background: #234E87; color: #fff; padding: 4px 10px; font-size: .9em; margin-bottom: 10px; display: inline-block; }

#top .home_tarifs { position: relative; }
	#top .home_tarifs .ht_img { position: relative; width: 100%; max-width: 1030px; padding-left: 4%; }
	#top .home_tarifs .ht_txt { width: 100%; max-width: 600px; background: #fff; padding: 5%; position: absolute; top: 20%; right: 15%; }
		#top .home_tarifs .ht_txt h2 { font-size: 1.8em; margin-bottom: 24px; }
		#top .home_tarifs .ht_txt .ht_txt_subtitle { margin-bottom: 30px; }

#top .home_last_actu .avia-button-wrap { margin-bottom: 10px; }



/* Pages internes */

#top .header_single_post.container_wrap { border: 0 none; background: #DEF0F4; margin-top: -118px; padding: 200px 100px 50px; }
	#top .header_single_post.container_wrap h1 { font-size: 3em; color: #2D4B55; }

	#top #competition span.hlc_time { background: #234E87; color: #fff; padding: 4px 10px; font-size: 1em; }

		
@media only screen and (max-width: 1200px) {
	
	
	
}
@media only screen and (max-width: 1180px) {
	
	#top .home_last_actu .hla_img { width: 100%; }
	#top .home_last_actu .hla_txt { top: auto; bottom: 7px; }

	#top .home_tarifs .ht_img { width: 100%; padding: 0; }
	#top .home_tarifs .ht_txt { top: auto; bottom: 7px; }

	#top .home_last_competitions > .grid-4 > div { width: calc(100% / 3 - 2rem - .01px); margin-right: 1rem; margin-left: 1rem; }
	
}
@media only screen and (max-width: 989px) {
	
	.responsive.html_mobile_menu_tablet #top #header_main > .container .main_menu .av-main-nav > li > a,
	.responsive.html_mobile_menu_tablet #top #wrap_all .av-logo-container { height: 90px !important; line-height: 90px; }

	#top .main_menu a.hamburger_icon_booking,
	#top .main_menu .hamburger_icon_white_content { width: 90px; height: 90px; }

	.html_burger_menu_active #top #wrap_all #header .av-burger-menu-main > a { width: 90px; }

	.responsive.html_mobile_menu_tablet #top #wrap_all #header { position: fixed; background: transparent; }

	#top .heading_responsive_hone { font-size: 4em !important; }

	#top .home_partone_responsive { max-height: 800px; }

	#top .home_last_actu .hla_txt { position: relative; width: 90%; margin: -150px auto 0; bottom: auto; right: auto; top: auto; }

	#top .home_tarifs .ht_txt { position: relative; width: 90%; margin: -150px auto 0; bottom: auto; right: auto; top: auto; }

	#top .home_last_competitions > .grid-4 > div { width: calc(100% / 2 - 2rem - .01px); }
		#top .home_last_competitions .hlc_competition .hlc_competition_inner .hlc_competition_inner_centered h2 { font-size: 1.5em; }

	#top .header_single_post.container_wrap { margin-top: -40px; padding-left: 50px; padding-right: 50px; }

}
@media only screen and (max-width: 768px) {
	
	.responsive #top .logo { width: 90px; height: 90px !important; float: left; }
	#top div .logo { width: 90px; }

	.responsive #top #wrap_all .main_menu { height: 90px; float: left; position: relative; }

	/* #top .main_menu .hamburger_icon_white_content { display: none; } */

	.responsive #top #header_main > .container .main_menu .av-main-nav > li > a,
	.responsive #top #wrap_all .av-logo-container { height: 90px !important; line-height: 90px; }

	#top .home_last_competitions { padding: 0; }

	#top .home_zoom_effect_wrapper { height: 80vh; }
		#top .home_zoom_effect_wrapper .home_zoom_effect .hze-ocb-btn { top: calc(50% - 30px); left: calc(50% - 30px); }

	#top .home_partfive_responsive > .container { height: auto !important; }

	#top .contact_box_onmap_wrapper { display: none !important; }
		#top .contact_box_onmap { bottom: 0; top: auto; right: 0; }
	
}
@media only screen and (max-width: 680px) {
	
	#top .home_last_competitions > .grid-4 > div { width: 100%; min-height: auto; }
	
}
@media only screen and (max-width: 480px) {
	
	#top ul.sousmenu_page li { display: block; }
	#top ul.sousmenu_page li.gtranslate_li { margin: 0 30px; }
	#top .home_last_actu .hla_txt { margin-top: -50px; width: 100%; }

	#top .home_tarifs .ht_txt { margin-top: -50px; width: 100%; }
	
}