/******commom css******/

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

:root {
    --white: #ffffff;
    --black: #000000;
    --blue: #151f38;
    --lightbg: #F6F7F9;
    --green: #147b63;
    --text-muted: #65758b;
    --yellow: #DDAD00;
}


body {
    padding: 0px;
    margin: 0px;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale; /* Chrome, Safari */
    text-rendering: optimizeLegibility; /* Firefox */
    font-weight: 400;
    color: var(--black);
}



img {
    max-width: 100%;
}



h1,
h2,
h3,
h4,
h5,
h6 {
    word-break: break-word;
    line-height: 1.2;
    margin: 0;
    font-family: "Inter", sans-serif;
    font-weight: 700;
}

p {
    word-break: break-word;
    margin: 0;
}

button,
input,
optgroup,
select,
textarea {
    font-family: "Inter", sans-serif;
}

    button:focus {
        outline: none !important;
    }

ul,
li {
    list-style: none;
    padding: 0;
    margin: 0;
}

a, a:hover {
    text-decoration: none;
}

.text-muted {
    color: var(--text-muted);
}

.btn {
    font-family: "Inter", sans-serif;
    padding: 10px 20px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    grid-gap: 10px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-width: 2px;
}

.btn-primary {
    color: var(--black);
    background: var(--white);
    border-color: var(--yellow);
}

    .btn-primary:hover, .btn-primary:focus, .btn-primary:active {
        color: var(--black);
        background: var(--white) !important;
        border-color: var(--yellow) !IMPORTANT;
        box-shadow: none !important;
        transform: translateY(-2px);
    }

.btn-secondary {
    color: var(--white);
    background: var(--black);
    border-color: var(--black);
}

    .btn-secondary:hover, .btn-secondary:focus, .btn-secondary:active {
        color: var(--white);
        background: var(--black) !important;
        border-color: var(--black) !IMPORTANT;
        box-shadow: none !important;
        transform: translateY(-2px);
    }

.btn-outline {
    color: var(--black);
    background: none;
    border-color: var(--black);
}

    .btn-outline:hover, .btn-outline:focus, .btn-outline:active {
        color: var(--black);
        background: none !important;
        border-color: var(--black) !IMPORTANT;
        box-shadow: none !important;
        transform: translateY(-2px);
    }

.scrollTop {
    position: fixed;
    z-index: 998;
    right: 50px;
    bottom: 50px;
    color: var(--black);
    font-size: 20px;
    cursor: pointer;
}

    .scrollTop a {
        background: #fae017;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 30px;
        height: 30px;
        color: var(--black);
        border-radius: 2px;
    }

a {
    text-decoration: none !important;
}


/*********************header css*********************/
header {
    position: fixed;
    width: 100%;
    z-index: 9;
    transition: all 0.5s;
}

    /*header:after {
        content: "";
        background: #fff;
        width: 100%;
        height: 100px;
        position: absolute;
        top: 0;
        z-index: -1;
        transition: all 0.5s;
        transform: translate(0, -100px);
        opacity: 0;
    }

    header.fixed:after {
        opacity: 1;
        box-shadow: 0 0 5px rgba(0,0,0,0.2);
        transform: translate(0);
    }*/

.header-menu {
    display: flex;
    align-items: center;
    grid-gap: 50px;
}

    .header-menu .logo img {
        width: 80px;
    }

    .header-menu .menu ul {
        display: flex;
        grid-gap: 30px;
    }

        .header-menu .menu ul li a {
            color: #0c2576;
            font-weight: 500;
            font-size: 16px;
            display: flex;
            align-items: center;
        }

            .header-menu .menu ul li a i {
                margin-left: 4px;
                position: relative;
                top: 1px;
            }


        .header-menu .menu ul .sub-menu {
            position: absolute;
            display: block;
            overflow: hidden;
            box-shadow: rgba(0, 0, 0, 0.15) 0px 8px 16px;
            padding-top: 10px;
            padding-bottom: 10px;
            max-width: 200px;
            width: 100%;
            z-index: 9;
            text-align: left;
            opacity: 0;
            transform: translate(0px, 10px);
            background: rgb(255, 255, 255);
            margin: 10px 0px 0px;
            border-radius: 10px;
            outline: rgb(207, 214, 231) solid 1px;
            transition: 0.5s;
            visibility: hidden;
        }

        .header-menu .menu ul li:hover .sub-menu {
            opacity: 1;
            transform: translate(0px);
            visibility: visible;
        }

        .header-menu .menu ul ul li a {
            display: block;
            font-size: 14px;
            padding: 5px 15px;
        }

            .header-menu .menu ul ul li a:hover {
                background: #0c2576;
                color: #fff;
            }

        .header-menu .menu ul .mobile-top {
            display: none;
        }

