@font-face {
	font-family: 'PalaceScriptMTRegular';
	src: url('palscri-webfont.eot');
	src: local('?'), url('palscri-webfont.woff') format('woff'), url('palscri-webfont.ttf') format('truetype'), url('palscri-webfont.svg#webfont9niOHEef') format('svg');
	font-weight: normal;
	font-style: normal;
}

html, body { 
	color: #666666;
	background: url(../images/site-back.jpg) repeat-x fixed;
	padding: 0px;
	margin: 0px 0px 0px 0px;
	text-align: left;
	font-family: verdana, helvetica, sans-serif;
	height: 100%;
	text-transform: uppercase;
	font-weight: 800;
}

html>body .outerpair1 {
	background: url(../images/upperrightfade.png) right top no-repeat;
}

html>body .outerpair2 {
	background: url(../images/lowerleftfade.png) left bottom no-repeat;
	padding-top: 8px;
	padding-left: 8px;
}

html>body .shadowbox {
	background: url(../images/shadow.png) bottom right;
}

html>body .innerbox {
	position: relative;
	left: -8px;
	top: -8px;
}

.shadowbox img {
	border: 1px solid #000000;
	vertical-align: bottom;
}

.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
 
.clearfix {
	display: inline-block;
}
 
html[xmlns] .clearfix {
	display: block;
}
 
* html .clearfix {
	height: 1%;
}

#outer {
	background: url(../images/sitesides.png) repeat-y;
	width: 980px;
	margin-left: auto;
	margin-right: auto;
	padding: 0px 0px 0px 0px;
	height: auto !important;
	height: 100%;
	min-height: 100%;
	position: relative;
}

#wrapper {
	background-color: #ffffff;
	width: 960px;
	margin-left: auto;
	margin-right: auto;
	padding: 0px 0px 0px 0px;
	height: auto !important;
	height: 100%;
	min-height: 100%;
	position: relative;
}

#header {
	position: relative;
	top: 0px;
	width: 960px;
	height: 245px;
}

#middle {
	width: 770px;
	margin: 0px 0px 30px 152px;
	padding: 15px 15px 90px 15px;
}

a:link, a:visited {
	font-family: tahoma, helvetica, sans-serif;
	color: #666666;
	font-size: 13px;
	text-decoration: underline;
}

a:hover {
	font-family: tahoma, helvetica, sans-serif;
	color: #222222;
	font-size: 13px;
	text-decoration: underline;
}

h1 {
	font-family: tahoma, helvetica, sans-serif;
	color: #d29d2a;
	font-size: 26px;

}

h2 {
	font-family: tahoma, helvetica, sans-serif;
	color: #d29d2a;
	font-size: 24px;

}

.script {
	font-family: PalaceScriptMTRegular, tahoma, helvetica, sans-serif;
	color: #d29d2a;
	font-size: 47px;
	text-transform: none;
}

h3 {
	font-family: tahoma, helvetica, sans-serif;
	color: #d29d2a;
	font-size: 22px;

}

h4 {
	font-family: tahoma, helvetica, sans-serif;
	color: #d29d2a;
	font-size: 20px;

}

h5 {
	font-family: tahoma, helvetica, sans-serif;
	color: #d29d2a;
	font-size: 18px;

}

h6 {
	font-family: tahoma, helvetica, sans-serif;
	color: #d29d2a;
	font-size: 16px;

}

p {
	font-family: tahoma, helvetica, sans-serif;
	color: #888888;
	font-size: 14px;

}

#middle li {
	color: #888888;
}

li, td, th {
	font-family: tahoma, helvetica, sans-serif;
	color: #666666;
	font-size: 14px;
}

#middle p, #middle li, #middle td, #middle a, #middle th {
	font-weight: 800;
}
#pagetable {
	color: #000000;
	font-size: 13px;
	border: 1px solid #000000;
	background-color: #ffffff;
	border-collapse: collapse;
}

#pagetable th {
	text-align: center;
	padding: 5px;
	background-color: #ffffff;
}

#pagetable td {
	border: 1px solid #ffffff;
	padding: 3px;
}

#menuh {
	background: url(../images/menuh-back.jpg) no-repeat;
	text-align: right;
	height: 22px;
	font-size: 11px;
	padding: 3px 7px 0px 0px;
	margin: 0px;
	z-index: 2;
	color: #666666;
}

#menuh p {
	color: #666666;
	padding: 0px 0px 0px 0px;
	margin: 0px 0px 0px 0px;
}

#menuh a:link, #menuh a:visited {
	font-family: verdana, helvetica, sans-serif;
	font-weight: normal;
	font-size: 11px;
	position: relative;
	padding: 0px 0px 0px 0px;
	margin: 0px 0px 0px 0px;
	text-decoration: none;
	z-index: 1;
}

