/* basic html */

html {
    height:100%;
    min-height:100%;
  }
  

body {
    min-height:100%;
    /* background-image: url('../images/bg.jpg')!important; */
    margin: 0 auto;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    font-family: sans-serif;
}

label {
    color: #999;
    font-size: 18px;
    font-weight: normal;
    position: absolute;
    pointer-events: none;
    left: 5px;
    top: 10px;
    transition: 0.2s ease all;
}

input,
select {
    font-size: 16px;
    padding: 10px 10px 10px 5px;
    display: block;
    width: 100%;
    border: none;
    border-bottom: 1px solid #9DA6AB;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    transition: background-color 5000s ease-in-out 0s;
    -webkit-text-fill-color: #fff;
}

input:focus~.bar:before,
input:focus~.bar:after,
select:focus~.bar:before,
select:focus~.bar:after {
    width: 50%;
}

select option {
    color: #000;
}

#center {
    width: 350px;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 50%;
    margin: -0px auto auto -505px;
    text-align: center;
}

#bgLogin {
    width: 350px;
    height: 100vh;
    background-color: #434A4F;
    margin: 0 auto;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .1);
    position: relative;
    padding: 20px;
    box-sizing: border-box;
    overflow: hidden;
}

#bgLogin h1 {
    width: 100%;
    color: #fff !important;
    margin: 0;
    text-align: left;
    font-family: 'Roboto Slab', serif !important;
    font-weight: 300;
    line-height: 40px;
    font-size: 33px !important;
    margin-top: 20px;
    margin-bottom: 40px;
    word-wrap: break-word;
}

#copyRight {
    position: absolute;
    bottom: 40px;
    text-align: center;
    font-size: 11px;
    color: #FFFFFF;
    display: block;
}

.btn {
    width: 100%;
    height: 46px;
    cursor: pointer;
    border: none;
    border-radius: 4px;
    text-transform: uppercase;
    background-color: #7B8287;
    color: #fff;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.1s ease 0s;
}

.btn:hover,
.btn:active {
    background-color: #9B9FA2;
}

.form-group {
    margin-bottom: 15px;
}

.form-control {
    display: block;
    position: relative;
    box-sizing: border-box;
    width: 100%;
    height: 36px;
    margin: 0;
    padding: 6px 0px;
    font-size: 16px;
    color: #fff;
    background: transparent;
    border-top: 0;
    border-left: 0;
    border-right: 0;
    border-radius: 4px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.erroLogin {
    background-color: #dc3545!important;
    border-radius: 2px;
    color: #fff;
    padding: 4px 0;
    font-weight: bold;
    font-size: 12px;
    box-sizing: border-box;
    margin-top: 15px;
    width: 100%;
    text-align: center;
}

.messageBottom {
    margin: 30px auto 50px auto;
    width: 100%;
    font-size: 12px;
    text-align: left;
}

.AcessInfo {
    float: left;
    margin-top: 20px;
    font-size: 16px;
    font-weight: 100;
    color: #3f4c5f;
    display: block;
    text-align: center;
    width: 350px;
    font-weight: bold;
}

.AcessInfo a {
    color: #3f4c5f;
    text-decoration: none;
}

.AcessInfo a:hover {
    color: #545454;
    text-decoration: underline;
}

::-webkit-input-placeholder {
    color: #fff;
}

:-moz-placeholder {
    color: #fff;
}

::-moz-placeholder {
    color: #fff;
}

:-ms-input-placeholder {
    color: #fff;
}

.section {
    z-index: inherit;
}

#boxInstrucoes {
    display: none;
}

.bar {
    position: relative;
    display: block;
    width: 100%;
}

.bar:before,
.bar:after {
    content: '';
    height: 2px;
    width: 0;
    bottom: .5px;
    position: absolute;
    background: #fff;
    transition: 0.3s ease all;
}

.bar:before {
    left: 50%;
}

.bar:after {
    right: 50%;
}

/* Media queries */
@media screen and (max-width: 767px) {
    #bgLogin {
        width: 100%;
        background: rgba(67, 74, 79, .95);
    }
    #center {
        width: 100%;
        height: 100vh;
        position: relative;
        top: 0;
        left: inherit;
        margin: inherit;
        text-align: center;
        padding-left: 10px;
        padding-right: 10px;
        box-sizing: border-box;
    }
}

@media screen and (min-width: 768px) and (max-width: 980px) {
    #center {
        left: 0;
        margin: auto;
    }
}

.erroLogin+#copyRight {
    bottom: 20px;
}

@media (max-height: 470px) {
    #bgLogin {
        height: auto;
    }
    #copyRight {
        position: relative;
        bottom: 0;
        margin-top: 40px;
        text-align: left;
    }
    .erroLogin+#copyRight {
        bottom: 0;
    }
}

@media (min-width: 430px) and (min-height:420px) and (max-width:767px) and (max-height: 500px) {
    #bgLogin {
        height: 100%;
    }
}