.submenu-icon {
    display: none;
}

.responsive-hold {
    display: none;
}

/**********************Header css end***********************/



.banner-search {
    background: url(/UI/society/Images/Home/banner-images.jpg) no-repeat;
    background-size: cover;
    padding: 250px 0 140px;
}

    .banner-search h1 {
        color: #0c2576;
        font-weight: 600;
        text-align: center;
        margin: 0 0 20px;
    }

    .banner-search .search-block {
        background: none;
        display: flex;
        justify-content: center;
        align-items: center;
        grid-gap: 20px;
        padding: 0;
        max-width: 800px;
        margin: 0 auto;
    }

        .banner-search .search-block > div {
            width: 100%;
        }
            .banner-search .search-block > div:nth-child(2) {
                width: 50%;
            }
        .banner-search .search-block .form-control, .search-more-option .form-control {
            border-radius: 5px;
            border: none;
            font-weight: 400;
            color: #000;
            padding: 10px 20px;
            height: auto;
            width: 100%;
        }

        

        .banner-search .search-block .location {
            position: relative;
        }

            .banner-search .search-block .location:before {
                content: "";
                background-image: url(/UI/society/Images/Home/location-pin.png);
                top: 9px;
                right: 10px;
                position: absolute;
                width: 25px;
                height: 25px;
            }

        .banner-search .search-block .btn {
            min-width: 170px;
        }

.search-more-option {
    max-width: 800px;
    margin: 0 auto;
    padding-left: 0;
    margin-top: 5px;
}

.search_drawer {
    background: rgb(169, 223, 251);
    padding: 5px;
    display: none;
    margin: 5px 0 0;
    max-width:49%;
}

.more-search-btn {
    background: rgb(169, 223, 251);
    padding: 4px 12px;
    display: inline-block;
    font-size: 13px;
}
 

/****************Banner end*************************/


.doctor-search {
    padding: 60px 0;
}

    .doctor-search h1 {
        text-align: center;
        margin: 0 0 40px;
    }

    .doctor-search .nav-tabs {
        border-bottom: none;
        justify-content: space-between;
        padding: 0 20px;
        grid-column-gap: 30px;
    }

        .doctor-search .nav-tabs li .nav-link {
            font-size: 20px;
            padding: 0 0 10px;
            border-bottom: 3px solid transparent;
        }

            .doctor-search .nav-tabs li .nav-link.active, .doctor-search .nav-tabs li .nav-link:hover, .doctor-search .nav-tabs li .nav-link:focus {
                border: none;
                border-bottom: 3px solid #095edf;
                color: #0c2576;
                font-weight: 600;
            }

    .doctor-search .tab-content {
        padding: 40px 20px 20px;
    }

        .doctor-search .tab-content ul {
            display: flex;
            flex-wrap: wrap;
        }

            .doctor-search .tab-content ul li {
                width: 25%;
                padding-bottom: 8px;
                margin: 0;
             }

                .doctor-search .tab-content ul li a {
                    color: #000;
                    font-weight: 500;
                    font-size: 15px;
                }

                    .doctor-search .tab-content ul li a:hover, .doctor-search .tab-content ul li a:focus, .doctor-search .tab-content ul li.active a {
                        color: #095edf;
                    }

