/*--------------------------------------------------------------
7. Layouts
--------------------------------------------------------------*/
.herald-section article {
    position: relative;
    min-height: 1px;
    padding-left: 20px;
    padding-right: 20px;
    display: block;
    vertical-align: top;
    float: left;
}
.herald-module.col-lg-12{
    clear: both;
}
.herald-txt-module{
    clear: both;
}
.row-eq-height {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    clear: both;
}
_::-moz-svg-foreign-content, :root .row-eq-height {
    display: block;   
}
div.row-eq-height:before, 
div.row-eq-height:after { display: none }

.herald-hor-col {
    padding-left: 20px;
    padding-right: 20px;
    float: left;
}

.herald-md-col {
    float: left;
    width: 48.4%;
}


//Layout A
.herald-lay-a {
    width: 100%;
    margin-bottom: 40px;
    max-width: 1020px;
    .herald-lay-over {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        left: 50%;
        width: 740px;
        margin-left: -370px;
        z-index: 10;
        padding: 35px 30px;
        .entry-content p {
            margin-bottom: 0;
        }
        .herald-read-more{
            margin-top: 16px;
        }
    }
    .col-mod {
        float: none;
        margin: 0 auto;
    }
    .col-mod {
        margin-top: 30px;
        width: 740px;
    }
    .entry-meta {
        margin-top: 10px;
    }
    .entry-header {
        margin-bottom: 20px;
    }
    .entry-title {
        margin-bottom: 0;
    }
    .herald-read-more{
        margin-top: 0;
    }
    .meta-category a{
        font-size: 1.4rem;
    }
}

.herald-no-sid .herald-lay-a {
    .col-mod {
        margin-top: 30px;
    }
}

.herald-ovrld{
    display: flex;
    align-items: center;
    justify-content: center;
}

.herald-lay-a .herald-ovrld {
    .entry-header {
        position: absolute;
        top: 0;
        display: inline-flex;
        text-align: center;
        margin: 0;
        max-width: 600px;
        width: 100%;
        height: 100%;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        pointer-events: none;
        a{
            pointer-events: auto;
        }
    }
    .meta-category a {
        padding: 6px 12px;
        font-size: 1.4rem;
    }
    .meta-category {
        margin-bottom: 13px;
    }
    .entry-meta {
        margin-top: 15px;
    }
}

.herald-lay-a3 {
    .herald-lay-over {
        transform: none;
        bottom: -10px;
        top: initial;
        padding-bottom: 0;
        padding-top: 30px;
    }
    .entry-header {
        margin-bottom: 0;
        text-align: left;
    }
    .col-mod {
        width: 680px;
    }
    .herald-read-more{
        margin-top: 0;
    }
}

.herald-no-sid .herald-lay-a.herald-lay-a3 .herald-lay-over {
    padding-bottom: 0;
    padding-top: 30px;
}

//Layout B
.herald-lay-b {
    width: 100%;
    margin-bottom: 40px;
    max-width: 1020px;
    .herald-post-thumbnail,
    p {
        margin-bottom: 0;
    }
    .meta-category {
        line-height: 1.4rem;
    }
    .entry-meta {
        margin-top: 7px;
    }
    .entry-header {
        margin-bottom: 0;
    }
    .entry-content {
        margin-top: 15px;
    }
    .meta-category a{
        font-size: 1.4rem;
    }
}

//Layout C
.herald-lay-c,
.herald-site-content .herald-related .herald-lay-c {
    width: 100%;
    width: 510px;
    margin-bottom: 40px;
    .herald-post-thumbnail {
        margin-bottom: 21px;
    }
    .meta-category {
        line-height: 1.4rem;
    }
    .meta-category a{
        font-size: 1.4rem;
    }
    .entry-meta {
        margin-top: 7px;
    }
    .entry-header {
        margin-bottom: 0;
    }
    .entry-content {
        margin-top: 10px;
        p {
            margin-bottom: 0;
        }
    }
}

.herald-lay-c .herald-ovrld,
.herald-single .herald-lay-c .herald-ovrld{
    .entry-header {
        position: absolute;
        top: 0;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        text-align: center;
        max-width: 370px;
        width: 100%;
        height: 100%;
        pointer-events: none;
        a{
            pointer-events: auto;
        }
    }
    .meta-category {
        margin-bottom: 7px;
    }
    .entry-meta {
        margin-top: 9px;
    }
    .herald-post-thumbnail {
        margin-bottom: 0;
    }
}

//Layout D
.herald-lay-d,
.herald-site-content .herald-related .herald-lay-d {
    width: 100%;
    width: 510px;
    margin-bottom: 17px;
    .entry-header {
        margin-bottom: 0;
    }
    .meta-category {
        margin-bottom: 0;
    }
    .entry-meta {
        margin-top: 3px;
    }
}

