/**************************FONTS*************************/
@font-face {
    font-family: Poppins-Regular;
    src: url('../fonts/Poppins-Regular.ttf');
}


@font-face {
    font-family: Poppins-Medium;
    src: url('../fonts/Poppins-Medium.ttf');
}

@font-face {
    font-family: Poppins-Bold;
    src: url('../fonts/Poppins-Bold.ttf');
}

@font-face {
    font-family: Poppins-SemiBold;
    src: url('../fonts/Poppins-SemiBold.ttf');
}

/*******************CONSTANTS*********************/
:root {
    --color-item-green: #47AB34;
    --color-item-dark-green: #0E4704;
    /* --color-button-success: #EFFFEB; */
    --color-button-success: #DAF7C9;
    --color-button-danger: #FC6363;
}

/* ***************STYLES************** */
* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

body,
html {
    height: 100%;
    font-family: Poppins-Regular;
}

/*---------------------------------------------*/
input {
    outline: none;
    border: none;
    color: var(--color-item-dark-green);
}

select {
    outline: none;
    border: none;
    font-family: Poppins-Medium !important;
}

option {
    font-family: Poppins-Medium !important;
    font-size: 14px;
}

.container {
    width: 100%;
    margin: 0 auto;
    /* min-height: 100vh; */
}

.container-login {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 15px;
    background-image: url('../img/Fondo-web.png');
    background-size: cover;
    background-position: bottom;
    background-attachment: fixed;
}

.wrap-login {
    width: 450px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    padding: 40px 55px 70px 55px;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.5);
}

/***********************************FORM***********************************/
.login-form {
    width: 100%;
}

.login-form-title {
    display: block;
    font-family: Poppins-Bold;
    font-size: 30px;
    color: #333333;
    line-height: 1.2;
    text-align: center;
}

.login-form-title i {
    font-size: 60px;
}

/*********************************INPUT*********************************/
.wrap-input {
    width: 100%;
    position: relative;
    border-bottom: 2px solid #adadad;
    margin-bottom: 30px;
}

.input {
    font-family: Poppins-Regular;
    font-size: 15px;
    color: var(--color-item-dark-green);
    line-height: 1.2;
    display: block;
    width: 100%;
    height: 35px;
    background: transparent;
    padding: 0 5px;
}

.focus-input {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.focus-input::before {
    content: "";
    display: block;
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    transition: all 0.4s;
    background: var(--color-item-green);
}

.focus-input::after {
    font-family: Poppins-Medium;
    font-size: 15px;
    color: #999999;
    line-height: 1.2;
    content: attr(data-placeholder);
    display: block;
    width: 100%;
    position: absolute;
    top: 16px;
    left: 0px;
    padding-left: 5px;
    transition: all 0.4s;
}

.input:focus+.focus-input::after {
    top: -15px;
}

.input:focus+.focus-input::before {
    width: 100%;
}

.has-val.input+.focus-input::after {
    top: -15px;
}

select option {
    font-family: 'Poppins-Regular', sans-serif !important;
}

.has-val.input+.focus-input::before {
    width: 100%;
}

/************************BUTTON SHOW PASSWORD****************************/
.btn-show-pass {
    font-size: 15px;
    display: flex;
    align-items: center;
    position: absolute;
    height: 100%;
    top: 0;
    right: 0;
    padding-right: 5px;
    cursor: pointer;
    transition: all 0.4s;
}

.eye:before {
    content: "";
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url('../img/Recurso7.png');
    background-size: contain;
    background-repeat: no-repeat;
}

.eye-off:before {
    content: "";
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url('../img/Recurso6.png');
    background-size: contain;
    background-repeat: no-repeat;
}

/**************************BUTTON*********************************/
.container-login-form-btn {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 13px;
}

.button-success {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    width: auto;
    background-color: var(--color-button-success);
    color: var(--color-item-green);
    border: 1px solid var(--color-item-green);
    border-radius: 5px;
    font-family: Poppins-Medium;
    font-weight: bold;
    font-size: 1em;
    cursor: pointer;
}

.button-success i {
    margin-left: 230px;
}

/************************************RESPONSIVE*************************************/
@media (max-width: 576px) {
    .wrap-login {
        padding: 40px 15px 50px 15px;
    }
}

/******************************Alert validate***************************************/
.validate-input {
    position: relative;
}

.alert-validate::before {
    content: attr(data-validate);
    position: absolute;
    max-width: 70%;
    background-color: #FFEEEE;
    border: 1px solid var(--color-button-danger);
    border-radius: 2px;
    padding: 4px 25px 4px 10px;
    top: 50%;
    transform: translateY(-50%);
    right: 0px;
    pointer-events: none;
    font-family: Poppins-Regular;
    color: var(--color-button-danger);
    font-size: 13px;
    line-height: 1.4;
    text-align: left;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.4s;
}

.alert-validate::after {
    content: "\f06a";
    font-family: FontAwesome;
    font-size: 16px;
    color: #c80000;
    display: block;
    position: absolute;
    background-color: #fff;
    top: 50%;
    transform: translateY(-50%);
    right: 5px;
}

.alert-validate:hover:before {
    visibility: visible;
    opacity: 1;
}

@media (max-width: 992px) {
    .alert-validate::before {
        visibility: visible;
        opacity: 1;
    }
}

/* *************************PADDING*****************************/
.p-b-26 {
    padding-bottom: 26px;
}

.p-t-115 {
    padding-top: 115px;
}

/*******************************FOOTER**************************/
/* .footer {
    position: sticky;
    bottom: 0;
    width: 100%;
    background-color: rgb(211, 211, 211);
    height: 35px;
    text-align: center;    
    color: black;
    font-family: Poppins-Regular;
} */
.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: rgb(211, 211, 211);
    height: 35px;
    text-align: center;
    font-family: Poppins-Regular;
    padding-top: 5px;
    color: #212529;
}

.error {
    color: var(--color-button-danger);
    font-family: Poppins-Regular;
}