﻿body {
    margin: 0;
    padding: 0;
    background: url(../images/fondoWeb.png) no-repeat center top;
    background-size: cover;
    font-family: sans-serif;
    height: 100vh;
}

.loginBox {
    max-width: 500px;
    max-height: 400px;
    width: 500px;
    height: 400px;
    clip-path: polygon(100% 0, 100% 40%, 100% 100%, 0 100%, 0 18%);
    color: #fff;
    top: 50%;
    left: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    box-sizing: border-box;
    padding: 70px 30px;
    border-radius: 2%;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 0;
}

.avatar {
    width: 190px;
    height: 240px;
    top: 5%;
    left: 45%;
    z-index: 15 !important;
    position: absolute;
}

#toolbarLogin {
    background-color: rgba(0, 0, 0, 0);
}

#contenedorLogin {
    /*border-radius: 20px;
            background-color: rgba(255, 255, 255, 0.5);*/
    background-color: rgba(255, 255, 255, 0.0);
    margin-top: 8%;
}

.buttonLogin {
    top: 27%;
    width: 150px;
    height: 50px;
    background-color: #95D0FF;
    border-radius: 10px;
    color: white;
    font-size: 15px;
    
}

.buttonLogin:not([disabled]), .buttonLogin:not([disabled]):hover {
    background-color: #95D0FF;
}

.buttonLogin[disabled] {
    background-color: #C9E7FF;
    color: white;
    
}

.separador {
    height: 3vh;
}

.inputForm {
    background-color: white !important;
    border-radius: 2px;
    height: 55px;
}

md-input-container {
    width: 90% !important;
}

md-input-container .md-input {
     box-sizing: unset;
     padding-left: 10% !important;
     width: 90% !important;

}

md-input-container.md-input-invalid .md-input {
    border-color: white !important;
}

md-input-container:not(.md-input-invalid).md-input-focused .md-input {
    border-color: white !important;
}

md-input-container:not(.md-input-invalid).md-input-focused label {
   color: black !important;
}

/*@media only screen and (max-width: 600px) {
    .avatar {
        top: 2rem;
        left: 9rem;
    }

    .loginBox {
        width: 28rem;
        height: 21rem;
        top: 21.3rem;
        left: 15.5rem;
    }

    .buttonLogin[disabled] {
        background-color: #C9E7FF;
        color: white;
        top: 30rem;
        width: 10rem;
        height: 3rem;
        left: 10rem;
    }
    
}

@media only screen and (min-width: 768px) {
    .avatar {
        top: 170px;
        left: 45%;
    }
}

@media only screen and (min-width: 992px) {
    .avatar {
        top: 170px;
        left: 45%;
    }
}


@media only screen and (min-width: 1200px) {
    .avatar {
        top: 4rem;
        left: 44rem;
    }

    .loginBox {
        width: 40rem;
        height: 23rem;
        left: 50rem;
        top: 24rem;
    }
}*/