@media {
    :root {
        --primary: var(--blue);
        --secondary: var(--blue-light);
        --warning: #E56F0CFF;
        --danger: #d51717;
        --accent: #f5dd5d;
        --primary-fg: #fff;

        --blue: #09176e;
        --blue-light: #0b1886;
        --blue-lite: #bceafb;
        --green: #006B1BFF;
        --purple: #510c65;

        --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: #609ab6;
        --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);
    }
}

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

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

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

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

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

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

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

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

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

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

.sidebar-toggle:hover {
    background: var(--primary) !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(--green) !important;
}

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

.bg-purple {
    background: var(--purple) !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 !important;
}

.mt-5 {
    margin-top: 5px !important;
}

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

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

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

.content-header h1 {
    color: var(--primary) !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 (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;
}

.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-success, .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-success {
    background: var(--primary) !important;
}

.bootstrap-switch.bootstrap-switch-small .bootstrap-switch-handle-on, .bootstrap-switch.bootstrap-switch-small .bootstrap-switch-handle-off, .bootstrap-switch.bootstrap-switch-small .bootstrap-switch-label {
    text-transform: capitalize !important;
}

.active-image {
    background: var(--primary);
    padding: 5px;
}

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

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

thead th, tfoot td {
    color: var(--primary);
    font-size: 1.5rem;
}

body {
    font-size: 1.5rem;
    font-family: var(--font-family-primary);
    color: var(--body-fg);
}

label {
    font-weight: normal;
    color: var(--body-quiet-color);
    font-size: 0.8125rem;
}

label {
    color: var(--primary);
    font-size: 1.5rem !important;
}

input, textarea, select, .form-row p, form .button, .module h2, .module caption, .inline-group h2, li, dt, dd, td, th, h3, h4 {
    font-size: 1.5rem !important;
}

.sidebar-menu, .main-sidebar .user-panel, .sidebar-menu > li.header {
    color: white;
}

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

.related-widget-wrapper {
    float: revert !important;
}

h2 {
    font-size: 2rem;
}

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

.mini {
    font-size: 1.5rem;
}

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

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

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

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

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

.inline-group ul.tools a.add, .inline-group div.add-row a, .inline-group .tabular tr.add-row td a {
    font-size: 1.5rem !important;
}

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

.v-top {
    vertical-align: top !important;
}

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

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

.bg-dark-blue {
    background: #201788 !important;
}

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

.p-20 {
    padding: 20px;
}

.navbar-nav > .user-menu > .dropdown-menu > li.user-header {
    height: auto !important;
}

.label-purple {
    background: var(--purple);
}

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

.label-success {
    background: var(--green) !important;
}

.label-warning {
    background: var(--warning) !important;
}

.label-danger {
    background: var(--danger) !important;
}

.select2-container {
    width: 100% !important;
}

.login-page, .register-page {
    background: url("../images/banner.jpg") center;
    background-size: cover;
    display: flex;
}

.login-page::after, .register-page::after {
    content: '';
    background-color: rgba(0, 0, 0, 0.8);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.login-box-body, .register-box-body {
    border-radius: 10px;
}

a:link, a:visited {
    color: var(--primary);
}

a:link:hover, a:visited:hover {
    color: var(--danger);
}

.list-group-item.active, .list-group-item.active:hover {
    background: var(--primary);
}

.list-group-item.active a {
    color: white;
}

.alert-primary {
    color: white;
    background: var(--primary);
}

.option-box {
    border: 1px solid lightgrey;
    border-radius: 10px;
    height: 30px;
    padding: 5px;
}

.pointer {
    cursor: pointer;
}

.bg-warning-light {
    background: #FFD7B5 !important;
}

.tabular.inline-related th {
    text-align: center !important;
    color: var(--primary);
}

.tabular.inline-related td.delete div {
    text-align: center !important;
}

.alert .nonfield {
    background: revert !important;
    color: revert !important;
}

.box-body li {
    line-height: 22px;
}

.profile-avatar {
    color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

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

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

.px-10 {
    padding-left: 20px;
    padding-right: 20px;
}

.px-30 {
    padding-left: 30px;
    padding-right: 30px;
}

.cursor-pointer {
    cursor: pointer !important;
}

.fc .fc-bg-event {
    background: rgb(208, 208, 208) !important;
}

.fc-daygrid-event:hover {
    background: none !important;
}

.d-flex {
    display: flex !important;
}

.justify-content-center {
    justify-content: center !important;
}

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

.flex-column {
    flex-direction: column !important;
}

ul li {
    line-height: 20px !important;
}

p, ol, ul, dl {
    margin: .2em 0 .2em 0 !important;
}

.mt-5 {
    margin-top: 5px !important;
}

.bg-danger {
    background-color: #f2dede !important;
}

.bg-success {
    background-color: #ccf8c8 !important;
}

.bg-warning {
    background-color: #fbf7ea !important;
}

fieldset.module td.original p {
    display: none !important;
}

.legend {
    display: flex;
    flex-direction: column;
    align-items: start;
}

.legend h4 {
    margin-bottom: 5px;
}

.legend .legend_item {
    width: 15px;
    height: 15px;
    border: 1px solid black;
    border-radius: 3px;
}

.evento-verde {
    color: green !important;
}

#id_r {
    display: flex;
    align-items: center;
}

#id_r label {
    margin-right: 20px !important;
}

#id_r input[type=radio] {
    margin-top: 0 !important;
    margin-right: 3px;
}

