/* -------------------------------------------- */
/* ############### 4.12 Parsley ############### */
/* -------------------------------------------- */

@import "google-fonts.css";

.has-error .form-error {
    background-color: #DC3545;
    color: #fff;
    padding: 7px 10px;
    border-bottom-right-radius: 2px;
    border-bottom-left-radius: 2px;
    display: block;
    width: 100%;
    list-style: none;
    font-size: 12px;
    margin-bottom: 0;
}

dl dt {
    display: inline-block;
    width: 20px;
    height: 20px;
    vertical-align: middle;
}

dl dd {
    display: inline-block;
    margin: 0px 10px;
    padding-bottom: 0;
    vertical-align: middle;
}

dl.price-legend {
    font-size: 18px;
}

.bg-light-darker {
    background-color: #dedede;
}

.was-validated .form-control:valid, .was-validated .dataTables_filter input:valid, .dataTables_filter .was-validated input:valid, .form-control.is-valid, .dataTables_filter input.is-valid, .dataTables_filter input.parsley-success, input.form-control.parsley-success,
textarea.form-control.parsley-success,
.was-validated .custom-select:valid,
.custom-select.is-valid,
input.custom-select.parsley-success,
textarea.custom-select.parsley-success {
    border-color: #23BF08;
}

.was-validated .form-control:valid:focus, .was-validated .dataTables_filter input:valid:focus, .dataTables_filter .was-validated input:valid:focus, .form-control.is-valid:focus, .dataTables_filter input.is-valid:focus, .dataTables_filter input.parsley-success:focus, input.form-control.parsley-success:focus,
textarea.form-control.parsley-success:focus,
.was-validated .custom-select:valid:focus,
.custom-select.is-valid:focus,
input.custom-select.parsley-success:focus,
textarea.custom-select.parsley-success:focus {
    box-shadow: 0 0 0 0.2rem rgba(35, 191, 8, 0.25);
}

.was-validated .form-control:valid ~ .invalid-feedback, .was-validated .dataTables_filter input:valid ~ .invalid-feedback, .dataTables_filter .was-validated input:valid ~ .invalid-feedback,
.was-validated .form-control:valid ~ .invalid-tooltip,
.was-validated .dataTables_filter input:valid ~ .invalid-tooltip,
.dataTables_filter .was-validated input:valid ~ .invalid-tooltip, .form-control.is-valid ~ .invalid-feedback, .dataTables_filter input.is-valid ~ .invalid-feedback, .dataTables_filter input.parsley-success ~ .invalid-feedback, input.form-control.parsley-success ~ .invalid-feedback,
textarea.form-control.parsley-success ~ .invalid-feedback,
.form-control.is-valid ~ .invalid-tooltip,
.dataTables_filter input.is-valid ~ .invalid-tooltip,
.dataTables_filter input.parsley-success ~ .invalid-tooltip,
input.form-control.parsley-success ~ .invalid-tooltip,
textarea.form-control.parsley-success ~ .invalid-tooltip,
.was-validated .custom-select:valid ~ .invalid-feedback,
.was-validated .custom-select:valid ~ .invalid-tooltip,
.custom-select.is-valid ~ .invalid-feedback,
input.custom-select.parsley-success ~ .invalid-feedback,
textarea.custom-select.parsley-success ~ .invalid-feedback,
.custom-select.is-valid ~ .invalid-tooltip,
input.custom-select.parsley-success ~ .invalid-tooltip,
textarea.custom-select.parsley-success ~ .invalid-tooltip {
    /*display: block;*/
}

.was-validated .form-check-input:valid + .form-check-label, .form-check-input.is-valid + .form-check-label, input.form-check-input.parsley-success + .form-check-label,
textarea.form-check-input.parsley-success + .form-check-label {
    color: #23BF08;
}

.was-validated .custom-control-input:valid ~ .custom-control-indicator, .custom-control-input.is-valid ~ .custom-control-indicator, input.custom-control-input.parsley-success ~ .custom-control-indicator,
textarea.custom-control-input.parsley-success ~ .custom-control-indicator {
    background-color: rgba(35, 191, 8, 0.25);
}