#menuh .menuhnotselect a:link, #menuh .menuhnotselect a:visited {
	color: #444444;
	text-decoration: underline;
}

#menuh .menuhselect a:link, #menuh .menuhselect a:visited {
	color: #111111;
	text-decoration: underline;
}

#menuh .menuhnotselect a:hover, #menuh .menuhselect a:hover {
	color: #111111;
	text-decoration: none;
}

#pagetree {
	text-align: right;
	width: auto;
	margin-top: -15px;
	margin-bottom: -20px;
}

#pagetree p a:link, #pagetree p a:visited {
	color: #666666;
	text-decoration: underline;
}

#pagetree p a:hover {
	color: #222222;
	text-decoration: none;
}

#pageheading {
	text-align: left;
	width: auto;
	padding-bottom: 0px;
}

#leftcontainer {
	float: left;
	width: 156px;
	margin-bottom: 30px;
}

#menuvtop {
	background: url(../images/menuvtop.jpg) no-repeat;
	height: 12px;
}

#menuvbottom {
	background: url(../images/menuvbottom.jpg) no-repeat;
	height: 12px;
}

#menuvback {
	background: url(../images/menuvback.jpg) repeat-y;
}

hr {
	width: 140px;
	margin: 14px 0px 10px 8px;
	color: #cfcfcf;
}

#leftcontainer ul {
	position: relative;
	list-style: none;
	text-align: left;
	margin-left: auto;
	margin-right: auto;
	padding: 0px;
	margin: 0px 0px -3px 0px;
}

#leftcontainer ul li a:link, #leftcontainer ul li a:visited {
	position: relative;
	display: block;
	padding: 4px 2px 5px 8px;
	margin-bottom: 3px;
	margin-left: auto;
	margin-right: auto;
	top: 0px;
	font-style: italic;
	width: 135px;
}

#leftcontainer ul .menuvnotselect a:link, #leftcontainer ul .menuvnotselect a:visited {
	text-decoration: underline;
	color: #666666;
}

#leftcontainer ul .menuvselect a:link, #leftcontainer ul .menuvselect a:visited {
	text-decoration: underline;
	color: #111111;
}

#leftcontainer ul .menuvnotselect a:hover, #leftcontainer ul .menuvselect a:hover {
	text-decoration: none;
	color: #111111;
}

#recommend {
	position: relative;
	font-weight: normal;
	font-size: 11px;
	margin: 8px 0px 60px 12px;
	padding-bottom: 60px;
}

#recommend a:link, #recommend a:visited {
	color: #888888;
	font-size: 11px;
	text-decoration: underline;
}

#recommend a:hover {
	color: #222222;
	text-decoration: none;
}

.pagegallery {
	margin-top: 5px;
	margin-bottom: 10px;
	margin-left: auto;
	margin-right: auto;
	width: 98%;
	float: left;
}

.pagegallerycontent {
	width: 99%;
	margin-bottom: 10px;
	padding: 0px;
	float: left;
	border-bottom: 1px solid #ded284;
}

.pagegalleryheading {
	font-family: tahoma, helvetica, sans serif;
	font-size: 18px;
	color: #d29d2a;
	border-bottom: 1px solid #ded284;
	padding: 3px 3px 3px 8px;
}

.pagegalleryinner {
	width: 99%;
	margin-left: auto;
	margin-right: auto;
	padding: 6px 0px 6px 0px;
}

.pagegalleryimage {
	float: left;
	padding: 0px;
	margin: 5px;
	height: 130px;
	width: 130px;
	text-align: center;
}

.pagegalleryimage img {
	border: 1px solid #ded284;
	padding: 2px;
	vertical-align: middle;
}

.pagegalleryimage a:hover img {
	border: 1px solid #ded284;
	opacity: 0.7;
	filter:alpha(opacity: 70);
	-moz-opacity: 0.7;
	-khtml-opacity: 0.7;
}

#imagelibrary {
	margin: 4px;
	padding:4px;
}

#imagelibrary img {
	margin: 3px;
}

.pageimagecenter {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	padding: 0px;
}

.pageimageright {
	float: right;
	margin-left: 5px;
	margin-top: 5px;
	margin-bottom: 5px;
	padding: 0px;
}

.pageimageleft {
	float: left;
	margin-right: 5px;
	margin-top: 5px;
	margin-bottom: 5px;
	padding: 0px;
}

.pageimagenone img {
	margin: 3px;
	padding: 0px;
}

.link {
	background-color: #ffffff;
	border-top: 1px solid #ded284;
	border-bottom: 1px solid #ded284;
	overflow: hidden;
	margin-left: 30px;
	margin-right: 30px;
	margin-top: 20px;
	margin-bottom: 20px;
	padding: 5px;
	height: 180px;
}

.link p {
	color: #888888;
	text-transform: none;
}

