/*
 Theme Name:   Divi child
 Theme URI:    http://divi.space/
 Description:  A Child Theme built for Divi on Divi Space
 Author:       Facilitech
 Author URI:   http://www.facilitech.fr/
 Template:     Divi
 Version:      3
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/

@import url("../Divi/style.css");

h1, h2, h3, h4, h5, h6, h7, p, span, a {font-family: 'nimbussannovtotregular';}

/*#main-header {background:url(/wp-content/uploads/2020/07/frenchmania-main.png);background-position:top 10px right;background-repeat: no-repeat;background-size:auto 80%;background-color: #ffffff;}*/
#main-content .container:before {background: none;}
@media (min-width: 981px){#left-area {width: 100%;padding: 23px 0px 0px !important;float: none !important;}}
#sidebar {display:none;}
#et-secondary-menu {text-align: center;float: none;padding-bottom:10px;}
#et-secondary-menu .et-social-icons {display:none;}
#et-secondary-menu .pubf {color:#ffffff;text-transform:uppercase;font-size:20px;}
.baseli {margin-left:40px;text-transform:uppercase;font-size:16px;}
#et-main-area {background:#f4f4f4}

/*#homelist {background:url(http://frenchmania.facilidev.fr/wp-content/uploads/2020/05/frenchmania-coeur.png), url(http://frenchmania.facilidev.fr/wp-content/uploads/2020/05/frenchmania-main-h.png);background-position: bottom 50px left 50px, top 250px right -150px;background-attachment: fixed;background-repeat:no-repeat;background-size:100px, auto}*/

#grille article {min-height:270px;margin-bottom:20px;}
#grille .midle article {min-height:560px;margin-bottom:0px;}
#grille .post-media .post-content {background:none;position: absolute;margin: 0;padding: 0;bottom: 0;left: 0;}
#grille .post-media .post-data, #grille .post-media .post-meta:after {display:none;}
#grille .post-media h2.entry-title {text-align:center;padding: 10px 10px 15px 10px;background: rgba(0,0,0,0.2);margin-bottom: 0;bottom: 0;width: 100%;margin-top: 0;}
#grille .post-media h2.entry-title a {color: #ffffff;font-weight: 600;font-size: 14px;line-height: 1.2em !important;text-transform: uppercase;font-family: 'nimbussannovtotbold';}
#grille .post-media .post-meta {text-align:center;text-align: left;padding: 0;}
#grille .post-media .post-categories a {background:#ff0554;color:#ffffff;padding:5px;color:#ffffff;font-size: 14px;text-transform: uppercase;margin: 0 auto;display: table;}
#grille .post-media .post-categories {color:rgba(0,0,0,0)}
#grille .post-media .post-categories a:nth-child(2), #grille .post-media .post-categories a:nth-child(3),#grille .post-media .post-categories a:nth-child(4) {display:none;}
#grille .et_pb_post_extra.el_dbe_full_width_background .post-media {transition: transform .2s;}
#grille .et_pb_post_extra.el_dbe_full_width_background .post-media:hover {transform: scale(1.05);z-index: 9999999;}
#grille .et_pb_post_extra:not(.el_dbe_block_extended) .post-media:hover {opacity:1}
#slidepost article {transition: transform .2s;}
#slidepost article:hover {transform: scale(1.05);z-index: 9999999;}

#homelist article {margin-bottom:40px;}
#homelist article:nth-child(1n) {background:#ffed00}
#homelist article:nth-child(2n) {background:#b1c800}
#homelist article:nth-child(3n) {background:#ffccd6}
#homelist article .post-content {background:none;}
#homelist article .post-content .post-data {border:0}

h2.titecat {color:#000000;margin-bottom:0;display: inline-block;font-weight:600 !important}

#slidepost article .dg_bc_title {padding: 20px 20px 0 20px;font-weight: bold;}
#slidepost article .dg-post-thumb a {display: flex !important;object-fit: cover;}
#slidepost article .dg-post-thumb a img {width: 100%;height: auto;min-height: 200px;max-height: 200px;object-fit: cover;margin: 0 auto;}
.swiper-button-next, .swiper-button-prev {top:34% !important;}

#footer-bottom .container {text-align:center;}
#footer-info {margin: 0 auto;display: inline-block;float:inherit}

#gform_1 input, #gform_1 textarea, #gform_1 select {border:0;padding:16px;box-shadow: 0px 12px 18px -6px rgba(34,56,101,0.12);}
#gform_1 textarea {margin-top: 20px;}
#gform_1 .gform_footer .gform_button {background: #ff0554;float: left;color: #ffffff;font-weight: 600;font-size: 16px;/*border-radius: 30px;*/padding: 10px 30px;}

#gform_2 input, #gform_2 textarea, #gform_2 select {border:0;padding:16px;box-shadow: 0px 12px 18px -6px rgba(34,56,101,0.12);}
#gform_2 .gform_footer .gform_button {background: #ff0554;float: left;color: #ffffff;font-weight: 600;font-size: 16px;/*border-radius: 30px;*/padding: 10px 30px;}
.gform_wrapper #gform_2 ul.gform_fields li.gfield {margin-top:0}
.gform_wrapper #gform_2 .top_label li.gfield.gf_left_half .ginput_container, .gform_wrapper #gform_2 .top_label li.gfield.gf_right_half .ginput_container{margin-top:0}
#gform_2 #field_2_6 {margin-top:20px;}

.rgpdb {
    background-color: #ff0554 !important;
    border-radius: 0 !important;
}

/*SINGLE*/
/*.et_pb_post .entry-content, .single-post #left-area {padding-top:0 !important}
.single .et_pb_post {padding-bottom:58px;}
.single-post .container {max-width: 960px;}
*/
/*FULLWIDTH HEADER FEATURED IMAGE*/
/*.single-post .et_post_meta_wrapper:first-child {position: relative;height:40vh;background: #ffffff;}
.single-post .et_post_meta_wrapper:first-child img {position: absolute;top: 0;height: 100%;left: 0;width: 100%;object-fit: contain;object-position: center;z-index: 1;}
.single-post .entry-title {top:16vh;left: 0;width: 100%;position: absolute;text-align: center;z-index: 10;color: #fff;max-width: 660px;left: calc(50% - 330px);padding: 5px 0;background:rgba(0,0,0,0.2);}
.single-post p.post-meta {position: absolute;z-index: 10;text-align: center;color: #fff;bottom:40px;max-width: 500px;left: calc(50% - 250px);background:rgba(0,0,0,0.2);padding: 0 20px;}
.single-post p.post-meta a {color: #fff;font-weight: 700;}
*/
.single-post p.post-meta a:last-child, .single-post .et_pb_title_meta_container a:last-child{display:none;}
.single-post .et_pb_title_meta_container {margin-bottom: 20px;}
.single-post p.post-meta .author a, .single-post .et_pb_title_meta_container .author a  {display:inline;}

/*ARCHIVE*/
.archive #main-content {padding-bottom: 20px !important;}
.archive #main-content article {margin-bottom: 60px;display: flow-root;}
.archive #main-content article img {width: 50%;float: left;margin-right: 30px;}

/*FOOTER*/
#menu-footer-menu {text-align:center;}
.bottom-nav li.current-menu-item>a {color:#ff0554}

@media only screen and ( max-width: 1510px ) {
#top-menu-nav, #top-menu {display: none;}
#et_top_search {display: none;}
#et_mobile_nav_menu {display: block;}
}

@media only screen and ( max-width: 960px ) {
	.baseli {font-size:12px;margin-left:20px}	
	/*.single-post .entry-title {top: calc(10vh);font-size: 18px;padding:10px;position: inherit;left: auto;width: auto;}
	.single-post p.post-meta {font-size: 12px;line-height: 1.2em;top: calc(24vh);padding: 10px;width: 100%;bottom: inherit;}*/
}

@media only screen and ( max-width: 730px ) {
	.baseli {display:none;}	
	/*.single-post .entry-title {top: calc(10vh);font-size: 18px;padding: 0 20px;position: inherit;left: auto;width: auto;}*/
	/*.single-post p.post-meta {font-size: 12px;line-height: 1.2em;top: calc(24vh);padding: 0 20px;}*/
	.alignright, .alignleft {float:none !important;}
	   
}

@font-face {
    font-family: 'nimbussannovtotsembolregular';
    src: url('font/nimbussannovtot-sembol-webfont.woff2') format('woff2'),
         url('font/nimbussannovtot-sembol-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'nimbussannovtotregular';
    src: url('font/nimbussannovtot-reg-webfont.woff2') format('woff2'),
         url('font/nimbussannovtot-reg-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'nimbussannovtotmedregular';
    src: url('font/nimbussannovtot-med-webfont.woff2') format('woff2'),
         url('font/nimbussannovtot-med-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'nimbussannovtotligregular';
    src: url('font/nimbussannovtot-lig-webfont.woff2') format('woff2'),
         url('font/nimbussannovtot-lig-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'nimbussannovtothearegular';
    src: url('font/nimbussannovtot-hea-webfont.woff2') format('woff2'),
         url('font/nimbussannovtot-hea-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'nimbussannovtotbold';
    src: url('font/nimbussannovtot-bol-webfont.woff2') format('woff2'),
         url('font/nimbussannovtot-bol-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'nimbussannovtotblaregular';
    src: url('font/nimbussannovtot-bla-webfont.woff2') format('woff2'),
         url('font/nimbussannovtot-bla-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'nimbussannovtotultligregular';
    src: url('font/nimbussannovtot-ultlig-webfont.woff2') format('woff2'),
         url('font/nimbussannovtot-ultlig-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}