.was-validated .custom-control-input:valid ~ .custom-control-description, .custom-control-input.is-valid ~ .custom-control-description, input.custom-control-input.parsley-success ~ .custom-control-description,
textarea.custom-control-input.parsley-success ~ .custom-control-description {
    color: #23BF08;
}

.was-validated .custom-file-input:valid ~ .custom-file-control, .custom-file-input.is-valid ~ .custom-file-control, input.custom-file-input.parsley-success ~ .custom-file-control,
textarea.custom-file-input.parsley-success ~ .custom-file-control {
    border-color: #23BF08;
}

.was-validated .custom-file-input:valid ~ .custom-file-control::before, .custom-file-input.is-valid ~ .custom-file-control::before, input.custom-file-input.parsley-success ~ .custom-file-control::before,
textarea.custom-file-input.parsley-success ~ .custom-file-control::before {
    border-color: inherit;
}

.was-validated .custom-file-input:valid:focus, .custom-file-input.is-valid:focus, input.custom-file-input.parsley-success:focus,
textarea.custom-file-input.parsley-success:focus {
    box-shadow: 0 0 0 0.2rem rgba(35, 191, 8, 0.25);
}

.was-validated .form-control:invalid, .was-validated .dataTables_filter input:invalid, .dataTables_filter .was-validated input:invalid, .form-control.is-invalid, .dataTables_filter input.is-invalid, .dataTables_filter input.parsley-error, input.form-control.parsley-error,
textarea.form-control.parsley-error,
.was-validated .custom-select:invalid,
.custom-select.is-invalid,
input.custom-select.parsley-error,
textarea.custom-select.parsley-error,
.form-group.has-error input,
.form-group.has-error textarea,
.form-group.has-error select,
.form-group.has-error .custom-select {
    border-color: #dc3545;
}

