/** 
 * SilverStripe Black Candy Theme
 * http://www.silverstripe.com
 *
 * Main Layout File
 */
 
/* Misc Styles and defaults 
-------------------------------------------- */
  
* {
	margin: 0;
	padding: 0;
}

body {
	color: #000000;
	font-family: Trebuchet MS, Arial; 
}

html {
	background-color: #FFFFFF;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}
caption, th, td {
	text-align: left;
	font-weight: normal;
}

.clear{
	clear:both;
}

/* CONTAINER
----------------------------------------- */
#BgContainer {
	width: 100%;  
	/*
	width: 958px;
	margin: 0 auto;
	*/ 
}
#Container { 
	width: 958px;
	margin: 0 auto;
	padding-bottom: 0px;
	overflow: hidden;
	clear: both;
	/*background-color: blue;*/
}
#ContainerLeft { 
	width: 158px;
	float:left;
	overflow: hidden;
	/*background-color: cyan;*/
}
#ContainerRight { 
	width: 800px;
	float:left;
	overflow: hidden;
	/*background-color: pink;*/	
}
#Content {
	width: auto;
	margin-left: 20px;
	margin-top: 22px;	/*25px - 3px (sublinhado do menu)*/
	clear: both;
	overflow: hidden;
	text-align: left;	
	min-height: 300px;
	/*background-color: green;*/
}
#Content.homepage{
	margin: 0;
	padding: 0;
	position:relative;
	top: -35px;
	/*background-color: yellow;*/
}

/* HEADER
----------------------------------------- */
#Header { 
 	width: 800px;
 	height:40px;
 	margin: 0 auto;
	overflow: hidden;
}
	#Header #LoginError{
		float:left;
		line-height: 20px;		
		margin-top: 5px;
		margin-left:20px;
		color:red;
		font-size: 12px;
	}
	#Header #BemVindo{
		float:left;
		width:780px;
		margin-left:20px;
		color:#494949;
		font-size: 12px;
	}
		#Header #BemVindo .label{
			float:left;
			line-height:40px;
			font-weight: bold;
		}
		#Header #BemVindo .nomeprof{
			float:left;
			line-height:40px;
			font-weight: normal;
			margin-left: 4px;		
		}
		#Header #BemVindo .editprof,
		#Header #BemVindo .logout
		{
			float:left;
			line-height:40px;
			margin-left: 10px;
		}
			#Header #BemVindo .editprof a,
			#Header #BemVindo .logout a		
			{
				color: #EC9A19;
				font-size: 9px;
				text-decoration: underline;
				text-transform: uppercase;				
			}

		.logout{
			/*
			float:right;
			margin-top:10px;
			*/
		}
	
/* BOTÕES DO SITE*/
/*----------------------------------------- */
.botao{
}
	.botao a{
		display:block;
		color:#FFFFFF;
		font-weight: bold;
		font-size: 13px;
		text-decoration: none;
		line-height:20px;
	}
	.botao a:hover{
		text-decoration: none;
	}

.setavoltar{
	width: 63px;
	height:20px;	
}
	.setavoltar a{
		background:url(/assets/site/setavoltar.png) no-repeat;
		text-align: right;
		padding-right: 5px;
	}

.botaover{
	width: 50px;
	height:20px;	
}
	.botaover a{
		background:url(/assets/site/botaover.png) no-repeat;
		text-align: left;
		padding-left: 5px;
	}	
	
.botaoadicionar{
	width: 83px;
	height:20px;	
}
	.botaoadicionar a {
		background:url(/assets/site/botaoentrar.png) no-repeat;
		border:0px;
		color:#FFFFFF;
		font-weight: bold;
		font-size: 13px;
		text-align: left;
		padding-left: 10px;
	}		
			

.botaoprojectos{
	width: 167px;
	height:20px;	
	padding-right: 20px;
}
	.botaoprojectos a{
		background:url(/assets/site/recursoseducativos.png) no-repeat;
		text-align: left;
		padding-left: 10px;
		line-height:20px;
	}	

