html {
    scroll-behavior: smooth;
    /* default Theme */
    --blue-primary-color: #178CAF;
    /* Red Theme */
    --red-primary-color: #f56038;

    /* Dark Teal Theme */
    --darkTeal-primary-color: #2A6255;

    /* Pink Theme */
    --pink-primary-color: #D16BA5;

    /* Dark Theme */
    --dark-primary-color: #222131;
    --print-btn: #AF178C;
    --th-dark-color: rgba(23, 139, 175, 0.12);
    --th-blue-color: rgba(23, 139, 175, 0.12);
    /* --sideBar-item-dark:rgba(230, 230, 230, 0.80); */
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    --body-bg: #f6f6f6;
    --header-bg: #178CAF;
    --footer-bg: #FAFAFA;
    --sideBar-bg: #fff;
    --sideBar-items: #707070;
    --greeting-bg: rgba(23, 139, 175, 0.18);
    --title-bg: #178CAF;
    --sub-content-bg: #fff;
    --input-bg: #fff;
    --tab-bar-button1: #8CAF17;
    --tab-bar-button2: #AF178C;
    --tab-bar-button: #AF3A17;
    --homePage-bar: rgb(249, 249, 249);
    --bar-fill1: #7A3E10;
    --bar-fill2: #AF5817;
    --bar-fill3: #178CAF;
    --even-tr: #ebebeb;
    --dropmenu-show: #fff;
    --th-color: rgba(23, 139, 175, 0.12);
    color: #000 !important;
    --text-color: #000;
    --message-btn-group1: #8caf17;
    --message-btn-group2: #af178c;
    --message-btn-group3: #af3a17;
    --submit-btn: #178CAF;
    --table-hover: rgba(23, 139, 175, 0.5);
    --send-btn: #178CAF;
    --bar-menu: #178CAF;
    --archive-header: #CEE3EA;
    --archive-title: #178CAF;
    background-color: var(--body-bg);
}

ul {
    list-style: none;
    padding: 0;
}

.dark-theme {
    --body-bg: #16191c;
    --header-bg: #222131;
    --footer-bg: #222131;
    --sideBar-bg: #222131;
    --sideBar-items: #E6E6E6;
    --greeting-bg: #178CAF;
    --archive-header: #CEE3EA;
    --archive-title: #178CAF;
    --title-bg: #178CAF;
    --sub-content-bg: #222131;
    --input-bg: rgba(255, 255, 255, 0.6);
    --even-tr: #272b34;
    --text-color: #fff;
    --dropmenu-show: #222131;
    --message-btn-group1: #8caf17;
    --message-btn-group2: #af178c;
    --message-btn-group3: #af3a17;
    --submit-btn: #178CAF;
    --table-hover: rgba(23, 139, 175, 0.5);
    --send-btn: #178CAF;
    --bar-menu: #178CAF;
    color: #fff !important;
}

.orange-theme {
    --header-bg: #F56038;
    --title-bg: #F56038;
    --greeting-bg: rgba(245, 97, 56, 0.46);
    --sideBar-items: #707070;
    --th-color: rgba(245, 97, 56, 0.12);
    --bar-fill1: #FFCA7A;
    --bar-fill2: #FF830D;
    --bar-fill3: #0A2F35;
    --message-btn-group1: #F7A326;
    --message-btn-group2: #13482F;
    --message-btn-group3: #13482F;
    --submit-btn: #F56038;
    --table-hover: rgba(245, 97, 56, 0.5);
    --send-btn: #F56038;
    --archive-header: rgba(245, 97, 56, 0.46);
    --archive-title: #F56038;
    --bar-menu: #F56038;
}

.dark-green-theme {
    --header-bg: #2A6255;
    --title-bg: #2A6255;
    --greeting-bg: rgba(42, 98, 85, 0.16);
    --sideBar-items: #707070;
    --th-color: rgba(42, 98, 85, 0.08);
    --bar-fill1: #F56038;
    --bar-fill2: #13492F;
    --bar-fill3: #F7A326;
    --message-btn-group1: #F6A326;
    --message-btn-group2: #13492F;
    --message-btn-group3: #F55F38;
    --submit-btn: #2A6255;
    --table-hover: rgba(42, 98, 85, 0.5);
    --send-btn: #2A6255;
    --archive-header: rgba(42, 98, 85, 0.16);
    --archive-title: #2A6255;
    --bar-menu: #2A6255;
}

