body  {
	margin:0;
	padding:0;
	font-family: Verdana;
	font-size: 13px;
	background-color: #000;
	min-height: 100%;

	text-size-adjust:100%;
	-webkit-text-size-adjust:100%;
	-moz-text-size-adjust:100%;
	-ms-text-size-adjust:100%;
}

a {
	text-decoration: none;
	font-style: normal;
	color: #5C1D12;
}
a:hover {
	text-decoration:underline;
}

img {
	border: 0
}

hr {
	height: 1px;
	border-top: 1px solid #FAC942;
	border-bottom: 0; 
}
hr.hr {
	border: 0;
	height: 1px;
	background-color: #D8B165;
}

table {
	width:100%;
	border-collapse: collapse;
	padding: 0;
	margin: 0;
}

td {
	vertical-align: top;
	padding: 0;
	margin: 0;
	text-align: left;
}

table.tdpad td {padding:5px;}
table.tdpad th {padding:5px;}

map, area, .prevent_selection {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.clr {
	clear: both;
	display: block;
}

.abs {	position: absolute; }

.nomargin {
	margin:0 !important;
}

.glow {
	text-shadow: 0 0 0.3em #fff, 0 0 0.3em #fff, 0 0 1.3em #fff;
}

.br6 {
	border-radius: 6px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
}

img.userimg {
	border-radius: 6px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
}

/* Top menu */

UL#nav {padding:0; margin:0; line-height:0; list-style-type:none;
	/*width:100%;position:fixed;*/	/*topmenu*/
}
UL#nav table {width:auto; margin:0 auto;}
UL#nav td {background:url(page/parch_menu_top.png) no-repeat; vertical-align: bottom; text-align: center; width: 178px; min-width: 178px; height: 40px; }
UL#nav LI {padding:20px 0 0; margin:0;}
UL#nav UL {padding:0; margin:0; line-height:1; list-style-type:none;}
UL#nav div.subnav {background:url(page/parch_menu.jpg) repeat; padding:10px 6px 2px 10px; width:162px; }

#nav LI UL {left:-999em; position:absolute;}
#nav LI:hover UL {left:auto; z-index: 100;}

UL#nav a { font-size: 13px; color: #5C1D12; margin:0; padding:0; text-decoration: none}
UL#nav a:hover { text-decoration: underline }
UL#nav .menu { font-weight: bold; color: #5C1D12; height:8px;}
UL#nav .submenu { text-align: left; padding:2.5px }

/* Left menu */
.page_left_img {
	position:relative;
	left:5px;
	top:10px;
	display:block
	/* ie7 shows with error, display:none is required in style_ie7 */
}
.menu_hint {
	position:relative;
	left:215px;
	top:-38px;
	text-align: left;

	background-color: #fff;
	border: 2px solid #D8B165;
	padding: 10px;
	width: 500px;
	min-height: 100px;

	border-radius: 6px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	
	z-index:990;
	
	opacity: 0.97;
}

/* Page */

table#page {
	font-size:13px;
	/*margin-top:40px;*/	/*topmenu*/
}

	td#page_left {
		width: 220px;
		min-width: 220px;
		text-align: center;
	}

	td#page_center {
		min-width: 670px;
	}

	td#page_right {
		width: 220px;
		min-width: 220px;
		text-align: center;
	}

div#page_footer {
	text-align: center;
	margin-top: 20px;
}

