* {
    margin: 0;
    padding: 0;
    border: 0;
}

body {
    font-family: "Open Sans", sans-serif;
    min-height: 100%;
}

ul, ol, li {
    list-style: none;
}

.conteudo {
    background-image: url(../img/banner_medvale.png);
    background-repeat: no-repeat;
    background-size: cover;
    height: calc(100vh - 78px);
}

.cabecalho {
    height: 90px;
    background-color: #145991;
    text-align: center;
    position: relative;
}

.logotipo {
    position: absolute;
    top: 25%;
    left: 6%;
    border-radius: 25%;
    background-color: white;
    width: 137px;
    height: 127px;
    box-shadow: 2px 2px 4px #000;
}

.logo-center {
    width:100px;
    height:100px;
    position:absolute;
    top:50%;
    left:50%;
    margin-top:-50px;
    margin-left:-50px;
}

.titulo-principal {
    position: relative;
    width: 100%;
    top: 30px;
    color: white;
    font-family: 'Roboto', sans-serif;
    font-weight: lighter;
    text-transform: uppercase;
}

.posicao-trocar-senha {
    position: absolute;
    right: 12%;
}

.trocar-senha {
    text-decoration: underline;
    color: white;
    font-family: 'open-sans', sans-serif;
}

.form-troca-senha {
    background-color: white;
    width: 15%;
    /* height: 105px; */
    position: absolute;
    right: 7%;
    top: 70px;
    border-radius: 3%;
    border: 1px solid lightgray;
    padding: 10px;
    display: inline-block;
}

.input-trocar-senha {
    padding: 5px;
    width: 80%;
    border: 1px solid lightgray; 
    margin: .5rem auto;
    display: block;
}

.posicao-botao-trocar-senha {
    transform: translateX(-50%);
    padding: 7px 13px;
    color: white;
    border: none;
    background-color: #0164b4;
    border-radius: 4px;
    font-size: 1rem;
    margin: 5px 50%;
}

.posicao-botao-trocar-senha:hover {
    background-color: #037fe4;
    cursor: pointer;
}

.container {
    margin: 80px auto 0 auto;
    width: 27%;
    min-width: 300px;
    border: 1px solid lightgray;
    padding: 20px!important;
    background-color: white;
}

.form-container {
    padding: 20px 0;
    position: relative;
    min-height: 140px;
}

label {
    color: #757575;
    font-family: 'Open Sans', sans-serif;
    font-size: .9rem;
}
.input {
    width: 96%;
    border: 1px solid lightgray;
    padding: 8px 5px;
}

.block {
    display: block;
    margin-top: .4rem;
    margin-bottom: .8rem;
}

.block-senha {
    display: block;
    margin-top: .4rem;
    margin-bottom: 0;
}

.alerta-autorizado {
    color: #fff;
    background-color: #8dbf42;
    border-color: #8dbf42;
    border-radius: 5px;
    text-align: center;
    margin: 5px auto;
}

.alerta-nao-autorizado {
   color: #fff;
    background-color: #e7515a;
    border-color: #e7515a;
    border-radius: 5px;
    text-align: center;
    margin: 5px auto; 
}

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: lightgray;
    opacity: 1; /* Firefox */
  }
  
  :-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: lightgray;
  }
  
  ::-ms-input-placeholder { /* Microsoft Edge */
    color: lightgray;
  }

#esqueci-senha {
    text-decoration: none;
    font-size: .7rem;
    font-family: "Open Sans", sans-serif;
    color: darkblue;
}

#esqueci-senha:hover {
    color: red;
}

.linha {
    display: block;
    margin-top: 5px;
    margin-bottom: 15px;

}

.botao-entrar {
    float: right;
    padding: 7px 13px;
    color: white;
    border: none;
    background-color: #0164b4;
    border-radius: 4px;
    font-size: 1rem;
    margin-top: 5px;
    margin-bottom: 5px;
}

.botao-entrar:hover {
    background-color: #037fe4;
    cursor: pointer;
}

.clear {
    clear: both;
}

.alinhar-botao-senha {
    position: absolute;
    top: 0;
    right: -30px;
}

.rodape {
    position: relative;
    bottom: 0;
    padding: 30px 0;
    background-color: #145991;
    width: 100%;
    z-index: -1;
}

.rodape p {
    color: white;
    text-align: center;
    font-family: 'Roboto', sans-serif;
}

#desconectar {
    text-decoration: none;
    font-size: .7rem;
    font-family: "Open Sans", sans-serif;
    color: darkblue;
}

#desconectar:hover {
    color: red;
}

@media (min-width: 1500px) {
    .container {
        margin: 200px auto 0 auto;
        width: 40%;
        height: 300px;
        min-width: 300px;
        border: 1px solid lightgray;
        padding: 20px!important;
        background-color: white;
    }

    .form-container {
        padding: 20px 0;
        position: relative;
        min-height: 160px;
    }

    .input {
        width: 96%;
        border: 1px solid lightgray;
        padding: 12px 5px;
    }
    
    .block {
        display: block;
        margin-top: .6rem;
        margin-bottom: 1rem;
    }
    
    .block-senha {
        display: block;
        margin-top: .6rem;
        margin-bottom: 0;
    }

    .botao-entrar {
        float: left;
        padding: 7px 13px;
        color: white;
        border: none;
        background-color: #0164b4;
        border-radius: 4px;
        font-size: 1rem;
    }

    ::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
        color: lightgray;
        opacity: 1; /* Firefox */
        font-size: 0.9rem;
      }
      
      :-ms-input-placeholder { /* Internet Explorer 10-11 */
        color: lightgray;
        opacity: 1;
        font-size: 0.9rem;
      }
      
      ::-ms-input-placeholder { /* Microsoft Edge */
        color: lightgray;
        opacity: 1;
        font-size: 0.9rem;
      }
}


@media (max-width: 1024px) {
    .container {
        margin: 80px auto 0 auto;
        width: 40%;
        min-width: 300px;
        border: 1px solid lightgray;
        padding: 20px!important;
        background-color: white;
    } 
}

@media (max-width: 790px) {
   
    .titulo-principal {
        width: 50%;
        margin: 0 auto;
        top: 7px;
    }
    .logotipo {
        top: 6%;
        width: 80px;
        height: 80px;
    }

    .logo-center {
        width:50px;
        height:50px;
        top:50%;
        left:50%;
        margin-top:-25px;
        margin-left:-25px;
    }
}

@media(max-width: 420px) {

    .titulo-principal {
        width: 100%;
        top: 6px;
        color: white;
        left: 13%;
    }

    .logotipo {
        top: 3%;
        width: 80px;
        height: 80px;
    }

    .container {
        margin: 80px auto 0 auto;
        width: 84%;
        min-width: 300px;
        border: 1px solid lightgray;
        padding: 20px!important;
        background-color: white;
    }

    .form-container {
        width: 100%;
    }
}
