﻿/* andreas01 - an open source xhtml/css website layout by Andreas Viklund (http://andreasviklund.com). Made for OSWD.org, free to use as-is for any purpose as long as the proper credits are given for the original design work. For design assistance and support, contact me through my website or through http://oswd.org/email.phtml?user=Andreas

Version: 1.0
(July 25, 2005)

Screen layout: */
body {
	margin: 0 auto;
	padding: 0;
	font: 0.8em "Trebuchet MS", sans-serif;
	background: #f4f4f4 url("bg.gif") top center repeat-y;
}
#wrap {
	background: #ffffff;
	color: #303030;
	margin: 0 auto;
	width: 1000px;
}
#header {
	clear: both;
	margin: 5px 0 0 0;
	padding: 0;
	height: 35px;
}
#header h1 {
	width: 250px;
	margin: 0 0 10px 0;
	float: left;
}
#header p {
	width: 500px;
	float: right;
	text-align: right;
	color: #a0a0a0;
	margin: 0 0 10px 0;
	font-size: 0.8em;
	line-height: 1.2em;
	font: 0.8em "Trebuchet MS", sans-serif;
}
#frontphoto {
	margin: 0 0 10px 0;
	border: 0;
}

/* MENU*/
#avmenu {
	clear: left;
	float: left;
	width: 170px;
	padding: 0;
}
	    
#avmenu ul {
    position: relative;
    z-index: 597;
    float: left; 
    list-style: none;
	margin: 0 0 20px 0;
	padding: 0;
}

#avmenu li {
  margin-bottom: 4px; /*espaços entre menus*/
}
  
#avmenu ul li.hover, #avmenu ul li:hover {
  position: relative;
  z-index: 599;
  cursor: default;
}

#avmenu ul ul {
  visibility: hidden; /*se não estiver assim, aparece sempre*/
  position: absolute;
  top: 100%;
  left: 5%;
  width: 161px; 
}
 
#avmenu ul li:hover > ul { /* é o que faz mostrar o sub menu*/
  visibility: visible; 
}

/* Custom Stuff */
  
#avmenu a {
   	font-weight: bold;
	height: auto;
	text-decoration: none;
	display: block;
	padding: 6px 0 0 10px;
	background: #f4f4f4;
	border-left: 4px solid #cccccc; 
}
	
#avmenu:after, #avmenu ul:after {
    content: '';
    display: block;
    clear: both;
}
	
#avmenu ul, #avmenu li {
    width: 100%;
}
	
#avmenu a {
    color: #505050; /* cor dos menuns*/
    line-height: 160%; /* posicao dos menus*/
    padding: 6px 0px 0px 10px; 
}
	
#avmenu a:hover{ /*done*/
	background: #eaeaea;
	color: #286ea0;
	border-left: 4px solid #286ea0; 
}
		  
#avmenu .has-sub {
    position: relative;  /*posicao da seta*/
} 
	
