root { 
    display: block;
}

html, body { width: 100%; height: 100%; padding: 0; border: 0; margin: 0; }

body {
    background-image: url('../img/background.png');
    z-index: 1;
    padding: 0;
    margin: 0;
    border : 0;
}

#principal {
    display: block;
    width: 100%;
    height: 100%;
}

#top_header {
    width: 100%;
    height: 7px;
    padding: 0;
    margin: 0;
    border : 0;
    background-image: url('../img/top_header_x.png');
    background-repeat: repeat-x;
    z-index: 999;
}

#logo {
    position : absolute;
    top : 50%;
    left : 50%;
    margin-top: -200px;
    margin-left: -400px;
    width: 800px;
    height: 300px;
}


#logo img {
    width: 294px;
    position: absolute;
    top: 80px;
    left: 5px;
}

#box_sistema {
    position: absolute;
    top:15px;
    right: 75px;    
    padding-top: 20px;
    border-radius: 6px;
    background-image: url('../img/topoSistema.png');
    background-repeat: repeat-x;
}

#nome_sistema {
    position: absolute;
    color: white;
    margin-top: -18px;
    text-align: center;
    width: 100%;
    font-family: arial,verdana;
    font-size: 14px;
    font-weight: bold;
}

#box_login {
    width : 295px;
    height: 260px;
    border : 2px solid #ccc;
    border-radius: 6px;
    background: white;
    position: relative;
}

#box1 {
    width: 271px;
    height: 50px;
    border-radius: 5px;
    position: absolute;
    top: 80px;
    left: 10px;
    border : solid 2px #e2e2e2;


    background-color:#fafafa ;
    background-image:none;
    /*firefox*/
    background:-moz-linear-gradient(top, #e2e2e2 , #f8f8f8) repeat scroll 0 0 transparent;
    /*chorme e outros webkit*/
    background:-webkit-gradient(linear, left top, left bottom, from(#e2e2e2), to(#f8f8f8));
    /*ie*/
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr=#e2e2e2, endColorstr=#f8f8f8);

}

#box1 p {
    font-family: arial,verdana;
    font-size: 12px;
    padding: 0px;
    margin: 0px;
    color: #4c4c4c;
}

#box1 p span {
    width: 80px;
    display: block;
    float: left;
    padding : 3px;
    padding-left: 15px;
}

#box1 p span input {
    width: 130px;
    height: 13px;
    border : 1px solid #ccc;
    border-radius : 3px;
    font-family: arial,verdana;
    font-size: 11px;
}

#box2 {
    width: 271px;
    height: 50px;
    border-radius: 5px;
    position: absolute;
    top: 145px;
    left: 10px;
    border : solid 2px #e2e2e2;


    background-color:#fafafa ;
    background-image:none;
    /*firefox*/
    background:-moz-linear-gradient(top, #e2e2e2 , #f8f8f8) repeat scroll 0 0 transparent;
    /*chorme e outros webkit*/
    background:-webkit-gradient(linear, left top, left bottom, from(#e2e2e2), to(#f8f8f8));
    /*ie*/
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr=#e2e2e2, endColorstr=#f8f8f8);

}

#box2 p {
    font-family: arial,verdana;
    font-size: 12px;
    padding: 0px;
    margin: 0px;
    color: #4c4c4c;
}

#box2 p span {
    width: 80px;
    display: block;
    float: left;
    padding : 3px;
    padding-left: 15px;
}
#box2 p span input {
    width: 130px;
    height: 13px;
    border : 1px solid #ccc;
    border-radius : 3px;
    font-family: arial,verdana;
    font-size: 11px;
}

#bottom {
    width: 100%;
    height: 70px;
    padding: 0;
    margin: 0;
    border : 0;
    background-image: url('../img/bottom.png');
    background-repeat: repeat-x;
    z-index: 5;
    position: absolute;
    bottom: 0
}

#logo_bottom {
    z-index: 998;
    position: absolute;
    bottom: 35px;
    height: 50px;
    right : 22%;
}

#msmorais {
    width: 800px;
    text-align: left;
    font-family: arial, verdana;
    font-size: 12px;
    color : #fefefe;
    z-index: 996;
    position: absolute;
    bottom: 40px;
    left: 50%;
    margin-left: -400px;
}

#sgncombr {
    width: 800px;
    text-align: left;
    font-family: arial, verdana;
    font-weight: bold;
    font-size: 20px;
    color : #fefefe;
    z-index: 996;
    position: absolute;
    bottom: 20px;
    left: 50%;
    margin-left: -400px;
}

#guver {
    z-index: 996;
    position: absolute;
    bottom: 0;
    right: 25%;
}

.mensagem {
    display: block;
    margin: auto;
    max-width: 400px;
    background-color: yellow;
    font-family: arial,verdana;
    font-size: 12px;
    text-align: center;
    padding: 2px;
}

.erro {
    color: red;
}