/*--------------------------------------------------------------
1.0 General
--------------------------------------------------------------*/

html {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

a {
    text-decoration: none;
}

embed,
iframe,
object {
    max-width: 100%;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    border: 0;
    -ms-interpolation-mode: bicubic;
}
ins{
    text-decoration: none;
}
.noselect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.clear{
  clear: both;
}

.herald-site-content {
    margin: 0 auto;
    position: relative;
    z-index: 1;
    width: 1400px;
    padding: 40px 0 1px 0;
    min-height: 67vh;
}

.entry-header {
    margin-bottom: 25px;
}

.herald-left{
    float: left;
}
.herald-right{
    float: right;
}
.herald-section{
  margin-bottom: 0;
}

.herald-section article:last-child,
.herald-fa-wrapper,
.herald-vertical-padding,
.herald-txt-module,
.herald-section article.herald-single:last-of-type{
  margin-bottom: 40px;
}


.herald-authors .author-col-2 {
    margin-bottom: 20px;
    img {
        margin-bottom: 0;
    }
    .entry-content p {
        font-size: 14px;
        line-height: 2.1rem;
        padding-top: 3px;
        margin: 0;
    }
}
.herald-authors .author-col-3 {
    margin-bottom: 26px;
    img {
        margin-bottom: 0;
    }
     h3 {
            margin-top: 3px;
            line-height: 2rem;
            margin-bottom: 0px;
        }
    .entry-content p {
        font-size: 13px;
        line-height: 1.7rem;
        padding-top: 6px;
        margin-bottom: 0;
        
    }
}

.herald-module,
.herald-section:last-child,
.herald-fa-wrapper article:last-child,
.widget article:last-child{
  margin-bottom: 0;
}

.herald-section-row {
    margin-left: -15px;
    margin-right: -15px;
    padding-left: 15px;
    padding-right: 15px;
    width: 75%;
    float: left;
    position: relative;
}
.herald-sidebar{
    margin-bottom: 30px;
}
.herald-sidebar a {
    -webkit-transition: all .2s ease;
    -moz-transition: all .2s ease;
    -ms-transition: all .2s ease;
    -o-transition: all .2s ease;
    transition: all .2s ease;
}


/*--------------------------------------------------------------
1.1 WP Classes / Alignments and Clearings
--------------------------------------------------------------*/

.alignleft {
    display: inline;
    float: left;
    margin-right: 20px;
}

.alignright {
    display: inline;
    float: right;
    margin-left: 20px;
}

.aligncenter {
    clear: both;
    display: block;
    margin: 0 auto 30px;
}
.alignnone {
    margin: 0 20px 30px 0;
}

.wp-caption {
  position: relative;
  max-width: 100%;
}
.wp-caption img[class*="wp-image-"] {
  display: block;
  margin: 0 auto;
}
.wp-caption-text {
  text-align: center;
  font-size: 80%;
  line-height: 1.6rem;
  color: #FFF;
}
.wp-caption-text {
  position: absolute;
  bottom: 20px;
  left: 0;
  background-color: rgba(0, 0, 0, 0.4);
  color: rgba(255, 255, 255, 0.8);
  z-index: 600;
  max-width: 30%;
  text-align: left;
  min-width: 140px;
  transition-delay: 0.4s;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  padding: 10px ;
}
.mfp-title{
    font-size: 1.3rem;
        color: #CCC;
}
.wp-caption:hover .wp-caption-text,
.herald-post-thumbnail-single:hover .wp-caption-text,
.meta-media:hover .wp-caption-text,
.meta-media:hover .gallery-item:hover .gallery-caption{
  background: rgba(0, 0, 0, 0.7);
  color: #FFF;
}
.meta-media:hover .gallery-item .gallery-caption{
    background-color: rgba(0, 0, 0, 0.4);
    color: rgba(255, 255, 255, 0.8);
}

.entry-title a {
    display: block;
    clear: both;
}

.entry-title a,
.comment-respond a,
.footer-bottom .herald-copyright a {
    -webkit-transition: .2s ease;
    transition: .2s ease;
}

.entry-content a,
.comment-respond a,
.comment-reply-link,
.footer-bottom .herald-copyright a {
    padding-bottom: 2px;
    border-bottom: 2px solid transparent;
    -webkit-transition: trans-prefix(border-bottom, border-bottom 0.15s ease-in, webkit);
    -moz-transition: trans-prefix(border-bottom, border-bottom 0.15s ease-in, moz);
    -ms-transition: trans-prefix(border-bottom, border-bottom 0.15s ease-in, ms);
    -o-transition: trans-prefix(border-bottom, border-bottom 0.15s ease-in, o);
    transition: border-bottom 0.15s ease-in;
}
/* Text meant only for screen readers. */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}
.entry-content div a,
.entry-content div a:hover{
    border-bottom: none;
    padding-bottom: 0;
}
/*--------------------------------------------------------------
1.2 Herald Section Title Styles
--------------------------------------------------------------*/
.herald-mod-wrap {
    position: relative;
    width: 100%;
    .herald-mod-title .herald-mod-h{
        margin-bottom: 0;
    }
    .herald-mod-title,
    .herald-mod-actions,
    .herald-mod-subnav {
        display: inline-block;
    }
    .herald-mod-subnav-mobile {
        display: none;
    }
    i.herald-sub-cat-icon {
        display: none;
    }
    .herald-mod-head {
        position: relative;
        margin-bottom: 20px;
        float: left;
        width: 100%;
        clear: both;
        &:after {
            position: absolute;
            content: "";
            height: 2px;
            width: 100%;
            bottom: -2px;
            left: 0;
        }
    }
    .herald-mod-h{
        padding: 0 14px 0 14px;
        border-radius: 2px 2px 0 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 29px;
        a i{
            padding: 0 0 0 10px;
            font-size: 12px;
        }
    }
    .herald-mod-subnav {
        position: absolute;
        top: 1px;
        margin-left: 15px;

        a {
            font-size: 1.4rem;
            line-height: 2.2rem;
            margin-right: 15px;
        }
    }
    .herald-mod-desc {
        margin-bottom: 30px;
        float: left;
        width: 100%;
        clear: both;
    }
    .herald-mod-actions {
        position: absolute;
        right: 0;
        bottom: 4px;
        a {
            font-size: 1.1rem;
            line-height: 2.4rem;
            text-transform: uppercase;
            border-radius: 2px;
            padding: 0 15px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            vertical-align: top;
            height: 26px
        }
    }
}
.archive .herald-mod-desc{
    margin-bottom: 10px;
}
.author .herald-mod-desc{
    margin-bottom: 30px;
}
.author .herald-mod-desc p{
    margin-top: 15px;
}
.herald-mod-desc .avatar{
    margin-top: -10px;
}

