body {
/*	background-image: url(http://www.-------.com/template/reriv/images/bkg.gif);   */
    background-repeat: repeat-x;
    background-attachment: fixed;
/*	background-color: #221B18;   */
	margin: 0px;
}
.main {
	text-decoration: none;
	padding: 20px;
	background-color: #F7F7F7;
	border-top: 0px solid #e4e0ea;
	border-left: 1px solid #e4e0ea;
}
.container {
	border-right: 1px solid #e4e0ea;
	border-left: 1px solid #e4e0ea;
}
td {
	font-family: verdana;
	font-size: 11px;
	font-weight: normal;
	color: #000000;
	text-decoration: none;
}
a:link {
	font-family: Verdana;
	font-size: 11px;
	font-weight: normal;
	color: #003366;
	text-decoration: underline;
	}
a:visited {
	font-family: Verdana;
	font-size: 11px;
	font-weight: normal;
	color: #003366;
	text-decoration: underline;
	}
a:hover {
	font-family: Verdana;
	font-size: 11px;
	font-weight: normal;
	color: #0066FF;
	text-decoration: none;
	}

	
.nav {
	color: #c5d2e4;
} 
.nav a:link {
	font-family: Verdana;
	font-size: 11px;
	font-weight: normal;
	color: #c5d2e4;
	text-decoration: none;
	}
.nav a:visited {
	font-family: Verdana;
	font-size: 11px;
	font-weight: normal;
	color: #c5d2e4;
	text-decoration: none;
	}
.nav a:hover {
	font-family: Verdana;
	font-size: 11px;
	font-weight: normal;
	color: #FFFFFF;
	text-decoration: underline;
	}
/* style for check user bar:underline links BEGIN */	
.nav_und_line {
	color: #c5d2e4;
} 
.nav_und_line a:link {
	font-family: Verdana;
	font-size: 11px;
	font-weight: normal;
	color: #c5d2e4;
	text-decoration: underline;
	}
.nav_und_line a:visited {
	font-family: Verdana;
	font-size: 11px;
	font-weight: normal;
	color: #c5d2e4;
	text-decoration: underline;
	}
.nav_und_line a:hover {
	font-family: Verdana;
	font-size: 11px;
	font-weight: normal;
	color: #FFFFFF;
	text-decoration: underline;
	}
/* style for check user bar: underline links END */	
.left {
	padding-right: 0px;
	padding-bottom: 10px;
	padding-left: 10px;
	background-color: #F7F7F7;
}
.heading {
	font-family: verdana;
	font-size: 12px;
	font-weight: bold;
	color: #002e70;
	text-decoration: underline;
}
.input {
	font-family : Verdana; 
	font-size : 10px; 
	font-weight : normal; 
	color : #333333; 
	text-decoration : none; 
	background-color : #ffffff; 
	border : 1px inset #cccccc; 
}
.box {
	border: 1px solid #CCCCCC;
	background-color: #FFFFFF;
	padding: 5px;
}
.logo{
	background-image: url("{template_url}/images/{company_logo}");
	background-repeat: no-repeat;
	height: 100px;
}



