body {
	/* scrollbar-base-color:#e4d2ad; */
	SCROLLBAR-FACE-COLOR: #e3d0aa;
	SCROLLBAR-HIGHLIGHT-COLOR: #FFFFFF;
	SCROLLBAR-SHADOW-COLOR: #cead6c;
	SCROLLBAR-3DLIGHT-COLOR: #e2cea7;
	SCROLLBAR-ARROW-COLOR: #d3b57a;
	SCROLLBAR-TRACK-COLOR: #e9dabd;
	SCROLLBAR-DARKSHADOW-COLOR: #cead6c;
}

html,
body {
	height: 100%;
}

html,
td {
	color: #000000;
	font-family: Verdana;
	font-size: 13px;
}

@media only screen and (max-width: 767px) {
	html,
	body {
		font-size: 16px;
	}
}

body,
form,
div,
ul,
li,
h1,
h2,
h3,
h4,
h5 {
	margin: 0px;
	padding: 0px;
}


a,
a:link {
	color: #7c280e;
	text-decoration: underline;
	cursor: pointer;
}

a:hover {
	text-decoration: none;
}

a:focus,
a:active {
	outline: none;
}

a img {
	border: none;
}

select,
textarea,
input {
	color: #000000;
	background-color: #f0eed8;
	border: 1px solid #5d5b50;
	font-family: Verdana, Arial, sans-serif;
	font-size: 0.846rem;
	margin-bottom: 2px;
	margin-top: 2px;

}

input::-webkit-input-placeholder,
input::placeholder {
	color: #a29a7c;
}

input[type="radio"] {
	background-color: transparent !important;
	background: none;
	background-position: 0 -250px;
	opacity: 0.6;
	width: 15px;
	height: 17px;
	text-align: center;
}

textarea {
	padding: 5px;

}

.transp1 {
	filter: progid:DXImageTransform.Microsoft.Alpha(opacity=70);
	/* IE 5.5+*/
	-moz-opacity: 0.7;
	/* Mozilla 1.6 � ���� */
	-khtml-opacity: 0.7;
	/* Konqueror 3.1, Safari 1.1 */
	opacity: 0.7;
	/* CSS3 - Mozilla 1.7b +, Firefox 0.9 +, Safari 1.2+, Opera 9 */
}

.scale1 {
	-webkit-transform: scale(-1, 1);
	-moz-transform: scale(-1, 1);
	-o-transform: scale(-1, 1);
}

#altt {
	position: absolute;
	left: 100px;
	top: 148px;
	z-index: 100;
	margin: 0px;
	padding: 5px;
	opacity: 0.7;
	max-width: 500px;
}

#it_altt {
	position: absolute;
	left: 100px;
	top: 148px;
	z-index: 100;
	margin: 0px;
	padding: 5px;
	opacity: 0.95;
}

#contextmenu {
	position: absolute;
	left: 100px;
	top: 148px;
	z-index: 100;
}

#msg_box {
	display: none;
	position: absolute;
	top: 200px;
	left: 0px;
	z-index: 110;
	width: 100%;
}

#msg_box .msg-box-container {
	position: relative;
	font-family: Verdana sans-serif;
	font-size: 1.23rem;
	color: #322606;
	padding: 15px 30px;

	max-width: 400px;
	margin: 0 auto;
	background-color: #d1b571;
	border: 2px solid #554527;
	border-radius: 10px;
	text-align: center;
}

@media only screen and (max-width: 767px) {
	#msg_box .msg-box-container {
		max-width: 250px;
	}
}

#msg_box .close-btn {
	position: absolute;
	top: 10px;
	right: 10px;
	cursor: pointer;
}

#msg_box .close-btn-bottom {
	padding-top: 5px;
	margin: 0 auto;
	text-align: center;
}

#inr {
	color: #000000;
	font-weight: bold;
}

.buttonC1 {
	background: url(/img/button_bg.jpg) repeat-x 0 0;
	min-width: 80px;
	height: 27px;
	padding: 0px 0px 4px 5px;
	margin-right: 7px;
	border: none;
	font-weight: bold;
	font-size: 11px;
	color: #453619;
}

