/*
Theme Name: Sites IPL
Theme URI: http://ued.ipleiria.pt
Description: Theme for the Sites IPLeiria
Version: 1.3
Author: Cláudio Esperança <claudio.esperanca@ipleiria.pt>, Joana Mineiro <joana.mineiro@ipleiria.pt>
*/

@IMPORT url("./scripts/html5-reset-1.4.css");

html, body, iframe {
	border: none;
}

body {
	font-size: 11px;
	font-family: Verdana, Arial, Sans-Serif;
	color: #424242;
	background-image: url(./images/riscas_fundo.jpg);
	background-repeat: repeat;
}

div, p, img, body {
	margin: 0;
	padding: 0;
}

.shadow {
	-moz-box-shadow:0 0 3px #AAAAAA;
	-webkit-box-shadow:0 0 3px #AAAAAA;
	-khtml-box-shadow:0 0 3px #AAAAAA;
	box-shadow: 0 0 3px #AAAAAA;
}
.opacity {
	-moz-background-clip:border;
	-moz-background-inline-policy:continuous;
	-moz-background-origin:padding;
	-webkit-background-clip:border;
	-webkit-background-inline-policy:continuous;
	-webkit-background-origin:padding;
	-khtml-background-clip:border;
	-khtml-background-inline-policy:continuous;
	-khtml-background-origin:padding;
	
	background-clip:border;
	background-inline-policy:continuous;
	background-origin:padding;
	
	background:rgba(255, 255, 255, 0.5) none repeat scroll 0 0;
}
.box{
	-moz-border-radius:6px;
	-webkit-border-radius: 6px;
	-khtml-border-radius: 6px;
	border-radius: 6px;
}

.border{
	border: 1px solid #AAAAAA;
}

.clear {
	clear: both;
}

#page {
	width: 955px;
	margin: 0 auto;
}
#header {
	position: relative;
	height: 135px;
	margin-bottom: 10px;
}
#logocontainner{
	position: relative;
	top: 32px;
}

/* menu */
#menucontainner {
	margin:0 0 6px;
	overflow:visible !important;
	z-index:300;
	float:right;
	background-color: #71A0A8;
	background-image: url(./images/risca_menu.png);
	background-repeat: repeat-x;
	font-style: 13px;
	color: #FFFFFF;
	
	
	/* borders settings */
	border-style: none solid solid;
	border-top: 0 none;
	border-width: 0 1px 1px;
	border-color: #71A0A8;
	/* gecko */
	-moz-border-radius-bottomleft:6px;
	-moz-border-radius-bottomright:6px;
	-moz-border-radius-topleft:0;
	-moz-border-radius-topright:0;
	
	/* webkit */
	-webkit-border-top-left-radius: 0;
	-webkit-border-top-right-radius: 0;
	-webkit-border-bottom-left-radius: 6px;
	-webkit-border-bottom-right-radius: 6px;
	
	/* khtml */
	-khtml-border-top-left-radius: 0;
	-khtml-border-top-right-radius: 0;
	-khtml-border-bottom-left-radius: 6px;
	-khtml-border-bottom-right-radius: 6px;
	
	/* css 3 */
	border-top-left-radius: 0;
	border-top-right-radius: 0;
	border-bottom-right-radius: 6px;
	border-bottom-left-radius: 6px;
}

#menucontainner, #menucontainner ul, #menucontainner li a{
	height: 32px;
	line-height:32px;
}

#menucontainner ul, #menucontainner li, ul.nav503, ul.nav503 li{
	list-style-image:none;
	list-style-position:outside;
	list-style-type:none;
	margin:0;
	padding:0;
}

#menucontainner li {
	float:left;
	position:relative;
}

#menucontainner li a, #menucontainner span.menuitem {
	display:block;
	min-width:70px;
	text-align:center;
	white-space:nowrap;
	width:auto !important;
	color:#ffffff;
	font-size: 13px;
	outline-style:none;
	outline-width:medium;
	text-decoration:none;
}

#menucontainner li a{
	padding: 6px 0 6px 0;
}

#menucontainner span.menuitem {
	padding:0 16px;
	line-height: 20px;
	border-left: 1px dotted #FFFFFF;
}

#menucontainner li:FIRST-CHILD span.menuitem{
	border-left: none;
}

#menucontainner li a:hover{
	background:rgba(255, 255, 255, 0.1) none repeat scroll 0 0;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
}
/* menu end */

#wrapper {
	/*display: table;*/
	width:100%;
	background: #FFFFFF url(images/sidebar.jpg) repeat-y top right;
}

#contentwrapper{
	/*display: table-cell;*/
	background-color: #FFFFFF;
	width: 635px;
}

#sidebarwrapper{
	/*display: table-cell;*/
	float: right;
	width: 250px;
	background-color: #71A0A8;
}

