@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(../fonts/Poppins/Poppins-Regular.ttf) format('truetype')
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(../fonts/Poppins/Poppins-Medium.ttf) format('truetype')
}

@font-face {
    font-family: 'Poppins';
    font-style: italic;
    font-weight: 500;
    font-display: swap;
    src: url(../fonts/Poppins/Poppins-MediumItalic.ttf) format('truetype')
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(../fonts/Poppins/Poppins-SemiBold.ttf) format('truetype')
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(../fonts/Poppins/Poppins-Bold.ttf) format('truetype')
}


:root {
    --primary-color: #0066FF;
    --secondary-color: #FFDD00;
    --bg-primary-gradient: linear-gradient(180deg, rgba(0, 96, 240, 1) 50%, rgba(0, 48, 120, 1) 100%);
    --bg-secondary-gradient: linear-gradient(180deg, rgba(253, 253, 254, 1) 0%, rgba(238, 238, 239, 1) 100%);
    --bg-grey-gradient: linear-gradient(180deg, rgba(253, 253, 254, 1) 0%, rgba(238, 238, 239, 1) 100%);
}

body {
    color: #000;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
}

a {
    color: #000;
    text-decoration: none;
    font-size: 12px;
}

.btn {
    border: none;
    font-size: 12px;
}

.btn:hover,
.close-btn:hover {
    opacity: 0.7;
    border-color: #fff;
}

.btn:focus {
    outline: none;
    box-shadow: 0px 3px 6px #00000038;
}

a:active,
.btn:active {
    outline: none;
    box-shadow: none;
}

.btn-disable {
    pointer-events: none;
    opacity: .65;
}

.form-select:focus {
    box-shadow: none;
}

.form-control,
.form-select,
.form-label {
    font-size: 12px;
    border-radius: 7px;
    box-shadow: none;
}

.form-control,
.form-select {
    min-height: 35px;
}

.form-control:focus {
    box-shadow: none;
}

span,
label {
    font-size: 12px;
}

span.swal2-success-line-long,
span.swal2-success-line-tip,
.swal2-x-mark,
.swal2-x-mark span {
    font-size: unset;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    border: none;
    font-size: 12px;
}

th,
td {
    text-align: left;
    padding: 8px;
}

th {
    font-weight: 500;
}

table tbody tr:nth-child(odd) {
    background-color: #fff;
}

table tbody tr:nth-child(even) {
    background-color: #F2F2F3;
}

.marquee-text {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 6;
    background-color: #ffc107;
    height: 25px;
}

.topbar-menu {
    padding: 10px 15px;
    margin: 0;
    background: var(--bg-grey-gradient);
    box-shadow: 0px 3px 30px #0000002E;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 5;
    min-height: 60px;
    max-height: 60px;

}

.topbar-menu li {
    font-size: 14px;
}

.topbar-menu .navbar-brand {
    font-size: 1.1rem;
}

.topbar-menu .topbar-contents .navbar-brand span.name-details {
    font-size: 12px;
    font-weight: 400;
}

.topbar-menu .topbar-contents {
    display: flex;
    align-items: center;
    width: 100%;
}

.topbar-menu .topbar-contents .title {
    display: flex;
    align-items: center;
    width: 42%;
}

.topbar-menu.discharge-tracker-topbar .topbar-contents .title {
    width: 60%;
}

.topbar-menu .topbar-contents .title .page-name-wrapper {
    display: flex;
    align-items: center;
    width: 60%;
}

.topbar-menu .topbar-contents .title .page-name-wrapper .page-name h6.navbar-brand {
    margin-bottom: .5rem;
}

.topbar-menu .topbar-contents .title .other-topbar-section {
    width: 40%;
}

.topbar-menu .topbar-contents .badges-section {
    width: 38%;
}

.topbar-menu.discharge-tracker-topbar .topbar-contents .badges-section {
    width: 37%;
}

.topbar-menu.discharge-tracker-topbar .topbar-contents .title .page-name-wrapper {
    width: 40%;
}

.topbar-menu.site-overview-topbar .topbar-contents .title .page-name-wrapper .page-name {
    display: flex;
    align-items: center;
}

.topbar-menu.site-overview-topbar .topbar-contents .title .page-name-wrapper .page-name h6.navbar-brand {
    margin-bottom: 0;
}

.topbar-menu.discharge-tracker-topbar .topbar-contents .title .other-topbar-section {
    width: 60%;
}

.topbar-menu .topbar-contents .badges-section .navbar-nav {
    justify-content: end;
}

.topbar-menu .topbar-contents .more {
    width: 3%;
}

.topbar-menu .navbar-brand,
.topbar-menu .navbar {
    padding: 0;
}