/*--------------------------------------------------------------
1.3 Slider controls
--------------------------------------------------------------*/

.herald-slider-controls .owl-prev,
.herald-slider-controls .owl-next {
    font-size: 1.1rem;
    text-transform: uppercase;
    border-radius: 2px;
    padding: 0 15px;
    display: inline-block;
    vertical-align: top;
    height: 26px
}

.herald-slider-controls {
    display: inline-block;
    vertical-align: top;
    margin-left: 8px;
    float: right;
    .owl-prev,
    .owl-next {
        width: 26px;
        height: 26px;
        text-align: center;
        padding: 0;
        font-size: 1.6rem;
        line-height: 2.4rem;
        .noselect;
        &:hover {
            cursor: pointer;
        }
    }
    .owl-next {
        margin-left: 8px;
        i {
            margin-right: -2px;
        }
    }
}

.meta-category {
    display: inline-flex;
    flex-wrap: wrap;
}

.meta-category i {
    margin-right: 7px;
    font-size: 1.7rem;
    color: #f08a46;
}

.meta-category a {
    display: inline-block;
    vertical-align: top;
}


/*--------------------------------------------------------------
1.4 Post formats
--------------------------------------------------------------*/

.sticky .entry-title a:before {
    content: "\f08d";
    font-family: "FontAwesome";
    margin-right: 8px;
}

.herald-format-icon {
    font-size: 14px;
    margin: -3px 8px 0 0;
    display: inline-block;
    text-align: center;
    line-height: 14px;
    vertical-align: middle;
}

.herald-pf-invert .herald-format-icon {
    color: #FFF;
    background: #000;
    height: 32px;
    width: 32px;
    border-radius: 50%;
    padding: 9px 0;
    margin: -5px 10px 0 0;
        -webkit-transition: all .3s ease;
           -moz-transition: all .3s ease;
            -ms-transition: all .3s ease;
             -o-transition: all .3s ease;
                transition: all .3s ease;
    .fa-play{
        margin-left: 3px;
    }
}
.herald-pf .herald-format-icon{
    background: #FFF;
    color: #000;
    height: 32px;
    width: 32px;
    border-radius: 50%;
    padding: 9px 0;
    margin: -5px 10px 0 0;
        -webkit-transition: all .3s ease;
           -moz-transition: all .3s ease;
            -ms-transition: all .3s ease;
             -o-transition: all .3s ease;
                transition: all .3s ease;
}

