﻿body {
    padding: 0;
    margin: 0;
    /*font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;*/
    font-family: 'Sora', -apple-system, BlinkMacSystemFont, 'Sora', sans-serif;
    background-color: var(--ds-body-background);
    -webkit-font-smoothing: antialiased;
}

.aspNetDisabled {
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: .375rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out
}

    .aspNetDisabled:disabled {
        background-color: #e9ecef;
        opacity: 1
    }

.login-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--ds-texto-primary);
}

.btng {
    display: inline-block;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    border-radius: .40rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    width: 25%;
}

.btnnuevos {
    display: inline-block;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    border-radius: .40rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    width: 15%;
    height: 44px;
}

.text-btn-primario{
    font-size:15px;
}

.btnPrimario {
    background-color: var(--ds-primary);
    color: white !important;
    /*height:40px;*/
}

    .btnPrimario:hover {
        background-color: var(--ds-primary-hover);
        color: #ffffff !important;
    }

    .btnPrimario:active {
        background-color: var(--ds-primary-hover);
        color: #ffffff !important;
    }

/* Cancelar: en todos los modales se usa "btn btn-secondary" de Bootstrap
   tal cual (gris azulado generico, ajeno a estos tokens). Se estandariza
   aqui una sola vez y aplica en todos lados sin tocar cada .aspx. */
.btn-secondary {
    background-color: #FFFFFF;
    border-color: var(--ds-gray-300);
    color: var(--ds-gray-700);
    font-size: 14px;
}

    .btn-secondary:hover {
        background-color: var(--ds-gray-50);
        border-color: var(--ds-gray-400);
        color: var(--ds-gray-800);
    }

    .btn-secondary:active {
        background-color: var(--ds-gray-100) !important;
        border-color: var(--ds-gray-400) !important;
        color: var(--ds-gray-800) !important;
    }

.btnActualizar {
    background-color: var(--ds-primary);
    color: white !important;
}

    .btnActualizar:hover {
        background-color: var(--ds-primary-hover);
        color: #ffffff !important;
    }

    .btnActualizar:active {
        background-color: var(--ds-primary-hover);
        color: #ffffff !important;
    }



.title-container {
    padding: 0 15px 0 15px;
    border-bottom: var(--ds-border);
    margin-bottom: 28px;
    font-weight: 600 !important;
    line-height: 2;
    color: var(--ds-text-title);
}

    .title-container h5 {
        font-size: 16px !important;
    }

.text-danger {
    font-size: .9rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
/*Contenedores*/
.items-container {
    padding: 0 25px 0 25px;
}

.card-container {
    margin-top: 15px;
    background-color: #ffffff;
    border-radius: 8px;
    margin-left: 50px;
    margin-right: 50px;
    padding: 20px 40px 20px 40px;
}

.card-container2 {
    margin-top: 15px;
    background-color: transparent;
    border-radius: 8px;
    margin-left: 50px;
    margin-right: 50px;
    /*padding: 20px 0 20px 0;*/
}

/*Para el titulo de cada seccion*/
.bannertitulo {
    /*background-image: url(../images/back.jpg);*/
    background-color: var(--ds-banner-bg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 15vh;
}

.bannertitulov {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 15vh;
}

.ds-border-top {
    border-top: 3px solid var(--ds-accent);
}



.divespacio {
    height: 30px;
}

.btnBuscar {
    background-color: #00AEEF;
    color: white;
    /*width: 170px;*/
}

    .btnBuscar:hover {
        background-color: #808285;
        color: white;
        /*width: 170px;*/
    }

.btnnuevo {
    background-color: #004E6F;
    color: #ffffff;
}

    .btnnuevo:hover {
        background-color: #808285;
        color: white;
    }

.profile-container {
    display: block;
    text-align: center;
    padding: 15px 0 15px 0;
}

    .profile-container img {
        max-width: 200px;
        max-height: 250px;
        width: 100%;
        height: auto;
        border-radius: 10%;
    }

    .profile-container p {
        font-size: 5px !important;
    }

/*Small devices (landscape phones, 576px and up)*/
@media (max-width: 575.98px) {
    .card-container {
        margin-left: 12px;
        margin-right: 12px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .card-container2 {
        margin-left: 12px;
        margin-right: 12px;
    }

    .items-container {
        padding: 0 12px;
    }

    .btng {
        width: 60%;
    }

    .btnnuevos {
        width: 60%;
    }


    .ds-form-group {
        width: 100%;
    }

    /* Los campos w-50 (nombre, fecha inicial/final, etc.) quedan a la mitad
       del ancho en móvil dejando espacio vacío: los apilamos a ancho completo */
    .items-container .d-flex.justify-content-center {
        flex-direction: column;
        align-items: stretch !important;
        gap: 10px;
    }

        .items-container .d-flex.justify-content-center > .w-50 {
            width: 100% !important;
            padding-right: 0 !important;
        }
}

/*Extra small devices, telefonos muy angostos*/
@media (max-width: 379.98px) {
    .card-container {
        margin-left: 8px;
        margin-right: 8px;
        padding-left: 12px;
        padding-right: 12px;
    }

    .bannertitulo {
        height: 12vh;
    }

    .title-container h5 {
        font-size: 15px !important;
    }
}

/*// Medium devices (tablets, 768px and up)*/
@media (max-width: 767.98px) {
    .main-container {
        margin-left: 16px;
        margin-right: 16px;
    }

    .card-container {
        margin-left: 16px;
        margin-right: 16px;
    }

    .card-container2 {
        margin-left: 16px;
        margin-right: 16px;
    }

/*    .btng {
        width: 35%;
    }*/
}

/*// Large devices (desktops, 992px and up)*/
@media (max-width: 991.98px) {
    .main-container {
        margin-left: 18px;
        margin-right: 18px;
    }

/*    .btng {
        width: 40%;
    }*/

    .card-container {
        margin-left: 18px;
        margin-right: 18px;
    }

    .card-container2 {
        margin-left: 18px;
        margin-right: 18px;
    }

    .ver {
        display: block;
    }

    .ver2 {
        display: none;
    }

    .bannertitulo {
        height: 13vh;
    }
}


/* Boton de alta con texto largo ("+ Nuevo alumno"): el ancho fijo de 15%
   de .btnnuevos lo corta. Se agrega junto a btnnuevos, no lo sustituye. */
.btnnuevos-auto {
    width: auto;
    min-width: 170px;
    padding: 0 22px;
    white-space: nowrap;
}

@media (max-width: 575px) {
    .btnnuevos-auto {
        width: 100%;
    }
}
