/* ============== Overall ============== */
#adminmenu + div *,
#addbanlist,
#saveconfig,
#addstructure,
#savestructure {
	color: #000;
	background: #fff;
}

html {
	padding: 0;
}

body {
	font: 12px Verdana, Arial, sans-serif;
	background-color: #000;
	margin: 0px;
	padding: 0;
	color: #fff;
}

a {
	text-decoration: none;
	border-width: 0;
	color: #7479AC;
}

a:hover {
	text-decoration: underline;
}

h1 {
	font-size: 250%;
	letter-spacing: -2px;
	font-weight: normal;
}

h2 {
	font-size: 170%;
	letter-spacing: -2px;
	font-weight: normal;
}

h3 {
	font-size: 140%;
	margin: 1em 1em 1em 0;
	letter-spacing: -1px;
	font-weight: normal;
}

h4 {
	font-size: 100%;
	font-weight: bold;
	margin: 1.5em 1em 1em 0;
}

h5 {
	font-size: 95%;
	margin: 1em 1em 1em 0;
}

h6 {
	font-size: 90%;
	margin: 1em 1em 1em 0;
}

.bbstyle1 {
	font-size: 160%;
	font-weight: bold;
}

.bbstyle2 {
	font-size: 130%;
	font-weight: bold;
}

.bbstyle3 {
	font-size: 120%;
	font-weight: bold;
}

.bbstyle4 {
	font-size: 110%;
	font-weight: bold;
}

.bbstyle5 {
}

.bbstyle6 {
}

.bbstyle7 {
}

.bbstyle8 {
}

.bbstyle9 {
}

#container {
	padding: 0;
	margin: 0;
	width: 980px;
	background-color: #000;
}

#header {
	padding: 0;
	margin: 0;
	height: 539px;
}

#nav23 {
	width: 980px;
	height: 40px;
	background-image: url('img/menu1.jpg');
}

#nav {
	font-size: 120%;
	margin: -3px 0 0 0;
	padding: 10px;

	letter-spacing: 2px;
	color: #CCCCCC;
}

#nav a {
	color: #CCCCCC;
}

#nav a:hover {
	text-decoration: none;
	color: #6bcceb;
}

#nav ul {
	padding: 2px;
	margin: 0;
}

#nav li {
	display: inline;
	list-style: none;
	padding: 2px 5px 2px 5px;
	margin: 0;
}

#user {
	margin: 0;
	padding: 3px;
	color: #888888;
	text-align: right;
	background-color: #F1F5FF;
	font-size: 95%;
}

#user ul {
	padding: 2px;
	margin: 0;
}

#user li {
	display: inline;
	list-style: none;
	margin: 0;
	padding: 3px;
}

#title {
	margin: 20px 20px 12px 20px;
	font-size: 170%;
	letter-spacing: -2px;
}

#subtitle {
	margin: 4px 20px 16px 20px;
	vertical-align: top;
}

#adminmenu {
	margin: 0 20px 2px 20px;
}

#main {
	padding: 16px 24px 16px 24px;
	margin: 0;
	vertical-align: top;
	background-image: url('img/bg.jpg');
}

#maincol {
	padding: 16px 24px 16px 24px;
	margin: 0;
	vertical-align: top;
	background-image: url('img/bg.jpg');
}

#side {
	border: 4px solid #FFFFFF;
	background-color: #F5F5F5;
	padding: 8px;
	font-size: 90%;
}

#footer {
	height: 44px;
	clear: both;
	margin: 0;
	font: 80% Verdana, Arial, sans-serif;
	color: #888888;
	text-align: center;
	background-image: url('img/bottom.jpg');
}

/* ============== Various ============== */

.disp {
	padding: 12px;
	margin: 0;
}

.block {
	padding: 8px;
	margin: 12px;
}

.block h4 {
	margin-top: 0;
}

.error {
	padding: 24px 8px 24px 8px;
	margin: 0;
	color: #CC1212;
	font-weight: bold;
	font-size: 110%;
	text-align: center;
}

.codetitle {
	font-size: 10px;
	color: #59739B;
	padding: 2px;
	margin-top: 5px;
}

.code {
	font-size: 11px;
	color: #59739B;
	background-color: #EFF0C2;
	padding: 2px;
	margin-bottom: 5px;
	font-family: monospace;
}

.valid {
	height: 48px;
	text-align: center;
	vertical-align: middle;
}

.download {
	font-size: 110%;
	text-align: center;
	background-color: #E8E8E8;
	padding: 16px;
	margin-top: 16px;
}

.paging {
	text-align: center;
	padding: 12px;
	text-align: right;
	font-size: 90%;
}

.coltop {
	text-align: center;
	font-size: 95%;
	background-color: #F7F6F3 !important;
	color: #707070;
}

.centerall {
	text-align: center;
}

.desc {
	font-size: 95%;
	padding: 3px;
	color: #646464;
}

.spoiler {
	padding: 8px;
	margin: 8px;
	border: 1px dashed #CCCCCC;
	background-color: #DBE5E9;
}

.odd {
	background-color: #F1F1F1 !important;
}

.even {
	background-color: #EBEDEC !important;
}

li {
	margin: 2px;
}

img {
	border-width: 0;
}

ul {
	list-style-type: square;
}

form {
	margin: 0;
}

.colleft {
	float: left;
	margin: 0px 4px 0px 4px;
}

.colright {
	float: right;
	margin: 0px 4px 0px 4px;
}