/* BEGIN .:: NEW ::. LISTING BROWSE PAGE NAVIGATION WIDGET( pag.1-2-3..ecc) 'next_prev()'display stuff */
.browse_tool_table {
	background-color: #F7F7F4;
	width:100%;
	font-size: 11px;
	text-decoration: none;
	color: black;
	border: 1px solid #DDD;
	padding: 2px 2px 2px 2px;
	margin-bottom: 6px;
}
.browse_tool {
	background-color: #EBEBEB;
	font-size: 11px;
	text-decoration: none;
	color: black;
}
.browse_tool_num {
	color: #336699;  /* SEARCH RESULTS NUMBERS COLOR */
}
.browse_tool_button A {
	background-color: #EBEBEB;
	font-size: 10px;
	line-height: 10px;
	text-align: center;
	border: 1px dashed #003466; /* Tratteggio SAVE SEARCH & REFINE SEARCH Buttons */
	font-weight: bold;
	text-decoration: none;
	color: #00A1DF;
	width: 100px;
	display: block;
	line-height: 16px;
}
.browse_tool_button A:visited {
	color: #00A1DF;
}
.browse_tool_button A:hover {
	color: #555555;          /* SAVE THIS SEARCH & REFINE SEARCH COLOR OVER */
}
.browse_tool_ghost {
	font-size: 10px;
	line-height: 10px;
	color: #aaaaaa;
	text-decoration: none;
}
.browse_tool_curpage {             /* CURRENT -selected- PAGE PARAMETERS */
	border: 1px solid #00A1DF;
	color: #555555;
	font-weight: bold;
	padding: 4px 4px 4px 4px;
	display: block;
	text-align: center;
	BACKGROUND-COLOR: #FFFFFF;    /* BKG COLOR OF CURRENT PAGE */
}
.bt_pages {
	font-family: verdana, arial, Helvetica, sans-serif;
	BACKGROUND-COLOR: #EBEBEB;        /* BKG COLOR PAG. 1-2-3.... */
	text-decoration:none;
	vertical-align: middle;
	color:	#000000;
}
bt_pages_ghost{
	color:	#aaaaaa;
	text-decoration:none;
}
A.bt_pages{
	border: 1px solid #00A1DF;     /* COLORE CONTORNO PAG.1-2-3... */
	color: #00A1DF;                /* TEXT COLOR PAG.1-2-3... */
	padding: 4px 4px 4px 4px;
	display: block;
	text-align: center;
}
A.bt_pages:visited{
	color: #00A1DF;
}
A.bt_pages:hover{
	color:#FFFFFF;
	background: #CCFF00;  /* Bkg Color On Mouse Over verde acido */
}

/* END .:: NEW ::. LISTING BROWSE PAGE NAVIGATION WIDGET( pag.1-2-3..ecc) 'next_prev()'display stuff */
/* Begin Cornice for Listing Images */
a img {  
  border: 0px solid #00A1DF; 
  padding: 0px;
  margin: 5px 15px 5px 5px;
  background-color: #f7f7f7;
}
/* End Cornice for Listing Images */

/* Begin Sort Listing Style Buttons */
.sort_listings{
	padding:1px;
	background-color: #dddddd;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size:11px;	
	border:1px solid #999999;	
}
/* End Sort Listing Style Buttons */
/* Begin Slide Show Buttons Ancora da Sistemare */
.slideshow_buttons {
	border:1px solid #999999;
	background-color:#ffffff;
	padding: 0px 3px 0px 3px;
}
/* End Slide Show Buttons */


