@media {
    :root {
        --primary: rgb(97, 72, 16);
        --golden: rgb(176, 138, 18);
        --blue-secondary: rgb(102, 92, 58);
        --blue: rgb(102, 92, 58);
        --secondary: rgb(102, 92, 58);
        --black: #222d32;
        --red: #b22715;
    }
}

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

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

.text-white {
    color: #ffffff !important;
}

.main-header .navbar {
    background-color: var(--black) !important;
}

.main-header .logo {
    background-color: var(--black) !important;
}

.sidebar-menu > li:hover > a, .skin-blue .sidebar-menu > li.active > a {
    border-left-color: var(--blue);
}

.sidebar-menu > li:hover > a:hover, .sidebar-menu > li > a:hover {
    border-left-color: var(--primary);
}

.box.box-primary {
    border-top-color: var(--blue-secondary);
}

.skin-blue .main-header li.user-header {
    background-color: var(--primary) !important;
}

div.breadcrumbs {
    background: var(--blue);
}

.button.default, input[type=submit].default, .submit-row input.default {
    background: var(--blue);
}

.sidebar-toggle:hover {
    background: var(--blue) !important;
}

a {
    color: var(--primary);
}

.mr-2 {
    margin-right: 2px;
}

.module h2, .module caption, .inline-group h2 {
    background: var(--primary) !important;
}

.selector .selector-available h2 {
    color: white !important;
}

.help, p.help, form p.help, div.help, form div.help, div.help li {
    color: white !important;
}

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

.breadcrumb a:link, .breadcrumb a:visited {
    color: var(--primary) !important;
}

.table a:link, .table a:visited {
    color: var(--primary) !important;
}

[disabled]:hover {
    cursor: no-drop !important;
}

.mt-10 {
    margin-top: 10px;
}

.mb-10 {
    margin-bottom: 10px;
}

.mt-20 {
    margin-top: 20px;
}

.box.box-primary.box-bottom {
    border-bottom: 3px solid var(--blue-secondary);
    border-top: none;
}

.content-header h1 {
    color: var(--blue-secondary) !important;
    font-size: 18px;
    font-weight: bold;
    font-family: "Roboto", "Lucida Grande", "DejaVu Sans", "Bitstream Vera Sans", Verdana, Arial, sans-serif;
}

.form_image_preview {
    width: 150px !important;
    float: left !important;
    margin-right: 20px !important;
    border: 1px solid grey !important;
    padding: 5px !important;
}

@media (prefers-color-scheme: dark) {
    :root {
        --primary: rgb(140, 125, 75);
        --blue-secondary: rgb(140, 125, 75);
        --blue: rgb(140, 125, 75);
        --secondary: rgb(140, 125, 75);
        --accent: rgb(140, 125, 75);
        --primary-fg: #fff;

        --body-fg: #333;
        --body-bg: #fff;
        --body-quiet-color: #666;
        --body-loud-color: #000;

        --header-color: #ffc;
        --header-branding-color: var(--accent);
        --header-bg: var(--secondary);
        --header-link-color: var(--primary-fg);

        --breadcrumbs-fg: #c4dce8;
        --breadcrumbs-link-fg: var(--body-bg);
        --breadcrumbs-bg: var(--primary);

        --link-fg: #447e9b;
        --link-hover-color: #036;
        --link-selected-fg: #5b80b2;

        --hairline-color: #e8e8e8;
        --border-color: #ccc;

        --error-fg: #ba2121;

        --message-success-bg: #dfd;
        --message-warning-bg: #ffc;
        --message-error-bg: #ffefef;

        --darkened-bg: #f8f8f8; /* A bit darker than --body-bg */
        --selected-bg: #e4e4e4; /* E.g. selected table cells */
        --selected-row: #ffc;

        --button-fg: #fff;
        --button-bg: var(--primary);
        --button-hover-bg: rgb(140, 125, 75);
        --default-button-bg: var(--secondary);
        --default-button-hover-bg: #205067;
        --close-button-bg: #888; /* Previously #bbb, contrast 1.92 */
        --close-button-hover-bg: #747474;
        --delete-button-bg: #ba2121;
        --delete-button-hover-bg: #a41515;

        --object-tools-fg: var(--button-fg);
        --object-tools-bg: var(--close-button-bg);
        --object-tools-hover-bg: var(--close-button-hover-bg);
    }
}

