@import url(hexagon_animations.css);

.background {
    float: right;
    background: #EEEEEE;
    position: absolute;
    top: 0;
    left: 0vh;
    z-index: -100;
    width: 100%;
    height: 100%;
    zoom: 1;
}

#myVideo {
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
}



img#logo_mobile {
    display: none;
}

#logo_sti {
}

#logo_sedhast {
    margin: 0em 0em 0em 1em;
}

#logo_gov {
    margin: 0em 0em 0em 1em;
}

.conteudo {
    position: relative;
    z-index: 100;
    display: grid;
    grid-template-columns: 60% 40%;
}

.titulo {
    /* permite contéudo no centro da tela*/
    /*margin: 0 auto;    
    width: 0%;    
    position: relative;*/
    animation-name: titulo;
    animation-duration: 0s;
    animation-delay: 0s;
    animation-fill-mode: forwards;
}

@keyframes titulo {
    0% {
        right: 0vh;
    }

    100% {
        right: 35vh;
    }
}

/*container para elemento centralizado*/
.logo {
    width: 100%;
    padding: 1em;
    padding-left: 6em;
}

html,
body {
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    height: 100%;
    margin: 0;
}

img#logo {
    width: 60em;
}

.agrupador {
    position: relative;
    /*zoom:0.85;
  transform: scale(0.85);
  text-align:center;*/
}

@keyframes foot_animation {
    0% {
        height: 0vh;
    }

    100% {
        height: 7.2vh;
    }
}

.foot {
    position: fixed;
    bottom: 0;
    height: 0;
    animation-name: foot_animation;
    animation-duration: 0s;
    animation-delay: 0s;
    animation-fill-mode: forwards;
    width: 100%;
    z-index: 10;
    background-color: #004F9F;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100px;
}

.login_container {
    opacity: 0;
    animation-name: login_fade;
    animation-duration: 0s;
    animation-delay: 0s;
    animation-fill-mode: forwards;
    font-weight: bold;
    padding-left: 5em;
    padding-top: 20em;
}

.login_background {
    background: rgba(255, 255, 255);
    /* border-radius: 2vh;*/
    width: 290px !important;
}

.login_box {
    opacity: 1;
    border: 1px solid #DDDDDD;
    height: 355px !important;
    width: 290px !important;
}

@keyframes login_fade {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

div#formulario_interno {
    margin-left: 2vh;
    margin-right: 2vh;
    height: 310px;
}

label#login_label {
    font-weight: bolder;
}

.meu_btn {
    margin-bottom: 3vh;
    width: 35%;
}


/*Material design styling*/
.md-input {
    position: relative;
    margin-bottom: 33px;
}

    .md-input .md-form-control {
        font-size: 16px;
        padding: 10px 10px 10px 5px;
        display: block;
        border: none;
        border-bottom: 2px solid #CACACA;
        box-shadow: none;
        width: 100%;
    }

    .md-input label {
        font-family: 'Roboto';
        color: rgba(0, 0, 0, 0.5);
        font-size: 16px;
        font-weight: normal;
        position: absolute;
        pointer-events: none;
        left: 1vh;
        top: 2vh;
        transition: 0.5s ease all;
        -moz-transition: 0.5s ease all;
        -webkit-transition: 0.5s ease all;
    }

    .md-input .bar:before {
        left: 50%;
    }

    .md-input .bar:after {
        right: 50%;
    }

    .md-input .highlight {
        position: absolute;
        height: 60%;
        width: 100px;
        top: 25%;
        left: 0;
        pointer-events: none;
        opacity: 0.5;
    }

    .md-input .md-form-control:focus ~ label,
    .md-input .md-form-control:valid ~ label {
        top: -18px;
        font-size: 14px;
        color: #183D5D;
    }

.md-form-control,
.md-form-control:invalid {
    background-color: red;
}

    .md-form-control,
    .md-form-control:valid {
        background-color: green;
    }

.md-input .bar:before,
.md-input .bar:after {
    content: '';
    height: 2px;
    width: 0;
    bottom: 0px;
    position: absolute;
    background: #03A9F4;
    transition: 0.2s ease all;
    -moz-transition: 0.2s ease all;
    -webkit-transition: 0.2s ease all;
}

.md-input .md-form-control:focus ~ .bar:before,
.md-input .md-form-control:focus ~ .bar:after {
    width: 50%;
}

input#login {
    background-color: transparent;
}

    input#login:focus {
        background-color: white;
        transition: 0.9s ease all;
    }

select#login {
    background-color: transparent;
    font-family: 'Roboto';
}

    select#login:focus {
        background-color: white;
        transition: 0.9s ease all;
    }

/*Drodown select styling*/
.select {
    font-family: 'Roboto';
    position: relative;
    width: 100%;
    margin-bottom: 30px;
}

.select-text {
    position: relative;
    font-family: 'Roboto';
    background-color: transparent;
    padding: 10px 10px 10px 0;
    font-size: 18px;
    width: 100%;
    border-radius: 0;
    border: none;
    border-bottom: 2px solid rgba(0, 0, 0, 0.14);
}

    .select-text:focus {
        border-bottom: 1px solid rgba(0, 0, 0, 0);
    }