.pink-theme {
    --header-bg: #D16BA5;
    --title-bg: #D16BA5;
    --greeting-bg: rgba(209, 107, 165, 0.23);
    --sideBar-items: #707070;
    --th-color: rgba(209, 107, 165, 0.16);
    --bar-fill1: #D17A6B;
    --bar-fill2: #7A924B;
    --bar-fill3: #92554B;
    --message-btn-group1: #6BA5D1;
    --message-btn-group2: #A5D16B;
    --message-btn-group3: #6BD197;
    --submit-btn: #D16BA5;
    --table-hover: rgba(209, 107, 165, 0.50);
    --send-btn: #D16BA5;
    --archive-header: rgba(209, 107, 165, 0.23);
    --archive-title: #D16BA5;
    --bar-menu: #D16BA5;
}

.light-green-theme {
    --header-bg: #679186;
    --title-bg: #679186;
    --greeting-bg: rgba(103, 145, 134, 0.23);
    --sideBar-items: #707070;
    --th-color: rgba(38, 77, 112, 0.28);
    --bar-fill1: #916772;
    --bar-fill2: #678791;
    --bar-fill3: #84A79E;
    --message-btn-group1: #264E70;
    --message-btn-group2: #918667;
    --message-btn-group3: #866791;
    --submit-btn: #679186;
    --table-hover: rgba(103, 145, 134, 0.50);
    --send-btn: #679186;
    --archive-header: rgba(103, 145, 134, 0.23);
    --archive-title: #679186;
    --bar-menu: #679186;
}

::-webkit-inner-spin-button {
    display: none;
}

input:not(input[type="checkbox"]),
select {
    width: 100%;
    outline: none;
    border: 1px solid#C6C6C6;
    background-color: var(--input-bg);
    border-radius: 0.5rem;
    padding: 0.5rem;
    color: var(--text-color);
}

body.dark-theme input:not(input[type="checkbox"]),
body.dark-theme select {
    color: #000;
}

select option {
    color: #000 !important;
}

.RadMultiSelect,
.RadMultiSelect[dir="rtl"] .k-multiselect-wrap {
    width: 100% !important;
    border: 0 !important;
    padding-left: 0 !important;
}

.RadMultiSelect_Default .k-multiselect-wrap>.k-readonly {
    opacity: 1 !important;
}

.RadMultiSelect_Default.k-state-focused>.k-multiselect-wrap {
    box-shadow: none !important;
}

.btn-group-footer input[type="submit"] {
    padding: 0.5rem 3rem;
    text-align: center;
    border: none;
    outline: none;
    border-radius: 0.5rem;
    font-weight: 500;
}

.btn-group-footer input[type="submit"]:nth-child(1) {
    background-color: var(--submit-btn) !important;
    color: #fff !important;
}

.btn-group-footer input[type="submit"]:nth-child(2) {
    background-color: var(--print-btn) !important;
    color: #fff !important;
}

.btn-group-footer input[type="submit"]:nth-child(3) {
    border: 1px solid var(--print-btn) !important;
    color: var(--print-btn) !important;
    background-color: transparent !important;
}

.RadMultiSelect {
    width: 100% !important;
    outline: none !important;
    border: 1px solid#C6C6C6 !important;
    background-color: var(--input-bg) !important;
    border-radius: 0.5rem !important;
    padding: 0.5rem 1rem !important;
    color: var(--text-color) !important;
}

.k-multiselect-wrap.k-floatwrap {
    border: 0 !important;
}

.ui-dialog.ui-widget.ui-widget-content {
    position: fixed !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    background-color: #fff;
    border-radius: 0.5rem;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.5);
}

.ui-widget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background-color: var(--archive-title);
    border-top-right-radius: 0.5rem;
    border-top-left-radius: 0.5rem;
    color: #fff;
}

.ui-button {
    border: 0;
    outline: 0;
}

.ui-dialog-titlebar-close {
    box-sizing: content-box;
    width: 1em;
    height: 1em;
    border-radius: 0.375rem;
    opacity: .5;
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
}

.ui-dialog-titlebar-close .ui-button-text {
    display: none;
}

div.col-md-6 label {
    font-weight: 500;
}

textarea {
    resize: vertical;
    min-height: 8rem !important;
    width: 100%;
    border: 1px solid #C6C6C6;
    outline: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    color: var(--text-color);
    background-color: var(--input-bg);
}

.hidden {
    display: none !important;
}

.sendMessage-body input,
.sendMessage-body select {
    margin: 0.2rem 0px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Tajawal', sans-serif;
    font-weight: 500;
}

.table-layout-fixed {
    table-layout: fixed;
}

.dmsTable {
    table-layout: fixed;
}

.dmsTable th,
.dmsTable td {
    text-align: center;
}

.dmsTable th a {
    color: #000;
}

.dmsTable>tr:first-child {
    pointer-events: none;
}

a {
    text-decoration: none !important;
}