.herald-post-thumbnail {
    position: relative;
    text-align: center;   
    background-color: rgba(0,0,0,0.05); 
    .herald-format-icon {
        color: #FFF;
        position: absolute;
        top: 50%;
        background: rgba(0, 0, 0, 0.5);
        left: 50%;
        border-radius: 50%;
        text-align: center;
        -webkit-transition: all .3s ease;
           -moz-transition: all .3s ease;
            -ms-transition: all .3s ease;
             -o-transition: all .3s ease;
                transition: all .3s ease;
    }
    &:hover{
         .herald-format-icon{
            background: rgba(0, 0, 0, 0.8);
         }
    }
}
.herald-format-icon-big .herald-format-icon{
    width: 80px;
    height: 80px; 
    font-size: 26px;
    line-height: 26px;
    padding: 25px 15px;
    margin-top: -40px;
    margin-left: -40px;
    border: 3px solid #FFF;
    .fa-play{
        margin-left: 7px;
    }
}
.herald-format-icon-middle .herald-format-icon{
    width: 60px;
    height: 60px; 
    padding: 19px 18px;
    font-size: 18px;
    line-height: 18px;
    margin-top: -30px;
    margin-left: -30px;
    border: 2px solid #FFF;
    .fa-play{
        margin-left: 5px;
    }
}
.herald-format-icon-small .herald-format-icon{
    width: 40px;
    height: 40px; 
    font-size: 15px;
    line-height: 15px;
    margin-top: -20px;
    margin-left: -20px;
    padding: 11px 5px;
    border: 2px solid #FFF;
    .fa-play{
        margin-left: 3px;
    }
}
.herald-lay-a3{
    .herald-post-thumbnail .herald-format-icon{
        position: relative;
        top: initial;
        left: initial;
    color: #FFF;
    background: #000;
    border:none;
    }
}

/*--------------------------------------------------------------
1.5 Paginations
--------------------------------------------------------------*/

.herald-pagination {
    float: left;
    width: 100%;
    position: relative;
    border-top: 1px solid;
    padding-top: 35px;
    text-align: center;
    margin-bottom: 35px;
    .page-numbers {
        display: inline-block;
        font-size: 1.4rem;
        text-transform: uppercase;
        line-height: 2.8rem;
        min-width: 40px;
        height: 40px;
        padding: 5px;
        border-radius: 2px;
    }
    .page-numbers.dots:hover {
        background: transparent;
    }
    .prev,
    .next {
        position: absolute;
        top: 35;
        padding: 5px 10px;
        width: 186px;
    }
    .prev {
        left: 0;
        &:before {
            content: "\f104";
            font-family: "FontAwesome";
            margin-right: 8px;
        }
    }
    .next {
        right: 0;
        &:after {
            content: "\f105";
            font-family: "FontAwesome";
            margin-left: 8px;
        }
    }
    .herald-next {
        float: right;
        a {
            .herald-pagination > .page-numbers;
            padding: 5px 10px;
            width: 186px;
            &:after {
                content: "\f105";
                font-family: "FontAwesome";
                margin-left: 8px;
            }
        }
    }
    .herald-prev {
        float: left;
        a {
            .herald-pagination > .page-numbers;
            padding: 5px 10px;
            width: 186px;
            &:before {
                content: "\f104";
                font-family: "FontAwesome";
                margin-right: 8px;
            }
        }
    }
}

.herald-load-more {
    text-align: center;
    a {
        .herald-pagination > .page-numbers;
        padding: 5px 10px;
        width: 186px;
    }
}

.herald-ovrld .meta-category span {
    display: none;
}
.herald-ovrld .herald-post-thumbnail{
    width: 100%;
}

.herald-ovrld .meta-category a + span + a {
    margin-left: 10px;
}
.entry-header{
    .herald-date span:before,
    .herald-modified_date span:before,
    .herald-time span:before,
    .herald-comments a:before,
    .herald-author a:before,
    .herald-rtime:before,
    .herald-views:before{
    font-family: "FontAwesome";
    padding: 0px 0 3px 0;
    margin: 0 5px 0 0;
    text-align: left;
    float: left;
    }
    .herald-date span:before,
    .herald-modified_date span:before {              
    content: "\f017";               
    }
    .herald-time span:before{              
    content: "\f017";               
    }
    .herald-comments a:before{
    content: "\f0e6";
    }
    .herald-author a:before{
    content: "\f007";
    }
    .herald-rtime:before{
    content: "\f02d";
    }
    .herald-views:before{
    content: "\f06e";
    }
    .meta-small .meta-item span:before,
    .meta-small .meta-item a:before,
    .meta-small .meta-item div:before{
        margin: 1px 5px 0 0;
    }
}
.entry-meta .meta-item{
    margin-right: 14px;
}

