strong {
    color: #384850;
}

.flex-grow-1 {
    flex-basis: 0;
}

td .btn-xs {
    min-width: 2.5em;
    padding: 0.15em 0.4em;
}

.head-links a:not(:last-child) {
    margin-right: 0.5em;
}
.head-links a:not(:last-child):after {
    content: "|";
    margin-left: 0.5em;
}

.related-elements-list {
    position: absolute;
    display: none;
    border-top: 1px solid #c3c8cc;
    border-radius: 4px;
    border-top-right-radius: 0 !important;
    border-top-left-radius: 0 !important;
    background: #e9ecef;
    font-size: 1em;
    width: 20em;
    -webkit-box-shadow: 5px 5px 15px -3px rgba(0,0,0,0.79);
    box-shadow: 2px 2px 5px -3px rgba(0,0,0,0.79);
}

.related-elements-list a {
    color: #4e6570;
}

.related-elements-list li {
    background: transparent;
    padding: 0.5em;
    text-align: center;
    line-height: 1em;
    white-space: normal !important;
}

.brand-encabezado {
    color: #c5cacd;
    letter-spacing: -2px;
    margin: 10px 10px 10px 0px;
    position: relative;
}

.brand-encabezado:hover {
    color: white;
    text-decoration: none;
}

.title {
    background: #e9ecef;
    padding: 1em 1em 0 1em;
    margin: -1em -1.8em 2em -1.8em !important;
    border-radius: 0.4em;
    border: 1px solid lightgray;
    color: #435760;
}

select#brand_perfil_seleccionado {
    display: inline;
    width: auto;
    height: auto;
    padding: .175rem .75rem .175rem .35rem;
    font-size: 0.9em;
}

div.form-group ul.errorlist {
    list-style-type: none;
    padding: 0.75rem 1.25rem;
    display: inline-block;
    color: #721c24;
    background-color: #f8d7da;
    margin-bottom: 0rem;
    margin-top: 0.5rem;
    border: 1px solid #f5c6cb;
    border-radius: 0.25rem;
}

.selector-chosen > h2 {
    font-size: 16px;
    margin-bottom: 0;
}

.selector-available > h2 {
    font-size: 16px;
    margin-bottom: 0;
}

.selector-available, .selector-chosen {
    width: 40% !important;
}

.selector .selector-available input {
    width: 90% !important;
}

.selector .selector-filter label, .inline-group .aligned .selector .selector-filter label {
    margin: 0.2em 0 0 0 !important;
}

.selector select {
    width: 100% !important;
}

.selector select option {
    padding: 0.1em 0 !important;
}

.selector select {
    padding-top: 0.5em !important;
}

fieldset.border {
    border: 1px solid gray;
    border-radius: 6px;
    padding: 1.5rem 1.75rem 1rem 1.75rem;
    background: #fdfdfd;
    margin-bottom: 1em;
}

fieldset.border:last-child {
    margin-bottom: 0;
}

fieldset.border > legend {
    margin-bottom: 0;
    margin-left: -0.75rem;
    font-weight: 300;
    font-size: 1.25rem;
    padding: 0 0.5em;
    border: 1px solid lightgray;
    background: white;
    border-radius: 4px;
}

.btn-tertiary {
    color: white;
    background-color: #6f4a8e;
    border-color: #593b72 !important;
    text-decoration: none;
}

.btn-tertiary:hover {
    color: white;
    background-color: #583b72;
    border-color: #593b72 !important;
    text-decoration: none;
}

.btn-quaternary {
    color: white;
    background-color: #4a8e74;
    border-color: #3f7761 !important;
    text-decoration: none;
}

.btn-quaternary:hover {
    color: white;
    background-color: #3b725d;
    border-color: #3f7761 !important;
    text-decoration: none;
}

.rol-selection {
    display: flex;
}

.rol-label {
    flex: 0 1;
    margin-top: auto;
    margin-bottom: auto;
    padding-right: 0.5em;
}

.rol-select {
    flex: 1 1;
}

@media (max-width: 992px) {
    .form-sidebar {
        display: none;
    }
}

.form-sidebar {
    flex: 0 1 17em;
    min-width: 17em;
    padding-right: 2em;
    align-self: flex-start;
    position: relative;
}