.button_s,
.button {
	background-image: url(/img/btn_bg1.gif);
	border: solid 1pt #421b09;
	font-weight: bold;
	font-size: 13px;
	color: #492811;
	margin: 2px;
}

.button {
	font-size: 0.9rem;

}

.button_s {
	font-size: 0.85rem;

}

.buttonC122 {
	background: url("/img/bg_button1.gif");
	height: 23px;
	font-weight: bold;
	color: #333333;
	font-size: 0.85rem;
}

.buttonC12 {
	background: url("/img/bg_button1.gif");
	height: 20px;
	font-weight: bold;
	color: #333333;
	font-size: 0.769rem;
}

.buttonC2 {
	background: url("/img/bg_button2.gif");
	height: 23px;
	font-weight: bold;
	color: #333333;
	font-size: 0.85rem;
}

.comm {
	font-size: 0.846rem;
}

.error {
	font-weight: bold;
	color: darkred;
}

.success {
	font-weight: bold;
}

ul {
	margin: 5px 0 5px 20px;
}

.alt {
	font-size: 0.769rem;
	color: #c1ad69;
	padding: 5px;

}

.req_red {
	color: red;
	font-weight: bold;
}

.table_item {
	background-color: #baa158;
	background-image: url(/img/bg150.jpg);
}

.table_item_over {
	/*	background-color: #6b5e37;*/
	background-image: url(/img/bg150.jpg);
}

.table_item_violet {
	background-image: url(/img/bg150.jpg);
	/*background-color: #baa158;*/
}

.table_item_over_violet {
	/*background-color: #6b5e37;*/
	background-image: url(/img/bg150.jpg);
}

.page_num_selected {
	font-size: 1.23rem;
	color: black;
	background-color: #baa158;
	padding: 2px;
}

a.page_num {
	font-size: 1.077rem;
	padding: 2px;
}

a.page_num:hover {
	color: white !important;
	background-color: darkred;
	padding: 2px;
}

.loc_title {
	color: brown;
	font-weight: bold;
	font-size: 1.15rem;
}


.datetime {
	font-family: 'Courier New', Courier, monospace;
	font-size: 1.1rem;
	font-weight: bold;
	color: darkred;
}

.link_comm a {
	font-size: 0.923rem;
	color: #030a67;
	font-weight: bold;
	cursor: pointer;
	cursor: hand;
}

.link_comm a:hover {
	font-size: 0.923rem;
	text-decoration: underline;
	color: #010da9;
	font-weight: bold;
	cursor: pointer;
	cursor: hand;
}

.comm_user {
	padding-left: 10px;
	padding-top: 5px;
	padding-bottom: 5px;
	border-left: 3px solid darkred;
	border-top: 1px solid gray;
	background-color: #BDB76B;
}

.comm_time {
	color: #000000;
	padding-left: 10px;
	padding-right: 10px;
	font-size: 0.8rem
}

.comm_text {
	padding-left: 20px;
	padding-top: 5px;
	font-size: 0.846rem;
}


div.autocomplete {
	position: absolute;
	width: 400px;
	background-color: #fae5b6;
	border: 1px solid #b39357;
	margin: 0px;
	padding: 0px;
	font-size: 0.769rem;
	z-index: 500;
}

div.autocomplete ul {
	list-style-type: none;
	margin: 0px;
	padding: 0px;
}

div.autocomplete ul li.selected {
	background-color: #ffb;
}

div.autocomplete ul li {
	list-style-type: none;
	display: block;
	margin: 0;
	padding: 2px;
	height: 20px;
	cursor: pointer;
}

#item_slot td > img {
	display: block;
}

#item_slot .item_text {
	line-height: 15px;
	font-size: 0.769rem;
	font-family: Verdana;
	color: #722300;
}

#item_slot .brd_l {
	vertical-align: top;
	background-image: url('/img/slot/border_left_1.png');
	background-position: right;
	background-repeat: repeat-y;
}

#item_slot .t1 {
	font-family: Verdana;
	font-size: 0.692rem;
	color: #722300;
	background-image: url(/img/slot/bg_3.png);
	background-repeat: repeat-y;
}

#item_slot .t1_td {
	background-image: url(/img/slot/bg_top_1.png);
	background-repeat: repeat-y;
}

#item_slot .img_block {
	display: block;
	width: 100%;
	position: relative;
	padding-bottom: 5px;
}