.herald-cats .entry-meta .meta-item{
    margin-right: 0;
}


.herald-pagination a {
    -webkit-transition: all .2s ease;
    -moz-transition: all .2s ease;
    -ms-transition: all .2s ease;
    -o-transition: all .2s ease;
    transition: all .2s ease;
    -webkit-appearance: none;
}

.herald-sticky-header-visible .herald-sticky.is_stuck,
.herald-sticky-header-visible .entry-meta-wrapper-sticky.is_stuck
 {
    top: 90px;
}

.herald-sticky.is_stuck,
.entry-meta-wrapper-sticky.is_stuck {
    top: 40px;
}

.herald-no-pad {
    padding: 0 15px 0 0 !important;
}
.herald-sticky .widget:last-child{
    margin-bottom: 0;
}

.herald-image-format .herald-format-ico,
.meta-media .herald-format-ico {
    background: rgba(0,0,0,0.5);
    color: #FFF;
    border-radius: 50%;
    display: inline-block;
    z-index: 10;
    position: absolute;
    top: 50%;
    left: 50%;
    height: 58px;
    width: 58px;
    margin: -29px 0 0 -29px;
    padding: 10px 0 0 2px;
    text-align: center;
    font-size: 19px;
    line-height: 36px;
    opacity: 0.8;
    -webkit-transition: all .2s ease;
       -moz-transition: all .2s ease;
        -ms-transition: all .2s ease;
         -o-transition: all .2s ease;
            transition: all .2s ease;
            border: 2px solid #FFF;
}
.meta-media:hover .herald-format-ico{
    opacity: 1;
}

.gallery-icon .herald-popup{
    display: flex;
    align-items: center;
    justify-content: center;
}
.gallery-icon a:after,
.wp-block-gallery .blocks-gallery-item a:after {
    content: "\f0b2";
    z-index: 1000;
    position: absolute;
    font-family: "FontAwesome";
    font-size: 19px;
    line-height: 36px;
    opacity: 0;
    height: 58px;
    width: 58px;
    text-align: center;
    padding: 10px 0 0 0;
    background: rgba(0,0,0,0.5);
    color: #FFF;
    border-radius: 50%;
    -webkit-transition: all .3s ease-in-out;
       -moz-transition: all .3s ease-in-out;
        -ms-transition: all .3s ease-in-out;
         -o-transition: all .3s ease-in-out;
            transition: all .3s ease-in-out;
            border: 2px solid #FFF;
}
.gallery-icon:hover a:after,
.wp-block-gallery .blocks-gallery-item:hover a:after {
    opacity: 1;
}
.gallery-columns-5 .gallery-icon a:after,
.gallery-columns-6 .gallery-icon a:after,
.gallery-columns-7 .gallery-icon a:after,
.gallery-columns-8 .gallery-icon a:after,
.gallery-columns-9 .gallery-icon a:after{
    display: none;
}


/*--------------------------------------------------------------
# Image popup on single content 
--------------------------------------------------------------*/
a.herald-popup-img {

    position: relative;
    border-bottom: 0;

    &:after {
        content: "\f0b2";
        z-index: 1000;
        position: absolute;
        top: 50%;
        left: 50%;
        margin-top: -29px;
        margin-left: -29px;
        font-family: "FontAwesome";
        font-size: 19px;
        line-height: 36px;
        opacity: 0;
        height: 58px;
        width: 58px;
        text-align: center;
        padding: 10px 0 0 0;
        background: rgba(0,0,0,0.5);
        color: #FFF;
        border-radius: 50%;
        -webkit-transition: all .3s ease-in-out;
           -moz-transition: all .3s ease-in-out;
            -ms-transition: all .3s ease-in-out;
             -o-transition: all .3s ease-in-out;
                transition: all .3s ease-in-out;
                border: 2px solid #FFF;
    }
    
    &:hover {
        border-bottom: 0 !important; 
    }

    &:hover:after {
        opacity: 1;
    }

}
.wp-caption a.herald-popup-img {
    display: block;
}

a.herald-popup-img.aligncenter {
    text-align: center;
}

/*--------------------------------------------------------------
1.6 Galleries
--------------------------------------------------------------*/

