.dtitle { clear: both; font: 20px Arial; font-style: italic; color: #000; text-align: left; margin: 10px 0 20px 20px; display: block; cursor: pointer;  }
.ddate { color: #666; font: 12px Arial; }
.ddesc { color: #222; font: 12px Arial; margin-bottom: 5px; }
.wperiod { white-space: nowrap; text-align: right; color: #666; padding-left: 10px; }
.dynasty td { vertical-align: top; font: 12px Arial; }
.dynasty { width: 100%; padding: 0; margin: 0; }
.spoiler-body { display: none; }
.photod { background: #fff; border: 1px solid #ccc; width: 160px; height: 120px; float: left; margin-right: 20px; } 
.ntitle { font: 16px 'Trebuchet MS'; color: #111; padding: 0; margin: -5px 0 0 0; display: block; float: left; width: 420px; }
.ditem { margin-bottom: 40px; }

.tpre { width: 400px !important;  }
 
.main { cursor: pointer; }
.bg { background: #000; opacity: .8; width: 100%; display: none; position: absolute; z-index: 100; top: 0; }
.ovov { background: none; width: 100%; opacity: 1; display: none; position: absolute; z-index: 110; top: 40px; text-align: center; }
.overlay .thumbs { opacity: 1 !important ; border: none !important; margin: 5px; padding: 0 !important; background: none !important; box-shadow: 0 0 10px #000; -webkit-box-shadow: 0 0 10px #000; -moz-box-shadow: 0 0 10px #000; }
.overlay img.thumbs:hover {  opacity: 0.7 !important; }
.overlay { }
a.closepl { position: fixed; right: 50px; top: 40px; color: #ccc !important; text-decoration: underline; }
a.closepl:hover { color: #fff !important; }
.placetype select { width: 110px; }
#mainimage { background: #fff; padding: 4px; box-shadow: 0 0 30px #000; -webkit-box-shadow: 0 0 30px #000; -moz-box-shadow: 0 0 30px #000; margin-top: 40px; }



body { margin: 0; padding: 0; 	height:100%; color:#555555; font:12px Arial, Helvetica, sans-serif; background:url(../img/bg.gif); }
h4.tbl { font:15px Calibri; color:#333; margin:-2px 6px 0 0; }

img { border:none; }
table.std { border: 0px solid #ddd;
		border-collapse:collapse;
		background:#fff;
		border-top:none;
		margin:15px 0 0 0;
	}
table.std td
	{
		padding:7px 8px 5px 8px;
		border: 1px solid #ddd;
		vertical-align:middle;
		background:#fff;
		border-top:none;
		font:13px Calibri;
	}
table.std th
	{
		color:#666;
		text-align: left;
		height:30px;
		text-shadow:0 1px 0 #fff;
		border:1px solid #ddd;
		border-bottom:none;
		padding:0 8px 0 8px;
		vertical-align:middle;
		font:14px Calibri;
		background:url(../img/thbg.png) bottom repeat-x;		
	}
a.pn:link, a.pn:visited, a.pn:hover 
	{
		padding:2px 6px;
		color:#333;
		margin:0 2px;
		text-decoration:none;
	}
a.lk:link, a.lk:visited
	{
		padding:2px 0px;
		color:#333;
		margin:0;
		text-decoration:none;
		//background:#44A3D0;
		//font-weight:bold;
	}
a.lk:hover
	{
		text-decoration:underline;
	}


a.c:link, a.c:visited, a.c:hover 
	{
		background:#44A3D0;
		color:#fff;
		font-weight:bold;
	}
#bg
	{
		position:absolute;
		display:none;
		top:0;
		left:0;
		height:100%;
		z-index:99;
		width:100%;
		background:#000;
		opacity:0.6;
	}
.form
	{
		display:none;
		font:14px Calibri;
		line-height:140%;
		padding:0 20px 20px 20px;
		position:absolute;
		z-index:100;
		background:#fefefe;
		width:600px;
		margin:-200px 0 0 -320px;
		left:50%;
		top:50%;
	}





	
.form input[type^=password], .form input[type^=text], .lk input[type^=password], .lk input[type^=text], textarea
	{
		border:1px solid #ccc;
		height:20px;
		margin:20px 0 2px 0;
		color:#000;
	}
.lk select
	{
		height:26px;
		margin:20px 0 2px 0;
		color:#000;
		padding:0 4px;
		font:12px Arial;
		width:362px;
	}

.lk input[type^=password], .lk input[type^=text]
	{
		margin:15px 0 2px 0;
	}
	
.form input[type^=submit], .lk input[type^=submit]
	{
		height:26px;
		width:90px;
	}
.form h2, .lk h2
	{
		font: 24px Calibri;
		color:#333;
		font-weight:bold;
		margin: 15px 0 5px 0;
	}
	
.form h3, .lk h3
	{
		font: 20px Calibri;
		color:#333;
		font-weight:bold;
		display:block;
		float:left;
		border:1px solid #E2D583;
		background:#FFFFE6;
		padding:3px 10px 5px 10px;
	}
.form em, .lk em
	{
		color:#FF4A4A;
		font:12px Calibri;
		padding:0 0 0 10px;
	}
.form span, .lk span
	{
		color:#666;
		font:12px Calibri;
	}
.form span.star, .lk span.star
	{
		color:#FF6262;
		font:14px Calibri;
	}

	
	
	
	
form
	{
		margin:0;
		padding:0;
	}
table.default
	{
		border: 1px solid #D8DABC;
		border-collapse:collapse;
		background:#FFFFFF;
		border-top:none;
	}
table.default th
	{
		background:#3496B6;
		color:#333333;
		border: 1px solid #D8DABC;
		padding:5px 8px 6px 8px;
		font-weight:normal;
		font-size:14px;
		background:#F1EFE0;
	}
table.default td
	{
		padding:6px 8px 5px 8px;
		border: 1px solid #D8DABC;
		vertical-align:top;
		font:12px Arial;
		line-height:16px;
		background:#FFFFFF;
	}	
.search
	{
		width:170px;
		border:none;
	}
#mainframe
	{
		
		width:1032px;
		overflow:visible;
		margin:30px 0 0 0;

	}
#tg
	{
		background:url(../img/tg.png) no-repeat;
		height:86px;
		width:425px;
		float:left;
		margin:-10px 0 -5px 1px;
	}
#phone
	{
		background:url(../img/callus.png) no-repeat;
		height:26px;
		width:231px;
		float:right;
		margin:34px 17px 0 0;
	}
#content
	{
		width:1032px;
		margin-top:12px;

	}
#header
	{
		width:1032px;
		overflow:hidden;
		height:90px;
		background:url(../img/headers.png);
		padding:0;
		margin:0;	
	}
#headers
	{
		width:1032px;
		overflow:hidden;
		height:90px;
		background:url(../img/headers.png);	
	}
#hright
	{
		height:230px;
		width:26px;
		background:url(../img/header_r1_c3.png);
		float:left;
		display:inline;	
	}
#hleft
	{
		height:230px;
		width:26px;
		background:url(../img/header_r1_c1.png);
		float:left;
		display:inline;		
	}
#hcenter
	{
		margin-top:0px;
		height:230px;
		width:982px;
		background:url(../img/header_r1_c2.png) top no-repeat;
		float:left;
		display:inline;	
	}
#select
	{
		background:url(../img/selectbg.png) repeat-x;
		height:225px;
		width:300px;
		float:left;
	}
#leftside
	{
		height:225px;
		width:19px;
		float:left;
		background:url(../img/left_r2_c1.png);
	}
#centerside
	{
		height:225px;
		width:996px;
		float:left;
	}
#rightside
	{
		height:225px;
		width:19px;
		float:left;
		background:url(../img/left_r2_c2.png);
	}
#excl
	{
		width:696px;
		background:url(../img/shadow.png) left no-repeat #D6D0C0;
		height:225px;
		float:left;
		text-align:center;
	}
#waves
	{
		background:url(../img/waves.png) center;
		margin: 0 19px 0 19px;
		height:3px;
		position:relative;
		z-index:2;
	}
#main
	{
		width:1000px;
		margin:0 17px 0 17px;
		background:url(../img/rpanelbg.png) right repeat-y #F7F4EE;
	}
#rightpanel
	{
		width:270px;
		float:right;
		background:#FFFFFF;
		padding:25px;
	}
.pheader
	{
		height:52px;
		width:258px;
		background:url(../img/phead.png);
		font:24px Arial, Helvetica, sans-serif;
		padding:6px 0 0 12px;
		color:#FFFFFF;
	}
	
div.pheader a:link, div.pheader a:visited, div.pheader a:hover
	{
		font:24px Arial, Helvetica, sans-serif;
		color:#FFFFFF;
		text-decoration:none;
	}	
.pcontent
	{
		width:250px;
		margin:10px 0 20px 0;
		background:url(../img/pcontent.png) bottom repeat-x;
		line-height:17px;
		padding:10px;
		color:#666666;
	}

.menuitem
	{
		height:55px;
		background:url(../img/menubg.png) repeat-x;
		float:left;
		color:#000000;
		font:19px Arial, Helvetica, sans-serif;
		padding:32px 20px 0 20px;
	}
	
div.menuitem a
	{
		font:19px Arial, Helvetica, sans-serif;
		color:#000000;
	}
div.menuitem a:hover
	{
		font:19px Arial, Helvetica, sans-serif;
		color:#0E89B1;
	}
.splitter
	{
		height:85px;
		width:2px;
		background:url(../img/splitter.png) center;
		float:left;
	}
#menuleft
	{
		height:85px;
		width:21px;
		background:url(../img/menuleft.png) repeat-x;
		float:left;
	}
#menuright
	{
		height:85px;
		width:21px;
		background:url(../img/menuright.png) repeat-x;
		float:left;
	}


#leftpanel
	{
		float:left;
		width:620px;
		padding:30px;
	}
#footer
	{
		background:url(../img/footer.png) center no-repeat;
		
		height:73px;
		width:974px;
		margin:0 0 30px 0;
		padding:15px 30px 20px 30px;
		color:#FFFFFF;
	}
a.footer
	{
		color:#CCCCCC;
	}
a.footer:visited
	{
		color:#FFFFFF;
	}
a.footer:hover
	{
		color:#FFFFFF;
	}
.left
	{
		float:left;
	}
.right
	{
		float:right;
	}
.clear {	height: 0px;	clear: both; line-height: 0px; font-size: 0px; }
.catframe
	{
		border:1px solid #B7AC99;
		background:#E1DCCE;
		height:120px;
		width:160px;
		padding:4px;
	}
.catcontent
	{
		background:#F7F4EE;
		height:120px;
		width:160px;
	}
.catlink
	{
		margin:5px 15px;
	}

a:link
	{
		color:#0E89B1;
		font-size:10pt;
		text-decoration:none;
	}
a:visited
	{
		color:#0E89B1;
		font-size:10pt;
		text-decoration:none;
	}
a:hover
	{
		color:#16B8ED;
		font-size:10pt;
		text-decoration:underline;
	}
a.footer:link
	{
		color:#FFFFFF;
	}
a.menu:link
	{
		color:#BED6AE;
		font-family:Verdana;
		font-size:9pt;
		text-decoration:none;
	}
a.menu:visited
	{
		color:#BED6AE;
		font-family:Verdana;
		font-size:9pt;
		text-decoration:none;
	}
a.menu:hover
	{
		color:#FFFFFF;
		font-family:Verdana;
		font-size:9pt;
		text-decoration:none;
	}
textarea
	{
		margin:0 0 10px 0;
		overflow:hidden;
		height:50px;
		
	}
input[type^=text], textarea
	{
		border:1px solid #ccc;
		overflow:auto;
		width:350px;
		text-align:left;
		padding:2px 5px 2px 5px;
		margin:5px 12px 5px 0;
		color:#414141;
		font-family: Arial, Helvetica, sans-serif;
		font-size:9pt;
		text-decoration:none;
		background-color:#FFFFFF;
		overflow:hidden;
	}
input[type^=submit]
	{
		margin:5px 0 0 0;
	}	
input[type^=checkbox]
	{
		border:1px solid #D8DABC;
		overflow:auto;
		margin:5px 12px 5px 5px;
		height:13px;
		width:13px;
		color:#414141;
		text-decoration:none;
		background-color:#FFFFFF;
	}
input[type^=file]
	{
		border:1px solid #D8DABC;
		overflow:auto;
		width:362px;
		text-align:left;
		padding:2px 5px 2px 5px;
		margin:5px 12px 5px 0;
		color:#414141;
		font-family: Arial, Helvetica, sans-serif;
		font-size:9pt;
		text-decoration:none;
		background-color:#FFFFFF;
		overflow:hidden;
	}
		
	
input[type^=password]
	{
		border:1px solid #D8DABC;
		text-align:left;
		padding: 2px 5px 4px 5px;
		color:#414141;
		width:350px;
		font:7pt Verdana;
		text-decoration:none;
		background:#FFFFFF;
		margin-top:5px;
		margin-bottom:5px;
		overflow:hidden;
	}