/* Block left/right */
div.blockr{ background: url(http://bdsmion.com/view/page/parch_menu_row.jpg) repeat-y 50% top; }
div.blockr-top{ padding: 35px 5px 10px 5px; background: url(page/parch_menu_row_top.png) no-repeat 50% top }
div.blockr-middle{ padding: 55px 4px 10px 4px; background: url(page/parch_menu_row_middle.png) no-repeat 50% top }

/* Block center */
div.blockc { background: url(http://bdsmion.com/view/page/paper.jpg) repeat; }
div.blockc-left { background: url(page/parch_left.png) repeat-y left 0; width: 100%; }
div.blockc-right { background: url(page/parch_right.png) repeat-y right 0; width: 100%;}
table.blockc-top td.left{ background: url(page/nook_left_top.png) no-repeat left top; width:105px; height:50px }
table.blockc-top td.center{ background: url(page/nook_center_top.png) repeat-x 50% top; height:50px }
table.blockc-top td.right{ background: url(page/nook_right_top.png) no-repeat right top; width:105px; height:50px }
div.blockc-content { margin: 0 45px; text-align: justify; }
table.blockc-bottom td.left{ background: url(page/nook_left_bottom.png) no-repeat left top; width:105px; height:50px }
table.blockc-bottom td.center{ background: url(page/nook_center_bottom.png) repeat-x 50% bottom; height:50px }
table.blockc-bottom td.right{ background: url(page/nook_right_bottom.png) no-repeat right top; width:105px; height:50px }

/* Content */

#content {
	min-height: 500px;
}

h3 {
	color: #000000;
	font-family: Monotype Corsiva, Times New Roman;
	font-style: italic;
	font-weight: 400;
	font-size: 17pt;
	text-align: center;
	margin-top: 0;
}


.text a {	text-decoration:none; font-weight:bold;}
.text a:hover {text-decoration:underline;}

.fwrapper a {	text-decoration:none; font-weight:bold;}
.fwrapper a:hover {text-decoration:underline;}


div.pf {
	width: 320px;
	height: 320px;
	background: url(page/paper_fire.jpg) no-repeat;
	padding: 31px 0 0 50px;
}

.bdsmion {
	font-weight: bold;
	text-shadow: 0 0 0.2em #fff, 0 0 0.2em #fff, 0 0 1.2em #fff;
	/*
	text-shadow: 0 0 0.2em #8F7;
	*/
}

h1.bdsmion {
	margin: 0;
	/* -7px 0 0 7px */
	text-shadow: 0 0 0.2em #fff, 0 0 1.2em #fff, 0 0 2.2em #fff;
}

.online {font-weight:bold; text-shadow: 0 0 0.2em #AAFFAA;}

.rep { font-weight: bold; font-size: 16px; display: inline; }

/* Listing */
.page { border:1px solid #FAC942; background-color:#FFFFEE; padding:2px;  }

/* Messages */
.red { color: #aa0000; }
.error { padding: 10px 10px 10px 32px; background: url(i/error.gif) no-repeat 9px center #fff; border: 1px solid #aa0000; }
.selected { background-color: #fff; }
.msg_answer { background-color: #eee; padding: 5px; margin: 5px 0}

.ul li {padding-top:5px; list-style-type: circle;}

a.user {
	font-weight: bold;
	text-decoration: none;
	font-size: 13px;
	font-family: Verdana;
}
a.user:hover {
	text-decoration: underline;
}
div.role {
	background-image: url(i/role.png);
/* opera required???
	background-attachment: fixed;
*/	display: inline-block;
	width: 16px;
	height: 14px;
}



.epigraf {
	text-align: justify;
	width: 450px;
	float: right;
	font-style: normal;
	padding: 0 0 15px 25px;
	clear: both;
}

.epigraf .author {
	text-align: left;
	font-weight: bold;
	font-style: normal;
	padding-top: 10px;
}

.under	{	text-decoration: underline !important; }
a.link	{	display: block; padding-top: 10px;}
div.image{	display: block; float: right; margin: 0 0 5px 20px; }
div.image img.image{	margin-bottom: 10px; }
h5		{	font-size: 15px;}

#content table.images{ width: 100%; }
#content td.image{ vertical-align: middle; text-align: center; width:25%; }

#content table.album td.image{ vertical-align: top; text-align: center; width:25%; }

.ajax_wait {
	background-image: url(i/ajaxc.gif);
	background-repeat: no-repeat;
	background-position: left top;
}
.ajax_wait_dragon {
	background-image: url(i/ajax_dragon.gif);
	background-repeat: no-repeat;
	background-position: left top;
}

/* Terms */

.term { padding: 4px; border: 1px solid transparent; }
.term:hover	{	background-color: #ffffee; border: 1px solid #0000aa; }
.subterm1 	{	background-color: #eeffee;}
.subterm2 	{	background-color: #ffeedd;}
.ajaxterm_btn {
	cursor:pointer;
	border-bottom: 1px dashed #5C1D12;
	color: #5C1D12;
}
.ajaxterm {
	display:none;
	position: absolute;
	z-index: 997;

	width: 400px;

	font-weight: normal;
	font-size: 13px;
	font-style: normal;
	font-family: Verdana;

	padding: 10px 15px;
	text-align: left;

	color: #000;
	background-color: #fff;
	border:1px solid #D8B165;

	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
}


/* Userlist */

table.userlist	{	width: 680px; }
table.userlist td	{	text-align:left; padding:2px }

table.userlist td.ult { padding-top: 5px; }
table.userlist td.ult table { width: 100%; margin-left: 8px; }
table.userlist td.ult td { padding:0; border:none; vertical-align:top;}
table.userlist td.ult p.date { position:relative; top:-6px;}
table.userlist td.ult div.date { position:absolute;}

table.userlist td.ulha	{ width:150px; text-align:right; }
table.userlist td.ulhb	{ width:120px; }
table.userlist td.uli	{ border-bottom: 1px solid #FAC942; padding-left: 10px; min-width: 200px }
table.userlist td.ula	{ border-bottom: 1px solid #FAC942; padding-left: 10px; width: 300px; vertical-align: top; }

td.ulf	{ width:108px; padding: 5px; text-align: center; }
table.userlist td.ulf	{ border-bottom: 1px solid #FAC942; }

/* Blocks */

div.block {
	width: 95%;
	background-color: #fff;
	border: 1px solid #ACD8F0;
	text-align: left;
}

div.block div.header {
	padding: 5px 10px 5px 10px;
	background-color: #ccc;
	cursor: pointer;
	font-weight: bold;
}

div.block div.content {
	padding: 8px;
	overflow: auto;
	display: none;
}

/* Form */

.message {
	color: #008800;
	font-weight: bold;
}

table.form {
	width: 100%;
}

	.form th{
		width: 150px;
		vertical-align: top;
		text-align: left;
	}
	.form td{
		vertical-align: top;
		text-align: left;
		padding-bottom: 5px;
	}
	.form input {
		width: 180px;
		height: 17px;
		border:1px solid #D8B165;
		background-color: #fff;

		border-radius: 6px;
		-moz-border-radius: 6px;
		-webkit-border-radius: 6px;
	}
	.form .file {
		width: 203px;
		height: 22px;
		border:1px solid #D8B165;
	}
	.form textarea {
		width: 90%;
		height: 100px;
		border:1px solid #D8B165;

		border-radius: 6px;
		-moz-border-radius: 6px;
		-webkit-border-radius: 6px;
	}
	.form .login {
		padding-left: 23px;
		background: url(i/user.gif) no-repeat 5px center #fff;
	}
	.form .password {
		padding-left: 23px;
		background: url(i/password.gif) no-repeat 5px center #fff;
	}
	.form .mail {
		padding-left: 23px;
		background: url(i/mail.gif) no-repeat 3px center #fff;
	}
	.form .icq {
		padding-left: 23px;
		background: url(i/icq.gif) no-repeat 3px center #fff;
	}
	.form .skype {
		padding-left: 23px;
		background: url(i/skype.gif) no-repeat 3px center #fff;
	}
	.form .submit {
		width: 203px;
		height: 22px;
		background: url(page/parch_menu_row.jpg) repeat 50% top #333;
		/*#D8B165*/
		cursor: pointer;
	}
	.form .radio {
		width: 15px;
		border: 0;
		background-color: transparent;
	}

	.form .delim {
		padding: 10px;
	}
	.form .undefined {
		color: #888;
	}

	.form .country option {
		padding: 0 2px 2px 30px;
		background-repeat: no-repeat;
		background-position: 0 50%;
	}
	.form .country option.popular {
		padding: 0 2px 2px 30px;
		background-repeat: no-repeat;
		background-position: 0 50%;
		font-weight: bold;
	}

form.button {
	display: inline;
}
form.button input {
	background-color: #ccc;
}

/* Jeffect */

/* Slider */

.slider {
	height: 22px;
	font-weight: bold;
	/*
	background: url(i/header.gif) repeat-x; slider
	*/
	background-color: #EEEECC;
	border-top: 1px solid #D8B165;
	border-left: 1px solid #D8B165;
	border-right: 1px solid #D8B165;
	cursor: pointer;
	padding: 3px 0 0 20px;
	display: none;
}

.slider-in {
	background-color: #FFFFE0;
	border-top: 1px dashed #D8B165;
	border-bottom: 1px solid #D8B165;
	border-left: 1px solid #D8B165;
	border-right: 1px solid #D8B165;
	padding: 5px 5px 25px 5px;
	display: none;
}

/* Tooltips */

.jt {
	display: inline;
	font-weight: normal;
}

.jt-in {
	display: none;
	position: absolute;
	z-index: 999;

	font-weight: normal;
	font-size: 13px;
	font-style: normal;
	font-family: Verdana;

	padding: 10px 15px;
	text-align: left;

	color: #000;
	background-color: #fff;
	border:1px solid #D8B165;
	margin: 10px;

	max-width: 500px;
}

.jt-header {
	font-weight: bold;
	margin-bottom: 15px;
	display:block;
}

/* Tabs */

UL.tabs {
	padding:10px 0 30px 0;
	list-style:none;
	line-height:1em;
}

UL.tabs LI {
	float:left;
	margin:0 0 0 -5px;
	padding:0;
	text-align: center;
}

UL.tabs A {
	display:block;
	color:#444;
	text-decoration:none;
	font-weight:bold;
	margin:0;
	padding:5px 25px 5px 25px;
/*
	border-left:1px solid #fff;
	border-top:1px solid #fff;
	border-right:1px solid #ccc;
	border-bottom:1px solid #ccc;
*/
	border-left:1px solid #bbb;
	border-top:1px solid #bbb;
	border-right:1px solid #888;
	border-bottom:1px solid #888;

	background-color: #FFEFC6;
	background-repeat: no-repeat;
	background-position: 20px 50%;

	border-radius: 0 20px 0 0;
	-moz-border-radius: 0 20px 0 0;
	-webkit-border-radius: 0 20px 0 0;
}

UL.tabs A:hover,
UL.tabs A:active,
UL.tabs A.here:link,
UL.tabs A.here:visited {
	background-color: #eeEFC6;
/*	background-color: #ddF0ba;	*/
	background-repeat: no-repeat;
	background-position: 20px 50%;
}

UL.tabs A.here:link,
UL.tabs A.here:visited {
	position:relative;
	z-index:50;
}

/* Subtabs */

.tabs UL {
	background: #bbb;
	margin:0;
	padding: 0.25em 0.25em 0 1em;
	list-style: none;
	border-top: 1px solid #fff;
}

.tabs UL LI {
	float:left;
	display:block;
	margin-top:1px;
}

.tabs UL A {
	background:#bbb;
	color:#fff;
	display:inline;
	margin:0;
	padding:0 1em;
	border:0
}

.tabs UL A:hover,
.tabs UL A:active,
.tabs UL A.here:link,
.tabs UL A.here:visited {
	color:#444;
}

/* Tabs content */

.tab-content {
	display: none;
}

/* User Profile */

a#for_profile_tab1 { padding-left:45px; background-image: url(i/user.gif); }
a#for_profile_tab2 { padding-left:45px; background-image: url(i/rainbow.png); }
a#for_profile_tab3 { padding-left:45px; background-image: url(i/heart.gif); }
a#for_profile_tab4 { padding-left:45px; background-image: url(i/YinYang.gif); }
a#for_profile_tab5 { padding-left:45px; background-image: url(i/img.png); }


/* Listing */

.listing tr {	height: 25px;	border-bottom: 1px solid #D8B165;}
.listing tr .slider 	{	border-width: 0;}
.listing tr .slider-in {	border-width: 1px 0 0 0;}

.listing td {	vertical-align: middle; text-align: left; }
.listing .status1 {	background-color: #ffff00;}
.listing .status2 {	background-color: #7Fcc00;}
.listing input.status3 {	background-color: #ff7f00;}
.listing input.status4{	background-color: #aa9999;}
.listing .status5{	background-color: #ddee00;}

.listing tr.status1 {	height: 50px;}
.listing tr.status2 {	height: 50px;}
.listing tr.status3 {	height: 50px;}
.listing tr.status4 {	height: 50px;}
.listing tr.status5 {	height: 50px;}

.listing th { text-align:left; }

.listingkv { width: auto; }
.listingkv th { text-align:right; padding: 5px; }
.listingkv td { text-align:left; padding: 5px; }

.pad7 td { padding:7px; vertical-align: top;}
.pad7 th { padding:7px; vertical-align: top;}

/* Datetime */

p.date {
	margin:0;
	/*padding:0 10px 6px;*/
	/*position:absolute;*/
	float: left;
	text-align:center;
}
p.date_info {
	padding-left: 15px;
	float: left;
}

p.date .day {
	/*color: #83C132;*/
	color: #444;
	display:block;
	font-size:22px;
	font-weight:normal;
	letter-spacing:-1px;
}

p.date .month {
	display:block;
	font-size:9px;
	text-transform:uppercase;
}
p.date .year {
	display:block;
}
p.date small {
	color:#333;
	font-size:9px;
}
p.time {
	display:block;
	float:left;
	margin-left:8px;
	font-size:11px;
	padding-top:3px;
}

/* Slideshow */

#slideshow {
	margin: 10px auto;
	overflow:hidden;
	width:693px;
	height:164px;
	border:1px solid #777777;
	background-color: #fff;
	position: relative;
}

	#slideshow ul {
		width: 4000px;
		position: relative;
		left: 0;

		list-style:none outside none;
		margin:0;
		padding:0;
	}

	#slideshow li {
		float:left;
		border-right:1px solid #DBDBDB;
		height: 136px;
		padding: 5px 15px 0;
		margin: 10px 0;
		overflow: hidden;

		list-style:none outside none;
	}
	#slideshow li:hover  {
		background-color: #FFFFE0;
	}

	#slideshow .content {
		width: 200px;
		text-align: left;
		
	}
	#slideshow .img {
		float: left;
	}
	#slideshow .title {
		font-size: 15px;
		font-weight: bold;
	}
/*	
	#slideshow a {text-decoration: none; font-weight: bold;}
	#slideshow a:hover {text-decoration: underline;}
*/
	#slideshow .prev {
		position: absolute;
		left: 0;
		top: 45px;
		cursor: pointer;
	}
	
	#slideshow .next {
		position: absolute;
		right: 0;
		top: 45px;
		cursor: pointer;
	}

/* ~Block~ */

.link-b {
	float:left;
	clear:both;
/*	left:-16px; position:relative;*/
}
.link-b .link-r {
	background:url(i/link-right.gif) no-repeat scroll 100% 5px transparent;
	clear:both;
	margin-right:15px;
	padding:5px 75px 0 20px;
	text-align:right;
	line-height: 0.7;
}
.link-b .link-l {
	background:url(i/link-left.gif) no-repeat scroll 0 0 transparent;
	float:right;
	padding:5px 0 7px 75px;
}

/*	Forum	*/

#forum { text-align: left }
#forum tr.fheadrow {background-color:#fff;}
#forum tr.frow {height: 53px;}
#forum td.frow {padding: 8px 0;}
#forum td.frow_img {text-align:center; padding-right:5px}

#forum .fmin {margin: 9px 0 5px 0;font-size: 8pt; font-weight:normal}

#forum table.fmsg			{width: 100%;}
#forum table.fmsg tr.fhead	{border: 1px solid #D8B165 !important; height:53px; background:#eee;}
	#forum table.fmsg td.fadded	{padding: 0 15px 0 20px; vertical-align: middle; width:100px; }
	#forum table.fmsg td.avatar	{padding: 3px; vertical-align: middle; width:50px; }
	#forum table.fmsg td.avatar	img{/*max-width:55px; width:55px*/ max-width:80px; max-height:80px;}
	#forum table.fmsg td.author	{padding: 0 0 0 15px; vertical-align: middle; width:200px; }
	#forum table.fmsg td.ftitle	{vertical-align: middle; }
	#forum table.fmsg td.fop	{text-align: right; vertical-align: middle;}

	#forum table.fmsg tr.fnew td {padding:12px !important; vertical-align:top !important; border-bottom: 1px solid #D8B165; }
	#forum table.fmsg tr.fnew td.fadded { border-bottom: 1px solid #D8B165; background-color:#fff; }
	#forum table.fmsg tr.fnew td.author { border-bottom: 1px solid #D8B165; background-color:#fff; text-align: right !important; width:150px !important; }
	#forum table.fmsg tr.fnew td.fmsg { border-bottom: 1px solid #D8B165; background-color:#fff; border-left: 1px solid #ccc !important; }
	#forum table.fmsg tr.fnew .ftopic_bar { min-width: 35px; margin-top:-25px; }

#forum table.fmsg td.fmsg	{padding: 5px; vertical-align: top; background-color:#fff; border-left: 1px solid #ddd; }
#forum table.fmsg .fwrapper{overflow: auto; max-width: 1000px; }
#forum table.fmsg .fmsgaf	{padding: 15px 0; border-top: 1px solid #ccc; display: none; }
#forum table.fmsg .fmsgaf textarea	{margin-bottom: 10px; }
#forum table.fmsg td.fchild0{padding-left:20px;background-color:#FFFFE0}
#forum table.fmsg td.fchild1{padding-left:20px;background-color:#EEEECC}
#fmsgaform { background-color:#fff; padding: 8px; border-bottom: 1px solid #D8B165;}
#fmsgaform input {margin-bottom: 10px;  }
#fmsgaform textarea {margin-bottom: 10px; height: 250px}

#forum td.flood { background-color: #eee !important; color: #777 !important; }
.fmsg.gold { background-color: #ffffaa !important; }
.premoder { color:#fff !important; background-color: #999 !important; }
.premoder blockquote { color:#000; }

#forum  .green_textarea { background-color: #99cc99; }

blockquote {
	background-color: #FFFFD7;
	border: 1px solid #FFcFa4;
	
	margin: 10px 0 10px 18px;
	padding: 7px;
	text-decoration: none;

	border-radius: 6px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
}

q {
	background-color: #eeeed6;
	color: #eeeed6;
	border: 1px solid #FFcFa4;

	padding: 5px;
	margin: 5px 0;
	min-height: 27px;
	display: block;

	border-radius: 6px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
}

q:before {content: "";}
q:after {content: "";}

q img, q blockquote, q a { opacity:0; }

q.hover, q.open { color:#000 !important; }
q.hover img, q.open img { opacity:1; }
q.hover blockquote, q.open blockquote { opacity:1; }
q.hover a, q.open a { opacity:1; }

/* Main */

table.main {
	width:100%;
	text-align:left;
}

table.main td {
	padding-left:10px;
	width:50%;
}

#present2 {	background: url(present/present2c.gif) no-repeat 30px 15px;	}
#present5 {	background: url(present/present4c.gif) no-repeat 50% 35px;	}
#present7 {	background: url(present/present6e.gif) no-repeat 70% 50%;	}

.badge {
	display: inline-block;
	background-color: #FFFFD7;
	border: 1px solid #FFEFC6;
	
	line-height: 1.9;
	margin: 0 3px 3px 0;
	padding: 0 6px 0 3px;
	text-decoration: none;

	border-radius: 6px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
}

.badge1 {font-size: 14pt; color: #889;}
.badge2 {font-size: 14pt; color: #ffd700;}
.badge3 {font-size: 14pt; color: #c0c0c0;}
.badge4 {font-size: 14pt; color: #cd7f32;}
.badge5 {font-size: 14pt; color: #d2691e;}
.badge6 {font-size: 14pt; color: #22cc22;}
.badge7 {font-size: 14pt; color: #22cc22;}
.badge8 {font-size: 14pt; color: #aa00ff;}
.badge9 {font-size: 14pt; color: #bb3333;}

.safe_mode {
	background-color: #bbbbd7 !important;
	border: 1px solid #333;
}

#user_profile_color1b {
	background-color:#DDFFDD;
}


/* Game */

#game_loc_img {
	padding-right: 20px;
	text-align: right;
	width: 380px;
}

#game_loc_info {
	min-width: 300px;
	min-height: 400px;
}

div.game_act_res {
	font-style: italic;
	font-weight: bold;
}

.game_map td.loc {
	text-align: center;
	border: 1px solid #ccc;
	background-color: none;
}

/* Green button */

.btn {
	padding: 3px;
	cursor: pointer;
	display: block;
}
.btn_on {
	background-color: #00aa00;
	padding: 3px;
	cursor: pointer;
	border-radius: 7px;
	-moz-border-radius: 7px;
	-webkit-border-radius: 7px;
}
.btn_off {
	padding: 3px;
	cursor: pointer;
	border-radius: 7px;
	-moz-border-radius: 7px;
	-webkit-border-radius: 7px;
}


.ftopic_bar  {
	float: right;
	padding: 0 6px;
	margin: 0 10px 0 0;
}
	.ftopic_bar .btn {
		display: inline !important;
	}

/* Standard (big brown) button */
/*
.btnstd {
	max-width: 203px;
	height: 22px;
	background: url(page/parch_menu_row.jpg) repeat 50% top #333;
	color: #000;
	cursor: pointer;
	padding: 3px;
	margin: 3px;

	border-radius: 6px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
}
*/
.btnstd {
	width: 190px;
	height: 16px;
	padding: 4px;
	cursor: pointer;
	display: inline-block;
	line-height: -1;

	border: 1px outset #D8B165;

	border-radius: 6px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
}
.btnstd:hover {
	border: 1px solid #D8B165;
	background-image: url(i/btnstd.png);
	background-position: 0 bottom;
	background-repeat: repeat-x;
}
.btnauto {
	width: auto !important;
}

/* Colored buttons */

.btn0 { }
.btn1 { cursor:pointer; background-color: #fff; }
.btn2 { cursor:pointer; background-color: #aaaaff; }	/* blue */
.btn3 { cursor:pointer; background-color: #aaeeaa; }	/* green */
.btn4 { cursor:pointer; background-color: #eeaaaa; }	/* red */
.btn5 { cursor:pointer; background-color: #ffffaa; }	/* yellow */
.btn6 { cursor:pointer; background-color: #aaddee; }	/* quan */
.btn7 { cursor:pointer; background-color: #ccAAdd; }	/* magenta */
.btn8 { cursor:pointer; background-color: #D8B165; }
.btn_light { padding:3px; cursor:pointer; border: 1px outset #D8B165; display: inline-block; height:16px; }

/* Gallery */

a.gallery {
	display: block;
	padding: 5px;
	text-decoration: none;
}
a.gallery:hover {
	display: block;
	padding: 5px;
	text-decoration: none;
	background-color: #fff;
}
a.gallery img{
	border: 1px solid #888;
}

.library a:hover{
	text-shadow: 0 0 0.3em #fff, 0 0 0.3em #fff, 0 0 1.3em #fff;
}

/* Personal message wrapper */

.pm_wrapper {
	width:638px;
	overflow:auto;
}

/* Smiles */

#smiles {
	margin-bottom: 18px;
}

	#smiles ul {
		padding: 0;
		margin: 0;
	}

	#smiles li {
		list-style-type: none;
		display: inline;
		padding: 0 5px 0 5px;
		cursor: pointer;
	}
	#smiles li:hover {
		background-color: #fff;
	}

#smiles_list {
	display: none;
	position: absolute;
	overflow: auto;
	z-index: 70;

	width: 90%;
	padding: 5px;

	border: 1px solid #D8B165;
	background-color: #fff;
}

#smiles_list div {
	float: left;
	padding: 5px;
	cursor: pointer;
	border: 1px solid #ccc;
	min-height: 35px;
}
#smiles_list .smile_hover {
	background-color: #ffaaaa;
}


#userhint {
	display: none;
	position: absolute;
	z-index: 999;

	font-weight: normal;
	font-size: 13px;
	font-style: normal;
	font-family: Verdana;

	padding: 10px 15px;
	text-align: left;

	color: #000;
	background-color: #fff;
	border:1px solid #D8B165;
	margin: 10px;

	max-width: 500px;

	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
}

#fastmenu {
	display: none;
	position: absolute;
	z-index: 998;

	font-weight: normal;
	font-size: 13px;
	font-style: normal;
	font-family: Verdana;

	padding: 10px 15px;
	text-align: left;

	color: #000;
	background-color: #fff;
	border:1px solid #D8B165;
	margin: 10px;

	width: 500px;
	
	max-height: 500px;
	overflow-y: auto;

	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
}

#userhint table.userhint {
	width: 100%;
}
#userhint table.userhint td.ulf	{ width:108px; padding:0 9px 0 0; text-align:center; }

#ftopichint {
	display: none;
	position: absolute;
	z-index: 999;

	font-weight: normal;
	font-size: 13px;
	font-style: normal;
	font-family: Verdana;

	padding: 10px 15px;
	text-align: left;

	color: #000;
	background-color: #fff;
	border:1px solid #D8B165;
	margin: 10px;

	max-width: 500px;

	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
}

/* Hot msg */

table.hotmsg {
	width: auto;
	margin: 0 auto;
}
td.hotmsg_left {
	width: 17px;
	height: 66px;
	background:url(i/hot_left.jpg) no-repeat;
}
td.hotmsg_right {
	width: 17px;
	height: 66px;
	background:url(i/hot_right.jpg) no-repeat;
}
td.hotmsg_center {
	height: 66px;
	background:url(i/hot_center.jpg) repeat-x;
}
div.hotmsg_div {
	width: 100%;
	height: 24px;
	margin: 21px 5px;
	overflow: hidden;
	text-align: center;
	font-weight: bold;
}


h3.user_profile {
	text-align: left !important;
	margin: 15px 0 15px 150px;
}

table.user_online {
	width:auto;
	height:125px;
	max-width:285px;
	float:left;
	margin:10px;
}

table.user_online div.mood {
	width: 150px;
	height: 40px;
	overflow: auto;
	font-size: 8pt;
}

/* interest */

table.interest {
	width: 600px;
}
td.interest_img {
	width: 80px;
	text-align:right;
	padding-right: 5px;
}
td.interest_btn {
	width: 200px;
}



/* Safari */
@media screen and (-webkit-min-device-pixel-ratio:0)
{
	.ajaxterm {
		position: relative !important;
	}
}

/* opera */
@media all and (-webkit-min-device-pixel-ratio:10000), not all and (-webkit-min-device-pixel-ratio:0)
{
	.ajaxterm {
		position: relative !important;
	}
}

.flip-horizontal {
    -moz-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    transform: scaleX(-1);
    -ms-filter: fliph; /*IE*/
    filter: fliph; /*IE*/
}
.flip-vertical {
    -moz-transform: scaleY(-1);
    -webkit-transform: scaleY(-1);
    -o-transform: scaleY(-1);
    transform: scaleY(-1);
    -ms-filter: flipv; /*IE*/
    filter: flipv; /*IE*/
}


.rotate {
	/* Safari */
	-webkit-transform: rotate(-2.7deg);
	/* Firefox */
	-moz-transform: rotate(-2.7deg);
	/* IE */
	-ms-transform: rotate(-2.7deg);
	/* Opera */
	-o-transform: rotate(-2.7deg);
}


#actual_div {
	position: relative;
	left:3px;
	top:10px;
	width: 55px;
	overflow: hidden;
	
	background-color: #fff;
	text-align: center;
	padding: 7px 3px;
	border:1px solid #D8B165;
	display: none;
}

#actual_pm {
	background: url(i/msg_in0.gif) no-repeat 0 50%;
	padding-left: 20px;
}


/* Izba */

.izba_footer_right { float:right; font-style:italic; }
#izba_map ul { list-style-image:url("i/dot_yellow.png"); margin:0 0 15px 15px; padding:0; }
#izba_map li { padding-top:5px; }


/* Bonus */

.bonus {
	padding-left: 21px;
	background: url(i/bonus.png) no-repeat 0 50%;
}

/*
.gift2_list {
	background-color: #FFFFD7;
	border: 1px solid #FFcFa4;
	
	padding: 7px;
	text-decoration: none;

	border-radius: 6px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	
	width:100%;
	overflow: auto;
}

.gift2_user {
	width: 1000px;
}
*/

.gift2_list {
	background-color: #FFFFD7;
	border: 1px solid #FFcFa4;
	
	padding: 7px;
	text-decoration: none;

	border-radius: 6px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	
	margin-left: 15px;
	width: 95%;
}

.gift2_user {
/*
	height: 180px;
	overflow: auto;
*/
}

.gift2_w {
	min-height: 56px;
	float: left;
	margin: 0 10px 10px 0;
	background-color: #fff;
	border: 1px solid transparent;

	border-radius: 6px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;

	text-align: center;
	cursor: pointer;
}
.gift2_w:hover { background-color: #fff; }
.gift2_user .gift2_w { height:80px;}

.gift2 {padding: 7px;}

.gift2_request {
	background-color: #ddd;
	opacity: 0.9;
}
.gift2_request:hover { background-color: #eee; filter: grayscale(0%); -webkit-filter: grayscale(0%); }

.gift2_request .gift2 span > img {
	filter: grayscale(100%);
	-webkit-filter: grayscale(100%); /* For Webkit browsers */
	filter: gray; /* For IE 6 - 9 */
	-webkit-transition: all .6s ease; /* Fade to color for Chrome and Safari */
	filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 10+, Firefox on Android */
}

.gift2_sel { border: 1px solid #aa0000; }
.gift2_del { float:left; width:16px; height: 80px; margin: 0 20px 10px 0; background:url(i/close.png) no-repeat 50% 50%; cursor:pointer; }

.v4 { display:block; float:left; font-size:12px; width:175px; padding:3px; }


/* main page news */

#mnews {
	position:relative;
	margin: 0 auto 10px auto;
	overflow: hidden;
	position: relative;
	line-height: 1.4;

	max-width: 900px;
	height: 185px;
}
#mnews.mnews4 { height: 200px; }

	#mnews a {
		position: relative;
		float: left;
		display: block;
		background-color: #fff;
		border-right: 1px solid #DBDBDB;
		padding: 0;
		overflow: hidden;
		text-align: center;

		max-width: 300px;
		min-width: 200px;
		width: 33%;
		height: 185px;
	}
	#mnews.mnews4 a {
		min-width: 150px;
		width: 24.5%;
		height: 200px;
	}
	#mnews a:hover {text-decoration: none;}

		#mnews .news_img {
			background-color: #fff;
			background-position: 50% 0;
			background-repeat: no-repeat;

			width: 100%;
			height: 100px;
		}
		#news_izba			{ background-image: url(/view/projects/mlogo/izba.jpg)}
		#news_desires		{ background-image: url(/view/projects/mlogo/desires.jpg)}
		#news_zagogulina	{ background-image: url(/view/projects/mlogo/zagogulina.jpg)}
		#news_articles		{ background-image: url(/view/projects/mlogo/articles.jpg)}
		#news_popa			{ background-image: url(/view/projects/mlogo/popa.jpg)}

		.news_info {
			position: relative;
			padding:5px;
			border-top: 1px solid #ccc;
		}

			#mnews h3 { font-size:18px; margin:0 auto; padding:0; }

			.news_nick { z-index:2; min-height: 25px; background-color: #fff; }
			.news_sub { z-index:1; font-style: italic; }

		.news_hint {
			position: absolute;

			background-color: #FFFFE0;
			border-top: 1px solid #FFcFa4;

			padding: 5px;
			line-height: 1.4;

			width: 98%;
			min-height: 90px;

			transition: top 0.2s linear;
			left: 0;
			top: 185px;
		}
		#mnews.mnews4 a .news_hint { top:200px; font-size: 12px;}
		#mnews a:hover .news_hint { top:100px; }
		.news_hint.news_lh {line-height: 1.24;}
		.news_hint.news_fs {font-size: 12px;}

#mnews.noimg {height: 85px;}
	#mnews.noimg.mnews4 a {height: 100px;}
	#mnews.noimg a {height: 100px;}
		#mnews.noimg .news_img {display:none;}

		#mnews.noimg .news_hint { top:85px; }
		#mnews.noimg.mnews4 a .news_hint { top:100px; }
		#mnews.noimg a:hover .news_hint { top:0; }