.meta-media {
    margin-bottom: 30px;
    position: relative;
    min-height: 90px;
}
.single-format-gallery .meta-media{
    margin-left: -10px;
    margin-right: -10px;
    margin-bottom: 10px;
}
.gallery{
    margin-left: -10px;
    margin-right: -10px;
}
.gallery-item {
    display: inline-block;
    padding: 0 10px 20px 10px;
    text-align: center;
    vertical-align: top;
    width: 100%;
    margin: 0;
    position: relative;
}
.gallery-columns-1.owl-carousel,
.wp-block-gallery.columns-1{
    padding: 0;
    margin-bottom: 30px;
}
.gallery-columns-1 .gallery-item{
    padding: 0;
    width: 100%;
}
.gallery-columns-1, .wp-block-gallery.columns-1{
    .owl-nav > div {
        position: absolute;
        padding: 3px 0;
        text-align: center;
        color: #FFF;
        opacity: 0;
        background: rgba(0,0,0,0.5);
        -webkit-transition: all .2s ease-in-out;
        -moz-transition: all .2s ease-in-out;
        -ms-transition: all .2s ease-in-out;
        -o-transition: all .2s ease-in-out;
        transition: all .2s ease-in-out;
        border-radius: 50%;
        border: 2px solid #FFF;
    }
    .owl-nav {
        display: block;
        position: absolute;
        width: 100%;
        z-index: 800;
        top: 50%;
        margin-top: -29px;
    }
    .owl-nav > div:hover {
        background: rgba(0,0,0,0.7);
    }
    .owl-nav .owl-prev {
        left: 30px;
        opacity: 1;
        padding-right: 1px;
    }
    .owl-nav .owl-next {
        right: 30px;
        opacity: 1;
        padding-left: 4px;
    }
    .owl-nav > div{
        width: 58px;
        height: 58px;
        padding: 12px 0;
        font-size: 2.8rem;
        line-height: 2.6rem;
    }
}

.gallery-columns-2 .gallery-item {
    max-width: 50%;
}

.gallery-columns-3 .gallery-item {
    max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
    max-width: 25%;
}

.gallery-columns-5 .gallery-item {
    max-width: 20%;
}

.gallery-columns-6 .gallery-item {
    max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
    max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
    max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
    max-width: 11.11%;
}

.gallery-icon img {
    margin: 0 auto;
}
.gallery-icon .herald-popup{
    position: relative;
    float: left;
    outline: none;
    width: 100%;
}

.gallery-caption {
    display: none;
}
.meta-media:hover .gallery-item .gallery-caption{
    background-color: rgba(0, 0, 0, 0.4);
    color: rgba(255, 255, 255, 0.8);
}
.mfp-arrow:after{
    display: none;
}
.mfp-arrow-left,
.mfp-arrow-right{
    font-family: "FontAwesome";
    color: #FFF;
    font-size: 3rem;
}
.mfp-arrow-left:before{
    content: "\f053";
    border: none;
}
.mfp-arrow-right:before{
    content: "\f054";
    border: none;
}

.owl-carousel {
    padding: 0;
    margin: 0;
    overflow: hidden;
    -webkit-backface-visibility: hidden;
}

.gallery-columns-1.owl-carousel .owl-stage-outer,
.wp-block-gallery.columns-1.owl-carousel .owl-stage-outer {
    margin:0 10px;
}

.owl-carousel .owl-stage-outer {
    margin: 0 -20px;
}

.owl-item {
    -webkit-backface-visibility: hidden;
    -webkit-transform: translateZ(0) scale(1.0, 1.0);
}

.owl-carousel .owl-item img {
    height: auto;
}

.owl-carousel article {
    margin-bottom: 0;
}


.meta-media iframe[src*="soundcloud.com"] {
    position: absolute;
    bottom: 30px;
    max-height: 150px;
    padding: 0 30px;
    z-index: 1;
    width: 100%;
}

.entry-content .herald-search-form,
.herald-mod-desc .herald-search-form {
    width: 100%;
    float: left;
    padding: 30px;
    margin-bottom: 10px;
}

.entry-content .herald-search-input,
.herald-mod-desc .herald-search-input {
    background-color: #fff;
    border: 1px solid inherit;
    height: 50px;
    width: 81%;
    float: left;
    font-style: italic;
    font-size: 1.6rem;
    padding: 11px;
    font-weight: normal;
}

.entry-content .herald-search-submit:after,
.herald-mod-desc .herald-search-submit:after {
    font-family: "FontAwesome";
    content: "\f002";
}

