/* ----------------------------------------
	Design Publishing & Media Group
	Copyright 2008
   ---------------------------------------- */

html, body, div, span, h1, h2, h3, h4, h5, h6, p, hr, form, fieldset, table, img, ol, ul, li, table, tr, th, td{
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	vertical-align: baseline;
}

html {
	overflow-y: scroll;
}
   	
body {
	background: url(images/background.gif);  
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 14px;
	line-height: 18px;
	color: #5a4632;
	padding: 0px;
	margin: 0px;
	text-align: center;
}

img { -ms-interpolation-mode: bicubic }

hr {
	clear: both;
}

.hide {
	display: none;
}

.bigger {
	font-size: 1.2em;
}

.normal {
	font-size: 1em;
}

.smaller {
	font-size: 0.8em;
}

iframe {
	border: 1px solid #c7b299;
}

/* Typography
----------------------------------------------- */

p {
	margin-bottom: 18px;
}

h1 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 24px;
	color: #366fa6;
	margin-bottom: 9px;
	text-transform: uppercase;
}

h1.ir {
	height: 23px;
	padding: 0px;
	margin: 0 0 9px 0;	
	background: top left no-repeat;
	text-indent: -9999px;
	overflow: hidden;
}

h1.hir {
	height: 62px;
	padding: 0px;
	margin: 0 0 9px 0;	
	background: top left no-repeat;
	text-indent: -9999px;
	overflow: hidden;
}

h2 {
	font-size: 18px;
	color: #366fa6;
	font-style: italic;
	margin-bottom: 18px;
}

h3 {
	font-family: Arial, Helvetica, sans-serif;
	color: #2f9790;
	font-size: 14px;
	margin-bottom: 18px;
	text-transform: uppercase;

}

h3.ir {
	height: 17px;
	padding: 0px;
	margin: 0 0 18px 0;	
	background: top left no-repeat;
	text-indent: -9999px;
	overflow: hidden;
}

h3.hir {
	height: 32px;
	padding: 0px;
	margin: 0 0 2px;
	text-indent: -9999px;
	overflow: hidden;
	text-align: center;
}


h4 {
	font-size: 16px;
	font-weight: bold;
	margin-bottom: 9px;
}

/* Positioning
----------------------------------------------- */
#mainwrap {
	margin: 0 auto 40px;
	width: 914px;
}

#bodytop {
	background: url(images/bodytop.gif) no-repeat;
	width: 914px;
	height: 13px;
	margin: 0;
	padding: 0;
	position: relative;
}

#bodycontent {
	background: url(images/bodycontent.gif) repeat-y;
	width: 914px;
	margin: 0;
	padding: 0;
}

#bodybottom {
	background: url(images/bodybottom.gif) no-repeat;
	width: 914px;
	height: 13px;
	margin: 0;
	padding: 0;
	display: block;
}

#logo {
	width: 262px;
	height: 140px;
	position: absolute;
	top: 20px;
	left: 0px;
	background: url(images/emqLogo.gif) top left no-repeat;
}

#logo a {
	display: block;
	width: 262px;
	height: 140px;
}

#header {
	position: relative;
	height: 165px;
}

#homebutton {
	position: absolute;
	height: 34px;
	width: 103px;
	background: url(images/homebutton.gif) no-repeat;
	top: 0;
	right: 169px;
}

#homebutton a {
	height: 34px;
	width: 103px;
	display: block;
}

#browsingbutton {
	position: absolute;
	height: 34px;
	width: 162px;
	background: url(images/browsingbutton.gif) no-repeat;
	top: 0;
	right: 7px;
}

#browsingbutton a{
	height: 34px;
	width: 162px;
	display: block;
}

#content {
	margin: 0;
	padding: 35px 48px;
	text-align: left;
}

#sidenav {
	width: 222px;
	float: left;
	font-size: 16px;
	font-weight: bold;
}

#sidenavhome {
	width: 222px;
	float: left;
}

#maintext {
	float: right;
	width: 558px;
	border-left : #c7b299 dotted 3px;
	padding-left: 35px;
}

#mainhome {
	float: right;
	width: 558px;
	padding-left: 35px;
}

.imgfloatright {
	float: right;
	text-align: right;
}

.gallery {
	margin: 0 9px 15px 0px;
	float: left;
	width: 102px;
	font-size: 11px;
	font-family: Arial, Helvetica, sans-serif;
	line-height: 14px;
	height: 135px;
	text-decoration: none;
}

