/*
===========================================================
  APPLICATION
===========================================================
*/

#user_nav {
  float: right;
  font-size: 12px;
}

table#submissions_list {
  width:100%;
}

table#submissions_list th {
  font-weight:bold;
}

table#submissions_list a {
  padding:2px;
}

dl#candidaturas-registo {
  margin-bottom: 20px;
}

dl#candidaturas-registo dt {
  font-weight: bold;
}

dl#candidaturas-registo dd {
  margin: 0 0 10px 20px;
}

table#admin_submissions_list {
  width:100%;
}

table#admin_submissions_list {
  width:100%;
}

table#admin_submissions_list th {
  font-weight:bold;
}

table#admin_submissions_list a {
  padding:2px;
}

/*
==========
  TABLESORTER
==========
*/
table.tablesorter {
	font-family:arial;
	background-color: #CDCDCD;
	margin:10px 0pt 15px;
	font-size: 8pt;
	width: 100%;
	text-align: left;
}
table.tablesorter thead tr th, table.tablesorter tfoot tr th {
	background-color: #e6EEEE;
	border: 1px solid #FFF;
	font-size: 8pt;
	padding: 4px;
}
table.tablesorter thead tr .header {
	background-image: url(/images/bg.gif);
	background-repeat: no-repeat;
	background-position: center right;
	cursor: pointer;
}
table.tablesorter tbody td {
	color: #3D3D3D;
	padding: 4px;
	background-color: #FFF;
	vertical-align: top;
}
table.tablesorter tbody tr.odd td {
	background-color:#F0F0F6;
}
table.tablesorter thead tr .headerSortUp {
	background-image: url(/images/asc.gif);
}
table.tablesorter thead tr .headerSortDown {
	background-image: url(/images/desc.gif);
}
table.tablesorter thead tr .headerSortDown, table.tablesorter thead tr .headerSortUp {
background-color: #8dbdd8;
}

/*
===========================================================
  Nifty Scaffold stuff
===========================================================
*/
.clear {
  clear: both;
  height: 0;
  overflow: hidden;
}

#container {
  width: 75%;
  margin: 0 auto;
  background-color: #FFF;
  padding: 20px 40px;
  border: solid 1px black;
  margin-top: 20px;
}

#flash_notice, #flash_error {
  padding: 5px 8px;
  margin: 10px 0;
}

#flash_notice {
  background-color: #CFC;
  border: solid 1px #6C6;
}

#flash_error {
  background-color: #FCC;
  border: solid 1px #C66;
}

.fieldWithErrors {
  display: inline;
}

#errorExplanation {
  border: 1px solid #CF0000;
  padding: 0px;
  padding-bottom: 5px;
  margin-bottom: 5px;
  background-color: #f0f0f0;
	font-size:11px;
	line-height:14px;
}

#errorExplanation h2 {
  text-align: left;
  font-weight: bold;
  padding: 5px 5px 5px 15px;
  font-size: 12px;
  margin: 0;
  background-color: #c00;
  color: #fff;
}

#errorExplanation p {
  color: #333;
  margin-bottom: 0;
  padding: 8px;
}

#errorExplanation ul {
  margin: 2px 5px;
}

#errorExplanation ul li {
  list-style: disc;
}


/* Nutrition Awards 2010 */
/* Web Design by Quodis (2009) */

/* BEGIN General Styles */
/* ----------------------------------------- */

