body {
	margin: 0;
	font: normal normal 12px Arial, Tahoma, Helvetica, FreeSans, sans-serif;
	background: linear-gradient(to bottom right, #0F5EBC, #b3e5fc);	
	color: #222222;
	counter-reset: page;
}

p {	margin: 0!important;}

li {
	font-size: 16px!important;
	text-align: justify;
	margin: 10px 0;
}

li p{
	margin-top: 10px!important;
}

li.centro span {
  display: block;       
  text-align: center;   
  margin-top: 5px;     
}

/* Rodapé fixo com botões */
.rodape-botoes {
  position: fixed;
  bottom: 0px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 20px;
  background: rgba(0, 120, 212, 0.7);
  padding: 10px 0;
  z-index: 1000;
  box-shadow: 0 -2px 6px rgba(0,0,0,0.2);
  border-top: 1px solid #ccc;
}

.rodape-botoes a,
.rodape-botoes button {
  background: transparent;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.rodape-botoes a:hover,
.rodape-botoes button:hover {
  transform: scale(1.1);
}

.rodape-botoes svg {
  width: 24px;
  height: 24px;
  fill: white;
}

.centro{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: left;
}

.div-img{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 0px 10px!important;
}

.img-borda {
  border: 2px solid rgba(103,103,103,0.3); 
  border-radius: 8px; 
  padding: 0px;      
  display: inline-block;
}

figcaption {
  margin-top: 4px;
  font-style: italic;
  text-align: center;
  color: #333;
}

#vr{width:80; height:25;}
#desc{ width:200;}
#for{width:80;}

table{
  width: 360px;
  border-collapse: collapse;
  font-size: 16px;
  margin: 0 0 0 30px!important;	
}

.tb-dist{
	width: 440px;
}

table th, table td{
  border: 1px solid #333;
  text-align: center;
  font-size: 16px!important;
}

table thead{
  background-color: #f0f0f0;
  font-weight: bold;
}

.total{font-weight: bold;}

.tb3, .tb4{table-layout: fixed;}

/* Borda dupla na terceira coluna */
.tb4 #ct2:nth-child(1),
.tb4 td:nth-child(3),
.tb4 th:nth-child(3){
  border-right: 3px double #000;
}

.a2-page {
	display: flex;
	flex-direction: column;
	width: 1190px; /* Aproximadamente A2 em 96dpi */
	margin: 0 auto;
	padding: 20px;
	box-sizing: border-box;
	font-size: 1.1em;
}

.a4-section {
	display: flex;
	flex-direction: column;
  	width: 100%;
	height: auto;
	margin: 20px auto;
	padding: 50px !important;
	background-color: #fff;
	border: 1px solid #ccc;
	box-sizing: border-box;
	box-shadow: 0 0 10px rgba(0,0,0,0.05);
	padding: 20px;
	gap: 30px;
}

.title {/*Titulo principal*/
    font-size: 24px !important;
    font-weight: bold;
    margin-bottom: 1em;
	color: #3399bb;
	text-shadow: -1px -1px 1px rgba(0, 0, 0, .2);
	padding-bottom: 20px;
	padding-bottom: 20px;
}

.description {
	text-align: justify;
	font-size: 18px!important;
	color: #777777;
}

.sub-title {/*Titulo principal*/
    font-size: 16px !important;
    font-weight: bold;
    margin-bottom: 0.8em!important;
}

.indice{
	font-size: 18px!important;
	margin: 0!important;
	padding: 5px 0px!important;
}

.sub-indice{
	font-size: 1.2em!important;
}

.header-title{
	border-bottom: 1px solid #ddd;
	padding-bottom: 20px;
}

.header-content {
 	text-align: center!important;
	display: flex;
	flex-direction: column;	
}

.header-content p{
	font-size: 16px !important;
	margin: 0px 0;
	gap: 5px;
}

.univesidade{
	display: flex;
	justify-content: center;
	flex-direction: column;
	flex-wrap: wrap;
	gap:10px!important;
	margin: 10px!important;
}

.autores,.email {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	color: #555;
	margin: 0!important;
	gap: 10px;
}

.autores span::after {content: ",";}

.autores span:last-child::after {content: "";}

.email span:first-child::before {content: "e-mail: ";}

.email span::after {content: ",";}

.email span:last-child::after {content: "";}


.tab{text-indent: 30px;}

.column-container span{
	font-size: 16px!important;
	text-align: justify;
	display: block;
	margin-bottom: 0.8em!important;
}

.ni {
	font-size: 16px !important;
	display: block;
	margin-bottom: 0.8em; 
}

.item{
	display: block;
	margin-bottom: 0px!important;
	padding-bottom: 0!important;
	margin: 0 0 0 40px!important;
}

.tab10{
	display: block;
	margin-bottom: 0px!important;
	padding-bottom: 0!important;
	margin: 0 0 0 10px!important;
}

/* Colunas */
.column-container {
	display: flex;
	flex-direction: row;
	gap: 20px;
}

.column {
	width: 50%;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;

}

.footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 0.9em;
	color: #666;
	border-top: 1px solid #ccc;
	/*padding-top: 10px;*/
	padding: 10px 20px 0;
	margin-top: auto;
}

.footer-right::before {
	counter-increment: page;
	content: "Página " counter(page)!important;
}

.footer-left::before {content: "quinta-feira, 17 de maio de 2012";}

.footer-left {text-align: left;}

/* Responsivo */
@media screen and (max-width: 768px) {

	html, body {
	  overflow-x: hidden;
	}

	.item {
	margin: 5px 10px;
	overflow-x: hidden;
/*	border: 1px dashed red!important;*/
  }
	
  .a2-page, .tb-dist, table {
	  max-width: 100%;
	  width: 100%;
	  box-sizing: border-box;
	}
	
	.header-title,.description,.item,.tab,.tab10,
	.ni,.column,.column-container,.div-img,.img-borda,
	.a2-page,.a4-section,.tb-dist,table {
		  margin-left: 5px !important;
		  margin-right: 5px !important;
		  padding: 0 !important;
		  width: calc(100% - 10px) !important; /* 100% menos as margens */
		  box-sizing: border-box;
	}

	* {box-sizing: border-box;}

  .column-container {
    flex-direction: column!important;
	 gap:0px!important;
  }

  .column {
	padding: 0px 0px!important; 
	gap:0px!important;
	 /* border: 2px dashed rgba(84,0,128,1.00) !important;*/
  }

  .autores span::after {
    content: "";
  }
	
  .email span:first-child::before {
    content: "e-mail:";
    display: block;
    margin-bottom: 5px;
  }
	
  .email span::after {
  	content: "";
  }
	
  .footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 5px;
  }

  .footer-left,
  .footer-right {
    text-align: center;
  }
	
}