.dropoff {
	border: #c2a381 solid 3px;
	background: url(images/boxgradient.gif) repeat-x;
	width: 196px;
	padding: 10px;
	text-align: center;
	margin-bottom: 30px;
	color: #8c6239;
}

#special .dropoff {
	border: #c2a381 solid 3px;
	background: url(images/boxgradient.gif) repeat-x;
	width: 161px;
	padding: 5px;
	text-align: center;
	margin: 0 13px 30px 0;
	color: #8c6239;
	float: left;
}

#special .dropoffend {
	border: #c2a381 solid 3px;
	background: url(images/boxgradient.gif) repeat-x;
	width: 161px;
	padding: 5px;
	text-align: center;
	margin: 0 0 30px 0;
	color: #8c6239;
	float: left;
}

#footer {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	margin: 10px 7px;
	height: 19px;
	padding-right: 25px;
	text-align: right;
	vertical-align: top;
	line-height: 12px;
	background: url(images/dpmglogo.gif) no-repeat right;
	line-height: 19px; 
}

ul {
	line-height: 18px;
	margin-bottom: 18px;
	list-style-position: inside;
	list-style-type: disc;
}

#sidenav ul {
	list-style: none;
	padding-left: 10px;
	padding-bottom: 1px;
}

#sidenav li {
	margin-bottom: 18px;
}

.rowone {
	background-color: #FFFFFF;

}

.rowtwo {
	background-color: #e1dccc;
	
}

#threadtable td {
	padding: 5px 5px 5px 10px;
}

/* Link Types
----------------------------------------------- */

a:link {
	color: #366fa6;
	text-decoration: none;
}

a:visited {
	color: #987cb7;
	text-decoration: none;
}

a:hover {
	color: #366fa6;
	text-decoration: underline;
}

a:active {
	color: #c36a7e;
}	

#sidenav a:link, #footer a:link {
	color: #5a4632;
	text-decoration: none;
}

#sidenav a:visited, #footer a:visited {
	color: #5a4632;
	text-decoration: none;
}

#sidenav a:hover, #footer a:hover {
	color: #5a4632;
	text-decoration: underline;
}

#sidenav a:active, #footer a:active {
	color: #c36a7e;
}

.dropoff a:link, .dropoffend a:link, .gallery a:link {
	color: #8c6239;
	text-decoration: none;
}

.dropoff a:visited, .dropoffend a:visited, .gallery a:visited {
	color: #8c6239;
	text-decoration: none;
}

.dropoff a:hover, .dropoffend a:hover, .gallery a:hover {
	color: #8c6239;
	text-decoration: underline;
}

.dropoff a:active, .dropoffend a:active, .gallery a:active {
	color: #8c6239;
}

.gallery img, .gallery a img, .gallery a:link img, .gallery a:hover img {
	border: 1px solid #c7b299;
	background: #FFFFFF;
	text-decoration: none;
	margin-bottom: 2px;
}	

/* Order Button
----------------------------------------------- */

#order a {
	background: url(images/EMQTabNav.gif) no-repeat;
	height: 68px;
	width: 132px;
	position: absolute;
	right: 522px;
	top: -55px;
	background-position: 0px 0px;
}

#order a:hover {
	background: url(images/EMQTabNav.gif) no-repeat;
	height: 68px;
	width: 132px;
	position: absolute;
	right: 522px;
	top: -55px;
    background-position: 0px -68px;
}

#order a.current, #order a.current:hover, #order a.current:active  {
	background: url(images/EMQTabNav.gif) no-repeat;
	height: 68px;
	width: 132px;
	position: absolute;
	right: 522px;
	top: -55px;
    background-position: 0px -136px;
	cursor: default;
}

/* Gallery Button
----------------------------------------------- */

#gallery a {
	background: url(images/EMQTabNav.gif) no-repeat;
	height: 68px;
	width: 130px;
	position: absolute;
	right: 392px;
	top: -55px;
	background-position: -132px 0px;
}

#gallery a:hover {
	background: url(images/EMQTabNav.gif) no-repeat;
	height: 68px;
	width: 130px;
	position: absolute;
	right: 392px;
	top: -55px;
    background-position: -132px -68px;
}

#gallery a.current, #gallery a.current:hover, #gallery a.current:active  {
	background: url(images/EMQTabNav.gif) no-repeat;
	height: 68px;
	width: 130px;
	position: absolute;
	right: 392px;
	top: -55px;
    background-position: -132px -136px;
	cursor: default;
}

