/* Post  */

.keplerspotlight-posts .blog-post,
.keplerspotlight-posts .blog-post .content,
.keplerspotlight-posts .blog-post .featured-post {
    position: relative;
}

.keplerspotlight-posts .blog-post .content {
    z-index: 0;
}

.keplerspotlight-posts .blog-post .featured-post {
    z-index: 2;
}

.tf-posts-wrap .tf-posts.grid,
.iyi-posts-content .iyi_elements_row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    position: relative;
}

.iyi-posts-content .iyi_elements_row>div {
    -ms-flex: 1;
    flex: 1;
}

.tf-posts-wrap.column-1 .tf-posts.grid .column {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}

.tf-posts-wrap.column-2 .tf-posts.grid .column {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
}

.tf-posts-wrap.column-3 .tf-posts.grid .column {
    -ms-flex: 0 0 33.333333%;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}

.tf-posts-wrap.column-4 .tf-posts.grid .column {
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
}

.tf-posts-wrap.column-5 .tf-posts.grid .column {
    -ms-flex: 0 0 20%;
    flex: 0 0 20%;
    max-width: 20%;
}

.tf-posts-wrap.column-6 .tf-posts.grid .column {
    -ms-flex: 0 0 16.67%;
    flex: 0 0 16.67%;
    max-width: 16.67%;
}