#avmenu .has-sub:after, #avmenu .has-sub > ul > .has-sub:hover:after {
      content: '';
      display: block;
      width: 10px;
      height: 9px;
      position: absolute;
      right: 4px;
      top: 50%;
	  
      margin-top: -5px;
      background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAJCAMAAAA8eE0hAAAAUVBMVEX////MzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzNzc3l5eXg4ODZ2dnMzMzi4uLS0tLe3t7Q0NDV1dXj4+PW1tbk5OTc3NzPz8/R0dH0Zv5RAAAAC3RSTlMAM2YekAmlPHuEAwArv7wAAAA/SURBVHheY2Dl5mdigABGKV5BNnYok4dHQpKFGcrkEefj5gAzQUBABM7kFYQyRcX4mUBMkEpOLrA2IWGwfgYAn0UDZszv8IwAAAAASUVORK5CYII=);
      -moz-transform: rotate(90deg);
      -o-transform: rotate(90deg);
      -ms-transform: rotate(90deg);
      -webkit-transform: rotate(90deg);
      transform: rotate(90deg);
}
      
 /* FIM MENU*/
      
 .announce {
	margin: 10px 0 10px 0;
	padding: 10px;
	width: 130px;
	color: #505050;
	background-color: #f4f4f4;
	line-height: 1.3em;
}
#roundtop {
	background-image: url(/images/rounded-top.jpg);
	width: 165px;
	height: 10px;
	float: right;
}
#roundside {
	background-image: url(/images/rounded-sides2.jpg);
	background-repeat: repeat-y;
	width: 165px;
	float: right;
}
#roundside h3 {
	font-size: 1.3em;
	padding: 0 5px 15px 5px;
	text-align: center;
	margin: 0 0 0 0;
}
#roundside h4 {
	font-size: 0.9em;
	padding: 0 5px 10px 5px;
	text-align: center;
	font-weight: bold;
	font-style: italic;
	margin: 0 0 0 0;
}
#roundside p {
	font-size: 0.9em;
	padding: 0 5px 0 5px;
	text-align: left;
	font-family: "Trebuchet MS", sans-serif;
	margin: 0 0 0 0;
}
#roundside p.comentario {
	font-size: 0.9em;
	padding: 0 25px 0 25px;
	text-align: left;
	font-family: "Trebuchet MS", sans-serif;
	margin: 0 0 0 0;
}
#roundside img {
	text-align: center;
}
#roundbottom {
	background-image: url(/images/rounded-bottom.jpg);
	width: 165px;
	height: 10px;
	float: right;
}
#extras {
	float: right;
	width: 150px;
	margin: 0 0 10px 0;
	padding: 0;
	font-size: 0.9em;
	line-height: 1.5em;
}
#extras p {
	margin: 0 0 1.5em 0;
}
#content {
	margin: 0 160px 20px 180px;
	border-left: 1px solid #f0f0f0;
	border-right: 1px solid #f0f0f0;
	padding: 0 10px 0 10px;
	line-height: 1.6em;
	text-align: right;
}
#content h2 {
	font-size: 1.5em;
	margin: 0 0 1em 0;
	text-align: left;
	font-family: "Trebuchet MS", sans-serif;
}
#content h3 {
	font-size: 1.2em;
	margin: 2em 0 1em 0;
	text-align: left;
	font-family: "Trebuchet MS", sans-serif;
}
#content img {
	padding: 1px;
	display: inline;
	background: #cccccc;
	border: 4px solid #f0f0f0;
}
#content p {
	font: 1em serif;
	margin: 0 0 1.5em 0;
	text-align: left;
	font-family: "Trebuchet MS", sans-serif;
}
#content li {
	text-align: left;
}
#content .regulamento .titulo {
	text-align: center;
	 font-weight: bold;
	margin-top: 15px;
}
#content .regulamento ol {
	list-style-type: decimal;
	text-align: justify;
}
#content .regulamento ol li{
	text-align: justify;
}
#content .regulamento ol ol {
	list-style-type: lower-alpha;
	text-align: justify;
}
#content .regulamento ol ol ol {
	list-style-type: lower-roman;
	text-align: justify;
}
#content .pergunta {
 font-weight: bold;
	margin-top: 20px;
	margin-bottom: 0px;
}
#content .resposta {
 font-weight: normal;
	margin-top: 0px;
	margin-bottom: 0px;
}
p {
	font: 0.5em serif;
	margin: 0 0 1.5em 0;
}
a {
	text-decoration: none;
	color: #286ea0;
}
a:hover {
	text-decoration: underline;
	color: #286ea0;
}
a img {
	border: 0;
}
#footer {
	clear: both;
	margin: 0 auto;
	padding: 10px 0 20px 0;
	border-top: 4px solid #f0f0f0;
	width: 1000px;
	text-align: center;
	color: #808080;
	font-size: 0.9em;
}
#footer a {
	color: #808080;
	text-decoration: none;
}
#footer a:hover {
	text-decoration: underline;
}
.left {
	margin: 10px 10px 5px 0;
	float: left;
}
.right {
	margin: 10px 0 5px 10px;
	float: right;
}
.textright {
	text-align: right;
}
.center {
	text-align: center;
}
.small {
	font-size: 0.8em;
}
.bold {
	font-weight: bold;
}
.hide {
	display: none;
}
.bothmargins {
	margin: 0 5px 0 5px;
}
