img {
    max-width: 100%;
    height: auto;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-capitalize {
    text-transform: lowercase;

}

.text-dark {
    color: var(--color-text);

}

.text-primary {
    color: var(--color-main);

}

.relative {
    position: relative;
}

/* for nav control */
.nav-toggler {
    display: none;
}

.desktop-nav {
    display: flex;
}

.recommendation-header {
    color: var(--color-main);
    font-weight: bold;
}

.color-main {
    color: var(--color-main);
    font-weight: bold;
}

h1,
h2,
h3,
h4,
h5,
h6,
.post-title {
    color: var(--color-text);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.4;
    margin: 20px 0;
}

.nav-title {
    font-weight: 800;

}

a {
    color: var(--color-main);
    outline: 0;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

a:hover {
    color: var(--color-text);
}

a:focus {
    outline: 0;
}


/* *************** hero section ************ */

section {
    position: relative;
}

.hero {
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    height: 800px;
    width: 100%;
}

.hero::after {
    content: "";
    background: var(--color-text);
    display: block;
    left: 0;
    opacity: 0.8;
    top: 0;
    height: 100%;
    position: absolute;
    width: 100%;
}

.post .category-badge,
.cat-bg .category-badge {
    color: #fff;
    font-size: 13px;
    border-radius: 25px;
    display: inline-block;
    padding: 6px 11px;
    line-height: 1;
    left: 20px;
    top: 20px;
    z-index: 1;
    background-color: var(--color-primary);
    background-image: linear-gradient(315deg, var(--color-primary) 0%, var(--color-main) 74%);
    background-size: 200% auto;
    transition: all 0.3s ease-in-out;
}

.post .category-badge:hover,
.cat-bg .category-badge:hover {
    background-position: right center;
}

.post .thumb {
    position: relative;
}

.post .thumb.rounded .inner {
    border-radius: 10px;
    overflow: hidden;
}

.post .thumb.big-sized .inner {
    border-radius: 10px;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.post .thumb img {
    transform: scale(1);
    transition: all 0.3s ease-in-out;

    position: absolute;
    width: auto;
    height: 100%;
    object-fit: cover;
    max-height: 100%;

}

.post .thumb:hover img {
    transform: scale(1.07);
}

.post .post-title a,
.post .post-title span {
    color: var(--color-text);
}

.post .post-title a:hover,
.post .post-title span:hover {
    color: var(--color-main);
}

.post .post-title span.special {
    color: var(--color-white);
}

.post .post-title span.special:hover {
    color: var(--color-main);
}


.post .meta {
    font-size: 14px;
    color: var(--color-dark);
}

.post .meta a,
.post .meta span,
.post .meta li {
    color: var(--color-text);
    font-weight: 800;
}

.post .meta a:hover,
.post .meta span:hover,
.post .meta li:hover {
    color: var(--color-main);
}

.post .meta i {
    vertical-align: middle;
}

.post .meta li:last-child::after {
    content: "";
    display: none;
}

.post .meta li::after {
    content: "";
    display: inline-block;
    background-color: var(--color-main);
    border-radius: 50%;
    margin-left: 1rem;
    height: 3px;
    vertical-align: middle;
    position: relative;
    top: -1px;
    width: 3px;
}

.post .meta li:not(:last-child) {
    margin-right: 0.8rem;
}

.featured-post-lg {
    position: relative;
}

.featured-post-lg .thumb {
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(32, 54, 86, 0.3);
}

.featured-post-lg .thumb::after {
    content: "";
    background: var(--color-text);
    display: block;
    height: 100%;
    left: 0;
    opacity: 0.6;
    top: 0;
    position: absolute;
    width: 100%;
}

.featured-post-lg:hover .thumb .inner {
    transform: scale(1.05);
}

.featured-post-lg .thumb .inner {
    background-size: cover;
    background-position: center center;
    height: 533px;
    transition: all 0.3s ease-in-out;
    transform: scale(1);
}

.featured-post-lg .thumb .inner img {
    width: 100%;
    height: 100%;
}

.featured-post-lg .details {
    bottom: 50px;
    left: 50px;
    right: 50px;
    position: absolute;
    z-index: 1;
}

.featured-post-lg .post-title {
    font-size: 32px;
}

.featured-post-lg .post-title a {
    color: #fff;
}

.same-height {
    height: 533px;
    overflow-y: hidden;
}

.featured-post-lg .post-title a:hover {
    color: #15ece2;
}

.featured-post-lg .meta {
    color: rgba(255, 255, 255, 0.6);
}

.featured-post-lg .meta li::after {
    content: "";
    background: rgba(255, 255, 255, 0.6);
}

.featured-post-lg .meta li a {
    color: rgba(255, 255, 255, 0.6);
}

.post .medium-title {

    font-size: 1.2rem;


}

/* ******************* hero right side ************** */

.rounded {
    border-radius: 10px !important;
}

.bordered {
    border: 1px solid #ebebeb;
}

.post-tabs {
    padding: 0 20px;
}

.post-tabs .tab-content {
    margin-top: 20px;
}

.nav-tabs {
    border-bottom: 0;
}

.tab-content {
    position: relative;
}

.tab-pane {
    opacity: 1;
    transition: all 0.3s ease-in-out;
}

.tab-pane.loading {
    opacity: 0.3;
}

.lds-dual-ring {
    display: inline-block;
    position: absolute;
    right: 40px;
    height: 40px;
    top: 50%;
    left: 50%;
    visibility: hidden;
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: all 0.2s ease-in-out;
    z-index: 1;
}

.lds-dual-ring.loading {
    visibility: visible;
    opacity: 1;
}

.lds-dual-ring::after {
    content: " ";
    display: block;
    width: 40px;
    height: 40px;
    margin: 8px;
    border-radius: 50%;
    border: 3px solid;
    border-color: var(--color-main) transparent var(--color-main) transparent;
    animation: lds-dual-ring 1.2s linear infinite;
}

@keyframes lds-dual-ring {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.nav-fill .nav-item,
.nav-fill>.nav-link {
    margin-right: 10px;
}

.nav-fill .nav-item:last-child,
.nav-fill>.nav-link:last-child {
    margin-right: 0;
}

.nav-fill .nav-item>.nav-link {
    color: var(--color-main) !important;
    margin-right: 10px;
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
    color: #fff !important;
    background-color: var(--color-primary);
    background-image: linear-gradient(315deg, var(--color-primary) 0%, var(--color-main) 74%);
    border-color: transparent;
    background-size: 200% auto;
}

.nav-pills .nav-link {
    background: 0 0;
    border: 1px solid var(--color-main);
    border-radius: 30px;
}

.post.post-list-sm {
    clear: both;
}

.post.post-list-sm.circle .thumb {
    max-width: 60px;
}

.post.post-list-sm.circle .details {
    margin-left: 80px;
}

.post.post-list-sm .thumb {
    float: left;
    position: relative;
}

.post .thumb {
    position: relative;
}


.post .thumb.chuncked {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.post .thumb.chuncked img {
    border-radius: 10px;
}

.post .description {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.post .thumb.rounded .inner {
    border-radius: 10px;
    overflow: hidden;
}

.post .thumb.circle .inner {
    width: 60px;
    height: 60px;
}

.post .thumb.circle .inner img {
    border-radius: 50%;
}

.post.post-list-sm .post-title {
    font-size: 15px;
}

.post.post-list-sm::after {
    content: "";
    display: block;
    height: 1px;
    margin-bottom: 20px;
    margin-top: 20px;
    width: 100%;
    background: #ebebeb;
    background: linear-gradient(to left, #ebebeb 0%, transparent 100%);
}

.post.post-list-sm:last-child::after {
    content: "";
    display: none;
}

/* ************** */
.section-header {
    margin-bottom: 15px;
    margin-top: 10px;
    position: relative;
}

.section-title {
    font-size: 24px;
    margin: 0;
}

/* *********************** */

.padding-30 {
    padding: 15px;
}

.padding-10 {
    padding: 10px;
}

.post .post-format {
    color: #fff;
    display: block;
    border-radius: 50%;
    font-size: 20px;
    height: 50px;
    line-height: 54px;
    right: 20px;
    text-align: center;
    bottom: -25px;
    position: absolute;
    width: 50px;
    box-shadow: 0 2px 4px 0px rgba(0, 0, 0, 0.15);
    background-color: var(--color-primary);
    background: linear-gradient(315deg, var(--color-primary) 0%, var(--color-main) 74%);
    z-index: 1;
}

.post .meta li img.author {
    margin-right: 12px;
    vertical-align: middle;
    border-radius: 50%;
}

.post .small-post {
    border-radius: 10px;
    width: 110px;
    height: 120px;
    overflow: hidden;
}

.post.post-list-sm.square .thumb {
    max-width: 110px;
}

.post.post-list-sm.square .details {
    margin-left: 130px;
}

/* ******************* */

.post.post-list-sm.before-seperator::before {
    content: "";
    display: block;
    height: 1px;
    margin-bottom: 20px;
    margin-top: 20px;
    width: 100%;
    background: #ebebeb;
    background: linear-gradient(to left, #ebebeb 0%, transparent 100%);
}

.post.post-list-sm.before-seperator::after {
    content: "";
    display: none;
}

/* ************** */

.slick-arrows-top {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(0px, -50%);
}

.slick-custom-buttons {
    color: #909090;
    font-size: 10px;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    background: #fff;
    border-radius: 50%;
    border: 1px solid #ebebeb;
    padding: 0;
    transition: all 0.3s ease-in-out;
}

.slick-custom-buttons:hover {
    color: var(--color-main);
    border-color: var(--color-main);
}

/* -************ */

.post-carousel .slick-slide {
    margin: 0px 12px;
}

.post.post-over-content {
    position: relative;
}

.post.post-over-content .thumb {
    position: relative;
    overflow: hidden;

    height: fit-content;
    height: 300px;
    object-fit: cover;
}

.post.post-over-content .thumb::after {
    content: "";
    background: var(--color-text);
    display: block;

    height: fit-content;
    height: 300px;
    object-fit: cover;

    left: 0;
    opacity: 0.6;
    top: 0;
    position: absolute;
    width: 100%;
}


.post.post-over-content .details {
    bottom: 20px;
    left: 20px;
    right: 20px;
    position: absolute;
    z-index: 1;
}

.post.post-over-content .post-title {
    font-size: 22px;
}


.post.post-over-content .meta {
    color: rgba(255, 255, 255, 0.5);
}

.post.post-over-content .meta li::after {
    content: "";
    background: rgba(255, 255, 255, 0.5);
}

.post.post-over-content .meta li a {
    color: rgba(255, 255, 255, 0.5);
}

/* **************** */

.post.post-list {
    margin-bottom: 30px;
}

.post.post-list .thumb {
    float: left;
    max-width: 265px;
}

.post.post-list .details {
    margin-left: 295px;
}

.post.post-list .post-title {
    margin: 9px 0;
}

.post.post-list .post-bottom {
    margin-top: 9px;
}

.post.post-list .post-bottom .social-share .icons {
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease-in-out;
}

.post.post-list .post-bottom .social-share .icons::before {
    content: "";
    background: #ddd;
    display: inline-block;
    height: 1px;
    margin-left: 10px;
    margin-right: 10px;
    vertical-align: middle;
    width: 30px;
}

.post.post-list .post-bottom .social-share .icons.visible {
    opacity: 1;
    visibility: visible;
}

.post .post-bottom .social-share .toggle-button {
    font-size: 16px;
    color: var(--color-dark);
    background-color: transparent;
    border: 0;
    padding: 0;
    vertical-align: middle;
}

.post .post-bottom .social-share .icons {
    display: inline;
    vertical-align: middle;
}

.post .post-bottom .social-share .icons li a {
    color: var(--color-dark);
    font-size: 14px;
}

.post .post-bottom .social-share .icons li a:hover {
    color: var(--color-main);
}

.post .post-bottom .social-share .icons li:not(:last-child) {
    margin-right: 0.8rem;
}

.post .post-bottom .more-button a {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-dark);
}

.post .post-bottom .more-button a i {
    color: var(--color-dark);
    font-size: 12px;
    margin-left: 10px;
    vertical-align: middle;
}

.post .post-bottom .more-button a:hover {
    color: var(--color-main);
}

.post.post-list::after {
    content: "";
    display: block;
    height: 1px;
    margin-bottom: 30px;
    margin-top: 30px;
    width: 100%;
    background: #ebebeb;
    background: linear-gradient(to left, #ebebeb 0%, transparent 100%);
}

.post .post-format-sm {
    color: #fff;
    display: block;
    border-radius: 50%;
    font-size: 14px;
    height: 30px;
    line-height: 34px;
    left: 20px;
    text-align: center;
    top: 20px;
    position: absolute;
    width: 30px;
    box-shadow: 0 2px 4px 0px rgba(0, 0, 0, 0.15);
    background-color: var(--color-primary);
    background-image: linear-gradient(315deg, var(--color-primary) 0%, var(--color-main) 74%);
    z-index: 1;
}

.btn-simple {
    color: var(--color-dark);
    padding: 9.5px 36px;
    background: transparent;
    border: 1px solid var(--color-dark);
}

.btn-simple:hover {
    color: var(--color-main);
    border-color: var(--color-main);
}

/* ************** */

.widget {
    border: 1px solid #ebebeb;
    padding: 35px 30px;
    margin-bottom: 40px;
}

.widget:last-child {
    margin-bottom: 0;
}

.widget .widget-header {
    margin-bottom: 30px;
}

.widget .widget-title {
    font-size: 20px;
    margin: 0;
}

.post.post-list-sm .thumb .number {
    color: #fff;
    display: block;
    border: 1px solid #fff;
    border-radius: 50%;
    font-size: 12px;
    font-family: "Poppins", sans-serif;
    font-weight: 700px;
    height: 24px;
    line-height: 22px;
    left: 0;
    text-align: center;
    top: -10px;
    position: absolute;
    width: 24px;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.15);
    background: var(--color-primary);
    background-image: linear-gradient(315deg, var(--color-primary) 0%, var(--color-main) 74%);
    z-index: 1;
}

.widget ul.list {
    list-style: none;
    padding: 0;
    margin-bottom: 0;
}

.widget ul.list li {
    line-height: 2.8rem;
}

.widget ul.list li a {
    color: var(--color-text);
    font-weight: 700;
}

.widget ul.list li a::before {
    color: var(--color-dark);
    font-family: "simple-line-icons";
    font-size: 11px;
    vertical-align: middle;
    margin-right: 25px;
    content: "";
}

.widget ul.list li a:hover {
    color: var(--color-main);
}

.widget ul.list li::after {
    content: "";
    display: block;
    height: 1px;
    width: 100%;
    background: #ebebeb;
    background-image: linear-gradient(to right, #ebebeb 0%, transparent 100%);
}

.widget ul.list li span {
    float: right;
}

.widget ul.list li:last-child::after {
    content: "";
    display: none;
}

.btn-default {
    color: #fff;
    padding: 9.5px 36px;
    background-color: var(--color-primary);
    background-image: linear-gradient(315deg, var(--color-primary) 0%, var(--color-main) 74%);
    background-size: 200% auto;
}

.btn-default:hover {
    color: #fff;
    background-position: right center;
}

.btn-full {
    padding: 9.5px 36px;
    width: 100%;
}


/* ****************** */

.tag {
    color: #8f9bad;
    border: 1px solid #8f9bad;
    border-radius: 25px;
    font-size: 13px;
    display: inline-block;
    padding: 3px 14px;
    margin: 4px 0;
}

.tag:hover {
    border-color: var(--color-main);
    color: var(--color-main);
}

/* *************** */

.instagram {
    margin: 60px 0 0;
    position: relative;
}

.instagram-feed {
    margin-left: -2.5px;
    margin-right: -2.5px;
}

.instagram-feed .insta-item {
    overflow: hidden;
    padding-left: 2.5px;
    padding-right: 2.5px;
}

.instagram-feed .insta-item img {
    border-radius: 10px;
}

.btn-instagram {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}


/* *********** responsiveness **************** */

@media only screen and (max-width: 992px) {
    .inner-wrapper-sticky {
        transform: none !important;
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        width: auto !important;
    }

    .post-tabs {
        padding: 20px;
    }

    /* for nav control */
    .nav-toggler {
        display: flex;
    }

    .desktop-nav {
        display: none;
    }
}

@media only screen and (max-width: 767px) {
    .featured-post-lg .thumb .inner {
        height: 425px;
    }

    .post.post-list .thumb {
        float: none;
        max-width: 550px;
    }

    .post.post-list .details {
        margin-left: 0;
        margin-top: 25px;
    }

    .post .meta li::after {
        content: "";
        margin-left: 0.5rem;
    }

    .post .meta li:not(:last-child) {
        margin-right: 0.3rem;
    }

    .instagram-feed .insta-item {
        text-align: center;
        margin: 2.5px 0;
    }

    .footer-inner {
        text-align: center;
    }

    .featured-post-lg .post-title {
        font-size: 26px;
    }

    .featured-post-lg .details {
        bottom: 30px;
        left: 30px;
        right: 30px;
    }

    .search-popup .search-content {
        padding: 0px 20px;
        width: 100%;
    }

    .post-carousel-widget .post-carousel {
        margin: 0 12px;
    }

    .post-carousel-widget .post-carousel .post-title {
        font-size: 16px;
    }
}