.login {
    height: 100%;
    width: 100%;
    background-image: url("/public/media/img/Sublicor-login.png");
    background-size: 100% 100%;
    display: flex;
    align-items: center;
}

.form {
    background: rgba(238, 238, 238, 0.5);
    position: relative;
    left: 10%;
    width: 22em;
    height: 30em;
    padding: 2em;
    text-align: center;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
}

.form-control {
    width: 100%;
    height: 100%;
}

.imageIsotipo {
    width: 22em;
    height: 22em;
    margin-left: 3em;
}

.imageLogotipo {
    height: 4em;
}

.span-input {
    position: relative;
    display: inline-block;
    width: 100%;
    margin-bottom: 1.5em;
}

.slide-up {
    border: none;
    border-bottom: 1.5px solid #0f3442;
    display: inline-block;
    width: 100%;
    padding: 0.7em 0 0.3em 0;
    font-family: "Roboto";
    background: transparent !important;
    outline: none;
    transition: all .3s cubic-bezier(0.6, -0.28, 0.74, 0.05);
    outline-color: transparent !important;
    text-transform: uppercase;
    ;
}

.slide-up+label {
    display: inline-block;
    position: absolute;
    transform: translateX(0);
    top: 0;
    left: 0;
    padding: 0.6em 0.9em;
    text-shadow: 0 1px 0 solid #0f3442;
    transition: all .3s cubic-bezier(0.6, -0.28, 0.74, 0.05);
    overflow: hidden;
    border-radius: 1em 0 1em 0;
    color: white;
    font-size: .75em;
}

.slide-up+label:before,
.slide-up+label:after {
    content: "";
    position: absolute;
    right: 0;
    left: 0;
    z-index: -1;
    transition: all .3s cubic-bezier(0.6, -0.28, 0.74, 0.05);
}

.slide-up+label:before {
    top: 7px;
    left: 6px;
    right: 5px;
    bottom: 7px;
    background: rgb(15, 52, 66);
    font-size: .75em;
}

.slide-up+label:after {
    top: 0;
    bottom: 0;
    background: rgb(15, 52, 66);
}

span .slide-up {
    text-indent: 30%;
}

span:nth-child(1) .slide-up:focus,
span:nth-child(1) .slide-up:active,
span:nth-child(2) .slide-up:focus,
span:nth-child(2) .slide-up:active {
    text-indent: 0;
}

.slide-up:focus+label,
.slide-up:active+label {
    transform: translateY(-105%);
}

.slide-up:focus+label:before,
.slide-up:active+label:before {
    border-radius: 0 1em 0 1em;
}

.slide-up:focus+label:after,
.slide-up:active+label:after {
    transform: translateY(105%);
}

.form input.button {
    text-transform: uppercase;
    width: 70%;
}

.form input.button:hover,
.form input.button:active,
.form input.button:focus {
    background: rgb(15, 52, 66) !important;
    width: 90%;
    color: white !important;
    font-weight: 300 !important;
}

#messageLogin {
    visibility: hidden;
    font-weight: bold;
    margin-bottom: 1.5em;
    height: 2em;
}

label {
    text-transform: uppercase;
}

.valid {
    color: rgb(15, 52, 66);
}

.invalidText {
    color: #dc3545;
}

.modalNews {
    background: none;
    border: none;
    margin-top: 25%;
}

@media screen and (max-height: 750px) {
    .modalNews {
        margin-top: 0;
    }
}

@media screen and (max-width: 990px) {
    #modalAviso {
        height: 100%;
        width: 100%;
        margin-left: 0;
        margin-top: 0;
    }
}

@media only screen and (max-width: 769px) {
    .login {
        background-image: url("/public/media/img/vista-mobile-blue.png");
        background-size: 100% 100%;
        justify-content: center !important;
    }
    .imageIsotipo,
    .otherDiv {
        display: none;
    }
    .form {
        left: auto;
    }
    .modalNews {
        margin-top: 5%;
    }
}

@media only screen and (max-width: 575px) {
    .slide-up+label:before {
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        font-size: .75em;
        padding: .5rem;
    }
    span .slide-up {
        text-indent: 35%;
    }
}

@media only screen and (max-width: 420px) {
    .modalNews {
        margin-top: 30%;
    }
}

@media only screen and (max-height: 380px) {
    * {
        font-size: 12px;
    }
    .login {
        /* justify-content: space-between !important; */
    }
    .form {
        height: 85%;
        width: 16em;
        padding: 0 1em;
        /* left: 10%; */
    }
    .imageLogotipo {
        display: none;
    }
    #messageLogin {
        margin-top: 0 !important;
    }
    .span-input {
        margin-bottom: .5em;
    }
    form .row div {
        margin-bottom: .5rem !important;
    }
}

@media only screen and (max-width: 330px) {
    .modalNews {
        margin-top: 45%;
    }
}