.entry-content .herald-search-submit,
.herald-mod-desc .herald-search-submit {
    display: inline-block;
    font-size: 1.8rem;
    text-transform: uppercase;
    line-height: 2.8rem;
    font-weight: 600;
    min-width: 40px;
    height: 50px;
    padding: 5px 10px;
    border-radius: 2px;
    width: 18%;
    border: none;
    margin-left: 1%;
    text-align: center;
}
/* -------------------------------------------------------------
Gutenberg gallery
-------------------------------------------------------------- */
.blocks-gallery-item figure a {
    border: none;
}
.blocks-gallery-item figure a:hover {
    border: none;
}

/*--------------------------------------------------------------
1.7 Media Elements
--------------------------------------------------------------*/

body .mejs-container {
    background: transparent;
}
body .mejs-container.mejs-container-fullscreen{
    background: #000;
}

body .mejs-container.wp-audio-shortcode {
    height: 90px !important;
}
body .has-post-thumbnail .meta-media,
body .format-video .meta-media{

.mejs-embed,
.mejs-embed body,
.mejs-container .mejs-controls {
    background: #FFF;
}
.mejs-controls .mejs-time-rail .mejs-time-total,
.mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total {
    background: rgba(0, 0, 0, 0.1);
}
.mejs-controls .mejs-time-rail .mejs-time-loaded,
.mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current {
    background: rgba(0, 0, 0, 0.2);
}
.wp-playlist-light {
    background: none;
    color: rgba(0, 0, 0, 0.73);
}

.mejs-container .mejs-controls .mejs-time span {
    color: rgba(0, 0, 0, 0.73);
}

.mejs-controls .mejs-button,
.mejs-controls .mejs-button button {
    color: rgba(0, 0, 0, 0.88);
}

.mejs-controls .mejs-time-rail .mejs-time-total,
.mejs-controls .mejs-time-rail .mejs-time-loaded,
.mejs-controls .mejs-time-rail .mejs-time-float {
    background: rgba(0, 0, 0, 0.18);
}

.mejs-controls .mejs-time-rail .mejs-time-float-corner {
    border-top-color: rgba(0, 0, 0, 0.18);
}

.mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total {
    background: rgba(0, 0, 0, 0.18);
}

 .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current {
    background: rgba(0, 0, 0, 0.18);
}

 .wp-playlist-item:last-child {
    border-color: rgba(0, 0, 0, 0.18);
}

 .wp-playlist-current-item .wp-playlist-item-title,
 .wp-playlist-playing {
    color: rgba(0, 0, 0, 0.88);
}

 .wp-audio-shortcode,
 .wp-playlist-current-item,
 .wp-playlist-tracks,
 .wp-playlist-item {
    border-color: rgba(0, 0, 0, 0.18);
}
div.mejs-container.wp-audio-shortcode {
    width: 80% !important;
    position: absolute;
    top: 50%;
    z-index: 100;
    position: absolute;
    transform: translate(-50%, -50%);
    text-align: center;
    left: 50%;
}
.mejs-container * {
    color: #333;
    font-weight: bold;
}
}

body .format-video .meta-media div.mejs-container .mejs-controls{
    bottom:30px;
    left: 30px;
    right:30px;
    width: 94%;
}

div.mejs-container .mejs-controls {
    height: 90px;
}
body .herald-entry-content .mejs-container.wp-audio-shortcode{
    margin: 30px auto;
}
div.mejs-controls div.mejs-time-rail {
    padding-top: 37px;
}

.mejs-container * {
    color: #FFF;
    font-weight: bold;
}

div.mejs-container .mejs-controls .mejs-time {
    padding-top: 42px;
}

body .wp-video {
    width: 100% !important;
}

.me-plugin {
    position: absolute;
}

body .mejs-container .mejs-controls .mejs-button {
    position: relative;
    margin: 32px 0;
}

body .mejs-container .mejs-controls .mejs-button.mejs-playpause-button {
    margin-left: 20px;
    margin-right: 20px;
    text-align: center;
}

body .mejs-container .mejs-controls .mejs-button.mejs-volume-button {
    margin-left: 0;
    margin-right: 10px;
    text-align: center;
}

body .mejs-container .mejs-controls .mejs-button button {
    background: none;
    margin: 0;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    height: 32px;
    width: 32px;
    outline: none;
}

body .mejs-controls a.mejs-horizontal-volume-slider {
    margin: 32px 20px 0 0;
}

body .mejs-container .mejs-controls .mejs-time-float-corner {
    top: 100%;
}