#content {
	overflow: hidden;
	margin: 0;
	width: 100%;
	height: 100%;
}

/* Begin Sidebar */
.sidebar {
	padding: 20px 5px 10px 5px;
	vertical-align: top;
	
	/* gecko */
	-moz-border-radius-bottomright:5px;
	-moz-border-radius-topright:5px;
	
	/* webkit */
	-webkit-border-top-right-radius: 5px;
	-webkit-border-bottom-right-radius: 5px;
	
	/* khtml */
	-khtml-border-top-right-radius: 5px;
	-khtml-border-bottom-right-radius: 5px;
	
	/* css 3 */
	border-top-right-radius: 5px;
	border-bottom-right-radius: 5px;
}

.sidebar form {
	margin: 0;
}
/* End Sidebar */

.narrowcolumn {
	padding: 0 30px 20px 30px;
	margin: 0px 0 0;
}

#footer {
	padding: 20px 0;
	margin:0 auto;
	clear: both;
	width: 100%;
	text-align: center;
}

#footer, #footer a{
	color: #717171;
	font-size: 10px;
}

/*	Begin Headers */
h1 {
	margin: 0;
}

h2 {
	margin: 30px 0 0;
}

h2.pagetitle {
	margin-top: 30px;
	text-align: center;
}

.sidebar h2 {
	margin: 5px 0 5px;
	padding: 0;
}

h3 {
	padding: 0;
	margin: 30px 0 0;
}

h3.comments {
	padding: 0;
	margin: 40px auto 20px ;
}

h1, h2, h3 {
	font-family: Verdana, Arial, Sans-Serif;
	font-weight: bold;
}

h1 {
	font-size: 4em;
}

h2 {
	font-size: 1.6em;
}

h2.pagetitle {
	font-size: 1.6em;
}

h2.widgettitle, .sidebar h2 {
	font-size: 13px;
	font-weight: normal;
	color: #FFFFFF;
}

h3 {
	font-size: 1.3em;
}

h1, h1 a, h1 a:hover, h1 a:visited{
	text-decoration: none;
}

h2, h2 a, h2 a:visited, h3, h3 a, h3 a:visited {
	color: #333;
}

h2, h2 a, h2 a:hover, h2 a:visited, h3, h3 a, h3 a:hover, h3 a:visited, .sidebar h2, #wp-calendar caption, cite {
	text-decoration: none;
}
/* End Headers */

li.widget{
	padding: 0px 20px 0px 20px;		
}

.sidebar form#searchform{
	margin: 2px auto;
}

.sidebar form#searchform, .sidebar form#searchform div, .sidebar form #searchsubmit{
	vertical-align: middle;	
}
.sidebar .avatar{
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-khtml-border-radius: 5px;
	border-radius: 5px;
	border: medium none;
	float: right;
	margin-right: 6px;
	padding: 0px;
}

.sidebar form #s, .sidebar form #log, .sidebar form #pwd {
	background-color: #ffffff;
	border: 1px solid #FFFFFF;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-khtml-border-radius: 5px;
	border-radius: 5px;
	color: #666666;
	border: none;
	width: 165px;
	height: 18px;
	margin: 2px 0;
	padding: 4px 5px 2px 5px;
}

.sidebar form #searchsubmit {
	background-color: transparent;
	background-image: url(images/botao_pesquisa.png);
	background-repeat: no-repeat;
	background-position: top center;
	height: 20px;
	width: 20px;
	border: none;
	cursor: pointer;
	text-indent: -999%;
	line-height: 1px;
	margin:0;
	padding: 0;
	color: transparent;
}

.sidebar form #searchsubmit:HOVER, .widget_search form #searchsubmit:FOCUS {
	background-image: url(images/botao_pesquisa_activado.png);
}

.sidebar form label{
	color: #FFFFFF;
	margin-top: 10px;
	display: block;
}
.sidebar form#searchform label{
	display: none;
	visibility: hidden;	
}

.sidebar form label#rembme{
	display: inline;	
}

.sidebar form #rememberme{
	/*margin: 6px 0 0;*/
}

.sidebar form input.submit{
	width:20px;
	font-size:10px;
	background-color: transparent;
	color: #FFFFFF;
	cursor: pointer;
	font-weight: bold;
	border: none;
	padding: 0;
	margin: 0;
}

.sidebar form input.submit:HOVER, .sidebar form input.submit:FOCUS{
	color: #ACC3C9;
}

.sidebar ul, .sidebar ul ol {
	margin: 0;
	padding: 0;
}

.sidebar ul li {
	list-style-type: none;
	list-style-image: none;
	padding-bottom: 15px;
	margin-bottom: 15px;
	border-bottom: 1px #FFFFFF dotted;
}

.sidebar ul li:last-child {
	border-bottom: none;
}