/* MAIN NAVIGATION - TABS
----------------------------------------- */
#Navigation {
	width: 800px;
	height:38px;	
 	padding-left:20px;
 	margin-top:20px;
	overflow: hidden;
	background-color: black;
	background-image: url(../images/menu_bkg_normal.png);
}
	#Navigation ul { 
 		float: left; 
		line-height:38px;
	}
		#Navigation ul li { 
			list-style: none; 
			margin: 0px; 
			float: left;
			display: block;
			margin-right: 5px;	
		}
  			#Navigation ul li a { 
				text-decoration: none;
				display: block; 
				color: #fff;
				font-weight: bold;
				font-size: 14px;
			}
				#Navigation ul li a span {
					text-align: center;
	        		float: left;
					padding-left: 10px;
					padding-right: 10px;
				}
					#Navigation ul li a:hover { 
						cursor: pointer;
					}
					#Navigation ul li a:hover span {
						cursor: pointer;
						background-image: url(../images/menu_bkg_hover.png);					
						color:#FFCC33;
					}
					
    			#Navigation ul li a.current,
	    		#Navigation ul li a.section,
	    		#Navigation ul li a.section:hover,
	    		#Navigation ul li a.current:hover { 
				 	
				}
				
				#Navigation ul li a.current span,
				#Navigation ul li a.section span,
	    		#Navigation ul li a.section:hover span,
				#Navigation ul li a.current:hover span {
					background-image: url(../images/menu_bkg_hover.png);					
					color:#FFCC33;
				}
    
/* BREADCRUMBS
-------------------------------------------- */
#Breadcrumbs { 
	color: #EC9A19;
	font-weight:bold;
	font-size:9px;
	text-transform:uppercase;
	text-align: left;
	margin: 0px;
	height: 15px;
	/*background-color: cyan;*/
}
	#Breadcrumbs p {
		margin: 0;
	}

	#Breadcrumbs a {
		text-decoration: none;
 		color: #5A5A5A;
	}
		#Breadcrumbs a.link {
			display: none;
		}
	#Breadcrumbs span.link {
		display: none;
	}

	
/* MAINCONTENT (ZONA DE CONTEÚDOS)
-------------------------------------------- */
#Maincontent{ 
	position :static;
	left: 0;
	top: 0;
 	width: auto;
	/*float:left;*/
	/*background-color: blue;*/
	overflow: hidden;
}
	#Maincontent .TituloArea {
		color: #000000;
		margin: 0 0 15px 0;
		text-transform: uppercase;
		font-weight: bold;
		font-size: 15px;
		height:30px;
		background-image: url(../images/titulos_sublinhado_bkg.png);
		background-repeat: repeat-x;
		background-position: bottom;
		/*background-color:blue;*/
	}

/* SIDEBAR (ZONA PARA WIDGETS)
-------------------------------------------- */
#Sidebar { 
	margin-left:20px;
	float:right;
	overflow: hidden;
	/*background-color: green;*/
}

/* WIDGETS
-------------------------------------------- */
.WidgetHolder{
	overflow: hidden;
	margin:0;
	padding: 0;
	/*background-color: yellow*/
}
	.WidgetHolder h3{ 
		/*margin: 0 0 15px 0;*/		
		color: #000000;
		text-transform: uppercase;
		font-weight: bold;
		font-size: 15px;
		line-height:38px;
		position:relative;
		top: -10px;
		margin: 0 0 5px 0;
		background-image: url(../images/titulos_sublinhado_bkg.png);
		background-repeat: repeat-x;
		background-position: bottom;
		/*background-color: red;*/
	}

	.WidgetHolder h3:empty{	/*so funciona em FF*/
		display: none;
	}
	
	.WidgetHolder p{
		line-height: 14px;
	}

	.WidgetHolder a .ShoppingCartWidget
	{
		text-decoration: none;
		cursor: pointer; 	
	}

	.WidgetHolder .SingleContentWidget,
	.WidgetHolder .SectionFacetWidget{
		color: #494949;
		font-size: 11px;
		line-height: 14px;
		overflow: hidden;
		margin-bottom: 25px;
	}

	
/* HOMEPAGE - DESTAQUE FLASH
-------------------------------------------- */
#FlashArea{
	padding: 0;
	margin: 0;
	display: block;
	/*background-color: green;*/
}

/* HOMEPAGE - DESTAQUES
-------------------------------------------- */
#DestaquesArea{
	padding: 0;
	margin-top:10px;
	/*background-color: pink;*/
}

/* LOGOTIPO
-------------------------------------- */
#Logotipo {
	margin: 0;
	padding: 0;
	width: 158px;
	height: 155px;
	z-index: 1;	
	position: relative;
}
	#Logotipo img {
		border:0px;
		display: block;	/*sem isto no FF dá um espaço a abaixo da imagem*/
	}
	