/* Global reset */
/* Based upon 'reset.css' in the Yahoo! User Interface Library: http://developer.yahoo.com/yui */
*, html, body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, label, fieldset, input, p, blockquote, th, td {
	margin: 0;
	padding: 0;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

fieldset, img {
	border: 0;
}

address, caption, cite, code, dfn, em, strong, th, var {
	font-style: normal;
	font-weight: normal;
}

ol, ul, li {
	list-style: none;
}

caption, th {
	text-align: left;
}

h1, h2, h3, h4, h5, h6 {
	font-size: 100%;
	font-weight: normal;
}

q:before,
q:after {
	content: '';
}

abbr, acronym {
	border: 0;
}

/* Global reset-RESET */
/* The below restores some sensible defaults */
strong, b {
	font-weight: bold;
}

em, i {
	font-style: italic;
}

strong, em, b, i {
    font-family: "Lucida Sans", "Lucida Sans Unicode", "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
}

strike, s { text-decoration: line-through; }

u { text-decoration: underline; }

a img {
	border: none; /* Gets rid of IE's blue borders */
} 

p {
	line-height: 20px;
	margin-bottom: 20px;
}

div#content ul, div#content ol { margin: 0 0 20px 0; }
div#content ul li { list-style-type: disc; list-style-position: outside; margin-left: 30px; line-height: 20px; }
div#content ol li { list-style-type: decimal; list-style-position: outside; margin-left: 30px; line-height: 20px; }

/* BEGIN Clearfix */
.clearfix:after {
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
}
	
.clearfix {
	display: inline-block;
}

* html .clearfix {
	height: 1%;
}

.clearfix {
	display: block;
}
/* END Clearfix */

body {
	margin: 0 auto;
	position: relative;
	color: #FFF;
	font-family: "Lucida Sans Unicode", "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 20px; /* Baseline grid of 20px */
	background: #333;
}

a:link, a:visited {
	color: #39B54A;
	text-decoration: none;
}

a:hover {
	color: #39B54A; 
	text-decoration: underline;
	outline: none;
}

/* BEGIN Headings */
h1 {
	float: left;
	margin: 30px 0 0 20px;
	width: 210px;
	height: 170px;
	font-size: 20px;
	font-weight: bold;
	display: inline;
}

h2 {
	line-height: 30px;
	font-size: 28px;
	margin: 0 0 20px 0;
	letter-spacing: -1px;
}
/* END Headings */

/* ----------------------------------------- */
/* END General Styles */


/* BEGIN Page Structure */
/* ----------------------------------------- */
div#wrapper {
	color: #333;
	background: #F2F2F2 url(/images/wrapperBg.png) top left repeat-x;
}

div#header {
	background: transparent url(/images/hdrMotif.png) top right no-repeat;
	margin: 0 auto;
	width: 940px;
	height: 300px;
	clear: both;
  position: relative;
}

div#content {
	margin: 0 auto;
	padding: 40px 0 20px 0;
	width: 940px;
	clear: both;
	background: transparent url(/images/cntBottomBg.png) bottom left no-repeat;
}

div#mainContent{
	margin:0 30px 0 0;
	padding:0;
	float:left;
	width:610px;
}

div#mainContent textarea,
div#mainContent input {
  width: 500px;
}

div#sidebar{
	width:300px;
	float:left;
	display:inline;
}

div#footerWrapper {
	background: #333 url(/images/ftrBg.png) top left repeat-x;
}

div#footer {
	margin: 0 auto;
	clear: both;
	width: 940px;
	padding: 60px 0;
	background: transparent url(/images/ftrNALogo.png) 0 40px no-repeat;
	color: #FFF;
}
/* ----------------------------------------- */
/* END Page Structure */

/* ----------------------------------------- */
/* BEGIN Header Sticker */

p#sticker-prazo-candidaturas {
    position: absolute;
    top: 46px;
    left: 746px;
    display: block;
    width: 160px;
    height: 164px;
}

p#sticker-prazo-candidaturas a,
p#sticker-prazo-candidaturas a:visited {
    display: block;
    width: 160px;
    height: 164px;
    overflow: hidden;
    text-indent: -9999px;
    background: transparent url(/images/sticker-prazo-candidaturas.png) bottom center no-repeat;
    outline: none;
}

p#sticker-prazo-candidaturas a:hover {
    background-position: top center;
}

/* ----------------------------------------- */
/* END Header Sticker */

/* BEGIN Page Components */
/* ----------------------------------------- */
h1 a {
	display: block;
	width: 210px;
	height: 170px;
	text-indent: -9999px;
	overflow: hidden;
	background: transparent url(/images/hdrNALogo.png) top left no-repeat;
}

p#hdrDesc {
	float: left;
	width: 380px;
	color: #4C4C4C;
	font-size: 22px;
	line-height: 30px;
	font-style: italic;
	margin: 110px 0 0 80px;
}

