@font-face {
    font-family: 'Jameel-Noori-Nastaleeq';
    src: url('../fonts/urdu/jameel-noori-nastaleeq.ttf') format('truetype');
}

@media print {
    .customized_table {
        page-break-after: always;
    }

    .custom_padding {
        padding: 4px;
    }
}

/* URDU FONT STYLES */
.text-font {
    font-family: 'Jameel-Noori-Nastaleeq', sans-serif;
}

.custom-table-head {
    font-weight: bold;
}

.custom-table-head div {
    background-color: #4B49ac !important;
}

.custom-table-head span {
    color: #fff !important;
}

.custom-table .nk-tb-col {
    padding: 0.5rem 0.5rem !important;
}

.custom-required-label::after {
    content: ' *';
    color: red;
}

.custom-capitalize {
    text-transform: capitalize !important;
}



.login_card {
    background-color: rgba(0, 0, 0, 0.5) !important;
    /* Black color with 50% opacity */
    border-radius: 25px !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
    /* Box shadow for a lifted effect */
}

.card-content {
    color: white;
    /* Text color */
}


/* Style the Image Used to Trigger the Modal */
.nk-tb-col .images img {
    height: 40px;
    width: 40px;
}

img {
    cursor: pointer;
    transition: 0.3s;
}

img:hover {
    opacity: 0.7;
}

/* The Modal (background) */
#image-viewer {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