.form-sidebar .list-group {
    position: fixed;
    min-width: 16em;
    max-width: 16em;
}

.form {
    flex: 1 1;
    max-width: 100%;
    min-width: 0;
}

.form-group.required > label:after {
    content: " *";
    color: red;
    font-weight: bold;
}

.form-group.modern-label > label {
    border-bottom: 1px solid #e5e5e5 !important;
    margin-bottom: 1px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    z-index: 1;
}

.form-group > label {
    color: #364850;
}

.form-group.modern-label > input, .form-group.modern-label .input-group input, .form-group.modern-label .input-group a,
.form-group.modern-label .input-group select, .form-group.modern-label  > select,
.form-group.modern-label > textarea, .form-group.modern-label > .select2-container--bootstrap {
    border-top-left-radius: 0;
    position: relative;
    top: -1px;
    z-index: 2;
}

.select2-container--bootstrap .select2-dropdown {
    box-shadow: 6px 6px 7px -4px rgba(0,0,0,0.2);
}

.form-group.modern-label  > .select2-container--bootstrap .select2-selection {
    top: -1px;
    /*height: 2.35rem;*/
    height: auto !important;    /* Fix: to auto adjust height of element to contents */
    border-radius: 4px;
    border-top-left-radius: 0;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
}


.modern-label > .tox-tinymce {
    border-top-left-radius: unset;
}

fieldset .form-row {
    padding: 0 1em;
}

fieldset fieldset legend {
    font-size: 1.3em;
}

.element-container {
    padding: 1em 1.5em;
    border: 1px solid #dee2e6;
    background: white !important;
    margin: 0 1em 1em 1em;
}

.element-fields {
    background: #f8f8f8;
    padding: 1em;
    border: 1px solid #dee2e6;
    margin-bottom: 1em;
    position: relative;
}

.element-template {
    display: none;
}

.element-fields .col-md-4.text-center {
    text-align: center;
    border-right: 1px solid #dee2e6;
}

.element-fields .col-md-4.text-center:last-child {
    border-right: unset;
}

.element-fields .form-group > label {
    background-image: none;
    padding: 0;
    margin-bottom: 0.5rem;
    border: unset;
}

.element-fields .form-control {
    border-radius: 0.25rem !important;
}

.delete-element {
    position: absolute;
    top: 0;
    right: 0;
    border-top-left-radius: unset;
    border-top-right-radius: unset;
    border-top: unset;
    border-bottom-right-radius: unset;
}

.tinymce-label, .form-group > label {
    font-size: 1.2em !important;
    padding: 0.25em 0.45em 0.1em 0.45em;
    position: relative;
    top: 0.1rem;
    border-radius: 5px;
    color: #364850;
    background: whitesmoke;
    border: 1px solid lightgray;
}

.form-group.row > label {
    padding-top: 0.2em;
    padding-bottom: 0;
    height: 2em;
}

.tox-tinymce {
    top: -3px;
    z-index: 2;
}

.tox-tinymce--disabled .tox-editor-header {
    display: none;
}

#preview .tox-tinymce--disabled .tox-editor-header {
    display: block !important;
}

#preview .tox-tinymce--disabled {
    border: 1px solid #ced4da !important;
}

.mce-content-readonly {
    background-color: white !important;
    color: #495057 !important;
    height: fit-content !important;
}

.tox-tinymce.disabled .tox-edit-area__iframe {
    background-color: #e9ecef !important;
}

label.file-label:hover {
    background: #4f6977;
}

label.file-label input[type='file'] {
    display: none;
}

label.file-label:after {
    content: '' !important;
}

.file-name {
    margin-left: 0.5em;
}

.form-control[readonly]:not(.preview-input):not([type="checkbox"]):not([type="radio"]) {
    background-color: white;
    font-weight: bold;
}

.select2-container--bootstrap.select2-container--disabled .select2-selection, .select2-container--bootstrap.select2-container--disabled .select2-search__field {
    cursor: default;
}

.select2-container--bootstrap.select2-container--disabled .select2-selection {
    background-color: white;
}

.price-input {
    width: 10em;
}

.sidebar-toggler {
    border-radius: 4px;
    background: #384850;
    color: #c5cacd;
    width: 3em;
    height: 2em;
    font-size: 1em;
    margin-bottom: 0;
    border: unset;
    border-bottom-left-radius: unset;
    border-bottom-right-radius: unset;
}

