html, body {
	padding: 0;
	margin: 0;
	height: 100%;
}

#top_border_1 {
	width: 100%;
	height: 4px;
	background: url(../images/top_frameborder_1.png) top left repeat-x;	
	position: fixed;
	top: 0;
	left: 0;
}

*HTML #top_border_1 {
	position: absolute;
}

#top_border_2 {
	width: 4px;
	height: 100%;
	background: url(../images/top_frameborder_2.png) top right repeat-y;
	position: fixed;
	top: 0;
	right: 0;
}

*HTML #top_border_2 {
	position: absolute;
}


#top_border_4 {
	width: 4px;
	height: 100%;
	background: url(../images/top_frameborder_4.png) top left repeat-y;	
	position: fixed;
	top: 0;
	left: 0;
}

*HTML #top_border_4 {
	position: absolute;
}

#top_corner_1 {
	width: 78px;
	height: 37px;
	background: url(../images/top_corner_1.png) top left no-repeat;
	position: fixed;
	top: 0px;
	left: 0px;
}

*HTML #top_corner_1 {
	position: absolute;
}

#top_corner_2 {
	width: 79px;
	height: 37px;
	background-image: url(../images/top_corner_2.png);
	position: fixed;
	top: 0px;
	right: 0;
}

*HTML #top_corner_2 {
	position: absolute;
}

#top_corner_3 {
	width: 259px;
	height: 73px;
	background-image: url(../images/top_corner_3.png);
	position: fixed;
	bottom: 0;
	right: 0;
}

*HTML #top_corner_3 {
	position: absolute;
	bottom: -1px;
}

#top_corner_4 {
	width: 259px;
	height: 73px;
	background-image: url(../images/top_corner_4.png);
	position: fixed;
	bottom: 0;
	left: 0;
}

*HTML #top_corner_4 {
	position: absolute;
	bottom: -1px;
}


table.butt2 td.butt2_left {
    height: 30px;
	width: 15px;
	font-size: 9px;
	font-weight: bold;
	text-decoration: none;
	background: url('../images/but2-c-left.gif') right top no-repeat;
	padding: 0;
	margin: 0;
}

table.butt2 td.butt2_right {
	height: 30px;
	width: 15px;
	font-size: 9px;
	font-weight: bold;
	text-decoration: none;
	background: url('../images/but2-c-right.gif') left top no-repeat;
	padding: 0;
	margin: 0;
}

table.butt2 td input, table.butt2 td button {
	height: 30px;
	color: #2D1600;
	border: #000 0px;
	font-family: Tahoma; 
	font-size: 9px;
	font-weight: bold;
	text-decoration: none;
	background: url('../images/but2-c-mid.gif') left top repeat-x;
	padding: 0;
	margin: 0;
	cursor:hand;
}
* HTML table.butt2 td input, * HTML table.butt2 td button {
	height: 30px;
	color: #2D1600;
	border: #000 0px;
	font-family: Tahoma; 
	font-size: 9px;
	font-weight: bold;
	text-decoration: none;
	background: url('../images/but2-c-mid.gif') left top repeat-x;
	padding: 0;
	margin: 0px 0 0 0;
	cursor:pointer;
}


table.butt3 td.butt3_left {
    height: 30px;
	width: 15px;
	font-size: 9px;
	font-weight: bold;
	text-decoration: none;
	background: url('../images/but2-r-left.gif') right top no-repeat;
	padding: 0;
	margin: 0;
}

table.butt3 td.butt3_right {
	height: 30px;
	width: 15px;
	font-size: 9px;
	font-weight: bold;
	text-decoration: none;
	background: url('../images/but2-r-right.gif') left top no-repeat;
	padding: 0;
	margin: 0;
}

table.butt3 td input, table.butt3 td button {
	height: 30px;
	color: #C3E9FF;
	border: #000 0px;
	font-family: Tahoma; 
	font-size: 9px;
	font-weight: bold;
	text-decoration: none;
	background: url('../images/but2-r-mid.gif') left top repeat-x;
	padding: 0;
	margin: 0;
}
* HTML table.butt3 td input, * HTML table.butt3 td button {
	height: 30px;
	color: #C3E9FF;
	border: #000 0px;
	font-family: Tahoma; 
	font-size: 9px;
	font-weight: bold;
	text-decoration: none;
	background: url('../images/but2-r-mid.gif') left top repeat-x;
	padding: 0;
	margin: 0px 0 0 0;
}

table.butt4 td.butt4_left {
    height: 30px;
	width: 15px;
	font-size: 9px;
	font-weight: bold;
	text-decoration: none;
	background: url('../images/but2-g-left.gif') right top no-repeat;
	padding: 0;
	margin: 0;
}