.dropdown-item {
    text-align: start;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-thumb {
    background-color: var(--header-bg);
    border-radius: 0.5rem;
}

::-webkit-scrollbar-track {
    background-color: #ccc;
}

.header {

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar {
    background-color: var(--header-bg);
    --bs-navbar-toggler-focus-width: 0 !important;
}

.logo {
    width: 5rem;
}

.nav-icon {
    position: relative;
}

.headerCount {
    top: -5px;
    right: -5px;
    z-index: 99;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    width: 15px;
    height: 15px;
    font-size: 12px;
    background-color: #E23535;
    border-radius: 50%;
}

.dropdown-toggle::after {
    border: 0 !important;
    margin: 0 0.2rem;
    content: '\2039';
    transform: rotate(90deg);
}

.nav-btn {
    padding: 0 !important;
    display: flex;
    align-items: center;
    font-size: 15px;
}

.nav-link {
    color: white !important;
}

.dropdown-menu {
    --bs-dropdown-padding-y: 0 !important;
    --bs-dropdown-border-radius: 0 !important;
    min-width: 17rem !important;
}

.dropdown-menu li {
    border-bottom: 0.3px solid #707070;
    padding: 0.5rem;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu li a span {
    text-align: initial;
    padding-left: 0.2rem;
}

.reports-dropdown {
    max-height: 20rem;
    overflow-y: auto;
}

.dropstart .dropdown-toggle::before {
    display: none !important;
}

.dropstart .btn.dropdown-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.btn {
    --bs-btn-border-width: 0px !important;
}

ul {
    margin: 0;
}

li {
    margin: 0 !important;
    padding: 0 !important;
}

li a {
    display: block;
    width: 100%;
    height: 100%;
    text-align: start;
    vertical-align: middle;
    padding: 0.45rem 1rem !important;
}

.dropdown-title {
    color: var(--title-bg);
    text-align: start;
    border-bottom: 1px solid var(--title-bg);
    padding: 0.5rem;
}

div.dropdown-content {
    color: var(--text-color);
    background-color: var(--body-bg);
    display: flex;
    align-items: flex-start;
    max-height: 12rem;
    overflow-y: auto;
}

.navbar-nav .dropdown-menu.show {
    background-color: var(--dropmenu-show);
}

.dropdown-content a {
    color: #535355;
    text-align: start;
}

.dropdown-content ul {
    width: 100%;
}

.dropdown-menu {
    margin-top: 0;
}

.side-bar-section .dropdown {
    width: fit-content;
}

.dropdown-footer {
    background-color: var(--header-bg);
    display: flex;
    justify-content: center;
    align-items: center;
}

[type='checkbox']+label {
    margin-inline-start: 0.2rem;
    font-size: 15px;
}

.add-user-table-container>div>table {
    border-collapse: separate;
    border-spacing: 15px 10px;
}

.add-user-table-container-2>div>table tbody tr:not(tr:last-child) {
    border-bottom: 0.3px solid #707070 !important;
}

.add-user-table-container-2>div>table tbody tr td {
    padding: 0.4rem;
}

.add-user-table-container-2>div>table .alt-row:first-child,
.add-user-table-container>div>table .alt-row:first-child {
    background-color: transparent !important;
}

.dropdown-footer .btn {
    color: #fff !important;
    background-color: var(--header-bg) !important;
    width: 100%;
}

.dropdown-footer .btn:hover {
    background-color: #22a7cf;
}

.color-list-btn::after {
    content: "" !important;
}

.nav-item .btn-group {
    display: block;
}

.nav-item .nav-link.active {
    --bs-nav-pills-link-active-bg: #CEE3EA;
    color: var(--archive-title) !important;
}

.admin-list-btn .btn {
    --bs-btn-padding-y: 0rem !important;
}

.dashboardTable th,
.dashboardTable td {
    text-align: center;
}

.bar-container {
    width: calc(100% / 10);
}

.side-bar-section {
    width: 8rem;
    margin-bottom: 1rem;
    align-self: baseline;
    background-color: var(--sideBar-bg);
    border-radius: 0.5rem;
    box-shadow: 0 0 4px 0 #707070;
}

.sidBar-ul-container {
    transition: 0.35s;
    display: flex;
    flex-direction: column;
    align-items: baseline;
    background-color: var(--sideBar-bg);
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}

.sidBar-ul-container>div.btn-group {
    border-bottom: 1px solid rgba(112, 112, 112, 0.47);
    border-radius: 0;
    width: 100%;
    padding: 1rem 0.1rem;
}

.main-page {
    color: var(--sideBar-items);
    padding: 1rem 0px;
    border-bottom: 1px solid rgba(112, 112, 112, 0.47);
}

.main-page:hover {
    color: var(--sideBar-items);
}

.sidBar-ul-container>div .btn {
    color: var(--sideBar-items);
}

.sidBar-ul-container .dropdown-toggle {
    white-space: unset;
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
}

.side-bar-section .bar-btn {
    padding: 0.7rem;
    cursor: pointer;
    background-color: var(--sideBar-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0.5rem;
}

.side-bar-section .bar-btn svg {
    background-color: var(--sideBar-bg);
}

.side-bar-section .fa-bars {
    padding: 0.5rem;
}

.side-bar-section .fa-bars path {
    fill: var(--bar-menu);
}

.sidBar-ul-container>div .btn.show {
    color: var(--title-bg);
}

.sidBar-ul-container .dropdown-menu a {
    text-decoration: none;
    color: var(--text-color);
}

.sidBar-ul-container .dropdown-menu.show {
    margin-bottom: 1rem;
    background-color: var(--sideBar-bg);
}

.sidBar-ul-container .dropend .dropdown-toggle::after {
    display: none;
}

.sidBar-ul-container .btn {
    --bs-btn-padding-y: 0;
    --bs-btn-padding-x: 0;
}

.sidBar-ul-container>div.btn-group:first-child {
    border-top: 1px solid rgba(112, 112, 112, 0.47);
}

.sidBar-ul-container>div.btn-group:last-child {
    border-bottom: none;
}

.navbar-toggler-sideBar {
    width: 100%;
}

.navbar-toggler-sideBar .fa-bars {
    color: #707070;
    padding: 1rem;
    transition: 0.3s;
}

.primary-blue {
    color: var(--blue-primary-color) !important;
}

.navbar-toggler-sideBar .fa-bars:hover {
    color: var(--blue-primary-color);
}

.footer {
    background-color: var(--footer-bg);
    padding: 1rem;
    margin-top: auto;
    align-self: flex-end;
}

.modal-header {
    background-color: var(--header-bg);
    color: #fff;
}

.modal-header .btn-close {
    margin: 0 !important;
    background-color: rgba(255, 255, 255, 0.75);
}

.pagination {
    --bs-pagination-border-width: 0px !important;
    gap: 10px;
}

.page-link {
    border-radius: 5px;
    color: #000;
}

.table {
    --bs-table-color: unset;
    min-width: 700px;
}

.table thead {
    border-bottom: none !important;
}

.table th {
    border-left: 0.2px solid rgba(112, 112, 112, 0.34);
    background-color: var(--th-color) !important;
}
body.dark-theme .table th a{
    color: #fff !important;
}
p:has(iframe) {
    margin-bottom: 0 !important;
    height: 100%;
}


.table th:first-child {
    border-right: 0.2px solid rgba(112, 112, 112, 0.34);
}

.table tr {
    border-bottom: 0.3px solid rgba(112, 112, 112, 0.34);
}

.table td {
    border-left: 0.3px solid rgba(112, 112, 112, 0.34);
    vertical-align: middle;
}

.table td:first-child {
    border-right: 0.3px solid rgba(112, 112, 112, 0.34);
}

.table>:not(caption)>*>* {
    padding: 0.8rem !important;
}

.table tr {
    transition: 0.2s;
}

.title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background-color: var(--title-bg);
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
    color: #fff;
    margin: 0 !important;
}

.title select {
    width: fit-content;
}

.rounded-border {
    border-radius: 0.5rem;
}

.sub-content,
div.bg-white.rounded-3 {
    background-color: var(--sub-content-bg) !important;
    border-radius: 0.5rem !important;
}

.fa-trash {
    color: #E23535;
    padding: 0.5rem;
    border-radius: 0.5rem;
    background-color: rgba(226, 53, 53, 0.10);
    transition: 0.2s;
}

.new-user,
.new-user:hover {
    border: 1px solid var(--send-btn);
    color: var(--send-btn);
    background-color: #fff;
}

.theme-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    color: var(--text-color);
}

.theme-btn:hover,
.language-btn:hover {
    background-color: rgba(112, 112, 112, 0.2);
    color: var(--text-color);
}

.theme-color {
    width: 20px !important;
    height: 20px !important;
    border-radius: 50%;
}

.defalut-theme-btn .theme-color {
    background-color: #178CAF;
}

.orange-theme-btn .theme-color {
    background-color: #F56038;
}

.dark-green-theme-btn .theme-color {
    background-color: #2A6255;
}

.pink-theme-btn .theme-color {
    background-color: #D16BA5;
}

.light-green-theme-btn .theme-color {
    background-color: #679186;
}

.modal-footer {
    background-color: var(--body-bg);
}

.modal-footer button {
    background-color: var(--header-bg) !important;
}

.flag {
    width: 30px;
    height: 30px;
}

.language-btn {
    color: var(--text-color);
    width: 100%;
}

/* Home page main-cotent styling */
.main-content-section {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.main-content-section>div:nth-child(2) {
    flex: 1;
}

.content-section>div {
    border-radius: 0.5rem;
}

.message-btn-group {
    display: flex;
    align-items: center;
    gap: 20px !important;
}

.message-btn-group a {
    padding: 0.5rem 1.5rem;
    text-align: center;
    text-decoration: none;
    color: #fff;
    border-radius: 0.5rem;
    font-weight: bold;
    transition: 0.2s;
    width: 200px;
}

.message-btn-group a:first-child {
    background-color: var(--message-btn-group1);
    padding: 0.5rem 3rem;
}

.message-btn-group a:nth-child(2) {
    background-color: var(--message-btn-group2);
}

.message-btn-group a:nth-child(3) {
    background-color: var(--message-btn-group3);
}

.message-btn-group a:hover {
    transform: translateY(-2px);
}

.greeting {
    display: flex;
    align-items: center;
    background-color: var(--greeting-bg);
    border-radius: 12px;
    gap: 10px;
    margin-top: 0 !important;
    padding: 1rem !important;
}

.homePage-body .statistics {
    width: 30%;
}

.homePage-body .bar-container {
    width: 30%;
}

.dashboard-bar {
    width: 100%;
    height: 5rem;
    background-color: var(--homePage-bar);
    display: flex;
    align-items: flex-end;
    border-radius: 12px;
    overflow: hidden;
}

.select2-container {
    display: none;
}

.dashboard-bar>div {
    color: #fff;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    width: 100%;
}

.bar-container:nth-child(1) .bar>div {
    background-color: var(--bar-fill1);
    height: 80%;
}

.bar-container:nth-child(2) .bar>div {
    background-color: var(--bar-fill2);
    height: 50%;
}

.bar-container:nth-child(3) .bar>div {
    background-color: var(--bar-fill3);
}

.page-link.active {
    background-color: var(--header-bg);
}

/* Styling sending message page */
.message-content-section {
    border-radius: 0.5rem;
}

.btn.choose {
    border: 1px solid var(--title-bg);
    color: var(--text-color);
    width: 100%;
    transition: 0.3s;
    pointer-events: visible;
}

input[type='file'] {
    background-color: transparent !important;
}

.btn.choose:hover {
    background-color: var(--title-bg);
    color: #fff;
}

.btn.choose.disabled {
    background-color: var(--title-bg);
    color: #fff;
}

.attachments-section {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
}

.attachments-section>div {
    width: 30%;
    border-radius: 0.5rem;
}

.attachments-section>div>div:first-child .btn {
    --bs-btn-padding-y: 0 !important;
}

#administrationCopy input,
#administrationCopy select,
#employeeCopy input,
#employeeCopy select {
    margin: 0;
    width: 100%;
}

#administrationCopy label {
    margin-bottom: 0.5rem;
    margin-left: 0.5rem;
}

.modal-body {
    background-color: var(--body-bg);
}

.modal-content {
    background-color: unset;
}

#administrationCopy .modal-body>form {
    display: flex;
    align-items: flex-end;
}