.topbar-menu .navbar .container-fluid {
    padding: 0;
}

.mt-10 {
    margin-top: -10px;
}

::-webkit-scrollbar {
    width: 6px;
    height: 3px;
}

::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.shape-btn {
    width: 40px;
    height: 40px;
    box-shadow: 0px 3px 6px #00000038;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification {
    position: relative;
}

.notification-bg {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: #FE0000;
    color: #fff;
    font-weight: 700;
    position: absolute;
    top: -100%;
    right: -75%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-bg span {
    font-size: 10px;
}

.rectangle-block-1,
.rectangle-block-2 {
    background: var(--bg-primary-grey);
    box-shadow: 0px 3px 6px #00000038;
    border-radius: 7px;
}

.rectangle-block-2 {
    border-radius: 7px 7px 0 0;
    padding: .5rem;
}

h6 {
    font-size: 14px;
}

.page-body-wrapper {
    display: flex;
    overflow: hidden;
    background: url('.././images/bg-page.png') no-repeat center fixed;
    background-size: cover;
    position: relative;
}

.main-panel {
    width: calc(100% - 100px);
    padding: 0 0 0 1rem;
    margin-top: 75px;
    height: calc(100% - 2%);
    padding-bottom: 40px;
}

#scroll-up {
    position: fixed;
    bottom: 30px;
    right: 20px;
    width: 30px;
    height: 32px;
    opacity: 1;
    z-index: 999;
    color: #fff;
    cursor: pointer;
    line-height: 34px;
    text-align: center;
    border-radius: 5px;
    background-color: var(--primary-color);

    i {
        font-size: 24px;
        color: #fff;
    }
}

.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    bottom: 0;
    left: 115px;
    margin: 0;
    padding: 1rem;
    height: 40px;
    width: calc(100% - 115px);
    background-color: #fff;
    z-index: 3;
}

.footer h6 {
    margin-bottom: 0;
}

.no-records {
    text-align: center;
    padding: 1.5rem 2rem;
    background: var(--bg-grey-gradient);
    box-shadow: 0px 3px 6px #00000038;
    border-radius: 0 0 7px 7px;
}

.no-records i {
    margin-right: 1rem;
}

.card-primary {
    border-radius: 7px;
}

.btn-primary-grey {
    background: var(--bg-grey-gradient);
    box-shadow: 0px 3px 6px #00000038;
    border-radius: 7px;
    padding: .5rem .75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 35px;
}

/* Media File Upload Styles */

.media-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

.media-tile {
    border: 1px solid #e5e7eb;
    border-radius: .5rem;
    overflow: hidden;
    cursor: pointer;
}

.media-tile.selected {
    outline: 3px solid #0d6efd;
}

.media-tile img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}

.custom-file-input {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #dee2e6;
    border-radius: 7px;
    padding: 0;
    width: 100%;
    background: #F2F2F2;
}

.custom-file-input button {
    background: #007bff;
    border: none;
    color: white;
    padding: 6px 10px;
    border-radius: 4px 0 0 4px;
    cursor: pointer;
}

.custom-file-input button:hover {
    background: #0056b3;
}

.file-name {
    flex: 1;
    color: #555;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.preview-file {
    margin-top: .5rem;
    padding: .5rem;
    border: 1px dashed var(--primary-color);
    border-radius: 7px;
}

.preview-file img {
    height: 40px;
}

/* Media File Upload Styles End */

/* Custom tab control and calender styles */

.nav-tabs {
    border: none;
}

.nav-tabs .nav-link:focus,
.nav-tabs .nav-link:hover {
    border-color: transparent;
}

.nav-tabs .nav-link {
    margin-left: 40px;
    color: #000;
}

.navbar-nav .btn-dark {
    padding: .25rem .5rem;
}

.tab-custom-btn {
    display: flex;
    align-items: center;
    justify-content: start;
    border: none;
    outline: none;
    padding: 5px 4px;
    text-align: center;
    border-radius: 10px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 22%, rgba(214, 214, 214, 1) 100%);
    cursor: pointer;
    color: #000000;
    font-size: 13px;
    position: relative;
    font-weight: 500;
    min-width: 200px;
    margin-right: 5px;
    height: 42px;
    box-shadow: 0px 3px 6px #00000038;
}

.tab-custom-btn .tab-active::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    background-image: url("../icons/button-arrow.svg");
    width: 42px;
    background-repeat: no-repeat, no-repeat;
    background-position: 20px center, 40px center;
    background-size: 15px, contain;
    pointer-events: none;

}

.tab-custom-btn.active .tab-active::before,
.tab-custom-btn:focus .tab-active::before,
.tab-custom-btn:hover .tab-active::before {
    background-image: url("../icons/button-arrow-active.svg");
    color: #fff;

}

