/*  BASE ------------------------------------------------------------------  */

html,
body {
	margin:0;
	padding:0;
	height:100%; /* necessario para a posicao do footer ao fundo*/
	font-family:Verdana, Arial, Helvetica, sans-serif;
	font-size:11px;
	color:#8f8e8e;
}

img {
	border: 0;
	border: none;
}

/* CONTAINER ------------------------------------------------------------------ */


#container {
	min-height: 100%; /* necessário para a posição do footer ao fundo*/
	height:auto !important;
	height:100%;
	margin:0 auto;
	margin-bottom:-66px; /* margin-bootom é o valor negativo da altura do footer */
	width:1140px;
	background-color:#FFFFFF;
}


/* HEADER ------------------------------------------------------------------ */

#header {
	height:89px;
	width:1140px;
	background:url('/media/images/back_header_topo.jpg') repeat-x center top;
}

#header_right {
	float:right;
}

#header_right > div {
	float:right;
}

#content {
	width:1140px;
	clear:both;
	position:relative;
	float:left;
	background-color:#FFFFFF;
	height:100%;
}

#content_left {
	width:810px;
	padding:10px 26px 35px 16px;
	text-align: justify;
	clear: both;
	float:left;
	font-size:12px;
	line-height:16px;
}

#content_left table td, #content_left table table td {
    padding: 0;
}

#content_right {
	width:266px;
	padding:0 22px 94px 0;
	float:right;
}

#header_left {
    float: left;
    width: 27%;
	background:url('/media/images/back_header_logo.jpg') repeat-x center top;
}

#logo {
    margin-top: 19px;
	margin-left:15px;
}

#push {
	height:66px; /* tem de ter a mesma altura do footer */
	clear:both;
}


/* FOOTER ------------------------------------------------------------------ */

#footer {
	margin: 0 auto;
	width:1140px;
	text-transform:uppercase;
	color:#fff;
}

#footer #title1 {
	font-weight:bold;
	font-size:14px;
	margin-top:13px;
}

#footer_principal {
    background: url("/media/images/back_footer.jpg") repeat-x;
    height:66px;
    margin:0 auto;
    min-width:1140px;
}

#right_footer {
	margin:0 auto;
	padding:25px 0 10px 0;
	float:right;
	width:135px;
	height:auto;
}

#right_footer > span {
	display:inline-block;
}

#right_footer span::first-child {
	margin-top:10px;
}

.left {
	float:left;
}

.right {
	float:right;
}

/* LINKS GERAL ------------------------------------------------------------------ */

/* 
link -> visited -> hover -> active :: deve ser seguida esta ordem para formatar as anchors
http://www.w3.org/TR/CSS2/selector.html#dynamic-pseudo-classes
*/


a:link, a:visited, a:hover, a:active {
	font-family:Verdana, Arial, Helvetica, sans-serif;
	font-size:11px;
	color:#282828;
	text-decoration:none;
}
a:hover {
	text-decoration:underline;
}

/* PESQUISA ------------------------------------------------------------------ */


form {
    margin: 0;
}

#search {
	margin-top:30px;
	margin-right:20px;
}

#Form_Pesquisa #palavra {
    border: none;
	background:url('/media/images/back_search.jpg') repeat-x;
    color: #9B9A9A;
    height:29px;
    line-height:29px;
    width: 168px;
	padding-left:14px;
	border-left:1px solid #ebebeb;
}

#Form_Pesquisa #searchsubmit {
    background:url('/media/images/btn_search.jpg') no-repeat;
    border:none;
    cursor:pointer;
    height:31px;
    margin-left:-1px;
    width:41px;
}

/*  MESSAGES ------------------------------------------------------------------  */
.messages {
        padding:10px;
        text-align:center;
}

.messages .error {
        color:red;
        font-weight:bold;
}

.messages .message {
        color:green;
        font-weight:bold;
}

.error_message {
        color:red;
        font-size:10px;
}
/*
label.required {
	font-weight:bold;
}
*/

#newsletter {
	background:url('/media/images/back_newsletter.jpg') no-repeat;
	width:266px;
	height:99px;
	padding:16px 0 0 21px;
	margin-top:16px;
}

