/**
* Template Name: NiceAdmin
* Updated: Sep 18 2023 with Bootstrap v5.3.2
* Template URL: https://bootstrapmade.com/nice-admin-bootstrap-admin-html-template/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root { scroll-behavior: smooth; }

body {
    background: #f6f9ff;
    color: #444444;
    font-family: "Open Sans", sans-serif;
}

a {
    color: #4154f1;
    text-decoration: none;
}

a:hover {
    color: #717ff5;
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 { font-family: "Nunito", sans-serif; }

/*--------------------------------------------------------------
# Main
--------------------------------------------------------------*/

#main {
    margin-bottom: 3rem;
    margin-top: 60px;
    padding: 20px 30px;
    transition: all 0.3s;
}

@media (max-width: 1199px) {
    #main { padding: 20px; }
}

/*--------------------------------------------------------------
# Page Title
--------------------------------------------------------------*/

.pagetitle { margin-bottom: 10px; }

.pagetitle h1 {
    color: #012970;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 0;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/

.back-to-top {
    background: #4154f1;
    border-radius: 4px;
    bottom: 15px;
    height: 40px;
    opacity: 0;
    position: fixed;
    right: 15px;
    transition: all 0.4s;
    visibility: hidden;
    width: 40px;
    z-index: 99999;
}

.back-to-top i {
    color: #fff;
    font-size: 24px;
    line-height: 0;
}

.back-to-top:hover {
    background: #6776f4;
    color: #fff;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

/*--------------------------------------------------------------
# Override some default Bootstrap stylings
--------------------------------------------------------------*/

/* Dropdown menus */

.dropdown-menu {
    animation-duration: 0.2s;
    animation-fill-mode: both;
    animation-name: dropdown-animate;
    border: 0;
    border-radius: 4px;
    box-shadow: 0 5px 30px 0 rgba(82, 63, 105, 0.2);
    padding: 10px 0;
}

.dropdown-menu .dropdown-header,
.dropdown-menu .dropdown-footer {
    font-size: 15px;
    padding: 10px 25px;
    text-align: center;
}

.dropdown-menu .dropdown-footer a {
    color: #444444;
    text-decoration: underline;
}

.dropdown-menu .dropdown-footer a:hover { text-decoration: none; }

.dropdown-menu .dropdown-divider {
    color: #a5c5fe;
    margin: 0;
}

.dropdown-menu .dropdown-item {
    font-size: 14px;
    padding: 10px 15px;
    transition: 0.3s;
}

.dropdown-menu .dropdown-item i {
    font-size: 18px;
    line-height: 0;
    margin-right: 10px;
}

.dropdown-menu .dropdown-item:hover { background-color: #f6f9ff; }

@media (min-width: 768px) {
    .dropdown-menu-arrow::before {
        background: #fff;
        border-left: 1px solid #eaedf1;
        border-top: 1px solid #eaedf1;
        content: "";
        height: 13px;
        position: absolute;
        right: 20px;
        top: -7px;
        transform: rotate(45deg);
        width: 13px;
    }
}

@keyframes dropdown-animate {
    0% { opacity: 0; }

    100% { opacity: 1; }

    0% { opacity: 0; }
}

/* Light Backgrounds */

.bg-primary-light {
    background-color: #cfe2ff;
    border-color: #cfe2ff;
}

.bg-secondary-light {
    background-color: #e2e3e5;
    border-color: #e2e3e5;
}

.bg-success-light {
    background-color: #d1e7dd;
    border-color: #d1e7dd;
}

.bg-danger-light {
    background-color: #f8d7da;
    border-color: #f8d7da;
}

.bg-warning-light {
    background-color: #fff3cd;
    border-color: #fff3cd;
}

.bg-info-light {
    background-color: #cff4fc;
    border-color: #cff4fc;
}

.bg-dark-light {
    background-color: #d3d3d4;
    border-color: #d3d3d4;
}

/* Card */

.card {
    border: none;
    border-radius: 5px;
    box-shadow: 0px 0 30px rgba(1, 41, 112, 0.1);
    margin-bottom: 30px;
}

.card-header,
.card-footer {
    background-color: #fff;
    border-color: #ebeef4;
    color: #798eb3;
    padding: 15px;
}

.card-title {
    color: #012970;
    font-family: "Poppins", sans-serif;
    font-size: 18px;
    font-weight: 500;
    padding: 20px 0 15px 0;
}

.card-title span {
    color: #899bbd;
    font-size: 14px;
    font-weight: 400;
}

.card-body { padding: 0 20px 20px 20px; }

.card-img-overlay { background-color: rgba(255, 255, 255, 0.6); }

/* Alerts */

.alert-heading {
    font-family: "Poppins", sans-serif;
    font-size: 20px;
    font-weight: 500;
}

/* Close Button */

.btn-close { background-size: 25%; }

.btn-close:focus {
    box-shadow: none;
    outline: 0;
}

/* Accordion */

.accordion-item { border: 1px solid #ebeef4; }

.accordion-button:focus {
    box-shadow: none;
    outline: 0;
}

.accordion-button:not(.collapsed) {
    background-color: #f6f9ff;
    color: #012970;
}

.accordion-flush .accordion-button {
    background: none;
    border: 0;
    padding: 15px 0;
}

.accordion-flush .accordion-button:not(.collapsed) {
    box-shadow: none;
    color: #4154f1;
}

.accordion-flush .accordion-body {
    color: #3e4f6f;
    font-size: 15px;
    padding: 0 0 15px 0;
}

/* Breadcrumbs */

.breadcrumb {
    color: #899bbd;
    font-family: "Nunito", sans-serif;
    font-size: 14px;
    font-weight: 600;
}

.breadcrumb a {
    color: #899bbd;
    transition: 0.3s;
}

.breadcrumb a:hover { color: #51678f; }

.breadcrumb .breadcrumb-item::before { color: #899bbd; }

.breadcrumb .active {
    color: #51678f;
    font-weight: 600;
}

/* Bordered Tabs */

.nav-tabs-bordered { border-bottom: 2px solid #ebeef4; }

.nav-tabs-bordered .nav-link {
    border: none;
    color: #2c384e;
    margin-bottom: -2px;
}

.nav-tabs-bordered .nav-link:hover,
.nav-tabs-bordered .nav-link:focus { color: #4154f1; }

.nav-tabs-bordered .nav-link.active {
    background-color: #fff;
    border-bottom: 2px solid #4154f1;
    color: #4154f1;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/

.logo { line-height: 1; }

@media (min-width: 1200px) {
    .logo { width: 280px; }
}

.logo img {
    margin-right: 6px;
    max-height: 26px;
}

.logo span {
    color: #012970;
    font-family: "Nunito", sans-serif;
    font-size: 26px;
    font-weight: 700;
}

.header {
    background-color: #fff;
    box-shadow: 0px 2px 20px rgba(1, 41, 112, 0.1);
    height: 60px;
    padding-left: 20px;
    transition: all 0.5s;
    z-index: 997;
    /* Toggle Sidebar Button */
    /* Search Bar */
}

.header .toggle-sidebar-btn {
    color: #012970;
    cursor: pointer;
    font-size: 32px;
    padding-left: 10px;
}

.header .search-bar {
    min-width: 360px;
    padding: 0 20px;
}

@media (max-width: 1199px) {
    .header .search-bar {
        background: white;
        box-shadow: 0px 0px 15px 0px rgba(1, 41, 112, 0.1);
        left: 0;
        opacity: 0;
        padding: 20px;
        position: fixed;
        right: 0;
        top: 50px;
        transition: 0.3s;
        visibility: hidden;
        z-index: 9999;
    }

    .header .search-bar-show {
        opacity: 1;
        top: 60px;
        visibility: visible;
    }
}

.header .search-form { width: 100%; }

.header .search-form input {
    border: 0;
    border: 1px solid rgba(1, 41, 112, 0.2);
    border-radius: 3px;
    color: #012970;
    font-size: 14px;
    padding: 7px 38px 7px 8px;
    transition: 0.3s;
    width: 100%;
}

.header .search-form input:focus,
.header .search-form input:hover {
    border: 1px solid rgba(1, 41, 112, 0.3);
    box-shadow: 0 0 10px 0 rgba(1, 41, 112, 0.15);
    outline: none;
}

.header .search-form button {
    background: none;
    border: 0;
    margin-left: -30px;
    padding: 0;
}

.header .search-form button i { color: #012970; }

/*--------------------------------------------------------------
# Header Nav
--------------------------------------------------------------*/

.header-nav ul { list-style: none; }

.header-nav > ul {
    margin: 0;
    padding: 0;
}

.header-nav .nav-icon {
    color: #012970;
    font-size: 22px;
    margin-right: 25px;
    position: relative;
}

.header-nav .nav-profile { color: #012970; }

.header-nav .nav-profile img { max-height: 36px; }

.header-nav .nav-profile span {
    font-size: 14px;
    font-weight: 600;
}

.header-nav .badge-number {
    font-size: 12px;
    font-weight: normal;
    inset: -2px -5px auto auto;
    padding: 3px 6px;
    position: absolute;
}

.header-nav .notifications { inset: 8px -15px auto auto !important; }

.header-nav .notifications .notification-item {
    align-items: center;
    display: flex;
    padding: 15px 10px;
    transition: 0.3s;
}

.header-nav .notifications .notification-item i {
    font-size: 24px;
    margin: 0 20px 0 10px;
}

.header-nav .notifications .notification-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.header-nav .notifications .notification-item p {
    color: #919191;
    font-size: 13px;
    margin-bottom: 3px;
}

.header-nav .notifications .notification-item:hover { background-color: #f6f9ff; }

.header-nav .messages { inset: 8px -15px auto auto !important; }

.header-nav .messages .message-item {
    padding: 15px 10px;
    transition: 0.3s;
}

.header-nav .messages .message-item a { display: flex; }

.header-nav .messages .message-item img {
    margin: 0 20px 0 10px;
    max-height: 40px;
}

.header-nav .messages .message-item h4 {
    color: #444444;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.header-nav .messages .message-item p {
    color: #919191;
    font-size: 13px;
    margin-bottom: 3px;
}

.header-nav .messages .message-item:hover { background-color: #f6f9ff; }

.header-nav .profile {
    min-width: 240px;
    padding-bottom: 0;
    top: 8px !important;
}

.header-nav .profile .dropdown-header h6 {
    color: #444444;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 0;
}

.header-nav .profile .dropdown-header span { font-size: 14px; }

.header-nav .profile .dropdown-item {
    font-size: 14px;
    padding: 10px 15px;
    transition: 0.3s;
}

.header-nav .profile .dropdown-item i {
    font-size: 18px;
    line-height: 0;
    margin-right: 10px;
}

.header-nav .profile .dropdown-item:hover { background-color: #f6f9ff; }

/*--------------------------------------------------------------
# Sidebar
--------------------------------------------------------------*/

.sidebar {
    background-color: #fff;
    bottom: 0;
    box-shadow: 0px 0px 20px rgba(1, 41, 112, 0.1);
    left: 0;
    overflow-y: auto;
    padding: 20px;
    position: fixed;
    scrollbar-color: #aab7cf transparent;
    scrollbar-width: thin;
    top: 60px;
    transition: all 0.3s;
    width: 300px;
    z-index: 996;
}

@media (max-width: 1199px) {
    .sidebar { left: -300px; }
}

.sidebar::-webkit-scrollbar {
    background-color: #fff;
    height: 8px;
    width: 5px;
}

.sidebar::-webkit-scrollbar-thumb { background-color: #aab7cf; }

@media (min-width: 1200px) {
    #main,
    #footer { margin-left: 300px; }
}

@media (max-width: 1199px) {
    .toggle-sidebar .sidebar { left: 0; }
}

@media (min-width: 1200px) {
    .toggle-sidebar #main,
    .toggle-sidebar #footer { margin-left: 0; }

    .toggle-sidebar .sidebar { left: -300px; }
}

.sidebar-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-nav li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-nav .nav-item { margin-bottom: 5px; }

.sidebar-nav .nav-heading {
    color: #899bbd;
    font-size: 11px;
    font-weight: 600;
    margin: 10px 0 5px 15px;
    text-transform: uppercase;
}

.sidebar-nav .nav-link {
    align-items: center;
    background: #f6f9ff;
    border-radius: 4px;
    color: #4154f1;
    display: flex;
    font-size: 15px;
    font-weight: 600;
    padding: 10px 15px;
    transition: 0.3;
}

.sidebar-nav .nav-link i {
    color: #4154f1;
    font-size: 16px;
    margin-right: 10px;
}

.sidebar-nav .nav-link.collapsed {
    background: #fff;
    color: #012970;
}

.sidebar-nav .nav-link.collapsed i { color: #899bbd; }

.sidebar-nav .nav-link:hover {
    background: #f6f9ff;
    color: #4154f1;
}

.sidebar-nav .nav-link:hover i { color: #4154f1; }

.sidebar-nav .nav-link .bi-chevron-down {
    margin-right: 0;
    transition: transform 0.2s ease-in-out;
}

.sidebar-nav .nav-link:not(.collapsed) .bi-chevron-down { transform: rotate(180deg); }

.sidebar-nav .nav-content {
    list-style: none;
    margin: 0;
    padding: 5px 0 0 0;
}

.sidebar-nav .nav-content a {
    align-items: center;
    color: #012970;
    display: flex;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 0 10px 40px;
    transition: 0.3;
    transition: 0.3s;
}

.sidebar-nav .nav-content a i {
    border-radius: 50%;
    font-size: 6px;
    line-height: 0;
    margin-right: 8px;
}

.sidebar-nav .nav-content a:hover,
.sidebar-nav .nav-content a.active { color: #4154f1; }

.sidebar-nav .nav-content a.active i { background-color: #4154f1; }

/*--------------------------------------------------------------
# Dashboard
--------------------------------------------------------------*/

/* Filter dropdown */

.dashboard .filter {
    position: absolute;
    right: 0px;
    top: 15px;
}

.dashboard .filter .icon {
    color: #aab7cf;
    font-size: 16px;
    padding-bottom: 5px;
    padding-right: 20px;
    transition: 0.3s;
}

.dashboard .filter .icon:hover,
.dashboard .filter .icon:focus { color: #4154f1; }

.dashboard .filter .dropdown-header { padding: 8px 15px; }

.dashboard .filter .dropdown-header h6 {
    color: #aab7cf;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 0;
    padding: 0;
    text-transform: uppercase;
}

.dashboard .filter .dropdown-item { padding: 8px 15px; }

/* Info Cards */

.dashboard .info-card { padding-bottom: 10px; }

.dashboard .info-card h6 {
    color: #012970;
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    padding: 0;
}

.dashboard .card-icon {
    flex-grow: 0;
    flex-shrink: 0;
    font-size: 32px;
    height: 64px;
    line-height: 0;
    width: 64px;
}

.dashboard .sales-card .card-icon {
    background: #f6f6fe;
    color: #4154f1;
}

.dashboard .revenue-card .card-icon {
    background: #e0f8e9;
    color: #2eca6a;
}

.dashboard .customers-card .card-icon {
    background: #ffecdf;
    color: #ff771d;
}

/* Activity */

.dashboard .activity { font-size: 14px; }

.dashboard .activity .activity-item .activite-label {
    color: #888;
    flex-grow: 0;
    flex-shrink: 0;
    min-width: 64px;
    position: relative;
}

.dashboard .activity .activity-item .activite-label::before {
    background-color: #eceefe;
    bottom: 0;
    content: "";
    position: absolute;
    right: -11px;
    top: 0;
    width: 4px;
}

.dashboard .activity .activity-item .activity-badge {
    border: 3px solid #fff;
    border-radius: 50%;
    flex-grow: 0;
    flex-shrink: 0;
    font-size: 11px;
    line-height: 0;
    margin-top: 3px;
    z-index: 1;
}

.dashboard .activity .activity-item .activity-content {
    padding-bottom: 20px;
    padding-left: 10px;
}

.dashboard .activity .activity-item:first-child .activite-label::before { top: 5px; }

.dashboard .activity .activity-item:last-child .activity-content { padding-bottom: 0; }

/* News & Updates */

.dashboard .news .post-item + .post-item { margin-top: 15px; }

.dashboard .news img {
    border-radius: 5px;
    float: left;
    width: 80px;
}

.dashboard .news h4 {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 5px;
    margin-left: 95px;
}

.dashboard .news h4 a {
    color: #012970;
    transition: 0.3s;
}

.dashboard .news h4 a:hover { color: #4154f1; }

.dashboard .news p {
    color: #777777;
    font-size: 14px;
    margin-left: 95px;
}

/* Recent Sales */

.dashboard .recent-sales { font-size: 14px; }

.dashboard .recent-sales .table thead { background: #f6f6fe; }

.dashboard .recent-sales .table thead th { border: 0; }

.dashboard .recent-sales .dataTable-top { padding: 0 0 10px 0; }

.dashboard .recent-sales .dataTable-bottom { padding: 10px 0 0 0; }

/* Top Selling */

.dashboard .top-selling { font-size: 14px; }

.dashboard .top-selling .table thead { background: #f6f6fe; }

.dashboard .top-selling .table thead th { border: 0; }

.dashboard .top-selling .table tbody td { vertical-align: middle; }

.dashboard .top-selling img {
    border-radius: 5px;
    max-width: 60px;
}

/*--------------------------------------------------------------
# Icons list page
--------------------------------------------------------------*/

.iconslist {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    max-width: 100%;
    padding-top: 15px;
}

.iconslist .icon {
    background-color: #fff;
    border-radius: 0.25rem;
    color: #012970;
    padding: 15px 0;
    text-align: center;
}

.iconslist i {
    font-size: 2.5rem;
    margin: 0.25rem;
}

.iconslist .label {
    color: #666;
    display: inline-block;
    font-family: var(--bs-font-monospace);
    font-size: 12px;
    overflow: hidden;
    padding: 0.25rem;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}

/*--------------------------------------------------------------
# Profie Page
--------------------------------------------------------------*/

.profile .profile-card img { max-width: 120px; }

.profile .profile-card h2 {
    color: #2c384e;
    font-size: 24px;
    font-weight: 700;
    margin: 10px 0 0 0;
}

.profile .profile-card h3 { font-size: 18px; }

.profile .profile-card .social-links a {
    color: rgba(1, 41, 112, 0.5);
    display: inline-block;
    font-size: 20px;
    line-height: 0;
    margin-right: 10px;
    transition: 0.3s;
}

.profile .profile-card .social-links a:hover { color: #012970; }

.profile .profile-overview .row {
    font-size: 15px;
    margin-bottom: 20px;
}

.profile .profile-overview .card-title { color: #012970; }

.profile .profile-overview .label {
    color: rgba(1, 41, 112, 0.6);
    font-weight: 600;
}

.profile .profile-edit label {
    color: rgba(1, 41, 112, 0.6);
    font-weight: 600;
}

.profile .profile-edit img { max-width: 120px; }

/*--------------------------------------------------------------
# F.A.Q Page
--------------------------------------------------------------*/

.faq .basic h6 {
    color: #4154f1;
    font-size: 18px;
    font-weight: 600;
}

.faq .basic p { color: #6980aa; }

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/

.contact .info-box { padding: 28px 30px; }

.contact .info-box i {
    color: #4154f1;
    font-size: 38px;
    line-height: 0;
}

.contact .info-box h3 {
    color: #012970;
    font-size: 20px;
    font-weight: 700;
    margin: 20px 0 10px 0;
}

.contact .info-box p {
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 0;
    padding: 0;
}

.contact .php-email-form .error-message {
    background: #ed3c0d;
    color: #fff;
    display: none;
    font-weight: 600;
    margin-bottom: 24px;
    padding: 15px;
    text-align: left;
}

.contact .php-email-form .sent-message {
    background: #18d26e;
    color: #fff;
    display: none;
    font-weight: 600;
    margin-bottom: 24px;
    padding: 15px;
    text-align: center;
}

.contact .php-email-form .loading {
    background: #fff;
    display: none;
    margin-bottom: 24px;
    padding: 15px;
    text-align: center;
}

.contact .php-email-form .loading:before {
    animation: animate-loading 1s linear infinite;
    border: 3px solid #18d26e;
    border-radius: 50%;
    border-top-color: #eee;
    content: "";
    display: inline-block;
    height: 24px;
    margin: 0 10px -6px 0;
    width: 24px;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
    border-radius: 0;
    border-radius: 0;
    box-shadow: none;
    font-size: 14px;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus { border-color: #4154f1; }

.contact .php-email-form input { padding: 10px 15px; }

.contact .php-email-form textarea { padding: 12px 15px; }

.contact .php-email-form button[type=submit] {
    background: #4154f1;
    border: 0;
    border-radius: 4px;
    color: #fff;
    padding: 10px 30px;
    transition: 0.4s;
}

.contact .php-email-form button[type=submit]:hover { background: #5969f3; }

@keyframes animate-loading {
    0% { transform: rotate(0deg); }

    100% { transform: rotate(360deg); }
}

/*--------------------------------------------------------------
# Error 404
--------------------------------------------------------------*/

.error-404 { padding: 30px; }

.error-404 h1 {
    color: #4154f1;
    font-size: 180px;
    font-weight: 700;
    line-height: 150px;
    margin-bottom: 0;
}

.error-404 h2 {
    color: #012970;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
}

.error-404 .btn {
    background: #51678f;
    color: #fff;
    padding: 8px 30px;
}

.error-404 .btn:hover { background: #3e4f6f; }

@media (min-width: 992px) {
    .error-404 img { max-width: 50%; }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

.footer {
    border-top: 1px solid #cddfff;
    font-size: 14px;
    padding: 20px 0;
    transition: all 0.3s;
}

.footer .copyright {
    color: #012970;
    text-align: center;
}

.footer .credits {
    color: #012970;
    font-size: 13px;
    padding-top: 5px;
    text-align: center;
}
