/* =========================================================
   ESTILO GENERAL
   ========================================================= */

*,
*:before,
*:after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    background: #f1f3f5;
    color: #343a40;
}

a {
    color: inherit;
    text-decoration: none;
}

.clearfix:after,
.clearfix:before {
    content: '';
    display: table;
}

.clearfix:after {
    clear: both;
}


/* =========================================================
   LOGIN - CONTENEDOR PRINCIPAL
   ========================================================= */

.login-box {
    width: 100%;
    max-width: 430px;

    min-height: 0;

    margin: 35px auto;

    position: relative;

    background: #ffffff;

    border: 1px solid #dfe3e6;

    border-radius: 8px;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.08);

    overflow: hidden;
}


/* =========================================================
   CONTENEDOR DEL LOGIN
   ========================================================= */

.login-snip {
    width: 100%;

    height: auto;

    min-height: 0;

    position: relative;

    padding: 0;

    background: #ffffff;
}


/* =========================================================
   ELEMENTOS ANTIGUOS DE PESTAÑAS
   ========================================================= */

.login-snip .sign-in,
.login-snip .sign-up {
    display: none;
}

.login-snip .tab {
    display: none;
}


/* =========================================================
   FORMULARIO
   ========================================================= */

.login-space {
    width: 100%;

    min-height: 0;

    position: relative;

    padding: 30px 35px 25px;

    perspective: none;

    transform-style: flat;
}


/* =========================================================
   CONTENEDOR LOGIN
   ========================================================= */

.login-snip .login,
.login-snip .sign-up-form {

    width: 100%;

    position: relative;

    top: auto;
    left: auto;
    right: auto;
    bottom: auto;

    transform: none;

    backface-visibility: visible;

    transition: none;
}


/* =========================================================
   ENCABEZADO INSTITUCIONAL
   ========================================================= */

.login-header {
    width: 100%;

    text-align: center;

    padding: 28px 25px 8px;

    background: #ffffff;
}


/* =========================================================
   LOGO
   ========================================================= */

.login-logo {

    display: block;

    width: 85px !important;

    height: 85px !important;

    max-width: 85px !important;

    max-height: 85px !important;

    min-width: 85px;

    min-height: 85px;

    margin: 0 auto 15px;

    object-fit: contain;

    object-position: center;
}


/* =========================================================
   TITULO
   ========================================================= */

.login-title {

    margin: 0;

    padding: 0;

    color: #263238;

    font-family: "Segoe UI", Arial, sans-serif;

    font-size: 22px;

    font-weight: 600;

    line-height: 1.3;

    text-align: center;
}


/* =========================================================
   SUBTITULO
   ========================================================= */

.login-subtitle {

    margin: 7px 0 0;

    padding: 0;

    color: #6c757d;

    font-family: "Segoe UI", Arial, sans-serif;

    font-size: 13px;

    font-weight: 400;

    line-height: 1.5;

    text-align: center;
}


/* =========================================================
   TITULO DEL FORMULARIO
   ========================================================= */

.login-section-title {

    width: 100%;

    margin: 0 0 24px;

    padding: 0;

    color: #343a40;

    font-size: 16px;

    font-weight: 600;

    line-height: 1.4;

    text-align: center;
}


/* =========================================================
   GRUPOS DEL FORMULARIO
   ========================================================= */

.login-space .group {

    width: 100%;

    display: block;

    margin: 0 0 18px;

    padding: 0;
}


/* =========================================================
   ETIQUETAS
   ========================================================= */

.login-space .group .label {

    width: 100% !important;

    display: block !important;

    margin: 0 0 7px !important;

    padding: 0 !important;

    color: #495057 !important;

    font-family: "Segoe UI", Arial, sans-serif;

    font-size: 13px !important;

    font-weight: 600 !important;

    line-height: 1.4;

    text-transform: none !important;
}


/* =========================================================
   CAJAS DE TEXTO
   ========================================================= */