.articles-section {
    background: #eff2f7;
    padding: 60px 0;
}

    .articles-section h1 {
        text-align: center;
        margin: 0 0 10px;
    }

.article-block {
    display: block;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    color: #000;
    box-shadow: 0 0 3px rgba(0,0,0,0.2);
    margin-top: 30px;
}

    .article-block > img {
        height: 185px;
        object-fit: cover;
        width: 100%;
    }

.article-desc {
    padding: 20px;
}

    .article-desc h4 {
        font-size: 20px;
        line-height: 1.3;
        margin-bottom: 15px;
        text-overflow: ellipsis;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        display: -webkit-box;
        overflow: hidden;
        min-height: 52px;
    }

    .article-desc p {
        font-size: 16px;
        font-weight: 400;
        margin-bottom: 10px;
        text-overflow: ellipsis;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        display: -webkit-box;
        overflow: hidden;
        min-height:68px;
    }

    .article-desc .date {
        padding-left: 35px;
        font-size: 16px;
        font-weight: 500;
        position: relative;
    }

        .article-desc .date:before {
            background: url(/UI/society/Images/Home/date-image.png) no-repeat;
            content: "";
            position: absolute;
            width: 40px;
            height: 33px;
            left: -8px;
            top: -6px;
        }

.article-block:hover {
    color: #000;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

    .article-block:hover .article-desc h4 {
        color: #0c2576;
    }

.provider-section {
    padding: 60px 0 0;
}

.provider-inner {
    background: url(/UI/society/Images/Home/provider-bg.png) no-repeat;
    text-align: center;
    border-radius: 10px;
    overflow: hidden;
    padding: 70px 0;
    margin-bottom: 40px;
    background-size: cover;
}

    .provider-inner h1 {
        margin-bottom: 15px;
    }

.search-by-sec {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    grid-gap: 20px;
}

    .search-by-sec .btn {
        background: #fd9d15;
        margin-bottom: 80px;
    }

footer {
    background: #111312;
    color: #fff;
    padding: 15px 0;
}

    

.pagination {
    padding: 15px 0;
    text-align: center;
    overflow: hidden;
    justify-content:center;
}
    .pagination ul li {
        padding: 0 2px 4px 2px;
        display: inline-block;
    }
        .pagination ul li a {
            background: #fff;
            border: 1px solid #4b4b4b;
            padding: 0 8px;
            min-width: 32px;
            height: 32px;
            text-align: center;
            font-weight: 500;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 0px;
            text-transform: capitalize;
        }
            .pagination ul li a.active, .pagination ul li a:hover {
                background: #189dd8;
                font-weight: 500;
                color: #fff;
                border: 1px solid #189dd8;
            }

.login-dropdown {
    right: 85px !important;
}


/**************************************Responsive css*********************************/

@media (max-width:1199px) {
    .header-menu .menu ul {
        grid-gap: 20px;
    }

        .header-menu .menu ul li a {
            font-size: 15px;
        }
}

@media (max-width:991px) {
    header {
        padding: 0;
    }

        header:after {
            height: 68px;
        }

    .header-menu {
        justify-content: space-between;
    }

        .header-menu .menu ul {
            height: 100vh;
            overflow: auto;
            position: fixed;
            padding: 0 15px 10px;
            top: 0;
            bottom: 0;
            left: -100%;
            right: auto;
            background: #fff;
            z-index: 22;
            width: 100%;
            -moz-transition-property: all;
            -o-transition-property: all;
            -webkit-transition-property: all;
            transition-property: all;
            -moz-transition-duration: .3s;
            -o-transition-duration: .3s;
            -webkit-transition-duration: .3s;
            transition-duration: .3s;
            -moz-transition-timing-function: ease-in-out,ease-in-out,ease-in-out,ease-in-out;
            -o-transition-timing-function: ease-in-out,ease-in-out,ease-in-out,ease-in-out;
            -webkit-transition-timing-function: ease-in-out,ease-in-out,ease-in-out,ease-in-out;
            transition-timing-function: ease-in-out,ease-in-out,ease-in-out,ease-in-out;
            display: block;
        }

            .header-menu .menu ul.show {
                left: 0;
                z-index: 999;
            }

            .header-menu .menu ul li a {
                justify-content: space-between;
                padding: 7px 0;
            }

    .responsive-hold {
        display: block;
    }

    .header-menu .menu ul .mobile-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 5px 0 20px;
        position: sticky;
        top: 0;
        background: #fff;
        z-index: 9;
    }

        .header-menu .menu ul .mobile-top a {
            padding: 0;
        }

        .header-menu .logo img, .header-menu .menu ul .mobile-top img {
            width: 55px;
        }

    .menu-icon, .menu-close {
        color: #0157e0;
        height: 24px;
    }

    .header-menu .menu ul li {
        position: relative;
    }

        .header-menu .menu ul li a {
            width: calc(100% - 40px);
        }

            .header-menu .menu ul li a i {
                display: none;
            }

    .submenu-icon {
        display: block;
        position: absolute;
        right: 0;
        top: 5px;
    }

    .header-menu .menu ul .sub-menu {
        position: static;
        box-shadow: none;
        border: none;
        outline: none;
        padding: 0;
        width: 100%;
        max-width: 100%;
        margin: 5px 0 10px;
        opacity: 1;
        display: none;
        visibility: visible;
        transform: translate(0);
    }

    .header-menu .menu ul li.active .sub-menu {
        display: block;
    }

    .banner-search {
        padding: 120px 0 70px;
    }

        .banner-search .search-block {
            grid-gap: 10px;
            padding: 0;
        }

            .banner-search .search-block .form-control {
                font-size: 14px;
            }

    .doctor-search .nav-tabs {
        padding: 0;
    }
    .doctor-search .tab-content ul li {
        width: 33.33%;
    }
        .doctor-search .nav-tabs li .nav-link {
            font-size: 18px;
        }
}

