﻿* {
    margin: 0;
    padding: 0;
}

body {
    background-color: #e9ecec;
    display: flex;
    justify-content: center;
    align-items: center;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"] {
    outline: none;
    width: 100%;
    height: 30px;
    padding-left: 10px;
    border: none;
    border-bottom: solid 1px #ccc;
    background: transparent;
}

input[type="button"],
.btnAceptar {
    outline: none;
    width: 100%;
    padding: 8px;
    border: none;
    background-color: #e4322b;
    color: #fff;
    border-radius: 15px;
}

input[type="button"]:hover {
    background-color: rgba(228, 50, 43, 0.8);
    cursor: pointer;
}

.botonPrincipal {
    background: #f2f2f2;
    color: #15284b;
    cursor: pointer;
    padding: 10px;
    border: none;
    width: 100%;
    border-radius: 5px;
    font-weight: bold;
}

    .botonPrincipal:hover {
        background: #f8f8f8;
        /*border: solid 1px #f2f2f2 ;*/
    }

section {
    background-color: #fff;
    /* position: absolute; */
    width: 80%;
    height: 80vh;
    display: flex;
    margin-top: 5%;
}

section .imagen {
    position: relative;
    width: 100%;
    height: 100%;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    text-align: center;
}

section .imagen img {
    position: relative;
    top: 40%;
    left: 0;
    width: 80%;
    /* height: 100%; */
    object-fit: contain;
    /* box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px; */
    /* border-right: solid 2px #ccc;*/
}

section .contenedorFormulario {
    /* display: flex; */
    display: grid;
    /* grid-template-columns: 1fr; */
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background: rgb(255, 255, 255);
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(242, 242, 242, 1) 97%, rgba(255, 255, 255, 1) 100%);
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

section .contenedorFormulario .subcontenedorFormulario {
    width: 100%;
    text-align: center;
}

section .contenedorFormulario .subcontenedorFormulario h2 {
    color: #000;
    font-weight: 600;
    font-size: 1.5em;
    text-transform: uppercase;
    margin-bottom: 20px !important;
    /* border-bottom: 4px solid #7c0606; */
    display: inline-block;
    letter-spacing: 1px;
    margin: auto;
}

section .contenedorFormulario .subcontenedorFormulario .dvImagen {
    top: 10%;
    margin-top: -20%;
    /* margin-bottom: 30px; */
    visibility: hidden;
}

section .contenedorFormulario .subcontenedorFormulario .dvImagen img {
    position: relative;
    width: 50%;
    margin-bottom: 30px;
}

section .contenedorFormulario .subcontenedorFormulario .formulario {
    width: 70%;
    margin: auto;
}

section .contenedorFormulario .subcontenedorFormulario .formulario .dvInput {
    margin-bottom: 20px;
    position: relative;
}

.vista {
    position: absolute;
    right: 0%;
    transform: translateY(8px);
    cursor: pointer;
}

section .contenedorFormulario .subcontenedorFormulario .formulario .dvInput span i {
    color: #a3a3a3;
}

section .contenedorFormulario .subcontenedorFormulario .formulario .dvInput .pContrasenaOlvidada {
    margin-top: 10%;
    /*display: none;*/
    cursor: pointer;
}

    section .contenedorFormulario .subcontenedorFormulario .formulario .dvInput .pContrasenaOlvidada:hover {
        color: #a3a3a3;
        color: #e4322b;
    }


.dvTabla {
}

    .dvTabla table,
    .swal2-container .swal2-popup .swal2-content .swal2-html-container .dvTabla table {
        width: 100%;
        margin-bottom: 1rem;
        color: #212529;
        background-color: transparent;
        padding: 20px;
        border-collapse: collapse;
    }

        .dvTabla table thead,
        .swal2-container .swal2-popup .swal2-content .swal2-html-container .dvTabla table thead {
            background-color: #e4322b;
            color: #fff;
        }

        .dvTabla table thead th,
        .swal2-container .swal2-popup .swal2-content .swal2-html-container .dvTabla table thead th {
            padding: 0.5rem;
        }

        .dvTabla table tbody tr td,
        .swal2-container .swal2-popup .swal2-content .swal2-html-container .dvTabla table tbody tr td {
            padding: 8px;
            text-align: left;
            border-bottom: 1px solid #ddd;
            text-align: center;
        }

        .dvTabla table tbody tr:hover,
        .swal2-container .swal2-popup .swal2-content .swal2-html-container .dvTabla table tbody tr:hover {
            background: #f2f2f2;
        }

