/*
File:         global.css
Created by:   dri consultoria informática
Date created: 15-04-2009
Copyright:    dri consultoria informática
------------------------------------------------------------------------------------------------------------------------------*/

/* Elementos básicos
------------------------------------------------------------------------------------------------------------------------------*/

body {
	background:#FFFFFF url(../images/background-site.jpg) no-repeat 0 0;
	position:static;	
}

body, p, td, th, li {
	font-family: "Lucida Sans Unicode", Arial, Verdana;
	font-size:.875em;
	line-height:1.5em;
	color:#000000;
}

#wrapper {
	min-height:100%;
	position:absolute;
	display:block;
	z-index:9;
}

/* Formatação dos links
------------------------------------------------------------------------------------------------------------------------------*/
a:link, a:visited {
}

a:hover, a:active {
}



/* Tipografia
------------------------------------------------------------------------------------------------------------------------------*/
h1 			{ color:#000; margin:10px 0 10px 0; font-size:2.125em; }
h2 			{ color:#5C8127; margin:.825em 0 .5em 0; font-size:1.75em; }
h3 			{ color:#5C8127; margin:.825em 0 .5em 0; font-size:1.5em; }
h4 			{ color:#5C8127; margin:.825em 0 .5em 0; font-size:1.25em; }
h5 			{ color:#5C8127; margin:.825em 0 .5em 0; font-size:1.125em; }
h6 			{ color:#5C8127; margin:.825em 0 .5em 0; font-size:1em; }
blockquote 	{ margin:0 0 18px 18px; color:#666666;	font-style:italic; }
strong 		{ font-weight:bold; }
em 			{ font-style:italic; }



/* Listas
------------------------------------------------------------------------------------------------------------------------------*/
ul { margin:26px 0 0 0; list-style-type:none; }
ol { margin-left:25px; }



/* Classes gerais
------------------------------------------------------------------------------------------------------------------------------*/
.left 		{ float:left; }
.right 		{ float:right; }
.clearThis 	{ clear:both; }
.small 		{ font-size:.625em; }
.large 		{ font-size:1em; }
.soft 		{ color:#D3D3D3; }
.hide 		{ display:none; }
.rounded	{ -moz-border-radius:5px; -webkit-border-radius:5px; border-radius:5px; }
p.last 		{ margin-bottom:0px; }




/* Header
------------------------------------------------------------------------------------------------------------------------------*/
#header {
	height:65px;
	padding:15px 0 0 220px;
	position:absolute;
}



/* Main Content
------------------------------------------------------------------------------------------------------------------------------*/
#content-wrapper {
	padding-left:28px;
	display:block;
	height:100%;
}

#content {
	padding:0 0 0 0;
	margin-left:189px;
	min-height:480px;
	/*display:block;*/
	height:100%;
}

#flashHolder {
	width:100%;
	height:99%;
	min-height:99%;
	position:absolute;
	z-index:1;
}

/* Navigation
------------------------------------------------------------------------------------------------------------------------------*/
#nav {
	width:189px;
	float:left;
	margin-top:80px;
	height:100%;
}

#nav ul {
	float:left;
}

#nav li {
	float:left;
	width:180px;
}

#nav li a.border1, 
#nav li a.border2, 
#nav li a.border3, 
#nav li a.border4 {
	padding:13px 0 13px 5px;
	display:block;
	font-family:"Lucida Sans Unicode", Arial, Verdana;
	font-size:13px;
	color:#999999;
	text-decoration:none;
	border-bottom:1px solid #ccc;
	width:177px;
}

#nav li a:hover {
	color:#000;
}

#nav li a.border1 {
	border-left:7px solid #686868;
}

#nav li a.border2 {
	border-left:7px solid #8e8e8e;
}

#nav li a.border3 {
	border-left:7px solid #b3b3b3;
}

#nav li a.border4 {
	border-left:7px solid #d9d9d9;
}

#nav li a.border1:hover, 
#nav li a.border2:hover, 
#nav li a.border3:hover, 
#nav li a.border4:hover {
	border-left:7px solid #000;
}







/* Footer
------------------------------------------------------------------------------------------------------------------------------*/
#footer {
	position:absolute;
	display:block;
	bottom:0;
	font-size:11px;
	color:#999;
	margin-left:30px;
}

