﻿small {
    text-align: right;
}

.col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9 {
    float: right !important;
}

#page-title .page-title > h1 {
    font-family: 'Yekan Bakh NoEn Regular WOFF' !important;
    font-weight: 300;
    font-size: 44px;
    line-height: 100%;
    letter-spacing: 0%;
    vertical-align: middle;
    margin-top: 0;
    margin-bottom: 20px;
    text-align: right
}

#page-title {
    border-bottom: 0px;
    background-color: white;
    padding: 50px 0;
}

.category {
    padding-right: 30px;
}

    .category .category-title::after, .category > h4::after {
        content: "";
        display: inline-block;
        width: 10.45px;
        height: 33.95px;
        background-color: rgba(206, 162, 110, 1);
        opacity: 1;
        margin-left: 10px;
        flex-shrink: 0;
    }

.widget .widget-title, .widget > div {
    font-family: 'Yekan Bakh NoEn Regular WOFF';
    font-weight: 500;
    font-size: 19px;
    line-height: 100%;
    vertical-align: middle;
    text-align: right;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}


.custom-newsletter-title::after {
    content: none !important;
}


.custom-newsletter-widget {
    padding: 20px;
    background: rgba(245, 245, 245, 1);
    margin-left: 20px;
}

.custom-newsletter-title {
    margin-bottom: 15px !important;
}

.custom-newsletter-text {
    display: block;
    margin-bottom: 15px;
    font-weight: 400;
    font-size: 12px;
    line-height: 140%;
    text-align: right;
    vertical-align: middle;
}

.custom-newsletter-alert,
.custom-newsletter-success {
    margin-top: 10px;
    margin-bottom: 10px;
}

.custom-newsletter-input-group {
    margin-top: 15px;
}

.custom-newsletter-input {
    height: 45px;
    border-radius: 0;
}

.custom-newsletter-btn {
    height: 45px;
    border-radius: 0;
    background: #000;
    color: #fff;
    border: none;
}

    .custom-newsletter-btn:hover {
        background: #000;
        color: #fff;
    }

.custom-newsletter-btn-icon {
    font-size: 16px;
}

.custom-newsletter-input-group {
    width: 100%;
    direction: rtl;
}

.email-input-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 15px;
}

.newsletter-input {
    width: 100%;
    height: 45px;
    padding-right: 35px;
    box-sizing: border-box;
}

.email-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.newsletter-btn {
    width: 37%;
    height: 35px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 0;
    display: block;
    margin-left: auto;
    float: left;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    vertical-align: middle;
}

.post-item {
    width: 100%;
    height: 620px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.post-image {
    position: relative;
    width: 100%;
    height: 318px;
    overflow: hidden;
}

    .post-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.post-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 14px;
}

.post-meta {
    background: rgba(245, 245, 245, 1);
    padding: 3px 10px;
    color: #000;
    max-width: 90%;
    align-self: flex-start;
}

.post-meta-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-direction: row-reverse;
    line-height: 1;
}

    .post-meta-date span {
        display: inline-flex;
        align-items: center;
        transform: translateY(2px);
    }

.post-item-wrap {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.post-meta-date svg {
    display: block;
    transform: translateY(-0.5px);
}

.meta-icon {
    width: 16px;
    height: 16px;
}


.email-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 2222;
}

.content {
    /*float: left !important;*/
    margin-bottom: 26px;
}

.sidebar {
    padding-left: 0;
    padding-right: 0;
}

    .sidebar:before {
        border-style: solid;
        border-color: #eee;
        border-width: 0;
        border-left-width: 1px;
        content: "";
        display: block;
        height: 99999px;
        position: absolute;
        left: 0;
        top: -20px;
        z-index: -10
    }

    .sidebar:after {
        content: "";
        position: absolute;
        top: -20px;
        left: 0;
        width: 100%;
        border-top: 1px solid #eee;
        z-index: -10;
    }

.post-item {
    float: left;
    width: 100%;
    height: auto;
    padding: 0 0 20px 0;
    margin-bottom: 30px;
}

    .post-item .post-item-description {
        padding: 24px;
        width: 100% !important;
        height: 280px;
        display: flex;
        flex-direction: column;
        line-height: 28px;
        color: #676767;
        background: rgba(245, 245, 245, 1);
        height: 280px;
    }

        .post-item .post-item-description > h2, .post-item .post-item-description > h2 > a {
            line-height: 30px;
            margin-bottom: 16px;
            color: rgba(31, 41, 55, 1);
            font-family: 'Yekan Bakh NoEn Regular WOFF';
            font-weight: 700;
            font-size: 18px;
            vertical-align: middle;
        }

        .post-item .post-item-description > p {
            font-weight: 500;
            font-size: 17px !important;
            leading-trim: NONE;
            letter-spacing: 0%;
            vertical-align: middle;
            height: 56px;
        }

    .post-item.border .post-item-wrap {
        border: 1px solid #f2f2f2;
        overflow: hidden;
    }

.post-thumbnail-list .post-thumbnail-entry .post-thumbnail-content a {
    font-family: 'Yekan Bakh NoEn Regular WOFF' !important;
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: right;
    vertical-align: middle;
    margin: -4px 0 0;
    color: rgba(0, 0, 0, 1);
    width: 84px;
}

.post-thumbnail-list {
    position: relative;
    flex-direction: column;
    justify-content: flex-start !important;
    align-items: end !important;
}

.post-thumbnail-entry {
    border-bottom: none !important;
    margin-bottom: 26px;
    padding-bottom: 10px;
    position: relative;
    clear: both
}

.category-title {
    margin-bottom: 65px !important;
}

.item-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 125px;
    height: 40px;
    background: #000;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 300;
}


    .item-link:hover {
        color: rgba(255, 255, 255, 1) !important;
    }


