*,
::after,
::before {
    box-sizing: border-box;
}


:root {
    --primary-color: #2563eb;
    --secondary-color: #475569;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f8fafc;
    color: #1e293b;
    font-size: 1rem;
    opacity: 1;
    overflow-y: scroll;
    margin: 0;
}

.footer-text {
    text-align: center;
    font-size: 0.875rem;
    color: #6b7280;
}

a {
    cursor: pointer;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
}

li {
    list-style: none;
}

h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.275rem;
    color: var(--bs-emphasis-color);
}

/* Layout for admin dashboard skeleton */

.wrapper {
    align-items: stretch;
    display: flex;
    width: 100%;
}

#sidebar {
    min-width: 260px;
    transition: all 0.35s ease-in-out;
    z-index: 1034;
}

.main {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-width: 0;
    overflow: hidden;
    transition: all 0.35s ease-in-out;
    width: 100%;
    background-color: #fff;
    /*background: var(--bs-dark-bg-subtle);*/
}

/* Sidebar Elements Style */

.sidebar-logo {
    padding: 1.15rem;
}

.sidebar-logo a {
    color: #e9ecef;
    font-size: 1.15rem;
    font-weight: 600;
}

.sidebar-nav {
    list-style: none;
    margin-top: 25px;
    margin-bottom: 0;
    padding-left: 0;
    margin-left: 0;
}

.sidebar-header {
    font-size: .75rem;
    padding: 1.5rem 1.5rem .375rem;
}

a.sidebar-link {
    padding: .625rem 1.625rem;
    position: relative;
    display: block;
    font-size: 1rem;
    text-decoration: none;
}

.sidebar-link[data-bs-toggle="collapse"]::after {
    border: solid;
    border-width: 0 .075rem .075rem 0;
    content: "";
    display: inline-block;
    padding: 2px;
    position: absolute;
    right: 1.5rem;
    top: 1.4rem;
    transform: rotate(-135deg);
    transition: all .2s ease-out;
}

.sidebar-link[data-bs-toggle="collapse"].collapsed::after {
    transform: rotate(45deg);
    transition: all .2s ease-out;
}

.avatar {
    height: 40px;
    width: 40px;
}

.navbar-expand .navbar-nav {
    margin-left: auto;
}

.navbar-toggler-icon {
    height: 2em !important;
    width: 1.8em !important;
}

.navbar-brand img {
    width: 350px;
    max-width: 80%;
    height: auto;
    display: block;
}

.dropdown-toggle {
    text-decoration: none;
}

.content {
    flex: 1;
    max-width: 100vw;
    width: 100vw;
}

#sidebar-toggle {
    padding-left: 0;
    z-index: 1035;
}

@media (min-width: 768px) {
    .content {
        max-width: auto;
        width: auto;
    }

    #sidebar-toggle {
        display: none;
    }
}

.card {
    box-shadow: 0 0 .875rem 0 rgba(34, 46, 60, .05);
    margin-bottom: 24px;
}

.illustration {
    background-color: var(--bs-primary-bg-subtle);
    color: var(--bs-emphasis-color);
}

.illustration-img {
    max-width: 150px;
    width: 100%;
}

/* Sidebar Toggle */

#sidebar.collapsed {
    margin-left: -260px;
}


/* Theme Toggler */

.theme-toggle {
    position: absolute;
    bottom: 15px;
    z-index: 10;
    left: 15px;
}

.main-row {
    min-height: 800px;
}

.textButton {
    background: none;
    border: none;
}

.fa-1xx {
    font-size: 1.5em;
}

.red {
    color: #e12020;
}

.green {
    color: #02862d;
}


.center {
    text-align: center !important;
}

.smaller {
    font-size: smaller;
}

.italic {
    font-style: italic;
}

.bold {
    font-weight: 700 !important;
}

.no-under {
    text-decoration: none;
}

.color-main {
    color: #2f4f4f;
}

.color-secondary {
    color: #696969;
}

.white {
    color: white;
}

/* Forms */
.foorm {
    max-width: 800px;
    padding: 10px;
}

.selectable {
    cursor: pointer;
}

.add-product-horizontal {
    position: relative;
}

.rjf-add-button {
    font-size: 15px !important;
}

.pick-danger {
    background-color: #ffbbc2
}

.pick-warning {
    background-color: #ffe8a4;
}

/* DataTables Customization */
.dtr-title {
    font-weight: bold;
    display: flow;
    list-style-type: none;
}

div.dt-container .dt-paging .dt-paging-button {
    padding: 0 !important;
    margin-left: 0 !important;
}

.savable {
    width: 3em;
}

.action {
    cursor: pointer;
}

.nounderline {
    text-decoration: none !important
}

.profile-circle {
    width: 40px;
    height: 40px;
    background-color: #6c757d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

@media (max-width: 768px) {

    .js-sidebar {
        margin-left: -260px;
    }

    #sidebar.collapsed {
        margin-left: 0;
    }

    .navbar,
    footer {
        width: 100vw;
    }
}

@media (max-width: 576px) {
    /* Forces image and nav toggle to stay on the same line */
    .navbar img {
        width: 270px !important;
        max-width: 100% !important;
    }
}