/* section .contenedorFormulario .subcontenedorFormulario .formulario .dvInput span {
    font-size: 16px;
    margin-bottom: 5px;
    display: inline-block;
    color: #607d8b;
    font-weight: 300;
    letter-spacing: 1px;
}

section .contenedorFormulario .subcontenedorFormulario .formulario .dvInput input {
    width: 100%;
    padding: 10px 20px;
    outline: none;
    font-weight: 400;
    border: 1px solid #607d8b;
    font-size: 16px;
    color: #607d8b;
    background: transparent;
    border-radius: 30px;
}

section .contenedorFormulario .subcontenedorFormulario .formulario .dvInput input[type="button"] {
    background-color: #7c0606;
    color: #fff;
    outline: none;
    border: none;
    font-weight: 500;
    cursor: pointer;
}

section .contenedorFormulario .subcontenedorFormulario .formulario .dvInput input[type="button"]:hover {
    background-color: #7c0606cc;
} */
.btnAceptar {
    margin-top: 10px;
}

.btnAceptar:hover {
    cursor: pointer;
}

.contenedorFormulario ul {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contenedorFormulario ul li {
    list-style: none;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #607d8b;
    border-radius: 50%;
    margin: 0 7px;
    cursor: pointer;
}

.contenedorFormulario ul li:hover {
    /* background-color: #7c0606; */
    background-color: #e4322b;
    color: #fff;
}

.anchoAuto {
    width: auto !important;
}

/* Generales */

.invisibilidad {
    display: none;
    visibility: hidden;
}

.centrar {
    text-align: center;
}

.fadeOut {
    animation: fadeOut ease 1s;
    -webkit-animation: fadeOut ease 1s;
    -moz-animation: fadeOut ease 1s;
    -o-animation: fadeOut ease 1s;
    -ms-animation: fadeOut ease 1s;
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        display: none;
    }
}

.fadeIn {
    animation: fadeIn ease 1s;
    -webkit-animation: fadeIn ease 1s;
    -moz-animation: fadeIn ease 1s;
    -o-animation: fadeIn ease 1s;
    -ms-animation: fadeIn ease 1s;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* Finaliza Generales*/

/* Modal */

.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    /*padding-top: 100px;*/
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
}


/* Modal Content */

.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 50%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.6s;
    animation-name: animatetop;
    animation-duration: 0.6s;
    border-radius: 8px;
}

.modal-sm {
    width: 25%;
}

.modal-md {
    width: 50%;
}


/* Add Animation */

@-webkit-keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}

@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}


/* The Close Button */

.close {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
    animation: fadeOut ease 1s;
    -webkit-animation: fadeOut ease 1s;
    -moz-animation: fadeOut ease 1s;
    -o-animation: fadeOut ease 1s;
    -ms-animation: fadeOut ease 1s;
}

    .close:hover,
    .close:focus {
        color: #000;
        text-decoration: none;
        cursor: pointer;
    }

.modal-header {
    padding: 2px 16px;
    background-color: #e4322b;
    color: white;
    border-radius: 8px 8px 0px 0px;
}

    .modal-header h2 {
        font-size: 20px;
        padding: 5px;
    }

.modal-body {
    padding: 2px 16px;
}

    .modal-body .dvp10px {
        margin-bottom: 10px;
    }

.dvMB {
    padding: 10px;
}

.modal-footer {
    padding: 2px 16px;
    /* background-color: #5cb85c; */
    color: white;
    margin-bottom: 15px;
}

/* Finaliza Modal*/

/* Sección Responsiva */

@media (max-width: 1200px) {
    .modal-sm {
        width: 35%;
    }
}

@media screen and (max-width: 900px) {
    section .imagen {
        display: none;
        visibility: hidden;
    }
    section .contenedorFormulario .subcontenedorFormulario .dvImagen {
        visibility: visible;
    }
    .modal-sm {
        width: 40%;
    }
}

@media (max-width: 750px) {
    .modal-sm {
        width: 45%;
    }
}

@media (max-width: 660px) {
    .modal-sm {
        width: 50%;
    }
}

@media (max-width: 600px) {
    .modal-sm {
        width: 80%;
    }
}

/* Finaliza Sección Responsiva*/