body
{
	background-color: #fafafa;
	max-width: 1200px;
	border: 0px solid #449977;
	font-size: 1.2em;
	font-family: "Times New Roman", Times;
	text-align: center;
}

.center
{
	margin: 0 auto; /*centralizando o conteúdo no navegador*/
	max-width: 1200px;
	width: 100%;
}

header
{
	color: #006526;
	display: block;
	border-top: 0px solid #cccccc;
	border-right: 0px solid #cccccc;
	border-bottom: 1px solid #cccccc;
	border-left: 0px solid #cccccc;
	background-color: #fafafa;
	font-size: 2.0em;
	font-weight: 700;
	text-shadow: 2px 2px #eeeeee;
	max-width: 100%;
	height: 100px;
	margin: 5px 10px 5px 10px;
	//border-radius: 10px;
}

header img
{
	position: relative;
	top: 25%;
	left: 2%;
	height: 50px;
	margin: 0px;
	padding: 0px;
	float: left;
}

header span
{
	display: block;
	position: relative;
	top: 25%;
	left: -50px;
}

.container
{
	display: table;
	background-color: #fafafa;
	margin: 5px 5px 5px 5px;
	width: 99%;	
}

.menu
{
	width: 20%;
	display: block;
	float: left;
	border-top: 0px solid #cccccc;
	border-right: 1px solid #cccccc;
	border-bottom: 0px solid #cccccc;
	border-left: 0px solid #cccccc;
	background-color: #fafafa;
	padding: 20px 5px;
	margin: 0px 5px 5px 5px;
}

.menu p
{
	font-size: 1.2em;
	color: #006526;
	text-align: center;
	font-weight: bold;
	margin: 10px;
}

.menu hr
{
	width: 80%;
	color: #f7f7f7;
}

.menu ul
{
	list-style-type: none;
	font-size: 0.9em;
	padding: 2px;
	margin: 5px;
	text-align: left;
}

.menu a, .menu a:link, .menu a:visited
{
    display: block; 
	text-decoration: none;
	padding: 5px;
	margin: 0px;
	color: #000000;	
	font-weight: normal;
}

.menu a:hover
{
    background-color: rgba(50,115,76,1);
	color: #fff;
	width: 100%;
	font-size: 1.0em; 
    font-weight:700;
    text-decoration: none; /*inseri uma linha sob o link*/
    text-shadow: none; /*retira a sombra da fonte*/
	display: block;
}

.login
{
	display: block;
	border: 0px solid #cccccc;
	background-color: #fafafa;
	width: 99%;
	height: 350px;
	padding-top: 100px;
	border-radius: 10px;
}

.login input
{
	margin: 10px;
	font-size: 1.2em;
}

.principal
{
	display: table;
	border: 0px solid #cccccc;
	background-color: #fafafa;
	width: 78%;
	height: 512px;
	padding-top: 10px;
	padding-bottom: 10px;
	border-radius: 10px;
}

.principal p
{
	font-size: 1.5em;
	text-align: center;
}

.principal .tab
{	
	position: relative;
	left: 20%;
	text-align: left;
	margin-right: 20px;
	max-width: 90%;
}	

.principal .tab table
{
	max-width: 80%;
	margin-top: 10px;
	border-collapse: collapse;
	border: 1px solid #000000;
}

.principal .tab th ,td
{
	margin-top: 10px;
	border-collapse: collapse;
	border: 1px solid #000000;
	padding: 5px 10px 5px 10px;
}

.principal .tab td
{
	font-size: 0.8em;
}

.principal .tab td.num
{
	text-align: center;
}

.principal .tab th
{
	font-weight: 700;
	text-align: center;
	background-color: #555555;
	color: #dddddd;
	font-size: 0.9em;
	padding: 5px 10px 5px 10px;
}

.principal h2
{
	position: relative;
	top: -20px;
}