body .mejs-controls .mejs-button button:before,
body .mejs-controls .mejs-button button:before {
    display: inline-block;
    font-size: 21px;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-style: normal;
    font-weight: normal;
    line-height: 1.4;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    text-align: center;
    text-decoration: inherit;
    text-transform: none;
    vertical-align: top;
    speak: none;
}

body .mejs-controls .mejs-play button:before,
body .mejs-controls .mejs-play button:before {
    font-family: "FontAwesome";
    content: "\f04b";
}

body .mejs-controls .mejs-pause button:before,
body .mejs-controls .mejs-pause button:before {
    font-family: "FontAwesome";
    content: "\f04c ";
}

body .mejs-controls .mejs-volume-button button:before,
body .mejs-controls .mejs-volume-button button:before {
    font-family: "FontAwesome";
    content: "\f027";
}

body .mejs-controls .mejs-volume-button.mejs-unmute button:before,
body .mejs-controls .mejs-volume-button.mejs-unmute button:before {
    font-family: "FontAwesome";
    content: "\f026";
}

body .wp-playlist {
    border: none;
    font-size: 18px;
    font-size: 1.8rem;
    line-height: 1.77777778;
    margin: 1.777em 0 3.5em;
    padding: 0;
}

body .wp-playlist .wp-playlist-current-item img {
    margin-right: 20px;
    max-width: 70px;
}

body .wp-playlist-caption,
body .wp-playlist-item-title {
    font-size: 18px;
    font-size: 1.8rem;
    line-height: 1.77777778;
}

body .wp-playlist-current-item {
    border-bottom: 1px solid;
    height: auto;
    margin-bottom: 0;
    padding-bottom: 0.55555556em;
}

body .wp-playlist-current-item .wp-playlist-item-title,
body .wp-playlist-playing {
    font-weight: 700;
}

body .wp-playlist-tracks {
    border-top: 1px solid;
    margin: 0;
}

body .wp-playlist-item {
    padding: 0.55555556em;
}

body .wp-playlist-item:last-child {
    border-bottom: 1px solid;
}

body .wp-playlist-item-length {
    top: auto;
    right: 0.55555556em;
    bottom: 0.66666667em;
}

body .wp-playlist-item-artist {
    display: block;
}



body .mejs-controls .mejs-time-rail .mejs-time-float {
    border: none;
}
body .mejs-controls .mejs-fullscreen-button button:before {
  font-family: "FontAwesome";
    content: "\f065";
}
body .mejs-container .mejs-controls .mejs-button {
    position: relative;
    margin: 32px 18px 0 0;
}

body.single-format-audio .meta-media{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    .wp-block-audio{
        position: absolute;
        z-index: 20;
        width: 70%;
    }
}
.wp-block-video{
    width: 100%;
}

/*--------------------------------------------------------------
1.8 Additional Classes
--------------------------------------------------------------*/

.herald-da{
    width: 970px;
    margin: 30px auto;
    text-align: center;
}

.row .herald-da {
    margin: 0 auto 30px;
}
.meta-ad{
    margin: 0 auto 30px;
    img{
        object-fit: cover; 
    }
}
.herald-site-header .row .herald-da,
.single .herald-site-header .row .herald-da,
.archive .herald-site-header .row .herald-da{
    margin: 0 auto;
    background-color: transparent;
    border: none;
}
.herald-entry-content iframe,
.herald-entry-content .fb_iframe_widget{
    margin-bottom: 30px;
}
.single .herald-entry-content .herald-da {
    margin: 40px auto 40px;
    padding: 35px 0;
    width: 100%;
    text-align: center;
    border-radius: 2px;
}
.archive .herald-posts .herald-da {
    margin: 0 20px 40px;
    padding: 35px 0;
    width: 100%;
    text-align: center;
    border-radius: 2px;
}
.single .herald-entry-content .herald-da-above-single{
    border: none !important;
    margin: 0 auto 30px;
    padding: 0;
}

.herald-read-more {
    font-size: 1.2rem;
    line-height: 2.6rem;
    text-transform: uppercase;
    border-radius: 2px;
    border: 1px solid;
    padding: 5px 20px;
    display: inline-block;
    vertical-align: top;
    text-align: center;
    margin-top: 16px;
    -webkit-transition: all .2s ease;
    -moz-transition: all .2s ease;
    -ms-transition: all .2s ease;
    -o-transition: all .2s ease;
    transition: all .2s ease;
}

.herald-gray-area {
    border-radius: 2px;
}


.herald-loader {
    display: none;
    position: absolute;
    top: 46px;
    left: 50%;
    margin: 0 auto 0 -35px;
    font-size: 11px;
}


.herald-loader-active{
    opacity: 0;
}
.spinner {
    margin: 0 auto 0;
    width: 70px;
    text-align: center;
}

