@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@100;300;400;500;700;900&display=swap');
:root {
    --primario: #190d21;
    --secundario: #8b4288;
    --hover: rgba(102, 48, 101, 1);
    /*#663065*/
    --input: #f4f4f4;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
    margin: 0;
}

a {
    color: var(--primario);
    text-decoration: none;
}

a:hover {
    color: var(--secundario);
}

img {
    display: block;
    max-width: 100%;
}

#inicio {
    background: var(--secundario) url('../img/principal_contacto.jpg') no-repeat center;
    background-size: cover;
    height: 100vh;
}

.page-item.active .page-link {
    background-color: var(--secundario);
    border-color: var(--secundario);
}

.main {
    height: 100vh;
    position: relative;
}

.titulo {
    height: 100vh;
    position: relative;
}

.main .login {
    position: relative;
    min-width: 350px;
    min-height: 490px;
    background-color: #fff;
    -webkit-box-shadow: 0px 29px 147.5px 102.5px rgba(0, 0, 0, 0.05), 0px 29px 95px 0px rgba(0, 0, 0, 0.16);
    box-shadow: 0px 29px 147.5px 102.5px rgba(0, 0, 0, 0.05), 0px 29px 95px 0px rgba(0, 0, 0, 0.16);
    -webkit-perspective: 800px;
    perspective: 800px;
    -webkit-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.main .login label {
    color: #666;
    font-weight: 700;
}

.main .login .utility {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 1px;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.main .login .login-form,
.main .login .forget-form {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -webkit-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.main .login .forget-form {
    opacity: 0;
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
}

.main .login.flipped {
    min-height: 370px;
}

.main .login.flipped .login-form {
    opacity: 0;
    -webkit-transform: rotateY(-180deg);
    transform: rotateY(-180deg);
}

.main .login.flipped .forget-form {
    opacity: 1;
    -webkit-transform: rotateY(0deg);
    transform: rotateY(0deg);
}

.main .login .login-form,
.main .login .forget-form {
    padding: 50px 60px;
}

.main .login .login-form button,
.main .login .forget-form button,
.modalFormNewCliente .modal-content form button.registrar,
.recoveryForm button,
.recoveryForm button:hover,
.resetForm button,
.resetForm button:hover {
    background-color: var(--primario);
    border: none;
    border-radius: 0;
    height: 48px;
}

.modalFormNewCliente .modal-content form button {
    border: none;
    border-radius: 0;
    height: 48px;
}

.main .login .login-form button:active,
.main .login .forget-form button:active,
.modalFormNewCliente .modal-content .new-account button.registrar:active,
.recoveryForm button:active,
.resetForm button:active {
    background-color: var(--secundario) !important;
}

.main .login .login-form button:focus,
.main .login .login-form button:active:focus,
.main .login .forget-form button:focus,
.main .login .forget-form button:active:focus,
.modalFormNewCliente .modal-content .new-account button:focus,
.modalFormNewCliente .modal-content .new-account button:active:focus,
.modalFormNewCliente .modal-content .new-account button.registrar:focus,
.modalFormNewCliente .modal-content .new-account button.registrar:active:focus {
    box-shadow: none !important;
}

.main .login .login-form input,
.main .login .forget-form input,
.modalFormNewCliente .modal-content .new-account input,
.recoveryForm input,
.resetForm input {
    border: 1px solid #ced4da;
    border-radius: 0;
    height: 48px;
}

.main .login .login-form input:focus,
.main .login .forget-form input:focus,
.modalFormNewCliente .modal-content .new-account input:focus,
.recoveryForm input:focus,
.resetForm input:focus {
    border-color: var(--secundario);
    box-shadow: none;
}

.main .login .login-form input::placeholder,
.main .login .forget-form input::placeholder,
.modalFormNewCliente .modal-content .new-account input::placeholder,
.recoveryForm input::placeholder,
.resetForm input::placeholder {
    color: #c4c4c4;
}


/* Modal Registro */

.modalFormNewCliente .modal-content {
    border-radius: 0;
    padding: 50px 60px;
}

.modalFormNewCliente .modal-content .headerRegistro {
    border-bottom: none;
    padding: 0 1rem;
}

p.txtlabel {
    color: var(--secundario) !important;
}

.required {
    color: red;
    font-weight: bold;
}

.tile {
    background: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    -webkit-box-shadow: none;
    margin-bottom: 0;
}

.tile .tile-footer {
    border-top: none;
    padding: 0;
    margin-top: 0;
}

.sweet-alert button {
    background-color: var(--secundario) !important;
}

#divLoading {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(254, 254, 255, .65);
    z-index: 9999;
    display: none;
}

#divLoading img {
    width: 50px;
    height: 50px;
}


/* Recovery */

.material-half-bg {
    background-color: var(--input);
}

.material-half-bg .cover {
    background: var(--primario) url('../img/principal_contacto.jpg') no-repeat center;
    background-size: cover;
}

.logo img {
    width: 100%;
    height: 160px;
}

.login-content .login-box.flipped.recovery {
    min-height: 310px;
}

.login-content .login-box.flipped.reset {
    min-height: 410px;
}

.login-head {
    border-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.login-content .login-box {
    min-width: 382px;
}

/* Footer */

.footer {
    background-color: var(--primario);
    bottom: 0;
    color: white;
    position: absolute;
    width: 100%;
}

.footer .icon::before {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    padding-right: 10px;
}

.footer .copyright::before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 400;
    content: '\f1f9';
}

.footer .copyright {
    padding: 15px 0;
    margin: 0;
}

.footer .copyright a.privacidad {
    color: white;
    text-decoration: none;
    transition: 0.5s;
}

.footer .copyright a.privacidad:hover {
    color: var(--secundario);
    text-decoration: none;
}

.app-header {
    background-color: var(--primario);
}

.app-title h1 {
    font-weight: 700;
}

.result {
    background: #fff;
    border-radius: 3px;
    padding: 40px;
    -webkit-box-shadow: 0 2px 2px 0 rgb(0 0 0 / 14%), 0 1px 5px 0 rgb(0 0 0 / 12%), 0 3px 1px -2px rgb(0 0 0 / 20%);
    box-shadow: 0 2px 2px 0 rgb(0 0 0 / 14%), 0 1px 5px 0 rgb(0 0 0 / 12%), 0 3px 1px -2px rgb(0 0 0 / 20%);
    margin-bottom: 30px;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.imgLogo {
    height: 170px;
    margin-bottom: 20px;
    padding: 20px;
    width: auto;
}

.result table.tablePedidos {
    width: 100% !important;
}

.app-menu__item {
    border-left: none;
}

.app-menu__item:hover {
    border-left: none;
}


/* Validar CURP */

.btnEdit {
    margin-left: 20px;
}

.btnEdit .btn-info {
    color: #fff;
    background-color: var(--primario);
    border-color: var(--primario);
}

.btnEdit .btn-info:not(:disabled):not(.disabled).active,
.btnEdit .btn-info:not(:disabled):not(.disabled):active,
.show>.btnEdit .btn-info.dropdown-toggle {
    color: #fff;
    background-color: var(--primario);
    border-color: var(--primario);
}

.validarFormCurp {
    align-content: center;
    display: flex;
    justify-content: space-between;
}

.validarFormCurp label {
    align-items: center;
    display: flex;
    justify-content: center;
    margin-bottom: 0;
    width: 100px;
}

.validarFormCurp input {
    margin: 0 15px;
}

.btn-primary.btnActionForm,
.btn-primary.btnActionForm:hover,
.btn-primary.btnActionForm:not(:disabled):not(.disabled):active,
.btn-primary.btnActionForm:not(:disabled):not(.disabled).active,
.show>.btn-primary.btnActionForm.dropdown-toggle {
    align-self: center;
    background-color: var(--secundario);
    border-color: var(--secundario);
    display: flex;
    height: 37px;
    justify-content: flex-end;
}

.btn-primary,
.btn-primary:hover,
.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled).active,
.show>.btn-primary.dropdown-toggle {
    background-color: var(--secundario);
    border-color: var(--secundario);
}

.btn-danger.btnSendMail {
    color: #fff;
    background-color: var(--primario);
    border-color: var(--primario);
}

.btn-danger.btnSendMail:not(:disabled):not(.disabled).active,
.btn-danger.btnSendMail:not(:disabled):not(.disabled):active,
.show>.btn-danger.btnSendMail.dropdown-toggle {
    color: #fff;
    background-color: var(--primario);
    border-color: var(--primario);
}

.btnDownloadResult.btn-primary.disabled,
.btn-primary:disabled {
    background-color: var(--secundario);
    border-color: var(--secundario);
}

.text-primary {
    color: var(--primario) !important;
}

.dropdown-item.active,
.dropdown-item:active {
    color: #fff;
    text-decoration: none;
    background-color: var(--primario);
}

#resultado {
    align-items: center;
    background-color: red;
    border-radius: 7px;
    color: white;
    display: flex;
    font-weight: bold;
    font-size: 15px;
    height: 37px;
    justify-content: center;
    margin-left: 5px;
    padding: 7px 0px;
    width: 37px;
}

#resultado.ok {
    background-color: green;
}

@media (min-width: 768px) {
    .main .login {
        min-width: 450px;
        min-height: 490px;
    }
    .app-content {
        margin-left: 0px;
    }
    .imgLogo {
        height: 230px;
        margin-bottom: 30px;
    }
    .imgLogo img {
        width: 100%;
        height: 100%;
    }
}

@media (min-width: 1200px) {
    .main .login {
        background-color: #fff;
        margin-left: 165px;
        min-height: 390px;
        width: 586px;
    }
    .titulo .logo img {
        width: 15%;
    }
    .titulo .texto h1 {
        color: #fff;
        font-size: 3.5rem;
        font-weight: bold;
        padding: 0 100px;
    }
    .imgLogo {
        padding: 0px;
    }
    .imgLogo img {
        width: 80%;
        height: 80%;
    }
}