/*
 Theme Name:   Divi Roland JANVIER'Blog Subtheme
 Theme URI:    http://www.rolandjanvier.org/
 Description:  Customs for Divi theme
 Author:       Simon JANVIER
 Author URI:   https://www.simonjanvier.com
 Template:     Divi
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         custom
 Text Domain:  divi-rolandjanvier-subtheme
*/

.single-post .entry-content > p > a > img.aligncenter{width:100% !important;display:block !important;margin:10px auto !important;}

.more-link{border: solid 1px #0c71c3; padding:1em 0.3em;display:block;width:6em;text-align:center;line-height:0.5em !important; border-radius:4px;float: right;margin: 1em;font-style:normal;}
.more-link:hover{background: #e5f3ff;}

.widget_recent_entries ul li{border-bottom: solid 1px #c9c9c9;padding-bottom:0.5em;margin-bottom:0.5em;}
.widget_recent_entries ul li .post-date{color: #c9c9c9;}
#main-header{background:url(https://www.rolandjanvier.org/wp-content/uploads/2020/01/yucar-fotografik-cfR-V1QuEKw-unsplash-scaled.jpg) no-repeat center;background-size: cover;background-position: 0px bottom;}
@media only screen and (max-width: 1200px){
	.et_pb_svg_logo #logo {height: 30%;}
}
.mobile_menu_bar:before{color: #FFFFFF;}
nav#top-menu-nav ul li{text-shadow:black;}
article.biblio .et_post_meta_wrapper{display:none;}
article.biblio .saboxplugin-wrap{display:none;}

.eachslider_bx h4{text-align:center;font-size:1.4em;}
.eachslider_bx a{display:block;background:#0c71c3;padding:0.8em;color:#FFFFFF;font-size:0.8em;border-radius:4px;margin:1em auto 0;width:10em;font-weight:bold;text-align:center;}

a.rs-layer rs-bg-elem{
	background-repeat: no-repeat !important;
	background-position: center !important;
}

.et_pb_widget_area .et_pb_widget .eachslider_bx a {color: #FFFFFF !important;}
.bx-wrapper{box-shadow: none !important;border: none !important;}

header#main-header{
	z-index:10 !important;
}
#cboxLoadedContent img[style]{
	width:100% !important;
	height: auto !important;
}

.et_pb_blog_0 .et_pb_post div.post-content a.more-link, .et_pb_blog_1 .et_pb_post div.post-content a.more-link{
	font-size:16px !important;
}

.wp-pagenavi span,.wp-pagenavi a{border:solid 1px transparent !important;
}
.wp-pagenavi span.current,.wp-pagenavi a{background-color: #0D71C3 !important;color:#FFFFFF !important;margin-bottom:10px !important;display:inline-block !important;}
.wp-pagenavi a:hover{background-color: #FFFFFF !important;color:#0D71C3 !important;border:solid 1px #0D71C3 !important;}

#et_top_search {
    float: right;
    margin: 0 -13px 0 22px;
    position: relative;
    display: block;
    width: 18px;
}

.et-db #et-boc .et-l .et_pb_bg_layout_light p.et_pb_title_meta_container{
	padding-bottom:0 !important;
}

/* Single */

.printfriendly{
	margin-bottom: 20px !important;
}

#et-boc > div > div > div > div > div.et_pb_column.et_pb_column_2_3.et_pb_column_0_tb_body.et_pb_css_mix_blend_mode_passthrough > div.et_pb_module.et_pb_blog_0_tb_body.et_pb_posts.et_pb_bg_layout_light .et_pb_ajax_pagination_container{
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap;
	gap: 20px;
}
#et-boc > div > div > div > div > div.et_pb_column.et_pb_column_2_3.et_pb_column_0_tb_body.et_pb_css_mix_blend_mode_passthrough > div.et_pb_module.et_pb_blog_0_tb_body.et_pb_posts.et_pb_bg_layout_light .et_pb_ajax_pagination_container article{
	width: calc( 33% - 13.33px ) !important;
}
#et-boc > div > div > div > div > div.et_pb_column.et_pb_column_2_3.et_pb_column_0_tb_body.et_pb_css_mix_blend_mode_passthrough > div.et_pb_module.et_pb_blog_0_tb_body.et_pb_posts.et_pb_bg_layout_light .et_pb_ajax_pagination_container article a.entry-featured-image-url{
	width: 100% !important;
	height: 12vh !important;
	overflow: hidden !important;
	display: block !important;
	position: relative;
}
#et-boc > div > div > div > div > div.et_pb_column.et_pb_column_2_3.et_pb_column_0_tb_body.et_pb_css_mix_blend_mode_passthrough > div.et_pb_module.et_pb_blog_0_tb_body.et_pb_posts.et_pb_bg_layout_light .et_pb_ajax_pagination_container article a.entry-featured-image-url img{
	width: 100% !important;
	height: auto !important;
	position: absolute;
    top:-100%; left:0; right: 0; bottom:-100%;
    margin: auto;
}
#et-boc > div > div > div > div > div.et_pb_column.et_pb_column_2_3.et_pb_column_0_tb_body.et_pb_css_mix_blend_mode_passthrough > div.et_pb_module.et_pb_blog_0_tb_body.et_pb_posts.et_pb_bg_layout_light .et_pb_ajax_pagination_container article h2{
	font-size: 22px !important;
}

/* Biblio */
.biblio-template-default .et_pb_row_1-4_3-4 .et_pb_column_2.et_pb_css_mix_blend_mode_passthrough.et-last-child .et_pb_text_0 .et_pb_text_inner{
	font-size:12px !important;
	font-weight:700 !important;
	padding-bottom:10px !important;
	line-height:18px !important;
}

.biblio-template-default #lightbox{
	cursor: pointer !important;
}

/* Footer */
#main-footer .footer-widget h4{
	color: #FFFFFF !important;
}

/* Lists */
.featured-post-header h1{
	font-size: 46px !important;
	margin-bottom: 50px !important;
}
.featured-post-wrapper .post{
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap !important;
	margin-bottom: 30px !important;
	padding-bottom: 30px !important;
	border-bottom: solid 1px #c9c9c9 !important;
}
.featured-post-wrapper .post .float-left{
	width: 130px !important;
	margin-right: 20px !important;
	height: auto !important;

}
.featured-post-wrapper .post .float-left img{
	width: 130px !important;
	height: auto !important;
}

.featured-post-wrapper .post > .clickable-image{
	width: 100% !important;
}
.featured-post-wrapper .text-content{
	width: calc( 100% - 150px ) !important;
}

.featured-post-wrapper .load-more-btn{
	margin: 40px auto !important;
	display: block !important;
	width: fit-content !important;
	padding: 12px 20px !important;
	color: #FFFFFF !important;
	border: none !important;
	border-radius: 0 !important;
	background-color: #0c71c3 !important;
	font-size: 16px !important;
	font-weight: 500 !important;
	cursor: pointer !important;
}
.featured-post-wrapper .load-more-btn:hover{
	background-color: #075492 !important;
}

/* Contact */
#FSContact1 input[type="text"], #FSContact1 input[type="email"], #FSContact1 textarea{
	width: 100% !important;
	max-width: 100% !important;
	padding: 10px !important;
	margin-bottom: 20px !important;
	border: solid 1px #c9c9c9 !important;
}

input[type="submit"]{
	background-color: #0c71c3 !important;
	color: #FFFFFF !important;
	border: none !important;
	padding: 10px 20px !important;
	font-size: 16px !important;
	font-weight: 500 !important;
	cursor: pointer !important;
}