/********************************************
 AUTHOR: Denis
 WEBSITE:  http://www.automarcas.net/
  VERSION:     1.1
*******************************************/

/* top elements */
* { margin: 0; padding: 0; }

body {
	margin: 0; padding: 0;
	font: 70%/1.5 Verdana, Tahoma, Arial, Helvetica, sans-serif;
	color: #333;
	background: #FFF url(../images/bg_02.gif) repeat-x;
	height: 100%;
}

/* links */
a {
	color: #003366;
	background-color: inherit;
	text-decoration: none;
}
a:hover {
	color: #CE0000;
	background-color: inherit;
}

/* headers */
h1, h2, h3 {
	font-family: Arial, 'Trebuchet MS', Sans-Serif;
	font-weight: bold;
	color: #333;
}
h1 {
	font-size: 120%;
	letter-spacing: .5px;
}
h2 {
	font-size: 115%;
	text-transform: uppercase;
}
h3 {
	font-size: 115%;
	color: #003366;
}

/* images */
img {
	border: 2px solid #CCC;
}
img.float-right {
	margin: 5px 0px 10px 10px;
}
img.float-left {
	margin: 5px 10px 10px 0px;
}

h1, h2, h3, p {
	padding: 0;
	margin: 10px;
}

ul, ol {
	margin: 10px 20px;
	padding: 0 20px;
}

code {
	margin: 10px 0;
	padding: 10px;
	text-align: left;
	display: block;
	overflow: auto;
	font: 500 1em/1.5em 'Lucida Console', 'courier new', monospace;
	/* white-space: pre; */
	background: #FAFAFA;
	border: 1px solid #f2f2f2;
	border-left: 4px solid #CE0000;
}
acronym {
	cursor: help;
	border-bottom: 1px solid #777;
}
blockquote {
	margin: 10px;
	padding: 0 0 0 32px;
	/*background: #FAFAFA url(../images/quote.gif) no-repeat 5px 10px !important;*/
	background-position: 8px 10px;
	border: 1px solid #f2f2f2;
	border-left: 4px solid #CE0000;
	font-weight: bold;
}

/* form elements */
form {
	margin:10px; padding: 0 5px;
	background-color: #E3E2E2;
}

form.login {
	margin:0px;
	padding: 0 0px 0 17px;
	background-color: #E3E2E2;
}
form.login input[type=button] {
	font: bolder 12px Arial, Sans-serif;
	border: 1px solid #CCC;
	background: #696969;
	color: #ffffff;
	margin: 2px 0px;
	width:100px;
}

label {
	display:block;
	font-weight:bold;
	margin:5px 0;
}
input {
	padding: 2px;
	border:1px solid #eee;
	font: normal 1em Verdana, sans-serif;
	color:#777;
}
textarea {
	width:400px;
	padding:2px;
	font: normal 1em Verdana, sans-serif;
	border:1px solid #eee;
	height:100px;
	display:block;
	color:#777;
}
input.button {
	margin: 0;
	font: bolder 12px Arial, Sans-serif;
	border: 1px solid #CCC;
	padding: 1px;
	background: #FFF;
	color: #CE0000;
}
/* search form */
form.search {
	position: absolute;
	top: 5px; right: 5px;
	padding: 0; margin: 0;
	border: none;
	background-color: transparent;
}
form.search input.textbox {
	margin: 0;
	width: 120px;
	border: 1px solid #CCC;
	background: #FFF;
	color: #333;
}
form.search input.searchbutton {
	margin: 0;
	font-size: 100%;
	font-family: Arial, Sans-serif;
	border: 1px solid #CCC;
	background: #FFFFFF url(../images/headerbg.gif) repeat-x bottom left;
	padding: 1px;
	font-weight: bold;
	height: 23px;
	color: #333;
	width: 60px;
}

/**********************************
LAYOUT
***********************************/
#wrap {
	margin: 0 auto;
	width: 780px;
}

#fundo_cinza {
	float: right;
	margin: 0 auto;
	left: 620px;
	width: 800px;
	height: 115px;
	background: #696969;
	z-index: -1;
}

/* header */
#header {
	position: relative;
	margin: 0; padding: 0;
	height: 114px;
	background: #696969;
}

#header-logo {
	position: absolute;
	/*clear: both;*/
	width: 100%;
	height: 114px;
	margin: 0; padding: 0;	
}	
#header-logo #logo {
	position: absolute;
	margin: 0; padding: 0;
	width: 285px;
	height: 114px;
	background: #FFFFFF url(../images/logo_home_02.gif) no-repeat;
}

#header #middle {
	position: absolute;
	top: 0px; left: 285px;
	width: 315px;
	height: 114px;
	background: #696969 url(../images/img_middle_03.gif) no-repeat;
	z-index: 8;
}

