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

html,
body {
	margin:0;
	padding:0;
	height:100%; /* necessário para a posição do footer ao fundo*/
	font-family: Arial, Verdana, Helvetica, sans-serif;
	font-size:13px;
	color:#575757;
	background-color:#fbfbfb;
        background-image: url('/media/images/bg.jpg');
        background-repeat: repeat-x;
}

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:-90px; /* margin-bootom é o valor negativo da altura do footer */
	width:960px;
}
#wrapper_assoc > .section {
	margin:6px;
}

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


#header {
	/*height:340px;*/
	width:960px;
}
#header_top{
    height: 119px;
    width: inherit;
    background: url('/media/images/bg_header_top.jpg') repeat-x;
}
#header_bottom{
    
}
#logo{
    width: 300px;
    height: 70px;
    float: left;
    margin: 20px;
}
#world{
    width:230px;
    height: 95px;
    float: left;
    margin-top: 10px;
}
#block1, #block2{
    float:left;
    display:inline-block;
}
#block2{
    width: 240px;
    height: 119px;
    margin-left: 15px;
}
#lock{
    margin: 10px 0 0 39px;
}
#user{
    width: 204px;
    height: 20px; 
    margin-bottom: 5px;
}
#pass{
    width: 170px;
    height: 20px;   
    float:left;
}
input {  
    padding: 5px;  
    font-size: 15px;  
    text-shadow: 0px 1px 0px #fff;  
    color: #5f5f5f;
    outline: none;  
    -webkit-border-radius: 5px;  
    -moz-border-radius: 5px;  
    border-radius: 5px;
    -khtml-border-radius: 5px;
    border: 1px solid #bdbdbd;  
} 
#btn_ok{
        background-color: #0073ae;
        color: #fff;
        cursor:pointer;
        border: none;
        width: 31px; 
        height: 31px;
        font-weight: bold;
        font-size: 11px;
        margin-left: 3px;
        float:left;
}
#btn_ok:hover{
        background-color: #5f5f5f;
}
#menu{
	height:24px;
	width:960px;
        margin: 2px 0 0 0;
	
}
#banner{
    height: 189px;
    width: 960px;
    float:right;
    /*background: url('/media/images/banner2_pt.png');*/
}

#content {
	width:960px;
	clear:both;
	min-height:100%;
}
#left{
    width:312px;
    float:left;
    background-color: rgba( 255, 255, 255, 0.5);
}
#header_left{
    height: 35px;
    line-height:35px;
}
#header_left img{
    margin:5px;
}
#b1, #b2, #b3{
    width: 312px;
    height: 109px;
    cursor:pointer;
}
#b3{
    height: 117px;
    margin-top: -8px;
}
#right{
    width: 648px;
    float:left;
    background-color: rgba( 255, 255, 255, 0.5);
    margin-top: 20px;
}
#wrapper_right{
    width: 648px;
    margin-top: 27px;
    background-color: #fff;
    height: 315px;
}
#right_base{
    width: 648px;
    float:left;
    background-color: rgba( 255, 255, 255, 0.5);
    margin-top: 20px;
}
#wrapper_right_base{
    width: 628px;
    margin-top: 10px;
    background-color: #fff;
    padding: 0 10px;
}