/* BEGIN LISTING PAGE DETAILS 'listing_next_prev'  */
.next_prev_listing { margin: 1em 0 1em 1em;  border: 1px solid #a9a9a9; width: 100%; text-align: center; }
.next_prev_listing ul { margin: 1em auto; }
.next_prev_listing li { display: inline; padding: .2em 1em; list-style-type: none; }
.count, .listing_xy { width: 100%; background-color: #dcdcdc; clear: both; padding: .2em 0; }
/* END LISTING PAGE DETAILS 'listing_next_prev'  */
/* Begin CSS for Dynamic Tabbed Pages */
/* Modified (by myself) width parameter from 100% to 726px in order to stay on layout on IExplorer */
.dynamic-tab-pane-control.tab-pane {
	position:	relative;
	width:		726px;		/* width needed weird IE bug */
	margin-right:	-2px;	/* to make room for the shadow */
}
.dynamic-tab-pane-control .tab-row .tab {
	width:				70px;
	height:				16px;
	background-image:	url( http://www.brokersriviera.com/template/reriv_n/images/tab.png );
	position:		relative;
	top:			0;
	display:		inline;
	float:			left;
	overflow:		hidden;
	cursor:			Default;
	margin:			1px -1px 1px 2px;
	padding:		2px 0px 0px 0px;
	border:			0;
	z-index:		1;
	font:			11px Tahoma;
	white-space:	nowrap;
	text-align:		center;
}
.dynamic-tab-pane-control .tab-row .tab.selected {
	width:				74px !important;
	height:				18px !important;
	background-image:	url( http://www.brokersriviera.com/template/reriv_n/images/tab.active.png ) !important;
	background-repeat:	no-repeat;
	border-bottom-width:	0;
	z-index:		3;
	padding:		2px 0 0px 0;
	margin:			1px -3px -3px 0px;
	top:			-2px;
	font:				11px Tahoma;
}
.dynamic-tab-pane-control .tab-row .tab a {
	font:				11px Tahoma;
	color:				Black;
	text-decoration:	none;
	cursor:				default;
}
.dynamic-tab-pane-control .tab-row .tab.hover {
	font:				11px Tahoma;
	width:				70px;
	height:				16px;
	background-image:	url( http://www.brokersriviera.com/template/reriv_n/images/tab.hover.png );
	background-repeat:	no-repeat;
}
.dynamic-tab-pane-control .tab-page {
	clear:			both;
	border:			1px solid rgb( 145, 155, 156 );
	background:		#f7f7f7;
	z-index:		2;
	position:		relative;
	top:			-2px;
	font:				11px Tahoma;
	color:				Black;
	filter:			progid:DXImageTransform.Microsoft.Gradient(StartColorStr=#fffcfcfe, EndColorStr=#fff4f3ee, GradientType=0)
					progid:DXImageTransform.Microsoft.Shadow(Color=#ff919899, Strength=2, Direction=135);
	/*244, 243, 238*/
	/* 145, 155, 156*/

	padding:		 5px;
}
.dynamic-tab-pane-control .tab-row {
	z-index:		1;
	white-space:	nowrap;
}

/* End CSS for dynamic Tabbed Pages */
/* CSS for Tool Tip begin */
a.tooltip {
	position: relative;
	vertical-align:top;
}

a.tooltip span {
	display: none;
	position: absolute;
	top: 0px;
	left: 20px;
	width: 180px;
	padding: 2px;
	z-index: 100;
	background: #BCCAD1;
	color: #000;
	font-weight:bold;
}

a:hover.tooltip {
	font-size: 99%; /* this is just for IE */
}

a:hover.tooltip span {
	display: block;
}
/* CSS for Tool Tip end */

/* BLOG Style Begin
*******************************************************************************/
.blog_date {
clear:both;
color:#808080;
margin-bottom:3px;
font-size:10px;
}
.blog_title{
font-weight:bold;
font-size:18px;
color:#9FB6D5;
border-bottom:1px dotted;
}
.blog_summary{
padding:7px;
color:#808080;
}
.blog_story_link_line{
padding-left:7px;
padding-bottom:5px;
}
a.blog_story_link{
text-decoration:none !important;
}
.blog_entry_footer {
background-color:#9FB6D5;
display:block;
height:15px;
padding-left:5px;
padding-top:2px;
padding-right:5px;
margin-bottom:15px;
font-size:10px;
}

.blog_byline{
float:left;
}
.blog_comments{
float:right;
}
.blog_full_article{
padding:7px;
color:#808080;
}
.blog_article_comments_header{
font-weight:bold;
font-size:18px;
color:#053280;
margin-bottom:10px;
}

.blog_article_comment_item{
margin-left:10px;
margin-right:10px;
padding-bottom:5px;
padding-top:5px;
}
.blog_article_comment_title_row{
background-color:#9FB6D5;
display:block;
height:15px;
padding-left:5px;
padding-top:2px;
padding-right:5px;
margin-bottom:15px;
font-size:10px;
}
.blog_article_comment_text {
padding-left:5px;
padding-right:5px;
color:#808080;
}

.add_comment_block{
padding-left:20px;
margin-top:10px;
}

.blog_leave_comment_text {
color:#053280;
}
.blog_leave_comment_submit{
border-color:#053280;
font-weight:bold;
font-size:10px;
}

.blog_leave_comment_text_textarea{
width:500px;
height:75px;
}
/* BLOG Style End
*******************************************************************************/

#firstBtn a, #prevBtn a, #nextBtn a, #lastBtn a, 
.button {
	background: #398b00;
	padding: 5px;
	border: 1px solid #58a121;
	text-decoration: none!important;
	font-size: 12px;
		font-family: Palatino,'Palatino Linotype',Georgia,Times,'Times New Roman',serif;
	-moz-border-radius: 5px; 
	-webkit-border-radius: 5px;
	color: #fff!important;
}

.buttonup a {
	background: #398b00;
	padding: 5px;
	border: 1px solid #58a121;
	text-decoration: none!important;
	font-size: 11px;
	-moz-border-radius: 5px; 
	-webkit-border-radius: 5px;
	color: #fff!important;
}

.button:hover, .buttonup a:hover {
	background: #58a121;
	padding: 5px!important;
	text-decoration: none;
}