table.butt4 td.butt4_right {
	height: 30px;
	width: 15px;
	font-size: 9px;
	font-weight: bold;
	text-decoration: none;
	background: url('../images/but2-g-right.gif') left top no-repeat;
	padding: 0;
	margin: 0;
}

table.butt4 td input, table.butt4 td button {
	height: 30px;
	color: #C3E9FF;
	border: #000 0px;
	font-family: Tahoma; 
	font-size: 9px;
	font-weight: bold;
	text-decoration: none;
	background: url('../images/but2-g-mid.gif') left top repeat-x;
	padding: 0;
	margin: 0;
}
			
* HTML table.butt4 td input, * HTML table.butt4 td button {
	height: 30px;
	color: #C3E9FF;
	border: #000 0px;
	font-family: Tahoma; 
	font-size: 9px;
	font-weight: bold;
	text-decoration: none;
	background: url('../images/but2-g-mid.gif') left top repeat-x;
	padding: 0;
	margin: 0px 0 0 0;
}
			
											
table.butt_small td.butt_small_left {
    height: 24px;
	width: 8px;
	font-size: 9px;
	font-weight: bold;
	text-decoration: none;
	background: url('../images/but_small_left.gif') right top no-repeat;
	padding: 0;
	margin: 0;
}

table.butt_small td.butt_small_right {
	height: 24px;
	width: 8px;
	font-size: 9px;
	font-weight: bold;
	text-decoration: none;
	background: url('../images/but_small_right.gif') left top no-repeat;
	padding: 0;
	margin: 0;
}

table.butt_small td input, table.butt_small td button {
	height: 24px;
	color: #FEFEFE;
	border: #000 0px;
	font-family: Tahoma; 
	font-size: 9px;
	font-weight: bold;
	text-decoration: none;
	background: url('../images/but_small_center.gif') left top repeat-x;
	padding: 0;
	margin: 0;
}
			
* HTML table.butt_small td input, * HTML table.butt_small td button {
	height: 24px;
	color: #FEFEFE;
	border: #000 0px;
	font-family: Tahoma; 
	font-size: 9px;
	font-weight: bold;
	text-decoration: none;
	background: url('../images/but_small_center.gif') left top repeat-x;
	padding: 0;
	margin: 0px 0 0 0;
}

