/*
 Theme Name:   Overlay Child
 Theme URI:    
 Description:  Overlay Child Theme
 Author:       Remi Siorat
 Author URI:   
 Template:     overlay
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  overlaychild
*/

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500&display=swap');

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
}

body #page .site-header .site-bar-inner {
    background-color: transparent !important;
}
body #page header.site-header {
    background-color: #dcdcdc;
    background-image: url('http://v2.thebridgetank.org/wp-content/uploads/2020/05/fond-entete.jpg');
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: cover;
}

body .content-area {
    width: 80%;
}
body .widget-area {
    width: 20%;
}


#overlay-topbar-menu li.current_page_item {
    display: none;
}
.site-logo-title .site-description {
    font-size: 20px;
    padding-left: 14px;
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
}

.main-navigation.overlay-nav-plain ul > li > a {
    font-family: 'Oswald', sans-serif;
    font-weight: 300;
}
.main-navigation.overlay-nav-plain ul > li > a > i {
    margin-right: 4px;
}


#site-navigation.main-navigation ul > li > a {
    color: #404040;
    padding-left: 18px;
}
.main-navigation.overlay-nav-plain ul > li > a:hover {
    background-color: #613272;
}

.main-navigation.overlay-nav-plain .current_page_item > a {
    background-color: #000000;
}

#site-navigation.main-navigation ul > li.current-menu-item > a,
#site-navigation.main-navigation .current_page_item > a {
    background: #000000 !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
}

#overlay-topbar-menu li.current-lang {
    display: none;
}
#overlay-topbar-menu li.lang-item-zh {
    display: none;
}

.widget-area .widget-area-inner section h4.widget-title {
    color: #009DCC;
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    padding-bottom: 3px;
    border-bottom-color: #009DCC;
    border-bottom-width: 3px;
    border-bottom-style: double;
}
.widget-area .widget-area-inner section h5 {
    color: #009DCC;
    font-weight: 400;
    font-size: 14px;
}
.widget-area .widget-area-inner section h5 i.fa {
    transform: rotate(45deg);
    margin-right: 10px;
}

.site-footer .widget-title {
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
    font-size: 22px;
}
.site-footer p {
    font-size: 11px;
}
.site-footer p:last-child {
    margin-bottom: 0;
}

.overlay-bottombar-default {
    font-family: 'Oswald', sans-serif;
    font-weight: 300;
    font-size: 11px !important;
}
.overlay-bottombar-default .site-bar-left,
.overlay-bottombar-one .site-bar-left {
    display: none;
}

.overlay-pagetitle-default {
    box-shadow: none;
}

.overlay-page-title .overlay-h-title {
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
    font-size: 26px;
/*    border-bottom: 4px double;
    padding-bottom: 10px;*/
}
.site-content-inner .site-main blockquote {
    border-left: 4px solid #e5133a;
    padding-left: 12px;
}
.site-content-inner .site-main p {
    font-weight: 400;
    text-align: justify;
}

.site-content-inner h2,
.su-posts-default-loop h2.su-post-title {
    border-bottom: 1px solid #cccccc;
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
    font-size: 35px;
    margin-bottom: 0px;
}
.site-content-inner h2 a,
.site-content-inner h2 a:hover,
.site-content-inner h2 a:visited {
    color: #e5133a;
}
.site-content-inner h2:after {
    border-bottom: 1px solid #cccccc;
    content: " ";
    display: block;
    width: 100%;
    height: 2px;
    margin-bottom: 2px;
}

.display-posts-listing {
    margin: 0;
    padding: 0;
}
.display-posts-listing .listing-item {
    border-bottom: 1px solid #e5133a;
    border-top: 1px solid #e5133a;
    padding: 10px 0 10px 0;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}