#center{
    width:336px;
    float:left;
}
#center img{
    margin:34px;
}
#noticias{
    width:312px;
    float:left;
}
#flags{
    width: inherit;
    text-align: right;
    margin-top: 3px;
}
#pesquisa{
    height: 60px;
    background: url('/media/images/bg_pesquisa.jpg') repeat-x;
    border: 1px solid #f4f4f4;
}
#header_noticias{
    height: 35px;
    line-height:35px;
    background-color: #4098c5;
}
#header_noticias img{
    margin:5px;
}
.news{
    height:184px;
}
#mais{
    background: url('/media/images/mais_noticias.jpg') no-repeat;
    height:24px;
    text-align: center;
    font-weight: bold;
    font-size: 13px;
    padding: 10px 0 0 0;
}
#push {
	height: 90px; /* tem de ter a mesma altura do footer */
}
.item_news{
    height: 67px;
    width: 302px;
    background: url('/media/images/noticia.jpg') no-repeat;
    padding: 20px 5px 5px 5px;
}
.date_noticia{
    color:#186891 !important;
    font-size: 9px !important;
    font-style: normal !important;
}
.titulo_noticia{
    color: #fff !important;
    font-size: 11px;
    text-transform: uppercase;
}
.txt{
    color: #fff;
}
.imagem_destaque{
    height:70px;
    float:left;
    margin: 0 10px 0 10px;
}
#wrapper_assoc{
    margin: 20px 0;
}
.section{
    margin:20px;
}

h1.title{
    color: #186891 !important;
    margin: 30px 0 0 10px;
}

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

#wrapper_footer {
	width:100%;
	height: 90px;
	background:#CCCCCC url('/media/images/bg_footer.jpg') repeat-x;
}
#footer {
	margin: 0 auto;
	width:910px;
	height: 80px;
        padding: 10px 20px 0 20px;
}

#footer .left {
	float:left;
	padding:10px 30px 0px 10px;
}

#footer .center {
	float:left;
	padding:0px 0px 0px 0px;
	margin-left:0;
}
#newsletter {
	float:right;
}
#newsletter input {
	padding:2px;
}
#footer .right {
	float:right;
	padding:7px 10px 0px 0px;
	margin-top:-22px;
}
.morada{
    font-size: 10px;
    font-weight: normal;
    width: 200px;
}


/* 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 {
	font-family: Arial, Verdana, Helvetica, sans-serif;
	font-size:13px;
	color:#186891;
	text-decoration:none;
}
a:visited {
	font-family: Arial, Verdana, Helvetica, sans-serif;
	font-size:13px;
	color:#186891;
	text-decoration:none;
}
a:hover {
	font-family: Arial, Verdana, Helvetica, sans-serif;
	font-size:13px;
	color:#186891;
	text-decoration:underline;
}
a:active {
	font-family: Arial, Verdana, Helvetica, sans-serif;
	font-size:13px;
	color:#186891;
	text-decoration:underline;
}




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

#search {
	float:right;
	width:300px;
	height:60px;
}

#search_form {
	float:right;
	width:300px;
	height:46px;
        padding-top: 14px;
}

#search_input input{
    width: 240px;
}

#search_btn input{
    margin: 3px 0 0 5px;
    border: none !important;
}



/*  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;
}


/*  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 sea6px;
	background:#ccc;
	border-left:1px solid #dbdbdb;
}

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



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

form {margin:0px;} 

.form_field_active{ background-color:#f5f5f5;} /*cor de fundo para campos seleccionados*/

form.LV_form_to_validate input{
	float:left;
}

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

.LV_validation_message{ padding:0px 0px 0px 3px; vertical-align:middle; float:left;}

/* 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;}

/*  OUTROS */

#history_back{padding-top:5px; border-top: 1px dashed  #186891; text-align:right;}

.cp_separator{
	float: left;
}

.fl{
    float:left !important;
}
.fr{
    float:right !important;
}
.mt10{
    margin-top: 10px;
    #margin-top: 0px;
    margin-top: 0px\0/;
    margin-top: 0px\9;
}
.white{
    color:#fff !important;
    text-decoration: none !important;
}
a.white:hover {
    color: #186891 !important;
}
.grey{
    color: #464646 !important;
    text-decoration: none !important;
}
a.grey:hover {
    color: #186891 !important;
}

.blue{
    color: #186891 !important;
    text-decoration: none !important;
}
a.blue{
    color: #186891 !important;
    text-decoration: none !important;
}
a.blue:hover{
    text-decoration: underline !important;
}