/*
Theme Name: Tyseo Framework
Theme URI: http://www.tyseo.net
Description: Le constructeur de thème Tyseo d'après le framework WP / Elegant / Divi 
Author: Christophe BENOIT & Florent PARCEVAUX
Author URI: http://www.tyseo.net
Template: Divi
Version: 1.0.0
*/

@import url("../Divi/style.css");

#page-container {
    padding-top: 74px !important;
} 

#main-header.et-fixed-header, #main-header.et-fixed-header .et_mobile_menu {
		border-bottom: 1px solid #fff;
	}

@media (min-width: 981px) {
	#main-content .container:before {
    	background-color: #fff;
	}
}

.mobile_menu_bar:before, et_overlay:before {
	color:#fff !important;
}

.et_pb_fullwidth_header_subhead {
    line-height: 100%!important;
}

#main-header.et-fixed-header {
	border-bottom:0;
}

/*Menu sticky et scrollable sur mobile*/
@media only screen and (max-width: 980px) {
	.et_fixed_nav #main-header, 
	.et_fixed_nav #top-header,
	.et_non_fixed_nav.et_transparent_nav #main-header,
	.et_non_fixed_nav.et_transparent_nav #top-header {
		position: fixed;
	}
	#main-header.et-fixed-header, #main-header.et-fixed-header .et_mobile_menu {
    	background-color:#049DBF!important;
	}
}
.et_mobile_menu {
	border-color: #fff!important;
    overflow: scroll !important;
    max-height: 80vh;
}

/*masquer le + du sous menu mobile*/
.et_mobile_menu .menu-item-has-children > a:after {
    display:none!important;
}

/*menu + sur mobile*/
.et_mobile_menu .menu-item-has-children > a { background-color: transparent; }
#main-header .et_mobile_menu li ul.sub-menu.hide { display: none !important; visibility: hidden !important;  transition: all 1.5s ease-in-out;}
#main-header .et_mobile_menu li ul.sub-menu.visible { display: block !important; visibility: visible !important; }
.et_mobile_menu .menu-item-has-children > a:after { content: '+'; position: absolute; right: 20px; }

/*menu et barre de recherche*/
@media (max-width: 980px) {
	.et_header_style_left .et-search-form {
		width: 100%!important;
		max-width: 100%!important;
	}
	.container.et_menu_container {
		width: 90%!important;
	}
	#et_top_search {
		margin: 0 20px 0 0;
	}
}

.et-search-form input {
    background: #000000cc;
	padding: 10px;
}


#content-area {
    max-width: 1050px;
    margin: auto;
}

.et_pb_section_0_tb_body {
    padding-top: 0!important;
}

.et_full_width_page #left-area {
    margin-bottom: 3em;
}
#left-area .post-meta {
    padding-bottom: 0;
}

/*style de liens*/
#et-main-area a{
	text-decoration:underline;
}
#et-main-area a:hover {
    font-weight: bold;
}

.entry-content a {
    text-decoration: underline;
}
.entry-content ul{
    line-height: inherit!important;
}
.entry-content ul li {
    margin-bottom: 1em;
}
.et_pb_button {
    text-decoration: none !important;
}
a.et-pb-arrow-next, a.et-pb-arrow-prev {
    text-decoration: none;
}


/*page blog*/
.et_pb_blog_0 a {
    text-decoration: none!important;
}

.wp-caption {
    max-width: 100%;
    padding: 0;
    border: 0!important;
    background-color: unset!important;
}

#credit-tracker-table img {
    min-width: 100px;
}

@media (max-width: 980px) {
	.entry-content h2, h2 {
		font-size:35px!important;
	}
	.entry-content h3,.entry-content h4,.entry-content h5,.entry-content h6, h3, h4, h5, h6 {
		font-size:30px!important;
	}
}

#accueilsoustitre h2{
    font-size:50px!important;
}

.home h2 {
    font-size: 40px;
    margin-bottom: 1em;
}
@media (max-width: 981px) {
	#accueilsoustitre h2{
		font-size:30px!important;
	}
	.home h2 {
		font-size: 30px;
	}
}