.display-posts-listing .listing-item:first-child {
    border-top-color: transparent;
}
.display-posts-listing .listing-item .image {
    order: 3;
    margin: initial;
    width: 30%;
    display: block;
    float: none;
    overflow: hidden;
    height: auto;
}
.display-posts-listing .listing-item .title {
    order: 2;
    display: block;
    width: 100%;
    margin-bottom: 10px !important;
    color: #e5133a;
    font-family: 'Oswald', sans-serif;
    font-weight: 400 !important;
    font-size: 24px !important;
    line-height: 34px !important;
}
.display-posts-listing .listing-item .excerpt {
    order: 4;
    width: 70%;
    padding-left: 20px;
    font-weight: 400;
    color: #000000;
    font-size: 14px;
    line-height: 18px;
    display: block;
}
.display-posts-listing .listing-item .date {
    order: 1;
    display: block;
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    color: #616161;
}
.display-posts-listing .listing-item .category-display {
    order: 5;
    display: block;
    width: 100%;
    margin-top: 10px;
    font-size: 12px;
    font-family: 'Open Sans', sans-serif;
}
.display-posts-listing .listing-item .excerpt-more {
    display: block;
    margin-top: 20px;
    color: #e5133a;
}
.display-posts-listing .listing-item .excerpt-more:hover {
    color: #a01920;
}
.display-posts-listing .listing-item .excerpt-more:before {
    display: inline-block;
    content: "\f124";
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    transform: rotate(45deg);
    margin-right: 10px;
}

.su-posts-default-loop {
   
}
.su-posts-default-loop .su-post {
    border-bottom: 1px solid #e5133a;
    border-top: 1px solid #e5133a;
    padding: 10px 0 10px 0;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}
.su-posts-default-loop .su-post .su-post-thumbnail {
    order: 2;
    margin: initial;
    width: 20%;
    display: flex;
    float: none;
    overflow: hidden;
}
.su-posts-default-loop .su-post .su-post-thumbnail img {
    max-width: none;
    max-height: none;
}
.su-posts-default-loop .su-post .su-post-title {
    order: 1;
    display: block;
    width: 100%;
    margin-bottom: 10px !important;
    color: #e5133a;
    font-family: 'Oswald', sans-serif;
    font-weight: 400 !important;
    font-size: 24px !important;
    line-height: 34px !important;
}
.su-posts-default-loop .su-post .su-post-meta {
    margin: 0;
}
.su-posts-default-loop .su-post .su-post-excerpt {
    order: 3;
    width: 80%;
    padding-left: 20px;
    font-weight: 400;
    color: #000000;
    font-size: 14px;
    line-height: 18px;
}
.su-posts-default-loop .su-post .su-post-comments-link {
    order: 4;
    margin-top: 10px;
    width: 100%;
    display: block;
}



.wp-block-latest-posts.wp-block-latest-posts__list {
    margin-left: 0px;
    padding-left: 0px;
}

.wp-block-latest-posts.wp-block-latest-posts__list li {
    border-bottom: 1px solid #e5133a;
    border-top: 1px solid #e5133a;
    padding: 40px 0 10px 0;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}
.wp-block-latest-posts.wp-block-latest-posts__list li div:nth-child(1) {
    order: 2;
    margin: initial;
    width: 20%;
}
.wp-block-latest-posts.wp-block-latest-posts__list li a {
    order: 1;
    display: block;
    width: 100%;
    margin-bottom: 10px;
    color: #e5133a;
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 34px;
}
.wp-block-latest-posts.wp-block-latest-posts__list li div:nth-child(3) {
    order: 3;
    width: 80%;
    padding-left: 20px;
    font-weight: 400;
    color: #000000;
    font-size: 14px;
    line-height: 18px;
}

.wp-block-latest-posts.wp-block-latest-posts__list li:first-child {
    border-top-color: transparent;
}

.yrc-name-date {
    margin-bottom: 10px !important;
    padding-bottom: 10px !important;
    border-bottom: 1px solid #009dcc;
}
/*
.yrc-item-title {
    font-size: 12px !important;
    line-height: 12px !important;
}
.yrc-video-date, .yrc-video-views {
    font-size: 10px !important;
}

#ctf {
    font-size: 14px !important;
}
*/

