﻿a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

.modal-body {
    max-height: 75vh;
    overflow-y: auto;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
    /*background-color: #E4E5E6;*/
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

.w-90 {
    width: 90% !important;
}

.w-10 {
    width: 10% !important;
}

/* Sticky footer styles */
/*-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.footer {
    /* Set the fixed height of the footer here */
    background-color: var(--color-grey-5);
    border: 1px solid var(--color-grey-2);
}

    .footer a {
        font-weight: 700;
        color: var(--color-brand-light);
    }

    .footer span {
        font-family: 'Raleway', sans-serif;
    }
/*-------------------------------------------------- */

/* Styles for carousel*/
/*-------------------------------------------------- */
.banner-group .carousel-indicators {
    bottom: -2.5rem;
    opacity: 0;
    transition: opacity .3s;
}

.banner-group:hover .carousel-indicators {
    opacity: 1;
}

.banner-group .carousel-indicators [data-bs-target] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: var(--color-brand-grey);
}
/*-------------------------------------------------- */

/* File inputs */
input[type='file'].form-control {
    cursor: pointer;
}

    input[type='file'].form-control::file-selector-button {
        padding: 0.375rem 0.75rem;
        margin: -0.375rem -0.75rem;
        -webkit-margin-end: 0.75rem;
        margin-inline-end: 0.75rem;
        color: var(--bs-body-color);
        background-color: var(--light);
        pointer-events: none;
        border-color: inherit;
        border-style: solid;
        border-width: 0;
        border-inline-end-width: 1px;
        border-radius: 0;
        transition: color 0.15s ease-in-out,
                    background-color 0.15s ease-in-out,
                    border-color 0.15s ease-in-out,
                    box-shadow 0.15s ease-in-out;
    }

    input[type='file'].form-control:hover::file-selector-button {
        background-color: #ececec;
    }

/* Toggle checkboxs */
.toggle {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

    .toggle.toggle-sm {
        width: 51px;
        height: 26px;
    }

    .toggle input {
        opacity: 0;
        width: 0;
        height: 0;
    }

    .toggle > div {
        position: absolute;
        cursor: pointer;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #ccc;
        border-radius: 34px;
        transition: 0.2s;
    }

        .toggle > div::before {
            position: absolute;
            content: '';
            height: 26px;
            width: 26px;
            left: 4px;
            bottom: 4px;
            background-color: white;
            border-radius: 50%;
            transition: 0.2s;
        }

    .toggle.toggle-sm > div::before {
        width: 18px;
        height: 18px;
    }

    .toggle input:checked + div {
        background-color: var(--color-brand-secondary);
    }

    .toggle input:focus + div {
        box-shadow: 0 0 0 0.25rem var(--color-brand-primary-o25);
    }

    .toggle input:checked + div:before {
        -webkit-transform: translateX(25px);
        -ms-transform: translateX(25px);
        transform: translateX(25px);
    }

/* Boton custom del inicio */
.btn.btn-custom-red {
    background-color: #fe0000;
    box-shadow: inset 0 -2px 0 2px #9b0000;
    font-family: 'Montserrat', sans-serif;
    height: 61px;
    font-size: 13px;
    color: white;
    border-width: 0;
    border-radius: 5px !important;
}

.select2 .select2-selection {
    border: 1px solid #dee2e6 !important;
}

#small-banner h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 26px;
}

@media (max-width: 1199.98px) {
    #small-banner h4 {
        font-size: 19px;
    }
}

@media (max-width: 991.98px) {
    #small-banner h4 {
        font-size: 18px;
    }
}

@media (max-width: 767.98px) {
    #small-banner {
        display: none !important;
    }
}

.list-group-item.active {
    background-color: var(--color-brand-secondary);
    border-color: var(--color-brand-secondary);
}

/* Override de estilos select2 */
.select2 .select2-selection {
    border: 1px solid #dee2e6 !important;
    height: 38px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 38px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 38px;
}

.main-table {
    box-shadow: 3px 3px 3px #00000029;
    border: 1px solid var(--color-grey-3);
    border-radius: 14px 14px 0 0;
    margin-bottom: 1rem;
}