html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

h1,
h2,
h3,
h4 {
    font-weight: 900;
}

h5,
h6 {
    font-weight: 700;
}

.clear {
    clear: both;
}

a, a:hover, a:active {
    text-decoration: none !important;
}

/* Font Size */
.text-0 {
    font-size: .7em !important;
}

.text-1 {
    font-size: .8em !important;
}

.text-2 {
    font-size: .9em !important;
}

.text-2-3,
.text-2-5 {
    font-size: .95em !important;
}

.text-3 {
    font-size: 1em !important;
}

.text-3-4,
.text-3-5 {
    font-size: 1.1em !important;
}

.text-4 {
    font-size: 1.2em !important;
}

.text-4-5 {
    font-size: 1.35em !important;
}

.text-5 {
    font-size: 1.50em !important;
}

.text-5-6,
.text-5-5 {
    font-size: 1.65em !important;
}

.text-6 {
    font-size: 1.80em !important;
}

.text-6-7,
.text-6-5 {
    font-size: 1.9em !important;
}

.text-7 {
    font-size: 2em !important;
}

.text-8 {
    font-size: 2.30em !important;
}

.text-9 {
    font-size: 2.50em !important;
}

.text-10 {
    font-size: 2.75em !important;
}

.text-11 {
    font-size: 3em !important;
}

.text-12 {
    font-size: 3.5em !important;
}

.text-12-13,
.text-12-5 {
    font-size: 3.75em !important;
}

.text-13 {
    font-size: 4em !important;
}

.text-14 {
    font-size: 4.5em !important;
}

.text-15 {
    font-size: 5em !important;
}

.text-16 {
    font-size: 5.33em !important;
}

.text-17 {
    font-size: 5.66em !important;
}

.text-18 {
    font-size: 6em !important;
}

.text-19 {
    font-size: 6.33em !important;
}

.text-20 {
    font-size: 6.66em !important;
}

@media (min-width: 576px) {
    .text-sm-0 {
        font-size: .7em !important;
    }

    .text-sm-1 {
        font-size: .8em !important;
    }

    .text-sm-2 {
        font-size: .9em !important;
    }

    .text-sm-2-3,
    .text-sm-2-5 {
        font-size: .95em !important;
    }

    .text-sm-3 {
        font-size: 1em !important;
    }

    .text-sm-3-4,
    .text-sm-3-5 {
        font-size: 1.1em !important;
    }

    .text-sm-4 {
        font-size: 1.2em !important;
    }

    .text-sm-4-5 {
        font-size: 1.35em !important;
    }

    .text-sm-5 {
        font-size: 1.50em !important;
    }

    .text-sm-5-6,
    .text-sm-5-5 {
        font-size: 1.65em !important;
    }

    .text-sm-6 {
        font-size: 1.80em !important;
    }

    .text-sm-6-7,
    .text-sm-6-5 {
        font-size: 1.9em !important;
    }

    .text-sm-7 {
        font-size: 2em !important;
    }

    .text-sm-8 {
        font-size: 2.30em !important;
    }

    .text-sm-9 {
        font-size: 2.50em !important;
    }

    .text-sm-10 {
        font-size: 2.75em !important;
    }

    .text-sm-11 {
        font-size: 3em !important;
    }

    .text-sm-12 {
        font-size: 3.5em !important;
    }

    .text-sm-12-13,
    .text-sm-12-5 {
        font-size: 3.75em !important;
    }

    .text-sm-13 {
        font-size: 4em !important;
    }

    .text-sm-14 {
        font-size: 4.5em !important;
    }

    .text-sm-15 {
        font-size: 5em !important;
    }

    .text-sm-16 {
        font-size: 5.33em !important;
    }

    .text-sm-17 {
        font-size: 5.66em !important;
    }

    .text-sm-18 {
        font-size: 6em !important;
    }

    .text-sm-19 {
        font-size: 6.33em !important;
    }

    .text-sm-20 {
        font-size: 6.66em !important;
    }
}