.tab-custom-btn.active,
.tab-custom-btn:hover {
    background: linear-gradient(0deg, rgba(2, 29, 71, 1) 0%, rgba(0, 102, 255, 1) 100%);
    color: #fff;
    height: 42px;
}

.tab-custom-btn .tab-active:focus,
.tab-custom-btn .tab-active:active,
.tab-custom-btn .tab-active:hover {
    background: linear-gradient(0deg, rgba(0, 102, 255, 1) 0%, rgba(2, 29, 71, 1) 100%);
    border: none;
    outline: none;
    color: #fff;
    height: 42px;
}

.tab-custom-btn.active .tab-active,
.tab-custom-btn:focus .tab-active,
.tab-custom-btn:hover .tab-active {
    background: linear-gradient(0deg, rgba(0, 102, 255, 1) 0%, rgba(2, 29, 71, 1) 100%);
    height: 34px;
    border-radius: 6px;
}

.tab-active {
    display: flex;
    align-items: center;
    justify-content: start;
    padding: 0 10px 0 50px;
    min-width: 190px;
    background: transparent;
}

.reset-wrapper .card-primary {
    background-color: #fff;
    padding: 1rem;
    box-shadow: 0px 3px 6px #00000038;
}

.pagination-wrapper ul.pagination {
    margin: 0;
}

.pagination-wrapper .pagination .page-item:first-child,
.pagination-wrapper .pagination .page-item:last-child {
    width: 30%;
    text-align: center;
}

.pagination-wrapper .pagination .page-item {
    width: calc(40% / 3);
    text-align: center;
}

.pagination-wrapper .pagination .page-link {
    font-size: 12px;
    color: #000;
}

.pagination-wrapper .pagination .active>.page-link,
.pagination-wrapper .pagination .page-link.active {
    background: var(--primary-color);
    color: #fff;
}

.email-settings-wrapper .card-primary,
.user-profile-settings-wrapper .card-primary,
.portal-setting-wrapper .card-primary,
.branding-setting-wrapper .card-primary,
.subscription-details-wrapper .card-primary {
    background-color: #fff;
    padding: 1rem;
    box-shadow: 0px 3px 6px #00000038;
}

.email-settings-wrapper .card-primary .form-control,
.email-settings-wrapper .card-primary .form-select,
.user-profile-settings-wrapper .card-primary .form-control,
.user-profile-settings-wrapper .card-primary .form-select,
.portal-setting-wrapper .card-primary .form-control,
.portal-setting-wrapper .card-primary .form-select,
.branding-setting-wrapper .card-primary .form-control,
.branding-setting-wrapper .card-primary .form-select {
    background-color: #F2F2F2;
}

.subscription-details-wrapper .card-primary .table-subscription p,
.subscription-details-wrapper .card-primary .table-subscription h6 {
    margin-bottom: 0;
    font-size: 12px;
}

.subscription-details-wrapper .card-primary .table-subscription h6::before {
    content: ":";
    margin-right: .5rem;
}

.bg-login {
    overflow: hidden;
    background: url('.././images/bg-doc-matrix.png') no-repeat center fixed;
    background-size: cover;
}

.card-login {
    background-color: #fff;
    box-shadow: 0px 6px 30px #00000029;
    border-radius: 23px;
    padding: 1.5rem 1.5rem;
    position: relative;
    z-index: 2;

}

.card-login .logo-section {
    padding: 1rem 0 1.5rem 0;
    text-align: center;
}

.card-login .logo-section .img-logo {
    max-width: 80%;
}

.card-login span {
    font-size: 12px;
}

.card-login .form-control {
    border-radius: 12px;
}

.btn-login {
    background-color: var(--primary-color);
    box-shadow: 0px 3px 6px #00000038;
    border-radius: 12px;
    padding: .5rem;
    position: relative;
    z-index: 1;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
}

.card-login .form-control,
.btn-login {
    min-height: 40px;
}

.btn-login:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.denied-login-modal .modal-body {
    padding: 0px;
}

.denied-login-modal .modal-body .bg-login {
    padding: 1.5rem 0px;
}

.op-4 {
    opacity: .4;
}

/* Media Query */

@media (max-width:1399px) {
    .topbar-menu .topbar-contents .navbar-brand span.name-details {
        display: none;
    }
}

@media (min-width:1200px) {

    .topbar-menu .topbar-contents .more button,
    .topbar-menu .topbar-contents .more {
        display: none;
    }

    .topbar-menu .topbar-contents .more-buttons {
        background: transparent;
        box-shadow: none;
        border-radius: 0;
        width: 20%;
    }

    .topbar-menu.ward-performance-topbar .topbar-contents .badges-section {
        width: 33%;
    }

    .topbar-menu.ward-performance-topbar .topbar-contents .more-buttons {
        width: 25%;
    }

    .topbar-menu .topbar-contents .more-buttons ul {
        padding: 0;
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: end;
        list-style: none;
    }
}

