[data-theme="default"] {
    --theme-color: #000000;
    --theme-bg-color: #ffffff;
    --a-hover-color: #001380;
    --btn-hover-color: #001380;
    --border-color: #000000;
    --box-shadow-color: rgba(61, 69, 227, 0.34);
    --select-bg-color: #40a8fe;
    --calendar-bg-theme: #010e59;
}

[data-theme="red"] {
    --theme-color: #EE1155;
    --theme-bg-color: #ffe7e7;
    --a-hover-color: #f7115d;
    --btn-hover-color: #cc0044;
    --border-color: #d01339;
    --box-shadow-color: rgba(227, 61, 108, 0.34);
    --select-bg-color: #fe407f;
    --calendar-bg-theme: #b12543;
}

[data-theme="blue"] {
    --theme-color: aliceblue;
    --theme-bg-color: #e7ecff;
    --a-hover-color: #001380;
    --btn-hover-color: #001380;
    --border-color: #1613d0;
    --box-shadow-color: rgba(61, 69, 227, 0.34);
    --select-bg-color: #40a8fe;
    --calendar-bg-theme: #010e59;
}

[data-theme="green"] {
    --theme-color: #007070;
    --theme-bg-color: #addddd;
    --a-hover-color: #007c80;
    --btn-hover-color: #007c80;
    --border-color: #13bdd0;
    --box-shadow-color: rgba(61, 227, 199, 0.34);
    --select-bg-color: #19c7be;
    --calendar-bg-theme: #015959;
}

/*:root {
  --theme-color: #ff0044;
  --theme-color: #f5003a;
  --theme-bg-color: #e7ffee;
  --a-hover-color: #00ba4a;
  --btn-hover-color: #089d23;
  --border-color: #04ae04;
  --box-shadow-color: rgba(71, 217, 76, 0.34);
  --select-bg-color: #80ffc6;
  --profile-bg-color: #0d7a18;
  --profile-shadow-color: #317a0d;
  --profile-bg-color: #d2274c;
  --profile-shadow-color: #b12543;
}*/

@font-face {
    font-family: "MeQuran";
    font-style: "normal";
    src: url("../fonts/mequran/me_quran-webfont.otf") format("opentype");
}

@font-face {
    font-family: "Nunito";
    font-style: "normal";
    src: url("../fonts/nunito/nunito-v20-latin-regular.ttf") format("truetype");
}

@font-face {
    font-family: "Poppins";
    font-style: "normal";
    src: url("../fonts/poppins/Poppins-Regular.ttf") format("truetype");
}

@font-face {
    font-family: "Poppins-Medium";
    src: url("../fonts/poppins/Poppins-Medium.ttf");
}

@font-face {
    font-family: "Poppins";
    font-style: "oblique";
    src: url("../fonts/poppins/Poppins-Bold.ttf") format("truetype");
    font-weight: 500;
}

@font-face {
    font-family: "Poppins-SemiBold";
    src: url("../fonts/poppins/Poppins-SemiBold.ttf");
}

body {
    background: var(--theme-bg-color);
    font-family: "Poppins", sans-serif;
    /* font-family: Arial, Helvetica, sans-serif; */
    font-size: 14px;
}

a {
    color: var(--theme-color);
    text-decoration: none;
}

a:hover {
    color: var(--a-hover-color);
}

:root {
    scroll-behavior: auto !important;
}

.offcanvas-body {
    padding: 1rem 0rem;
}

.offcanvas-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 1rem;
    background: var(--theme-color);
}

.bg-theme {
    background: var(--theme-color);
    color: #ffffff;
}

.text-theme {
    color: var(--theme-color);
}

.btn-theme {
    color: #fff;
    background-color: var(--theme-color);
    border-color: var(--theme-color);
}

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

