
@media only screen and (max-width: 960px)
{

    #open-pageslide .icomoon-menu {
        display: inline-block;
        font-style: normal;
        font-variant: normal;
        text-rendering: auto;
        line-height: 1;
    }

    #open-pageslide .icomoon-menu:after {
        content: "";
        display: inline-block;
        width: 18px;
        height: 18px;
        background: url(../images/menu_icon.svg) no-repeat;
        background-size: contain;
        transform: scale(1.2);
        position: absolute;
        left: 0px;
        top: 27px;
    }
    #open-pageslide .icomoon-menu:before {
        content: "";
        border: unset
    }
    /* #open-pageslide .icomoon-menu:before {
        content: "";
        border: 2px solid;
        border-radius: 4px;
        width: 24px;
        height: 24px;
        position: absolute;
        left: -16px;
        left: 1px;
        top: 21px;
    } */
}


@media only screen and (min-width: 751px)
{
    .category-posts .entry-image img,
    .featured-posts .entry-image img,
    .format-posts .entry-image img,
    .grid-layout .entry-image img,
    .latest-reviews .entry-image img,
    .related-posts .entry-image img,
    .slider-latest .posts-slider .slides li img
    {
        object-fit: cover;
        height: 100%!important;
    }
}



@media only screen and (max-width: 478px)
{
    /* Header Hero image sizes*/
    .posts-slider li>figure {
        position: relative;
        height: calc(100vw - 30px);
        overflow: hidden;
    }
    #content .flexslider .slides img {
        width: unset;
        max-width: unset;
        height: calc(100vw - 30px);
        position: absolute;
        left: 50%;
        top : 50%;
        transform: translate(-50%, -50%);
    }
    /* Header article height */
    .posts-slider.flexslider .slides li {
        max-height: unset;
    }

    /* ----------------------------------------------------------------------------- */
    /* all articles image size aspect 4:3 */
    section .entries article > figure {
        position: relative;
        height: calc(80vw - 30px);
        overflow: hidden;
    }
    section .entries article > figure.entry-image img{
        min-height  : unset !important;
        width       : unset !important;
        height      : calc(80vw - 30px) !important;
        max-width: unset;
        position: absolute;
        left: 50%;
        top : 50%;
        transform: translate(-50%, -50%);
    }

    /* ----------------------------------------------------------------------------- */
    /* Homepage Featured posts image sizes */
    body.home section.featured-posts .entries article > figure {
        position: relative;
        height: calc(100vw - 30px);
        overflow: hidden;
    }
    body.home section.featured-posts .entries article > figure.entry-image img {
        min-height  : unset !important;
        width       : unset !important;
        height      : calc(100vw - 30px) !important;
        max-width: unset;
        position: absolute;
        left: 50%;
        top : 50%;
        transform: translate(-50%, -50%);
    }

    /* ---------------------------------------------------------------------------- */
    /* Page article h2 margin */

    .entry-content h2,
    .page-content h2,
    .title-text h2 {
        margin-left: 2.5%;
        width: 95%;    
        font-size: 33px;
    }
    .entry-content h3,
    .page-content h3,
    .title-text h3 {
        margin-left: 2.5%;
    }
    .entry-content h4,
    .page-content h4,
    .title-text h4 {
        margin-left: 2.5%;
    }
}




/* Article size responsive 0125 */
body.single-post .wrapper .grids {
    position: relative;
    margin-left: 0px;
    margin-right: 0px;
    width: 100%;
}

body.single-post .wrapper .grids .grid-8.column-1 {
    position: relative;
    width: 100%;
    margin-left: 0px;
    margin-right: 0px;
    width: 100%;
}

/* .header-banner {
    overflow : hidden;
} */

.header-banner .ad-block {
    float: right;
    width: 100%;
	overflow: hidden;
    text-align: center;
    max-width : 728px;
}
.header-banner .ad-block iframe {
    margin-top: 0px;
}

.header .inner {
    display: flex;
    justify-content: space-between;
}
.header .inner > .inner-cell {
    display: block;
}
.header .inner > .inner-cell:last-of-type {
    position : relative;
    /* flex-shrink: 0; */
    flex-grow: 1;
}


@media only screen and (max-width: 961px)
{

    /* .wrapper .grids {
        position: relative;
        margin-left: 0px;
        margin-right: 0px;
        width: 100%;
    }

    .wrapper .grids .grid-8.column-1 {
        position: relative;
        width: 100%;
        margin-left: 0px;
        margin-right: 0px;
        width: 100%;
    } */

    .header .inner {
        display: block;
    }
    .header .inner>.inner-cell {
        margin-bottom: 20px;
        margin-bottom: 10px!important;
    }
    .header .inner-cell {
        display: block;
        text-align: center;
    }
    .logo img {
        width: 15vh;
    }
    
    .header-banner .ad-block {
        float: unset;
        margin-top: 15px;
        margin-bottom: 15px;
    }

}


/* @media only screen and (max-width: 478px)
{
    .header-banner .ad-block {
        margin-top: 15px;
        margin-bottom: 15px;
        max-height : 80px;
    }
} */

.headerads_responsive {
    /* width: 320px; */
    width: 100%;
    height: 100px;
}
@media(min-width: 500px) {
    .headerads_responsive {
        width: 468px;
        height: 60px;
    }
}
@media(min-width: 800px) {
    .headerads_responsive {
        width: 728px;
        height: 90px;
    }
}