/* Specials Button
----------------------------------------------- */

#specials a {
	background: url(images/EMQTabNav.gif) no-repeat;
	height: 68px;
	width: 130px;
	position: absolute;
	right: 262px;
	top: -55px;
	background-position: -262px 0px;
}

#specials a:hover {
	background: url(images/EMQTabNav.gif) no-repeat;
	height: 68px;
	width: 130px;
	position: absolute;
	right: 262px;
	top: -55px;
    background-position: -262px -68px;
}

#specials a.current, #specials a.current:hover, #specials a.current:active  {
	background: url(images/EMQTabNav.gif) no-repeat;
	height: 68px;
	width: 130px;
	position: absolute;
	right: 262px;
	top: -55px;
    background-position: -262px -136px;
	cursor: default;
}

/* Blog Button
----------------------------------------------- */

#blog a {
	background: url(images/EMQTabNav.gif) no-repeat;
	height: 68px;
	width: 130px;
	position: absolute;
	right: 132px;
	top: -55px;
	background-position: -392px 0px;
}

#blog a:hover {
	background: url(images/EMQTabNav.gif) no-repeat;
	height: 68px;
	width: 130px;
	position: absolute;
	right: 132px;
	top: -55px;
    background-position: -392px -68px;
}

#blog a.current, #blog a.current:hover, #blog a.current:active  {
	background: url(images/EMQTabNav.gif) no-repeat;
	height: 68px;
	width: 130px;
	position: absolute;
	right: 132px;
	top: -55px;
    background-position: -392px -136px;
	cursor: default;
}

/* Contact Button
----------------------------------------------- */

#contact a {
	background: url(images/EMQTabNav.gif) no-repeat;
	height: 68px;
	width: 132px;
	position: absolute;
	right: 0px;
	top: -55px;
	background-position: -522px 0px;
}

#contact a:hover {
	background: url(images/EMQTabNav.gif) no-repeat;
	height: 68px;
	width: 132px;
	position: absolute;
	right: 0px;
	top: -55px;
    background-position: -522px -68px;
}

#contact a.current, #contact a.current:hover, #contact a.current:active  {
	background: url(images/EMQTabNav.gif) no-repeat;
	height: 68px;
	width: 132px;
	position: absolute;
	right: 0px;
	top: -55px;
    background-position: -522px -136px;
	cursor: default;
}


/* ----------- Contact Form ----------- */

form {
	margin: 0;
	padding: 0;
}

form td {
	vertical-align: top;
	padding: 10px;
	border-bottom: dotted 1px #c7b299;
}

.myform	{
	margin:0 auto;
	padding:14px;
	border: #ffffff solid 6px;
}

.input {
	background-color: #f7f5ee;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #8c6239;
	margin: 1px 0 5px 8px;
	padding: 4px 2px;
	border: 1px solid #c7b299;
	width: 300px;
	height: 25px;
}

.textarea {
	background-color: #f7f5ee;
	border: 1px solid #c7b299;
	font-family: Arial, Helvetica, sans-serif;
	color: #8c6239;
	font-size: 12px;
	margin: 4px 0 5px 8px;
	width: 300px;
	padding: 4px 2px;
}


#contactform label{
	display:block;
	font-weight:bold;
	text-align:right;
}

#contactform .small{
	display:block;
	font-size:11px;
	font-weight:normal;
	text-align:right;
}

#contactform button{
	width: 80px;
	height: 30px;
	background:#366fa6;
	text-align:center;
	line-height:25px;
	color:#FFFFFF;
	font-size:12px;
	font-weight:bold;
	margin: 10px 10px 0;
	text-transform: uppercase;
}

/* ----------- Lightbox ----------- */

#lightbox{	position: absolute;	left: 0; width: 100%; z-index: 100; text-align: center; line-height: 0;}
#lightbox img{ width: auto; height: auto; background-color: #FFFFFF;}
#lightbox a img{ border: none; }

#outerImageContainer{ position: relative; background-color: #dcd4c0; 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: url(images/prevlabel.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(images/nextlabel.gif) right 15% no-repeat; }

#imageDataContainer{ font: 10px Arial, Helvetica, sans-serif; background-color: #dcd4c0; margin: 0 auto; line-height: 1.4em; overflow: auto; width: 100%	; }

#imageData{	padding:0 10px;}
#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; }