.card-header .btn-link {
    font-weight: bold;
}

.btn-link:hover {
    color: #0d658f;
}


.btn-link-no-underline, .btn-link-no-underline:hover {
    text-decoration: none;
}

.index {
}

.index .divided {
    display: inline-block;
    padding: 2em;
}

.index .divided:last-child {
    border-right: 0;
}

.index .btn-container {
    display: inline-block;
}

.index .btn {
    padding-top: 1.5em;
    height: 6em;
    max-width: 17em;
    min-width: 17em;
}

.btn-group.flex-wrap .btn {
    border-radius: 0;
}

.top-carousel {
    width: 100%;
    text-align: center;
    background: #e9ecef;
    padding: 1em;
    border: 1px solid lightgray;
    border-bottom: unset;
}

.over-carousel {
    position: absolute;
    background-color: #ffffffe6;
    border-radius: 6px;
    padding: 2em;
    z-index: 10;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 80%;
}

.carousel {
    border: 1px solid #c5cacd;
}

.carousel button, .carousel button:hover {
    border: none;
    background: transparent !important;
    opacity: 1 !important;
    color: white !important;
}

.carousel-inner {
    width: 100% !important;
}

.carousel-item {
    min-height: 25em;
}

.carousel-item img {
    width: 100% !important;
    height: 25em; !important;
    object-fit: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.card-container {
    width: 0 !important;
    min-width: 20em;
    padding-bottom: 1em !important;
}

.mw-50 {
    max-width: 50%;
}

.card-flex {
    display: flex;
    flex-flow: column;
}

.card-flex .card-title {
    flex: 0 1 auto;
}

.card-flex .card-text {
    flex: 1 1 auto;
    min-height: 7em;
    max-height: 7em;
    padding-right: 1em;
    overflow-y: auto;
}

.card-flex .card-buttons {
    flex: 0 1 auto;
    width: 100%;
    text-align: center;
}

.toggle-hide {
    font-size: 1.2em;
}

ul.dates {
    list-style-type: none;
    padding-left: 0em;
}

ul.dates li {
    white-space: nowrap;
}

ul.dates li::before {
    content: "\f133";
    margin-right: 0.2em;
    font-family: "Font Awesome 5 Free";
}

.fit-content {
    width: fit-content !important;
}

.w-0 {
    width: 0 !important;
    min-width: fit-content;
}

.row > div {
    padding-right: 0.5em;
    padding-left: 0.5em;
    padding-bottom: 0.5em;
}

.row {
    margin-right: -0.5em;
    margin-left: -0.5em;
}

#submit button, #submit a {
    width: 10em;
}

.price-input {
    width: 10em;
}

.division-title {
    margin-top: 0.5em;
}

.division-title hr {
    margin-top: 0.2em;
}

.tech-more {
    padding: 1em 1.5em;
    border: 1px solid #dee2e6;
    background: whitesmoke;
    margin: 0 1em 1em 1em;
}

#contenido > .alert {
    margin: -1em -1.8em 2em -1.8em;
}

.alert > .errorlist, .alert > div > .errorlist {
    margin-bottom: 0;
    padding-left: 1em;
}

.alert > div > .errorlist {
    margin-left: 1em;
}

.session-info:not(:first-child) {
    margin-top: 2em;
    border-top: 2px solid lightgray;
    padding-top: 2em;
}

table.dataTable tbody > tr.selected, table.dataTable tbody > tr > .selected {
    background-color: rgb(137,176,165) !important;
    background: linear-gradient(90deg, rgb(91 150 133) 0%, rgba(97,159,99,1) 49%, rgba(62,108,75,1) 100%) !important;
    color: white !important;
    font-weight: bold;
}

table.dataTable tbody > tr.selected > td {
    border: 1px outset white;
    background: transparent !important;
}

table#booking-sessions-table td {
    cursor: pointer !important;
}

.alert-danger strong {
    color: #721c24;
}

.alert-success strong {
    color: #155724;
}

.alert-info strong {
    color: #0c5460;
}


.alert-warning strong {
    color: #856404;
}

button.disabled {
    cursor: default !important;
}

.btn-primary.disabled:hover {
    background: #384850 !important;
}

