body {
    overflow-x: hidden;
    min-height: 100vh !important;
}

.loading {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 99999;
}

.preload,
.activa_cuenta {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: darkgray;
    z-index: 9999999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swal2-container {
    z-index: 99999999 !important;
}

.activa_cuenta {
    z-index: 9999;
}

.activa_cuenta {
    background-color: #ffffff;
}

.select2,
.select2-container,
.select2-container--default,
.select2-container--below {
    width: 100% !important;
    height: auto !important;
}

.select2-selection,
.select2-selection--single {
    padding: .375rem .75rem !important;
    border: none !important;
    border-bottom: 3px solid #041E40 !important;
}

.select2-container .select2-selection--single {
    height: auto !important;
}

.nav-link.active {
    background-color: #fff !important;
    font-weight: bold;
}

.nav-link.active p,
.nav-link.active svg {
    color: #041E40 !important;
}

.input-data {
    position: relative;
    height: 50px;
}

.input-data input,
textarea,
.form-group select,
select,
.form-group .select2-selection {
    height: 100%;
    width: 100%;
    border: none;
    border-bottom: 2px solid silver;
    font-size: 1.1rem;
}

input[type=date],
input[type=time]{
    outline: none;
}

label {
    color: #041E40 !important;
}

.input-data label {
    position: absolute;
    bottom: 10px;
    left: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.input-data input:focus~label,
.input-data input:valid~label,
input[type=date]~label,
input[type=time]~label{
    transform: translateY(-30px);
    font-size: 1rem;
    color: grey;
}

table .input-data input:focus~label,
table .input-data input:valid~label {
    transform: translateY(-20px) !important;
}

.input-data .underline {
    position: absolute;
    bottom: 0;
    height: 2px;
    width: 100%;
    transition: all 3s ease;
}

.input-data .underline:before {
    position: absolute;
    content: "";
    height: 100%;
    width: 100%;
    background: #041E40;
    transform: scaleX(0);
    transition: all 0.3s ease;
}

.input-data input:focus~.underline:before,
.input-data input:valid~.underline:before,
.input-data select:valid~.underline:before,
.input-data select:focus~.underline:before{
    transform: scaleX(1);
}