/*	

	Less+ by Jimmy Rosén, http://www.angrycreative.se/projekt/less-framework
	Based on Less Framework 4 by Joni Korpi, http://lessframework.com
	
*/

/*		Desktop layout: 992px. 
		Gutters: 24px.
		Outer margins: 48px.
		Leftover space for scrollbars @1024px: 32px.
-------------------------------------------------------------------------------
cols    1     2      3      4      5      6      7      8      9      10
px      68    160    252    344    436    528    620    712    804    896    */


body { width: 960px; }
span { color: #999; }
td { vertical-align: top; }
.alerta { position: absolute; top: 180px; left: 45%; background-color: orange; color: white; padding: 5px 10px; text-align: center; z-index: 1000; }
.destaque { position: absolute; top: 180px; left: 45%; background-color: #FC0; color: white; padding: 5px 10px; text-align: center; z-index: 1000; }
.reforca { color: #F90; }
.nota { cursor:help; }
.tooltip { background-color: white; border: 1px solid grey; color:black; padding: 20px;  }
.titulo { font-weight: 900; font-size:larger; }
/*
Cabecalho
*/
header { overflow: hidden; width: 100%; }
#Logo { float: left; height: 130px; }
#ProcurarArea { position: relative; top: 30px; padding: 10px 0; float: right; width: 170px; }
#ProcurarArea p { text-align:right; }
#ProcurarArea p * { float:left; }
#ProcurarArea p label { margin-right: 10px;  }
#ProcurarArea ul li { float: left; list-style: none; margin-right: 0px; }
#ProcurarArea ul li:last-child { margin-right: 0; }
#ProcurarArea ul li input[type='text'] { width: 130px; height: 18px; background: #ddd url('/assets/img/procurar.png') no-repeat top left; border: 1px solid #999; border-radius: 5px; padding: 2px 4px 2px 30px; color: #666; }
#ProcurarArea ul li input[type='submit'] { display: none; }
/*
Menu
*/
menu { display: table; width: 100%; background: #ddd url(/assets/img/menu_bg.jpg) repeat-x top left; border: 1px solid #BBB; color: #999; border-radius: 5px; }
menu ul li { float: left; list-style: none; }
menu a { display: block; color: black; padding: 8px 15px; border-right: 1px solid #ddd; font-size: 14px; }
menu ul li a.inicio { border-top-left-radius: 5px; border-bottom-left-radius: 5px; }
menu a:hover { background-color: #eee; color: #1D6DAE; text-shadow: 1px 1px 1px #ccc; }
menu ul li ul, menu ul li ul * { display: none; }
menu .active { background-color: #DDD; color: #333; }

.paginas ul.submenu { display:block; }
.paginas .submenu li { display:inline-block; margin: 0px 0px 10px 0;  background-color: #EEE;  }
.paginas .submenu li:first-child { border-top-left-radius: 4px; border-bottom-left-radius: 4px;  }
.paginas .submenu li:nth-child(n+2) { border-left: 1px solid white;  }
.paginas .submenu li:last-child { border-top-right-radius: 4px; border-bottom-right-radius: 4px;  }
.paginas .submenu li a { display: inline-block; color:black; padding: 4px 8px; }
.paginas .submenu li.active { background-color: #ccc; position:relative; }
.paginas .submenu li.active:after {
	content:"";
	position:absolute;
	bottom:-10px; /* value = - border-top-width - border-bottom-width */
	left:10px; /* controls horizontal position */
	border-width:10px 10px 0; /* vary these values to change the angle of the vertex */
	border-style:solid;
	border-color:#ccc transparent;
    /* reduce the damage in FF3.0 */
    display:block; 
    width:0;
}
/* 

Corpo

*/
#InfoArea { clear: both; }
#Info { clear:both; background-color: white; display: table; width: 100%; border-radius: 5px; margin: 5px 0; }
#Info h3 { clear: both; display:block; position:relative; float:none; padding: 10px 0; /* margin: 0 auto; text-align:center;*/ }
.paginas { padding: 0 10px; min-height: 150px; }
.paginas p { padding: 0; }
.dt_actualizacao { clear: both; margin: 20px 0 0 0; text-align: right; color: #999; font-size: 10px; }
#Info .col1 { font-weight: bold; }

.item { display: block; width: 299px; float: left; margin: 10px 7px 30px 7px; /*border-right: 1px solid #CCC;*/ }
.item .itemImage { }
.item .itemTitulo a { font-weight: bold; margin: 5px 0; }
.item .itemDesc,
.item .itemTipo,
.item .itemData { font-size: 0.9em; }
.item .itemDesc { clear: both; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.item .itemTipo,
.item .itemData { color: #777; font-style: italic; }
.item .itemTipo { float: left; }
.item .itemTipo:after { content: ' · '; }
.partilhas { clear: both; text-align:center; margin: 30px 10px 10px 10px; padding: 15px; border-top: 1px solid #CCC; }
.revistaImagem { float: left; width: 280px; }
/*  Grelha -----*/
#Lista { display:block; text-align: left; margin: 10px 0; width: 100%; }
#Lista .GridView { clear: both; width: 100%; }
#Lista .GridView .item { width: 299px; text-align: left; float: left; overflow: hidden; margin: 10px 0; padding: 5px; }
#Lista .GridView .item:nth-child(3n+1) { clear: both; }
/*  Lista -----*/
#Lista .ListView { clear: both; width: 100%; }
#Lista .ListView .item { display: table-row; clear:both; margin: 5px 0; width: 100%; border-bottom: 1px solid #ddd; }
#Lista .ListView .item:last-child { border: none; } 
#Lista .ListView .itemImg img { float: left; width: 100px; background-color: #EEE; margin: 5px 10px; }
#Lista .ListView p { float: right; width: 820px; margin: 0px; padding: 0; }
/*
Caminho
*/
#CaminhoArea { clear: both; float: left; padding: 0px 5px; font-size: 12px; }
/*
Promocoes
*/
#PromocoesArea { clear: both; padding: 0; margin: 0; position:relative; left: -5px; top:-5px; }
#Promocoes { background-color: white; display: inline-block; width: 100%; border-radius: 5px; padding: 0; margin: 5px 0; }
.itemIndex { width: 219px; float: left; padding: 10px; border-right: 1px solid #CCC; }
.itemIndex:nth-child(4n) { border-right: none; }
.itemIndex a { font-size: 14px; }
.itemIndex p { margin: 0; }
.itemIndex .imagem { position: relative; width: 220px; height: 150px; display: block; background: #AAA; }
.itemIndex .legenda { display:none; position: absolute; z-index: 30; bottom: 0; background: #FFF; width: 210px; overflow: hidden; opacity: 0.8; color: black; padding: 3px 5px; font-size: 12px; line-height: 16px; }
#Promocoes p.legenda a { color: black; font-size: 12px; line-height: 16px; }

#PromocoesIndex { margin: 0 auto; }
#PromocoesIndex .itemIndex { width: 293px; margin: 10px; border:none; padding: 10px 0px; }
#PromocoesIndex .itemIndex .imagem { position: relative; width: 100%; height: 200px; display: block; background: #3c81b5; }
#PromocoesIndex .itemIndex .legenda { width: 100%; }
/*
Eventos
*/
#Info .imagem img { margin: 0 20px 10px 0; }
.evento td { vertical-align: top; padding: 3px; }
.evento td:nth-child(odd) { text-align: right; width: 100px; font-weight: bold; color: #AAA; }
.evento .imagem img { float: right; }
#EventosIndex h4 { font-size: 14px; line-height: 19px; }
#EventosIndex a { color: black; }
#EventosIndex { line-height: 17px; }
#results .item:nth-child(3n) { clear:both; }
/*
ContactosForm
*/
#contact_form { margin: 0px 30px 10px 0px; padding: 10px; float: left; display: block; width: 340px; }
#contact_form input[type='text'],
input[type='text'],
input[type='password'],
#username,
#password,
#contact_form textarea,
textarea { width: 280px; padding: 3px 5px; background-color: #EEE; border: 1px solid #999; }
textarea { height: 200px; width: 90%; }
#contact_form input[type='text']:focus,
#contact_form textarea:focus { background-color: #DDD; }
#contact_form textarea { height: 100px; margin-bottom: 10px; }
legend { font-size: 14px; }
label { color: grey; font-size: 12px; }
.locationMap { float: right; margin-right: 20px; }
/*

revistas

*/
/* Colecções  */
#Listarevistas { text-align: left; margin: 10px 0; width: 100%; }
#Listarevistas .GridView { clear: both; width: 100%; }
#Listarevistas .GridView ul li { width: 210px; text-align: left; float: left; overflow: hidden; margin: 10px 0; padding: 10px; }
#Listarevistas .GridView ul li:nth-child(4n) { border-right: none; }
#Listarevistas .GridView ul li:nth-child(4n+1) { clear: both; }
#Listarevistas .GridView ul li a img { background-color: grey; width: 100%; }
/*  Lista -----*/
#Listarevistas .ListView { clear: both; width: 100%; }
#Listarevistas .ListView ul li { display: table-row; margin: 5px 0; width: 100%; border-bottom: 1px solid #ddd; }
#Listarevistas .ListView ul li img { float: left; width: 100px; background-color: #EEE; margin: 5px 10px; }
#Listarevistas .ListView ul li p { float: left; width: 100%; margin: 0 5px; padding: 0; }
.buttons { width: 200px; float: right; text-align: right; margin: 15px 10px; }
.revistaSinopse { clear: both; padding: 10px 0 20px 170px; text-align: justify; -moz-column-count: 2; -webkit-column-count: 2; column-count: 2; -moz-column-gap: 40px; -webkit-column-gap: 40px; column-gap: 40px; -moz-column-rule: 1px outset #e5e5e5; -webkit-column-rule: 1px outset #e5e5e5; column-rule: 1px outset #e5e5e5; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; }
.itemSuperlead { overflow: hidden;  white-space: nowrap; text-overflow: ellipsis; }
.revistaAutores { font-size: 18px; }
.revistaEncomendar,
.revistaLink { border: 1px solid #999; border-radius: 3px; padding: 3px 5px; }
.revista h4,
.revista h5 { clear: both; padding: 20px 0 0px 170px; }

/* 

Noticias 

*/
.itemSeccao { color: #369; }
.noticiaImagem { clear: both; float: right; margin: 0 0 20px 30px; }
.superlead { font-size: 17px; font-style: italic; }
.seccao { clear: both; display: block; color: #369; }
.noticiacorpo { padding: 0px 10px 0px 10px; text-align: justify; -moz-column-count: 3; -webkit-column-count: 3; column-count: 3; -moz-column-gap: 40px; -webkit-column-gap: 40px; column-gap: 40px; -moz-column-rule: 1px outset #e5e5e5; -webkit-column-rule: 1px outset #e5e5e5; column-rule: 1px outset #e5e5e5; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; }
.noticiaItem { margin: 20px 0; }
/*

Mensagens

*/
ul.comentarios li { margin-bottom: 20px; padding-top: 5px; border-top: 1px solid #EFEFEF; }
#formComentarios fieldset, #formComentarios fieldset legend { background-color: #EFEFEF; padding:5px 10px; }
#formComentarios textarea { width: 60%; height: 100px; background-color:white; }
#formComentarios input { display:block; clear: both; }
/*

Publicidade

*/
#Publicidade ul li { display: inline-block; margin: 5px;  }
.publicidade {  clear:both; display:block; width: 98%; padding-top: 10px; margin: 10px auto; }
.publicidade ul { margin: 0 auto; text-align: center; }
.publicidade ul li { display: inline; margin: 0 10px; }
.publicidade span { color: #CCC; font-size: 10px; position:relative; top: -50px;  }
/*

RODAPE

*/
#RodapeArea { clear: both; margin: 0 auto; text-align: center; padding: 20px 0; font-size: 0.9em; }
footer div { }
footer a { padding: 0px 5px; color: black; }
footer ul { list-style-type: none; }
footer ul.apoios { margin: 30px 0; }
footer ul li { display: inline; }
footer ul li:after { content: '|'; }
footer ul.apoios li:after { content: ''; }
footer ul li:first-child { list-style: none; }
footer .submenu, footer .subsubmenu { display: none; }
footer p { clear: both; }
footer .apoios img { height: 60px; }
/*

AREA

*/
.paginas h2 { float: left; }
.paginasArea a.button { float: left; margin: 0px 10px; padding: 4px 10px; background-color: #EEE; border-radius: 5px; border: 1px solid grey; }
.paginasArea a.button:hover { background-color: #AAA; color: black; }
form .procurar { margin: 0; padding: 0 }
.paginasArea #q { float: right; width: 100px; background-color: #CCC; }
.paginasArea #q { padding: 7px 10px; margin: 10px 0; border-radius: 3px; border: 3px solid #69B; background-color: #EEE; }
.paginasArea { margin: 10px; font-size: 13px; }
.paginasArea input[type='text'].wide { width: 90%; }
.paginasArea textarea { margin: 0 10px 3px 0; }
.paginasArea input[type='submit'] { padding: 5px 15px; border: 3px solid orange; border-radius: 3px; background-color: #CCC; }
table.corpo { clear: both; width: 100%; border: 1px solid #CCC; border-collapse: collapse; background-color: white; margin: 5px; padding: 1px; margin-left: auto; margin-right: auto; font-weight: normal; }
table.corpo tr:nth-child(even),
table.corpo tr:nth-of-type(even) { background-color: #f9f9f9; }
table.corpo th { padding: 4px 5px;  color: #FFF; background-color: #999; border: 1px solid #888; }
table.corpo td { padding: 10px 5px; }
table.corpo tr:last-child { }

/*  admin.css  */
/*  Cabecalho  */
#CabecalhoAdmin { float: right; position: relative; top: 20px; right: 0; }
.buttonBO { float: none; font-size: 14px; padding: 3px 5px; background-color: #CCC; border-radius: 3px; border: 1px solid #999; }
.mensagem { background-color: #6A93D1; border-radius: 3px; color: white; padding: 5px; text-align: center; z-index: 1000; line-height: auto; }
.thumbnail img { width: 150px; }
#navegacao { background-color: #DDD;  border: 2px solid #CCC;}
.corpo span { color: #AAA; }
span.invertido { font-weight:bold; color: #6A93D1; }/*
Paginação
*/
.pagination {
  display: inline-block;
  padding-left: 0;
  margin: 20px 0;
  border-radius: 4px;
}
.pagination > li {
  display: inline;
}
.pagination > li > a,
.pagination > li > span {
  position: relative;
  float: left;
  padding: 6px 12px;
  margin-left: -1px;
  line-height: 1.428571429;
  color: #428bca;
  text-decoration: none;
  background-color: #fff;
  border: 1px solid #ddd;
}
.pagination > li:first-child > a,
.pagination > li:first-child > span {
  margin-left: 0;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}
.pagination > li:last-child > a,
.pagination > li:last-child > span {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}
.pagination > li > a:hover,
.pagination > li > span:hover,
.pagination > li > a:focus,
.pagination > li > span:focus {
  color: #2a6496;
  background-color: #eee;
  border-color: #ddd;
}
.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
  z-index: 2;
  color: #fff;
  cursor: default;
  background-color: #428bca;
  border-color: #428bca;
}
.pagination > .disabled > span,
.pagination > .disabled > span:hover,
.pagination > .disabled > span:focus,
.pagination > .disabled > a,
.pagination > .disabled > a:hover,
.pagination > .disabled > a:focus {
  color: #999;
  cursor: not-allowed;
  background-color: #fff;
  border-color: #ddd;
}