@media (min-width: 768px) {
    .text-md-0 {
        font-size: .7em !important;
    }

    .text-md-1 {
        font-size: .8em !important;
    }

    .text-md-2 {
        font-size: .9em !important;
    }

    .text-md-2-3,
    .text-md-2-5 {
        font-size: .95em !important;
    }

    .text-md-3 {
        font-size: 1em !important;
    }

    .text-md-3-4,
    .text-md-3-5 {
        font-size: 1.1em !important;
    }

    .text-md-4 {
        font-size: 1.2em !important;
    }

    .text-md-4-5 {
        font-size: 1.35em !important;
    }

    .text-md-5 {
        font-size: 1.50em !important;
    }

    .text-md-5-6,
    .text-md-5-5 {
        font-size: 1.65em !important;
    }

    .text-md-6 {
        font-size: 1.80em !important;
    }

    .text-md-6-7,
    .text-md-6-5 {
        font-size: 1.9em !important;
    }

    .text-md-7 {
        font-size: 2em !important;
    }

    .text-md-8 {
        font-size: 2.30em !important;
    }

    .text-md-9 {
        font-size: 2.50em !important;
    }

    .text-md-10 {
        font-size: 2.75em !important;
    }

    .text-md-11 {
        font-size: 3em !important;
    }

    .text-md-12 {
        font-size: 3.5em !important;
    }

    .text-md-12-13,
    .text-md-12-5 {
        font-size: 3.75em !important;
    }

    .text-md-13 {
        font-size: 4em !important;
    }

    .text-md-14 {
        font-size: 4.5em !important;
    }

    .text-md-15 {
        font-size: 5em !important;
    }

    .text-md-16 {
        font-size: 5.33em !important;
    }

    .text-md-17 {
        font-size: 5.66em !important;
    }

    .text-md-18 {
        font-size: 6em !important;
    }

    .text-md-19 {
        font-size: 6.33em !important;
    }

    .text-md-20 {
        font-size: 6.66em !important;
    }
}

@media (min-width: 992px) {
    .text-lg-0 {
        font-size: .7em !important;
    }

    .text-lg-1 {
        font-size: .8em !important;
    }

    .text-lg-2 {
        font-size: .9em !important;
    }

    .text-lg-2-3,
    .text-lg-2-5 {
        font-size: .95em !important;
    }

    .text-lg-3 {
        font-size: 1em !important;
    }

    .text-lg-3-4,
    .text-lg-3-5 {
        font-size: 1.1em !important;
    }

    .text-lg-4 {
        font-size: 1.2em !important;
    }

    .text-lg-4-5 {
        font-size: 1.35em !important;
    }

    .text-lg-5 {
        font-size: 1.50em !important;
    }

    .text-lg-5-6,
    .text-lg-5-5 {
        font-size: 1.65em !important;
    }

    .text-lg-6 {
        font-size: 1.80em !important;
    }

    .text-lg-6-7,
    .text-lg-6-5 {
        font-size: 1.9em !important;
    }

    .text-lg-7 {
        font-size: 2em !important;
    }

    .text-lg-8 {
        font-size: 2.30em !important;
    }

    .text-lg-9 {
        font-size: 2.50em !important;
    }

    .text-lg-10 {
        font-size: 2.75em !important;
    }

    .text-lg-11 {
        font-size: 3em !important;
    }

    .text-lg-12 {
        font-size: 3.5em !important;
    }

    .text-lg-12-13,
    .text-lg-12-5 {
        font-size: 3.75em !important;
    }

    .text-lg-13 {
        font-size: 4em !important;
    }

    .text-lg-14 {
        font-size: 4.5em !important;
    }

    .text-lg-15 {
        font-size: 5em !important;
    }

    .text-lg-16 {
        font-size: 5.33em !important;
    }

    .text-lg-17 {
        font-size: 5.66em !important;
    }

    .text-lg-18 {
        font-size: 6em !important;
    }

    .text-lg-19 {
        font-size: 6.33em !important;
    }

    .text-lg-20 {
        font-size: 6.66em !important;
    }
}

@media (min-width: 1200px) {
    .text-xl-0 {
        font-size: .7em !important;
    }

    .text-xl-1 {
        font-size: .8em !important;
    }

    .text-xl-2 {
        font-size: .9em !important;
    }

    .text-xl-2-3,
    .text-xl-2-5 {
        font-size: .95em !important;
    }

    .text-xl-3 {
        font-size: 1em !important;
    }

    .text-xl-3-4,
    .text-xl-3-5 {
        font-size: 1.1em !important;
    }

    .text-xl-4 {
        font-size: 1.2em !important;
    }

    .text-xl-4-5 {
        font-size: 1.35em !important;
    }

    .text-xl-5 {
        font-size: 1.50em !important;
    }

    .text-xl-5-6,
    .text-xl-5-5 {
        font-size: 1.65em !important;
    }

    .text-xl-6 {
        font-size: 1.80em !important;
    }

    .text-xl-6-7,
    .text-xl-6-5 {
        font-size: 1.9em !important;
    }

    .text-xl-7 {
        font-size: 2em !important;
    }

    .text-xl-8 {
        font-size: 2.30em !important;
    }

    .text-xl-9 {
        font-size: 2.50em !important;
    }

    .text-xl-10 {
        font-size: 2.75em !important;
    }

    .text-xl-11 {
        font-size: 3em !important;
    }

    .text-xl-12 {
        font-size: 3.5em !important;
    }

    .text-xl-12-13,
    .text-xl-12-5 {
        font-size: 3.75em !important;
    }

    .text-xl-13 {
        font-size: 4em !important;
    }

    .text-xl-14 {
        font-size: 4.5em !important;
    }

    .text-xl-15 {
        font-size: 5em !important;
    }

    .text-xl-16 {
        font-size: 5.33em !important;
    }

    .text-xl-17 {
        font-size: 5.66em !important;
    }

    .text-xl-18 {
        font-size: 6em !important;
    }

    .text-xl-19 {
        font-size: 6.33em !important;
    }

    .text-xl-20 {
        font-size: 6.66em !important;
    }
}