/* SIDEBARMENU (ZONA DO MENU SECUND�RIO DE NAVEGA��O / �RVORE TEM�TICA)
-------------------------------------- */
#Sidebarmenu { 
 	width: 158px; 
	margin: 25px 0 0px 0;
	padding: 0;
	overflow: hidden;
	float: left;
}

	#Sidebarmenu h3 { 
		/*background-color: #F6F9E9;*/
		color: #494949;
		font-size:11px;
		font-weight:bold;
		line-height: 25px;
		margin:0;
		padding: 0;
	}
		#Sidebarmenu h3 a{ 
			background-color: #F6F9E9;
			color: #494949;
			font-size:11px;
			font-weight:bold;
            display: block;

			padding: 0 0 0 10px;
			margin-left:7px;
 			
			text-decoration: none;	
		}
		#Sidebarmenu h3 a:hover,
		#Sidebarmenu h3 a.current,
      	#Sidebarmenu h3 a.section{ 
        	background: #F5DC7A url(../images/submenu_bkg_hover.png) repeat-y;
			text-decoration: none;
		
			padding: 0 0 0 17px;
			margin-left:0px;		
		}
	
	#Sidebarmenu .sidebarmenuBox {
		color: #494949;
		font-size:11px;
		line-height: 24px;
		
		margin-left: 7px;
	}

	#Sidebarmenu .sidebarmenuBottom {
	}
	#Sidebarmenu p {
	}

      		
	/* MENU3 */
	ul#Menu3{
		margin:0;
		padding: 0 0 0 15px;
	    background-color: #fAE9B4;
	}
    ul#Menu3 li {
    		margin:0;
			padding: 0;
			list-style: none;
	    	display: block;	
	}
    	ul#Menu3 li a{
    		text-decoration: none;
    		color: #494949;
			font-size:11px;
            display: block;    		
		}

	    	ul#Menu3 li a span{
	    		background-color: #fAE9B4;
            	display: block;    		
			}

			
      	ul#Menu3 li a:hover span,
      	ul#Menu3 li a.current span,
      	ul#Menu3 li a.current:hover span{
			cursor: pointer;
			font-weight: bold;      		
      	}
      	
      	ul#Menu3 li a.section span,
      	ul#Menu3 li a.section:hover span{
			cursor: pointer;
			font-weight: bold;
      		font-style:italic;
		}
      	
		

/* COMMENTS
---------------------------------------- */
#CommentHolder ul {
	list-style: none;
	margin: 20px 0;
}
#PageComments li {
	margin: 5px 0;
	padding: 1px;
	width: 88%;
}
	#PageComments li.odd {
		background: #E8F6FF url(../images/commentBg.png) no-repeat 1% 10%;
		padding-left: 40px;
		padding-right: 10px;
		border-bottom: 2px solid #BCE4FE;
	}
	#PageComments li.even {
		background: #fff url(../images/commentBgAlt.png) no-repeat 99% 10%;
		padding-right: 40px;
		padding-left: 10px;
	}

		#PageComments li.odd p.info {
			color: #3AA0C3;
		}

		.actionLinks li {
		   display: inline;
		   border-right: 1px solid;
		}
			.actionLinks li a {
				padding-right: 3px;
				font-size: 10px;
			}
   			.actionLinks li.last {
      			border-right: none;
   			}

.commentrss {
	background: transparent url(../images/feed-icon-14x14.png) no-repeat;
	padding-left: 20px;
	font-size: 1.1em;
	line-height: 1.6em;
}
#PageCommentsPagination p {
	text-align: center;
	font-size: 1.2em;
}
#PageComments p {
	font-size: 1em;
}
	#PageComments p.info {
		color: #999;
		margin: 0px;
		padding: 0;
		line-height: 1em;
		font-size: 0.9em;
	}

/* SEARCH RESULTS STYLES
------------------------------------------------ */
ul#SearchResults {
	margin: 10px 0;
}
	ul#SearchResults li {
		list-style: none;
		margin: 5px 0;
		font-size: 1em;
	}
	
.SearchWordLabel
{
	color: #494949;
	font-size: 12px;
	line-height: 18px;
	background-color: #F6F9E9;
}
	.SearchWord
	{
		font-weight: bold;
		display: inline;
	}