ul#navMain {
	float: left;
	height: 45px;
	width: 940px;
	display: inline;
	background: transparent url(/images/navMainBttns.png) top left no-repeat;
	margin: 45px 0 0 0;
	clear: both;
}

ul#navMain li {
	float: left;
	height: 45px;
	margin: 0 10px 0 0;
}

ul#navMain li.last {
	margin-right: 0;
}

ul#navMain li a {
	display: block;
	height: 45px;
	text-indent: -9999px;
	overflow: hidden;
	background: transparent url(/images/navMainBttns.png) top left no-repeat;
	outline:0;
}

ul#navMain li.inicio a {
	width: 70px;
	background-position: 0 0;
}

ul#navMain li.inicio a:hover,
ul#navMain li.inicio a.current {
	background-position: 0 -45px;
}

ul#navMain li.sobre a {
	width: 70px;
	background-position: -80px 0;
}

ul#navMain li.sobre a:hover,
ul#navMain li.sobre a.current {
	background-position: -80px -45px;
}

ul#navMain li.regulamento a {
	width: 120px;
	background-position: -160px 0;
}

ul#navMain li.regulamento a:hover,
ul#navMain li.regulamento a.current {
	background-position: -160px -45px;
}

ul#navMain li.categorias a {
	width: 100px;
	background-position: -290px 0;
}

ul#navMain li.categorias a:hover,
ul#navMain li.categorias a.current {
	background-position: -290px -45px;
}

ul#navMain li.parceiros a {
	width: 100px;
	background-position: -400px 0;
}

ul#navMain li.parceiros a:hover,
ul#navMain li.parceiros a.current {
	background-position: -400px -45px;
}

ul#navMain li.destinatarios a {
	width: 120px;
	background-position: -510px 0;
}

ul#navMain li.destinatarios a:hover,
ul#navMain li.destinatarios a.current {
	background-position: -510px -45px;
}

ul#navMain li.candidaturas a {
	width: 120px;
	background-position: -640px 0;
}

ul#navMain li.candidaturas a:hover,
ul#navMain li.candidaturas a.current {
	background-position: -640px -45px;
}

ul#navMain li.juri a {
	width: 60px;
	background-position: -770px 0;
}

ul#navMain li.juri a:hover,
ul#navMain li.juri a.current {
	background-position: -770px -45px;
}

ul#navMain li.contactos a {
	width: 100px;
	background-position: -840px 0;
}

ul#navMain li.contactos a:hover,
ul#navMain li.contactos a.current {
	background-position: -840px -45px;
}

div.block {
	clear: both;
	margin: 0 0 40px 0;
}

div.block div.videoHL {
	float: left;
	width: 440px;
	background: #FFF;
	padding: 9px;
	border: 1px solid #D9D9D9;
	margin: 0 20px 0 0;
	display: inline;
}

a.readMoreBttn {
	display: block;
	height: 30px;
	width: 120px;
	height: 30px;
	text-indent: -9999px;
	overflow: hidden;
	background: transparent url(/images/cntReadMoreBttn.png) top left no-repeat;
	outline:0;
}

a.readMoreBttn:hover {
	background: transparent url(/images/cntReadMoreBttn.png) bottom left no-repeat;
}

div.block img {
	background: #FFF;
	padding: 4px;
	border: 1px solid #D9D9D9;
}

div.socialBox {
	float: left;
	width: 240px;
/*  height:240px;*/
	background: #FFF;
	padding: 29px;
	border: 1px solid #D9D9D9;
	margin: 30px 0 0;
	font-size: 12px;
	display: inline;
	position:relative;
}

div.socialBox.last {
	margin-right: 0;
}

div.socialBox h3 {
	width: 300px;
	height: 50px;
	float: left;
	top:-51px;
	left:0px;
	position:absolute;
}

div.socialBox h3 a {
	display: block;
	width: 300px;
	height: 50px;
	text-indent: -9999px;
	overflow: hidden;
	background: transparent url(/images/cntSocialBoxHd.png) top left no-repeat;
}


