/**
 * common.css
 *
 * Copyright (c) 2000-2012 John Willinsky
 * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
 *
 * PKP-wide shared stylesheet.
 */

/**
 * Common HTML elements
 */

body {
	margin: 0;
	padding: 0;
	background-color: #f5f6f8;
	color: #111;
	font-family: 'Spinnaker', sans-serif;
}

div {
	text-align: left;
}

p {
	margin: 1em 0; /* Making default stylesheet explicit - fixes IE7 margin collapsing. */
}

table {
	border: 0;
	border-spacing: 0;
	font-size: 1.0em;
}

form {
	margin: 0;
}

a {
	text-decoration: none; /* Alterado Rui Fontes */
}

a.plain {
	text-decoration: none;
}

ul {
	margin: 0.25em 0 0.75em 0;
	padding: 0 0 0 2.5em;
}

tt {
	font-size: 1.25em;
}

label {
}

label.error {
	color: #900;
}

input.textField, select.selectMenu, textarea.textArea, input.uploadField {
	background-color: #ffffff; /* Alterado Rui Fontes */
	color: #000;
	font-family: 'Varela Round', sans-serif;
	border-top: 1px solid #666; /* Alterado Rui Fontes */
	border-left: 1px solid #666; /* Alterado Rui Fontes */
	border-bottom: 1px solid #666; /* Alterado Rui Fontes */
	border-right: 1px solid #666; /* Alterado Rui Fontes */
	font-size: 1em;
}

input.button {
	padding-left: 0.5em;
	padding-right: 0.5em;
	background-color: #000000; /* Alterado Rui Fontes */
	font-size: 1em;
	color: #ffffff; /* Alterado Rui Fontes */
	border-top: 1px solid #000000; /* Alterado Rui Fontes */
	border-left: 1px solid #000000; /* Alterado Rui Fontes */
	border-bottom: 1px solid #000000; /* Alterado Rui Fontes */
	border-right: 1px solid #000000; /* Alterado Rui Fontes */
}

input.defaultButton {
	background-color: #000000; /* Alterado Rui Fontes */
	color: #ffffff; /* Alterado Rui Fontes */
	font-weight: bold;
	border-top: 1px solid #000000; /* Alterado Rui Fontes */
	border-left: 1px solid #000000; /* Alterado Rui Fontes */
	border-bottom: 1px solid #000000; /* Alterado Rui Fontes */
	border-right: 1px solid #000000; /* Alterado Rui Fontes */
}



/* acrescentado Rui Fontes */
select.selectMenu{
	-webkit-appearance: none;  /*Removes default chrome and safari style*/
    -moz-appearance: none;  /*Removes default style Firefox*/
	background: url(http://ecampus.ispa.pt/moodle/pix/images_publicacoes/seta.jpg) no-repeat right #fff;
}

select.selectMenu:hover{
	-webkit-appearance: none;  /*Removes default chrome and safari style*/
    -moz-appearance: none;  /*Removes default style Firefox*/
	background: url(http://ecampus.ispa.pt/moodle/pix/images_publicacoes/seta-mo.jpg) no-repeat right #fff;
}

input.button:hover {
	background-color: #b20014; /* Alterado Rui Fontes */
	border-top: 1px solid #b20014; /* Alterado Rui Fontes */
	border-left: 1px solid #b20014; /* Alterado Rui Fontes */
	border-bottom: 1px solid #b20014; /* Alterado Rui Fontes */
	border-right: 1px solid #b20014; /* Alterado Rui Fontes */
}

input.defaultButton:hover {
	background-color: #b20014; /* Alterado Rui Fontes */
	border-top: 1px solid #b20014; /* Alterado Rui Fontes */
	border-left: 1px solid #b20014; /* Alterado Rui Fontes */
	border-bottom: 1px solid #b20014; /* Alterado Rui Fontes */
	border-right: 1px solid #b20014; /* Alterado Rui Fontes */
}

/* FIM - acrescentado Rui Fontes */


/**
 * Main layout elements
 */

#container {
	width: 100% !important;
	min-width: 730px !important;
	margin: 0px auto;
	text-align: center;
}

#header {
	width: 100%;
	text-align: center;
}

#headerTitle {
	text-align: left !important;
	margin: 0 auto;
	padding: 0;
	width: 100%;
	background: url(http://ecampus.ispa.pt/moodle/pix/images_publicacoes/img-topo.png) left top repeat-x;
}

#header h1 {
	margin: 0 auto;
	padding: 0px 0px 0px 10%; /* alterado por Rui Fontes em 26/09/2013 */
	font-family: 'Varela Round', sans-serif;
	font-weight: normal;
}

#footer {
	width: 100%;
	min-height: 50px;
	position: static;
	clear: both;
	text-align: center;
}

#footerContent {
	width: 100%;
	margin: 0 auto;
	padding-left: 10%;
}

#main {
	padding: 2px 0em 2em 0em; /* ------- Alterado por Rui Fontes --------- */
}

#main h2 {
	margin: 0em 1em 0.5em 0em;
	padding-top: 0.5em;
	font-family: 'Varela Round', sans-serif;
	font-weight: normal;
}

#main h3 {
	margin: 0em 1em 0.5em 0em;
	padding-top: 0em;
	font-family: 'Varela Round', sans-serif;
	font-weight: normal;
}

#navbar {
	margin-right: 0;
	padding-bottom: 0.5em;
	border-bottom: 0px; /* Alterado por Rui Fontes */
}

#breadcrumb {
	padding-top: 1em;
	font-size: 0.75em;
}

#content {
	margin: 0;
	padding: 0;
	padding-top: 0.5em;
	font-size: 0.75em;
	border-top: 1px solid #000; /* Alterado por Rui Fontes */
}