#footer a {
	color:#FF6600;
	text-decoration:none;
}

#footer a:hover {
	color:#999;
}

#footer .copy {
	padding-left:10px;
	line-height:1.2em;
}

#footer .credits {
	padding-left:10px;
}



/* Accordion extra classes and id's
------------------------------------------------------------------------------------------------------------------------------*/
#accordion,
#accordion-bo {
	width:189px;
}

#accordion div {
	background:url(../images/fundo-submenu.jpg) no-repeat 0 1px;
}

#accordion div a.active,
#accordion-bo div a.active{
	background-color:#C0C0C0;
}

#accordion ul,
#accordion-bo ul {
	margin:0;
}



/* Modals
------------------------------------------------------------------------------------------------------------------------------*/
.modal {
	display:none;
	width:535px;
}

.modal-container {
	background:url(../images/modal-back.png) repeat-y -8px 0;
	padding:10px 55px 0 40px;
	width:440px;
	height:220px;
	/*float:left;*/
}

.modal-container, .modal-container p {
	font-size:13px;
	color:#767676;
	padding-bottom:15px;
}

.modal-container a.rounded, .modal-container p a.rounded {
	color:#333;
	text-decoration:none;
}

.modal-container a:hover, .modal-container p a:hover {
	color:#000;
	text-decoration:underline;
}

.modal-bottom {
	padding:0;
	margin:0;
	height:39px;
}

.close {
	float:right;
}

.modal-title {
	padding:0 0 15px 0;
}

.modal-user {
	width:210px;
	float:left;
	color:#4c4c4c;
}

.modal-pass {
	width:200px;
	float:left;
	color:#4c4c4c;
	margin-left:30px;
}

.modal-user input, .modal-pass input {
	background:url(../images/textbox-background.gif) no-repeat 0 0;
	width:190px;
	border:0 none;
	padding:5px;
	font-family:"Lucida Sans Unicode", Arial, Verdana;
}

.modal-caption {
	padding-bottom:10px;
}


.modal-submit {
	float:right;
	margin:8px 0 0 0;
}

.modal-submit .btn {
	background:transparent url(../images/btn-background.gif) no-repeat;
	font-family:"Lucida Sans Unicode", Arial, Verdana;
	font-size:13px;
	color:#4c4c4c;
	border:0 none;
	padding:5px 15px;
	cursor:pointer;
}

.required {
	visibility:hidden;
	color:#ff0000;
	font-size: 11px;
}

.star {
	background:transparent url(../images/required_star.gif) no-repeat scroll 0 3px;	 
	padding-right: 10px;
}

#zip{
	background:transparent url(../images/zip.png) no-repeat scroll 0 11px;
	margin-top: 15px;
	float: left;
	padding: 15px 0px 15px 35px;
	cursor: pointer;
}




/* area-reservada
------------------------------------------------------------------------------------------------------------------------------*/
#bo-header {
	height:65px;
	padding:15px 0 0 220px;
}

#bo-nav {
	width:189px;
	float:left;
	margin-left:28px;
}

#bo-nav ul {
	float:left;
}

#bo-nav li {
	float:left;
	width:180px;
}

#bo-nav li a.border1, 
#bo-nav li a.border2 {
	padding:13px 0 13px 5px;
	display:block;
	font-family:"Lucida Sans Unicode", Arial, Verdana;
	font-size:13px;
	color:#999999;
	text-decoration:none;
	border-bottom:1px solid #ccc;
	width:177px;
}

#bo-nav li a:hover {
	color:#000;
}

#bo-nav li a.border1 {
	border-left:7px solid #686868;
}

#bo-nav li a.border2 {
	border-left:7px solid #8e8e8e;
}

#bo-nav li a.border1:hover, 
#bo-nav li a.border2:hover {
	border-left:7px solid #000;
}

#bo-nav li.title {
	border-left:7px solid #000;
	padding:10px 0 13px 5px;
	border-bottom:1px solid #ccc;
	width:177px;
}

#bo-nav li.title span.title {
	border-left:0px;
	font-size:13px;
	color:#999;
}

#thumbHolder {
	float:left;
	margin-left:230px;
	/*
	top:-216px;
	position:relative;*/
	position: absolute;
}