#header #menu  {
	position: absolute;
	left: 169px;
	top: 92px;
	height: 26px;
	width: 608px;
	z-index: 10;
}
/* navigation tabs */
#header #menu ul {
	display: inline;
	margin: 69px 0;
	padding: 23px 0;
	list-style:none;
	right:-18px ; 
	bottom: 3px;
	font: bold 13px 'Trebuchet MS', Arial, Sans-serif;
}
#header li {
	display:inline;
	margin:0; padding:0;
}
#header a {
	float:right;
	margin:0;
	padding:0 0 0 0px;
	text-align:center;
	text-decoration:none;
}
#header a span {
	float:left;
	display:block;
	width: 80px;
	background: url(../images/botao_menu_06.gif) no-repeat right top;
	padding:5px 15px 0px 6px;
	color:#000;
}
/* Commented Backslash Hack hides rule from IE5-Mac \*/
#header a span {float:none;}
/* End IE5-Mac hack */
#header a:hover span {
	color:#FFF;
}
#header a:hover {
	background-position:0% -42px;
}
#header a:hover span {
	background-position:100% -42px;
	color: #fff;
	background: url(../images/botao_menu_05.gif) no-repeat right top;
}
#header #current a {
	background-position:0% -42px;
}
#header #current a span {
	background-position:100% -42px;
	color: #fff;
	background: url(../images/botao_menu_05.gif) no-repeat right top;
}

/* main column */
#main {
	position: absolute;
	padding: 0px;
	top: 122px;
	width: 545px;
	height: 490px;
	overflow: auto;
}
#main h1 {
	margin: 10px 0;
	padding: 4px 0 4px 8px;
	font-size: 105%;
	color: #FFF;
	text-transform: uppercase;
	background-color: #CE0000;
	letter-spacing: .5px;
}

#main p 
{
	padding: 0;
	margin: 10px;
    text-align:justify;
}

#main2 {
	position: absolute;
	padding: 0px;
	top: 122px;
	width: 780px;
	height: 590px;
	overflow: auto;
}
#main2 h1 {
	margin: 10px 0;
	padding: 4px 0 4px 8px;
	font-size: 105%;
	color: #FFF;
	text-transform: uppercase;
	background-color: #CE0000;
	letter-spacing: .5px;
}

#main2 p 
{
	padding: 0;
	margin: 10px;
    text-align:justify;
}

/* sidebar */
#sidebar {
	position: relative;
	left: 550px;
	width: 220px;
	margin-top: 18px; padding: 0;
}

#sidebar ul 
{
    width:200px;
}

#sidebar h1
{
	padding: 4px 0px 4px 8px;
	background: #696969;
	margin: 10px 0px 0px;
	font: bold 105% Arial, Sans-Serif;
	text-transform: uppercase;
	color: #fff;
	letter-spacing: 1px;
}

#sidebar .left-box {
	margin: 0 0 0 0;
	background: #E3E2E2;	
	border: 1px solid #E3E2E2;
}
#sidebar ul.sidemenu {
	list-style: none;
	text-align: left;
	margin: 3px 0px 8px 0; padding: 0;
	text-decoration: none;
}
#sidebar ul.sidemenu li {
	border-bottom: 1px solid #f2f2f2;
	background: url(../images/bullet.gif) no-repeat 3px 2px;
	padding: 3px 5px 3px 25px;
	margin: 0;
}
#sidebar ul.sidemenu a {
	font-weight: bolder;
	padding: 3px 0px;
	background: none;
}

/* footer */
.footer {
	position: fixed;
	border-top: 1px solid #f2f2f2;
	height:10px;
	width: 760px;
	left: 50%;
	top: 565px;
	margin: 40px 0 0 -380px; padding: 0 0 10px 0; /* assuming footer of height 100px */
	background: #E3E2E2;
}

.footer #empresas{
    margin: 2px 10px 10px 10px;
	text-align: left;
	line-height: 1.5em;
	font-size: 95%;
}

.footer #config{
	margin: 10px 10px 50px 400px;
	text-align: right;
	line-height: 1.5em;
	font-size: 95%;
}

.footer a {
	text-decoration: none;
	font-weight: bold;
}

/* alignment classes */
.float-left { float: left; }
.float-right { float: right; }
.align-left { text-align: left; }
.align-right { text-align: right; }

/* display and additional classes */
.clear { clear: both; }
.red  { color: #CE0000; }
.comments {
	margin: 20px 10px 5px 10px;
	padding: 3px 10px;
	border: 1px dashed #e6e6e6;
}
.rtop, .rbottom{display:block}
.rtop *, .rbottom *{display: block; height: 1px; overflow: hidden}
.r1{margin: 0 5px}
.r2{margin: 0 3px}
.r3{margin: 0 2px}
.r4{margin: 0 1px; height: 2px}

div#hat {
		position: absolute;
		width: 128px;
		height: 128px;
		left: 142px;
		top: -12px;
		background: url(../images/santacornerhat-icon.png) no-repeat;
		z-index: 1;
	}
	
div#hat2 {
		position: absolute;
		width: 128px;
		height: 128px;
		left: 142px;
		top: 216px;
		background: url(../images/santacornerhat-icon.png) no-repeat;
		z-index: 1;
	}	