/*
Theme Name: Enbata 2022
Description: Theme enfant de BAM
Author: Pablo Ordas
Author URI: https: //pabloordasphoto.com
Template: bam 
Version: 0.1.0
*/

.bam-topbar{
    background: #dddddd;
}

.bam-topbar .bam-date{
    color: #FF4F4F;
}

.bam-topbar li#menu-item-wpml-ls-10-eu, .bam-topbar li#menu-item-wpml-ls-10-fr{
    float: right;
}

.bam-topbar .language-switcher {
    clear: none;
    display: inline-block;
    float: right;
    background: #dddddd;
}

.wpml-ls-statics-shortcode_actions a, .wpml-ls-statics-shortcode_actions .wpml-ls-current-language>a{
    background: #dddddd;
    color: #222222;
    display: block;
    padding: 0 10px;
    font-size: 14px;
    font-size: 0.875rem;
    text-decoration: none;
    font-weight: 600;    
}
.wpml-ls-statics-shortcode_actions a:hover, .wpml-ls-statics-shortcode_actions a:focus, .wpml-ls-statics-shortcode_actions .wpml-ls-current-language:hover>a, .wpml-ls-statics-shortcode_actions .wpml-ls-current-language>a:focus{
    background: #dddddd;
}

.wpml-ls-statics-shortcode_actions, .wpml-ls-statics-shortcode_actions .wpml-ls-sub-menu, .wpml-ls-statics-shortcode_actions a{
    border-color: transparent;
}

.wpml-ls-legacy-list-horizontal, .language-switcher #lang_sel_list{
    border: none;
    padding: 0;
}

.language-switcher #lang_sel_list .lang_sel_sel, .language-switcher #lang_sel_list .lang_sel_other{
	background: transparent;
    color: #222222;
    display: block;
    padding: 8px 10px;
    font-size: 0.875rem;
    text-decoration: none;
    font-weight: 600;
	font-family: "Source Sans Pro", Graphik, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.language-switcher ul li{
    padding: 0;
    margin: 0;
    list-style-type: none;
    display: inline-block;
	width: 40px!important;
}

#lang_sel_list a, #lang_sel_list a:visited{
	border: 0px;
}

.menu-principal-accueil, .menu-item-75367{
    background: #FF4F4F;
}

.site-header.default-style .main-navigation .current_page_item.menu-item-75367 > a, .site-header.default-style .main-navigation .current-menu-item.menu-item-75367 > a{
	color: white;
}

.site-header.default-style .main-navigation #primary-menu #menu-item-1221 a, .site-header.default-style .main-navigation .current_page_item > a, .site-header.default-style .main-navigation .current-menu-item > a, .site-header.default-style .main-navigation .current_page_ancestor > a, .site-header.default-style .main-navigation .current-menu-ancestor > a{
	color: white;
}

div#site-navigation-inner{
    max-width: 100%;
}

#blog-entries .categorie-affichee{
    background: #FF4F4F;
    color: white;
    padding: 6px;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: bold;
}

.grid-style.th-grid-2 .bam-entry.article-num-1{
    width: 100%;
    float: left;
    margin-left: 0;
}

.grid-style.th-grid-2 .bam-entry:nth-of-type(2n){
    float: left;
    margin-left: 0;
}

.grid-style.th-grid-2 .bam-entry{
    margin-left: 4.301075268817204%;
    float: right;
}

.grid-style .bam-entry.th-col-1{
    clear: none;
}

.widget-newsletter form{
    width: 100%;
}

.widget-newsletter, .widget-soutenez-enbata{
}

.widget-newsletter input#nom, .widget-newsletter input#email-newsletter{
    background: #dddddd;
    width: 100%;
    margin-bottom: 10px;
}

.widget-soutenez-enbata .btn-red{
    border: none;
    border-radius: 3px;
    background: #FF4F4F;
    color: #ffffff;
    cursor: pointer;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1;
    padding: 1em 1.5em;
    text-transform: uppercase;
}