.btn-outline-theme {
    --bs-btn-color: var(--theme-color);
    --bs-btn-border-color: var(--theme-color);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--theme-color);
    --bs-btn-hover-border-color: var(--theme-color);
    --bs-btn-focus-shadow-rgb: 13, 110, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--theme-color);
    --bs-btn-active-border-color: var(--theme-color);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: var(--theme-color);
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: var(--theme-color);
    --bs-gradient: none;
}

.btn-xs {
    padding: 1px 5px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}

.scroll-to-top {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    display: none;
    width: 2.75rem;
    height: 2.75rem;
    text-align: center;
    color: #fff;
    border-radius: 50%;
    background: rgba(90, 92, 105, 0.5);
    line-height: 46px;
}

.scroll-to-top:hover {
    color: #fff;
}

.hide {
    display: none;
}

.nav-pills li {
    width: 100%;
    padding-top: 3px;
    padding-bottom: 0px;
    padding-left: 5px;
}

.nav-pills li:hover,
#btnlogout:hover {
    background: #eee;
}

.nav-link i {
    font-size: 24px !important;
    width: 26px;
    padding-left: 5px;
}

.nav-link span {
    position: relative;
    top: -3px;
    margin-top: 0px;
    margin-left: 17px;
    color: #333;
    display: none;
}

.sideclosebtn {
    position: relative;
    top: -25px;
}

.nav-tabs .nav-link {
    color: var(--theme-color);
}

.tab-content {
    padding-top: 20px;
}

.dropdown .dropdown-item,
.offcanvas .nav-link {
    color: var(--theme-color);
    text-decoration: none;
    font-size: 16px;
}

.dropdown .dropdown-item:hover,
.nav-link:hover {
    color: var(--btn-hover-color);
}

.dropdown-item.active,
.dropdown-item:active {
    background-color: var(--theme-color);
    color: #ffffff;
}

#breadmenu:focus,
input:focus,
textarea:focus,
.btn-close:focus,
.form-control:focus,
.form-select:focus {
    border: none;
    border-color: var(--border-color) !important;
    box-shadow: 0 0 0 0.25rem var(--box-shadow-color) !important;
}

.form-check-input:checked {
    background-color: var(--theme-color);
    border-color: var(--theme-color);
}

.round {
    border-radius: 50px;
}

#wraphead {
    padding: 10px;
    background-color: var(--theme-color);
    box-shadow: 0px 0px 5px 0px var(--box-shadow-color);
    color: #ffffff;
}

.gaphead {
    border-top: 24px solid var(--theme-color);
}

#titlebold {
    font-weight: bold;
}

#breadmenu {
    color: #fff;
    padding: 10px;
    border-radius: 50%;
    background: var(--theme-color);
    width: 36px;
    height: 36px;
    line-height: 0;
}

#breadmenu i {
    position: relative;
    top: -1px;
}

#title {
    /* font-family: "Fredoka One", Arial; */
    position: absolute;
    text-align: center;
    font-size: 20px;
    line-height: 1.8;
    display: inline-block;
    width: 100%;
    top: 10px;
    left: 0px;
    z-index: -1;
}

.titlepage {
    text-align: center;
    padding-bottom: 15px;
    margin-bottom: 20px;
    color: var(--theme-color);
    /* border-bottom: 1px solid #eee; */
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: var(--select-bg-color);
}

.content-wrap {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    margin-top: 15px;
    margin-bottom: 70px;
}

#offcanvasWithBackdrop:hover {
    box-shadow: 0px 1px 3px #777;
}

.lblmenu {
    margin-right: 20px;
}

#offcanvasWithBackdrop:hover .lblmenu {
    display: inline-block;
}

.required {
    color: #f14;
}

.table> :not(:first-child) {
    border-top: none;
}

.atable th a,
.showall {
    color: var(--theme-color) !important;
}

.atable .atablepreloader span {
    background: var(--theme-color) !important;
    border-color: var(--theme-color) !important;
    border: none !important;
}

.atable .paggingfield .pagination a,
.atable .datainfo a {
    color: var(--theme-color) !important;
}