.tf-posts-wrap .tf-posts .blog-post a,
.tf-posts-wrap .tf-posts .blog-post .featured-post .overlay,
.tf-posts-wrap .tf-posts .blog-post .content .overlay,
.tf-posts-wrap .tf-posts .blog-post i,
.tf-posts-wrap .tf-posts .blog-post svg,
.tf-posts-wrap.has-carousel .owl-nav .owl-prev,
.tf-posts-wrap.has-carousel .owl-nav .owl-next,
.tf-posts-wrap .tf-posts .column,
.tf-posts-wrap .pagination a,
.tf-posts-wrap .pagination span,
.tf-posts-wrap .box-time a {
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.tf-posts-wrap .post-meta {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tf-posts-wrap .post-meta li {
    display: inline-block;
    text-transform: capitalize;
}

.tf-posts-wrap .tf-posts .blog-post .featured-post {
    overflow: hidden;
}

.tf-posts-wrap .tf-posts .blog-post .featured-post {
    /* display: flex; */
    justify-content: center;
    align-items: center;
    position: relative;
}

.tf-posts-wrap .tf-posts .blog-post .grid-layout-style-2 .featured-post {
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 250px;
    overflow: hidden;
}

.tf-posts-wrap.list-img-top .tf-posts .blog-post .featured-post {
    align-items: flex-start;
}

.tf-posts-wrap.list-img-bottom .tf-posts .blog-post .featured-post {
    align-items: flex-end;
}

.tf-posts-wrap .tf-posts.list .blog-post .featured-post .inner-featured-post {
    position: relative;
    display: flex;
}

.tf-posts-wrap .tf-posts .blog-post .featured-post .overlay,
.tf-posts-wrap .tf-posts .blog-post .content .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
}

.tf-posts-wrap .tf-posts .blog-post .content .overlay {
    z-index: -1;
    content: "";
    display: block;
    background-color: #000000;
}

.tf-posts-wrap .tf-posts .blog-post:hover .featured-post .overlay {
    opacity: 1;
    visibility: visible;
}

.tf-posts-wrap .tf-posts .blog-post .featured-post .overlay i,
.tf-posts-wrap .tf-posts .blog-post .featured-post .overlay svg,
.tf-posts-wrap .tf-posts .blog-post .content .overlay i,
.tf-posts-wrap .tf-posts .blog-post .content .overlay svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.tf-posts-wrap .tf-posts .blog-post .title {
    font-size: 23px;
    /* height: 75px;
    overflow: hidden; */
}

.tf-posts-wrap .tf-posts .blog-post .content-post {
    font-size: 15px;
    margin-bottom: 15px;
    /* height: 80px;
    overflow: hidden; */
}

.tf-posts-wrap .tf-posts .blog-post .tf-button-container a {
    font-size: 15px;
    display: inline-block;
}

.tf-posts-wrap .tf-posts .blog-post .tf-button-container a i,
.tf-posts-wrap .tf-posts .blog-post .tf-button-container a svg {
    vertical-align: middle;
}

.tf-posts-wrap .tf-posts .blog-post .tf-button-container.left {
    text-align: left;
}

.tf-posts-wrap .tf-posts .blog-post .tf-button-container.center {
    text-align: center;
}

.tf-posts-wrap .tf-posts .blog-post .tf-button-container.right {
    text-align: right;
}

.tf-posts-wrap .tf-posts .blog-post .tf-button-container.justify .tf-button {
    text-align: center;
    width: 100%;
}

.tf-posts-wrap .tf-posts .blog-post .post-meta>li:last-child {
    margin-right: 0 !important;
}

.tf-posts-wrap .tf-posts .blog-post .post-meta>li:first-child {
    margin-left: 0 !important;
}

.tf-posts-wrap .tf-posts .blog-post .content {
    /* position: absolute; */
    /* top: 50px; */
    background-color: transparent;
    color: #FFFFFF;
    background-position: top center;
    background-attachment: scroll;
    background-size: cover;
    overflow: hidden;
    position: relative;
    z-index: 0;
}


/* Carousel  */

.tf-posts-wrap.column-2.has-carousel .tf-posts .column,
.tf-posts-wrap.column-3.has-carousel .tf-posts .column,
.tf-posts-wrap.column-4.has-carousel .tf-posts .column,
.tf-posts-wrap.column-5.has-carousel .tf-posts .column,
.tf-posts-wrap.column-6.has-carousel .tf-posts .column {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}

.tf-posts-wrap.has-carousel .tf-posts .column .blog-post {
    padding: 0 !important;
    margin: 0 !important;
}

.tf-posts-wrap.has-carousel .tf-posts {
    display: block;
    display: block;
    -ms-flex-wrap: unset;
    flex-wrap: unset;
}

.keplerspotlight-posts .layout_style_slider {
    height: auto !important;
    overflow: visible;
}

.tf-posts-wrap.has-carousel .owl-nav .owl-prev,
.tf-posts-wrap.has-carousel .owl-nav .owl-next {
    width: 50px;
    height: 50px;
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    color: #fff;
    text-align: center;
    line-height: 50px;
}

.tf-posts-wrap.has-carousel .owl-nav .owl-next {
    left: unset;
    right: 0;
}

.tf-posts-wrap.has-carousel .owl-nav .owl-prev.disabled,
.tf-posts-wrap.has-carousel .owl-nav .owl-next.disabled {
    display: none !important;
}

.tf-posts-wrap.has-carousel.no-arrow .owl-nav .owl-prev,
.tf-posts-wrap.has-carousel.no-arrow .owl-nav .owl-next {
    display: none;
}

.tf-posts-wrap.has-carousel.has-arrow .owl-nav .owl-prev,
.tf-posts-wrap.has-carousel.has-arrow .owl-nav .owl-next {
    display: block;
}

.tf-posts-wrap .owl-dots {
    display: inline-block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.tf-posts-wrap .owl-dots .owl-dot {
    width: 10px;
    height: 10px;
    background: #0080f0;
    display: inline-block;
    margin: 0 5px;
}

.tf-posts-wrap.has-carousel.no-bullets .owl-dots {
    display: none;
}

.tf-posts-wrap.has-carousel.has-bullets .owl-dots {
    display: block;
}


/* Pagination  */

.tf-posts-wrap .pagination {
    display: flex;
}

.tf-posts-wrap .pagination a,
.tf-posts-wrap .pagination span {
    display: inline-block;
    text-align: center;
    min-width: 25px;
    min-height: 25px;
}

.tf-posts-wrap .navigation-link .page-numbers {
    display: none;
}

.tf-posts-wrap .navigation-link .page-numbers.prev,
.tf-posts-wrap .navigation-link .page-numbers.next {
    display: inline-block;
}

.tf-posts-wrap .navigation-link .pagination {
    display: block;
}

.tf-posts-wrap .navigation-link .page-numbers.next {
    float: right;
}

.tf-posts-wrap .navigation.loadmore .page-numbers {
    display: none;
}

.tf-posts-wrap .navigation.loadmore .next.page-numbers {
    display: inline-block;
}

.tf-posts-wrap .tfpost-loading {
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
}

.tf-posts-wrap .tfpost-loading span {
    display: inline-block;
    width: 100%;
    height: 100px;
    background-image: url(loading/loading.gif);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.tf-posts-wrap .pagination.left {
    justify-content: flex-start;
}

.tf-posts-wrap .pagination.center {
    justify-content: center;
}

.tf-posts-wrap .pagination.right {
    justify-content: flex-end;
}

.clearfix:before,
.clearfix:after {
    display: table;
    content: " ";
}

.clearfix:after {
    clear: both;
}


/* masonry */

.tf-posts-wrap.column-1 .tf-posts.masonry .column {
    flex: 0 0 100%;
}

.tf-posts-wrap .tf-posts.masonry .column,
.tf-posts-wrap .tf-posts.masonry .grid-sizer {
    float: left;
}

.tf-posts-wrap.column-2 .tf-posts.masonry .column,
.tf-posts-wrap.column-2 .tf-posts.masonry .grid-sizer {
    width: 50%;
}

.tf-posts-wrap.column-3 .tf-posts.masonry .column {
    width: 33.333333%;
}

.tf-posts-wrap.column-4 .tf-posts.masonry .column {
    width: 25%;
}

.tf-posts-wrap.column-5 .tf-posts.masonry .column {
    width: 20%;
}

.tf-posts-wrap.column-6 .tf-posts.masonry .column {
    width: 16.67%;
}

.tf-posts-wrap .tf-posts .blog-post .content.inner {
    position: absolute;
    bottom: 0;
}


/* List */

.tf-posts-wrap .tf-posts.list {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    position: relative;
}

.tf-posts-wrap.column-1 .tf-posts.list .column,
.tf-posts-wrap.column-2 .tf-posts.list .column,
.tf-posts-wrap.column-3 .tf-posts.list .column,
.tf-posts-wrap.column-4 .tf-posts.list .column,
.tf-posts-wrap.column-5 .tf-posts.list .column,
.tf-posts-wrap.column-6 .tf-posts.list .column {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}

.tf-posts-wrap .tf-posts.list .blog-post {
    display: flex;
}

.tf-posts-wrap .wrap-featured-post {
    position: relative;
}

.tf-posts-wrap .box-time {
    display: inline-block;
    position: absolute;
    bottom: -30px;
    left: 20px;
    z-index: 99;
}

.tf-posts-wrap .box-time a {
    display: block;
    border-radius: 3px;
    padding: 10px 25px;
    text-align: center;
}

.tf-posts-wrap .box-time span {
    display: block;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.3;
}

.tf-posts-wrap .box-time span.day {
    font-size: 30px;
}


/* Filter Button*/

select#iyiCategoryfilter {
    /* Reset */
    appearance: none;
    border: 0;
    outline: 0;
    font: inherit;
    /* Personalize */
    width: 20em;
    height: 3em;
    padding: 0 4em 0 1em;
    background: url(../img/caret_down.svg) no-repeat right 0.8em center/1.4em, linear-gradient(to left, rgba(255, 255, 255, 0.3) 3em, rgba(255, 255, 255, 0.2) 3em);
    color: #100f0d;
    border-radius: 0.25em;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
    cursor: pointer;
    font-weight: 600;
    /* <option> colors */
    /* Remove focus outline */
    /* Remove IE arrow */
}

select#iyiCategoryfilter option {
    color: #100f0d;
    background-color: #efefef;
    border-radius: 0;
    padding-top: 0;
    padding-bottom: 0;
}

select#iyiCategoryfilter:focus {
    outline: none;
}

