:root {
    --primary-color: #0092d1;
    --primary-color-dark: #0087cc;
    --secondary-color: #ffa834;
    --third-color: #00a715;
    --fourth-color: #ff0000;
    --text-color: #fff;
}

nav.navbar {
    /*background-color: var(--primary-color) !important;
    color: var(--text-color) !important;*/
    position: fixed;
    width: 100% !important;
    top: 0;
    z-index: 200 !important;
}

.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 200;
}

nav.navbar .navbar-brand {
    //color: var(--secondary-color) !important;
    font-weight: 600;
}

.nav-item .dropdown-menu {
    background-color: var(--primary-color) !important;
    color: var(--text-color) !important;
}

.nav-item .dropdown-menu .dropdown-item {
    color: var(--text-color) !important;
}

.nav-item .dropdown-menu .dropdown-item:hover {
    background-color: var(--primary-color-dark) !important;
    color: var(--text-color) !important;
}

.card-header {
    /*background-color: var(--primary-color) !important;*/
    /*color: var(--text-color) !important;*/
}

body {
    font-family: Inter, sans-serif;
    text-rendering: optimizeLegibility;
    font-size: .875rem;
}

.feather {
    width: 16px;
    height: 16px;
    vertical-align: text-bottom;
}

/*
       * Sidebar
       */

.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    /* Behind the navbar */
    padding: 48px 0 0;
    /* Height of navbar */
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

@media (max-width: 767.98px) {
    .sidebar {
        top: 5rem;
    }
}

.sidebar-sticky {
    position: relative;
    top: 0;
    height: calc(100vh - 48px);
    padding-top: .5rem;
    overflow-x: hidden;
    overflow-y: auto;
    /* Scrollable contents if viewport is shorter than content. */
}

.sidebar .nav-link {
    font-weight: 500;
    color: #333;
}

.sidebar .nav-link .feather {
    margin-right: 4px;
    color: #727272;
}

.sidebar .nav-link.active {
    color: #007bff;
}

.sidebar .nav-link:hover .feather, .sidebar .nav-link.active .feather {
    color: inherit;
}

.sidebar-heading {
    font-size: .75rem;
    text-transform: uppercase;
}

/*
       * Navbar
       */

.navbar .navbar-toggler {
    top: .25rem;
    right: 1rem;
}

.navbar .form-control {
    padding: .75rem 1rem;
    border-width: 0;
    border-radius: 0;
}

.form-control-dark {
    transition: all 0.15s ease-in-out;
    color: #fff;
    background-color: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .1);
}

.form-control-dark::placeholder {
    transition: all 0.15s ease-in-out;
    color: #fff;
    opacity: 1;
}
.form-control-dark:-ms-input-placeholder {
    color: #fff;
}
.form-control-dark::-ms-input-placeholder {
    color: #fff;
}

.form-control-dark:focus::placeholder {
    color: inherit !important;
}
.form-control-dark:focus:-ms-input-placeholder {
    color: inherit !important;
}
.form-control-dark:focus::-ms-input-placeholder {
    color: inherit !important;
}

.form-control-dark:focus {
    border-color: transparent;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
}

.navbar-nav .nav-link:hover .fa {
    color: var(--secondary-color) !important;
}

main .form-control,main .form-select {
    background-color: rgba(163, 163, 163, 0.1);
    transition: all 0.1s ease-in-out;
}

main .form-control:hover,main .form-select:hover,
main .form-control:focus,main .form-select:focus {
    background-color: transparent !important;
    transition: all 0.1s ease-in-out;
}

input[type="number"] {
    -moz-appearance: textfield;
}

.dropdownContent {
    background-color: var(--primary-color);
    list-style-type: none !important;
    padding-left: 0 !important;
    display: none;
}

.dropdownContainer:hover .dropdownContent {
    display: block !important;
}

fieldset legend {
	display: inline-block !important;
	float: none !important;
	background: white;
	width: auto;
	padding: 0 .5rem;
    margin-bottom: 0 !important;
	font-size: 1.15rem;
}

#app .shadow {
    box-shadow: 0 20px 30px -16px rgba(9,9,16,.2) !important;
}

#app .shadow-sm {
    box-shadow: 0 10px 15px -8px rgba(9,9,16,.1) !important;
}

.alert-close {
    cursor: pointer;
    float: right;
}

/* #app fieldset {
    border-color: #ffa834 !important;
} */

.bg-primary {
	background-color: var(--primary-color) !important;
}

.text-primary {
	color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.btn-primary:hover {
    background-color: var(--primary-color-dark) !important;
    border-color: var(--primary-color-dark) !important;
}

.sidebar .nav-link.active, .page-item.active .page-link, .btn-outline-primary:hover, .btn-outline-primary:focus {
	background-color: transparent !important;
	border-color: var(--primary-color) !important;
	color: var(--primary-color) !important;
    font-weight: bold;
}

.btn-outline-primary {
	border-color: var(--primary-color) !important;
	color: var(--primary-color) !important;
}

#app .navbar {
    background: radial-gradient(circle, var(--primary-color), var(--primary-color-dark)) !important;
}

.form-check.form-switch {
    background: none !important;
    border: none !important;
}

.form-check.form-switch .form-check-input {
    transform: scale(1.25);
    cursor: pointer;
}

.nightMode {
    filter: invert(1) contrast(.9) hue-rotate(180deg);
}

.nightMode .unaffected {
    filter: invert(1) hue-rotate(180deg);
}

html, body, main {
    background: white !important;
}

.fullscreen-message {
    position: relative; /* Change to relative positioning */
    top: 0; /* Reset top position */
    left: 0; /* Reset left position */
    width: 100%; /* Maintain full width */
    height: 50%; /* Set height to automatic */
    background-color: #f8f9fa;
    text-align: center;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
}