:root {
    --primary-bg-color: white;
    --primary-color: black;
    --secondary-bg-color: #cececf;
    --secondary-color: black;
    --secondary-border: 1px solid silver;
    --tertiary-bg-color: #d2e9eb;
    --tertiary-color: white;
    --tertiary-border: 1px solid silver;
    --highlight-bg-color: #2c5c5d;
    --highlight-color: white;
    --highlight-border: solid 1px #5A4181;
    --highlight-hover-bg-color: #46546c;
    --highlight-hover-color: #fff;
    --highlight-hover-border: 1px solid #285e8e;
}

.bg-primary, .sidebar {
    background: rgb(44,92,93);
    background: linear-gradient(90deg, rgba(44,92,93,1) 0%, rgba(40,101,103,1) 35%, rgba(37,113,117,1) 100%);
}

.sidebar-nav .nav-group.show {
    background: transparent;
}

.nav-group-toggle {
    text-transform: uppercase;
    font-size: 80%;
    font-weight: 700;
}

.nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link {
    --cui-nav-tabs-link-active-bg: var(--highlight-bg-color);
    --cui-nav-tabs-link-active-color: var(--highlight-color);
}

.nav-tabs .nav-link {
    --cui-nav-link-color: gray;
    font-weight: bold;
}

.nav-tabs .nav-link.disabled, .nav-tabs .nav-link:disabled {
    color: var(--cui-nav-link-disabled-color) !important;
    background-color: transparent !important;
    border-color: transparent !important;
}

.sidebar-toggler {
    display: none;
}

.app_version {
    padding: 20px;
    background-color: var(--cui-sidebar-toggler-hover-bg);
}

.table {
    --cui-table-striped-bg: var(--tertiary-bg-color);
    --cui-table-hover-bg: #aadbde;
}

* {
    font-family: "Open Sans", sans-serif;
}

.pagination {
    --cui-pagination-color: black;
}

.pagination > .active > a
{
    color: var(--highlight-color);
    background-color: var(--highlight-bg-color) !important;
    border: var(--highlight-border) !important;
}

.btn-primary {
    color: var(--highlight-color);
    background-color: green;
    border: var(--highlight-border);
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .open>.dropdown-toggle.btn-primary, .dropdown-item.active, .dropdown-item:active {
    color: var(--highlight-hover-color);
    background-color: var(--highlight-hover-bg-color);
    border: var(--highlight-hover-border);
}

table
{
    background-color: var(--primary-bg-color);
}

table th
{
    background-color: var(--highlight-bg-color) !important;
    color: var(--highlight-color) !important;
}

table td, table th
{
    padding-top: 15px !important;
    padding-bottom: 15px !important;
    vertical-align: top !important;
}

table td
{
    border-bottom: var(--secondary-border) !important;
}

table .button
{
    display: inline-block;
    background-color: var(--highlight-bg-color);
    color: var(--highlight-color);
    padding: 7px;
    text-align: center;
    font-size: 1em;
    text-decoration: none;
    border: var(--highlight-border);
    border-radius: 5px;
    cursor: pointer;
}

table .card-view
{
    margin-bottom: 7px;
}

table .card-view-value
{
    padding-left: 25px !important;
}

.bootstrap-table td:nth-of-type(1) {
    white-space: nowrap;
}

.bootstrap-table i.status {
    display: inline-block;
    width: 25px;
    padding: 4px;
    text-align: center;
    font-size: 1em;
    border: var(--highlight-border);
    border-radius: 5px;
}

.bootstrap-table i.cancel {
    background-color: red;
    color: white;
}

.bootstrap-table .hidden {
    display: none;
}

.bootstrap-table .actions {
    white-space: nowrap;
    text-align: left;
}

.filter_options .option {
    display: inline-block;
    margin-right: 15px;
    vertical-align: middle;
}

.filter_options .option * {
    vertical-align: middle;
}

.options
{
    float: right;
}

.options .option
{
    white-space: nowrap;
}

.form-group
{
    margin-bottom: 15px;
}

.form-group textarea
{
    height: 100px;
}

/* Limit inputs to max width */
.card {
    max-width: 540px;
}

.modal .card {
    max-width: none;
}

.form-group input, .form-group select, .form-group textarea {
    max-width: 500px;
}

.invalid_value
{
    border: 2px solid red;
}

:disabled, .disabled, *[readonly]
{
    background-color: #aadbde !important;
    color: black !important;
    border: 1px solid gray !important;
}

.disabled {
    pointer-events: none !important;
}

.loading span {
    margin-right: 5px;
}

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

.dashboard .body, .dashboard .wrapper.bg-light {
    background-color: var(--tertiary-bg-color) !important;
}

.body .card {
    margin-top: 25px;
}

.body .card-header {
    color: var(--highlight-color);
    background-color: var(--highlight-bg-color);
    border: var(--highlight-border);
}

.body .card-body {
    background-color: var(--tertiary-bg-color);
}

.btn.btn-danger {
    color: white;
}

.modal-xxl .modal-dialog {
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

button.close {
    font-size: 40px;
    border: none;
    background-color: transparent;
}

.fa-exclamation-triangle {
    font-size: 20px;
    color: orange
}

.file-drop-area {
    position: relative;
    display: flex;
    align-items: center;
    width: 450px;
    max-width: 100%;
    padding: 25px;
    border: 1px dashed gray;
    border-radius: 3px;
    transition: 0.2s;
  }

.file-drop-area .choose-file-button {
    flex-shrink: 0;
    background-color: var(--highlight-bg-color);
    color: white;
    border: 1px solid gray;
    border-radius: 3px;
    padding: 8px 15px;
    margin-right: 10px;
    text-transform: uppercase;
}

.file-drop-area .file-message {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-drop-area .file-input {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    cursor: pointer;
    opacity: 0;
}

.attachment:not(body) {
    display: inline-block;
    text-align: center;
    margin-right: 20px;
}

.attachment:not(body) i {
    font-size: 150px;
}

.attachment:not(body) a {
    text-decoration: none;
}

.attachment:not(body) img {
    -webkit-transition: all .5s ease-in-out;
}

.attachment:not(body) img:hover {
    -webkit-transform: scale(1.1);
}

@media
only screen and (max-width: 770px),
(min-device-width: 768px) and (max-device-width: 1024px)
{
    .body
    {
        padding: 0 !important;
    }

    .options
    {
        margin-top: 7px;
    }
}