.text-1rem {
    font-size: 16px !important;
    font-size: 1rem !important;
}

.text-medium {
    font-size: 1.2em;
}

.text-big {
    font-size: 1.5em;
}

.text-dark-blue {
    color: #0f253c;
}

.text-garnet {
    color: #B34141 !important;
}

.text-orange {
    color: #ED9E2E !important;
}

label {
    font-weight: bold;
}

.fade {
    transition: none;
}

ul.list-li-mb li {
    margin-bottom: 1em;
}

ul.list-li-mb li:last-child {
    margin-bottom: 0;
}

@media (max-width: 575px) {
    .modal-body {
        max-height: calc(100vh - 245px) !important;
    }

    .processes-iframe-modal .modal-body {
        height: calc(100vh - 175px) !important;
        max-height: calc(100vh - 175px) !important;
    }

    .modal-header {
        padding: 0.5rem;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .modal-footer {
        padding: 0.5rem !important;
        padding-right: 0.75rem;
    }

    .registration-guide-video-button {
        width: 100%;
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    .modal-body {
        max-height: calc(100vh - 150px) !important;
    }

    .processes-iframe-modal .modal-body {
        height: calc(100vh - 100px) !important;
        max-height: calc(100vh - 100px) !important;
    }
}

@media (max-width: 991px) {
    .w-auto-mobile {
        width: auto !important;
    }

    .w-100-mobile {
        width: 100% !important;
    }
}

.modal-body {
    max-height: calc(100vh - 180px);
    overflow-y: auto;
}

.send-email-modal .modal-body {
    height: calc(100vh - 220px) !important;
    max-height: calc(100vh - 220px) !important;
}

.show-multiple-images-modal .modal-body {
    height: calc(100vh - 220px) !important;
    max-height: calc(100vh - 220px) !important;
}

.loading-modal .modal-dialog {
    display: table;
    position: relative;
    margin: 0 auto;
    top: calc(50% - 24px);
}

.loading-modal .modal-dialog .modal-content {
    background-color: transparent;
    border: none;
}

.errors-modal .multiple-errors {
    margin-bottom: 0 !important;
    padding-left: 1rem;
}

.is-invalid {
    border: 1px solid red;
}

.form-group-sm .select2-container--bootstrap .select2-selection--multiple .select2-selection__choice, .input-group-sm .select2-container--bootstrap .select2-selection--multiple .select2-selection__choice, .select2-container--bootstrap .select2-selection--multiple.input-sm .select2-selection__choice {
    font-size: 14px !important;
}

/**
 * Hack to avoid iOS zoom on input fields when focus
 */

@media (max-width: 991px) {
    .form-control-sm,
    .select2-container--bootstrap .select2-search--dropdown .select2-search__field,
    .form-group-sm .select2-container--bootstrap .select2-selection--multiple .select2-selection__choice,
    .input-group-sm .select2-container--bootstrap .select2-selection--multiple .select2-selection__choice,
    .select2-container--bootstrap .select2-selection--multiple.input-sm .select2-selection__choice,
    .select2-container--bootstrap .select2-selection--single, .select2-container--bootstrap .select2-selection--multiple {
        font-size: max(1rem, 16px) !important;
    }
}

/**
 * End hack
 */

.custom-control-inline {
    height: calc(1.5em + .5rem - 2px);
}

footer.footer {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.custom-file-input ~ .custom-file-label::after {
    content: "Buscar";
}

.form-optional-input {
    font-weight: normal;
}

.success-modal p {
    margin-bottom: 0 !important;
}

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

.cursor-pointer:not([disabled]) {
    cursor: pointer;
}

.ui-draggable-handle, .ui-sortable-handle {
    cursor: move;
}

.modal-xxl {
    max-width: 95%;
}

.modal-xxxl {
    max-width: 95%;
}

@media (max-width: 992px) {
    .modal-lg, .modal-xl {
        max-width: 95%;
    }
}

.alert-dark {
    background-color: #343a40 !important;
    color: white;
}

.bg-orange {
    background-color: #ED9E2E !important;
    color: white;
}

.bg-purple {
    background-color: #5B338E;
    color: white;
}

.bg-yellow {
    background-color: #FFBC24;
    color: white;
}

.bg-garnet {
    background-color: #B34141;
    color: white;
}

.bg-blue {
    background-color: #285E8D;
    color: white;
}

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

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

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

.bg-readonly {
    background-color: #e9ecef !important;
}

.bg-blue-light {
    background-color: #8fbfff;
}

.bg-gray {
    background-color: #f5f5f5;
}

.bg-lavender {
    background-color: #7c6c77;
}

.bg-grullo {
    background-color: #8d8d8d;
}

.bg-formal-blue {
    background-color: #545e75;
}

.bg-red-violet {
    background-color: #90323d;
}

.overflow-x-scroll {
    overflow-x: scroll;
}

.overflow-y-scroll {
    overflow-y: scroll;
}

.w-40 {
    width: 40%;
}

.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover {
    background: #69a73e !important;
    border-color: #466b2b !important;
}

/**
 * Summernote
 */

.note-editable {
    white-space: normal;
}

/**
 * Table header sticky
 */

.table-sticky thead th {
    position: sticky;
    z-index: 100;
}

.table-sticky tfoot th {
    position: sticky;
    bottom: 0;
}

/**
 * Form with steps
 */

.form-steps-index {
    padding-left: 0;
    margin-bottom: 30px;
    overflow: hidden;
    color: lightgrey
}

.form-steps-index .active {
    color: #000000
}

.form-steps-index li {
    list-style-type: none;
    width: 25%;
    float: left;
    position: relative
}

.form-steps-index {
    text-align: center;
}

.form-steps-index li:before {
    width: 50px;
    height: 50px;
    line-height: 45px;
    display: block;
    font-size: 18px;
    color: #ffffff;
    background: lightgray;
    border-radius: 50%;
    margin: 0 auto 10px auto;
    padding: 2px
}

.form-steps-index li:after {
    content: '';
    width: 100%;
    height: 2px;
    background: lightgray;
    position: absolute;
    left: 0;
    top: 25px;
    z-index: -1
}

.form-steps-index li.active:before,
.form-steps-index li.active:after {
    background: #6cbd45
}

/**
 * Select2
 */

.select2-container--bootstrap .select2-results__option--highlighted[aria-selected] {
    background-color: #7aaf34 !important;
}

.select2-container--bootstrap .select2-selection.is-invalid {
    border-color: #dc3545;
}

.select2-container--bootstrap .select2-selection.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, .25);
}

.select2-container--bootstrap .select2-selection--single, .select2-container--bootstrap .select2-selection--multiple {
    min-height: 31px !important;
}

@media (min-width: 991px) {
    .select2-container--bootstrap .select2-selection--single, .select2-container--bootstrap .select2-selection--multiple {
        font-size: 14px !important;
    }
}

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

.select2-container--bootstrap .select2-selection--multiple .select2-search--inline .select2-search__field {
    min-width: 10em !important;
}

.select2-container--bootstrap .select2-selection--multiple .select2-selection__choice {
    margin: 3px 0 0 3px !important;
}

.select2-dropdown {
    z-index: 9999999999 !important;
}

.rich-search-template-selection {
    max-width: 80%;
    overflow: hidden;
    margin-right: 10px;
}

/**
 * Select2 adapter for mobile devices
 */

body:not(.user-agent-ios).is-mobile .select2-results {
    height: 90% !important;
}

body:not(.user-agent-ios).is-mobile .select2-results__options {
    max-height: 100% !important;
    height: 100% !important;
    overflow-y: scroll !important;
}

body:not(.user-agent-ios).is-mobile .select2-dropdown--below.opened, body.is-mobile .select2-dropdown--above.opened {
    display: block !important;
    position: fixed !important;
    top: 0px !important;
    left: 0px !important;
    background: white !important;
    width: 250px !important;
    height: 100%;
    z-index: 3000 !important;
    border-top-right-radius: 3px !important;
    border-top-left-radius: 3px !important;
    border-top: 1px solid #8ec742 !important;
}

body:not(.user-agent-ios).is-mobile .select2-container--bootstrap.select2-container--open.select2-container--below .select2-selection {
    border-bottom-right-radius: 3px !important;
    border-bottom-left-radius: 3px !important;
    border-bottom-color: #8ec742 !important;
}

/**
 * End Select2 adapter for mobile devices
 */

.dropdown.ml-auto > .dropdown-menu {
    right: 0;
    left: auto !important;
    top: 2.6rem !important;
    transform: none !important;
}

/**
 * Cropper
 */

.crop-image-modal-right .input-group > .input-group-prepend {
    flex: 0 0 30%;
}

.crop-image-modal-right .input-group .input-group-text {
    width: 100%;
}

@media (min-width: 992px) {
    .border-lg-none {
        border: 0 !important;
    }
}