body{margin:2% 5% 0 5%;text-align:center;}
#tdPageWhole{width:100%;}
#tbMainTable,.tbMainTable,#tbMainTable2,.tbMainTable2{margin:0 5% 0 5%;text-align:center;width:100%;}
body,td,th{font-family:Verdana,Arial,Helvetica,Sans Serif;font-size:.8rem;}
table{border-collapse:collapse;border:0px;padding:0px;margin:0px;}
tr,th,td{vertical-align:top;}
select,input,textarea{color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica,Sans Serif;font-size:.8rem;}
h1{font-weight:bold;}
h1,h2{font-size:1em;}
h1,h2,h3,h4,h5,h6{margin-bottom:1px;}
hr{height:1px;}
.tdSiteTitle{font-weight:bold;}
.tdPageTitle{font-weight:bold;}
.spSubscribeText,#spLoginText,#spLoginLink,#spCopyRight,#spFooter{font-size:.7em;font-weight:lighter;}
.SearchHeaderCell{VERTICAL-ALIGN:top;FONT-WEIGHT:bolder;}
.SearchBodyCell{VERTICAL-ALIGN:top;}
#tdPageContent{padding:10px 10px 0px 10px;}
A:link{FONT-WEIGHT:bold;TEXT-DECORATION:underline;}
A:visited{FONT-WEIGHT:bold;TEXT-DECORATION:underline;}
A:active{FONT-WEIGHT:bold;TEXT-DECORATION:underline;}
A:hover{FONT-WEIGHT:bold;TEXT-DECORATION:underline;}
.tdJSTicker{width:100%;height:10px;}
.whatsnew{width:100%;height:10px;margin:0px;border-width:0px;filter:revealTrans(duration=1,transition=19)}
/* menu */
.tdMainMenu{width:100%;}
.menuleft{margin-right:1em;}
.menutop{float:left;width:100%;}
.menuleft ul{list-style:none;margin:0;padding:0;width:15em;}
.menutop ul{list-style:none;margin:0;padding:0;float:left;}
.menuleft a,.menuleft h2{display:block;margin:0;padding:2px 3px;TEXT-DECORATION:none;white-space:nowrap;}
.menuleft a:link,.menutop a:link,.menuleft a:visited,.menutop a:visited{TEXT-DECORATION:none;}
.menuleft a:active,.menutop a:active,.menuleft a:hover,.menutop a:hover{TEXT-DECORATION:none;}
.menutop a,.menutop h2{display:block;margin:0;padding:2px 3px;TEXT-DECORATION:none;white-space:nowrap;}
.menuleft li{position:relative;list-style:none;}
.menuleft li:hover{z-index:1;}
.menutop li:hover{z-index:1;}
.menuleft ul ul{position:absolute;top:0;left:60%;list-style:none;}
div.menuleft ul ul,div.menuleft ul li:hover ul ul{display:none;}
div.menuleft ul li:hover ul,div.menuleft ul ul li:hover ul{display:block;}
.menuleft ul ul ul{position:absolute;top:0;left:60%;}
div.menuleft ul ul ul,div.menuleft ul ul li:hover ul ul{display:none;}
div.menuleft ul ul li:hover ul,div.menuleft ul ul ul li:hover ul{display:block;}
.menutop li{position:relative;}
.menutop ul ul{position:absolute;z-index:500;left:0;text-align:left;list-style:none;}
.menutop ul ul ul{position:absolute;top:0;left:100%;}
div.menutop ul ul,div.menutop ul li:hover ul ul,div.menutop ul ul li:hover ul ul{display:none;}
div.menutop ul li:hover ul,div.menutop ul ul li:hover ul,div.menutop ul ul ul li:hover ul{display:block;}
/* hide empty <ul>s */
.menutop ul ul{width:0;}
/* show non-empty <ul>s */
.menutop ul ul li{width:15em;}
.tdShowDiaryAddOutlook a:link,.tdShowDiaryAddOutlook a:link,.tdShowDiaryAddOutlook a:visited,.tdShowDiaryAddOutlook a:visited{font-weight:normal;text-decoration:none;}
/* rounded */
div.rounded{margin:0 10%;}
div.rounded H1,div.rounded H2,div.rounded H3{margin:0;padding:4px;}
div.rounded SPAN{display:block;padding:4px;}
/* rest */
#tdSymbols {white-space:nowrap;}
#tdPageTitle H1{text-align:left;}
#spEditButtons{float:right;}
html>body {font-size:smaller}
.tdLHContent{width:0;border:0;padding:0;margin:0;}
.tdRHContent{width:0;border:0;padding:0;margin:0;}

#tdNews table,#tdDiary table,#tdPoll table{border:1px outset;}

.tdListDiaryMonthName{font-size:110%;}
.tdListDiaryDay{font-size:110%;}
.spListDiaryDaySfx{font-size:80%;display:none;}
.spListDiaryTime{font-size:80%;display:none;}
#capchaError{border: 1px solid black;font-weight: bold;padding: .08em;}


#gallery {
  background: #EFEFEF;
  width: 770px;
  margin: 15px;
}
#gallery ul {
  list-style: none;
  padding: 0px;
  margin: 0px;
  width: 770px
  float: left;
  clear: both;
}
#gallery li {
  padding: 8px;
  margin: 0px;
  position: relative;
}
#gallery span {
  display: block;
  position: absolute;
  bottom: 13px;
  left: 10px;
  width: 734px;
  background: #000000;
  color: #ffffff;
  padding: 8px;
  font-size: 1.3em;
}
#gallery img {
  border: 2px solid #333;
}
#gallery ul.small-images {
  padding: 0px 8px;
  display: none;
}
#gallery ul.small-images li {
  padding: 0px;
  float: left;
  clear: none;
}
#gallery ul.small-images a {
  display: block;
  float: left;
  padding: 8px;
}
#gallery ul.small-images a.selected {
  background: #333;
}
#gallery ul.small-images a:hover {
  padding: 6px;
}
#gallery ul.small-images a:hover img {
  border-width: 4px;
}

#gallery ul.controls {
	display: none;
  position: relative;
}

#gallery ul.controls li {
  position: absolute;
  display: block;
  width: 34px;
  height: 34px;
  z-index: 100;
  top: 200px;
}

#gallery ul.controls li.prev {
  left: 10px;
}

#gallery ul.controls li.next {
  right: 10px;
}

#gallery ul.controls a {
  display: block;
  width: 34px;
  height: 34px;
  text-decoration: none;
  border: none;
}

#gallery ul.controls a img {
  border: none;
}

.tinted {
	filter:alpha(opacity=80);
	-moz-opacity:0.8;
	-khtml-opacity: 0.8;
	opacity: 0.8;
}
.transparent {
	filter:alpha(opacity=0);
	-moz-opacity:0;
	-khtml-opacity: 0;
	opacity: 0;
}
.clear {
  clear: both;
}

