/*
 Theme Name: SEO Mag Child
 Theme URI: https://www.wprank.net
 Description: This is a child theme for SEO Mag.
 Version: 1.0.0
 Author: CreaNico / WP Rank
 Author URI: https://www.creanico.fr
 Template: seomag
 Text Domain: seomag-child
*/

/* Page accueil */
section.latest-post-selection{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}
@media (min-width: 992px) {
    section.latest-post-selection > article {
        width: 25%;
    }
}
@media (max-width: 991px) {
    section.latest-post-selection > article {
        width: 100%;
    }
}
body.light #header, body.light #search-popup .popup, body.light #header nav ul.sub-menu{
    background-color: #37d1fe!important;
}
footer#footer .bottom{
    border-top: 2px solid #000000;
    background-color: #37d1fe;
}
li.menu-item > a{
    color: #ffffff!important;
    font-size: 1.25rem!important;
}
svg > path{
    fill: #ffffff!important;
}
header#header{
    border-bottom: 2px solid #000000;
}
.container{
    max-width: 1210px!important;
}
header#header .inner .menu nav ul:not(.sub-menu) > li > a:not(.button)::before, #header .inner .menu nav ul.sub-menu > li.menu-item >a::before{
    border-color: #ffffff!important;
}
section.latest-post-selection article{
    margin-bottom: 0;
}
header div.site-navigation{
    background-color: #37d1fe!important;
}
main.entry.builder .entry-layout .contents img{
    height: auto;
}
/* Page tuto */
div.grid-center-noBottom div.col-9_sm-12{
    flex-basis: unset;
    max-width: 100%;
}
.rc-grid{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}
section.rc-grid a{
    margin: 0.5rem;
}

/* Page blog - interview */
.posts .post a .thumbnail img{
    height: auto!important;
}
.posts .post a .thumbnail{
    height: auto!important;
}
.posts .post a .details {
    margin: 0 auto 0!important;
    width: 100%!important;
}
div.cat{
    display: none!important;
}
div.post{
    box-shadow: 7px 5.7px 12.1px 0.9px rgba(30, 30, 30, 0.15);
    background-color: #ffffff;
}
.home .entries .entry a .thumbnail img, .home .entries .entry a .thumbnail{
    height: auto;
}
.home .entries .entry a .details {
    margin: 0 auto 0;
}

body.light.home .entries .entry a .details .category{
    display: none;
}
.home .entries .entry a .details{
    padding: 0;
}
.home .entries.sc{
    margin-top: 30px;
    margin-bottom: 30px;
}
.entries .entry a div.thumbnail{
    height: auto;
}
.entries .entry a div.details{
    margin: 0;
    padding: 0;
    width: 100%;
}
[class*="gridlex-"]>[class*="gcol-8"]{
	flex-basis: 33.33333%!important;
    max-width: 33.33333%!important;
}