.form-control {
    border-radius: 0;
    border: none !important;
}

.widget .input-group {
    text-align: right;
    direction: rtl;
}

.input-group-btn:last-child > .btn, .input-group-btn:last-child > .btn-group {
    margin-left: 0;
    margin-right: -1px;
}

#widget-subscribe-submit-button {
    border-radius: 3px 0 0 3px;
}

#sidebar-success, #sidebar-alert {
    display: none;
    text-align: right;
    direction: rtl;
}

.address-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 90px;
    flex-wrap: wrap;
    text-align: left;
    padding: 30px 0;
}

.sidebar .widget {
    border-bottom: none !important;
    margin-bottom: 30px;
    padding-bottom: 30px
}

    .sidebar .widget:last-child {
        border-bottom: 0;
        margin-bottom: 0;
        padding-right: 30px;
        padding-bottom: 20px !important;
    }

.address-item {
    max-width: 260px;
    flex: 1 1 auto;
    color: #575756;
    font-weight: normal;
    text-align: center;
    margin-inline: 30px;
}

.address-title {
    font-weight: bold;
}

.post-thumbnail-entry {
    display: flex;
    align-items: center;
    direction: rtl;
}

.post-thumbnail-entry {
    display: flex;
    direction: rtl;
    align-items: center;
}

.post-thumbnail-content {
    flex: 1;
}

.category-count {
    flex: 0 0 53px;
    text-align: center;
    background: rgba(245, 245, 245, 1);
    padding: 6px 0;
    border-radius: 3px;
    font-size: 12px;
    /* font-family: Yekan Bakh; */
    font-weight: 300;
    font-style: Light;
    font-size: 18.28px;
    leading-trim: NONE;
    line-height: 22.3px;
}

.blog-category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: "Yekan Bakh", sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
    text-align: right;
    color: rgba(197, 164, 126, 1);
    margin-bottom: 12px;
}

.blog-category-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-bottom: 5px;
    background: rgba(197, 164, 126, 1);
}

@media(min-width: 992px) {
    .post-container:nth-child(2n+1) {
        clear: both;
    }


    .blogCards {
        margin-bottom: 30px !important;
    }
}


@media (min-width:1024px) and (max-width:1445px) {
    .post-container {
        width: 50% !important;
        float: right;
    }

    .sidebar {
        width: 25%;
        float: right;
    }

    .content {
        width: 75%;
        float: right;
    }

    .post-item .post-item-description > h2, .post-item .post-item-description > h2 > a {
        line-height: 30px;
        margin-bottom: 16px;
        color: rgba(31, 41, 55, 1);
        font-family: 'Yekan Bakh NoEn Regular WOFF';
        font-weight: 700;
        font-size: 14px;
        vertical-align: middle;
    }

    .post-item .post-item-description > p {
        font-weight: 500;
        font-size: 14.25px !important;
        leading-trim: NONE;
        letter-spacing: 0%;
        vertical-align: middle;
        height: 56px;
    }

    .item-link {
        margin-top: auto;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 112px;
        height: 36px;
        background: #000;
        color: #fff;
        text-decoration: none;
        font-size: 14px;
        font-weight: 300;
    }
}


@media (min-width:768px) and (max-width:1024px) {
    .sidebar {
        width: 35% !important;
        float: right;
    }

    .content {
        width: 65% !important;
        float: right;
    }

    .post-container {
        width: 100% !important;
        float: none;
    }

    body.device-sm .sidebar .widget {
        float: left;
        width: 256px;
    }
}


@media (max-width: 760px) {

    .container-fluid > .row {
        display: flex;
        flex-direction: column;
    }

    .content {
        order: 2;
    }

    .custom-newsletter-widget {
        order: 3;
    }

    .sidebar {
        display: contents;
    }

    .sidebar {
        order: 1;
        width: 100%;
    }

    .broadcrumb {
        color: #fff;
        font-size: 16px;
        padding-top: 10px;
        text-align: right;
        direction: rtl;
        text-align: center;
        color: #7a7878;
        margin-top: 57px;
        position: relative;
    }

    .widget .widget-title, .widget > div {
        font-size: 14px;
        line-height: 100%;
        vertical-align: middle;
        text-align: center;
        margin-bottom: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .post-thumbnail-entry {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 0 25px;
    }

    .post-thumbnail-content {
        margin-left: auto;
    }

    .category-count {
        margin-right: auto;
    }

    .category {
        padding-right: 0;
    }

    .custom-newsletter-widget {
        margin-left: 0;
    }

    #page-title {
        padding-top: 78px !important;
        padding-bottom: 14px !important;
    }

    .post-item .post-item-description > h2, .post-item .post-item-description > h2 > a {
        line-height: 30px;
        margin-bottom: 16px;
        color: rgba(31, 41, 55, 1);
        font-family: 'Yekan Bakh NoEn Regular WOFF';
        font-weight: 700;
        font-size: 14px;
        vertical-align: middle;
    }

    .post-item .post-item-description > p {
        font-weight: 500;
        font-size: 14.25px !important;
        leading-trim: NONE;
        letter-spacing: 0%;
        vertical-align: middle;
        height: 56px;
    }

    .item-link {
        margin-top: auto;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 112px;
        height: 36px;
        background: #000;
        color: #fff;
        text-decoration: none;
        font-size: 14px;
        font-weight: 300;
    }

    .blogCards {
        margin-bottom: 0 !important;
    }

    .sidebar .widget:last-child {
        width: 93%;
        margin: 0 auto;
    }

    .post-item {
        float: left;
        width: 100%;
        height: auto;
        padding: 0 0 20px 0;
        margin-bottom: 0px;
    }
}