.spinner > div {
    width: 18px;
    height: 18px;
    border-radius: 100%;
    display: inline-block;
    -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
    animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

.spinner .bounce1 {
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}

.spinner .bounce2 {
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}

.herald-breadcrumbs{
    border-bottom: 1px solid;
    font-size: 1.4rem;
    line-height: 2.4rem;  
    margin: -40px 40px 40px;
    padding: 12px 0;
}
.herald-boxed .herald-breadcrumbs{
    margin: -40px 0 40px;
    padding: 12px 20px;
}
.entry-meta .herald-reviews .wp-review-show-total > div{
    margin:-1px 0 0;
}
[class^="mts-icon-"]:before, [class*=" mts-icon-"]:before{margin:0; width: auto;}
.entry-meta .review-total-star{margin: -1px 0 0 0;}
.entry-meta  .review-result-wrapper i{font-size: 1.4rem;}

.entry-meta .review-type-point .review-total-box:before,
.entry-meta .review-type-percentage .review-total-box:before,
.entry-meta .wp-review-total-percentage:before,
.entry-meta .wp-review-total-point:before{
    font-family: "FontAwesome";
    content: "\f005";
    padding: 0 0 3px;
    margin: 0 5px 0 0;
    text-align: left;
    float: left;
}
.entry-meta .percentage-icon{
    top:0;
    font-size: inherit;
}
#wpstats{
    display: none;
}

@-webkit-keyframes sk-bouncedelay {
    0%, 80%, 100% { -webkit-transform: scale(0) }
    40% { -webkit-transform: scale(1.0) }
}

@keyframes sk-bouncedelay {
0%, 80%, 100% {
-webkit-transform: scale(0);
transform: scale(0);
} 40% {
-webkit-transform: scale(1.0);
transform: scale(1.0);
}
}

.herald-infinite-scroll a {
    opacity: 0;
}

.herald-nav-toggle{
    width: 30px;
    font-size: 3rem;
    line-height: 2.6rem;
    display: none;
    position: absolute;
}
.herald-header-sticky .herald-nav-toggle{
    padding: 0;
}

.mks_pullquote {
    border-radius: 2px;
}

.entry-content a.mks_ico,
.entry-content a.mks_ico:hover{
    border-bottom: none !important;  
}

.ie{
    .herald-lay-a3 .herald-lay-over{top:auto;}
    .herald-fa-1 .herald-fa-item, .herald-fa-2 .herald-fa-item{
        transition: all 500ms ease-in-out;
    }
}

.more-link{
    display: none; 
}

/*--------------------------------------------------------------
Support for Co Authors Plus Plugin 
--------------------------------------------------------------*/

/* inline meta styling */
.herald-author {
    
    .coauthors {
        &:before {
            font-family: 'FontAwesome';
            content: '\f007';
        }

        .vcard.author {
            &:last-child {
                a {
                    &:after {
                        content: none;
                    }
                }
            }
            a {
                margin-left: 5px;
                &:before {
                    content: none;
                }
                &:after {
                    content: ',';
                    padding: 0;
                }
            }
        }
    }
    .coauthors.couauthors-icon {
        &:before {
            content: '\f0c0';
        }
    }
}

/* big aside meta */
.entry-meta-wrapper {
    
    .meta-item.herald-author {
        .coauthors {
            
            &:before {
                font-size: 3rem;
                display: block;
                margin-bottom: 17px;
            }

            .vcard.author {
                
                a {
                    margin-left: 0;
                    &:before {
                        content: none;
                    }
                    &:after {
                        content: none;
                        padding: 0;
                    }
                }
            }
        }
    }

    .co-author {
        margin-bottom: 20px;
        &:last-child{
        margin-bottom: 0;
        }
    }
}

/*--------------------------------------------------------------
  Authors Template modification
--------------------------------------------------------------*/
.herald-entry-content {

    .herald-author {

        .herald-socials-actions {
            margin-top: -10px;
            .herald-mod-actions {
                display: inline-block;
                a {
                    border: 1px solid rgba(68,68,68,0.2);
                    font-size: 1.1rem;
                    text-transform: uppercase;
                    border-radius: 2px;
                    padding: 0 15px;
                    display: inline-block;
                    vertical-align: top;
                    height: 26px;
                }
            }
            .herald-mod-subnav {
                display: inline-block;
                margin-left: 5px;
                a {
                    margin-left: 10px;
                }
            }
        }
    }

    .herald-shadow {
        margin: 40px 0 30px;
    }
}