div.socialBox.twitter h3 a {
	background-position: 0 -200px;
}

div.socialBox.twitter h3 a:hover {
	background-position: 0 -250px;
}

div.socialBox.twitter h2.widgettitle{
	display:none;
}

div#twitter h4{
	display:none;
}

div#twitter ul{
	margin:0;
	overflow:hidden;
	width:240px;
	height:240px;
}

div#twitter ul li {
	list-style:none;
	padding:0 0 20px;
	margin:0 0 20px 0;
	border-bottom:1px solid #D9D9D9;
	overflow:hidden;
	width:240px;
}

div#twitter ul li a.timesince{
	display:block;
	color:#999999;
	font-family:"Lucida Sans","Lucida Sans Unicode","Lucida Grande",Verdana,Arial,Helvetica,sans-serif;
	font-style:italic;
	font-size:11px;
}

div.socialBox.facebook h3 a {
	background-position: 0 -100px;
}

div.socialBox.facebook h3 a:hover {
	background-position: 0 -150px;
}

div.socialBox.flickr h3 a {
	background-position: 0 0;
}

div.img_wrapper_flickr{
	padding:4px;
	border:1px solid #d9d9d9;
}

div.img_wrapper_flickr a{
	display:block;
	overflow:hidden;
	width:230px;
	height:230px;
}

div.img_wrapper_flickr img{
	border:none;
	padding:0;
	margin:-30% 0 0 -30%;
}

div.socialBox.flickr h3 a:hover {
	background-position: 0 -50px;
}

div.socialBox h4 {
	font-style: italic;
	font-family: "Lucida Sans", "Lucida Sans Unicode", "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
	color: #999;
	margin: 0 0 20px 0;
}

div.socialBox p {
/*  margin: 0;*/
}

span.socialBoxFade{
	display:block;
	background: transparent url(/images/socialBoxFadeBg.png) top left no-repeat;
	position:absolute;
	bottom: 10px; 
	left:29px;
	width:240px;
	height: 60px;
	z-index:2;
}

span.socialBoxFade a{
	display:block;
	text-indent:-9999px;
	overflow:hidden;
	height:60px;
	outline:0;
}

div.all_sidebar .socialBox{
	margin-bottom:30px;
}

div.partners{
	margin:0 0 20px;
}

div.partners p{
	width:190px;
	float:left;
}

div.partners p strong{
	display:block;
	width:610px;
	clear:both;
}

div.partners a img{
	background-color:#fff;
	padding:4px;
	border:1px solid #d9d9d9;
	float:left;
	height:100px;
	margin:0 30px 0 0;
}


div#footer p {
	float: left;
	width: 320px;
	padding: 0 0 0 20px;
	margin: 20px 140px 0 160px;
	background: transparent url(/images/ftrSep.png) top left repeat-y;
	display: inline;
}

div#footer a.quodisLink{
	color:#fff;
	text-decoration:underline;
}

div#footer small {
	display: block;
	font-size: 11px;
}

div#footer dl {
	float: left;
	width: 280px;
	margin-top: 20px;
	padding: 0 0 0 20px;
	background: transparent url(/images/ftrSep.png) top left repeat-y;
	display: inline;
}

div#footer dt {
	font-style: italic;
	font-family: "Lucida Sans", "Lucida Sans Unicode", "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
}

div#footer dd {
}

div#footer dl#followUs ul {
	margin: 0;
}

div#footer dl#followUs li{
	float:left;
	margin-right: 30px;
}

div#footer dl#followUs li.last{
	margin-right:0;
}

div#footer dl#followUs ul li a{
	padding:0 0 0 20px;
	color:#fff;
	font-size:12px;
}

div#footer dl#followUs ul li.twitter a{
	background: transparent url(/images/ftrSocialIconTwitter.png) top left no-repeat;
}

div#footer dl#followUs ul li.facebook a{
	background: transparent url(/images/ftrSocialIconFacebook.png) top left no-repeat;
}

div#footer dl#followUs ul li.flickr a{
	background: transparent url(/images/ftrSocialIconFlickr.png) top left no-repeat;
}


/* ----------------------------------------- */
/* END Page Components */