.identity_type {
    border-bottom-right-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

.active-filter {
    color: darkred;
    display: inline-block;
    position: absolute;
    top: 0.35em;
    right: 2em;
    font-weight: bold;
}

.reset-filter {
    border-top-left-radius: unset;
    border-top-right-radius: unset;
}

.service-description {
    min-width: 15em;
    width: 0;
}

.selected-day {
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    font-size: 1.3em;
}

#total_price {
    font-size: 1.5em;
    border: 4px solid #db5b5b;
    border-radius: 50%;
    padding: 0.3em;
}

.legend {
    border-left: 1px solid lightgray;
}

.legend > .legend-item:not(:first-child) {
    margin-top: 0.5em;
}

.legend > .legend-item > .legend-color {
    display: inline-block;
    width: 2em;
    height: 1.7em;
    border: 1px solid lightgray;
}

.legend > .legend-item > .legend-color.booking-available {
    background: white;
}

.legend > .legend-item > .legend-color.booking-disabled {
    background: #efefef;
}

.legend > .legend-item > .legend-color.day-disabled {
    background: #f8d7da;
}

.legend > .legend-item > .legend-color.past-day {
    background: #efefef;
}

.legend > .legend-item > .legend-color.other-month {
    background: lightgray;
}

.legend > .legend-item > .legend-description {
    position: relative;
    bottom: 0.5em;
    margin-left: 0.25em;
}

table#booking-sessions-table tr.booked-session > td {
    opacity: 0.3;
    cursor: default !important;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0,0,0,.01);
}



label.file-label {
    border: 1px solid #465a64;
    background: #384850;
    padding: 0.375rem 0.75rem;
    font-size: 1rem !important;
    color: white;
    border-radius: 0.25rem;
    display: inline-block;
    width: fit-content;
    cursor: pointer;
}

.title-in-modal {
    background: #f6f7f8;
    padding: 0.5em 0.5em 0 0.5em;
    border-radius: 0.4em;
    border: 1px solid #dee2e6;
    color: #435760;
    margin: 0 1em !important;
}

.table-in-modal {
    margin: 1em 2em;
}

.title-in-modal h4 {
    margin-bottom: 0;
}

.modal-lg {
    max-width: 80%;
}

.modal-header, .modal-footer {
    background: #eceef1;
}

.modal-footer button {
    width: 10em;
}

.vertical-alignment-helper {
    display:table;
    height: 100%;
    width: 100%;
    pointer-events:none; /* This makes sure that we can still click outside of the modal to close it */
}

.vertical-align-center {
    /* To center vertically */
    display: table-cell;
    vertical-align: middle;
    pointer-events:none;
}

.vertical-center-modal-content {
    /* Bootstrap sets the size of the modal in the modal-dialog class, we need to inherit it */
    width:inherit;
    max-width:inherit; /* For Bootstrap 4 - to avoid the modal window stretching full width */
    height:inherit;
    /* To center horizontally */
    margin: 0 auto;
    pointer-events: all;
}

.modal-body > .body-loading
{
    padding: 1rem 1rem 0.5rem 1rem;
    border-radius: .3rem;
    border: unset;
}

.modal-body > .body-success,
.modal-body > .body-error {
    padding: 1rem;
    border-radius: .3rem;
    border: unset;
}

#history_modal .modal-body {
    max-height: 30rem;
    overflow-y: auto;
}

table.dataTable.dtr-inline.collapsed>tbody>tr>td.dtr-control:before, table.dataTable.dtr-inline.collapsed>tbody>tr>th.dtr-control:before {
    background-color: #3c505f;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    border: none;
    font-size: 0.6em;
    padding: 0.2em 0.5em 0.2em 0.5em;
}

table.dataTable.dtr-inline.collapsed>tbody>tr.parent>td.dtr-control:before, table.dataTable.dtr-inline.collapsed>tbody>tr.parent>th.dtr-control:before {
    content: "\f106";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    border: none;
    font-size: 0.6em;
    padding: 0.2em 0.5em 0.2em 0.5em;
    background-color: lightgray;
}

.detail-link {
    font-size: 70%;
    position: relative;
    top: -0.5em;
    text-decoration: none !important;
    padding: 0 !important;
}

.detail-link:hover {
    text-decoration: none !important;
}

.select2-container--bootstrap .select2-results__option[aria-label="FAVORITOS"] .select2-results__option {
    color: #036503;
}