a.btn-red-cat{
    border: none;
    border-radius: 3px;
    background: #FF4F4F;
    color: #ffffff;
    cursor: pointer;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
    margin-right: 5px;
    padding: 3px 7px;
}

.btn-white-cat{
    border: none;
    border-radius: 3px;
    background: #ffffff;
    border: 1px solid #ff4f4f;
    color: #FF4F4F;
    cursor: pointer;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
    margin-right: 5px;
    padding: 3px 7px;
}

article .entry-content img, article .entry-content figure{
    width: 100%!important;
}



.widget ul.wp-block-categories-list li {
    display: inline;
}

.widget-area .wp-block-categories-list li a{
    background: #FF4F4F;
    color: #ffffff;
    padding: 2px;
    font-size: 12px;
}

.widget-area h3, .widget-area h2, .widget-area h4{
    font-family: "Roboto Condensed", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-weight: normal;
    line-height: 1.2;
    font-size: 1.75rem;
    text-transform: none;
    color: black;
    border-bottom: none;
}

.widget{
    margin: 0;
}

.widget-area section{
    padding-bottom: 30px;
    border-bottom: 1px solid #dddddd;
}

.widget-area #ai1ec_agenda_widget-4 h4.widget-title{
    margin: 1em 0;
}

.blog-entry-content h2.entry-title{
    min-height: 90px;
}

.blog-entry-content .chapeau-1{
    font-weight: bold;
    min-height: 200px;
}


.blog-entry-content .chapeau-2{
    font-style: italic;
    min-height: 300px;
}

/* MAJ MIN HEIGHT ARTICLES */
.blog-entry-content .chapeau-1, .blog-entry-content .chapeau-2, .blog-entry-content h2.entry-title{
    min-height: 0;
}
/*
.site-main article img{
    height: 300px;
    width: 450px;
}*/

article.article-num-1 .blog-entry-content h2.entry-title, article.article-num-1 .blog-entry-content .chapeau-1, article.article-num-1 .blog-entry-content .chapeau-2{
    min-height: inherit;
}

.site-main article.article-num-1 img{
    height: inherit;
    width: 100%;
}

.site-main article.article-num-1 img.author-photo{
    height: 30px;
    width: 30px;
}

.article-miniature-auteur{
    background: #e5e5e5;
    margin-bottom: 20px;
}

.article-miniature-auteur .auteur-infos{
    padding: 20px 40px;
    font-family: Georgia, "Times New Roman", Times, serif;
}

.article-miniature-auteur .auteur-name{
    text-transform: uppercase;
    font-weight: bold;
    color: black;
}

.article-miniature-auteur .auteur-desc{
    padding-bottom: 10px;
}
.article-miniature-auteur .auteur-link{
    text-decoration: underline;
}

.blog-entry-inner img.attachment-home-thumb-first.size-home-thumb-first.wp-post-image, .blog-entry-inner img.attachment-home-thumb-others.size-home-thumb-others.wp-post-image {
    padding-bottom: 15px;
}

.site-main article.article-num-1 .size-home-thumb-first img{
	width: 100%;
}

article.article-num-1 .blog-entry-inner h2.entry-title{
    font-size: 34px;
}

.buttons-additonnals{
    float: right;
    position: relative;
    right: 50px;
}


.buttons-additonnals ul{
    list-style: none;
    margin: 0;
    padding-left: 0;
    background: black;
    background-color: black;
    color: white;
}

.widget-area .widget-newsletter h3{
    margin-top: 0;
}

.bam-related-posts{
    border: 1px solid #969696;
    color: #969696;
}

.bam-related-posts ol{
    padding-left: 60px;
    margin-left: 20px;
}

.bam-related-posts ol a{
    color: #969696;   
}