@media print {
	
	body{
		font-family: "Times New Roman", serif !important;
		font-size: 12pt;
		line-height: 1.1;
	}
	
	.title {
		font-size: 16pt!important;
		margin-top: -40px!important;
		padding-bottom: 0px!important;
	}
	
	.sub-title {font-size: 12pt !important;}
	
	.indice{
		font-size: 14pt!important;
		margin: 0px!important;
	}

	.sub-indice{font-size: 13pt!important;}

	.description {font-size: 12pt !important;}
  
	.header-content{margin: 0px 0!important;}
	
	.header-content p {font-size: 12pt!important;}
	
	.column-container span{font-size: 12pt!important;}
	
	.email {margin-bottom: 20px!important;}
	
	li{font-size: 12pt!important;}
	
	#vr{width:10px!important; height:25px!important;}
	#desc{ width:100px!important;}
	#for{width:40px!important;}
	
	.div-img{
		max-width: 250px!important;
		padding: 0 0!important;
		margin-top: -20px!important;
	}
		
	table{
		width: 100%;
		border-collapse: collapse;
		font-size: 12pt;	
		margin: 0cm 0 0 0!important;	
    }
	
	.tb-dist{
		width: 280px!important;
		margin-left: -20px!important;
    }

	table th, table tr{
		border: 1px solid #000;
		text-align: center;
	}

	table thead{
		background-color: #f0f0f0;
		font-weight: bold;
		display: table-header-group;
	}

	table tbody{display: table-row-group;}
		
	@page {
		size: A4;
		margin: 0;
	}

	html, body {
		margin: 0;
		padding: 0;
	}

	.a2-page {display: contents;}

	.a4-section {
		position: relative;
		height: 28.5cm;
		box-sizing: border-box;
		page-break-after: always;
		overflow: hidden;
		border: none !important;
    	box-shadow: none !important;
	}

	.column-container {
		padding-bottom: 1cm; 
	    margin-top: -30px!important;
	}

	.footer {
		position: absolute;
		bottom: 0.5cm;
		left: 1cm;
		right: 1cm;
		font-size: 10pt;
		border-top: 1px solid #333;
		padding-top: 0.5cm;
		text-align: right;
	}

	.rodape-botoes {display: none;}
	
}