.select2-container--bootstrap .select2-results__option[aria-label="FAVORITOS"] .select2-results__group,
.select2-container--bootstrap .select2-results__option[aria-label="FAVORITOS"] .select2-results__option[role="group"] > .select2-results__group {
    color: #1a911a;
}

.select2-container--bootstrap .select2-container--bootstrap .select2-results__option[aria-label="FAVORITOS"] .select2-results__group {
    color: #1a911a;
}

.select2-results__option[role="group"] .select2-results__option[role="group"] > .select2-results__group {
    font-size: 0.9rem !important;
    opacity: 0.95;
}

.select2-container--bootstrap .select2-results__group {
    opacity: 0.75;
}

.select2-container--bootstrap .select2-results__option {
    color: #2a3746;
    opacity: 0.97;
    font-weight: 600;
}

.select2-container--bootstrap .select2-results__option--highlighted[aria-selected],
.select2-container--bootstrap .select2-results__option[aria-selected=true] {
    border-radius: 4px;
    margin: 0 2px;
}

.select2-container--bootstrap .select2-results__option[aria-label="FAVORITOS"] .select2-results__option--highlighted[aria-selected] {
    background-color: #81b77b;
    color: #fff !important;
}

form #submit .btn {
    min-width: 12em;
}

.menu-logo {
    margin-bottom: 2rem;
    text-align: center;
    width: 100%;
}

.footer,
.footer strong,
.footer a {
    color: #c5cacd;
}

.footer {
    min-height: 10em;
    text-align: left;
}

.footer .col-md-4:first-child h5 {
    font-weight: bold;
}

.footer .col-md-4:not(:last-child) {
    border-right: 1px solid #c5cacd;
}

.footer p {
    margin-bottom: 0;
}

.footer-version {
    position: relative;
    bottom: 1em;
}

.profile-elements {
    position: absolute;
    display: none;
    border-top: 1px solid #c3c8cc;
    border-radius: 4px;
    border-top-right-radius: 0 !important;
    border-top-left-radius: 0 !important;
    background: #e9ecef;
    font-size: 1em;
    width: 20em;
    -webkit-box-shadow: 5px 5px 15px -3px rgba(0,0,0,0.79);
    box-shadow: 2px 2px 5px -3px rgba(0,0,0,0.79);
    z-index: 10000;
}

.profile-elements .list-group-item {
    color: #4e6570;
}

.profile-elements li {
    background: transparent;
    padding: 0.5em;
    text-align: center;
    line-height: 1em;
    white-space: normal !important;
}

/* Change the background and borders of the popup */
.my-swal-popup {
    background-color: white; /* Background colour */
    border: 4px solid var(--seablue-corporate-blue); /* Border-color */
    border-radius: 10px; /* Rounded borders */
}

/* Stylize title */
.my-swal-title {
    color: var(--seablue-corporate-blue); /* Text colour */
    font-size: 1.5rem; /* Text size */
    font-weight: bold;
}

/* Button style */
button.swal2-cancel {
    background-color: #e2e6ea; /* Green */
    color: #212529;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 20px;
    border: none;
}

button.swal2-deny {
    background-color: #993d3b; /* Red */
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    border: none;
}

button.swal2-confirm {
    background-color: var(--seablue-corporate-blue); /* Blue */
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    border: none;
}

/* Adjust the text of the content */
.my-swal-html {
    color: #374151; /* Dark grey */
    font-size: 1rem;
}

/* Main background container (overlay) */
.my-swal-container {
    background-color: rgba(0, 0, 0, 0.8); /* Darker background */
    animation: fadeIn 0.5s; /* Input animation */
}

/* Adds an animation when the container appears */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.info-label {
    border-bottom-right-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

.info-data {
    display: inline-block;
    width: fit-content;
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    border-bottom-left-radius: 0 !important;
    border-top-left-radius: 0 !important;
    border-left: 0;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.info-data-danger {
    color: #721c24;
}

.row-data {
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 0 !important;
    margin-bottom: 0.5rem;
    color: var(--seablue-corporate-intense-blue);
}

.col-data {
    display: inline-block;
    padding: 0.36rem 0.5rem;
    border-right: 1px solid #ced4da;
}

.col-data:last-child {
    border-right: 0;
}