#item_slot .img_block #iSlot {
	position: absolute;
	top: 3px;
	left: 5px;
	z-index: 1;
	transform: scale(0.9);
	transform-origin: top left;
}

@media only screen and (max-width: 767px) {
	#item_slot .img_block #iSlot {
		left: 7px;
		transform: scale(0.7);
	}
}

#item_slot .item_count {
	position: absolute;
	z-index: 102;
	right: 6px;
	bottom: 7px;
	background-image: url(/img/slot/bg_3.png);
	padding: 1px;
	height: 15px;
	font-size: 0.692rem;
	color: darkred;
	font-weight: bold;
}

#item_slot .brd_r {
	vertical-align: top;
	background-image: url('/img/slot/border_right_1.png');
	background-position: left;
	background-repeat: repeat-y;
}

#item_slot .brd_b {
	height: 5px;
	background-image: url('/img/slot/border_bottom_1.png');
}

#item_slot .req_red {
	color: darkred;
	font-weight: bold
}

#item_slot .req_nav {
	display: inline;
	font-style: italic;
	text-decoration: underline;
	cursor: pointer;
	cursor: hand;
}

#item_slot .item_name {
	left: 83px;
	position: absolute;
	width: 212px;
	top: 3px;
	font-family: Verdana;
	font-size: 0.846rem;
	color: #EDD282;
}

#item_slot .t2 {
	border: 0;
	padding: 0;
	border-collapse: collapse;
	height: 85px;
	width: 100%;
	font-family: Verdana;
	font-size: 0.692rem;
	color: #722300 !important;
}

#item_slot .t2 td {
	padding: 1px;
}

#item_slot .t2_center {
	font-family: Verdana;
	font-size: 0.769rem;
	color: #722300;
	font-weight: bold;
	line-height: 14px;
	vertical-align: top;
	text-align: left;
}

#item_slot .t2_right {
	text-align: right;
	vertical-align: top;
	padding-top: 1px;
	padding-right: 5px;
	font-family: Verdana;
	font-size: 0.769rem;
	color: #722300;
}

#item_slot .infl_center {
	padding-left: 5px;
	padding-top: 3px;
	vertical-align: top;
	padding-right: 5px;
}

#item_slot .infl_nav {
	display: inline;
	font-style: italic;
	text-decoration: underline;
	cursor: pointer;
	cursor: hand;
}

#item_slot .t3 {
	border: 0;
	padding: 0;
	border-collapse: collapse;
	width: 100%;
	font-family: Verdana;
	color: #722300;
}

#item_slot .t_bot {
	height: 7px;
	background-image: url('/img/slot/ramka_g_i_bg_2.png');
	background-repeat: repeat-x;
}

#item_slot .money_icon {
	width: 15px;
	height: 12px;
	margin-top: 1px;
}


#iSlot .div1 {
	position: relative;
}

#iSlot .comm_i {
	width: 100%;
	z-index: 2;
	position: absolute;
	top: 0px;
	left: 0px;
}


#iSlot .div1 {
	margin: 5px;
}

#iSlot .slotA {
	aspect-ratio: 11 / 20;
	width: 65px;
}

#iSlot .slotB {
	aspect-ratio: 11 / 14;
	width: 65px;
}

#iSlot .slotC {
	aspect-ratio: 65 / 27;
	width: 72px;
}

#iSlot .slotD {
	aspect-ratio: 1 / 1;
	width: 64px;
}

@media only screen and (max-width: 767px) {
	#iSlot .slotA,
	#iSlot .slotB,
	#iSlot .slotD {
		width: 85px;
	}

	#iSlot .slotC {
		width: 94px;
	}
}

#iSlot .item_container {
	position: relative;
	width: 100%;
	height: 100%;

}

#iSlot .item_container img.item {
	position: absolute;
	top: 0;
	left: 0;
}
#iSlot .item_container img {
	height: 100%;
	width: 100%;
	object-fit: contain;
}

@media only screen and (max-width: 767px) {
	#iSlot .item_container {
		width: 100%;
		height: 100%;
	}
}

#iSlot .ramka_s {
	position: absolute;
	top: -7px;
	left: -6px;
	width: calc(100% + 12px);
}

