@blackbg: rgba(0, 0, 0, 0.7);
@bghome: rgba(255, 255, 255, 0.8);
@vermelho: #BD0825;

#container {
	width:980px;
	margin:0 auto;
	position:relative; /* needed for footer positioning*/
}

#logo {margin-top:14px;}
.menu-wrapper {
	width:160px;
	margin-top:35px;
	z-index: 100;
}

h4 {font-weight:normal;margin-bottom:4px;}

.clear {clear:both;}
.content-wrapper {padding-bottom:60px;}

.ficheiro {padding-left: 30px; background: transparent url(/img/pdf.png) no-repeat left center;
	line-height:20px; display:block;text-decoration:none;text-transform:uppercase;color:#666;
	margin-top:20px;
}

h1 {margin-bottom:25px;}

#menu {
	ul {list-style-type:none;padding:0;margin:0;}
	ul li {
		border-bottom: 1px solid #999;
		&.last {border-bottom:none;}
	}
	ul li a {
		line-height: 34px;
		display:block;
		color:#666;
		background-color: white;
		background-repeat: no-repeat;
		background-position: right top;
		background-image: url(/img/arrow.png);
		text-decoration:none;
		text-transform:uppercase;
		padding: 0px 20px;
		font-size:12px;
		&:hover, &.selected {
			background-color: @vermelho; color:white;
			background-position: right -35px;
		}
	}
	ul li.has-children a.selected {
			background-position: right -70px;			
	}
	ul li ul li a {
		background-image:none;
		background-color:#CCC;
		color:#666;
		padding-left:30px;
		font-size:10px;
		line-height:24px;
		&:hover, &.selected { background-color: #CCC;font-weight:bold;color:#666;}
	}
}

.oldie {
	.menu-button {
		background-color: black;
	}
	.button-bottom {
		background-color: black;
	}
	.resumo{
		background-color: black;
	}
	.bar {
		background-color: black;	
	}
	.home-block {
		background-color:white;
	}
}

.menu-button {
	display:block;
	line-height: 24px;
	background-color: @blackbg;
	text-transform:uppercase;
	font-size:11px;
	text-decoration:none;
	color:white !important;
	padding-left: 20px;
	background-image: url(/img/menu-arrow.png);
	background-repeat:no-repeat;
	&.open {background-position: right top;}
	&.close {background-position: right bottom;}
}

header {
	position:fixed;
}

#main {
	margin-top:163px;
	background-color: white;
	float:right;
	width: 760px;
	padding:50px 25px;
}

footer .wrapper {
	margin:0 auto;
	width:980px;
}

footer .languages {
	background-color:@blackbg;
	padding-top:2px;padding-bottom:2px;
	text-align:right;
	color:white;
	a {
		text-transform: uppercase;
		color:white;
		text-decoration:none;
		font-size:12px;
		padding-right:10px;
		padding-left:10px;
		&.last {padding-right:0px;}
		&.selected {color: @vermelho;}
		
	}
	
}



footer {
	position:fixed; bottom:0;
	left:0;
	width:100%;
	.button-bottom {
		background-color: @blackbg;
		text-align:center;
		color:white;
		text-decoration:none;
		font-size:12px;
		float:left;
		margin-right:4px;
		&.last {margin-right:0px;}
		span {color: @vermelho; padding-right:4px;}
		&.no-link {
			cursor:default;
		}
	}
	div.top {margin-bottom:4px;}
	div.top .button-bottom {
		line-height: 20px;
	}
	div.bottom .button-bottom {
		line-height: 35px;
		background-repeat:no-repeat;
	}
	div.info div.resumo {
		background-color: @blackbg;
		padding: 4px 10px;
		color:white;
		font-family: Verdana;
		font-size:10px;
		line-height:16px;
		a {
			color:@vermelho;text-decoration:none;
		}
		a:hover {text-decoration:underline;}
	}
	div.bar {
		float: left;
		width: 160px;
		height:4px;
		background-color: @blackbg;
	}	

}

.options {
	width:320px;
	.one-third {width:104px;}
	.one-eighth {width:36px;}
	.four-eighths {width:160px;}
}

.page-left {
	float:left;
	width:498px;
	.page-content {
		padding-top: 40px;
		a {
			color: @vermelho; text-decoration:none;
		}
		a:hover {text-decoration:underline;}
	}
}

.page-right {
	float:right;
	div.imagens {
		width:240px;
		a {
			float:left;
			margin-bottom:10px;
			margin-left:4px;
		}
		img {}
	}
}

.area-button {
	color: #999 !important;
	&.selected {color: white !important;}
	&:hover {
		color: white !important;
		&.no-link {color: #999 !important;}
	}
}


.previous-project {
	background-image: url(/img/bottom-arrow.png);
	background-position: 0px top;
	&.no-link {background-position: 0px bottom;}
}

.next-project {
	background-image: url(/img/bottom-arrow.png);
	background-position: -36px top;
	&.no-link {background-position: -36px bottom;}
}
.previous-slide {
	background-image: url(/img/bottom-arrow.png);
	background-position: -72px top;
	&.no-link {background-position: -72px bottom;}
}
.next-slide {
	background-image: url(/img/bottom-arrow.png);
	background-position: -108px top;
	&.no-link {background-position: -108px bottom;}
}

.mais-informacao {
	text-align:right;
	a {
		color:white;
		text-decoration:none;
		font-size:12px;
		span {color: @vermelho; padding-right:4px;}
	}
}

#map {width:494px;height:292px;}

.blog-block {padding-bottom:20px;border-bottom:1px solid #CCC;margin-bottom:20px;}
h2 {margin-bottom:10px;}
.data {color:#999;font-style:italic;font-size:12px;margin-top:10px;}

.home-block {
	position:relative;
	padding:10px;
	width:220px;
	height:200px;
	float:left; 
	margin-right:6px;
	&.last {margin-right:0px;}
	background-color: @bghome;
	img {
		border:1px solid #999;
		width:218px;
		height:122px;
	}
	div.titulo {
		text-align:center;
		font-weight:bold;
		font-size: 14px;
		margin-top:20px;
	}
	.mais-info {
		position:absolute; bottom:10px;right:0px;
		text-decoration:none;font-weight:bold;
		span {
			color:@vermelho;font-size:14px;padding:3px 15px;
			background-color: #CCC;
		}
	}
}

#social{
	float:right;
	margin-top:14px;
}
.social-detail {
	margin-top:20px;
}

.home-bottom {
	width:732px;
	margin: 0 auto;	
}

.galeria {
	h3 {
		margin-top:10px;
		padding-bottom:10px;
		margin-bottom:10px;
		border-bottom:1px solid #333;
		text-transform: uppercase;
	}
	a {
		float:left;
		margin-right:14px;
		margin-bottom:14px;
	}
}

a.back {
	display:inline-block;
	color:white;
	padding:6px 20px 6px 6px;
	background:#DBDBDB url(/img/arrow.png) no-repeat 8px -108px;
	text-transform:uppercase;
	font-size:12px;
	text-decoration:none;
	margin-bottom:20px; 
}
a.back:hover {
	background-color: #CCC;
}