#newsletter #newslettersubmit {
    background: url('/media/images/btn_newsletter.jpg') no-repeat;
    border:none;
    cursor: pointer;
    height:32px;
    margin-left: -1px;
    width:32px;
}

#newsletter #email {
    border:none;
    color: #9B9A9A;
	background:url('/media/images/back_newsletter2.jpg') repeat-x;
    height: 30px;
    line-height: 30px;
    padding-left: 10px;
	border-left:1px solid #ededee;
    width: 190px;
}

#newsletter #newstitle {
	font-size:11px;
	color:#767676;
	margin-bottom:10px;
	text-transform:uppercase;
}

#newsletter #remover {
	margin-left:10px;
	float: right;
	
}

#remover +span {
	display: table;
    float: right;
    line-height:19px;
}

#loginhome {
	background:url('/media/images/back_login.jpg') no-repeat;
	width:266px;
	height:175px;
	padding:16px 0 0 21px;
	margin-top:16px;
}

#miniview {
    margin-top: 16px;
    width: 266px;
}

#logobottom {
	position:absolute;
	right:22px;
	bottom:16px;
	z-index:10;
}


/*  PAGINATOR ------------------------------------------------------------------  */

#paginator {
    padding-top:10px;
	padding-right:10px;
	padding-left:10px;
	background-color:#dbdbdb;
	display:block;
	height:25px;
}

#paginator .total_rows_pages{
	float:left;
	padding:3px;
	background-color:#ccc;
	display:inline-block;
	padding:2px 6px;
	margin-right:2px;
	color:#FFFFFF;
}

#paginator .paginatorBlock {
	float:right;
	background-color:#ccc;
	display:inline-block;
	padding:2px 6px;
}

#paginator a {
	padding:2px 6px;
	background:#ccc;
	text-decoration:none; 

}

#paginator .first {
	padding:2px 6px;
	background:#ccc;
	border-right:1px solid #dbdbdb;
}

#paginator .prev {
	padding:2px 6px;
	background:#ccc;
	border-right:1px solid #dbdbdb;
}

#paginator .next {
	padding:2px 6px;
	background:#ccc;
	border-left:1px solid #dbdbdb;
}

#paginator .last {
	padding:2px 6px;
	background:#ccc;
	border-left:1px solid #dbdbdb;
}

#paginator .current {
	padding:2px 6px;
	background-color:#FF6600;
	color:#FFF;
}

/*  FORM INPUTS ------------------------------------------------------------------ */

form {margin:0px;} 

form.LV_form_to_validate input{
	float:left;
}

/*icons de validação dos campos de forms*/
.valid_img{}
.invalid_img{}
.LV_invalid{}
.LV_valid{}

Utilizadores_Model_Utilizador .LV_validation_message, Utilizadores_Model_Utilizador .error_message{
	left: 0;
    line-height: 15px;
    position: absolute;
    bottom:-34px;
	color:#858585;
	font-size:12px;
}

/* para as select */
.LV_valid_field{float: left;}

/* para ao date-picker */
.date-picker-control{ float:left;}

/* botao para gerar password */
.span_passwordGenerator{padding:0px 0px 0px 3px; float:left;}

#breadcrumb {
	width:100%;
	margin-left:15px;
}

#breadcrumb a:link {
	color:#c5c1c1;
	text-decoration:none;
}

#breadcrumb a:visited {
	color:#c5c1c1;
	text-decoration:none;
}

#breadcrumb a:hover {
	color:#999797;
	text-decoration:none;
}

#breadcrumb a:active {
	color:#999797;
	text-decoration:none;
}

#breadcrumb .selected  {
	color:#999797 !important;
}

.breadcrumbsep {
    background: url("/media/images/breadcrumbsep.png") no-repeat;
    float: left;
    height: 7px;
    margin: 5px 10px;
    width: 5px;
}

/*  OUTROS */
#history_back{padding-top:5px; border-top: 1px dotted #999999; text-align:right;}

.cp_separator{
	float: left;
}

*:focus {
    outline: 0;
}

h1 {
	color:#555454;
}