.todo {
    min-height: 100dvh !important;
    display: grid !important;
    grid-template-rows: auto 1fr auto !important;
}

@import url('site.css');
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

main {
    flex-grow: 1;   /* Esto hace que el contenido principal se extienda para ocupar todo el espacio disponible en la dirección del eje principal. */
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    height: 100%;
    display: flex;
    flex-direction: column;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

header {
    background: linear-gradient(to right, #291358, #663398);
}

.logopescador {
    width: 80px;
    height: auto;
    margin-left: 1rem;
}

.ingresar:hover {
    border-bottom: 3px solid white;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.zonaseguridad {
    background-color: white;
    padding: 2rem 0;
    width: 100%;
    position: relative;
    box-sizing: border-box;
}

.contenidocontainer {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 3rem;
    max-width: 90rem;
    margin: 0 auto;
    padding: 0 1rem;
}

.imagenseguridad {
    width: 38rem;
    height: auto;
}

.textoindex {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 8rem;
}

.tituloindex {
    color: #291358;
    font-size: 4rem;
    margin-bottom: 4rem;
    font-family: Montserrat;
    font-weight: bold;
}

.subtituloindex {
    color: #8570B3;
    font-size: 1.7rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.pivotviewcontainerwrapper {
    width: 100%;
}

.contenedorcampanias {
    width: 100%;
}

.texto-info {
    /*font-family: 'Arial Rounded MT Bold', sans-serif;*/
    font-weight: bold;
    font-size: 24px;
}

.texto-titulo {
    /*font-family: 'Arial Rounded MT Bold', sans-serif;*/
    font-weight: bold;
    font-size: 18px;
}

@media (min-width: 320px) and (max-width: 425px) {
    .botonprendertabla {
    justify-content: center;
    }
}

.txtEncabezado{
    font-weight: 700;
}

.card-header-custom {
    background-color: #291358 !important;
    color: #ffffff;
    text-align: center;
}

.btn-primary-custom {
    background-color: #291358;
    border-color: #291358;
    float: right;
    margin-right: 20px;
}

.btn-outline-secondary-custom {
    float: left;
    margin-left: 20px;
}

.text-danger-custom {
    display: none;
}

.layoutLink {
    /*font-family: 'Arial Rounded MT Bold', sans-serif;*/
    font-weight: bold;
    font-size: 15px;
    color: #ffffff;
}

.layoutNavbar {
    /*font-family: 'Arial Rounded MT Bold', sans-serif;*/
    font-weight: bold;
    font-size: 24px;
    color: #ffffff;
}

.loginPartialNavbar {
    /*font-family: 'Arial Rounded MT Bold', sans-serif;*/
    font-weight: bold;
    font-size: 18px;
    color: #ffffff;
}

.e-pivotview .e-rowsheader {
    font-weight: 900 !important;
    font-size: xx-large;
    background-color:aquamarine;

}

@media (max-width: 768px) {
    .container > .row {
        flex-direction: column;
        align-items: center;
    }

    #content, .col-2 {
        width: 100%;
        margin-bottom: 20px;
    } 
}

footer {
    margin: 0;
    padding: 0;
    bottom: 0;
    background: linear-gradient(to right, #291358, #663398);
    color: white;
    font-weight: bold;
    margin-bottom: 0;
}

.logofooter {
    width: 15rem;
}

.logowhatsapp {
    width: 6%;
}

.row {
    padding: 2%;
}

.e-content {
    height: auto !important;
}
#container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

#content {
    margin-top: 20px;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
    max-height: 500px;
    flex-shrink: 0;
}

#content.hidden {
    max-height: 0;
    padding: 0 20px;
}

#pivotview {
    flex: 1;
    transition: flex-grow 0.5s ease-out;
}

/*Botón para la parte de Identity - Sin margen*/
.btn-primary-identity {
    background-color: #291358;
    border-color: #291358;
    float: right;
}
.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    background-color: #291358;
}

/*Estilo de lottie */
.loader-container {

    display: none;

    position: fixed;

    top: 0; /* Posición vertical en el centro */

    left: 50%; /* Posición horizontal en el centro */

    width: 100%;

    height: 100%;

    transform: translate(-50%, -50%); /* Centrar el elemento */

    background-color: rgba(128, 128, 128, 0.5);

    z-index: 9999;

    justify-content: center;

    align-items: center;

    pointer-events: none;

}
.loader {

    position: relative;

    top: 45%;

    left: 48.5%;

    border: 4px solid #f3f3f3;

    border-top: 4px solid #3498db;

    border-radius: 50%;

    width: 50px;

    height: 50px;

    background-color: rgba(128, 128, 128, 1);

    animation: spin 1s linear infinite;

    margin-bottom: 10px;

}

@keyframes spin {

    0% { transform: rotate(0deg); }

    100% { transform: rotate(360deg); }

}


@media (min-width: 768px) {

    html {

        font-size: 16px;

    }

}

html {

    position: relative;

    min-height: 100%;

}

body {

    margin-bottom: 60px;

}