article.type-page {
    margin-right: 100px;
}

.elementor-widget-text-editor,
.elementor-widget-image-box .elementor-image-box-content .elementor-image-box-description {
    font-family: "Open-sans", sans-serif !important;
    color: #000000 !important;
}
.elementor-widget-heading .elementor-heading-title {
    border-bottom: 1px solid #cccccc;
    font-family: 'Oswald', sans-serif !important;
    font-weight: 400 !important;
    font-size: 35px;
    margin-bottom: 0px !important;
    color: #e5133a !important;
    margin-top: 50px !important;
    line-height: 1.5 !important;
}
.elementor-widget-heading.h2-home .elementor-heading-title {
    margin-top: 0 !important;
}
.elementor-widget-heading .elementor-heading-title:after {
    border-bottom: 1px solid #cccccc;
    content: " ";
    display: block;
    width: 100%;
    height: 2px;
    margin-bottom: 2px;
}

section:first-child .elementor-widget-heading .elementor-heading-title {
    margin-top: 0px !important;
}
.elementor-text-editor p {
    font-size: 14px;
    line-height: 16px;
}
.elementor-widget-image-box .elementor-image-box-content .elementor-image-box-description {
    font-size: 14px;
    line-height: 16px;
}
.elementor-widget-image-box .elementor-image-box-content .elementor-image-box-title {
    color: #613272 !important;
    font-size: 20px;
    font-family: "Open-sans", sans-serif !important;
    font-weight: 400;
}
.elementor-widget-wrap {
    justify-content: space-between;
}
.elementor-widget-wrap>.elementor-element.trombinoscope {
    width: 30%;
    margin: 22px 0;
    background: #f7f7f7;
    padding: 10px 0;
}
.elementor-widget-wrap>.elementor-element.trombinoscope .elementor-image-box-wrapper .elementor-image-box-img {
    width: 80% !important;
}
.elementor-widget-wrap>.elementor-element.trombinoscope .elementor-image-box-wrapper .elementor-image-box-title {
    margin-bottom: 5px;
}
.elementor-widget-wrap>.elementor-element.trombinoscope .elementor-image-box-wrapper .elementor-image-box-description {
    text-align: center;
}

.youtube-txt {
    font-size: 13px;
    line-height: 1.3;
    margin: 10px 0 20px;
    display: block;
}
.youtube-txt i.fa {
    transform: rotate(45deg);
    margin-right: 10px;
}

/*
.elementor-widget-image.button-category figure {
    border: 1px solid #d7d7d7;
    padding: 4px;
}
.elementor-widget-image.button-category figure img {
    
}*/



@media only screen and (max-width: 980px) {
    body.admin-bar .overlay-menu-rightside .menu-main-menu-container,
    .overlay-menu-rightside div#overlay-main-menu {
        background-color: #8f8f8f !important;
        padding-left: 0px !important;
        padding-right: 0px !important;
        border-left: 1px solid #5a5a5a;
    }
    #site-navigation.main-navigation ul > li > a {
        color: #f7f7f7 !important;
    }
    #site-navigation.main-navigation ul > li > a:focus {
        color: #f7f7f7 !important;
        outline: none;
    }
    body.admin-bar .overlay-menu-rightside .main-menu-close,
    body.admin-bar .overlay-menu-leftside .main-menu-close {
        color: #e2e2e2;
        padding-top: 3px;
    }
    .wp-block-latest-posts.wp-block-latest-posts__list,
    .site-content-inner h2 {
        margin-right: 0px;
    }

    article.type-page {
        margin-right: 0px;
    }
}

@media only screen and (max-width: 480px) {
    .wp-block-latest-posts.wp-block-latest-posts__list li div:nth-child(1),
    .wp-block-latest-posts.wp-block-latest-posts__list li div:nth-child(3) {
        width: 100%;
        padding-left: 0px;
    }

    .elementor-widget-wrap>.elementor-element.trombinoscope {
        width: 100%;
    }
}