.select .select-text {
    appearance: none;
    -webkit-appearance: none;
}

/* Use custom arrow */
.select .select-text {
    appearance: none;
    -webkit-appearance: none;
}

.select:after {
    position: absolute;
    top: 18px;
    right: 10px;
    /* Styling the down arrow */
    width: 0;
    height: 0;
    padding: 0;
    content: '';
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid rgba(0, 0, 0, 0.12);
    pointer-events: none;
}

/* LABEL ======================================= */
.select-label {
    font-family: 'Roboto';
    color: rgba(0, 0, 0, 0.5);
    font-size: 16px;
    font-weight: bold;
    position: absolute;
    pointer-events: none;
    left: 1vh;
    top: 2vh;
    transition: 0.5s ease all;
    -moz-transition: 0.5s ease all;
    -webkit-transition: 0.5s ease all;
}

/* active state */
.select-text:focus ~ .select-label,
.select-text:valid ~ .select-label {
    font-family: 'Roboto';
    color: rgba(0, 0, 0);
    top: -20px;
    transition: 0.5s ease all;
    -moz-transition: 0.5s ease all;
    -webkit-transition: 0.5s ease all;
    font-size: 14px;
}

/*
    min = >=
    max = <=
*/
/* RESPONSIVE CSS
  -------------------------------------------------- */

/*.center {
  margin: auto;
  width: 50%;  
  padding: 10px;
}*/

@media only screen and (max-height: 906px) {
    img#logo {
        width: 50em;
    }

    .login_container {
        padding-top: 17em;
    }
}

@media only screen and (max-width:1400px) and (min-width:1099px) {
    .login_container {
        padding-left: 10em;
    }

    .logo {
        padding-left: 0em;
    }
}

@media only screen and (max-width:1098px) and (min-width:1016px) {
    .login_container {
        padding-left: 6em;
    }

    .logo {
        padding-left: 0em;
    }
}

@media only screen and (max-width:1015px) {
    .login_container {
        padding-top: 11em;
    }

    .logo {
        padding: 0em;
    }

    img#logo {
        width: 40em;
    }
}

@media only screen and (max-width:924px) {
    .conteudo {
        grid-template-columns: 55% 45%;
    }
}

@media only screen and (max-width:881px) {
    .conteudo {
        grid-template-columns: auto;
    }

    img#logo {
        display: none;
    }

    img#logo_mobile {
        display: grid;
    }

    .login_container {
        padding-top: 5em;
    }

    .agrupador {
        text-align: -moz-center;
        text-align: -webkit-center;
    }

    .foot {
        text-align: center;
        padding: 20px;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100px;
    }
}

@media only screen and (max-width:561px) {
    img#logo_mobile {
        width: 30em;
    }

    .login_container {
        padding-left: 0em;
    }

    .logo {
        padding-top: 5em;
    }
}

@media only screen and (max-width:423px) {
    img#logo_mobile {
        width: 20em;
    }

    .login_container {
        padding-left: 0em;
    }
}


@media only screen and (max-width:356px) {
    #logo_sti {
        margin: 0em 0em 0em 1em;
    }

    #logo_sedhast {
        margin: 0em 0em 0em 0em;
    }

    #logo_gov {
        margin: 0em 0em 0em 0em;
    }
}

@media only screen and (max-width:320px) {
    #logo_sti {
        margin: 0em 0em 0em 0em;
    }

    #logo_sedhast {
        margin: 0em 0em 0em 0em;
    }

    #logo_gov {
        margin: 0em 0em 0em 0em;
    }
}

@media only screen and (max-height:590px) {
    .logo {
        padding-top: 2em;
    }
}

@media only screen and (max-height:768px) {
    #logo_sti {
        margin: 0.15em 0em 0.5em 0em;
    }

    #logo_sedhast {
        margin: -0.75em 0em 0em 1em;
    }

    #logo_gov {
        margin: -0.75em 0em 0em 1em;
    }
}

@media only screen and (max-height:768px) and (max-width:356px) {
    #logo_sti {
        margin: 0.15em 0em 0.5em 0em;
    }

    #logo_sedhast {
        margin: -0.75em 0em 0em 0em;
    }

    #logo_gov {
        margin: -0.75em 0em 0em 0em;
    }
}

@media only screen and (max-height:768px) and (max-width:320px) {
    #logo_sti {
        margin: 0.15em 0em 0.5em 0em;
    }

    #logo_sedhast {
        margin: -0.75em 0em 0em 0em;
    }

    #logo_gov {
        margin: -0.75em 0em 0em 0em;
    }
}

@media only screen and (max-height:766px) {

    img#logo {
        width: 45em;
    }
}

@media only screen and (min-width:925px) and (max-height:685px) {

    img#logo {
        padding-left: 5em;
    }

    .login_container {
        padding: 14em 0em 0em 6em;
        zoom: 0.85;
        transform: scale(0.85);
    }

    /*.background{
   zoom: 0.85;
   transform:scale(0.85);
}*/
}