#NavegacaoPesquisa
{
	margin-top:5px;
	clear: both;
	padding: 0px;
	margin:0px;
	font-size: 12px;
	line-height: 18px;
	overflow: hidden;
}
	#NavegacaoPesquisa .SortMenu
	{
		float:left;
		margin: 5px 0px 20px 0px;		
	}
		#NavegacaoPesquisa .SortMenu .Label
		{
			font-weight: bold;
			float: left;
			color:#000000;			
		}
		#NavegacaoPesquisa .SortMenu ul
		{
			list-style: none;
			float: left;
			padding: 0px;
			margin: 0px;
		}
			#NavegacaoPesquisa .SortMenu ul li
			{
				float: left;
				font-weight: bold;
				padding: 0px;
				margin: 0px;
				color:#5A5A5A;
			}
				#NavegacaoPesquisa .SortMenu ul li label
				{
					float: left;
					margin: 0px 4px 0px 4px;
				}
				#NavegacaoPesquisa .SortMenu ul li a
				{
					text-decoration: none;
					font-size: 12px;
					line-height: 18px;
				}
					#NavegacaoPesquisa .SortMenu ul li a.selected
					{
						color:#EC9A19;
					}
					#NavegacaoPesquisa .SortMenu ul li a.noselected
					{
						color:#5A5A5A;
					}

			
	#NavegacaoPesquisa .NavigationMenu
	{
		float:right;
		margin: 5px 0px 20px 15px;		
	}
		#NavegacaoPesquisa .NavigationMenu ul
		{
			list-style: none;
			float: left;
			padding: 0px;
			margin: 0px;
		}
			#NavegacaoPesquisa .NavigationMenu ul li
			{
				float: left;
				font-weight: bold;
				padding: 0px;
				margin: 0px 2px 0px 2px;
				color:#5A5A5A;
			}
				#NavegacaoPesquisa .NavigationMenu ul li a
				{
					text-decoration: none;
					font-size: 12px;
					line-height: 18px;
				}
					#NavegacaoPesquisa .NavigationMenu ul li a.selected
					{
						color:#EC9A19;
					}
					#NavegacaoPesquisa .NavigationMenu ul li a.noselected,
					#NavegacaoPesquisa .NavigationMenu ul li a.seta					
					{
						color:#5A5A5A;
					}
					#NavegacaoPesquisa .NavigationMenu ul li a.seta					
					{
						font-weight: bold;
					}

	#NavegacaoPesquisa .TotalResults
	{
		float:right;
		margin: 5px 0px 20px 0px;		
		color:#5A5A5A;		
	}
		#NavegacaoPesquisa .TotalResults .Label
		{
			font-weight: bold;
			float: left;
			color:#000000;			
			margin: 0px 5px 0px 0px;			
		}
		
	#NavegacaoPesquisa.bottom
	{
		height: 30px;
	}


/* RECUPERAR PASSWORD E NOVO REGISTO PROFESSOR (HEADER) 
-----------------------------------------------*/
#LoginProfLinks{
	clear:both;
	font-size: 10px;
}

	#LoginProfLinks a{
		text-decoration: none;
		color:#494949;
		font-weight: bold;
	}

	#LoginProfLinks .NovoRegistoProf{
		width:210px;	/*bot�o + margem + caixa*/
		float:right;
		margin-left:5px;
		overflow: hidden;
	}
		#LoginProfLinks .NovoRegistoProf a{
			background-color: #FAE9B4;
		}
	#LoginProfLinks .RecuperarPwdProf{
		width:122px;	/*caixa*/
		float:right;	
		overflow: hidden;
	}
		#LoginProfLinks .RecuperarPwdProf a{
		}


/* MESSAGEBOXS
--------------------------------------------- */
.message {
	margin: 15px;
	padding: 5px;
	width: 92%;
	color: #979908;
	border: 4px solid #F7F8B4;
	background: #FFFFEA;
}
span.middleColumn .message {
	margin: 4px 0 0 3px;
}
.required {
	margin: 4px 0 0 3px;
	padding: 5px;
	width: 92%;
	color: #DC1313;
	border: 4px solid #FF7373;
	background: #FED0D0;
}



p#Remember label {
	margin: -24px 0 0 20px;
	text-align: left;
}
.entry {
	border-bottom: 1px solid #eee;
}

.typography #Content p.authorDate {
	color: #444;
	margin-top: -15px;
	}
/* UNSUBSCRIBE NEWSLETTER
------------------------------------------------ */
#Unsubscribe_MailingListForm_MailingListForm{
	min-height:100px;
}

	#Unsubscribe_MailingListForm_MailingListForm p{
		margin:0 !important;
		padding:10px;
	}
		#Unsubscribe_MailingListForm_MailingListForm p label{
			display: inline;
		}
	#Unsubscribe_MailingListForm_MailingListForm label{
		margin:0;
	}