@media (max-width: 990px) {
    .btn-add {
        margin-top: 10px;
    }

    .error-code {
        text-align: center;
    }

    .error-description {
        text-align: center;
    }

    .error-contact {
        text-align: center;
    }
}

th.column-slider_type {
    width: 50% !important;
}

.field-element .inline-deletelink {
    display: none !important;
}

.vDateField {
    width: 100% !important;
}

.vTimeField {
    width: 100% !important;
}

.error-code {
    font-size: 120px;
    margin-left: 20px;
    font-weight: bold;
}

.error-description {
    font-size: 30px;
}

input.datetime[readonly] {
    background: white !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    color: black !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 31px !important;
}

.select2-container .select2-selection--single {
    height: 36px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 5px !important;
}

.item_rate {
    cursor: pointer;
    display: inline-block
}

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

.nav-tabs-custom > .nav-tabs > li.active {
    border-top-color: var(--golden) !important;
}

.login-page, .register-page {
    background: url("../images/login-background.jpg");
    background-size: cover;
    background-repeat: no-repeat;
}

.skin-blue .wrapper, .skin-blue .main-sidebar, .skin-blue .left-side {
    background-color: #222d32;
}

.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-success, .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-success {
    color: #fff;
    background: var(--golden) !important;
}

.bootstrap-switch {
    text-transform: capitalize;
}

.pagination > .active > a, .pagination > .active > a:focus, .pagination > .active > a:hover, .pagination > .active > span, .pagination > .active > span:focus, .pagination > .active > span:hover {
    background-color: var(--primary);
    border-color: var(--primary);
}

legend {
    font-size: 18px;
}

.required {
    font-weight: bold;
    margin-left: 5px;
    color: red;
}

th, td {
    vertical-align: middle !important;
}

.login-box-body, .register-box-body {
    border-radius: 10px;
    background: rgba(15, 28, 46, 0.9);
    position: relative;
    top: 50px;
}

.input-group .input-group-addon {
    border-radius: 0;
    background-color: rgb(232, 240, 254);
}

.ml-20 {
    margin-left: 20px;
}

.mr-5 {
    margin-right: 5px;
}

.skin-blue .treeview-menu > li.active > a {
    color: var(--golden);
}

a:link, a:visited {
    color: var(--golden);
    text-decoration: none;
    transition: color 0.15s, background 0.15s;
}

.add-row a {
    color: var(--primary);
    font-weight: bold;
}

.btn-golden {
    background: var(--golden);
    color: white !important;
}

label {
    color: var(--primary);
}

.showall {
    color: var(--primary);
    font-weight: bold;
}

.delete-image {
    width: 50px;
    height: 30px;
    background: white;
    position: absolute;
    top: -10px;
    right: 0;
    border-radius: 50%;
    font-size: 20px;
    padding-left: 12px;
    padding-top: 2px;
    cursor: pointer;
}

.edit-image {
    width: 50px;
    height: 30px;
    background: white;
    position: absolute;
    top: -10px;
    left: 0;
    border-radius: 50%;
    font-size: 16px;
    padding-left: 22px;
    padding-top: 4px;
    cursor: pointer;
}

.p-10 {
    padding: 10px;
}

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

.menu-letter-title {
    font-size: 25pt !important;
    text-align: center;
    color: var(--golden);
    margin-top: 20pt;
    font-weight: bold;
}

.menu-letter-subtitle {
    font-size: 15pt !important;
    margin-bottom: 30pt;
    text-align: center;
    color: var(--primary);
    font-weight: bold;
}

#id_coordinates_admin_map {
    width: 100%;
}

.main-header {
    z-index: 20 !important;
}

.treeview-menu > li {
    list-style-type: none;
}

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

.box-golden {
    border-top-color: var(--golden);
}

.chat-border {
    border: 2px solid var(--golden) !important;
}

.direct-chat-primary .right > .direct-chat-text {
    background: var(--golden) !important;
    color: white !important;
    border-color: var(--golden) !important;
}

.direct-chat-primary .right > .direct-chat-text::after, .direct-chat-primary .right > .direct-chat-text::before {
    border-left-color: var(--golden);
}

.direct-chat-messages {
    height: 550px;
    overflow: auto;
}

.bootstrap-timepicker-widget table td input {
    width: 40px !important;
}

input[type="time"].form-control {
    line-height: 15px !important;
}

.disable-day {
    background: #ff8c8c !important;
    padding: 5px !important;
}