//Layout E
.herald-lay-e,
.herald-site-content .herald-related .herald-lay-e {
    .herald-lay-c;
    margin-bottom: 15px;
    .entry-meta {
        margin-top: 3px;
    }
    .meta-category a{
        font-size: 1.3rem;
    }
}

//Layout F
.herald-lay-f,
.herald-site-content .herald-related .herald-lay-f {
    width: 100%;
    width: 340px;
    margin-bottom: 25px;
    .entry-meta {
        margin-top: 3px;
    }
    .entry-header {
        margin-top: 12px;
        margin-bottom: 0;
    }
    .entry-content {
        margin-top: 10px;
    }
}

.herald-lay-f .herald-ovrld,
.herald-single .herald-lay-f .herald-ovrld{
    .entry-header {
        position: absolute;
        top: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        height: 100%;
        width: 100%;
        max-width: 250px;
        text-align: center;
        margin-top: 0;
        z-index: 9999;
        pointer-events: none;
        a{
            pointer-events: auto;
        }
        
    }
    .meta-category {
        margin-bottom: 3px;
    }
    .meta-category a {
        font-size: 1.2rem;
        line-height: 1.4rem;
        padding: 4px 8px;
    }
    .entry-meta {
        .meta-item,
        span,
        a {
            font-size: 1.3rem;
        }
    }
}

.herald-lay-f1 {
    margin-bottom: 25px;
}

//Layout G
.herald-lay-g,
.herald-site-content .herald-related .herald-lay-g {
    width: 100%;
    width: 340px;
    margin-bottom: 25px;
    .herald-post-thumbnail {
        margin-bottom: 0;
    }
    .entry-meta {
        margin-top: 4px;
    }
    .entry-header {
        margin-bottom: 0;
    }
    .meta-category {
        margin-bottom: 0;
    }
}

//Layout H
.herald-lay-h,
.herald-site-content .herald-related .herald-lay-h {
    width: 100%;
    width: 340px;
    margin-bottom: 15px;
    .entry-header {
        margin-top: 0;
        margin-bottom: 0;
    }
    .entry-content p {
        margin-bottom: 0;
    }
    .entry-meta {
        margin-top: 2px;
    }
}

.herald-lay-h:last-child .entry-header {
    border-bottom: none;
    padding-bottom: 0;        
}

//Layout I
.herald-lay-i,
.herald-site-content .herald-related .herald-lay-i {
    width: 100%;
    width: 255px;
    margin-bottom: 20px;    
    .entry-header {
        margin-bottom: 0;
        margin-top: 12px;
    }
    .meta-category {
        margin-bottom: 0;
    }
    .entry-meta {
        margin-top: 3px;
    }
}
.herald-lay-i .herald-ovrld,
.herald-single .herald-lay-i .herald-ovrld {
    .entry-header {
        position: absolute;
        top:0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        text-align: center;
        max-width: 180px;
        width: 100%;
        height: 100%;
        z-index: 1000;
        margin-top: 0;
        padding: 0;
        pointer-events: none;
        a{
            pointer-events: auto;
        }
    }
    .meta-category {
        margin-bottom: 5px;
        a{
            font-size: 1rem;
            line-height: 13px;
            padding: 2px 4px;
        }
    }
    .entry-meta {
        margin-top: 9px;
    }
    .entry-meta-margin {
        margin-top: 3px;
    } 
    .herald-post-thumbnail {
        margin-bottom: 0;
    }
}

//Layout J
//Layout J
.herald-lay-j,
.herald-site-content .herald-related .herald-lay-j {
    width: 100%;
    width: 255px;
    margin-bottom: 15px;
    .entry-header {
        margin-bottom: 0;
    }
    .meta-category {
        margin-bottom: 0;
    }
    .entry-meta {
        margin-top: 3px;
    }
}

//Layout K
.herald-lay-k,
.herald-site-content .herald-related .herald-lay-k {
    width: 100%;
    width: 170px;
    margin-bottom: 20px;
    .entry-header {
        margin-bottom: 0;
        margin-top: 10px;
        .meta-item:after {
            display: none;
        }
    }
    .meta-category {
        margin-bottom: 0;
    }
    .entry-meta {
        margin-top: 3px;
    }
}

//Layout L
.herald-lay-l,
.herald-site-content .herald-related .herald-lay-l {
    margin-bottom: 15px;
    width: 100%;
    width: 170px;
    .entry-header {
        margin-bottom: 0;
        .meta-item:after {
            display: none;
        }
    }
    .meta-category {
        margin-bottom: 0;
    }
    .entry-meta {
        margin-top: 5px;
    }
}