.ahref_basket A:link {font-weight:bold; font-size:11px; text-decoration: underline;color:#610000;}
.ahref_basket A:visited {font-weight:bold; font-size:11px; text-decoration: underline;color: #610000;}
.ahref_basket A:active {font-weight:bold; font-size:11px; text-decoration: underline;color: #610000;}
.ahref_basket A:hover {font-weight:bold; font-size:11px; text-decoration: underline; color: red;}

.f9px {font-size:9px}
.f11px {font-size:11px}
.f12px {font-size:12px}
.f14px {font-size:14px}
.b {font-weight:bold}

*HTML .ahref_basket A:link {font-weight:bold; font-size:11px; text-decoration: underline;color:#610000;}
*HTML .ahref_basket A:visited {font-weight:bold; font-size:11px; text-decoration: underline;color: #610000;}
*HTML .ahref_basket A:active {font-weight:bold; font-size:11px; text-decoration: underline;color: #610000;}
*HTML .ahref_basket A:hover {font-weight:bold; font-size:11px; text-decoration: underline; color: red;}

*HTML .b {font-weight:bold}
*HTML .f11px {font-size:11px}
*HTML .f12px {font-size:12px}


/*
 * Modal window
 */

/* Z-index of #mask must lower than #boxes .window */
#modal-window-mask {
  position:fixed;
  z-index:9000;
  background-color:#000;
  display: none;
  top: 0;
  left: 0;
}

* HTML #modal-window-mask {
  position:absolute;
}

#modal-window-content {
  position:fixed;
  visibility: hidden;
  z-index:9999;
}

* HTML #modal-window-content {
  position:absolute;
}

.modal-img {
    cursor: pointer;
}

/*
 * Standart content window
 */
  
 .win {
	text-align: center;
	margin: 0 auto;
 }
 
 .win_text {
	background: url(../images/content_frame_bg.png) repeat;
	margin: 0;
 }
 
 
.win_h {
    margin: 0 auto;
	text-align: center;	
	position:relative;
	top: 15px;
	padding: 0;
}


.win_hl {
	width: 11px;
	height:24px;
	background: url('../images/cmenu_item_left.png') right top no-repeat;
}

.win_hr {
	width: 11px;
	height:24px;
	background: url('../images/cmenu_item_right.png') left top no-repeat;
}

.win_ht {
	height:24px;
	background: url(../images/cmenu_item_bg.png) repeat-x top;
	color: #1b0606;
	font-weight: bold;
	font-size:12px;
	padding: 0;
}


.win_c1 {
	width: 46px;
	height: 26px;
	background: url(../images/content_corner_1.png) right bottom no-repeat;
	padding: 0;
	margin: 0;
}

.win_s1 {
	height: 26px;
	background: url(../images/content_frame_bg_1.png) repeat-x bottom;
	margin: 0 46px;
}

.win_c2 {
	width: 46px;
	height: 26px;
	background: url(../images/content_corner_2.png) left bottom no-repeat;
	padding: 0;
	margin: 0;
}

.win_s2 {
	background: url(../images/content_frame_bg_2.png) repeat-y left;
	text-align: center;
}

.win_c3 {
	width: 46px;
	height: 26px;
	background: url(../images/content_corner_3.png) left top no-repeat;
	padding: 0;
	margin: 0;
}

.win_s3 {
	height: 26px;
	background: url(../images/content_frame_bg_3.png) repeat-x top;
	margin: 0 46px;
}

.win_c4 {
	height: 26px;
	background: url(../images/content_corner_4.png) right top no-repeat;
	padding: 0;
	margin: 0;
}

.win_s4 {
	/*width: 100%;*/
	background: url(../images/content_frame_bg_4.png) repeat-y right;
}

.win_button {
	text-align: center;
	margin: 0 auto;
	padding: 0;
}

.win_button .but_sl {
	width: 43px;
	height: 40px;
	background: url(../images/menu_border_left.png) left top no-repeat;
}

.win_button .but_sr {
	width: 43px;
	height: 40px;
	background: url(../images/menu_border_right.png) right top no-repeat;
}

.win_button .but_l {
	width: 20px;
	height: 40px;
	background: url(../images/menu_selected_left.png) left top no-repeat;
}

.win_button .but_r {
	width: 20px;
	height: 40px;
	background: url(../images/menu_selected_right.png) right top no-repeat;
}

.win_button .but_text {
	cursor: pointer;
	background: url(../images/menu_selected_bg.png) repeat-x top left;
	padding: 14px;
	color: #fff;
	text-decoration: none;
	font-size: 14px;
	font-weight: bold;
}
.aa-lt {
	background: url(/images/frame_lt.gif);
	width:9px;
	height:9px;
}
.aa-l {
	background: url(/images/frame_l.gif) repeat-y;
	width:9px;
}
.aa-r {
	background: url(/images/frame_r.gif) repeat-y;
	width:9px;
}
.aa-rt {
	background: url(/images/frame_rt.gif) repeat-y;
	width:9px;
	height:9px;
}
.aa-t {
	background: url(/images/frame_t.gif) repeat-x;
	height:9px;
}
.aa-b {
	background: url(/images/frame_b.gif) repeat-x;
	height:9px;
}
.aa-br {
	background: url(/images/frame_rb.gif);
	width:9px;
	height:9px;
}
.aa-bl {
	background: url(/images/frame_lb.gif);
	width:9px;
	height:9px;
}

table.payways{
	padding-left:2px;
	padding-right:2px;
	margin-top:1px;
	cursor: pointer;
}

table.payways div{
	padding:1px;
}

table.payways div.choosen{
	padding:1px;
	background: url("../images/bank/choosed.gif");
}

table.payways div img,img.payway{
	border:1px solid #c4dff0;


table.payways div span{
	display:block;
	border:1px solid white;
}

.exchange_bottom{
	background: url(../images/exchange_bottom.jpg) repeat-x bottom;
	background-position: bottom;
}

.exchange_top{
	background: url(../images/exchange_top.jpg) repeat-x top;
	background-position: bottom;
}

.exchange_left{
	background: url(../images/exchange_left.jpg) repeat-y left;
}

.exchange_right{
	background: url(../images/exchange_right.jpg) repeat-y right;
}

.exchange_main{
	background: url(../images/bank/exchange_background.png) repeat;
}

.bacground_edit{
	background: url(../images/bank/exchange_input_bg.gif) no-repeat;
	width: 45px;
	height: 25px;
}

input {
	background: url(../images/bank/input_bg.gif) repeat-x top #9f9f82;
	border: 1px #3a3a3a solid;
}

input.battle_name{
	background: url(../images/bank/empty.gif);
	width: 161px;
	height: 21px;
	border: none;
	line-height:normal;
}