.was-validated .form-control:invalid:focus, .was-validated .dataTables_filter input:invalid:focus, .dataTables_filter .was-validated input:invalid:focus, .form-control.is-invalid:focus, .dataTables_filter input.is-invalid:focus, .dataTables_filter input.parsley-error:focus, input.form-control.parsley-error:focus,
textarea.form-control.parsley-error:focus,
.was-validated .custom-select:invalid:focus,
.custom-select.is-invalid:focus,
input.custom-select.parsley-error:focus,
textarea.custom-select.parsley-error:focus,
.form-group.has-error input:focus,
.form-group.has-error textarea:focus,
.form-group.has-error select:focus,
.form-group.has-error .custom-select:focus {
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.was-validated .form-control:invalid ~ .invalid-feedback, .was-validated .dataTables_filter input:invalid ~ .invalid-feedback, .dataTables_filter .was-validated input:invalid ~ .invalid-feedback,
.was-validated .form-control:invalid ~ .invalid-tooltip,
.was-validated .dataTables_filter input:invalid ~ .invalid-tooltip,
.dataTables_filter .was-validated input:invalid ~ .invalid-tooltip, .form-control.is-invalid ~ .invalid-feedback, .dataTables_filter input.is-invalid ~ .invalid-feedback, .dataTables_filter input.parsley-error ~ .invalid-feedback, input.form-control.parsley-error ~ .invalid-feedback,
textarea.form-control.parsley-error ~ .invalid-feedback,
.form-control.is-invalid ~ .invalid-tooltip,
.dataTables_filter input.is-invalid ~ .invalid-tooltip,
.dataTables_filter input.parsley-error ~ .invalid-tooltip,
input.form-control.parsley-error ~ .invalid-tooltip,
textarea.form-control.parsley-error ~ .invalid-tooltip,
.was-validated .custom-select:invalid ~ .invalid-feedback,
.was-validated .custom-select:invalid ~ .invalid-tooltip,
.custom-select.is-invalid ~ .invalid-feedback,
input.custom-select.parsley-error ~ .invalid-feedback,
textarea.custom-select.parsley-error ~ .invalid-feedback,
.custom-select.is-invalid ~ .invalid-tooltip,
input.custom-select.parsley-error ~ .invalid-tooltip,
textarea.custom-select.parsley-error ~ .invalid-tooltip {
    display: block;
}

.was-validated .form-check-input:invalid + .form-check-label, .form-check-input.is-invalid + .form-check-label, input.form-check-input.parsley-error + .form-check-label,
textarea.form-check-input.parsley-error + .form-check-label {
    color: #dc3545;
}

.was-validated .custom-control-input:invalid ~ .custom-control-indicator, .custom-control-input.is-invalid ~ .custom-control-indicator, input.custom-control-input.parsley-error ~ .custom-control-indicator,
textarea.custom-control-input.parsley-error ~ .custom-control-indicator {
    background-color: rgba(220, 53, 69, 0.25);
}

.was-validated .custom-control-input:invalid ~ .custom-control-description, .custom-control-input.is-invalid ~ .custom-control-description, input.custom-control-input.parsley-error ~ .custom-control-description,
textarea.custom-control-input.parsley-error ~ .custom-control-description {
    color: #dc3545;
}

.was-validated .custom-file-input:invalid ~ .custom-file-control, .custom-file-input.is-invalid ~ .custom-file-control, input.custom-file-input.parsley-error ~ .custom-file-control,
textarea.custom-file-input.parsley-error ~ .custom-file-control {
    border-color: #dc3545;
}

.was-validated .custom-file-input:invalid ~ .custom-file-control::before, .custom-file-input.is-invalid ~ .custom-file-control::before, input.custom-file-input.parsley-error ~ .custom-file-control::before,
textarea.custom-file-input.parsley-error ~ .custom-file-control::before {
    border-color: inherit;
}

.was-validated .custom-file-input:invalid:focus, .custom-file-input.is-invalid:focus, input.custom-file-input.parsley-error:focus,
textarea.custom-file-input.parsley-error:focus {
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

input.parsley-error:focus,
textarea.parsley-error:focus {
    box-shadow: none !important;
}

input.parsley-success:focus,
textarea.parsley-success:focus {
    box-shadow: none !important;
}

.parsley-checkbox.parsley-error {
    display: inline-block;
    padding: 10px;
    border: 1px solid #DC3545;
}

.parsley-checkbox.parsley-success {
    display: inline-block;
    padding: 10px;
    border: 1px solid #23bf08;
}

.parsley-errors-list,
.form-group.has-error .help-block {
    color: #DC3545;
    list-style: none;
    font-size: 12px;
    padding: 0;
    margin-bottom: 0;
}

.parsley-errors-list li {
    margin: 5px 0 0;
}

.has-success .select2-container--default .select2-selection--single, .parsley-select.parsley-success .select2-container--default .select2-selection--single {
    border-color: #23bf08;
}

.has-warning .select2-container--default .select2-selection--single {
    border-color: #f49917;
}

.has-danger .select2-container--default .select2-selection--single, .parsley-select.parsley-error .select2-container--default .select2-selection--single {
    border-color: #DC3545;
}

.is-valid:focus, input.parsley-success:focus,
textarea.parsley-success:focus, .is-valid:active, input.parsley-success:active,
textarea.parsley-success:active,
.is-invalid:focus,
input.parsley-error:focus,
textarea.parsley-error:focus,
.is-invalid:active,
input.parsley-error:active,
textarea.parsley-error:active {
    box-shadow: none !important;
}

/***** CUSTOM STYLED ERROR MESSAGE *****/
.parsley-input.parsley-error .form-control, .parsley-style-1 .parsley-input.parsley-error .dataTables_filter input, .dataTables_filter .parsley-style-1 .parsley-input.parsley-error input {
    background-color: #fef9f9;
    border-color: #DC3545;
    border-bottom-width: 0;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.parsley-input.parsley-success .form-control, .parsley-style-1 .parsley-input.parsley-success .dataTables_filter input, .dataTables_filter .parsley-style-1 .parsley-input.parsley-success input {
    border-color: #23bf08;
}

.parsley-checkbox.parsley-error {
    border: 1px solid #DC3545;
    background-color: #fef9f9;
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
}

.parsley-select.parsley-error .select2-container--default .select2-selection--single {
    background-color: #fef9f9;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.parsley-errors-list.filled,
.form-group.has-error .help-block {
    background-color: #DC3545;
    color: #fff;
    padding: 7px 10px;
    border-bottom-right-radius: 2px;
    border-bottom-left-radius: 2px;
    display: block;
    width: 100%;
}

.parsley-errors-list.filled li:first-child {
    margin-top: 0;
}

.border-top-bold {
    border-top: 2px #ccc dashed;
}

.m-scene .scene-main {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-transition-timing-function: ease-in;
    transition-timing-function: ease-in;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

.m-scene .scene-main--fadein {
    -webkit-animation-name: fadeIn;
    animation-name: fadeIn;
}

.m-scene.is-exiting .scene-main {
    -webkit-animation-direction: alternate-reverse;
    animation-direction: alternate-reverse;
}

.m-scene .scene-nav {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-transition-timing-function: ease-in;
    transition-timing-function: ease-in;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-name: width;
    animation-name: width;
}

.m-scene.is-exiting .scene-nav {
    -webkit-animation-direction: alternate-reverse;
    animation-direction: alternate-reverse;
}

@-webkit-keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@-webkit-keyframes width {
    0% {
        width: 300px;
    }
    100% {
        width: 50vw;
    }
}

@keyframes width {
    0% {
        width: 300px;
    }
    100% {
        width: 50vw;
    }
}

/* Loader*/

#loader {
    background: rgba(255, 255, 255, 0.7);
    left: 0;
    position: fixed;
    width: 100%;
    height: 100vh;
    text-align: center;
    top: 0;
    z-index: 100000;
    display: none;
}

#loader_spinner {
    margin-top: 25%;
}

#loader .spinner-border {
    width: 5rem;
    height: 5rem;
}

/* Tabela */

.table thead th.sortable {
    position: relative;
}

.table thead th.sortable:after {
    position: absolute;
    bottom: 15px;
    right: 8px;
    display: block;
    font-family: 'Font Awesome 5 Free';
    opacity: 0.5;
}

.table thead th.sortable.asc:after {
    content: "\f885";
}

.table thead th.sortable.desc:after {
    content: "\f884";
}

.table thead th.sortable a {
    color: rgb(116, 122, 128);
    display: block;
}

.table thead th.iteration {
    width: 10%;
}

.table thead th.options {
    width: 15%;
}

.clickable-row {
    cursor: pointer;
}

.sum_report_class {
    background-color: lightgreen;
    color: #000;
    font-weight: bold;
}

[type="radio"]:not(:checked), [type="radio"]:checked {
    position: absolute;
    pointer-events: none;
    opacity: 0;
}

.btn-increment,
.btn-decrement {
    background-color: #3281f2;
    border-color: #3281f2;
    color: #fff;
}

.inputSpinner {
    font-size: 1.4em !important;
}

.table-unnumbered-seats .form-group label {
    display: none;
}

.calculator .form-group {
    margin-bottom: 0;
}

.table-seat-history {
    font-size: 11.7px;
    min-width: 370px;
}

.list-group-events {
    height: 250px;
    overflow-y: scroll; /* Add vertical scrollbar */
}

#page-topbar {
    background-color: #000 !important;
}

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

.navbar-light .navbar-nav .nav-link:hover, .navbar-light .navbar-nav .nav-link:focus {
    color: #747a80 !important;
}

.mt-6 {
    margin-top: 4rem !important;
}

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

.legend_styling {
    border: 1px #ccc solid;
    padding: 10px 20px;
}

.font-size-15 {
    font-size: 15px;
}

@media (max-width: 1455px) {
    .container-fluid,
    .navbar-header {
        max-width: 100%;
    }
}

@media (min-width: 1460px) {
    .container-fluid,
    .navbar-header {
        max-width: 88%;
    }
}

.filter_event .select2-selection__rendered {
    line-height: 31px !important;
    border-color: #ced4da !important;
}

.filter_event .select2-container .select2-selection--single {
    height: 35px !important;
    border-color: #ced4da !important;
}

.filter_event .select2-selection__arrow {
    height: 34px !important;
    border-color: #ced4da !important;
}

.opacity-0 {
    opacity: 0 !important;
}

.opacity-1 {
    opacity: 0.2 !important;
}

.opacity-2 {
    opacity: 0.4 !important;
}

.opacity-3 {
    opacity: 0.6 !important;
}

.opacity-4 {
    opacity: .8 !important;
}

.opacity-5 {
    opacity: 1 !important;
}

a[disabled="disabled"] {
    pointer-events: none;
    cursor: default;
    opacity: 0.3;
}

#reservationsTable > thead > tr > th {
    cursor: pointer;
}
