@font-face {
    font-family: 'HussainiNastaleeqRegular';
    src: url('../Fonts/HussainiNastaleeqRegular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Hussaini Nastaleeq';
    src: url('../Fonts/HussainiNastaleeqRegular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.urdu-font {
    font-family: 'HussainiNastaleeqRegular','Open Sans', sans-serif !important;
    text-align: right;
    word-spacing: 3px !important;
    line-height: 2 !important;
    letter-spacing: normal !important;
    -webkit-font-smoothing: subpixel-antialiased !important;
    text-rendering: optimizeLegibility !important;
}
.rtl-direction {
    direction: rtl;
}
.urdu-font-heading {
    line-height: 3 !important;
}

.limited-lines5 {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.limited-lines3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}


[ng-cloak] {
    display: none !important;
}


.sub-categories-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-size: 13px;
    gap: 0.5rem;
    margin-top: 1rem;
}

.sub-categories-links span {
    padding: 3px 6px;
    cursor: pointer;
}

.sub-categories-links span:hover {
    color: #20478C;
    background: rgba(0,0,0,0.05);
}


@media screen and (max-width: 480px) {
    .mb-sm-50 {
        margin-bottom: 50px !important;
    }
}


.nav-item .drop-menu {
    position: absolute;
    background: #fff;
    line-height: 45px;
    top: 85px;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 6px 10px rgba(0,0,0,0.15);
}

.navbar-nav li:hover .drop-menu {
    transition: all 0.3s ease;
    top: 50px;
    z-index: 999;
    opacity: 1;
    visibility: visible;
}

.drop-menu li a {
    width: 100%;
    display: block;
    padding: 0 15px;
    font-weight: 400;
    border-radius: 0px;
    color: rgba(0,0,0,0.55)
}

.drop-menu li a:hover {
    background-color: rgb(128, 128, 128, 0.15);
    color: rgba(0,0,0,1)
}

.navbar-nav .mobile-item,
.navbar-nav input {
    display: none;
}

@media screen and (max-width: 990px) {
    .navbar-nav .drop-menu {
        position: static;
        opacity: 1;
        top: 65px;
        visibility: visible;
        padding-left: 20px;
        width: 100%;
        max-height: 0px;
        overflow: hidden;
        box-shadow: none;
        transition: all 0.3s ease;
    }

    .drop-menu li {
        margin: 0;
    }

    .drop-menu li a {
        border-radius: 5px;
        font-size: 18px;
    }

    .drop-menu li a:hover {
        background-color: #fff;
    }

    #showDrop-1:checked ~ #drop-menu-1,
    #showDrop-2:checked ~ #drop-menu-2,
    #showDrop-3:checked ~ #drop-menu-3,
    #showDrop-4:checked ~ #drop-menu-4 {
        max-height: 100%;
    }

    .navbar-nav .desktop-item-1,
    .navbar-nav .desktop-item-2,
    .navbar-nav .desktop-item-3,
    .navbar-nav .desktop-item-4 {
        display: none;
    }

    .navbar-nav .mobile-item {
        display: block;
        color: rgba(0,0,0,0.55);
        font-size: 13px;
        font-weight: 500;
        text-transform: uppercase;
        padding: 15px 0;
        margin: 0 15px;
        cursor: pointer;
        border-radius: 5px;
        transition: all 0.3s ease;
    }

    .navbar-nav .mobile-item:hover {
        color: rgba(0,0,0,1)
    }
}

.languge-changer-div {
    height: 100%;
    width: 35%;
    text-align: center !important;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
}

.languge-changer-urdu {
    font-family: 'HussainiNastaleeqRegular','Open Sans', sans-serif !important;
}

.languge-changer-div:hover {
    color: #20478C;
}


.dark-theme .navbar-nav .mobile-item {
    color: #eeeeee !important;
}

.dark-theme .navbar-nav .drop-menu {
    background-color: black;
}

.dark-theme .navbar-nav .drop-menu li a {
    color: #eeeeee !important;
}

.dark-theme .navbar-nav .drop-menu li a:hover {
    background-color: black;
    color: #fff !important;
}

/* Footer Styling */

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    column-gap: 20px;
    line-height: 1.1;
}


.footer-grid .grid-item {
    flex: 1 1 calc(25% - 20px);
    padding: 0 15px;
    min-width: 200px;
}


.footer-grid .grid-item .title,
.footer-grid .grid-item .title a {
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
}

.footer-grid .grid-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-grid .grid-item ul li {
    margin-bottom: 8px;
}

.footer-grid .grid-item ul li a {
    text-decoration: none;
    transition: color 0.3s;
}

.footer-grid .grid-item ul li a:hover {
    text-decoration: underline;
    color: #20478C;
}


/* styling for loader start */

.loader-main-container {
    height: 100vh;
    width: 100%;
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 999;
    background-color: rgba(0,0,0,0.2);
}

.loader-main-container-loading {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* styling for loader End */

.active-page {
    background-color: #254B8F;
    color: #fff !important;
}

.login-register-btn {
    border: none;
    background-color: rgba(13, 110, 253, 1);
    color: #fff;
    padding: 16px 30px;
    border-radius: 6px;
    font-size: 16px;
}
.login-register-btn:hover {
    background-color: rgba(13, 110, 253, 0.85);
}
.article-heading:hover {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    cursor: pointer;
}
.h-under:hover .heading a {
    text-decoration: underline;
    text-decoration-thickness: 2px;
}
 
.cur-p {
    cursor: pointer;
}