.v-center {
    vertical-align: middle !important;
}

.floating-button {
    position: fixed;
    bottom: 10px !important;
    right: 10px !important;
    z-index: 1;
}

.floating-button div {
    padding: 0;
    background: var(--secondary);
    color: whitesmoke;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    cursor: pointer;
}

.floating-button div:hover {
    background: var(--primary);
}

div#generic_modal .small {
    font-size: revert !important;
}

.select_language {
    border: 1px solid gray;
    border-radius: 10px;
    padding: 10px 10px;
    text-align: center;
    margin: 10px;
    color: var(--primary);
}

.select_language:hover {
    background: var(--blue-lite) !important;
    color: var(--primary) !important;
}

.scroll-y {
    overflow-y: auto !important;
}

.offer-badge {
    text-align: center;
    background: var(--warning);
    color: white !important;
    font-weight: bold;
    padding: 3px 10px;
    border-radius: 5px;
}

a.offer-badge {
    color: white !important;
}

.word-wrap {
    word-wrap: break-word;
}

code {
    width: 100%;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    background-color: #333333;
    color: white;
    padding: 20px 20px;
    border-radius: 4px;
    display: inline-block;
}

.justify-content-end {
    -webkit-box-pack: end !important;
    -ms-flex-pack: end !important;
    justify-content: flex-end !important;
}

.justify-content-between {
    -webkit-box-pack: justify !important;
    -ms-flex-pack: justify !important;
    justify-content: space-between !important;
}

.m-0 {
    margin: 0 !important;
}

.loader {
    width: 100px;
    aspect-ratio: 1;
    display: grid;
    border: 10px solid #0000;
    border-radius: 50%;
    border-color: #ccc #0000;
    animation: l16 1s infinite linear;
}

.loader::before,
.loader::after {
    content: "";
    grid-area: 1/1;
    margin: 5px;
    border: inherit;
    border-radius: 50%;
}

.loader::before {
    border-color: var(--warning) #0000;
    animation: inherit;
    animation-duration: .5s;
    animation-direction: reverse;
}

.loader::after {
    margin: 12px;
}

@keyframes l16 {
    100% {
        transform: rotate(1turn)
    }
}

.blockUI.blockPage {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: transparent !important;
    border: none !important;
}

.no-underline {
    text-decoration: none !important;
}

.no-hover-color:hover {
    color: revert !important;
}

.hover-bg-gray:hover {
    background: rgba(225, 227, 232, 0.17);
}

.py-10 {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.mx-10 {
    margin-left: 10px !important;
    margin-right: 10px !important;
}

.label {
    padding-top: 4px !important;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    right: 100%;
    left: auto;
    margin-top: -6px;
    display: none;
    position: absolute;
}

.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}

.dropdown-submenu > a::after {
    content: "›";
    float: right;
    margin-top: -8px;
    margin-left: 10px;
    font-size: 25px;
}