#iSlot .slotA .ramka_s {
	top: -6px;
}

#iSlot .slotB .ramka_s {
	top: -6px;
	width: calc(100% + 11px);
}

#iSlot .slotC .ramka_s {
	top: -4px;
	left: -4px;
	width: calc(100% + 6px);
}

#iSlot .slotD .ramka_s {
	width: calc(100% + 10px);
}

#iSlot .ramka_s img {
	width: 100%;
	height: auto;
	object-fit: contain;
}

@media only screen and (max-width: 767px) {
	#iSlot .ramka_s {
		top: -10px;
		left: -8px;
		width: calc(100% + 16px);
	}
	
	#iSlot .slotA .ramka_s {
		top: -8px;
		width: calc(100% + 15px);
	}
	
	#iSlot .slotB .ramka_s {
		top: -9px;
		width: calc(100% + 14px);
	}
	
	#iSlot .slotC .ramka_s {
		top: -5px;
		left: -5px;
		width: calc(100% + 7px);
	}
	
	#iSlot .slotD .ramka_s {
		width: calc(100% + 14px);
	}
}

#iSlot .action_buttons {
	opacity: 0.8;
	position: absolute;
	border: 1px solid #5F4C0B;
	z-index: 3;
	top: 10px;
	width: 60px;
	left: calc(50% - 33px);
	display: none;
	background-image: url(/img/slot/bg_3.png);
	padding: 2px;
	text-align: center;
	overflow: hidden;
}

@media only screen and (max-width: 767px) {
	#iSlot .action_buttons {
		top: 22px;
		left: calc(50% - 37px);
		width: 71px;
	}
}

#iSlot .item_count {
	position: absolute;
	z-index: 2;
	right: 5px;
	top: 7px;
	background-image: url(/img/slot/bg_3.png);
	padding: 1px;
	font-size: 0.692rem;
	color: darkred;
	font-weight: bold;
}

#iSlot .infl_div {
	position: absolute;
	z-index: 105;
}

#iSlot .req_div {
	position: absolute;
	z-index: 105;
}

#iSlot .div1 .text {
	line-height: 15px;
	font-size: 0.769rem;
	font-family: Verdana;
	color: #722300;
}


#iSlot .params {
	line-height: 15px;
	font-size: 0.769rem;
	font-family: Verdana;
	color: #722300;
}

#iSlot .primary_act {
	cursor: pointer;
	cursor: hand;
	font-size: 0.846rem;
	font-weight: bold;
}

#iSlot .main_act {
	cursor: pointer;
	font-size: 0.769rem;
	font-weight: bold;
}

#iSlot button.main_act {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
		font-size: 0.769rem;
		color: #130d02;
}

#iSlot .second_act {
	cursor: pointer;
	cursor: hand;
	font-size: 0.769rem;
	margin-top: 3px;
}

@media only screen and (max-width: 767px) {
	#iSlot .primary_act {
		font-size: 18px;
	}
	#iSlot .main_act,
	#iSlot .second_act {
		font-size: 16px;
	}
}

.b1_l {
	background-image: url('/img/slot/buttons/a_button_left_1.png');
	width: 5px;
	height: 19px;
	position: absolute;
	left: -5px;
	top: 0px;
}

.b1_r {
	background-image: url('/img/slot/buttons/a_button_right_1.png');
	width: 5px;
	height: 19px;
	position: absolute;
	right: -5px;
	top: 0px;
}

.b1_m {
	font-family: Verdana;
	font-weight: bold;
	color: #EED68C;
	font-size: 10px;
	text-align: center;
	height: 19px;
	cursor: pointer;
	cursor: hand;
	padding: 1px 5px 6px 5px;
	margin-left: 6px;
	margin-right: 6px;
	position: relative;
	display: inline;
	background-image: url('/img/slot/buttons/a_button_bg.png');
	background-repeat: repeat-x;
}

button.action-btn {
	cursor: pointer;
	display: inline-block;
	padding: 1px 7px 3px;
	margin: 5px 0;
	background: rgb(126, 49, 46);
	background: linear-gradient(180deg, rgba(126, 49, 46, 1) 0%, rgba(75, 13, 9, 1) 100%);

	border-top: 1px solid #3d3227;
	border-left: 1px solid #3d3227;
	border-right: 1px solid #3d3227;
	border-bottom: 1px solid #b9b4ac;
	border-radius: 4px;

	font-family: Verdana;
	font-weight: bold;
	color: #EED68C;
	text-align: center;
}