.modal-content {
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

#image-viewer .close {
    position: absolute;
    top: 84px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

#image-viewer .close:hover,
#image-viewer .close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

@media only screen and (max-width: 700px) {
    .modal-content {
        width: 100%;
    }
}

/* card */

.card-box {
    position: relative;
    background-color: #fff;
    padding: 1.5rem;
    -webkit-box-shadow: 0 0 35px 0 rgba(154, 161, 171, .15);
    box-shadow: 0 0 35px #9aa1ab26;
    margin-bottom: 24px;
    border-radius: 0.25rem;
}

.card-box:before {
    content: "";
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    width: 32px;
    height: 32px;
    overflow: hidden;
    top: 0;
    right: 0;
    border-radius: 0 4px 0 32px;
    transition: all .5s ease
}

.media-body {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    overflow: hidden;
    margin-left: 12px;
}

.card-box:hover .media-body {
    position: relative;
}

.avatar-lg {
    height: 4.5rem;
    width: 4.5rem;
    z-index: 0
}

.avatar-titles {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    color: #fff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex !important;
    height: 100%;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 100%;
    margin-right: 20px;
}

.card-box:hover h3 {
    color: #fff !important;
}

.col-xl-3.col-sm-6:nth-child(4n-7) .card-box:before,
.col-xl-3.col-sm-6:nth-child(4n-7) .avatar-lg {
    background-color: #00a65a !important
}

.col-xl-3.col-sm-6:nth-child(4n-7) .card-box:hover .avatar-lg {
    background-color: #fff !important
}

.col-xl-3.col-sm-6:nth-child(4n-7) .card-box:hover .avatar-titles {
    color: #00a65a !important
}

.col-xl-3.col-sm-6:nth-child(4n-6) .card-box:before,
.col-xl-3.col-sm-6:nth-child(4n-6) .avatar-lg {
    background-color: #0073b7 !important
}

.col-xl-3.col-sm-6:nth-child(4n-6) .card-box:hover .avatar-lg {
    background-color: #fff !important
}

.col-xl-3.col-sm-6:nth-child(4n-6) .card-box:hover .avatar-titles {
    color: #0073b7 !important
}

.col-xl-3.col-sm-6:nth-child(4n-5) .card-box:before,
.col-xl-3.col-sm-6:nth-child(4n-5) .avatar-lg {
    background-color: #dd4b39 !important
}

.col-xl-3.col-sm-6:nth-child(4n-5) .card-box:hover .avatar-lg {
    background-color: #fff !important
}

.col-xl-3.col-sm-6:nth-child(4n-5) .card-box:hover .avatar-titles {
    color: #dd4b39 !important
}

.col-xl-3.col-sm-6:nth-child(4n-4) .card-box:before,
.col-xl-3.col-sm-6:nth-child(4n-4) .avatar-lg {
    background-color: #ff9b44 !important
}

.col-xl-3.col-sm-6:nth-child(4n-4) .card-box:hover .avatar-lg {
    background-color: #fff !important
}

.col-xl-3.col-sm-6:nth-child(4n-4) .card-box:hover .avatar-titles {
    color: #ff9b44 !important
}

.card-box:hover:before {
    width: 100%;
    height: 100%;
    border-radius: .25rem
}

.card-box:hover {
    color: #fff
}

.card-box:hover .avatar-lg {
    background-color: #fff !important;
    box-shadow: 0 0 35px #9aa1ab26
}

.card-box:nth-child(even):hover .avatar-titles {
    background: #000 !important
}

.card-box:nth-child(odd):hover .avatar-titles {
    color: #ff9b44 !important
}

a {
    color: #000
}

.card-box:hover a {
    color: #fff !important
}

.media {
    display: flex;
}

.thead-primary th,
.thead-primary td {
    color: #fff;
    background: #854fff;
}

.upload__box {
    /* padding: 40px; */
    /* margin-top: 0px; */
    /* padding-top: 0px; */
    display: flex;
    gap: 20px;
}

.upload__inputfile {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.upload__btn {
    display: inline-block;
    font-weight: 600;
    color: #fff;
    text-align: center;
    min-width: 116px;
    /* padding: 5px; */
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid;
    background-color: #4045ba;
    border-color: #4045ba;
    border-radius: 10px;
    line-height: 26px;
    font-size: 14px;
}

.upload__btn:hover {
    background-color: unset;
    color: #4045ba;
    transition: all 0.3s ease;
}

.upload__btn-box {
    margin-bottom: 10px;
}

.upload__img-wrap {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.upload__img-box {
    width: 100px;
    padding: 0px;
    position: relative;
}

.upload__img-close {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: -10px;
    right: -6px;
    text-align: center;
    line-height: 24px;
    z-index: 1;
    cursor: pointer;
}

.upload__img-close:after {
    content: "✖";
    font-size: 14px;
    color: white;
    position: relative;
    right: 15%;
}

.img-bg {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
}

.upload__box p {
    margin-bottom: 0px;
}


.customized_table {
    direction: rtl;
    font-size: 17px;
}

.custom_table {
    direction: rtl;
    font-size: 17px;
}

.inner_table{
    border-collapse: collapse;
}


.labels {
    direction: rtl;
    font-size: 17px;
}

.text_center {
    vertical-align: middle;
    text-align: center;
}

.line {
    font-size: 22px;
    word-spacing: 4px;
}

.text_line {
    font-size: 18px;
}

.bold_text {
    font-weight: bold !important;
    color: black;
}

.table_heading_style {
    color: black !important;
    font-weight: 700 !important;
    font-size: 10px !important;
    text-align: left !important;
}

.table_heading_style td {
    padding: 4px 3px !important;
    color: black !important;
}

.table_heading_style_print {
    color: black !important;
    font-weight: 700 !important;
    font-size: 9px !important;
    text-align: left !important;
}

.table_heading_style_print td {
    padding: 2px 1px !important;
    color: black !important;
}

.text-120 {
    font-size: 120% !important;
}

.employee_info {
    display: flex;
}

.employee_info .profile-ud-value {
    margin-left: 1rem;
}

.vertical-text {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    text-align: center;
    vertical-align: middle;
    padding: 10px;
}
.custom-dropdown-link{
    position: relative;
    padding-right: 35px;
}
.custom-dropdown-link::before{
    content:"";
    position:absolute;
    width: 0;
    height: 0;
    margin-left: .255em;
    vertical-align: .255em;
    content: "\e9c5";
    font-family: "Nioicon" !important;
    border-bottom: 0;
    right: 25px;
    top: 8px;
}

.custom_span{
    color: black; 
    font-weight:bold;
}

.small-amount{
    font-size: 20px !important;
}

.align_button{
    margin-top: 2rem;
}
