BODY {overflow: hidden;}

	.INTERFACE {background-color: #EEEEEE; background-image: url(/themes/pepper-grinder/images/ui-bg_fine-grain_15_eceadf_60x60.png);}
	.INTERFACE2 {background-color: #EEEEEE; background-image: url(/themes/pepper-grinder/images/ui-bg_fine-grain_15_ffffff_60x60.png);}
	.INTERFACE2 TD {padding: 5px;}
	.INTERFACE2 TH {padding: 0 7px 0 0}
	.INTERFACE2 TD IMG {border: 0px; margin-bottom: -4px !important;}
	
#PLAYERS
{
border: solid 1px #333;
border-collapse: collapse;
}

#PLAYERS td
{
border: solid 1px #666;
}

#ONLINE
{
opacity: 0.5;
}

#ONLINE table
{
width: 49.5%;
margin-bottom: 5px;
border: solid 1px #333;
border-collapse: collapse;
background-color: #EEEEEE;
}

#ONLINE table td
{
border: solid 1px #666;
}

#ONLINE table:nth-child(even)
{
float: left;
}

#ONLINE table:nth-child(odd)
{
float: right;
}

#ONLINE table div
{
width: 160px;
overflow: hidden;
text-overflow: ellipsis;
}
	
.shadow0
{
box-shadow: 3px 3px 3px #333;
-moz-box-shadow: 3px 3px 3px #333;
-webkit-box-shadow: 3px 3px 3px #333;
}

.shadow
{
box-shadow: 5px 5px 5px #333;
-moz-box-shadow: 5px 5px 5px #333;
-webkit-box-shadow: 5px 5px 5px #333;
}

.A.avatar:hover
{
box-shadow: 0px 0px 10px 5px #ffc000;
-moz-box-shadow: 0px 0px 10px 5px #ffc000;
-webkit-box-shadow: 0px 0px 10px 5px #ffc000;
}

.MaybeMyOpponent
{
background-color: #fde3b5;
}

#user
{
background-color: #FFFFFF;
background-image:url("/images/icons/user.gif");
background-repeat:no-repeat;
background-position: 2px top;
padding-left: 20px;
width: 150px;
font-family: Verdana;
font-size: 11px;
}

#password, #add_network_password
{
background-color: #FFFFFF;
background-image:url("/images/icons/password.gif");
background-repeat:no-repeat;
background-position: 2px 1px;
padding-left: 20px;
margin: 0px 0px 10px 0px;
width: 150px;
font-family: Verdana;
font-size: 11px;
}

#user, #login_newb_new, #add_network_user
{
background-color: #FFFFFF;
background-image:url("/images/icons/user.gif");
background-repeat:no-repeat;
background-position: 2px top;
padding-left: 20px;
margin: 0px 0px 5px 0px;
width: 150px;
font-family: Verdana;
font-size: 11px;
}

#ChatText
{
width: 260px;
height: 16px;
padding: 5px;
padding-left: 25px;
background-color: #FFFFFF;
background-image:url("/images/icons/chat.png");
background-repeat:no-repeat;
background-position: 5px 6px;
font-family: Verdana;
font-size: 13px;
}

.button-gray {
background: #F1EFED url(/images/design/button_bg_gray.gif) repeat-x;
}

h1
{
font-family: Verdana;
font-size: 14px;
text-align: center;
font-weight: bold;
}

h2
{
font-family: Verdana;
font-size: 12px;
text-align: center;
font-weight: bold;
}

.dialog-deck-cards-images
{
width: 265px;
height: 370px;
float: right;
text-align: center;
}

.dialog-deck-cards-images IMG
{
max-width: 265px;
max-height: 370px;
}

.dialog-deck .card-link, #show_decklist .card-link:hover
{
text-decoration: underline;
cursor: pointer;
}

.A-text:hover
{
text-decoration: underline;
cursor: pointer;
}

#Chat
{
padding: 7px;
margin-bottom: 10px;
overflow: auto;
font-family: Arial,sans-serif;
font-size: 13px;
line-height: 18px;
color: #000;
}

.chat_0, .chat_3
{
background: #eeeeee;
display: inline-block;
padding: 1px 0 1px 2px;
margin: 2px 0 5px 0;
width: 99%;

box-shadow: 2px 2px 2px #666;
-moz-box-shadow: 2px 2px 2px #666;
-webkit-box-shadow: 2px 2px 2px #666;
}

.chat_0 IMG
{
float: right;
margin: 1px 1px 0 3px;
width: 18px;
height: 18px;
}

.chat_1
{
font-style: italic;
color: #AAA;
font-size: 12px;
}

.chat_2
{
font-style: italic;
color: #C00000;
font-size: 12px;
}

.chat_3
{
background: #C0FFC0;
}

.chat_3 span
{
font-style: italic;
color: #000000;
font-size: 12px;
}

.chat_4
{
font-style: italic;
color: #DBA901;
font-size: 12px;
}

body .Lang_eng .ui-selectmenu-item-icon { background: url("/images/icons/en.gif") 4px 9px no-repeat; }
body .Lang_rus .ui-selectmenu-item-icon { background: url("/images/icons/ru.gif") 4px 9px no-repeat; }

		/*select with custom icons*/
body a.customicons, body a.no-customicons { height: 37px;}
body .customicons li a, body a.customicons span.ui-selectmenu-status {line-height: 30px ; padding-left: 30px !important; }
body .no-customicons li a, body a.no-customicons span.ui-selectmenu-status {line-height: 40px ;}
body .ui-selectmenu-item-icon { height: 30px; width: 21px; }

.CLSO {height: 35px;}

#CatalogLangSelect-menu, #players_deck_show_lang_select-menu
{overflow: hidden;
}

#CatalogLangSelect-button, #players_deck_show_lang_select-button
{
border-radius: 0;
}

#ButtonVolume
{
width: 60px;
height: 35px;
text-align: center;
position: absolute;
top: 47px;
}

#BackgroundSelect
{
width: 60px;
height: 35px;
text-align: center;
position: absolute;
top: 92px;
}

#BossSelect
{
width: 60px;
height: 36px;
text-align: center;
position: absolute;
top: 137px;
}

#UserSelect
{
width: 60px;
height: 36px;
text-align: center;
position: absolute;
top: 183px;
}

#Help
{
width: 60px;
height: 36px;
text-align: center;
position: absolute;
top: 229px;
}

.Units
{
width: 250px;
// height: auto;
min-height: 40px;
text-align: center;
padding-top: 10px;
font-family: Georgia, Verdana, Arial;
font-size: 15px;
font-weight: bold;
}

.U
{
border-radius: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
}

.UUXX
{
border-radius: 5px 5px 0 0;
-moz-border-radius: 5px 5px 0 0;
-webkit-border-radius: 5px 5px 0 0;
}

.XXUU
{
border-radius: 0 0 5px 5px;
-moz-border-radius: 0 0 5px 5px;
-webkit-border-radius: 0 0 5px 5px;
}

.UXXU
{
border-radius: 5px 0 0 5px;
-moz-border-radius: 5px 0 0 5px;
-webkit-border-radius: 5px 0 0 5px;
}

.XUUX
{
border-radius: 0 5px 5px 0;
-moz-border-radius: 0 5px 5px 0;
-webkit-border-radius: 0 5px 5px 0;
}

.precon_menu_deck
{
width: 100px;
height: 100px;
padding: 10px;
background-color: #efefef;
box-shadow: 3px 3px 3px #333;
border-radius: 10px;
position: relative;
}

.precon_menu_deck_selected
{
background-color: #FFDEAD;
}

.selfmade_icon, .selfmade_icon_60
{width: 50px; position: relative; bottom: 35px; left: 0; font-size: 14px; font-weight: bold; color: #FFFFFF;}

.selfmade_icon_60
{font-size: 11px;}

#boss_button_input
{
background-color: #FFFFFF;
background-image:url("/images/icons/url.png");
background-repeat:no-repeat;
background-position: 2px top;
padding: 0 0 1px 23px;
margin-right: 3px;
width: 500px;
height: 16px;
font-family: Verdana;
font-size: 11px;
}

.dialog-deck
{
line-height: 170%;
}

.dialog-deck h3
{
margin: 15px 0 5px 0;
}

.dialog-deck h3:nth-of-type(1)
{
margin-top: 0px;
}

.menu-sets-icons
{
border-radius: 2px;
-moz-border-radius: 2px;
-webkit-border-radius: 2px;

box-shadow: 1px 1px 1px #666;
-moz-box-shadow: 1px 1px 1px #666;
-webkit-box-shadow: 1px 1px 1px #666;

width: 23px;
height: 23px;
margin: -10px 5px 0 0;
}

.menu-rarity-icons
{
border-radius: 1px;
-moz-border-radius: 1px;
-webkit-border-radius: 1px;

box-shadow: 1px 1px 1px #666;
-moz-box-shadow: 1px 1px 1px #666;
-webkit-box-shadow: 1px 1px 1px #666;

width: 15px;
height: 15px;
margin: -5px 5px 0 0;
}

#sealed_variants .menu-sets-icons
{
	margin:0;
}

#sealed_variants div
{
	font-size: 9px;
	font-family: Verdana;
	text-decoration: none;
	font-weight: normal;
	margin-top: 7px;
}

#menu-sealed span
{
	text-decoration: none;
	border-bottom: 1px dashed;
}

.menu-button
{
	z-index: 100;
}

.online_game
{
	width: 30px !important;
    height: 30px !important;
    float: right;
    background-size: 30px 30px;
    font-size: 10px;
    font-weight: bold;
    text-align: center;
    color: #FFFFFF;
    font-family: Verdana;
    line-height: 29px;
}

.dialog-duel-resolution
{
    color: orangered;
    font-size: 12px;
}

#dialog-duel-request-op-deck .selfmade_icon_60, #dialog-duel-request-my-deck .selfmade_icon_60, #dialog-duel-request-op-deck .selfmade_icon, #dialog-duel-request-my-deck .selfmade_icon
{
	margin-top: -4px;
}

.duel1
{
	position: relative;
}

.show_cards
{
	width: 33px;
	height: 23px;
	position: absolute;
	bottom: 0px;
	right: -8px;
	cursor: pointer;
}

.show_cards:hover
{
	zoom: 1.1
}

#players_deck_show_lang_select-button
{
	position: absolute;
	right: 285px;
}

hr.style-one {
    border: 0;
    height: 1px;
    background: #333;
    background-image: -webkit-linear-gradient(left, #ccc, #333, #ccc); 
    background-image:    -moz-linear-gradient(left, #ccc, #333, #ccc); 
    background-image:     -ms-linear-gradient(left, #ccc, #333, #ccc); 
    background-image:      -o-linear-gradient(left, #ccc, #333, #ccc);
	margin: 15px 0 15px 0;
}

#Sound_Volume_Slider {height:20px; width: 160px; opacity: 0.9; z-index: 9999999;}
#Sound_Volume_Slider .ui-slider-range {background: #666666;}
#Sound_Volume_Slider .ui-slider-handle {border-color: #666666;}
#Sound_Volume_Slider_Handle {width: 26px; height: 26px;}

#Avatar_Rotate_Button_Left, #Avatar_Rotate_Button_Right
{
width: 30px;
height:	30px;
margin: 35px 5px 0 5px;
}

#Avatar_Rotate_Button_Right
{
	transform: rotateY(180deg);
}

.players_lobby_info
{
	width: 100%;
	text-align: right;
	color: blue;
	font-size: 10px;
	margin-bottom: -2px;
}

.ulogin-buttons-container div
{
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  -ms-filter: grayscale(100%);
  -o-filter: grayscale(100%);
  filter: grayscale(100%);
}
  
.ulogin-buttons-container div:hover
{
  -webkit-filter: grayscale(0%);
  -moz-filter: grayscale(0%);
  -ms-filter: grayscale(0%);
  -o-filter: grayscale(0%);
  filter: grayscale(0%);
}