.atable .paggingfield .pagination>.active>a {
    color: #ffffff !important;
    background: var(--theme-color) !important;
    border-color: var(--theme-color) !important;
}

.atable .findfield {
    margin-bottom: 10px;
}

.profileimg {
    position: absolute;
    top: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0px 0px 5px rgba(106, 106, 106, 0.5);
    overflow: hidden;
}

.profileimg img {
    width: 60px;
}

.spname {
    color: #ffffff;
    padding-left: 70px;
}

.spnamedet {
    font-weight: bold;
}

.mnscroll::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px #ffffff;
    border-radius: 0px;
    background-color: #ffffff;
}

.mnscroll::-webkit-scrollbar {
    width: 5px;
    background-color: #ffffff;
}

.mnscroll:hover::-webkit-scrollbar-thumb {
    border-radius: 0px;
    -webkit-box-shadow: inset 0 0 6px #ffffff;
    background-color: #d9d9d9;
}

h1 small,
.h1 small,
h2 small,
.h2 small,
h3 small,
.h3 small,
h1 .small,
.h1 .small,
h2 .small,
.h2 .small,
h3 .small,
.h3 .small {
    font-size: 65%;
}

h1 small,
h2 small,
h3 small,
h4 small,
h5 small,
h6 small,
.h1 small,
.h2 small,
.h3 small,
.h4 small,
.h5 small,
.h6 small,
h1 .small,
h2 .small,
h3 .small,
h4 .small,
h5 .small,
h6 .small,
.h1 .small,
.h2 .small,
.h3 .small,
.h4 .small,
.h5 .small,
.h6 .small {
    font-weight: 400;
    line-height: 1;
    color: #777;
}

small,
.small {
    font-size: 85%;
}

.cardnotif {
    margin-bottom: 15px;
    width: 100%;
    border: 1px solid #eeeeee;
    padding: 10px;
    border-radius: 5px;
}

.detnotif,
.detnotif:active,
.detnotif:hover {
    text-decoration: none !important;
}

.detnotif div {
    color: #333;
}

.textindent {
    padding-left: 1em;
    text-indent: -1em;
}

/* LOADER */
.loader {
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--theme-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    position: relative;
    margin: 150px auto;
    animation: spin 2s linear infinite;
    -webkit-animation: spin 2s linear infinite;
    -moz-animation: spin 2s linear infinite;
    -o-animation: spin 2s linear infinite;
}

/* LOADER IMG */
.loaderimg {
    border: 3px solid #eeeeee;
    border-top: 3px solid #aaaaaa;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    position: relative;
    margin: 5px auto;
    animation: spin 2s linear infinite;
    -webkit-animation: spin 2s linear infinite;
    -moz-animation: spin 2s linear infinite;
    -o-animation: spin 2s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
    }
}

@-moz-keyframes spin {
    from {
        -moz-transform: rotate(0deg);
    }

    to {
        -moz-transform: rotate(360deg);
    }
}

@-o-keyframes spin {
    from {
        -o-transform: rotate(0deg);
    }

    to {
        -o-transform: rotate(360deg);
    }
}

/* ==== loader checked ==== */

.circle-loader {
    border: 4px solid #f3f3f3;
    border-left-color: var(--theme-color);
    position: relative;
    vertical-align: top;
    border-radius: 50%;
    width: 8em;
    height: 8em;
    margin: 150px auto;
    animation: loader-spin 2s infinite linear;
    -webkit-animation: loader-spin 2s infinite linear;
    -moz-animation: loader-spin 2s infinite linear;
    -o-animation: loader-spin 2s infinite linear;
}

.circle-loader,
.circle-loader:after {
    border-radius: 50%;
    width: 8em;
    height: 8em;
}

.load-complete {
    border-color: var(--theme-color);
    transition: border 500ms ease-out;
    -webkit-transition: border 500ms ease-out;
    -moz-transition: border 500ms ease-out;
    -o-transition: border 500ms ease-out;
    animation: none;
    -webkit-animation: none;
    -moz-animation: none;
    -o-animation: none;
}