@media (max-width:767px) {
    .container, .container-sm {
        max-width: 100%;
    }

    .article-block > img {
        height: auto;
    }

    footer {
        padding: 10px 0;
        /*text-align: center;*/
    }

    .articles-section, .doctor-search {
        padding: 40px 0;
    }

        .doctor-search h1 {
            margin: 0 0 30px;
        }

    .provider-section {
        padding: 40px 0 0;
    }

    .provider-inner {
        margin-bottom: 30px;
    }

    h1 {
        font-size: 26px;
        line-height: 1.2;
    }

    .doctor-search .tab-content ul li {
        width: 50%;
    }

    .banner-search .search-block {
        flex-wrap: wrap;
    }
        .banner-search .search-block > div:nth-child(2) {
            width: 100%;
        }
    .search_drawer {
        max-width: 100%;
    }
}

@media (max-width:640px) {

    .doctor-search .nav-tabs li .nav-link {
        font-size: 16px;
        margin: 0 auto;
        padding-bottom: 3px;
    }

    .doctor-search .tab-content ul li {
        width: 100%;
    }

    .doctor-search .tab-content ul {
        max-height: 200px;
        overflow: auto;
    }
}

@media (max-width:540px) {
    .search-by-sec {
        justify-content: space-between;
    }

        .search-by-sec .btn {
            background: #fd9d15;
            margin-bottom: 80px;
            position: absolute;
            z-index: 1;
            left: 50%;
            transform: translate(-50%, 0);
            width: 85%;
        }

    .doctor-search .nav-tabs {
        display: block;
        text-align: center;
    }

        .doctor-search .nav-tabs li .nav-link {
            font-size: 16px;
            margin: 3px auto;
            padding-bottom: 0;
            width: 100%;
            background: #333;
            color: #fff;
            border-radius: 5px;
            padding: 5px;
            font-weight: 500;
            border: none;
        }

            .doctor-search .nav-tabs li .nav-link.active, .doctor-search .nav-tabs li .nav-link:hover, .doctor-search .nav-tabs li .nav-link:focus {
                border: none;
                border-bottom: none;
                color: #fff;
                background: #0c2576;
                font-weight: 500;
            }
}
