.category {
    color: black !important;
    font-family: "Helvetica Neue", Arial, sans-serif;
}

.res-blog-category {
    font-family: "Helvetica Neue", Arial, sans-serif;
}

.res-blog-category.not-logged-in {
    margin-top: 80px;
}

.res-blog-top-menu-categs .category-list {
    display: flex;
    justify-content: center;
    /* This centers the list items horizontally */
    list-style: none;
    padding: 0;
    margin: 0;
}

.res-post-card-container .card {
    border-radius: 10px;
}

.res-post-card-container .card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.res-post-card-container .card-body .card-title {
    color: rgba(0, 0, 0, 0.60) !important;
    text-align: center;
    font-family: Inria Sans;
    font-size: 15px !important;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.res-post-card-container .card-body .card-text {
    color: rgba(0, 0, 0, 0.60) !important;
    text-align: center;
    font-family: Inria Sans;
    font-size: 14px !important;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.res-post-card-container .card-body img {
    width: 250px;
    margin: 15px auto;
    border-radius: 10px 10px 0 0;
}

.res-post-card-container .btn-primary {
    text-align: center;
    font-family: Inria Sans;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    display: flex !important;
    align-items: center;
    width: fit-content;
    justify-content: center;
    margin: 0 auto;
    padding: 6px 14px;
}

.res-post-card-container .btn-primary i {
    font-size: 16px;
    margin-left: 5px;
    margin-top: 2px;
}

.res-blog-top-menu-categs .category-list li {
    position: relative;
    /* Makes sure the pseudo-element is positioned relative to the li */
    margin-right: 20px;
    /* Adjust the spacing between items as needed */
    padding-right: 15px;
    /* Provides some spacing for the vertical line separator */
}

.res-blog-top-menu-categs .category-list li::after {
    content: "";
    /* Necessary for the pseudo-element to show */
    position: absolute;
    top: 25%;
    /* Adjust these percentages to move the line up or down */
    bottom: 25%;
    right: 0;
    width: 1px;
    /* Width of the vertical line */
    background: #9f8164;
    /* Color of the vertical line */
}

.res-blog-top-menu-categs .category-list li:last-child::after {
    display: none;
    /* This removes the vertical line from the last item */
}

.res-blog-top-menu-categs .category-list li.active {
    font-weight: bold;
}


.res-blog-top-menu-categs .category-list a {
    color: #C19B76;
    letter-spacing: normal;
    text-shadow: none;
    font-size: inherit;
}

.res-blog-top-menu-categs .category-list a:hover {
    text-decoration: underline;
}

.scrollable {
    overflow-y: auto;
    max-height: 800px !important;
}

.scrollable::-webkit-scrollbar {
    display: none;
}

#posts .card {
    height: 100%;
}

.res-post-card-detail-container .date-container {
    position: absolute;
    right: 10px;
    top: 10px;
    margin: 0 !important;
    display: block;
    margin: 0 !important;
    color: #507BBC !important;
    text-align: center;
    font-family: Inria Sans;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
}

.res-post-card-detail-container .card-body .card-title {
    color: rgba(0, 0, 0, 0.60) !important;
    text-align: center;
    font-family: Inria Sans;
    font-size: 24px !important;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.res-post-card-detail-container .card-body .card-text,
.res-post-card-detail-container .card-body .card-text span {
    color: rgba(0, 0, 0, 0.60) !important;
    font-family: Inria Sans;
    font-size: 16px !important;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.res-post-card-detail-container img {
    width: 50%;
    margin: 30px auto;
    border-radius: 5px 5px 5px 5px;
    display: block;
}

.blog-post-back-button {
    background-color: #f5f5f5;
    height: 25px;
    width: 25px;
    filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, 0.25));
    border-radius: 5px;
    align-items: center;
    display: flex;
    justify-content: center;
}
.blog-post-back-button a{
    color: inherit;
}

@media(max-width: 767px) {
    .res-blog-top-menu-categs .category-list {
        flex-direction: column;
        align-items: center;
    }

    .res-blog-top-menu-categs .category-list li {
        border-radius: 10px;
        background: #707070;
        padding: 0;
        height: 35px;
        width: 100%;
        text-align: center;
        justify-content: center;
        margin: 0;
        margin-bottom: 10px;
        display: flex;

    }

    .res-blog-top-menu-categs .category-list li:last-child {
        /*    margin-bottom: 0px;*/
    }

    .res-blog-top-menu-categs .category-list li::after {
        display: none;
    }

    .res-blog-top-menu-categs .category-list li a {
        color: #F5F5F5;
        text-align: center;
        font-family: Inria sans;
        font-size: 13px;
        line-height: 13px;
        font-style: normal;
        font-weight: bold;
        align-items: center;
        display: flex;
        justify-content: center;
    }

    .res-blog-top-menu-categs .category-list li.active {
        font-weight: bold;
        background: white;
    }
    .res-blog-top-menu-categs .category-list li.active a {
        color: #707070;
    }
    .res-post-card-container .card-body .date-container {
        position: absolute;
        right: 10px;
        top: 10px;
        margin: 0 !important;
        color: #507BBC !important;
        text-align: center;
        font-family: Inria Sans;
        font-size: 10px;
        font-style: normal;
        font-weight: 300;
        line-height: normal;
    }

    .res-post-card-container .card {
        border-radius: 5px;
        background: #FFF;
        box-shadow: 3px 3px 5px 0px rgba(0, 0, 0, 0.15);
    }

    .res-post-card-container .card-body .card-title {
        color: rgba(0, 0, 0, 0.60) !important;
        text-align: center;
        font-family: Inria Sans;
        font-size: 13px !important;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
    }

    .res-post-card-container .card-body .card-text {
        color: rgba(0, 0, 0, 0.60) !important;
        text-align: center;
        font-family: Inria Sans;
        font-size: 10px !important;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
    }

    .res-post-card-container .card-body img {
        width: 160px;
        margin: 15px auto;
        border-radius: 5px 5px 5px 5px;
    }

    .res-post-card-container .btn-primary {
        margin-top: 5px !important;
        border-radius: 50px !important;
        background: #EF8727 !important;
        color: rgba(0, 0, 0, 0.60) !important;
        text-align: center;
        font-family: Inria Sans;
        font-size: 15px !important;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        display: flex !important;
        align-items: center;
        width: fit-content;
        justify-content: center;
        margin: 0 auto;
        padding: 5px 14px
    }

    .res-post-card-container .btn-primary i {
        font-size: 18px;
    }

    .res-post-card-detail-container .card-body .card-title {
        color: rgba(0, 0, 0, 0.60) !important;
        text-align: center;
        font-family: Inria Sans;
        font-size: 15px !important;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
    }

    .res-post-card-detail-container .card-body .card-text,
    .res-post-card-detail-container .card-body .card-text span {
        color: rgba(0, 0, 0, 0.60) !important;
        font-family: Inria Sans;
        font-size: 8px !important;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
    }

    .res-post-card-detail-container img {
        width: 82%;
        margin: 15px auto;
        border-radius: 5px 5px 5px 5px;
        display: block;
    }

    .res-post-card-detail-container .date-container .posted {
        display: none;
    }

    .res-post-card-detail-container .date-container .date {
        display: block;
        margin: 0 !important;
        color: #507BBC !important;
        text-align: center;
        font-family: Inria Sans;
        font-size: 10px;
        font-style: normal;
        font-weight: 300;
        line-height: normal;
    }

    .res-blog-category.not-logged-in {
        margin-top: 55px;
        padding: 20px 30px;
    }

    .res-blog-top-menu-categs .category-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-gap: 10px;
    }

    .content-header {
        background: #E9E8E8;
    }

    .blog-post-back-button {
        background-color: #f5f5f5;
        height: 25px;
        width: 25px;
        filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, 0.25));
        border-radius: 5px;
        align-items: center;
        display: flex;
        justify-content: center;
    }

    .blog-post-back-button a{
        color: inherit;
    }

    .bg-image {
        display: flex;
    }

    .blog-post-line {
        display: none !important;
    }

    .blog-post-btn {
        padding: 0 !important;
    }
}

@media(min-width: 1290px){
    .res-blog-category{
        margin-bottom: 4.5em;
    }
}