.bam-related-posts .related-section-title{
    color: #969696;
    padding-left: 30px;
    padding-top: 20px;
    text-transform: none;
    margin-bottom: 0;
}

.bloc-share-buttons-after-post .btn-red{
    border: none;
    border-radius: 100%;
    background: #FF4F4F;
    color: #ffffff;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    padding: 1em 1.5em;
    line-height: 20px;
    text-transform: uppercase;
    width: 45px;
    height: 45px;
    display: inline-block;
}

.bloc-share-buttons-after-post{
    padding-bottom: 20px;
    display: inline-block;
}

.widget-soutenez-enbata-after-content{
    float: right;
}

.widget-soutenez-enbata-after-content .btn-red{
    border: none;
    border-radius: 3px;
    background: #FF4F4F;
    color: #ffffff;
    cursor: pointer;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1;
    padding: 1em 1.5em;
    text-transform: uppercase;
}

ul#menu-menu-bas-de-page-comprendre li:first-child a , ul#menu-menu-bas-de-page-opinion li:first-child a, ul#menu-menu-bas-de-page-debat li:first-child a, ul#menu-menu-bas-de-page-solidarites li:first-child, 
ul#menu-menu-bas-de-page-ulertu li:first-child a , ul#menu-menu-bas-de-page-iriztia li:first-child a, ul#menu-menu-bas-de-page-eztabaida li:first-child a, ul#menu-menu-bas-de-page-elkartasunak li:first-child{
  text-transform: uppercase;
}

.article-miniature-auteur img.wp-user-avatar.wp-user-avatar-350.alignmm.avatar.avatar.avatar-350.photo {
    width: 100%;
}

.st-cmp-settings{
	display:none!important;
}

.header-sidebar .metaslider .flexslider{
	margin: 0px;
}

.header-sidebar .metaslider ol.flex-control-nav.flex-control-paging{
	display: none;
}

#st-cmp-v2 .st-cmp-app{
	position: relative!important;
}

@media screen and (min-width: 992px) and (max-width: 1130px) {
	.header-sidebar{
		width: 560px;
	}
}

@media screen and (min-width: 769px) and (max-width: 991px) {
	.header-sidebar{
		width: 350px;
	}
}

  /* For mobile phones: */
@media only screen and (max-width: 768px) {
    .buttons-additonnals{
        width: 100%;
        float: left;
        right: 0;
        background: black;
        padding-left: 30px;
        padding-right: 30px;
    }
    .buttons-additonnals ul{
        background-color: black;
        padding: 0;
    }

    .blog-entry-content .chapeau-1, .blog-entry-content .chapeau-2{
        text-align: justify;
    }

    .blog-entry-content h2.entry-title, .blog-entry-content .chapeau-2, .blog-entry-content .chapeau-1{
        min-height: inherit;
    }

    #secondary.widget-area{
        text-align:  center;
    }

    #secondary.widget-area .widget-newsletter{
        padding-top:20px;
    }

    #secondary.widget-area .widget-newsletter #submit{
        width: 100%;
    }

    #secondary.widget-area .widget-soutenez-enbata .btn-red{
        width: 100%;
        display: block;
    }

    .widget{
        margin: 0;
    }

    #secondary.widget-area section{
        padding-bottom: 20px;
        margin-bottom: 20px;
    }

    .footer-widget-area.clearfix.th-columns-3{
        text-align: center;
    }

    .content-area article h1.entry-title, .content-area article .entry-content{
        text-align: justify;
    } 

    .widget-soutenez-enbata-after-content{
        float: none;
        padding-bottom: 30px;
    }
	
	article .sharethis-inline-share-buttons.st-has-labels .st-btn.st-remove-label{
		min-width: 80px!important;
	}
	
	article .sharethis-inline-share-buttons.st-has-labels .st-btn.st-remove-label > span{
		display: block!important;
	}
	
	article .sharethis-inline-share-buttons.st-has-labels .st-btn {
		min-width: 80px!important;
	}
}
