html {
    height: 100%;
    background-color: transparent;
    background-attachment: initial;
}

body {
    height: 100%;
    margin: 0;
    font-family: "Inter", sans-serif;
    background: url(../images/propuesta/bg.jpg) repeat;
    background-color: transparent;
    max-height: none;
    border-bottom-right-radius: 0;
    border-bottom-color: transparent;
}

header {
    width: 100%;
    color: #164194;
    padding: 25px 0;
}

.page-wrapper {
    min-height: 100%;
}

.page-content {
    min-width: 0;
}

h1 {
    font-size: 30px;
    font-weight: 500;
}

.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2822, 65, 148, 0.95%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-light .navbar-toggler {
    border-color: rgba(22, 65, 148, .5);
}

.navbar-light .navbar-nav .nav-link {
    color: rgba(0, 0, 0, .78);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    position: relative;
    padding: 10px 14px;
    border-radius: 8px;
    transition: background-color .25s ease, color .25s ease, transform .2s ease, box-shadow .25s ease;
}

.navbar-light .navbar-nav .nav-link::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    border-radius: 3px;
    background-color: #164194;
    transition: height .25s ease;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus {
    background-color: rgba(22, 65, 148, .08);
    color: #164194;
    transform: translateX(3px);
    box-shadow: 0 2px 10px rgba(22, 65, 148, .12);
}

.navbar-light .navbar-nav .nav-link:hover::before,
.navbar-light .navbar-nav .nav-link:focus::before {
    height: 60%;
}

.navbar-light .navbar-nav .nav-link img {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    flex-shrink: 0;
    object-fit: contain;
    filter: brightness(0) opacity(.8);
    transition: transform .25s ease;
}

.navbar-light .navbar-nav .nav-link i {
    width: 18px;
    margin-right: 10px;
    flex-shrink: 0;
    text-align: center;
    font-size: 15px;
    color: #333333;
    transition: transform .25s ease, color .25s ease;
}

.navbar-light .navbar-nav .nav-link:hover img,
.navbar-light .navbar-nav .nav-link:focus img,
.navbar-light .navbar-nav .nav-link:hover i,
.navbar-light .navbar-nav .nav-link:focus i {
    transform: scale(1.15);
}

.navbar-light .navbar-nav .nav-link:hover i,
.navbar-light .navbar-nav .nav-link:focus i {
    color: #164194;
}

.dr-simi {
    width: 100%;
    max-width: 260px;
}

h2 {
    color: #164194;
    font-weight: 700;
    font-size: 40px;
    margin-top: 100px;
    margin-bottom: 0;
}

.btn-enviar {
    border: 6px solid #164194;
    background-color: #164194;
    color: #fff;
    font-size: 13px;
    width: 160px;
    padding: 0px 0;
    border-radius: 30px;
}

p small {
    color: #5A5A5A;
    font-size: 12px;
    line-height: 1;
}

.smalltext {
    font-size: 10px;
    color: #5A5A5A;
    line-height: 1.2;
    margin-top: 20px;
}

.logos {
    padding: 60px 0;
}

.logos img {
    margin-right: 2%;
}

.logos img:nth-child(1) {
    width: 22%;
}

.logos img:nth-child(2) {
    width: 20%;
}

.logos img:nth-child(3) {
    width: 34%;
}

.logos img:nth-child(4) {
    width: 15%;
    margin: 0;
}

.container {
    max-width: 930px;
}

.form-container {
    background: #fff;
    border: solid 6px #164194;
    border-radius: 10px;
    padding: 20px;
}

.modal-content {
    border-radius: 20px;
}

.modal-body {
    text-align: center;
}

.modal-question {
    color: #164194;
    font-weight: 700;
}

.link-simi {
    color: #164194;
    font-weight: 600;
}

.md-generar-header {
    background-color: #1CA3E0;
    position: relative;
    justify-content: center;
}

.md-generar-header .modal-title {
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
}

