@font-face {
    font-family: 'Open Sans';
    src: local('Open Sans'), url('../webfonts/OpenSans-Regular.ttf');
    font-weight: 400;
}

@font-face {
    font-family: 'Open Sans';
    src: local('Open Sans'), url('../webfonts/OpenSans-Bold.ttf');
    font-weight: 700;
}

body {
    font-family: 'Open Sans' !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f3f3f3;

}

input[type=email],
input[type=password] {
    font-size: 16px;
}

input[type=email]::-webkit-input-placeholder,
input[type=password]::-webkit-input-placeholder {
    font-size: 17px;
}

.contenedor_login {
    width: 520px;
    box-shadow: 2px 1px 5px 1px #33333314;
    background-color: #fff;
    padding: 26px 50px;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.contenedor-logo {
    text-align: center;
    margin-bottom: 40px;
}

.imagen-login {
    width: 250px;
    text-align: center;
}

.olvidar-contra {
    color: #808080;
    font-size: 16px;
    font-family: "Open Sans";
}

.olvidar-contra:hover,
.olvidar-contra:focus,
.olvidar-contra:active {
    color: #595959;
    text-decoration: none;
}

.contenedor_ingresar {
    height: 85px !important;
}

.boton-ingresar {
    background-color: #7BB51C;
    border-radius: 2px;
    border-color: #7BB51C;
    width: 100%;
    font-family: "Open Sans";
    font-weight: bold;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.boton-ingresar:hover,
.boton-ingresar:focus,
.boton-ingresar:active {
    background-color: #689a18 !important;
    border-color: #689a18 !important;
    outline: none !important;
    box-shadow: none !important;
}

.recordar-usuario {
    width: 22px;
    height: 23px;
    font-size: 17px;
}

.form-control {
    border: 0;
    border-bottom: 1.1px solid #7BB51C !important;
    border-radius: 1px;
    background: transparent;
    padding-top: 10px;
    padding-bottom: 15px;
    font-size: 16px;
}

.form-control:focus {

    box-shadow: none;
    border-bottom: 3px solid #7BB51C !important;
    transition: border-bottom 0.2s;
    background: transparent;
}

.contenedor {
    background: linear-gradient(to bottom, rgba(255, 255, 255, .4) 0, rgb(255, 255, 255) 100%), url('../images/fondo-login.jpeg');
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: cover;
}

.check {
    margin-top: 22px;
}

input[type="checkbox"] {
    display: none;
}

input[type="checkbox"]+label {
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    color: #808080;
}

input[type="checkbox"]+label:before {
    content: '';
    width: 22px;
    height: 24px;
    border: 1.5px solid #808080;
    position: absolute;
    left: 0;
    top: 2px;
    opacity: .6;
    -webkit-transition: all .12s, border-color .08s;
    transition: all .12s, border-color .08s;
}

input[type="checkbox"]:checked+label:before {
    width: 10px;
    top: -5px;
    left: 5px;
    border-radius: 0;
    opacity: 1;
    border-top-color: transparent;
    border-left-color: transparent;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.contenedor-alerta {
    width: 100%;
}

.alerta-error {
    width: 100%;
    font-size: 15px;
    background: #fd397a1f !important;
    border: 1px solid #ff0054 !important;
}

.alerta-error .alert-text {
    color: #ff0054 !important;
}

.alerta-success {
    width: 100%;
    height: 55px;
    font-size: 15px;
    background: #d6f1c5 !important;
    border: 1px solid #50a719 !important;
}

.alerta-success .alert-text {
    color: #50a719 !important;
}

@media(max-width: 555px) {
    body {
        padding: 15px;
    }

    .contenedor_login {
        width: 100%;
        height: 100%;
        padding: 26px 25px;
    }
}