/* FOOTER
----------------------------------------------- */
#Footer { 
 	clear: both;  

 	/*width: 100%;*/ 
	width: 958px;
	margin: 0 auto;
 	
 	height: 35px; 
	background-color: #e7e7e7; 
	margin-top: 50px;
 	margin-bottom: 40px;	
}
	#Footer .footerTop {
		width: 958px;
		/*background-color: red;*/
		margin: 0 auto;
		padding-bottom: 0px;
		clear: both;
	}
  	#Footer p{ 
		color: #494949;
		font-size: 10px;
		line-height:35px;
		float:right;

		position: relative;
		right:20px;
		/*background-color: green;*/
	}
  	#Footer ul { 
		color: #494949;
		font-size: 11px;
		font-weight:bold;
		line-height:35px;
		list-style: none;
		float:left;

		position: relative;
		left:20px;
		/*background-color: yellow;*/
	}
	  	#Footer li { 
			float:left;
			margin-right: 30px;
		}

  		#Footer a { 
	   		color: #494949; 
	   		text-decoration: none;
		}
			#Footer a:hover {
			}
			
		#Footer img { 
	   		border:0;
			margin-right: 5px;
			vertical-align: middle;
		}			
			
			
/* ÁREA DE DESTAQUES
----------------------------------------------- */		
#DestaqueDetalhe {
	float:left;
	width:100%;
	background-color: #F6F9E9; 
	margin-bottom: 25px;
}
#DestaqueDetalhe.homepage {
	width:auto;
	height: 183px;
	float: left;
	margin: 0px 38px 0px 0px;
	padding: 0;
}
#DestaqueDetalhe.homepage.ultimo{
	margin: 0;
}

#DestaqueDetalheImagem { 
	float: left;
	margin-right: 20px;
}
	#DestaqueDetalheImagem img {
		width:140px;
	}
	#DestaqueDetalheImagem object {
		width:300px;
	}

#DestaqueDetalheTexto {
	overflow: hidden;
	color: #494949;
	font-size: 12px;
	margin-bottom: 10px;
}
#DestaqueDetalheTexto.homepage {
	width: 140px;
	margin: 0;
	padding: 0;
	float: left;
}

	#DestaqueDetalheTexto .textoData {
		color: #EC9A19;
		font-size: 11px;
		font-weight:bold;
		margin-top:8px;
		margin-bottom:5px;
	}
	
	#DestaqueDetalheTexto .textoTitulo {
		color: #000000;
		font-size: 12px;
		font-weight:bold;
	}
	
	#DestaqueDetalheTexto .textoTexto {
		color: #494949;
		font-size: 12px;
		margin-top: 15px;
	}
	
	#DestaqueDetalheTexto .textoBotaoVer{
		float:left;
		margin-top:10px;
		margin-bottom:10px;
	}

	#DestaqueDetalheTexto .textoBotaoProjectos{
		float:left;
		margin-top:10px;
		margin-bottom:10px;
	}



/* BOTÃO DE CHECKOUT NO CESTO
----------------------------------------------- */		
#Comprar
{
	clear:both;
	overflow: hidden;
	width: 100%;
	margin-bottom: 10px;
}
	#Comprar .comprar
	{
		float:right;
	}
	#Comprar.bottom
	{
		height: 30px;
		margin: 0px;
	}

	

/* ÁREA DE PAGINAÇÃO DE CONTEÚDOS
----------------------------------------------- */		
#Paginacao {
	
	float:right;
	color: #EC9A19;
	font-weight:bold;
	font-size:12px;
	text-transform:uppercase;
	text-align: left;
	margin: 0px;
	height: 15px;
}

	#Paginacao a{
		font-weight:bold;
 		color: #5A5A5A;
	}
	

/* Área de Links para Recursos de Projectos / Manuais na área do Professor */

#nome_disciplina
{	
	margin: 0;	
	padding-left: 10px;
	margin-bottom: 25px;
	font-weight: bold;
	font-size: 14px;
	color:#000000;
	background-color: #FAE9B4;
	height:25px;
	line-height:25px;	
}

#RecursosListagem {
	clear:both;
	width:100%;
	margin: 0px;
	padding-top:20px;
	margin-bottom:120px;
}

	#RecursosListagem #Recurso {
		
		float: left;
		width:140px;
		margin-right:20px;
		font-size: 11px;
	}	
		#RecursosListagem #Recurso a{
			color: #EC9A19;
			font-weight:bold;
			font-size:11px;
			text-decoration:none;
			margin-bottom:20px;
		}
	
#RecursosListagem #Recurso #Icones{
	width:700px;
	clear:both;
	overflow:hidden;
}

	#RecursosListagem #Recurso #Icones img{
		width: 30px;
		bottom:0px;
		float:left;
		height:29px;
	}

	#RecursosListagem #Recurso #Icones a{
		padding-left:20px;
		color:black;
		float:left;
		line-height:29px;
		bottom:0px;
		position:relative;
	}


					
	