.load-failed {
    border-color: #e74c3c;
    transition: border 500ms ease-out;
    -webkit-transition: border 500ms ease-out;
    -moz-transition: border 500ms ease-out;
    -o-transition: border 500ms ease-out;
    animation: none;
    -webkit-animation: none;
    -moz-animation: none;
    -o-animation: none;
}

.checkmark {
    display: none;
}

.checkmark.draw:after {
    transform: scaleX(-1) rotate(135deg);
    -webkit-transform: scaleX(-1) rotate(135deg);
    -moz-transform: scaleX(-1) rotate(135deg);
    -o-transform: scaleX(-1) rotate(135deg);
    animation: 800ms ease checkmark;
    -webkit-animation: 800ms ease checkmark;
    -moz-animation: 800ms ease checkmark;
    -o-animation: 800ms ease checkmark;
}

.checkmark:after {
    opacity: 1;
    height: 4em;
    width: 2em;
    border-right: 4px solid var(--theme-color);
    border-top: 4px solid var(--theme-color);
    content: "";
    left: 2em;
    top: 4em;
    position: absolute;
    transform-origin: left top;
    -webkit-transform-origin: left top;
    -moz-transform-origin: left top;
    -o-transform-origin: left top;
}

@keyframes loader-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@-webkit-keyframes loader-spin {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
    }
}

@-moz-keyframes loader-spin {
    from {
        -moz-transform: rotate(0deg);
    }

    to {
        -moz-transform: rotate(360deg);
    }
}

@-o-keyframes loader-spin {
    from {
        -o-transform: rotate(0deg);
    }

    to {
        -o-transform: rotate(360deg);
    }
}

@keyframes checkmark {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@-webkit-keyframes checkmark {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@-moz-keyframes checkmark {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@-o-keyframes checkmark {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/*=== cross ===*/

.cross {
    display: none;
    left: 3.5em;
    top: 1.7em;
    position: absolute;
    width: 4em;
    height: 4em;
}

.cross:before,
.cross:after {
    position: absolute;
    content: " ";
    height: 4em;
    width: 4px;
    background-color: #e74c3c;
}

.cross:before {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
}

.cross:after {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
}

.navbar-collapse .active {
    font-weight: bold;
}

#offcanvasWithBackdrop {
    width: 300px;
}

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 49px;
    height: 22px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.btnslide {
    padding-left: 7px;
    padding-right: 7px;
    border-top: var(--bs-border-width) solid var(--bs-border-color);
    border-bottom: var(--bs-border-width) solid var(--bs-border-color);
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 15px;
    width: 15px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider {
    background-color: var(--theme-color);
}

input:focus+.slider {
    box-shadow: 0 0 1px var(--theme-color);
}

input:checked+.slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* end slider */

@media (max-width: 990px) {
    .nav-link span {
        display: inline-block;
    }
}

@media (min-width: 990px) {
    #offcanvasWithBackdrop {
        position: fixed;
        background: #ffffff;
        left: 0px;
        top: 1px;
        z-index: 1042;
        height: 100%;
        width: auto;
        font-size: 16px;
        visibility: visible;
        transform: translate(0px);
    }

    #offcanvasWithBackdrop a {
        color: var(--theme-color);
    }

    #offcanvasWithBackdrop .btn-close {
        display: none;
    }

    .offcanvas,
    .offcanvas-lg,
    .offcanvas-md,
    .offcanvas-sm,
    .offcanvas-xl,
    .offcanvas-xxl {
        --bs-offcanvas-width: auto;
    }

    .mnscroll {
        height: 92.7%;
        overflow-y: scroll;
    }

    .spname {
        display: none;
    }

    .offcanvas-header {
        padding: 27.6px 1rem;
    }

    .nav-link i {
        width: 40px;
        text-align: center;
        padding-right: 5px;
    }

    .profileimg {
        top: 10px;
        left: 12px;
    }
}