/* -----------------  page styles -------------------------------------------------------*/

body { padding:0; margin:0; font:12px Verdana, sans-serif; line-height: 18px; background:#f4f4f4 url(http://www.rdm1.com/images/advertising/bodybg.gif) center repeat-y; color: #555; }
#wrapper { margin:2px auto; width:900px;  padding:0; background:#fff;}

/* -----------------  general styles  -------------------------------------------------------*/

a { color:#631e19; text-decoration: underline;background:none; }
a:hover { color:#894e4e; background:none; text-decoration:underline; }
p { margin:0;padding-top:2px;}
.serv {
	margin:0;
	padding-top:2px;
	line-height: 26px;
}
h2 {
	font-weight:bold;
	font-size:15px;
	padding:0px 0 4px 0px;
	margin: 0 0 2px 0;
	color:#444;
	background:none;
	border-bottom: 2px dotted #444;
	font-family: "Times New Roman", Times, serif;
}
ul { margin: 0; padding : 0; list-style : none; }
img { border: 0;}
h4 {font: 30px 'HelveticaNeue-CondensedBold', 'Arial Narrow', Helvetica, Arial, sans-serif; margin:0;}
.pic{margin-top:8px;}
/* -----------------  top info  -------------------------------------------------------*/

#header { clear:both; width:900px; height:80px; background: url(http://www.rdm1.com/images/advertising/header.jpg) no-repeat; 
margin:0; }
#title {float:left; width:240px; padding: 20px 0 10px 60px;}
#title h3 {font-size:12px; padding:5px 0 0 0; margin:0; color:#444;}
#hright {float:right; width:540px; height: 60px; margin:15px 0 0 0;}
#hrighttop {width: 200px;margin: 0 2px 0 0; padding: 0 8px 2px 0; float:right; text-align: right;}
#title p {font-size: 0.9em; color: #808080; padding: 0; background: inherit;}
#menu { width: 540px; float:right; margin:2px 0 0 0; padding:0; text-align:right;}
#menu li { display:inline; }
#menu li a {  color:#444; text-decoration:none; padding:1px 10px 1px 10px;
height:19px; background:none;}
#menu li a:hover { background: none;color:#990000;} 

/* ----------------- Main content -------------------------------------------------------*/

#bottomcontenttop{
	width:900px;
	height:10px;
	background-image: url(http://www.rdm1.com/images/advertising/b_contenttop.jpg);
	background-repeat: no-repeat;
}

#Main{
	width:898px;
	margin:0px;
	padding:0px;
	border-right:1px solid #c5c5c5;
	border-left:1px solid #c5c5c5;
	height: 850px;
}

#bottomcontent{
	width:898px;
	height:300px;
	border-right:1px solid #c5c5c5;
	border-left:1px solid #c5c5c5;
	clear: both;
}
#bottomcontentbtm{
	width:900px;
	height:10px;
	background-image: url(http://www.rdm1.com/images/advertising/b_contentbtm.jpg);
	background-repeat: no-repeat;
	background-position: bottom;
	clear: both;
}
#mainL{
	float: left;
	width: 550px;
	margin-top: 0;
	margin-right: 6px;
	margin-bottom: 5px;
	margin-left: 0;
	padding-top: 10px;
	padding-right: 10px;
	padding-bottom: 10px;
	padding-left: 20px;
}

#mainR{
	float: right;
	width: 290px;
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 5px;
	margin-left: 0;
	padding-top: 5px;
	padding-right: 5px;
	padding-bottom: 10px;
	padding-left: 0px;
}

#maincontent{
	height: 800px;
	width: 80%;
	padding-top: 5px;
	margin-right: auto;
	margin-left: auto;
	padding-left: 10px;
	padding-bottom: 10px;
}

#sidebar{
	float: right;
	width: 270px;
	padding:10px;
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 15px;
	margin-left: 0;
}

.left {float: right;width: 270px;margin: 0 6px 5px 0; padding:10px;}
.middle {float: right;width: 270px;margin: 0 6px 5px 0; padding:10px;}
.right {
	float: left;
	width: 270px;
	padding:10px;
	clear: right;
	margin-top: 0;
	margin-right: 6px;
	margin-bottom: 5px;
	margin-left: 0;
}
.thumbs img{
	position:static;
	padding:1px;
	margin:8px 14px 8px 12px;
	border:2px solid #990000;
	background:none;
}
.thumbs img:hover{
	border:2px solid #c5c5c5;
	background:none;
}

.port {
	position:relative;
	padding:0px;
	border:3px solid #990000;
	background:none;
	height: 175px;
	width: 200px;
	margin-top: 8px;
	margin-right: 14px;
	margin-bottom: 15px;
	margin-left: 15px;
	float: left;
	clear: right;
	display: inline;
}

.port:hover {
	border:3px solid #c5c5c5;
	background:none;
	padding: 0px;
}

/* -----------------  top info  -------------------------------------------------------*/

#lightbox{	position: absolute;	left: 0; width: 100%; z-index: 100; text-align: center; line-height: 0;}
#lightbox img{ width: auto; height: auto;}
#lightbox a img{ border: none; }

#outerImageContainer{ position: relative; background-color: #fff; width: 250px; height: 250px; margin: 0 auto; }
#imageContainer{ padding: 10px; }

#loading{ position: absolute; top: 40%; left: 0%; height: 25%; width: 100%; text-align: center; line-height: 0; }
#hoverNav{ position: absolute; top: 0; left: 0; height: 100%; width: 100%; z-index: 10; }
#imageContainer>#hoverNav{ left: 0;}
#hoverNav a{ outline: none;}

#prevLink, #nextLink{ width: 49%; height: 100%; background-image: url(data:image/gif;base64,AAAA); /* Trick IE into showing hover */ display: block; }
#prevLink { left: 0; float: left;}
#nextLink { right: 0; float: right;}
#prevLink:hover, #prevLink:visited:hover {
	background-image: url(../../images/advertising/prevlabel.gif);
	background-repeat: no-repeat;
	background-position: left 15%;
}
#nextLink:hover, #nextLink:visited:hover {
	background-image: url(../../images/advertising/nextlabel.gif);
	background-repeat: no-repeat;
	background-position: right 15%;
}

#imageDataContainer{ font: 10px Verdana, Helvetica, sans-serif; background-color: #fff; margin: 0 auto; line-height: 1.4em; overflow: auto; width: 100%	; }

#imageData{	padding:0 10px; color: #666; }
#imageData #imageDetails{ width: 70%; float: left; text-align: left; }	
#imageData #caption{ font-weight: bold;	}
#imageData #numberDisplay{ display: block; clear: left; padding-bottom: 1.0em;	}			
#imageData #bottomNavClose{ width: 66px; float: right;  padding-bottom: 0.7em; outline: none;}	 	

#overlay{ position: absolute; top: 0; left: 0; z-index: 90; width: 100%; height: 500px; background-color: #000; }


/* ----------------- Bottom content -------------------------------------------------------*/

#footer { clear: both; text-align:center; line-height: 1.8em; color: #444; background: #fff; padding: 4px 0; 
margin:10px 0 0 0;}
#footer a {color: #990000; background: inherit;}