#administrationCopy .modal-body>form>div {
    display: flex;
    flex-direction: column;
    width: 100%;
}

#administrationCopy .table td {
    padding-left: 0;
}

#employeeCopy th:first-child,
#administrationCopy th:first-child {
    border-left: 0 !important;
}

#employeeCopy .modal-body>form:first-child {
    display: flex;
    align-items: flex-end;
}

.submit-btn {
    background-color: var(--blue-primary-color);
    color: #fff;
}

.submit-btn:hover {
    background-color: #0b5ed7;
    color: #fff;
}

.input-file-section {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

iframe {
    height: 100% !important;
    width: 100% !important;
}

input::file-selector-button {
    background-color: #C6C6C6;
    border: 0;
    outline: 0;
    border-radius: 0.5rem;
    cursor: pointer;
}

.new-file-btn {
    border: 1px solid var(--title-bg);
    padding: 0.2rem 2rem;
    background-color: #fff;
    color: var(--title-bg);
    font-weight: 600;
    transition: 0.1s;
}

.new-file-btn:hover {
    color: var(--title-bg);
    background-color: #fff !important;
    border: 1px solid var(--title-bg) !important;
    opacity: 0.9;
}

.new-file-btn:active {
    opacity: 0.8;
    color: var(--title-bg) !important;
}

.upload-btn {
    background-color: var(--title-bg);
    color: #fff;
    padding: 0.2rem 2rem;
    transition: 0.2s;
}

.upload-btn:hover {
    background-color: var(--title-bg);
    opacity: 0.9;
    color: #fff;
}

.upload-btn:active {
    opacity: 0.8;
    color: #fff;
    background-color: var(--title-bg) !important;
}

table tr:hover {
    --bs-table-hover-bg: none;
}

.dmsTable tbody tr:not(tr:has(th[scope="col"])):hover {
    background-color: var(--archive-header) !important;
    cursor: pointer;
}

tr:has(td[colspan] > table):hover {
    cursor: auto !important;
    --archive-header: transparent !important;
    background-color: var(--archive-header);
}

.details-btn {
    background-color: var(--header-bg);
    color: #fff;
}

span[id="_RequiredFieldValidator_"] {
    color: red;
}

.details-btn:hover {
    background-color: #0b5ed7;
    color: #fff;
}

/* Styling incomingDetails page */
.top-form-section {
    display: flex;
    gap: 10px;
}

.row>div:nth-child(5)>div input {
    width: 100%;
}

.right-form-section {
    flex-basis: 65%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.right-form-section>div,
.left-form-section>div {
    border-radius: 0.5rem;
}

.left-form-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex-basis: 35%;
}

input[type='submit'],
.btn-primary {
    background-color: var(--submit-btn) !important;
    color: #fff !important;
    transition: 0.2s !important;
    border-color: currentColor !important;
}

input[type='submit']:hover,
.btn-primary:hover {
    background-color: var(--submit-btn) !important;
    opacity: 0.9;
    color: #fff;
    border-color: var(--archive-title) !important;
}

input[type='submit']:active,
.btn-primary:active {
    background-color: var(--submit-btn) !important;
    opacity: 0.8;
    color: #fff !important;
}

.form-btn-group {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    margin-top: 1rem;
}

input[disabled],
select[disabled],
textarea[disabled],
input[readonly],
select[readonly],
textarea[readonly] {
    cursor: not-allowed !important;
    background-color: #eeeeee !important;
}

.send-btn-modal {
    background-color: var(--send-btn) !important;
    color: #fff !important;
    transition: 0.2s !important;
}

.send-btn-modal:hover {
    background-color: var(--send-btn) !important;
    opacity: 0.9 !important;
    color: #fff !important;
}

/* myClosedTransaction-body */

.fa-folders {
    color: var(--text-color) !important;
}

.fa-print,
.fa-folders {
    background-color: #ccc;
    border-radius: 0.5rem;
    padding: 0.5rem;
    color: #2f98b7 !important;
    transition: 0.2s;
}

.fa-print:hover,
.fa-folders:hover,
.fa-trash:hover {
    transform: scale(1.1);
}

/* fileArchive */
.archive-container {
    text-decoration: none;
    color: initial;
    cursor: pointer;
    transition: 0.15s;
    font-size: 14px;
    text-align: center;
}

.archive-container:hover {
    color: initial;
}

.archive-container:active {
    transform: translateY(0.25em);
}

.archive-container span:nth-child(1) {
    width: 100%;
    height: 70%;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--archive-header);
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

.archive-container span:nth-child(1) .fa-books {
    font-size: 40px;
}

.archive-container span:nth-child(2) {
    display: flex;
    justify-content: center;
    align-content: center;
    padding: 0.5rem 0rem;
    background-color: var(--archive-title);
    width: 100%;
    color: #fff;
}

.archive-container p {
    width: 100%;
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
    display: block;
    background-color: #e0e0e0;
    padding: 0.2rem;
}

/* searchInComing-body */
.print-btn,
input[type='submit'].print-btn {
    background-color: var(--print-btn) !important;
    color: #FFF !important;
}

.print-btn:hover,
input[type='submit'].print-btn:hover {
    background-color: #cc24a5 !important;
    color: #fff;
}

.print-btn:active,
input[type='submit'].print-btn:active {
    background-color: #cc24a5 !important;
    color: #fff !important;
}

.enquary-body td:last-child {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

/* applicationEnquiry-body */
.applicationEnquiry-body td:nth-child(7),
.enquiryByWarrant-body td:nth-child(7) {
    width: 8rem;
}

.applicationEnquiry-body td:nth-child(7) span,
.enquiryByWarrant-body td:nth-child(7) span {
    border-radius: 0.5rem;
    padding: 0.3rem 0.5rem;
    background-color: var(--title-bg);
    color: #fff;
}

.alert {
    background-color: var(--archive-header);
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.alert .close {
    border: 0px !important;
    padding: 0.2rem 0.5rem;
    border-radius: 0.5rem;
}

.taglist a {
    padding: 0.5rem;
    border-radius: 0.5rem;
    background-color: var(--archive-header);
    color: #000;
    transition: 0.15s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.taglist a:hover {
    transform: translateY(-1.5px);
}

.log-in-container {
    min-height: 100vh;
}

.bg1-blur {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-image: url('/v2/assests/bg.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    filter: blur(2px);
}

.bg2-blur {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: #178CAF;
    filter: blur(4px) brightness(28%) opacity(0.45);
}

.log-in-info {
    width: 40%;
    height: 70%;
    z-index: 1;
    padding: 1.5rem 0px;
    position: relative;
}

.dms-logo {
    width: 150px;
}

.ss {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(23, 140, 175, 0.24);
    top: 0;
    left: 0;
    z-index: -1;
}

.ss::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(7px) brightness(0.7);
    /* apply the blur */
    pointer-events: none;
    /* make the overlay click-through */
}

.log-in-button {
    background-color: #178CAF;
    transition: 0.25s;
    border: none;
    color: #fff;
    padding: 0.5rem;
    border-radius: 0.5rem;
    font-weight: bold;
    font-size: 19px;
}

.log-in-button:hover {
    background-color: #2ab0d9;
    transform: translateY(-0.25em);
}

.log-in-footer {
    font-size: 14px;
}

.log-in-info-content>div:nth-child(2) {
    margin-top: 2rem;
}

span[id*="_RequiredFieldValidator"],
span[id*="_CompareValidator"] {
    color: red;
}

#TxtDep_No, #TxtDocTypeCode, #Txt_Referrals_To_User_ID, #Txt_Referrals_To_Dep_No{
    background-image: url('../assests/grid-icon.svg');
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 25px;
}
#opendialog {
    padding-block: 1rem !important;
    background-color: #707070 !important;
}

#OpenDialgCopies {
    padding-block: 1rem !important;
    background-color: #584141 !important;
}

#OpenDialgCopiesEmp {
    padding-block: 1rem !important;
    border:1px solid #AE7E7E !important; 
    color: #AE7E7E !important;
    background-color: #fff !important;
    font-weight: bold;
}
[id*="_BtnScaning"]{
    padding-block: 1rem !important;
}
[id*="_ChkBranchlist"] tr:not(tr:last-child) {
    border-bottom: 1px solid #ddd;
}

