/*
 Theme Name:   BVBR V2
 Description:  Thème enfant de Accesspress Mag pour BVBR
 Author:       Jibograf
 Author URI:   https://jibograf.com
 Template:     accesspress-mag
*/

body, button, input, select, textarea{
    font-size: 16px;
}
a {
    color: #4db148;
}
a:hover {
    color: #21801c;
}
.wp-block-button__link {
    background-color: #4db148;
}
h1.entry-title {
    text-transform: none;
}
.logo-ad-wrapper {
    background: none;
}
#site-navigation {
    background: #4eb149;
}

#site-navigation ul li a,
#site-navigation ul li a:hover {
    color: #fff !important;
}

#site-navigation ul:not(.sub-menu):hover li:not(:hover) a {
    opacity: 0.6;
}
#site-navigation ul.sub-menu li:not(:hover) a {
    opacity: 1 !important;
}
#site-navigation ul li.current-menu-item {
    background: rgba(0,0,0,0.1);
}
#site-navigation ul li.focus > a, #site-navigation ul li.current-menu-item > a, #site-navigation ul li.current-menu-ancestor > a {
    color: #fff;
}
#site-navigation ul.sub-menu {
    background: #4db148;
}
#site-navigation .menu ul li ul li {
    border-bottom: none;
}
#site-navigation .menu ul li ul li:hover{
    border-bottom: none;
}

.site-branding {
    max-width: 100px;
    margin: auto;
    float: none;
}
@media (min-width: 768px) {
    .site-branding {
        max-width: 140px;
    }
    #site-navigation ul.menu > li:first-child {
        padding-left: 18px;
    }
    #site-navigation .nav-wrapper {
        float: none;
    }
    #site-navigation .nav-wrapper > .menu {
        text-align: center;
    }
    #menu-menu-principal {
        display: inline-flex !important;
    }
}
@media (max-width: 767px) {
    .logo-ad-wrapper {
        padding: 0;
    }
    .nav-wrapper .nav-toggle {
        margin-top: 0 !important;
    }
}
.top-menu-wrapper,
.apmag-news-ticker,
.main-navigation .search-icon,
.home #secondary-right-sidebar .sidebar-title {
    display: none;
}
/*
@media (min-width: 768px){
    .nav-wrapper {
        margin: auto;
        display: block;
        width: inherit;
    }
    .nav-menu {
        display: block;
        width: fit-content;
    }
}
*/
.home .first-block-wrapper .top-post .post-image,
.home .second-block-wrapper .leftposts-wrapper .post-image {
    overflow: hidden;
    height: 230px;
    align-items: center;
}
.home .first-block-wrapper .top-post .post-image img,
.home .second-block-wrapper .leftposts-wrapper .post-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.home .second-block-wrapper .rightposts-wrapper .post-image,
#secondary .post-img{
    overflow: hidden;
    height: 80px;
    align-items: center;
}
.home .second-block-wrapper .rightposts-wrapper .post-image a,
#secondary .post-img a {
    height: 100%;
}
.home .second-block-wrapper .rightposts-wrapper .post-image a img,
#secondary .post-img a img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.post_image,
.post .post-image {
    overflow: hidden;
    max-height: 390px;
	display: flex;
    align-items: center;
}
.post .post-image a {
    height: 100%;
}
.post_image img,
.post .post-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.posted-on a{
    color: #4db148;
    font-weight: 500;
}

.blog .post .entry-content p,
.archive .post .entry-content p {
    margin-top: 20px;
}