select#iyiCategoryfilter::-ms-expand {
    display: none;
}

.filter-wrapper {
    overflow: hidden;
}

@media (max-width: 991px) {
    .tf-posts-wrap.tablet-column-1 .tf-posts.grid .column {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
    .tf-posts-wrap.tablet-column-2 .tf-posts.grid .column {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }
    .tf-posts-wrap.tablet-column-3 .tf-posts.grid .column {
        -ms-flex: 0 0 33.333333%;
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
    .tf-posts-wrap.tablet-column-4 .tf-posts.grid .column {
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        max-width: 25%;
    }
    .tf-posts-wrap.tablet-column-5 .tf-posts.grid .column {
        -ms-flex: 0 0 20%;
        flex: 0 0 20%;
        max-width: 20%;
    }
    .tf-posts-wrap.tablet-column-6 .tf-posts.grid .column {
        -ms-flex: 0 0 16.67%;
        flex: 0 0 16.67%;
        max-width: 16.67%;
    }
    .tf-posts-wrap .tf-posts.list .blog-post {
        display: block;
    }
    .tf-posts-wrap .tf-posts.list .blog-post .featured-post,
    .tf-posts-wrap .tf-posts.list .blog-post .content {
        width: 100% !important;
    }
    .tf-posts-wrap:not(.list-layout-style-5) .tf-posts.list .blog-post .featured-post {
        margin-right: 0 !important;
    }
    .tf-posts-wrap.list-layout-style-5 .tf-posts.list .blog-post .featured-post {
        margin-left: 0 !important;
    }
}

@media (max-width: 767px) {
    .tf-posts-wrap.mobile-column-1 .tf-posts.grid .column {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
    .tf-posts-wrap.mobile-column-2 .tf-posts.grid .column {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }
    .tf-posts-wrap.mobile-column-3 .tf-posts.grid .column {
        -ms-flex: 0 0 33.333333%;
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
    .tf-posts-wrap.mobile-column-4 .tf-posts.grid .column {
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        max-width: 25%;
    }
    .tf-posts-wrap.mobile-column-5 .tf-posts.grid .column {
        -ms-flex: 0 0 20%;
        flex: 0 0 20%;
        max-width: 20%;
    }
    .tf-posts-wrap.mobile-column-6 .tf-posts.grid .column {
        -ms-flex: 0 0 16.67%;
        flex: 0 0 16.67%;
        max-width: 16.67%;
    }
}


/* ==========================================================================
   #Custom HTML5 Video Player
   ========================================================================== */

 :root {
    --youtube-red: #FE0900;
}

.video-container {
    width: 100%;
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

video {
    width: 100%;
    height: 100%;
    border-radius: 4px;
}