*
{
  margin:0px;
  padding:0px;
  font-family:verdana,arial;
  font-size:12px;
  /*color:#7D7D7D;*/
  color:#585858;
  text-decoration:none;  
}

img,fieldset{border:none;}

input,select,textarea{background-color:#FFF;border:1px solid #7D7D7D;}
input{padding-top:3px;height:20px;}
.focus{background-color:#D0E7AF;border:1px solid #84BA38;}

a{color:#84BA38;}
a:hover{text-decoration:underline;}
a:active{outline: none;}
a:focus{-moz-outline-style: none;}

a.a_title{font-weight:bold;}

body
{
  background-color:#323232;  
  text-align:center;
  position:relative;
}

/******* HEADER *************/
div#header
{
  margin:0px auto;
  width:950px;
  overflow:hidden;
  background:url(../images/top_bg.jpg) no-repeat 0px 0px;
  position:relative;
  padding-top:67px;
}


div.top_left_corner{background:transparent url(../images/header_menu_left_corner.gif) no-repeat top left;position:absolute;top:0px;left:0px;width:19px;height:22px;}
div.top_right_corner{background:transparent url(../images/header_menu_right_corner.gif) no-repeat top left;position:absolute;top:0px;right:0px;width:26px;height:23px;}
div.bottom_left_corner{background:#DDDDDD url(../images/bottom_left_corner.gif) no-repeat bottom left;position:absolute;bottom:0px;left:0px;width:17px;height:18px;}
div.bottom_right_corner{background:#DDDDDD url(../images/bottom_right_corner.gif) no-repeat bottom left;position:absolute;bottom:0px;right:0px;width:23px;height:20px;}

#div_banner
{
  margin:auto;
  height:178px;
  width:985px;
  overflow:hidden;
  text-align:center;
}

#div_banner img
{
  margin-left:-3px;
}

table#table_header
{
  clear:both;
  width:100%;
}
 
#header_left
{
  background:#DDD url(../images/left_shade.gif) repeat-y top left;
  width:621px;
}

#header_right
{
  background:#DDD url(../images/right_shade.gif) repeat-y top right;
  width:329px;
  height:25px;
}

#header_login
{
  background:url(../images/white_bar.jpg) repeat-y top left;
  height:25px;  
}

#logged_in_links,
#logged_off_links
{
  overflow:hidden;
  position:absolute;
  bottom:0px;
  right:26px;
  width:298px;
}

#logged_in_links{background:url(../images/logged_on.png) no-repeat 0px 0px;height:75px;overflow:hidden;}

/** LOGOUT ***/
#logged_off_links a
{
  background:url(../images/buttons.png) no-repeat -1px -88px;
  color:#FFF;
  text-align:center;
  width:95px;
  height:40px;
  float:left;
  font-size:12px;
  color:#FFF;
  font-weight:bold;
  padding-top:17px;
  overflow:hidden;
}

#logged_off_links{height:40px;}
#logged_off_links a#menu_item_login{margin-left:102px;}
#logged_off_links a#menu_item_register{margin-left:4px;}

/*** LOGIN ****/
#logged_in_links #logged_nickname
{
  float:left;
  font-weight:bold;
  margin-left:5px;
  margin-top:17px;
  text-align:left;
  width:150px;
}
#logged_in_links .tiny_user_image
{
  float:left;
  margin-left:95px;
  margin-top:10px;
}

#user_area_links
{
  padding-top:16px;
  color:#84BA38;
  text-align:center;
}
    
#user_area_links a{font-size:10px;letter-spacing:-0.7px;border-right:1px solid;margin-right:3px;padding-right:3px;}

div#header #header_menu
{
  width:600px;   
  text-align:left;     
  overflow:hidden;
  position:absolute;
  left:20px;
  top:44px;
  z-index:1;
  height:45px;
}

div#header #header_menu .menu_item
{
  background:url(../images/buttons.png) no-repeat scroll 1px 0px;
  color:#FFF;
  float:left;
  font-size:12px;
  font-weight:bold;
  line-height:30px;
  outline:none;  
  padding-top:10px;
  text-align:center;
  text-decoration:none;
  width:118px;
  height:50px;
}

div#header #header_menu .menu_item:hover
{
  background:url(../images/buttons.png) no-repeat scroll -116px 0px;
}

div#header_login_container
{
  float:right;
  width:303px;      
  background:#FFF url(../images/white_right_shade.gif) repeat-y top right;
  height:95px;
  margin-right:21px;
}
/******** MAIN content ****************/
div#main_content
{
  margin:0px auto;
  width:950px;  
  clear:both;
}

div#main_content_2
{
  background:#DDD url(../images/right_shade.gif) repeat-y top right;
}

table#main_table{width:100%;}

table#main_table td{vertical-align:top;}


a.small_button, a.small_button2
{
  float:right;
  width:78px;
  height:31px;
  color:#7D7D7D;
  text-align:center;
  line-height:30px;
  background:url(../images/buttons.png) no-repeat 0px -128px;
}
a.small_button2
{
  background:url(../images/buttons.png) no-repeat 0px -160px;
  width:119px;
}

a.small_button:hover, a.small_button2:hover
{
  color:#FFFFFF;
  background-position:-78px -128px;
  text-decoration:none;
}
a.small_button2:hover
{
  background-position:0 -190px;
}

td#td_avatar{padding-left:15px;width:210px;}

.tiny_user_image
{
  width:43px;
  height:28px;
  position:relative;
}

.small_user_image
{
  background: transparent url(../images/user_small_frame.png) no-repeat 0px 0px;
  width:104px;
  height:74px;
  position:relative;
  float:left;
  overflow:hidden;

}

.big_user_image
{
  background: transparent url(../images/user_big_frame.png) no-repeat 0px 0px;
  width:206px;
  height:142px;
  position:relative;
}

.small_event_image
{
  background: transparent url(../images/event_small_frame.png) no-repeat 0px 0px;
  width:104px;
  height:119px;
  position:relative;
}

.big_event_image
{
  background: transparent url(../images/event_big_frame.png) no-repeat 0px 0px;
  width:206px;
  height:236px;
  position:relative;
}

.small_event_image img,.big_event_image img,.tiny_user_image img,.small_user_image img,.big_user_image img
{
  position:absolute;
}
/*****************/
/*MAIN CELL LEFT */
/*****************/
td#main_cell_left
{
  width:621px;
  background:#DDD url(../images/left_shade.gif) repeat-y 0px 0px;
}
td#main_cell_left div.cell_left_bar
{
  background:transparent url(../images/big_bar.png) no-repeat scroll 0 0;
  text-align:left;  
  height:50px;
  text-align:left;
  margin-left:5px;
  margin-bottom:15px;
  width:616px;
}

td#main_cell_left div.cell_left_bar img
{
  margin-left:16px;
  margin-top:16px;
}

td#main_cell_left div.small_cell_left_bar
{
  background:transparent url(../images/small_bar.png) no-repeat scroll 0 0;
  float:left;
  height:50px;
  text-align:left;
  width:308px;  
}

td#main_cell_left div.small_cell_left_bar img
{
  margin-left:16px;
  margin-top:16px;
}
/*****************/
/*MAIN CELL RIGHT */
/*****************/
td#main_cell_right
{
  background:url(../images/white_bar.jpg) repeat-y top left;
}

td#main_cell_right div#div_rest_of_header
{  
  background:url(../images/top_mic.jpg) no-repeat 4px 0px;
  text-align:left;
  /*position:relative;*/
}

div#hp_calendar
{
  /*margin-top:46px;*/
  margin-left:10px;
  margin-right:30px; 
}
div#hp_calendar img#calendar_loading
{
  position:absolute;
  top:-10px;
  right:135px;
}

#ui-datepicker-div
{
  top:0px;
  left:0px;
  background-color:#FFF;
  border:2px solid #BBC77B;
  padding:2px 4px;
  z-index:101;
  display:none;
  width:220px;
}

div#hp_calendar .dayEvent a
{
  font-weight:bold;
  text-decoration:underline;
}
div#hp_calendar .userEvent a
{
  font-weight:bold;
  background-color:#E7F09E;
}

td#main_cell_right div.cell_right_bar
{
  background:url(../images/green_bar.jpg) no-repeat scroll 0 0;
  text-align:left;  
  height:52px;
  width:309px;
  text-align:left;
  margin-top:25px;
  margin-left:10px;
}

td#main_cell_right div#cell_right_bar_first,
td#main_cell_right div#cell_right_bar_first_2
{
  text-align:left;  
  height:52px;
  width:309px;
  text-align:left;
  margin-left:10px;
  margin-bottom:46px;
}
td#main_cell_right div#cell_right_bar_first_2
{
  margin-bottom:68px;
}

td#main_cell_right div#cell_right_bar_first img,
td#main_cell_right div#cell_right_bar_first_2 img,
td#main_cell_right div.cell_right_bar img
{
  margin-top:15px;
  margin-left:15px;
}
td#main_cell_right div#cell_right_bar_first_2 img
{
  margin-top:18px;
}

div.pub_leader_board
{
  border-bottom:1px solid;
  border-top:1px solid;
  margin:20px 10px 0px 10px;
  padding-bottom:5px;
  padding-top:5px;
  text-align:center;
  clear:both;
}
/***** FOOTER ***************/

div#footer
{
  margin:0px auto;
  width:950px;
  height:75px;
  background:url(../images/footer_bg.jpg) no-repeat scroll top left;
}





/********************/
/*  VALIDATION CSS  */
/********************/

form p.error_msg
{
  display:none;
  color:red !important; /* para sobrepor às definições de css locais */
  font-size:11px !important; /* para sobrepor às definições de css locais */
  overflow:hidden !important; /* para sobrepor às definições de css locais */
  clear:both !important; /* para sobrepor às definições de css locais */
  margin-left:210px !important; /* para sobrepor às definições de css locais */
  text-align:left !important; /* para sobrepor às definições de css locais */
}

form span.ok_img, 
form span.error_img
{
  /*top:0px;*/
  height:24px !important; /* para sobrepor às definições de css locais */
  /*position:absolute !important; /* para sobrepor às definições de css locais */
  /*right:3px;*/
  width:24px !important; /* para sobrepor às definições de css locais */
  display:none;
  clear:none !important; /* para sobrepor às definições de css locais */
  float:right !important; /* para sobrepor às definições de css locais */
  background:transparent url(/media/images/icon_set_24.png) no-repeat scroll 0 -58px; /*accept*/
  margin:0px !important; /* para sobrepor às definições de css locais */
}

form span.error_img
{
  background:transparent url(/media/images/icon_set_24.png) no-repeat scroll 0 -783px; /*warning*/
}

/*** FOOTER LINKS ******/
.footer_links
{
  float:left;
  width:195px;
  margin-left:10px;
  margin-top:15px;
}

.footer_links p{text-align:left;margin-bottom:5px;}
.footer_links p.footer_title
{
  border-bottom:1px dashed #FFF;
  text-transform:uppercase;
  padding-bottom:5px;
  margin-bottom:10px;
}

/** COPYRIGHT ***/
#p_copyright
{
  text-align:left;
  color:#FFF;
  padding-left:15px;
  padding-top:30px;
  float:left;
}

#p_footer_links
{
  float:left;
  margin-left:20px;
  padding-top:27px;
}
/********** MAIN *****************/
/*****************/
/* DESTAQUES     */
/*****************/

#hp_main_highlights
{
  overflow:hidden;
  width:100%;
  margin-left:3px;
}

.hp_main_highlight
{
  width:206px;
  height:281px;
}

.highlight_info
{
  text-align:left;
  margin-left:10px;
  margin-bottom:10px;
}

img.green_corner
{
  position:absolute;
  left:6px;
  top:6px;
}

td#main_cell_left .see_more
{
  clear:both;
  text-align:right;
  overflow:hidden;
  padding-top:10px;
}

table.left_table td p{margin-left:107px;}

/** USER SECTION FORMAT ***/

table#table_user_highlight {width:100%;}
table#table_user_highlight td{width:50%;}

.div_user_container
{
  overflow:hidden;
  display:block;
  margin:5px;
}

.div_user_container p{text-align:left;}
/** WHAT YOU'VE LOST SECTION ***/
td#main_cell_left #ul_what_you_lost
{
  list-style:none;
  text-align:left;
  margin-left:20px;
  margin-top:10px;
}

td#main_cell_left #ul_what_you_lost li{margin-bottom:5px;}

td#main_cell_left #ul_what_you_lost span{font-weight:bold;margin-right:5px;}

/*PESQUISA RÁPIDA*/

td#main_cell_right div#quick_search_div
{
  background:url(../images/search_bg.gif) no-repeat scroll 16px 0;
  margin:10px 0;
  overflow:hidden;
  padding-left:15px;
  height:40px;
}

td#main_cell_right form#quick_search_form
{
  display:block;
  overflow:auto;
  clear:both;
}

#quick_search_type
{
  overflow:hidden;
  margin-left:20px;
}

#quick_search_type input
{
  border:none;
}

td#main_cell_right form#quick_search_form input{float:left;margin-right:10px;}
td#main_cell_right form#quick_search_form label{float:left;margin-right:3px;}

td#main_cell_right form#quick_search_form input#quick_search_keyword
{
  background-color:transparent;
  border:0 none;
  font-size:14px;
  margin-left:10px;
  margin-right:0px;
  margin-top:7px;
  width:230px;
  float:left;
}

td#main_cell_right form#quick_search_form input#quick_search_button
{
  background:transparent url(../images/search_button.gif) no-repeat scroll 0 0;
  float:left;
  border:0 none;
  cursor:pointer;
  height:29px;
  width:29px;
  margin-top:4px;
  margin-left:5px;
}

p#p_advanced_search
{
  margin-right:30px;
  margin-top:5px;
  text-align:right;
}

/*MREC*/

td#main_cell_right div#hp_mrec
{
  width:300px;
  height:250px;
  margin-left:4px;
}

/*** ACTIVIDADE RECENTE ****/

p.p_activity
{
  margin-top:5px;
  margin-left:13px;
  margin-right:30px;
}

p.p_activity a{color:#AAD46F;}

/*EVENTOS*/

td#main_cell_right div.col_right_highlight_parties
{
  margin-left:13px;
  margin-right:30px;
}

td#main_cell_right div.col_right_highlight_parties .party_item
{
  border-bottom:1px dashed black;
  margin-top:5px;
  padding-bottom:7px;
  background-color:transparent;
  overflow:hidden;
  width:100%;
}

td#main_cell_right div.col_right_highlight_parties .party_item_over{background-color:#DCEDC3;}

td#main_cell_right div.col_right_highlight_parties .party_item p
{
  overflow:hidden;
}

td#main_cell_right div.col_right_highlight_parties .party_item .party_title
{
  float:left;
  width:55px;
  font-weight:bold;
}

td#main_cell_right div.col_right_highlight_parties .party_item .party_value
{
  float:left;
  width:230px;
}

/* mensagens de informação para o utilizador */
p.user_info_msg
{
  font-size:12px; 
  background:transparent url(/media/images/icon_set.png) no-repeat scroll 0 -936px; /*info*/
  margin-left:10px; 
  padding-left:35px;  
  line-height:30px;
  text-align:left;
}

p.user_info_msg_short
{
  font-size:12px;
  margin-left:10px;  
  background:transparent url(/media/images/icon_set.png) no-repeat scroll 0 -936px; /*info*/
  padding-left:35px;
  height:32px;
  line-height:30px;
  text-align:left;
}

input.input_submit
{
  background:transparent url(/media/images/buttons.png) no-repeat 0 -46px;
  border:none;
  width:112px;
  height:41px;
  font-size:12px;
  font-weight:bold;
  text-transform:capitalize;
  cursor:pointer;
  text-align:center;
}

input.input_submit_hover
{
  background:transparent url(/media/images/buttons.png) no-repeat -113px -46px;
  color:#FFF;
  border:none;
  width:112px;
  height:41px;
  font-size:12px;
  font-weight:bold;
  text-transform:capitalize;
  cursor:pointer;
  text-align:center;
}

input.inp_check{border:none;background-color:transparent;}

/*  alert e confirm  */
div.facebox_alert .input_dialog,
div.facebox_confirm .input_dialog
{
  margin:0px;
  border:0px;
  padding:0px;
  background:transparent url(/media/images/buttons.png) no-repeat scroll 0 -128px;
  color:#7D7D7D;
  height:31px;
  text-align:center;
  width:78px;
}
div.facebox_alert .input_dialog:hover,
div.facebox_confirm .input_dialog:hover
{  
  color:#FFF;
  background-position:-78px -128px;
  text-decoration:none;
  cursor:pointer;
}

div.facebox_alert .msg_container,
div.facebox_confirm .msg_container
{
  font-size:12px;
  margin-bottom:10px; 
}

div.facebox_alert
{
  background:transparent url(/media/images/icon_set.png) no-repeat scroll 0 -919px; /*info*/
  margin-bottom:10px;
  margin-left:8px;
  margin-top:5px;
  padding-left:50px;
}
div.facebox_confirm
{
  background:transparent url(/media/images/icon_set.png) no-repeat scroll 0 -845px; /*help*/
  margin-bottom:10px;
  margin-left:8px;
  margin-top:5px;
  padding-left:50px;
}