.principal a, .principal a:link, .principal a:visited
{
	font-size: 1.0em; 
    color:#006526; 
    font-weight:600;
    text-decoration:none;
    text-shadow: 1px 1px #ffffff;
    display: block;
}

.principal a:hover
{
     color:#003010;
     font-weight:600;
     text-decoration: none; 
     text-shadow: 1px 1px #ffffff; 
     text-shadow: 1px 1px #ffffff; 
	 display: block;
}

.principal .formulario
{
	margin-left: 20%;
	width:60%;
	text-align: left;
} 

.principal .formulario label
{
	float: left;
	width: 30%; 
	/* margin-bottom: 5px; */
}

.principal .formulario label.unico
{
	float: left;
	width: auto;
	margin-right: 10px; 
}

.principal .formulario input
{
	width: 50%;
	margin-bottom: 5px;
	border: 1px solid #ccc;  
}

.principal .formulario input[type=text]
{
	height: 1.7em;	
	/* box-shadow: 1px 1px 5px 1px #888888;
	background-color: #449977;
	color: white;
	border: 0px; */
}

.principal .formulario input.alto
{
	width: 30%;
	margin-bottom: 5px;
	border: 1px solid #ccc;  
}

.principal .formulario select
{
	width: 50%;
	min-height: 25px;
	background-color: #dddddd;
    border: none;
    border-radius: 5px;
    color: black;
    padding: 5px 10px;
    margin: 2px;

}

.principal .formulario select.sel
{
	width: 50%;
	min-height: 25px;
	margin-bottom: 5px;
}

.principal .formulario span#localplus
{
	width: 50%;
	min-height: 25px;
	margin-bottom: 20px;
}


.principal .formulario select.unico
{
	width: auto;
}

.principal .formulario textarea
{
	width: 100%;
}


.principal .formulario input.botao
{
	width: 120px;
	background-color: #006526;
    border: none;
    color: white;
    padding: 10px 10px;
    text-decoration: none;
    margin: 4px 2px;
    cursor: pointer;
    text-align: center; 
	border-radius: 5px;
}

.principal .formulario input.botaog
{
	width: 200px; 
}

.principal .formulario .buttons
{
/*	display: block; */
	position: relative; 
	top: 30px;
	text-align: center;	
}

.principal  .formulario a, .principal .formulario a:link, .principal .formulario a:visited
{
	font-size: 1em; 
    color:#006526; 
    font-weight:300;
    text-decoration:none;
    text-shadow: 1px 1px #ffffff;
	display: inline; 
}

.principal .formulario a:hover
{
     color:#003010;
     font-weight:300;
     text-decoration: none; 
     text-shadow: 1px 1px #ffffff; 
     text-shadow: 1px 1px #ffffff; 
}

.principal div#cad_autor
{
     //border: 1px solid #777;
     margin: 15px 0px 15px 0px;
     padding: 5px;
     //font-style: italic;
     background: #f0f0f0;  
}


.principal div.bordacad
{
     //border: 1px solid #777;
     margin: 10px 0px 10px 0px;
     padding: 5px;
     font-style: italic;
     background: #ffffe6;  
}

.principal div.consulta
{
	width: 100%;
     margin: 10px 0px 10px 0px;
     padding: 10px;
     font-style: normal;
     text-align: left;
     //background: #ffffe6;  
}

.principal div.consulta label
{
     margin: 2px;
     padding: 2px;
     font-style: italic;
     background: #ffffe6;  
}

.principal div.consulta table
{
	width: 90%;
    text-align: center;
    border: 0px;
    background: #ffffff;  
}

.principal div.consulta th
{
     text-align: center;
     border: 0px;
     background: #e0e0e0;  
}

.principal div.consulta td.linha0
{
     border: 0px;
     background: #f0f0f0;  
	 font-size: 0.7em; 
 
}

.principal div.consulta td.linha1
{
     border: 0px;
     background: #fbfbfb;  
	 font-size: 0.7em; 
 
}

.principal div.relat a
{
     display: inline-block; 
}