//Layout 
.herald-no-sid {
    .herald-lay-a {
        max-width: 1360px;
        .herald-lay-over {
            margin-left: -380px;
            padding: 30px 40px;
        }
    }
    .herald-lay-b {
        max-width: 1360px;
    }
    .herald-lay-c {
        width: 680px;
    }
    .herald-lay-d {
        width: 680px;
    }
    .herald-lay-e {
        width: 680px;
    }
    .herald-lay-f {
        width: 453px;
    }
    .herald-lay-g {
        width: 453px;
    }
    .herald-lay-h {
        width: 453px;
    }
    .herald-lay-i {
        width: 340px;
    }
    .herald-lay-j {
        width: 340px;
    }
    .herald-lay-k {
        width: 225.9px;
    }
    .herald-lay-l {
        width: 225.9px;
    }
}
.owl-carousel {
    .herald-lay-a {
        width: 100%;
        padding: 0;
        max-width: 100%;
    }
    .herald-lay-b {
        width: 100%;
        padding: 0;
        max-width: 100%;
    }
    .herald-lay-c {
        width: 100%;
        padding: 0;
        max-width: 100%;
    }
    .herald-lay-d {
        width: 100%;
        padding: 0;
        max-width: 100%;
    }
    .herald-lay-e {
        width: 100%;
        padding: 0;
        max-width: 100%;
    }
    .herald-lay-f {
        width: 100%;
        padding: 0;
        max-width: 100%;
    }
    .herald-lay-g {
        width: 100%;
        padding: 0;
        max-width: 100%;
    }
    .herald-lay-h {
        width: 100%;
        padding: 0;
        max-width: 100%;
    }
    .herald-lay-i {
        width: 100%;
        padding: 0;
        max-width: 100%;
    }
    .herald-lay-j {
        width: 100%;
        padding: 0;
        max-width: 100%;
    }
    .herald-lay-k {
        width: 100%;
        padding: 0;
        max-width: 100%;
    }
    .herald-lay-l {
        width: 100%;
        padding: 0;
        max-width: 100%;
    }
}
.herald-slider.owl-carousel {
    margin: 0;
}
.owl-carousel .owl-stage-outer{margin: 0;}


.herald-ovrld .entry-header a {
    color: #FFF;
    &:hover {
        text-decoration: none;
        color: #FFF;
    }
}

.herald-ovrld {
    .entry-meta .meta-item,
    .entry-meta span,
    .entry-meta a {
        color: #FFF;
    }
    .meta-category {
        margin-bottom: 3px;
    }
    .meta-category a {
         -webkit-backface-visibility: visible;
        padding: 7px 8px;
        display: inline-block;
        vertical-align: top;
        -webkit-transition: all .2s ease;
           -moz-transition: all .2s ease;
            -ms-transition: all .2s ease;
             -o-transition: all .2s ease;
                transition: all .2s ease;
                margin-bottom: 2px;
        &:hover{
            color: #FFF;
        }
    }
    .herald-post-thumbnail {
        a,
        span {
            &:before {
                content: "";
                position: absolute;
                top: 0;
                left: 0;
                height: 100%;
                width: 100%;
                background: #000;
                -webkit-transition: .3s ease;
                transition: .3s ease;
                z-index: 1;
                -webkit-backface-visibility: hidden;
            }
        }
    }
    .entry-title {
         -webkit-backface-visibility: visible;
         clear: both;
        a:hover {
            color: #FFF;
        }
    }
    .entry-header {
        -webkit-filter: blur(0.2px);
         filter: blur(0px);
        position: relative;
        z-index: 1000;
         -webkit-backface-visibility: hidden;
    }
}




.stickit {
    margin-left: 660px;
    position: fixed;
    top: 0;
}

.stickit-end {
    bottom: 40px;
    position: absolute;
    right: 0;
}

.herald-ovrld {
    position: relative;
    .meta-category a {
        display: inline-block;
        vertical-align: top;
        text-align: center;
        border-radius: 2px;
        border-bottom: none;
    }
}
.widget .herald-ovrld {
    .entry-meta .meta-item:hover,
    .entry-meta span:hover,
    .entry-meta a:hover {
        color: #FFF;
    }
}
.herald-sidebar{
   .herald-lay-f,
   .herald-lay-g{
        max-width: 100%;
   } 
}
.col-mod-single .herald-ovrld,
.herald-sin-lay-6 .herald-ovrld,
.herald-sin-lay-9 .herald-ovrld  {
    margin-bottom: 30px;
}

.herald-ovrld{
    min-height: 150px;
    background: rgba(0,0,0,0.1);
}
.herald-lay-i1 .herald-ovrld {
    min-height: 100px;
}
.col-mod-single.col-mod-main .entry-title{
    margin-top: 0;
}