﻿@media (min-width: 768px) {
    .navbar-right .dropdown-menu {
        right: 0;
        left: auto;
    }

    .navbar-right .dropdown-menu-left {
        left: 0;
        right: auto;
    }
}

@font-face {
    font-family: RobotoCondensed;
    src: url(/fonts/RobotoCondensed-Regular.ttf);
}

html, body {
    margin: 0px;
    padding: 0px;
    font-family: RobotoCondensed, Arial, Helvetica, sans-serif;
    font-size: 14px;
}

body {
    padding-bottom: 40px;
}

header, header > nav.navbar {
    background-color: #1a1d21 !important;
    color: #ced4da;
}

button.nav-link * {
    color: #0d6efd !important;
}

button.nav-link.active * {
    color: unset !important;
}

h5.page-title {
    color: #292E32;
    padding-bottom: 5px;
    margin-bottom: 20px;
    font-size: 1.4em;
    font-weight: bold;
}

span.badge {
    font-size: 0.9em !important;
}

footer {
    background-color: #1a1d21;
    color: #ced4da;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 40px;
    z-index: 9999000;
}

footer a {
    color: #fff !important;
}

div.headerless-panel {
    padding: 10px;
    background-image: linear-gradient(to bottom right, #fff, #efefef);
    border: 1px solid #212529;
    border-radius: 5px;
}

div.form-group {
    margin-bottom: 10px;
}

label {
    font-weight: bold;
    margin-bottom: 5px;
}

label.required::after {
    content: " *";
    color: #f00;
}

textarea {
    height: 300px;
    resize: none;
}

div.input-group-append {
    padding: 5px 10px 0px 10px;
    background-color: #ced4da;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

input[type=radio] {
    width: 30px;
    height: 30px;
}

/***** MODALS *****/
div.modal {
    z-index: 9999997;
}

div.modal-dialog.modal-lg {
    width: 670px;
}

div.modal-dialog.modal-xl {
    width: 900px;
}

.modal.draggable div.modal-header {
    cursor: move;
}

.modal.draggable div.modal-content div.modal-body {
    overflow-y: auto;
}

.modal-footer {
    display: unset !important;
    flex-wrap: unset !important;
}

.modal-footer:has(> div.row > div > div.alert-danger) {
    background-color: #f8d7da;
}

.modal-footer:has(> div.row > div > div.alert-danger) > div.row > div > div.alert {
    border-width: 0px;
    padding: 0px;
}
/***** MODALS *****/

canvas.drawingBuffer {
    display: none;
}

div.thumbnail {
    display: inline-block;
}

div.thumbnail > img {
    max-height: 230px;
}

div.thumbnail > div {
    font-size: 0.7em;
}

div.line-graph {
    padding: 10px;
    background-color: #fff;
    border: 2px solid #1a1d21;
}

div.stacked-bar-chart {
    padding: 10px;
    background-color: #fff;
    border: 2px solid #1a1d21;
}

hr {
    margin-top: 15px;
    margin-bottom: 15px;
    border: 0;
    border-top: 1px solid #333;
}

div.alert.alert-secondary {
    background-color: #fff;
    border: 1px solid #1a1d21 !important;
}

*.btn-default {
    color: #0d6efd;
    background-color: #fff;
    border-color: #0d6efd;
}

*.btn-default:hover {
    color: #0d6efd;
    background-color: #fafafa;
}

.btn:disabled {
    border-color: #d0d0d0;
    background-color: #c9c9c9;
    cursor: not-allowed;
}

ul.ui-autocomplete {
    z-index: 9999998;
    max-height: 300px;
    overflow-y: scroll;
    overflow-x: hidden;
    border: 10px solid #343a40;
}

ul.ui-autocomplete *, select.form-select * {
    color: #000;
}

ul.ui-menu * {
    font-family: RobotoCondensed, Arial, Helvetica, sans-serif;
}

span.box {
    font-size: 32px;
}

div.alert {
    margin-bottom: 0px !important;
}

/***** PANELS *****/
div.panel > div.panel-heading {
    padding: 10px;
    border: 1px solid #292e32;
    border-bottom: none;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    font-weight: bold;
}

div.panel > div.panel-body {
    padding: 10px;
    background-image: linear-gradient(to bottom right, #fff, #efefef);
    border: 1px solid #212529;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

div.panel.expandable > div.panel-heading {
    color: #292e32;
    border: 1px solid transparent;
    border-bottom: 1px solid #cccccc;
    cursor: pointer;
}

div.panel.expandable > div.panel-heading:hover {
    border-bottom: 1px solid #292e32;
}

div.panel.expandable > div.panel-heading:hover::after {
    content: ' »';
}

div.panel.expandable:has(> div.panel-body.collapsing) > div.panel-heading, div.panel.expandable:has(> div.panel-body.collapse.show) > div.panel-heading {
    border: 1px solid #292e32;
    border-bottom: none;
}

div.panel:not(.expandable) > div.panel-heading, div.panel.expandable > div.panel-heading[aria-expanded="true"] {
    background-color: #1a1d21;
    color: #ced4da;
}

div.panel:not(.expandable) > div.panel-heading.alert-primary, div.panel.expandable > div.panel-heading[aria-expanded="true"].alert-primary {
    background-color: #cfe2ff;
    color: #1a1d21;
}

div.panel:not(.expandable) > div.panel-heading.alert-warning, div.panel.expandable > div.panel-heading[aria-expanded="true"].alert-warning {
    background-color: #fef3cb;
    color: #1a1d21;
}

div.panel:not(.expandable) > div.panel-heading.alert-danger, div.panel.expandable > div.panel-heading[aria-expanded="true"].alert-danger {
    background-color: #f5d7da;
    color: #1a1d21;
}

div.panel:not(.expandable) > div.panel-heading.alert-secondary, div.panel.expandable > div.panel-heading[aria-expanded="true"].alert-secondary {
    background-color: #e2e3e5;
    color: #1a1d21;
}
/***** PANELS *****/

/***** ACCORDIONS *****/
.accordion-button:not(.collapsed) {
    background-color: #fff;
}
/***** ACCORDIONS *****/

/***** PILLS *****/
ul.nav.nav-pills {
    background-color: #fff !important;
}

ul.nav.nav-pills li.nav-item a.nav-link {
    padding: 3px 5px !important;
}

ul.nav.nav-pills li.nav-item a.nav-link.active {
    color: #fff !important;
}
/***** PILLS *****/

/***** BREADCRUMBS *****/
ol.breadcrumb {
    padding: 8px 15px;
    margin-bottom: 20px;
    list-style: none;
    background-color: #212529;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    color: #989898;
}

ol.breadcrumb > li {
    font-size: 0.9em;
}

ol.breadcrumb > li::after {
    content: "/";
    margin-left: 10px;
    margin-right: 10px;
}

ol.breadcrumb > li:last-child::after {
    content: none;
}

ol.breadcrumb > li > a {
    color: #fff !important;
}

ol.breadcrumb > li:not(.active) {
    color: #000 !important;
}

ol.breadcrumb > li.active {
    color: #000 !important;
}
/***** BREADCRUMBS *****/

/***** NAV BAR *****/
div.navbar {
    background-color: #292e32;
    display: block !important;
    flex-wrap: nowrap !important;
}

div.navbar div.container-fluid {
    display: block !important;
}

div.navbar a.navbar-brand, div.navbar a.navbar-brand:hover {
    color: #8abce2;
}

div.navbar div.dropdown {
    display: inline-block;
}

div.navbar div.dropdown a[role="button"] {
    background-color: transparent;
    border: none;
    border-radius: 0px;
}

div.navbar div.dropdown a[role="button"]:focus {
    box-shadow: none;
    background-color: #000;
}

div.navbar div.dropdown ul.dropdown-menu {
    margin-top: 0px;
    padding: 0px;
    border-radius: 0px;
    background-color: #292e32;
}

div.navbar div.dropdown ul.dropdown-menu a.dropdown-item {
    color: #fff;
}

div.navbar div.dropdown ul.dropdown-menu a.dropdown-item:hover {
    background-color: #8abce2;
    color: #000;
}

nav.navbar ul.dropdown-menu.show {
    z-index: 9999998 !important;
}

ul.nav li.dropdown ul.dropdown-menu.show {
    z-index: 9999998 !important;
}

nav.navbar ul.dropdown-menu.show {
    margin: 0px !important;
    padding: 0px !important;
    border-radius: 0px !important;
    border: 1px solid #1a1d21 !important;
}

nav.navbar a.dropdown-item {
    padding: 4px 8px !important;
}

nav.navbar hr.dropdown-divider {
    margin: 4px 0px !important;
}
/***** NAV BAR *****/

/***** SWITCH *****/
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch input:disabled + .slider {
    opacity: 0.5;
    cursor: not-allowed;
}

.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: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #45cf5a;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}
/***** SWITCH *****/

/***** MULTISELECTLIST *****/
div.multiselectlist {
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    padding: 0.8em;
    background-color: #fff;
    max-height: 300px;
    overflow-y: auto;
}

div.multiselectlist table {
    width: 100%;
}

div.multiselectlist table td {
    vertical-align: middle;
}

div.multiselectlist table td:last-child {
    padding-left: 5px;
}
/***** MULTISELECTLIST *****/

/***** MULTIFILTEREDLIST *****/
div.multifilteredlist {
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    padding: 0.8em;
    background-color: #fff;
    max-height: 300px;
    overflow-y: auto;
}

div.multifilteredlist table {
    width: 100%;
}

div.multifilteredlist table td {
    vertical-align: middle;
}

div.multifilteredlist table td:last-child {
    padding-left: 5px;
}
/***** MULTIFILTEREDLIST *****/

/***** TABLES *****/
table.table {
    border-radius: 5px;
    margin-bottom: 0px !important;
}

table.table thead tr th {
    vertical-align: bottom;
    border: none !important;
    border-bottom: 1px solid #000 !important;
    white-space: nowrap;
}

table.table tbody tr td {
    vertical-align: middle;
}

table.table:not(.dataTable) tbody tr td {
    white-space: nowrap;
}

table.table tbody tr td.text-wrap {
    white-space: initial;
}

table.table tbody tr td.alert-danger {
    background-color: #f8d7da !important;
}

table.table tbody tr:last-child td {
    border-bottom-width: 0px;
}

table.table tbody tr td a {
    color: #0d6efd !important;
}

table.table tfoot tr td {
    border: none !important;
    border-top: 1px solid #000 !important;
    vertical-align: middle;
}

div.dataTables_filter input[type="search"] {
    background-color: #fff;
}

div.dataTables_wrapper {
    border: 1px solid #000;
    border-radius: 5px;
    padding: 10px;
}

div.dataTables_wrapper div.dt-buttons {
    margin-top: 20px !important;
}
/***** TABLES *****/

/***** HELPERS *****/
*.pl-1 {
    padding-left: 1em;
}

*.pl-2 {
    padding-left: 2em;
}

*.pl-3 {
    padding-left: 3em;
}

*.pr-1 {
    padding-right: 1em;
}

*.pr-2 {
    padding-right: 2em;
}

*.pr-3 {
    padding-right: 3em;
}

*.pb-1 {
    margin-bottom: 1em;
}

*.pb-2 {
    margin-bottom: 2em;
}

*.pb-3 {
    margin-bottom: 3em;
}

*.ml-1 {
    margin-left: 1em;
}

*.ml-2 {
    margin-left: 2em;
}

*.ml-3 {
    margin-left: 3em;
}

*.mr-1 {
    margin-right: 1em;
}

*.mr-2 {
    margin-right: 2em;
}

*.mr-3 {
    margin-right: 3em;
}

*.mb-1 {
    margin-bottom: 1em;
}

*.mb-2 {
    margin-bottom: 2em;
}

*.mb-3 {
    margin-bottom: 3em;
}

*.hidden {
    display: none !important;
}

*.bold-text {
    font-weight: bold;
}

*.italic-text {
    font-style: italic;
}

*.small-text {
    font-size: 0.8em;
}

*.large-text {
    font-size: 1.2em;
}

*.blue-text {
    color: #0d6efd !important;
}

*.red-text {
    color: #f00 !important;
}

*.highlight-text {
    background-color: #f5ea23;
}

*.text-left {
    text-align: left;
}

*.text-right {
    text-align: right;
}

*.inline-block {
    display: inline-block;
}

*.float-left {
    float: left;
}

*.float-right {
    float: right;
}

*.w-auto {
    width: auto !important;
}

*.border-top {
    border-top: 1px solid #000 !important;
}

*.border-bottom {
    border-bottom: 1px solid #000 !important;
}

*.border-left {
    border-left: 1px solid #000 !important;
}

*.border-right {
    border-right: 1px solid #000 !important;
}
/***** HELPERS *****/

/***** PHOTOS/CAMERA *****/
div.photo, div.camera, div.upload {
    position: relative;
    display: inline-block;
    background-color: #fff;
    cursor: pointer;
    margin-right: 3px;
}

div.photo > img {
    width: 240px;
    height: 148px;
}

div.upload, div.camera {
    border: 2px dotted #d0d0d0;
    width: 240px;
    height: 148px;
}

div.upload img, div.camera img {
    cursor: pointer;
}

.embed-responsive {
    position: relative;
    display: block;
    height: 0;
    padding: 0;
    overflow: hidden;
}

.embed-responsive .embed-responsive-item,
.embed-responsive iframe,
.embed-responsive embed,
.embed-responsive object,
.embed-responsive video {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    border: 0;
}

.embed-responsive-4by3 {
    padding-bottom: 75%;
}
/***** PHOTOS/CAMERA *****/

/***** CUSTOMIZE PAGE *****/
div.customize-page {
    padding: 5px 10px;
    border: 1px solid #d0d0d0;
    border-radius: 15px;
    background-color: #efefef;
}

div.customize-page a:hover:before {
    content: "Customize";
    margin-right: 10px;
}

div.customizable.customizable-hidden {
    display: none !important;
}
/***** CUSTOMIZE PAGE *****/

a {
    cursor: pointer;
    color: #0d6efd;
    /*color: #50a2e4;*/
    text-decoration: none;
}

a:hover {
    color: #0d6efd;
    /*color: #50a2e4;*/
    text-decoration: none;
}