.sidebar li li {
	border-bottom: none;
	color: #FFFFFF;
}

.sidebar ul p, .sidebar ul select {
	margin: 5px 0 8px;
}

.sidebar ul ul, .sidebar ul ol {
	margin: 5px 0 0 10px;
}

.sidebar ul ul ul, .sidebar ul ol {
	margin: 0 0 0 10px;
}

ol li, .sidebar ul ol li {
	list-style: decimal outside;
}

.sidebar ul ul li, .sidebar ul ol li {
	margin: 3px 0 0;
	padding: 0;
}

.sidebar div.langbar ul{
	/*float: right;*/
	text-align: right;
}
.sidebar div.langbar ul li{
	/*float: right;*/
	display: inline;
	margin: 0;
	padding: 0;
	border: none;
	margin-left: 3px;
}

a, h2 a:hover, h3 a:hover {
	color: #000000;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

.sidebar a, .sidebar h2 a:hover, .sidebar h3 a:hover {
	color: #FFFFFF;
	text-decoration: none;
}

.sidebar a:hover {
	text-decoration: underline;
}

.sidebar li.widget_links img{
	width: 16px;
	width: 16px;	
}

/* subpages && subposts */
div.UEDpostsList_simple_layout ul, 
div.UEDpostsList_simple_layout li{
	padding: 3px 0 0;
}
div.UEDpostsList_simple_layout ul ul li:FIRST-CHILD{
	padding-bottom: 2px;
}
div.UEDpostsList_simple_layout ul {
	margin:	0;
	padding: 0;
	border-top: 1px dotted #AAAAAA;	
	width: 100%;
}
div.UEDpostsList_simple_layout ul ul{
	border-top: none;
}
div.UEDpostsList_simple_layout ul, 
div.UEDpostsList_simple_layout ul ul, 
div.UEDpostsList_simple_layout ul ul ul {
	list-style-image:none;
	list-style-position:outside;
	list-style-type:none;
}
div.UEDpostsList_simple_layout ul ul ul{
	padding: 0 0 0 15px;
}

.fright {
	float:right;
}
.fleft {
	float:left;
}
.fclear{
	clear: both;	
}
.ftag {
	font-size: 9px;
	margin-top: 2px;
	
}
.ftag, .ftag a, div.UEDpostsList_simple_layout ul{
	color: #AAAAAA;
}

div.UEDpostsList_simple_layout ul, div.UEDpostsList_simple_layout ul a{
	color: #333333;
}

div.UEDpostsList_simple_layout ul li:before {
	content: "";
}

div.UEDpostsList_simple_layout ul ul li:before {
	content: "\00BB \0020";
}

div.entry{
	margin-top: 5px;
}

ul.blogsList, ul.blogsList li{
	list-style-image:none;
	list-style-position:outside;
	list-style-type:none;
}

ul.blogsList li{
	width: 50%;
	border: 0px none;
	overflow: hidden;
	height: 100px;
	margin: 5px 0;
}
ul.blogsList li, ul.blogsList li img, ul.blogsList li span.siteinfo{
}
ul.blogsList li.left{
	float: left;
}
ul.blogsList li.right{
	float: right; 
}

ul.blogsList li a.lthumb{
	margin: 10px 20px 10px 0px;
	height: 100px;
	position: relative;
}

ul.blogsList li img{
	position:absolute;
	width: 143px; 
	height: 100px;
}

ul.blogsList li span.siteinfo{
	bottom:-85px;
	left: 145px;
	position:absolute;
	width:170px;
	text-align: left;
	overflow: hidden;
	padding: 2px 0;
	margin: 2px 0;
}

ul.blogsList li span.siteinfotitle{
	font-weight: bold;
	white-space: nowrap;
	display: inline;
}

ul.blogsList li span.sitedescription{
	padding-top: 3px;
}

ul.blogsList li a:HOVER span.siteinfotitle{
	text-decoration: underline;
}

ul.blogsList li a:HOVER img, ul.blogsList li a:HOVER span.siteinfo, ul.blogsList li span.sitedescription{
	text-decoration: none;
}

/* UED ends here */


.widecolumn .entry p {
	font-size: 1.05em;
	}

.narrowcolumn .entry, .widecolumn .entry {
	line-height: 1.4em;
	}

.widecolumn {
	line-height: 1.6em;
	}

.narrowcolumn .postmetadata {
	text-align: center;
	}

.thread-alt {
	background-color: #f8f8f8;
}
.thread-even {
	background-color: white;
}
.depth-1 {
border: 1px solid #ddd;
}

.even, .alt {

	border-left: 1px solid #ddd;
}

small {
	font-family: Arial, Helvetica, Sans-Serif;
	font-size: 0.9em;
	line-height: 1.5em;
	}



.entry p a:visited {
	color: #b85b5a;
}

.sticky {
	background: #f7f7f7;
	padding: 0 10px 10px;
	}
.sticky h2 {
	padding-top: 10px;
	}

small, .nocomments, .postmetadata, blockquote, strike {
	color: #777;
	}

code {
	font: 1.1em 'Courier New', Courier, Fixed;
	}

acronym, abbr, span.caps
{
	font-size: 0.9em;
	letter-spacing: .07em;
	}

#wp-calendar #prev a, #wp-calendar #next a {
	font-size: 9pt;
	}

