html, body {
  height: 90%;
}
 
body {
  margin: 0 0 0 0;
  padding: 0;
  text-align: center;
  color: #333;
  background-image: url('img/bg_site.jpg');
  background-repeat: repeat-x;
  background-color: #3a1212;
  /* background: #c7eff7 url('img/bg_test.jpg') repeat-x left bottom; */
}

#wrapper {
  width: 990px;
  min-height: 500px;
  height: 500px;
  height:auto !important;
  display: table;
  margin: 0 auto;
  padding: 0;
  text-align: left;
  background-image: url('img/bg_wrapper.gif');
  background-repeat: repeat-y;
  background-color: transparent;
}

/* Header styles */
#TopLine {
 clear: both;
 width: 990px;
 height: 30px;
 background-color: #ccc;
 background-image: url('img/bg_topline.png');
 background-repeat: repeat-x;
 margin: 0 auto;
}

#TopLine div.dHLeft {float: left; width: 495px; height: 30px; background-color: transparent; line-height: 30px;text-indent: 10px; text-align: left;}
#TopLine div.dHLeft img {position: relative; top: 4px;}

/* Header - Subclasses Right column headers style */
#TopLine div.dHRight {float: right; width: 495px; height: 30px; background-color: transparent; text-align: right; line-height: 30px;}
#TopLine div.dHRight img {position: relative; top: 4px; right: 10px;}

/* Logo and top photo */
#logoPhotoContainer {
 clear: both;
 margin: 0 auto;
 width: 990px;
 /* height: 200px; */
}

/* Top rounded */
.top_content_round {
clear: both;
margin: 0 auto;
width: 990px;
height: 24px;
 background-image: url('img/bg_top_content.png');
 background-repeat: no-repeat;
}

/* Subclasses pages */
.dLogoPages {
 float: left;
 width: 220px;
 height: 120px;
 background-color: transparent;
 background-image: url('img/logo.gif');
 background-repeat: no-repeat;
 background-position: center center;
}

.dTopPhotoPages {
 /* float: right; */
 margin: 0 auto;
 width: 990px;
 height: 100px;
 background-color: transparent;
 background-repeat: no-repeat;
 background-position: top left;
}

/* Inner spacer */
.innerSpacer {
 clear: both;
 width: 950px;
 height: 10px;
 background-color: transparent;
 margin: 0 auto;
}

/* Menu container */
#menu {
 clear: both;
 width: 990px;
 height: 40px;
 background-color: #fff;
 background: url('img/bg_menu.gif');
 background-repeat: repeat-x;
 margin: 0 auto;
 padding-top: 7px;
}

/* Subclass for for position row */
.dPosition {
  clear: both;
  width: 950px;
  height: 30px;
  line-height: 30px;
  background-color: transparent;
  margin: 0 auto;
  font-family: tahoma, verdana, geneva, sans-serif;
  font-size: 11px;
  color: #333;
  text-align: left;
 }

/* columns left and right */
#colwrapper {
 clear: both;
 width: 950px;
 height: 100%;
 height:auto !important;
 display: table;
 margin: 0 auto;
 background-color: white;
}

/* Subclasses styles for Featured (i.e. News, Featured, Quotes, Newsletter */
.dFeatured {
  float: left;
  width: 220px;
  min-height: 480px;
  padding: 0px;
  background-color: white;
  /* border-right: 1px dashed #336699 */;
}

.dFeatured TABLE {width: 98%; border: 0px;}
.dFeatured TH {text-align: left; color: #fff; text-transform: uppercase;}
.dFeatured TD {font-size: 12px; padding: 3px; vertical-align: top;}
.dFeatured ul {margin-left:0 !important;}
.dFeatured a {font-size: 12px; text-decoration: none; color: #000; border-bottom: none;}
.dFeatured a:hover {color: #ff9900; text-decoration: underline;}

.dFeatured a.subMenu {
  font-size: 12px;
  text-decoration: none;
  color: #000;
  border-bottom: none !important;
  }

.dFeatured a.subMenu:hover {
  color: #ff9900;
  text-decoration: underline;
  }


 /* Subclasses styles for right column content area */
.dContent {
  float: right;
  width: 710px;
  min-height: 480px;
  padding: 0px;
  background-color: transparent;
}

/* Table style for the Content area (i.e. where all the info goes) */
.dContent TABLE {border: 0px;}

/* Container for template with one column, full width */
.dContentFull {
 clear: both;
 width: 950px;
 min-height: 480px;
 padding: 0px;
 margin: 0 auto;
}

/* footer */
#footer {
 clear: both;
 width: 990px;
 height: 61px;
 background-color: #666;
 color: #fff;
 margin: 0 auto;
 background: url('img/bg_bottom.gif');
 background-repeat: no-repeat;
}

#footer TD {font-size: 12px; color: #fff;}
#footer a {text-decoration: none; color: #fff; border-bottom: none;}
#footer a:hover {color: #ff9900; text-decoration: underline;}

/* bottom spacer */
#footerSpacer {
 clear: both;
 margin: 0 auto;
 width: 990px;
 background-image: url('img/bg_bottom_reflection.gif');
 background-repeat: no-repeat;
 background-color: transparent;
 height: 89px;
 line-height: 50px;
 color: #fff;
}

/* Special fonts and links - for loggedin admin */
.editlink {
  font-family: tahoma, verdana, geneva, sans-serif;
  font-size: 10px;
  color: #ff9900;
  font-weight: bold;
  border-bottom: none;
  }

.statuslink {
  font-family: tahoma, verdana, geneva, sans-serif;
  font-size: 10px;
  color: #ff9900;
  border-bottom: none;
  }

.openedlink {
  font-family: tahoma, verdana, geneva, sans-serif;
  font-size: 11px;
  color: #ff9900;
  text-decoration: none;
  font-weight: normal;
  border-bottom: none;
  }

/* EXPANDING menu styling - inactive */
/*
#mnux ul {
	margin-left:0 !important;
	margin-top:1px !important;
	width:162px !important;
	w\idth:154px !important;
	}

#mnux ul ul {
	width:154px !important;
	w\idth:146px !important;
	background-color: #fff !important;
	}
#mnux ul ul ul {
	width:146px !important;
	w\idth:138px !important;
	background-color: #fff !important;
	}

#mnux a {
	cursor:pointer !important;
	}
*/

/* ----------  ALBUM STYLE - 1. containers ---------- */
#photoContainer {
        float: left;
		padding-top: 10px;
		width: 520px;
		margin-right: 10px;
		}

#thumbnails {
		width: 100%;
		padding-top: 10px;
		}

/* ---------- ALBUM STYLE - 2. images ---------- */
#photoContainer img {
		border: 10px solid #3cb7ff;
		margin-bottom: 20px;
		}
		
#thumbnails img {
		margin: 0 -3px; ma\rgin: 0;
		padding: 2px;
		border: 0;
		}

/* Special style for ShowWaitMsg() - js function */
.waitMsg {visibility: hidden; color: red;}


/* -------------- AJAX TICKER -------------------*/
#ajaxticker1{
min-height: 100px;
padding: 0;
background-color: #fff;
}

 /*IE6 bug fix when text is bold and fade effect (alpha filter) is enabled. Style inner DIV with same color as outer DIV*/
#ajaxticker1 div{
background-color: #fff;
}

.ticker {
font-family: verdana, arial, helvectica, sans-serif;
font-size: 10px;
line-height: 14px;
}