.login-space .group .input {

    width: 100% !important;

    height: 44px !important;

    min-height: 44px !important;

    display: block !important;

    margin: 0 !important;

    padding: 8px 13px !important;

    border: 1px solid #ced4da !important;

    border-radius: 5px !important;

    background: #ffffff !important;

    background-color: #ffffff !important;

    color: #343a40 !important;

    font-family: "Segoe UI", Arial, sans-serif;

    font-size: 14px !important;

    font-weight: 400;

    line-height: 1.5;

    outline: none !important;

    opacity: 1 !important;

    visibility: visible !important;

    box-shadow: none !important;

    box-sizing: border-box !important;

    appearance: none;

    -webkit-appearance: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


/* =========================================================
   INPUT FOCUS
   ========================================================= */

.login-space .group .input:focus {

    border-color: #0b6b45 !important;

    background: #ffffff !important;

    color: #343a40 !important;

    outline: none !important;

    box-shadow:
        0 0 0 3px rgba(11, 107, 69, 0.10) !important;
}


/* =========================================================
   PLACEHOLDER
   ========================================================= */

.login-space .group .input::placeholder {

    color: #adb5bd !important;

    opacity: 1 !important;
}


/* =========================================================
   AUTOFILL CHROME
   ========================================================= */

.login-space .group .input:-webkit-autofill,
.login-space .group .input:-webkit-autofill:hover,
.login-space .group .input:-webkit-autofill:focus {

    -webkit-text-fill-color: #343a40 !important;

    -webkit-box-shadow:
        0 0 0 1000px #ffffff inset !important;

    box-shadow:
        0 0 0 1000px #ffffff inset !important;
}


/* =========================================================
   PASSWORD
   ========================================================= */

.login-space .group input[data-type="password"] {

    text-security: circle;

    -webkit-text-security: circle;
}


/* =========================================================
   BOTON
   ========================================================= */

.login-space .group .button {

    width: 100% !important;

    height: 44px !important;

    min-height: 44px !important;

    display: block !important;

    margin: 0 !important;

    padding: 10px 15px !important;

    border: none !important;

    border-radius: 5px !important;

    background: #0b6b45 !important;

    background-color: #0b6b45 !important;

    color: #ffffff !important;

    font-family: "Segoe UI", Arial, sans-serif;

    font-size: 14px !important;

    font-weight: 600 !important;

    line-height: 1.4;

    letter-spacing: 0.3px;

    text-align: center;

    cursor: pointer;

    outline: none;

    box-shadow: none !important;

    transition:
        background 0.2s ease,
        transform 0.1s ease;
}


/* =========================================================
   BOTON HOVER
   ========================================================= */

.login-space .group .button:hover {

    background: #095a3a !important;

    background-color: #095a3a !important;

    color: #ffffff !important;
}


/* =========================================================
   BOTON ACTIVE
   ========================================================= */

.login-space .group .button:active {

    transform: translateY(1px);
}


/* =========================================================
   RECORDAR CUENTA
   ========================================================= */

.login-space .group .check {

    display: none;
}


/* Etiqueta recordar */

.login-space .group .check + label {

    width: auto !important;

    display: inline-flex !important;

    align-items: center;

    margin: 0 !important;

    padding: 0 !important;

    color: #6c757d !important;

    font-size: 13px !important;

    font-weight: 400 !important;

    line-height: 20px;

    text-transform: none !important;

    cursor: pointer;
}


/* Caja */

.login-space .group label .icon {

    width: 16px !important;

    height: 16px !important;

    min-width: 16px;

    min-height: 16px;

    margin: 0 8px 0 0;

    padding: 0;

    border: 1px solid #adb5bd;

    border-radius: 3px;

    position: relative;

    display: inline-block;

    vertical-align: middle;

    background: #ffffff;

}


/* Ocultamos los pseudo elementos originales */

.login-space .group label .icon:before,
.login-space .group label .icon:after {

    content: '';

    position: absolute;

    background: #ffffff;

    transition: none;
}


/* Estado marcado */

.login-space .group .check:checked + label {

    color: #495057 !important;
}

.login-space .group .check:checked + label .icon {

    background: #0b6b45;

    border-color: #0b6b45;
}


/* Check */

.login-space .group .check:checked + label .icon:before {

    width: 5px;

    height: 2px;

    left: 3px;

    bottom: 4px;

    transform: rotate(45deg);
}

.login-space .group .check:checked + label .icon:after {

    width: 8px;

    height: 2px;

    left: 6px;

    bottom: 6px;

    transform: rotate(-45deg);
}


/* =========================================================
   MENSAJES DE ERROR
   ========================================================= */

.login-error {

    width: 100%;

    display: block;

    margin: 0 0 18px;

    padding: 10px 12px;

    border: 1px solid #efcaca;

    border-radius: 5px;

    background: #fff5f5;

    color: #a33a3a;

    font-size: 13px;

    line-height: 1.5;
}


/* =========================================================
   FOOTER DEL LOGIN
   ========================================================= */

.login-footer {

    width: 100%;

    padding: 17px 20px;

    border-top: 1px solid #edf0f2;

    background: #fafbfc;

    color: #89939a;

    font-size: 11px;

    line-height: 1.6;

    text-align: center;
}

.login-footer strong {

    color: #66727a;

    font-weight: 600;
}


/* =========================================================
   ELEMENTOS ANTIGUOS
   ========================================================= */

.hr {

    height: 1px;

    margin: 25px 0;

    background: #e9ecef;
}

.foot {

    text-align: center;
}


/* =========================================================
   REDES SOCIALES
   Ocultamos los botones antiguos del login
   ========================================================= */

ul.social-network {

    display: none !important;

    list-style: none;

    margin-left: 0 !important;

    padding: 0;
}

ul.social-network li {

    display: inline;

    margin: 0 5px;
}

.social-circle li a {

    display: inline-block;

    position: relative;

    width: 50px;

    height: 50px;

    margin: 0 auto;

    border-radius: 50%;

    text-align: center;

    font-size: 20px;
}

.social-circle li i {

    margin: 0;

    line-height: 50px;

    text-align: center;
}


/* =========================================================
   FUENTE PERSONALIZADA
   ========================================================= */

@font-face {

    font-family: FontsFree-Net-uni-sans-regular;

    src: url(/fonts/FontsFree-Net-uni-sans-regular.ttf);
}

h1 {

    font-family:
        FontsFree-Net-uni-sans-regular,
        "Segoe UI",
        Arial,
        sans-serif;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 600px) {

    .login-box {

        width: calc(100% - 30px);

        max-width: 430px;

        margin: 20px auto;

        border-radius: 7px;
    }

    .login-space {

        padding: 25px 22px 22px;
    }

    .login-header {

        padding: 25px 20px 8px;
    }

    .login-logo {

        width: 75px !important;

        height: 75px !important;

        max-width: 75px !important;

        max-height: 75px !important;

        min-width: 75px;

        min-height: 75px;

        margin-bottom: 13px;
    }

    .login-title {

        font-size: 20px;
    }

    .login-subtitle {

        font-size: 12px;
    }

    .login-section-title {

        font-size: 15px;

        margin-bottom: 20px;
    }

    .login-space .group .input {

        height: 43px !important;

        min-height: 43px !important;
    }

    .login-space .group .button {

        height: 43px !important;

        min-height: 43px !important;
    }
}


/* =========================================================
   PANTALLAS GRANDES
   ========================================================= */

@media (min-width: 1200px) {

    .login-box {

        margin-top: 45px;

        margin-bottom: 45px;
    }
}