#wp-calendar a {
	text-decoration: none;
	}

#wp-calendar caption {
	font: bold 1.3em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	text-align: center;
	}

#wp-calendar th {
	font-style: normal;
	text-transform: capitalize;
	}
/* End Typography & Colors */



/* Begin Structure */



.widecolumn {
	padding: 10px 0 20px 0;
	margin: 5px 0 0 150px;
	/*width: 450px;*/
	}

.post {
	margin: 0 0 10px;
	text-align: justify;
	}

.post hr {
	display: block;
	}

.widecolumn .post {
	margin: 0;
	}

.narrowcolumn .postmetadata {
	padding-top: 5px;
	}

.widecolumn .postmetadata {
	margin: 30px 0;
	}

.widecolumn .smallattachment {
	text-align: center;
	width: 128px;
	margin: 5px 5px 5px 0px;
}

.widecolumn .attachment {
	text-align: center;
	margin: 5px 0px;
}

.postmetadata {
	clear: both;
}
/* End Structure */


/* Begin Images */
p img {
	padding: 0;
	max-width: 100%;
	}

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left;
	}
/* End Images */



/* Begin Lists

	Special stylized non-IE bullets
	Do not work in Internet Explorer, which merely default to normal bullets. */

.entry ul {
	margin-left: 0px;
	padding: 0 0 0 30px;
	list-style: none;
	padding-left: 10px;
}

.entry li {
	margin: 7px 0 8px 10px;
	}

.entry ul li:before, .sidebar ul ul li:before {
	content: "\00BB \0020";
}

.entry ol {
	padding: 0 0 0 35px;
	margin: 0;
	}

.entry ol li {
	margin: 0;
	padding: 0;
	}

.postmetadata ul, .postmetadata li {
	display: inline;
	list-style-type: none;
	list-style-image: none;
	}


/* End Entry Lists */


/* Begin Calendar */
#wp-calendar {
	empty-cells: show;
	margin: 10px auto 0;
	width: 155px;
	}

#wp-calendar #next a {
	padding-right: 10px;
	text-align: right;
	}

#wp-calendar #prev a {
	padding-left: 10px;
	text-align: left;
	}

#wp-calendar a {
	display: block;
	}

#wp-calendar caption {
	text-align: center;
	width: 100%;
	}

#wp-calendar td {
	padding: 3px 0;
	text-align: center;
	}

#wp-calendar td.pad:hover { /* Doesn't work in IE */
	background-color: #fff; }
/* End Calendar */



/* Begin Various Tags & Classes */
acronym, abbr, span.caps {
	cursor: help;
	}

acronym, abbr {
	border-bottom: 1px dashed #999;
	}

blockquote {
	margin: 15px 30px 0 10px;
	padding-left: 20px;
	border-left: 5px solid #ddd;
	}

blockquote cite {
	margin: 5px 0 0;
	display: block;
	}

.center {
	text-align: center;
	}

.hidden {
	display: none;
	}
	
.screen-reader-text {
     position: absolute;
     left: -1000em;
}

hr {
	display: none;
	}

a img {
	border: none;
	}

.navigation {
	display: block;
	text-align: center;
	margin-top: 10px;
	margin-bottom: 60px;
	}
/* End Various Tags & Classes*/



/* Captions */
.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}
/* End captions */

/* Comments */

#respond h3{
	padding: 5px 0;	
}
ol.commentlist, ol.commentlist li{
	list-style-image:none;
	list-style-position:outside;
	list-style-type:none;
}
ol.commentlist li {
	border-bottom: 1px solid #d2d3d5;
	margin: 10px 0;
}

img.avatar {
	float:left;
	padding:0 10px 0 0;
}

#commentform input, #commentform textarea{
	padding:4px;
	border:1px solid #d2d3d5;
	color:#58595B;
	font-family: Arial,Helvetica,sans-serif;
	font-size:12px;
}

#commentform textarea {
	height:155px;
	width:430px;
}

#commentform #submit{
	height: 22px;
	line-height: 22px;
	vertical-align: middle;
	background:transparent url(./images/btn_submit.jpg) repeat-x left center;
	-moz-border-radius:6px;
	-webkit-border-radius: 6px;
	-khtml-border-radius: 6px;
	border-radius: 6px;	
}