/*Table des matières*/
#ez-toc-container {
    background: #F5F5F5;
    border-radius: 10px;
    margin-bottom: 2em;
    padding: 1em;
}
#ez-toc-container ul {
    padding-bottom: 0.5em;
	padding-left:0!important;
}
#ez-toc-container ul li {
    list-style: inside decimal;
    line-height: 1.6;
    font-size: 95%;
}
/*forcer indentation sommaire*/
#ez-toc-container ul li ul {
    padding: 2px 0 2px 20px !important;
}
.ez-toc-title {
    font-weight: bold;
}

/**
* Boutton gutenberg
*/
.wp-block-button {
	margin-bottom: 1em !important;
}

.wp-block-button__link {
	font-size: 20px;
	font-weight: 500;
	padding: .3em 1em;
	line-height: 1.7em !important;
	background-color: transparent;
	background-size: cover;
	background-position: 50%;
	background-repeat: no-repeat;
	border-radius: 3px;
	color: #2b2d42;
	text-decoration: none !important;
	border: 2px solid #2b2d42;
	transition: all .2s;
}

.wp-block-button__link::after{
	font-size: 32px;
	line-height: 1em;
	content: "\35";
	opacity: 0;
	position: absolute;
	margin-left: -1em;
	-webkit-transition: all .2s;
	transition: all .2s;
	text-transform: none;
	font-family: "ETmodules" !important;
	-webkit-font-feature-settings: "kern" off;
	font-feature-settings: "kern" off;
	font-variant: none;
	font-style: normal;
	font-weight: 400;
	text-shadow: none;
}

.wp-block-button__link:hover {
	font-weight: bold;
	background-color: rgba(0,0,0,.05);
	padding: .3em 2em .3em .7em;
	border-color: #2b2d42;
}

.wp-block-button__link:hover::after {
	opacity: 1;
	margin-left: 0;
}

/*.main_title, .entry-title {
    margin-top: 20px;
}*/

/*
.superimage img{
	left: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	max-width: 100vw;
	position: relative;
	right: 50%;
	width: 100vw;
	margin-top:-80px;
}*/

/*affichage slider grande hauteur*/
/*
.et_pb_slide .et_pb_container {
	height: auto !important;
	min-height: 800px !important;
}
@media only screen and (min-width: 768px) and (max-width: 980px) {
	.et_pb_slide .et_pb_container {
		height: auto !important;
		min-height: 500px !important;
	}
	.et_pb_slide_description .et_pb_slide_title {
    	font-size: 60px!important;
	}
	.et_pb_slide_description h2.et_pb_slide_title {
		font-weight: 800!important;
	}
}
@media only screen and (max-width: 767px) {
	.et_pb_slide .et_pb_container {
		height: auto !important;
		min-height: 400px !important;
	}
	.et_pb_slide_description .et_pb_slide_title {
    	font-size: 50px!important;
	}
	.et_pb_slide_description h2.et_pb_slide_title {
		font-weight: 800!important;
	}
}
*/

/*remontée du titre sur la photo de fond uniquement sur grands écrans */
/*
@media (min-width: 981px) {
	.debutcontenu {
		background-color: #fff;
		position: relative;
		
		padding: 40px 100px 60px 100px;
    	margin: -300px -100px -100px -100px;
		border-top-left-radius: 10px;
    	border-top-right-radius: 10px;
	}
	.et_pb_post .post-meta {
		position: relative;
		padding-top: 50px;
	}
	.page .entry-content {
    	margin-top: 40px;
	}
	.et_pb_pagebuilder_layout .entry-content{
		margin-top: 0px;
	}
	.entry-content {
		position: relative;
    	background-color: #fff;
		padding-left: 100px;
		padding-right: 100px;
    	padding-bottom: 50px;
    	margin-left: -100px;
    	margin-right: -100px;
	}
	.et_pb_post .entry-content {
		padding-top: 20px;
	}
}
*/


.utd_activity_card {
	text-decoration:none !important
}

.utd_activity_card:hover {
	font-weight: initial !important;
}