@media screen and (max-width:800px){

	header
	{
	display: block;
	border: 1px solid #aaaaaa;
	font-size: 1.2em;
	font-weight: 700;
	text-shadow: 1px 1px #ffffff;
	max-width: 100%;
	height: 100px;
	margin: 10px;
	margin-right: 8px;  
	background-color: #dddddd;
	}
	
	header img
	{
	position: relative;
	top: 5%;
	left: 0%;
	height: 60px;
	margin: 0px;
	padding: 0px;
	float: none;
	}
	
	header span
	{
	display: block;
	position: relative;
	top: 5%;
	left: 0%;
	}
	
	.principal
	{
	display: table;
	border: 1px solid #aaaaaa;
	background-color: #dddddd;
	width: 73%;
	padding-top: 90px;
	margin-left: 27%;
	padding-bottom: 50px;
	height: 240px;
	}
	
	.principal h2
	{
	font-size: 1.2em;
	position: relative;
	top: -20px;
	}
	
	.principal .tab
	{
	font-size: 0.9em;
	left: 10%; 
	text-align: left;
	margin-right: 0px;
	max-width: 100%;
	}	
}

@media screen and (max-width:640px){

	header
	{
	display: block;
	border: 1px solid #aaaaaa;
	font-size: 1.2em;
	font-weight: 700;
	text-shadow: 1px 1px #ffffff;
	max-width: 100%;
	height: 100px;
	margin: 10px;
	margin-right: 8px;  
	background-color: #dddddd;
	}
	
	header img
	{
	position: relative;
	top: 5%;
	left: 0%;
	height: 60px;
	margin: 0px;
	padding: 0px;
	float: none;
	}
	
	header span
	{
	display: block;
	position: relative;
	top: 5%;
	left: 0%;
	}
	
	.container
	{
	display: block;
	border: 0px solid #aaaaaa;
	background-color: #eeeeee;
	margin: 0px;
	max-width: 100%;
	height: 400px;	
	}

	.menu
	{
	display: block;
	width: 100%;
	float: none;
	border: 1px solid #aaaaaa;
	background-color: #dddddd;
	padding: 0px 0px;
	margin: 10px 10px 10px 0px;
	}
	
	.menu ul
	{
	list-style-type: none;
	font-size: 0.9em;
	padding: 2px;
	margin: 0px;
	text-align: center;
	}
	
	.menu hr
	{	
	width: 90%;
	color: #dddddd;
	}
	
	.principal
	{
	display: table;
	width: 95%;
	border: 1px solid #aaaaaa;
	background-color: #dddddd;
	height: 350px;
	padding-top: 20px;
	padding-left: 5%;
	margin-left: 0%;
	}
	
	.principal p
	{
	font-size: 1.2em;
	text-align: center;
	}


	.principal .tab
	{
	border: 0px solid #000000;
	font-size: 0.9em;
	left: 0%; 
	text-align: left;
	margin-right: 10px;
	max-width: 95%;
	}		
	.principal h2
	{
	font-size: 1.2em;
	position: relative;
	top: 0px;
	}
	
	.principal .formulario
	{
	position: relative;
	left: 0%;
	display: block;
	width:95%;
	border: 0px solid #000000;
	margin-left: 0%;
	} 
	
	.principal .formulario label
	{
	float: left;
	width: 90%; 
	}
	
	.principal .formulario textarea
	{
	width: 90%;
	}
	
	.principal .formulario input
	{
	width: 90%;  
	}
	
	.principal .formulario select
	{
	width: 80%;
	}
	
	.principal .formulario label.unico
	{
	display: block;
	text-align: center;
	width: 100%;
	}
	
	.principal .formulario select.unico
	{
	width: 100%;
	}
	
	.principal .formulario input.unico
	{
	width: 100%;
	}
	
	.principal .tab table
	{
	max-width: 100%;
	margin-top: 10px;
	border-collapse: collapse;
	border: 1px solid #000000;
	}
	
}

