﻿.blogs {
    padding: 7rem 0 5rem;
}

.blog-card .card-link:hover {
    color: #3f6193;
    text-decoration: underline;
}

.recent-card {
    --recent-card-img-width: 70px;
    margin-bottom: 10px;
    cursor: pointer;
}

    .recent-card .recent-body {
        width: calc(100% - var(--recent-card-img-width));
    }

    .recent-card .recent-card-img-wrapper {
        min-width: 70px;
      
    }

    .recent-card .recent-title {
        font-size: .8rem;
        font-weight: bold;
    }
.category-btn {
    display: none;
    background: #C3F3FF;
    border: 0px;
    border-radius: 7px;
    padding: 9px 90px;
    margin: 0;
    font-size: 17px;
}
@media screen and (min-width:500px)and (max-width:991px) {

    .blog-heading {
        justify-content: space-between !important;
    }
    .category-btn{
        display:block !important;
    }
}
@media screen and (min-width:320px)and (max-width:768px) {

    .blog-heading {
        flex-wrap: wrap;
        justify-content: space-between !important;
    }

    .category-btn {
        display: block !important;
        padding: 9px 30px;
    }
}
.c-pointer {
    font-size: 12px !important;
    font-weight: 600;
    text-decoration: none;
    color: #57AEB4;
    margin-top: 40px !important;
}
.tagline {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.6px;
   
}
@media screen and (max-width:1024px) {
.tagline{
    font-size:11px;
}
}
    .recent-description {
        margin: 0;
        font-size: .8rem;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .blog-card .card-text small,
    .recent-title,
    .blog-card .card-title {
        width: 100%;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }

    #dotPageInfo {
        font-weight: 900;
    }

    .blog-card .card-img-top-wrapper {
        height: auto;
        max-height: 200px;
    }

    .recent-card .recent-card-img-wrapper > img,
    .blog-card .card-img-top {
        height: 100%;
        max-width: 100%;
        object-fit: cover;
    }

.card-top-right {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255,255,255, 0.9);
    box-shadow: -1px 1px 3px 0px rgba(0,0,0,0.5);
    color: #000;
    font-size: .65rem;
    font-weight: 600;
    padding: 4px 7px;
    border-radius: 3px;
}


    /*.category-wrapper {
    margin-bottom: 30px;
    display: flex;
}

.category {
    width: 250px;
    height: 33px;
    margin-left: 10px;
}*/

    .page-navigation-bar {
        font-size: .8rem;
        padding-right: 15px;
    }

        .page-navigation-bar a.page-link,
        .page-navigation-bar a.page-link * {
            font-size: .8rem;
        }

    .pagination .page-item.active .page-link {
        background-color: #33c6e5 !important;
        border-color: #33c6e5 !important;
    }

    /*.loader-wrapper {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        display: flex;
        background-color: rgb(81, 71, 169,0.15);
        justify-content: center;
        align-items: center;
        z-index: 1;
    }

    .loader {
        width: 80px;
        height: 80px;
        border: 7px solid black;
        border-bottom-color: transparent;
        border-radius: 50%;
        display: inline-block;
        box-sizing: border-box;
        animation: rotation 1s linear infinite;
    }

    @keyframes rotation {
        0% {
            transform: rotate(0deg);
        }

        100% {
            transform: rotate(360deg);
        }
    }*/




    /*select.category {
    border-radius: 5px !important;
    border-color: #cfcfcf !important;
}

select.category option:hover {
background-color: #33c6e5 !important;
}*/


    .custom-select-2 {
        position: relative;
        font-family: Arial;
    }

        .custom-select-2 select.category {
            display: none;
            /*hide original SELECT element: */
        }

    .select-selected {
        background-color: #faf9fc;
        border-radius: 18px;
    }

        /* Style the arrow inside the select element: */
        .select-selected:after {
            position: absolute;
            content: "";
            top: 45%;
            right: 10px;
            width: 0;
            height: 0;
            border: 6px solid transparent;
            border-color: #495057 transparent transparent transparent;
        }

        /* Point the arrow upwards when the select box is open (active): */
        .select-selected.select-arrow-active:after {
            border-color: transparent transparent #495057 transparent;
            top: 7px;
        }

    /* style the items (options), including the selected item: */
    .select-items div,
    .select-selected {
        color: #495057;
        padding: 8px 16px;
        border: 1px solid transparent;
        /* border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent; */
        cursor: pointer;
    }

    /* Style items (options): */
    .select-items {
        position: absolute;
        background-color: #fff;
        box-shadow: 0 .5rem 1rem rgba(0,0,0,.15) !important;
        top: calc(100% + 5px);
        left: 0;
        right: 0;
        z-index: 99;
    }

    /* Hide the items when the select box is closed: */
    .select-hide {
        display: none;
    }

    .select-items div:hover,
    .same-as-selected {
        background-color: #33c6e5;
        color: #fff;
    }

    .select-items {
        border-radius: 18px;
    }

        .select-items div:first-child {
            border-start-start-radius: 18px;
            border-start-end-radius: 18px;
        }

        .select-items div:last-child {
            border-end-start-radius: 18px;
            border-end-end-radius: 18px;
        }


    /*Blogs page*/
    .category-list ul {
        padding: 0px;
        list-style: none;
    }

        .category-list ul li {
            padding: 8px 8px;
        }

    @media screen and (max-width:1024px) {
        .category-list ul li {
            font-size: 14px;
        }
    }