@media only screen and (max-width: 767px) {
	button.action-btn {
		padding: 2px 10px 5px;
	}
}

button.action-btn:active {
	background: #4f0101;
	transition: background-color 0.3s ease;
	transform: translateY(1px);
}

button.action-btn.secondary {
	/* font-size: 0.9rem; */
	font-size: 12px;
	background: linear-gradient(180deg, rgb(176 160 109) 0%, rgb(61 50 38) 100%);
	color: #eadca3;
}

div.navi {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	background-image: url(/img/interface/block.gif);
	border: 1px solid #c0a762;
	padding: 5px;
	margin-bottom: 10px;
}

.navi a {
	display: inline-block;
	margin: 3px 5px 3px 5px;
	padding: 3px 7px;
	cursor: pointer;
	/* height:17px;  */
	/* margin-right:5px; */
	font-size: 0.846rem;
}

.navi a:hover,
.navi .active {
	display: inline-block;
	background: url(/img/interface/button.gif) repeat-x;
	background-size: contain;
	border: 2px solid #a1824b;
	color: #f3d681;
	padding: 1px 5px;
	text-decoration: none;
	font-weight: bold;
}

@media only screen and (max-width: 767px) {
	.navi a {
		font-size: 16px;
	}
}

.autocomplete-w1 {
	background: url(/img/shadow.png) no-repeat bottom right;
	position: absolute;
	top: 0px;
	left: 0px;
	margin: 6px 0 0 6px;
	/* IE6 fix: */
	_background: none;
	_margin: 1px 0 0 0;
}

.autocomplete {
	border: 1px solid #999;
	background: #FFF;
	color: #000;
	cursor: default;
	text-align: left;
	max-height: 350px;
	overflow: auto;
	margin: -6px 6px 6px -6px;
	/* IE6 specific: */
	_height: 350px;
	_margin: 0;
	_overflow-x: hidden;
}

.autocomplete .selected {
	background: #F0F0F0;
}

.autocomplete div {
	font-size: 0.846rem;
	padding: 2px 5px;
	white-space: nowrap;
	overflow: hidden;
}

.autocomplete strong {
	color: #452e06;
}

.opendialog {
	max-width: 300px;
}

.opendialog .opendialog-top,
.opendialog .opendialog-center,
.opendialog .opendialog-bottom {
	display: flex;
	flex-direction: row;
}

.opendialog .opendialog-top {
	height: 5px;
}

.opendialog .opendialog-bottom {
	height: 5px;
}

.opendialog .cornerleft {
	height: 5px;
	background-image: url('/img/slot/bottom_corner_left.png');
}

.opendialog .cornerright {
	height: 5px;
	background-image: url('/img/slot/bottom_corner_right.png');
}


.opendialog .topcenter {
	flex: 1;
	height: 5px;
	background-image: url('/img/slot/border_bottom_1.png');
}

.opendialog .leftside {
	background-image: url('/img/slot/border_left_1.png');
	background-position: left;
	background-repeat: repeat-y;
	width: 5px;
}

.opendialog .centerside {
	flex: 1;
	background-image: url("/img/slot/bg_3.png");
	padding: 3px;
}

.opendialog .centerside2 {
	flex: 1;
	background-image: url("/img/bg150.png");
	padding: 3px;
}

.opendialog .rightside {
	background-image: url('/img/slot/border_right_1.png');
	background-position: right;
	background-repeat: repeat-y;
	width: 5px;
}

.opendialog .bottomcenter {
	flex: 1;
	height: 5px;
	background-image: url('/img/slot/border_bottom_1.png');
}

.opendialog .title {
	color: #722300;
	font-weight: bold;
}

.opendialog .closebut {
	color: #000;
	font-weight: bold;
	cursor: pointer;
	cursor: hand;
}

.opendialog .content {
	color: #722300;
}

.opendialog .content td {
	color: #722300;
}

#bg_layer {
	display: none;
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: 100;
	background-image: url("/img/msg_box/page_bg.png");
}