#content h3 {
	margin: 0em 1em 0.25em 0em;
	padding-top: 0.75em;
	font-family: 'Varela Round', sans-serif;
	font-weight: normal;
	font-size: 1.8em;
}

#content h4 {
	margin: .75em 1em 0.25em 0em;
	font-family: 'Varela Round', sans-serif;
	font-weight: normal;
	font-size: 1.5em;
}

#content h5 {
	margin: 0em 1em 0.25em 0em;
	padding-top: 0.75em;
	font-weight: bold;
	font-size: 1em;
}


/**
 * Breadcrumbs
 */

#breadcrumb a {
	text-decoration: none;
}

#breadcrumb a.current {
	font-weight: bold;
}


/**
 * Footer elements
 */

#footer div.debugStats {
	font-size: 0.6em;
}


/**
 * Additional text styles
 */

span.disabled, label.disabled {
	color: #666;
}

a.action, a.file {
	font-size: 0.85em;
	text-transform: uppercase;
}

a.icon {
	text-decoration: none;
}

a.icon img {
	border: 0;
}

a.icon:hover {
	background: none;
}

span.formRequired {
	color: #333;
	font-size: 0.9em;
}

span.instruct {
}

span.heading {
	font-size: 0.85em;
	text-transform: uppercase;
}

span.highlight {
	border-bottom: 1px dotted #000;
}

.nowrap {
	white-space: nowrap;
}

/**
 * Table styles
 */

table.info td {
	padding: 0;
	padding-bottom: 0.5em;
	padding-right: 0.5em;
}

table.listing td {
	padding: 0.25em 1.5em 0.25em 0.5em;
}

table.listing tr.heading td, table.listing td.heading, table.info td.heading {
	font-size: 0.85em;
	text-transform: uppercase;
	font-weight: normal;
	padding: 0.75em 1.5em 1em 0.5em;
}

table.info td.heading {
	padding-left: 0;
}


table.listing td.nodata, table.info td.nodata {
	text-align: center;
	font-style: italic;
}

table.listing td.headseparator {
	border-top: 1px dotted #000;
	font-size: 0.1em;
	line-height: 1%;
}

table.listing td.endseparator {
	border-top: 1px dotted #000;
	font-size: 0.25em;
	line-height: 10%;
}

table.listing td.separator, table.info td.separator {
	border-top: 1px dotted #DDDDD0;
	font-size: 0.1em;
	line-height: 1%;
}

table.data tr {
}

table.data td {
	padding-bottom: 0.25em;
}

table.data td.label {
	padding-right: 1em;
}

table.data td.value {
}

table.data td.separator {
	padding: 0.5em;
	font-size: 0.1em;
	line-height: 1%;
}

table.data td.heading {
	padding-left: 0;
	padding-right: 0;
}

table.nested tr {
	padding: 0;
	margin: 0;
}

span.nested {
	padding: 0 4px 0 0;
	font-size: 1.2em;
}

/**
 * Form-specific elements
 */

span.formError {
	color: #900;
	font-weight: bold;
	font-size: 1em;
}

span.formSuccess {
	color: #090;
	font-weight: bold;
	font-size: 1em;
}

ul.formErrorList {
	color: #900;
}


/**
 * Other organizational elements
 */

ul.menu {
	margin: 0;
	padding-top: 0px;  /* ---- Alterado por Rui Fontes ----- */
}

ul.menu li {
	margin: 0;
	padding: 0;
	padding-right: 0; /* ---- Alterado por Rui Fontes ----- */
	line-height: 38px; /* ---- Acrescentado por Rui Fontes ----- */
	display: inline;
}

ul.menu li.current {
	font-weight: bold;
	background-color: #b20014; /* ---- Alterado por Rui Fontes ----- */
}

ul.menu a {
	font-size: 0.95em;
	text-transform: uppercase;
	text-decoration: none;
	background-color: #000000; /* ---- Alterado por Rui Fontes ----- */
	color: #ffffff; /* ---- Alterado por Rui Fontes ----- */
	padding: 10px 12px 10px 12px; /* ---- Alterado por Rui Fontes ----- */
}

/* ---- Acrescentado por Rui Fontes ----- */

ul.menu a:hover  { 
	background-color: #b20014; /* ---- Alterado por Rui Fontes ----- */
}

a:link {
	color: #cd0018;
}

a:active {
	color: #cd0018;
}

a:visited {
	color: #cd0018;
}

a:hover {
	color: #000000;
	background-color: #f5f6f8;
}

#navbar a {
	font-size: 0.7em;
	letter-spacing: 0.05em;
}


/* ---- FIM - Acrescentado por Rui Fontes ----- */

ul.steplist {
	margin: 0;
	padding: 0;
	list-style-type: decimal;
}

ul.steplist li {
	margin: 0;
	padding: 0;
	font-size: 0.95em;
	padding-right: 0.5em;
	display: inline;
	text-transform: uppercase;
}

ul.steplist li.current {
	font-weight: bold;
}

ul.steplist a {
	text-decoration: none;
}

ul.plain {
	list-style-type: none;
	padding-left: 1.5em;
}

ul.filter {
	margin: 0;
	padding: 1.5em 0 1.5em 0;
	list-style-type: none;
}

ul.filter li {
	padding-right: 1.5em;
	display: inline;
}


/**
 * Other organizational elements
 */

div.separator {
	width: 100%;
	margin-top: 1em;
	margin-bottom: 0.25em;
	padding: 0;
	border-bottom: 1px solid #000;
	font-size: 0.5em;
	line-height: 25%;
}
