*{
    box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;
    padding:0;
    margin:0;
    
}

html, body{
    margin: 0;
    padding: 0;
    margin:0;
    padding:0;
    width:100%;
    height: 100%;
    min-height:100%;
    background-image:url("background.png");
    background-attachment: fixed;
    background-position: center center;
    background-size: cover;
    font-family: sans-serif;
}


.botao{
    padding-top: 45px;
    padding-left: 40px;
}

#tutorial{
    display: none;
    /*
    width: 200px;
    border:none;
    outline: none;
    height: 38px;
    color: #ffffff;
    background: #173e77;
    font-size: 14px;
    cursor: pointer;
    margin-left: -3px;*/
}

#ajuda{
    width: 130px;
    border:none;
    outline: none;
    height: 38px;
    color: #ffffff;
    background: #173e77;
    font-size: 14px;
    cursor: pointer;
    border-right: #FFF;
}

#ajuda:hover{
    background: #446391;
}

#tutorial:hover{
    background: #446391;
}
/*
.left {
    padding-top: 290px;
    padding-bottom: 150px;
    max-width: 1099px;
    margin: 0 auto;
    margin-bottom: 50px;
}*/

h1{
    top: 43%;
    left: 21%;
    font-weight: bold;
    position: absolute;
    font-size: 49px;
    line-height: 60px;
    color: #173e77;
    max-width: 593px;
    text-align: center; 
    -webkit-text-stroke: 0.3px rgb(255, 255, 255);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif
}

h2{
    color: #003764;
}


.login{
    width:330px;
    height:370px;
    background: #fff;
    color: #000;
    top: 50%;
    left: 80%;
    position: absolute;
    transform: translate(-50%, -50%);
    box-sizing: border-box;
    padding: 40px 25px;
    text-align: center;   
    box-shadow: -1px 1px 9px -2px black; 
}

.logo{
    width:100%;
     position: relative;
     padding-bottom: 25px;
     margin-bottom: 22px;
     border-bottom:1px solid #173e77  
}
 
.login img{
   
    margin-left: auto;
    margin-right: auto;
    
}

.login input{
    width: 100%;
    margin-bottom: 19px;
    
}
.input-field {
    width: 100%;
    height: 48px;
    padding: 10px;
  
}

.login input[type = "text"], input[type="password"]
{
    border-color:  #173e77;
    background: transparent;
    color:#173e77;
    outline: none;
    height: 33px;
    font-size: 14px;
    
} 

input::placeholder{
    font-size: 14px;
    color: #000000;
    opacity: 0.9;
}

.login input[type="submit"]{
    border:none;
    outline: none;
    height: 33px;
    color: #fff;
    background: #173e77;
    font-size: 14px;
    width: 100%;
    margin-top: 25px;
    margin-bottom: 3px;
    cursor: pointer;
    
}

.login input[type="submit"]:hover{
        background: #446391;
       
}

form a {
    font-size: 12px;
    color: #173e77;
    float: right;
    text-decoration: none;
    margin-top: -3%;
    
}

.login a:hover{
    text-decoration: underline;
}


footer{
    background-color: transparent;
    font-size: 15px;
    color: #ffffff;
    font-weight: bold;
    background-color: #173e77;
    bottom: 0px;
    position: absolute;
    height: 57px;
    padding-left: 50px;
    display: flex;
    align-items: center;
    left: 0;
    right: 0;
    border-top:4px solid #ff0505
}

footer aside{
    width:50%;
    float:left;
    
}
footer p{
    
    float: right;
    font-size: 1.0em;
    margin-left: -4%;
    margin-right: 60px;
    
}
footer #contacts img{
    height:2.5em;
    margin: 0em 12px -0.2em 0;
    vertical-align:middle;
    line-height:1em;
}



iframe#manual-window{
    padding:2em 4em;
}

iframe#sobre-window{
    padding:2em 4em;
}

#manual-window, #sobre-window{

        position:fixed;
        background-color:rgba(0,0,0,0.5);
        z-index:3000;
        height:100%;
        width:100%;
        top:100%;
        bottom:0;
        left:0;
        right:0;
        padding:5% 20%;
        
}

/* Tablet ViewPOrt*/

@media (max-width: 1567px) { 

    .login{
        width:300px;
        height:370px;
        margin-top:unset;
        top: 50%;
        position: absolute;
        color: #000;
        left: 80%;
        text-align: center;
        background: #fff;
        
    } /*
    .left {
        padding-top: 255px;
        padding-left: 115px;
    }*/

    h1 {
        
        font-size: 50px;
        line-height: 58px;
        left: 13%;
       
    }
    
}

@media (max-width: 1000px) {
    .login{
        left: 50%;       
    } 

    h1 {
        display: none;
    }
    footer{
        position:fixed;
        bottom:0;
        padding-left: 0px;
    }

    footer aside {
    width: 100%;
    align-items: center;
    padding: 0 0.5em;
    }

    footer #copyright{
        text-align: center !important;
       
    }
    #copyright p{
        float: unset;
        margin-left: unset;
        margin-right: unset;
    }

    footer #contacts{
        display: none;
    }
       
}

@media (max-width: 800px) {
    .login{
        width:290px;
        height:345px;
        margin-top:unset;
        top: 50%;
        position: absolute;
        color: #000;
        left: 50%;
        text-align: center;
        background: #fff;
               
    } 

    h1{
        display: none;
    }
     
    footer{
        position:fixed;
        bottom:0;
        padding-left: 0px;
    }

    footer aside {
    width: 100%;
    align-items: center;
    padding: 0 0.5em;
    }

    footer #copyright{
        text-align: center !important;
       
    }
    #copyright p{
        float: unset;
        margin-left: unset;
        margin-right: unset;
    }

    footer #contacts{
        display: none;
    }
       
    #tutorial, #ajuda{
        display: none;
    }

    .login input{
        margin-bottom: 15px;
        
    }
}