[id*="_ChkBranchlist"] td {
    padding: 0.8rem;
    border-inline-end: 1px solid #ddd;
}

[id*="_ChkGrouplist"] td {
    padding: 0.8rem;
}

[id*="_ChkBranchlist"] td:last-child {
    border-inline-end: 0;
}

div[id*="_ChkBranchlist_"],
div[id*="_ChkGrouplist_"] {
    display: inline-block;
    margin-inline-end: 0.5rem;
}

div[id*="_ChkBranchlist_"] input[type='checkbox'],
div[id*="_ChkGrouplist_"] input[type='checkbox'] {
    opacity: 1 !important;
}

.ui-dialog-buttonpane {
    display: none;
}

.ui-dialog-buttonpane>div>button {
    padding: 0.5rem 2rem;
    border-radius: 0.5rem;
    background-color: var(--archive-title);
    display: block;
    margin-inline-start: auto;
    color: #fff;
}

.upload-btn-group {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    padding: 1rem;
}

input[type='image'] {
    width: 25px !important;
}

.ui-draggable {
    position: fixed !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    min-width: none !important;
    max-width: none !important;
    width: 500px;
}

#popup_title {
    display: none;
}

#popup_content {
    display: flex;
    flex-direction: column;
    align-items: end;
    justify-content: space-between;
    height: 500px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1);
}