.category-list ul .active {
    color: #36A9B1;
    background: linear-gradient(98deg, #d8fcff, transparent) !important;
    font-weight: 600;
}
.category-list ul :hover {
    color: #36A9B1;
    background: linear-gradient(98deg, #d8fcff, transparent) !important;
   
  
}

.blogs {
    padding: 7rem 0 5rem;
}

    .blog-card .card-link:hover {
        color: #3f6193;
        text-decoration: underline;
    }

    .recent-card {
        --recent-card-img-width: 70px;
        margin-bottom: 10px;
        cursor: pointer;
    }

        .recent-card .recent-body {
            width: calc(100% - var(--recent-card-img-width));
        }

        .recent-card .recent-card-img-wrapper {
            min-width: 70px;
        }

        .recent-card .recent-title {
            font-size: .8rem;
            font-weight: bold;
        }

    .recent-description {
        margin: 0;
        font-size: .8rem;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .blog-card .card-text small,
    .recent-title,
    .blog-card .card-title {
        width: 100%;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
        margin-bottom: 8px !important;
    }

    .overlay {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        height: 100%;
        width: 100%;
        opacity: 0;
        transition: .5s ease;
        background-color: rgb(10 22 39 / 83%);
    }

    .last-update {
        font-size: 12px;
        color: #808080de;
        padding-bottom: 17px;
    }

    .crd-body {
        padding: 10px 10px !important;
    }

    .text {
        position: absolute;
        padding: 4px;
        top: 10px;
        left: 10px;
    }

        .text h6 {
            font-size: 13px !important;
            color: #2FF2FF;
        }

    @media screen and (min-width:1164px)and (max-width:1440px) {
        .text {
            top: 4px;
            left: 5px;
        }

            .text h6 {
                font-size: 10px !important;
                color: #2FF2FF;
            }
    }

    @media screen and (max-width:1024px) {
        .text {
            top: 1px;
            left: 5px;
        }

            .text h6 {
                font-size: 8px !important;
                color: #2FF2FF;
            }
    }

    text h6 {
        font-size: 13px;
        color: #2FF2FF;
    }

    .text p {
        font-size: 8px;
        color: white;
    }

    .img-card:hover .overlay {
        opacity: 1;
    }

    #dotPageInfo {
        font-weight: 900;
    }

    .blog-card .card-img-top-wrapper {
        height: auto;
        max-height: 200px;
    }

    .recent-card .recent-card-img-wrapper > img,
    .blog-card .card-img-top {
        object-fit: cover;
    }

    .recent-card-img-wrapper {
        position: relative;
    }

    .blog-card .card-top-right {
        position: absolute;
        top: 10px;
        right: 10px;
        background: rgb(255 255 255);
        box-shadow: 0px 0px 4px 1px rgb(0 0 0 / 24%);
        color: #27abb4;
        font-size: .65rem;
        font-weight: 600;
        padding: 4px 7px;
        border-radius: 20px;
    }


    /*.category-wrapper {
    margin-bottom: 30px;
    display: flex;
}

.category {
    width: 250px;
    height: 33px;
    margin-left: 10px;
}*/

    .page-navigation-bar {
        font-size: .8rem;
        padding-right: 15px;
    }

        .page-navigation-bar a.page-link,
        .page-navigation-bar a.page-link * {
            font-size: .8rem;
        }

    .pagination .page-item.active .page-link {
        background-color: #33c6e5 !important;
        border-color: #33c6e5 !important;
    }
/*
    .loader-wrapper {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        display: flex;
        background-color: rgb(81, 71, 169,0.15);
        justify-content: center;
        align-items: center;
        z-index: 1;
    }

    .loader {
        width: 80px;
        height: 80px;
        border: 7px solid black;
        border-bottom-color: transparent;
        border-radius: 50%;
        display: inline-block;
        box-sizing: border-box;
        animation: rotation 1s linear infinite;
    }

    @keyframes rotation {
        0% {
            transform: rotate(0deg);
        }

        100% {
            transform: rotate(360deg);
        }
    }*/

/* Fullscreen overlay */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(67, 197, 229, 0.15); /* light blue tint */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.3s ease;
}

/* Loader inner animation */
.loader-icon {
    width: 60px;
    height: 60px;
    animation: loaderPulse 1.2s infinite ease-in-out;
}

/* Pulse animation */
@keyframes loaderPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}