.linktop {
	width: auto;
	margin: none;
	color: #666666;
	font-size: 15px;
	margin-left: auto;
	margin-right: auto;
	text-align: left;
	padding: 0px 5px 5px 5px;
}

.linktop a:link, .linktop a:visited {
	font-size: 15px;
	color: #666666;
	text-decoration: underline;
}

.linktop a:hover {
	color: #222222;
}

.linkleftcontainer {
	float: left;
	height: 150px;
	position: relative;
	top: 5px;
	width: 150px;
	margin-bottom: 5px;
}

.linkleftcontainer img{
	border-style: none;
	margin: 0px;
	padding: 0px;
}

.linkrightcontainer {
	float: right;
	position: relative;
	top: 5px;
	width: 525px;
	height: 120px;
	overflow-y: auto;
	margin-bottom: 5px;
	padding: 5px;
}

.linkrightcontainer p {
	color: #888888;
}

.linkfooter {
	position: relative;
	margin: none;
	color: #888888;
	text-align: right;
	bottom: 15px;
	margin-bottom: -15px;
	font-size: 13px;
}

.linkfooter a:link, .linkfooter a:visited {
	color: #666666;
}

.linkfooter a:hover {
	color: #222222;
}

#adminpage {
	font-weight: normal;
	font-size: 12px;
	margin-bottom: 20px;
	margin-left:  0px;
}

#adminpage a:link, #adminpage a:visited {
	color: #666666;
}

#adminpage a:hover {
	color: #222222;
}

#adminpage table {
	background-color: #cfcfcf;
	border: 1px solid #dfdfdf;
	margin-bottom: 10px;
}

#adminpage table img {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

#adminpage td {
	background-color: #dfdfdf;
	color: #000000;
}

#adminpage th {
	background-color: #dfdfdf;
	color: #000000;
}

#adminpage b {
	color: #000000;
	font-weight: bold;
}

#adminpage input {
	visibility: visible;
	color: #000000;
	background-color: #efefef;
	font-weight: normal;
	font-size: 12px;
	padding-left: 0px;
}

#adminpage input[disabled] {
	color: #9f9f9f;
}

#adminpagegallery {
	position: relative;
	font-weight: normal;
	font-size: 12px;
}

#adminpage table.log {
	background-color: #3f3f3f;
}

#adminpage table.log th {
	background-color: #505050;
	padding: 2px;
	font-size: 13px;
	color: #ffffff;
}

#adminpage table .logrow1 td {
	background-color: #cfcfcf;
	padding: 4px;
	font-size: 12px;
}

#adminpage table .logrow2 td {
	background-color: #efefef;
	padding: 4px;
	font-size: 12px;
}

#adminpage table .logrowS td {
	background-color: #ffff66;
	padding: 4px;
	font-size: 12px;
}

.subpage {
	vertical-align: top;
	background-color: #fcfcfc;
	border: 1px solid #cccccc;
}

.subpage table {
	width: 130px;
}

.subpage img {
	border: 0px;
	margin-bottom: 5px;
}

.subpage a:link, .subpage a:visited {
	color: #666666;
	text-decoration: none;
}

.subpage a:hover {
	color: #222222;
}

#contact {
	width: auto;
	clear: both;
	color: #888888;
	margin-left: auto;
	margin-right: auto;
	margin-top: 15px;
	margin-bottom: 5px;
	text-align: left;
	font-size: 13px;
}

#contact a:link, #contact a:visited {
	color: #666666;
	text-decoration: underline;
}

#contact a:hover {
	color: #222222;
	text-decoration: none;
}

#contactpage table {
	margin-left: auto;
	margin-right: auto;
}

.error {
	color: red;
}
#footer {
	clear: both;
	background: url(../images/footer-back.jpg) no-repeat;
	font-family: tahoma, helvetica, sans-serif;
	width: 940px;
	padding: 10px 10px 0px 10px;
	margin-left: auto;
	margin-right: auto;
	color: #666666;
	font-weight: normal;
	font-size: 12px;
	height: 70px;
	position: relative;
	margin-bottom: 0px;
	margin-top: -80px;
}

#footer a:link, #footer a:visited {
	color: #444444;
	font-size: 12px;
	text-decoration: underline;
}

#footer a:hover {
	color: #111111;
	text-decoration: none;
}

#footer img {
	margin-left: 5px;
}

#footerleft {
	float: left;
	position: relative;
	width: 650px;
}

#footerright {
	float: right;
	position: relative;
	width: 250px;
	text-align: right;
}

#footerlower {
	float: left;
	position: relative;
	width: 900px;
	margin: 5px 0px 0px 0px;
}

#debug {
	position: relative;
	width: 100%;
	padding: 10px;
	margin-top: 20px;
	border: 1px solid #000000;
	text-align: left;
	background-color: #cfcfff;
}
