/*
 Theme Name:   simplemag-yolosoul
 Theme URI:    http://yolosoul.com/
 Description:  Yolosoul Theme
 Author:       Thomas MEVEL
 Author URI:   http://thomasmevel.com
 Template:     simplemag
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  simplemag-yolosoul
*/

@media only screen and (max-width: 750px) {
    .home-section {
        margin-top: 0;
    }
}

/* Set featured image full box width, on large resolution only */
@media (min-width: 1230px) {
    .base-image {
        max-width: 1230px;
    }

    .post .full-width-media {
        margin-bottom: 20px;
    }

    .post .full-width-media figure {
        text-align : center;
        overflow : hidden;
        vertical-align:middle;
        max-height : 540px;
        height: 850px;
        width:1230px;
    }

    .post .full-width-media img {
        position: relative;
        left: 50%;
        top: 50%;-webkit-transform: translate(-50%,-50%);
        -ms-transform: translate(-50%,-50%);
        transform: translate(-50%,-50%);
    }
}

/* Remove big letter at the beginning */
.single .entry-content > p:first-of-type:first-letter {
    font-size:100% !important;
    font-family:inherit !important;
    float:none !important;
    line-height:normal !important;
    font-weight:normal !important;
    padding:0 !important;
}

/* Margin below menu */
#masthead {    margin-bottom: 10px; }
.page-header {    margin-bottom: 10px; }

/* Main menu sub-items full-width inline */

#masthead .main-menu > ul > .sub-links-only {
    position:static;
}

#masthead .main-menu > ul > .sub-links-only > .sub-menu {
    width:100%;
    text-align:center;
}

#masthead .main-menu > ul > .sub-links-only > .sub-menu li {
    display:inline-block;
    font-size: inherit;
}

#masthead .main-menu .sub-links-only .sub-menu .sub-links a:after {
    display:none;
}

/* Smaller title */
.page-title .entry-title {
    font-size: 70% !important;
    font-weight: normal;
}

/* Disable sidebar in posts */
.single .grid-8 { width:100%; }
.single .grid-4 .sidebar { display:none; }

/* Disable parallax */
.title-with-bg {background-attachment:inherit;}
.home-section.full-width-section.content-over-image{background-attachment:inherit;}

.global-sliders .slick-list {
    max-height:540px;
    background-position: center;
    overflow : hidden;
}