#thumbHolder .thumbs {
	float:left;
	clear:none;
}

#thumbHolder .thumb {
	float:left;
	width:120px;
	height:170px;
	background:url(../images/back-thumb.jpg) no-repeat 0 0;
	padding:15px 15px 15px 14px;
	font-size:10px;
}

#thumbHolder .thumbs-controller {
	width:186px;
	margin:0 auto;
	background:url(../images/bo-controller.gif) no-repeat 0 0;
	text-align:center;
	height:30px;
	margin-bottom:10px;
	padding:0 0 0 30px;
}

#thumbHolder .thumb a {
	float:left;
	height: 103px;
	overflow: hidden;
}

#thumbHolder .thumb .image-select {
	float:left;
	width:20px;
}

#thumbHolder .thumb .image-select input {
	cursor:pointer;
}

#thumbHolder .thumb .image-dl {
	float:left;
	width:20px;
}

#thumbHolder .thumb .image-vote {
	float:left;
	width:50px;
}

#thumbHolder .thumb .image-number {
	float:left;
	width:30px;
	text-align:right;
}

#thumbHolder img {
	padding-top:2px;
	margin:0 3px 10px 5px;
}

#thumbHolder .thumb span.img-number img {
	vertical-align:middle;
}

#thumbHolder .controller-block {
	font-size:11px;
	display:block;
	float:left;
	color:#686868;
	padding-top:2px;
}






#bo-footer {
	position:absolute;
	display:block;
	bottom:0;
	font-size:11px;
	color:#999;
	margin-left:30px;
}

#bo-footer a {
	color:#FF6600;
	text-decoration:none;
}

#bo-footer a:hover {
	color:#999;
}

#bo-footer .copy {
	padding-left:10px;
	line-height:1.2em;
}

#bo-footer .credits {
	padding-left:10px;
}



/* backoffice
------------------------------------------------------------------------------------------------------------------------------*/

#managerHolder {
	float:left;
	padding:20px;
}

#managerHolder .title {
	font-size:18px;
	margin-bottom:20px;
}

#managerHolder .list {
	float:left;
}

#managerHolder .list-entry {
	margin-bottom:20px;
}

#managerHolder .list table th {
	text-align:left;
	font-size:14px;
	background-color: #DDDDDD;
}

#managerHolder .list table th, #managerHolder .list table td {
	padding:5px;
	margin:1px;
}

#managerHolder .list table td {
	border-bottom:1px solid #ccc;
}

#managerHolder .list-entry input {
	border:1px solid #ccc;
	padding:4px;
	width:300px;
}

#managerHolder .list-entry select {
	font-family:"Lucida Sans Unicode", Arial, Verdana;
}

/* Tabelas dos utilizadores*/
#form_users table {
	border:1px solid #ccc;
}

#form_users th {
	white-space: nowrap;
}

#avisos {
	margin-bottom: 10px;
	padding: 5px;
	background: #339933 none repeat scroll 0 0;
	color: #ffffff;
	display: none;
}

.close-alert {
	cursor: pointer;
	position: relative;
	float: right;
	font-size: 11px;
	padding-left: 20px;
	background: transparent url("../images/icon_fechar.gif") no-repeat scroll 0 3px
}

.link-close {
	float:right;
	background:#EEEEEE url(../images/cancel.png) no-repeat 5px 4px;
	padding:3px 5px 3px 40px;
	border:1px solid #ccc;
	width:60px;
	color:#666 !important;
	text-decoration:none;
	font-size:12px;
}

.link-yep {
	float:right;
	background:#EEEEEE url(../images/accept.png) no-repeat 5px 4px;
	padding:1px 5px 3px 40px;
	border:1px solid #ccc;
	width:60px;
	color:#666 !important;
	text-decoration:none;
	font-size:12px;
	margin-right:20px;
	clear:none;
}

.link-edit {
	float:right;
	background:#EEEEEE url(../images/edit.png) no-repeat 5px 4px;
	padding:1px 5px 3px 40px;
	border:1px solid #ccc;
	width:60px;
	color:#666 !important;
	text-decoration:none;
	font-size:12px;
	margin-right:20px;
	clear:none;
}



.link-close:hover, 
.link-yep:hover, 
.link-edit:hover {
	text-decoration:none !important;
	color:#000 !important;
}