.loader-container {

    display: none;

    position: fixed;

    top: 50%; /* Posición vertical en el centro */

    left: 50%; /* Posición horizontal en el centro */

    transform: translate(-50%, -50%); /* Centrar el elemento */

    background-color: rgba(255, 255, 255, 0.7);

    z-index: 9999;

    justify-content: center;

    align-items: center;

    flex-direction: column;

    padding: 20px;

    border-radius: 5px;

    text-align: center;

}

.loader {

    border: 4px solid #f3f3f3;

    border-top: 4px solid #3498db;

    border-radius: 50%;

    width: 50px;

    height: 50px;

    animation: spin 1s linear infinite;

    margin-bottom: 10px;

}

@keyframes spin {

    0% { transform: rotate(0deg); }

    100% { transform: rotate(360deg); }

}

/*Fin estilo lottie*/

.footer-container {
    display: flex;
    align-items: center;
}

/* Imagen en la última columna */
.footer-image img {
    max-width: 100%;
    height: auto;
}

/* Responsive */
@media (max-width: 768px) {

    .imagenseguridad {
        width: 18rem;
    }

    .subtituloindex {
        font-size: 2rem;
    }

    .nav-link {
        font-size: 0.7rem;
    }
}

@media (min-width: 767px) and (max-width: 769px) {
    .imagenseguridad {
        margin-top: 18rem;
    }
}

@media (min-width: 1023px) and (max-width: 1025px) {
    .imagenseguridad {
        margin-top: 8rem;
    }
}

@media (max-width: 1024px) {
    .imagenseguridad {
        width: 17rem;
    }
}


@media (max-width: 425px) {
    .contenidocontainer {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 320px) {
    .tablaindex {
        width: 100%;
    }

    .logowhatsapp {
        width: 1rem;
    }
}



/* LOGIN */

.containerlogin {
    box-shadow: 0px 8px 20px rgba(101, 51, 151, 0.5);
    width: 60rem;
    padding: 3rem;
    border: 1px solid transparent;
    border-radius: 3rem;
}

.containeriniciarsesion {
    min-height: 75dvh;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (min-width: 320px) and (max-width:320px) {
    .containeriniciarsesion {
        min-width: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}


.containercambiarcontraseña {
    box-shadow: 0px 8px 20px rgba(101, 51, 151, 0.5);
    width: 60rem;
    padding: 4rem;
    border: 1px solid transparent;
    border-radius: 3rem;
    margin-top: 6rem;
}

.titulologin {
    color: #291358;
    font-size: 2.5rem;
    margin-bottom: 4.5rem;
    font-family: Montserrat;
    font-weight: bold;
}

.camposform {
    box-shadow: 0px 2px 10px rgba(101, 51, 151, 0.5);
    border: 1px solid transparent !important;
    border-radius: 10rem !important;
}

.camposform1 {
    box-shadow: 0px 2px 10px rgba(101, 51, 151, 0.5);
    border: 1px solid transparent !important;
    border-radius: 10rem !important;
    padding: 1.5rem !important;
}

.iniciarsesion {
    background-color: #291358 !important;
    color: white !important;
    margin-top: 1rem;
    border: 1px solid transparent;
    border-radius: 5rem;
    padding: 0.5rem 1rem;
    font-size: 1.25rem;
    width: 3rem;
}

    .iniciarsesion:hover {
        background: linear-gradient(to right,#291358, #663398);
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    }

.containergrafica {
    background: white;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    padding: 20px;
    display: inline-block;
    max-width: 100%;
    box-shadow: 0px 4px 12px rgba(101, 51, 151, 0.5);
}

.containertabla {
    background: white;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    padding: 20px;
    display: inline-block;
    max-width: 100%;
    margin-top: 4rem !important;
    margin-bottom: 2rem;
    box-shadow: 0px 4px 12px rgba(101, 51, 151, 0.5);
}

.botonagregarcampaña {
    background-color: #291358;
    color: white !important;
}

    .botonagregarcampaña:hover {
        border-bottom: 3px solid white;
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    }

.botonagregargrupo {
    background-color: #291358;
    color: white !important;
}

    .botonagregargrupo:hover {
        border-bottom: 3px solid white;
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    }

.botonagregardestinatario {
    background-color: #291358;
    color: white !important;
}

    .botonagregardestinatario:hover {
        border-bottom: 3px solid white;
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    }

.botoncargamasiva {
    background-color: #291358;
    color: white !important;
}

    .botoncargamasiva:hover {
        border-bottom: 3px solid white;
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    }

.botonagregarrol {
    background-color: #291358;
    color: white !important;
}

.botonagregarrol:hover {
    border-bottom: 3px solid white;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.botonagregarusuario {
    background-color: #291358;
    color: white !important;
}

    .botonagregarusuario:hover {
        border-bottom: 3px solid white;
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    }

.botonagregarempresa {
    background-color: #291358;
    color: white !important;
}

    .botonagregarempresa:hover {
        border-bottom: 3px solid white;
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    }


@media (min-width: 320px) and (max-width: 425px) {
    .ingresar:hover {
        display: none;
    }
}

@media (min-width: 768px) and (max-width: 768px) {
    .containercambiarcontraseña {
        margin-bottom: 2rem;
    }

    .containeriniciarsesion {
        min-height: 97dvh;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