.bar_front {
	background-color: #92CC5E;
	border-right: 0px solid #333333;
	padding: 0;
	color: #DDDDDD;
	height: 8px;
}

.bar_back {
	background-color: #EBECF1;
	border: 1px solid #333333;
	margin: 0 7px 0 7px;
	height: 8px;
}

.bbcodes a img {
	border: 1px outset #A0A0A0;
	background-color: #999BAC;
}

.smilies a img {
	border: 0;
	background-color: transparent;
}

.today {
	border: 1px dashed #DDAA00;
}

.signature {
	color: #979797;
	font-size: 80%;
	max-height: 96px;
	overflow: auto;
}

.signature a {
	color: #000000;
}

/* ============== Tables ============== */

table td {
	vertical-align: top;
}

table.flat {
	width: 99%;
	margin: 0;
	padding: 0;
	border-collapse: collapse;
}

table.flat td {
	padding: 0;
	margin: 0
}

table.main {
	width: 99%;
	margin: 0;
	padding: 4px;
}

table.main td {
	padding: 4px;
}

table.cells {
	width: 99%;
	margin: 0;
	padding: 0;
	border: 4px solid #FFFFFF;
	color: #000;
}

table.cells td {
	padding: 2px;
	background-color: #F7F7Fd;
	margin: 0;
}

table.list {
	width: 99%;
	margin: 0;
	padding: 5px;
}

table.list td {
	padding: 12px;
}

table.tb-gal {
	border-collapse: collapse;
	border: 1px solid #ebebeb;
	width: 100%;
}

a.thumb {
	display: block;
	position: relative;
	height: 157px;
	width: 210px;
	border: 4px solid #9AD23F;
	overflow: hidden;
	text-align: center;
}

a.thumb img {
	margin: 0 auto;
}

td.g-block a.thumb {
	float: left !important; /* IE6 !!! */
}

a.thumb:hover {
	border-color: #FF8A75;
	text-decoration: none;
}

a.thumb img {
	border: none;
	margin: 0 auto;
}

.thumb-title {
	position: absolute;
	background: url(img/thumb-title-bkg.png);
	padding-top: 4px;
	top: 110px;
	left: 0;
	width: 210px;
	height: 47px;
	margin: 0;
	padding: 0;
	text-align: center;
}

.thumb-title div {
	font-size: 11px;
	color: #FFF;
	padding-top: 4px;
}

.g-block {
	padding: 12px;
	width: 25%;
}

.g-desc-block {
	width: 220px;
	text-align: center;
	float: left;
	padding: 5px 0 15px 0;
	font-size: 11px;
}

ul#gal {
	list-style: none;
}

ul#gal li {
	display: block;
	text-align: center;
	width: 100%;
	overflow: hidden;
	margin-bottom: 10px;
}

#container8 {
	/*border:1px solid magenta;*/
	width: 850px;
	height: 160px;
	margin-left: 25px;
}

#container8 img, #container8 .item {
	width: 100%;
	height: 100%;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	-o-border-radius: 10px;
	border-radius: 10px;
	-moz-box-shadow: 0px 5px 5px #777;
	-webkit-box-shadow: 0px 5px 5px #777;
	box-shadow: 0px 5px 5px #777;
}

.itemTitle {
	padding-top: 30px;
}

#container8 .selectedItem {
	-moz-box-shadow: 0 4px 10px #0071BC;
	-webkit-box-shadow: 0 4px 10px #0071BC;
	box-shadow: 0 4px 10px #0071BC;
	border: 1px solid #0071BC;
}

#container9 {
	/*border:1px solid magenta;*/
	width: 640px;
	margin-left: 5px;
	padding-top: 40px;
	padding-bottom: 40px;
	text-align: center;
}

#container9 a {
	margin-left: 10px;
	margin-right: 10px;
}

#container9 a:first-child {
	margin-left: 0;
}

#container9 a:last-child {
	margin-right: 0;
}

#container9 img, #container9 .item {
	width: 184px;
	height: 250px;

}

#container8 .item {
	width: 184px;
	height: 250px;
	left: 0px;
}

/*#container2 .selectedItem{
	border:2px solid #0071BC;
}*/

.similarity {
	bottom: 5%;
	position: absolute;
	right: 5%;
	font-size: 2.5em;
	*font-size: 1.3em;
	width: 1.5em;
	height: 1.5em;
	line-height: 1.5em;
	text-align: center;
}

.similarity {
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	background: #84C440; /* old browsers */
	background: -moz-linear-gradient(top, #84C440 0%, #3CB64A 100%); /* firefox */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #84C440), color-stop(100%, #3CB64A)); /* webkit */
	-webkit-box-shadow: inset 0px 1px 0px #a1d269;
	-moz-box-shadow: inset 0px 1px 0px #a1d269;
	box-shadow: inset 0px 1px 0px #a1d269;
	border-color: #8cc63f #6dc043 #359541 #6dc043;
	border-width: 1px;
	border-style: solid;
	color: #fff;
	float: left;
	font-size: 14px;
	font-weight: bold;
	padding: 3px 6px;
	text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
}

.similarity:hover {
	background: #bbde51;
	border-color: #bbde51 #bbde51 #9eba45 #bbde51;
	-webkit-box-shadow: inset 0px 1px 0px #cde671;
	-moz-box-shadow: inset 0px 1px 0px #cde671;
	box-shadow: inset 0px 1px 0px #cde671;
	cursor: pointer;
}

.header-image {
	width: auto;
	height: 539px;
	margin: 0 auto;
	display: block;
}