#popup_message {
    height: 100%;
    width: 100%;
}

div:has(#GV),
div:has(#GridView1) {
    max-width: none !important;
}

#GV,
#GridView1 {
    min-width: 100%;
}

#popup_ok {
    padding: 0.2rem 2rem !important;
    background-color: var(--archive-title);
    color: #fff;
}

#ChkSecurity_Out td div,
#ChkSecurity_In td div,
#ChkDept_Type_Out td div,
#ChkDept_Type_In td div {}

[id*="_ChkDept_Type_In_"],
[id*="_ChkDept_Type_Out_"],
[id*="_ChkSecurity_In_"],
[id*="_ChkSecurity_Out_"] {
    display: inline-block;
    margin-inline-end: 0.5rem;
}

.fa-pen-to-square {
    background-color: var(--archive-header);
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: 0.2s;
    color: var(--archive-title);
}

.fa-pen-to-square:hover {
    transform: scale(1.1);
}

div:has(>table) {
    overflow-x: auto;
}

form#Form1 {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
}
td .fa-envelope-open, td .fa-envelope{
    color: var(--archive-title);
    font-size: 18px;
}
@media not print {
    @media (min-width: 992px) and (max-width: 1150px) {
        .brand-div span {
            margin: 2rem 0 !important;
        }

        .nav-item {
            padding: 0px 0.5rem !important;
        }

        .navbar-expand-lg .navbar-nav {
            margin-right: 2rem !important;
        }

        .incomingDetails-body,
        .outgoingDetails-body {
            font-size: 15px;
        }
    }

    @media (max-width: 991px) {
        .nav-item {
            margin: 1rem 0px !important;
        }

        .admin-list-btn {
            margin: 1rem 0px;
        }

        .admin-list-btn .dropdown-menu.show {
            transform: translateX(-105px) !important;
        }

        .details-btn {
            width: 100%;
        }

        .top-form-section {
            flex-direction: column;
        }

        .main-content-section {
            position: relative;
        }

        .side-bar-section {
            position: fixed;
            top: 65px;
            z-index: 100;
        }

        .greeting {
            margin-top: 2rem !important;
        }

        .sidBar-ul-container {
            max-height: 0;
            opacity: 0;
            overflow: hidden;
            background-color: var(--sideBar-bg);
            color: var(--sideBar-items);
        }

        .max-height {
            opacity: 1;
            max-height: 100vh;
            width: 100%;
            overflow: visible;
        }

        .right-form-section {
            width: 100%;
        }

        .left-form-section {
            width: 100%;
        }

        .log-in-info {
            width: 70%;
        }

        .log-in-footer {
            font-size: 13px;
        }

        .log-in-info-content>div:nth-child(2) {
            margin-top: 2rem;
            gap: 1.5rem !important;
        }

        .log-in-button {
            padding: 0.5rem;
            font-size: 17px;
            margin-top: 1.8rem !important;
        }

        .forgot-pass>*,
        .forgot-pass>div>* {
            font-size: 15px;
        }
    }

    @media (min-width: 280px) and (max-width: 768px) {
        * {
            font-size: 14px;
        }

        .brand-div span {
            margin: 0px !important;
        }

        .message-btn-group {
            justify-content: center;
        }

        .attachments-section {
            flex-direction: column;
            align-items: center;
        }

        .attachments-section>div {
            width: 100%;
            margin: 1rem 0px;
        }

        .send-btn-modal {
            font-size: 12px !important;
        }

        #administrationCopy .modal-body>form {
            flex-direction: column;
            align-items: center;
        }

        .pagination {
            --bs-pagination-padding-x: 0.3rem;
        }

        .sidBar-ul-container .dropdown-menu li a span {
            font-size: 13px;
        }

        .sidBar-ul-container .dropdown-menu {
            min-width: 14rem !important;
        }

        .side-bar-section .bar-btn {
            padding: 0.2rem;
            cursor: pointer;
            background-color: var(s);
            display: flex;
            justify-content: center;
            align-items: center;
            border-radius: 0.5rem;
        }

        .enquary-body td:last-child {
            gap: 50px !important;
            font-size: 20px !important;
        }

        .message-btn-group a {
            font-size: 13px;
            width: 50%;
        }

        .form-btn-group {
            flex-direction: column;
            align-items: center !important;
        }

        .form-btn-group * {
            width: 80% !important;
        }

        .log-in-info {
            width: 80%;
        }

        .log-in-footer {
            font-size: 13px;
        }

        .log-in-info-content>div:nth-child(2) {
            margin-top: 2rem;
            gap: 1.5rem !important;
        }

        .log-in-button {
            padding: 0.4rem;
            font-size: 16px;
            margin-top: 1.5rem !important;
        }

        .forgot-pass>*,
        .forgot-pass>div>* {
            font-size: 14px;
        }

        .dms-logo {
            width: 120px;
        }

        .ui-dialog.ui-widget.ui-widget-content {
            width: 340px !important;
        }

        .title {
            font-size: 14px;
        }

        .btn-group-footer {
            flex-direction: column !important;
            align-items: unset !important;
        }

        .table {
            table-layout: auto !important;
        }
    }

    @media (max-width: 525px) {
        .log-in-info {
            width: 80%;
        }

        .log-in-footer {
            font-size: 12px;
        }

        .log-in-info-content>div:nth-child(2) {
            margin-top: 2rem;
            gap: 1.5rem !important;
        }

        .log-in-button {
            padding: 0.4rem;
            font-size: 15px;
            margin-top: 1.5rem !important;
        }

        .forgot-pass>*,
        .forgot-pass>div>* {
            font-size: 13px;
        }

        .ui-draggable {
            width: 300px !important;
        }

        div:has(>table) {
            max-width: 77vw !important;
        }
    }

    @media (max-width: 425px) {
        .message-btn-group {
            flex-direction: column;
            justify-content: center;
        }
    }

    .dropdown-footer {
        display: flex;
        justify-content: center;
        align-items: center;
    }

        .dropdown-footer .btn {
            color: #fff !important;
            background-color: var(--header-bg) !important;
            width: 100%;
            border-bottom-left-radius: 0 !important;
            border-bottom-right-radius: 0 !important;
            transition: 0.25s all;
        }

            .dropdown-footer .btn:hover {
                background-color: #22a7cf !important;
                transform: translateY(-0.15em);
            }
}