.md-generar-header .btn-close {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

.md-generar-subtitle {
    text-transform: uppercase;
}

.md-generar-box {
    border: 1px solid #dcdcdc;
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 10px;
}

.md-generar-btn {
    background-color: #1CA3E0;
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 10px 30px;
    font-weight: 600;
}

.md-generar-btn:hover,
.md-generar-btn:focus {
    background-color: #178cc4;
    color: #fff;
}

@media (max-width: 575.98px) {
    .md-generar-box {
        padding: 12px 14px;
    }
}

.modal-header {
    padding: .5rem 1rem;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    background: #272727;
    color: #fff;
}

.btn-close {
    color: #fff;
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
}

.modal-footer {
    padding: .2rem 1rem;
}

.modal-footer .btn {
    border-radius: 30px;
}

.inputGroup {
    background-color: #fff;
    display: block;
    margin: 10px 2px;
    position: relative;
}

.inputGroup label {
    padding: 5px 18px;
    width: 100%;
    display: block;
    text-align: left;
    color: #164194;
    cursor: pointer;
    position: relative;
    z-index: 2;
    transition: color 200ms ease-in;
    overflow: hidden;
    font-size: 12px;
    border-radius: 30px;
    border: solid 1px #164194;
}

.inputGroup label:before {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    content: "";
    background-color: #164194;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale3d(1, 1, 1);
    transition: all 600ms cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    z-index: -1;
}

.inputGroup label:after {
    width: 32px;
    height: 32px;
    content: "";
    border: none;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: 2px 3px;
    border-radius: 50%;
    z-index: 2;
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    transition: all 200ms ease-in;
}

.inputGroup input:checked ~ label {
    color: #fff;
}

.inputGroup input:checked ~ label:before {
    transform: translate(-50%, -50%) scale3d(56, 56, 1);
    opacity: 1;
}

.inputGroup input {
    width: 32px;
    height: 32px;
    order: 1;
    z-index: 2;
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    visibility: hidden;
}

.form {
    display: flex;
    flex-wrap: wrap;
}

.form-control {
    border-radius: 11px !important;
    margin-right: 6px;
    border: 1px solid #AFAFAF;
}

.input-group-text {
    color: #ffffff;
    background-color: #164194;
    border: 1px solid #164194;
    border-radius: 50% !important;
    height: 38px;
    width: 38px;
    text-decoration: none;
}

@media (max-width: 1199.98px) {
    .navbar-light .navbar-nav .nav-link {
        padding: 12px 0;
    }
}

@media (min-width: 1200px) {
    html, body {
        overflow: hidden;
    }

    .page-wrapper {
        min-height: 100vh;
    }

    .sidebar-header {
        position: fixed;
        left: 0;
        top: 0;
        width: 260px;
        height: 100vh;
        padding: 0;
        background: transparent;
    }

    .sidebar-header .navbar {
        height: 100%;
    }

    .sidebar-header .container-fluid {
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: center !important;
        height: 100%;
        padding: 24px 24px;
        overflow-y: auto;
    }

    .sidebar-header h1 {
        font-size: 22px;
        margin-top: 0;
        margin-bottom: 6px;
    }

    .sidebar-header .navbar-collapse {
        width: 100%;
        flex-grow: 0;
    }

    .sidebar-header .navbar-nav {
        flex-direction: column;
        width: 100%;
    }

    .sidebar-header .nav-item {
        width: 100%;
    }

    .page-content {
        margin-left: 260px;
        height: 100vh;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
    }

    .page-content > section {
        margin-top: auto;
        margin-bottom: auto;
        width: 100%;
    }

    .page-content .logos {
        padding: 24px 0;
    }

    .page-content h2 {
        margin-top: 20px;
    }

    .page-content .smalltext {
        margin-top: 10px;
    }

    .page-content .form-container .mt-5 {
        margin-top: 1rem !important;
    }

    .page-content .inputGroup {
        margin: 6px 2px;
    }
}

/* A partir de este ancho cabe el sidebar (260px) + el formulario centrado (930px)
   con simetría real; por debajo, el sidebar se queda pegado al borde y el
   formulario ocupa el resto (comportamiento del bloque anterior). */
@media (min-width: 1450px) {
    .sidebar-header {
        left: calc(50% - 725px);
    }

    .page-content {
        margin-left: 0;
    }
}

@media (max-width: 991.98px) {
    .dr-simi {
        max-width: 140px;
    }

    h2 {
        margin-top: 20px;
    }

    .form-container {
        width: 96%;
        margin: 2%;
    }

    header {
        padding: 0;
    }
}

@media (max-width: 767.98px) {
    h1 {
        font-size: 22px;
    }
}

@media (max-width: 575.98px) {
    .inputGroup label {
        font-size: 13px;
    }

    .inputGroup {
        margin: 3px 1px;
    }

    .logos img:nth-child(1) {
        width: 44%;
        margin-left: 4%;
    }

    .logos img:nth-child(2) {
        width: 40%;
    }

    .logos img:nth-child(3) {
        width: 60%;
        margin-left: 4%;
        margin-top: 15px;
    }

    .logos img:nth-child(4) {
        width: 26%;
        margin: 0;
    }
}