@media (max-width:1199px) {
    .brand-logo {
        margin-right: 0;
    }

    .topbar-menu .topbar-contents .more button {
        border: none;
        width: 100%;
        border-radius: 5px;
    }

    .topbar-menu .topbar-contents .more-buttons {
        position: absolute;
        right: -3px;
        top: 60px;
        background: #fff;
        box-shadow: 0 10px 15px rgba(6, 0, 8, .22);
        border-radius: 10px;
    }

    .topbar-menu .topbar-contents .more-buttons ul {
        padding: .75rem;
        margin: 0;
        display: flex;
        align-items: center;
    }

    .topbar-menu .topbar-contents .more-buttons ul li {
        background: var(--bg-grey-gradient);
    }

    .topbar-menu .topbar-contents .title {
        width: 50%;
    }

    .topbar-menu .topbar-contents .badges-section {
        width: 47%;
    }
}

@media (min-width:992px) {

    .mobile-menu {
        display: none;
    }

    .logo-section-sm {
        display: none;
    }

    .pagination-wrapper .pagination {
        padding-top: .5rem;
    }

}

@media (min-width:768px) and (max-width:991px) {
    .rectangle-block {
        margin-top: -13px;
    }

    .btn-login {
        margin-bottom: 1rem;
        width: 100%;
        border-radius: 6px;
    }
}

@media (max-width:991px) {

    .page-body-wrapper {
        margin-top: 0 !important;
    }

    .shape-box {
        font-size: 12px;
    }

    .main-panel {
        width: 100%;
        padding: 0;
        margin-top: 0 !important;
    }

    .topbar-menu {
        display: none;
    }

    .notification-bg {
        top: -16%;
        right: -35%;
    }

    .card {
        padding: 0;
    }

    #content {
        position: inherit;
        width: 100%;
    }

    .logo-section-sm {
        margin-bottom: 1rem;
    }

    .footer {
        display: none;
    }

    .navbar-brand {
        padding-left: .25rem;
    }

    .nav-tabs li {
        width: 49%;
    }

    .nav-tabs li:nth-child(2n+1) {
        margin-right: 2%;
    }

    .nav-tabs li:nth-child(2n) {
        margin-right: 0;
    }

    .tab-custom-btn, .tab-active {
        width: 100%;
        min-width: auto;
    }

    .reset-wrapper .card-primary,
    .email-settings-wrapper .card-primary,
    .user-profile-settings-wrapper .card-primary,
    .portal-setting-wrapper .card-primary,
    .branding-setting-wrapper .card-primary,
    .subscription-details-wrapper .card-primary {
        margin: .5rem 0;
    }

    .bg-login .footer {
        display: none;
    }
}


@media (max-width:767px) {
    .card-login {
        opacity: .77;
        padding: 1rem;
        border-radius: 13px;
    }

    .card-login .card-body {
        padding: 0;
    }

    .btn-login {
        margin-top: calc(100% - 70%);
        width: 100%;
        border-radius: 4px;
    }

    .card-login .form-control {
        border-radius: 4px;
    }

    .bg-login {
        overflow: hidden;
        background: url('.././images/bg-doc-matrix-sm.png') no-repeat center fixed;
        background-size: cover;
    }

    .denied-login-modal .modal-body .bg-login .btn-login {
        margin-top: calc(5%);
    }

    .copywrite {
        display: none;
    }

    .form-control,
    .form-select,
    .form-label,
    .btn-primary-grey,
    .custom-file-input,
    .preview-file,
    .card-primary,
    .no-records {
        border-radius: 4px;
    }

    .nav-tabs li {
        width: 100%;
    }

    .nav-tabs li:nth-child(2n+1) {
        margin-right: 0%;
    }

    .reset-wrapper .card-primary,
    .email-settings-wrapper .card-primary,
    .user-profile-settings-wrapper .card-primary,
    .portal-setting-wrapper .card-primary,
    .branding-setting-wrapper .card-primary,
    .subscription-details-wrapper .card-primary {
        padding: .5rem;
    }
}

@media (max-width:359px) {
    h6 {
        font-size: 12px;
    }
}

@media (max-width:575px) {

    .tab-custom-btn {
        width: 100%;
        margin-right: 0;
    }
}

@media (max-height: 450px) {
    .sidenav {
        padding-top: 15px;
    }

    .sidenav a {
        font-size: 18px;
    }

    .vh-100 {
        height: auto !important;
    }

    .bg-login .row {
        margin: 20px 0;
    }
}