#wg_header {
	font-family: Verdana, Helvetica, sans-serif;
	background-color: #2c2c2c;
	border-top: 1px solid #555;
	height: 3px;
	vertical-align: middle;
	width: 100%;
	left: 0;
	bottom:0;
	position:fixed;
	z-index: 257;
}

#wg_header.fixfixed {
	display: none;
	position: absolute;
}

.right {
	float: right;
}

.left {
	float: left;
}

.wg_friend_chat_button div, .wg_friend_chat_button span,
#wg_friend_list div, #wg_friend_list span
{
	font-family: Verdana, Helvetica, sans-serif;
}

#wg_header img {
	vertical-align: middle;
}

#wg_game_links a, #wg_login a {
	color: white;
	font-size: 12px;
	line-height: 30px;
	text-decoration: none;
}

#wg_game_links img {
	margin: 15px 22px;
}

#wg_header .wg_logo {
	display: block;
	float: left;
	line-height: 0px;
	padding: 2px;
	background-color:#888;
	background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #888), color-stop(1, #666) );
	background: -moz-linear-gradient( center top, #888 5%, #666 100% );
	background: linear-gradient( center top, #888 5%, #666 100% );
	cursor: pointer;
	border:1px solid #999;
}

#wg_login {
	color: #888;
	display: inline-block;
	font-family: Helvetica, Verdana, sans-serif;
	font-size: 11px;
	line-height: 30px;
	float: right;
	padding-left: 5px;
	text-align: right;
	border-left: 1px solid #555;
	width: 410px;
}

#wg_login.logged_out {
	width: 270px;
}

#wg_login input[type="text"], #wg_login input[type="password"]  {
	background-color: #666;
	border: 1px solid #888;
	color: #DDD;
	float: none;
	padding: 1px;
	margin: 0;
	font-size: 10px;
	height: 14px;
	box-shadow: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
	width: 60px;
}

.wg_user {
	float: left;
	display: block;
	max-width: 90px;
	overflow: hidden;
	white-space: nowrap;
}

#wg_header .wg_amount {
	font-size: 14px;
	font-weight: bold;
	line-height: 30px;
	margin-right: 3px;
}

#wg_flex_icn {
	position: relative;
	top: -3px;
}

#wg_bar_minimize {
	background: #333;
	border-left: 1px solid #444;
	border-right: 1px solid #444;
	float: left;
	text-align: center;
	margin-left: 10px;
	width: 15px;
	font-size: 8px;
	color: #EEE;
	cursor: pointer;
	height: 100%;
}

#wg_bar_minimize:hover {
	background-color: #666;
}

#wg_bar_maximize {
	position: absolute;
	left: 0;
	bottom: 3px;
	font-size: 8px;
	padding: 3px;
	line-height: 7px;
	text-align: center;
	background-color: #222;
	color: #EEE;
	width: 17px;
	height: 14px;
	cursor: pointer;
	border-radius: 3px 3px 0 0;
}

#wg_bar_maximize:hover {
	background-color: #666;
}

.wg_max, .wg_min {
	margin: 11px auto;
	height: 10px;
	width: 10px;
	background: url('/images/wg_min_max.png');
}

.wg_max {
	background-position: 0 -14px;
	margin-top: 3px;
}

/* button */

#wg_header .wgButton, #wgFlexAgree .wgButton, #wg_login_window .wgButton, #wg_pm_window .wgButton, #wg_redeem_window .wgButton {
	background-color:#888;
	background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #888), color-stop(1, #666) );
	background: -moz-linear-gradient( center top, #888 5%, #666 100% );
	background: linear-gradient( center top, #888 5%, #666 100% );
	border:1px solid #999;
	display:inline-block;
	color:#111;
	font-family: arial;
	font-size:10px;
	font-weight:bold;
	line-height: 14px;
	height: 14px;
	margin: 6px;
	padding: 1px 8px;
	text-decoration:none;
	text-shadow:1px 1px 0px #999;
	cursor: pointer;
	vertical-align: middle;
}

#wg_header .wgButton:hover, #wgFlexAgree .wgButton:hover, #wg_login_window .wgButton:hover, #wg_redeem_window .wgButton:hover {
	background-color:#999;
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #999), color-stop(1, #777) );
	background:-moz-linear-gradient( center top, #999 5%, #777 100% );
	background: linear-gradient(center top, #999 5%, #777 100%);
}

#wg_login input[type="submit"] {
	position: relative;
	top: -1px;
	height: 18px;
}

#wg_game_links {
	width: 220px;
	height: 365px;
	bottom: 30px;
	left: 0px;
	z-index: 1;
}

#wg_header h1 {
	width: 98%;
	height: 18px;
	font-size: 12px;
	line-height: 17px;
	background: -webkit-linear-gradient(top, #555 0%, #2c2c2c 50%);
	background: linear-gradient(top, #555 0%, #2c2c2c 50%);
	font-weight: normal;
	padding-left: 2%;
	margin-bottom: 2px;
	text-align: left;
	color: #AAA;
}

#wg_header h1 a {
	color #AAA;
	font-size: 12px;
	line-height: 17px;
	text-decoration: none;
}

#wg_header h1 a:hover {
	text-decoration: underline;
}

.wg_popup {
	background-color: #2c2c2c;
	border: 1px solid #555;
	box-shadow: 0 0 0 1px #000;
	position: absolute;
	cursor: default;
	text-align: left;
	font-size: 10px;
	line-height: 10px;
	color: #AAA;
	font-weight: normal;
	overflow: hidden;	
}

.wg_popup a {
	font-size: 10px;
	line-height: 10px;
	color: #AAA;
	text-decoration: underline;
}

.wg_popup_close {
	position: absolute;
	top: 2px;
	right: 2px;
	width: 10px;
	height: 12px;
	font-size: 12px;
	line-height: 12px;
	font-family: arial;
	cursor: pointer;
}

/*
 * PM popup
 */

#wg_pm_window {
	position: fixed;
	width: 70%;
	height: 70%;
	top: 15%;
	left: 15%;
	background-color: #222;
	border: 3px solid #888;
	box-shadow: 0 0 0 1px #555;
	border-radius: 8px;	
	z-index: 10001;
}

#wg_pm {
	width: 98.5%;
	margin-left: 1%;
	margin-right: 1%;
	height: 100%;
}

#wg_pm tr td {
	border: 0;
}

.wg_pm_field {
	height: 40px;
	line-height: 40px;
	padding-top: 5px;
	padding-bottom: 5px;
}

.wg_pm_buttons {
	height: 32px;
}

.wg_pm_label {
	color: #EEE;
	font-weight: bold;
	width: 10%;
}

#wg_pm input {
	width: 98%;
	padding-left: .5%;
	padding-right: .5%;
}

#wg_pm textarea {
	width: 99%;
	height: 100%;
}

/*
 * Login popup
 */

#wg_login_window {
	width: 310px;
	min-width: 120px;
	position: fixed;
	top: 20%;
	left: 50%;
	margin-left: -188px;
  	z-index: 10001;
	background-color: #222;
	border: 3px solid #888;
	box-shadow: 0 0 0 1px #555;
	border-radius: 8px;	
	padding: 10px;
	color: #EEE;
}

#wg_login_window p {
	text-align: center;
}

#wg_login_window label {
	margin-top: 10px;
}

#wg_login_window input {
	width: 95%;
}

.wg_login_window_buttons {
	margin-top: 10px;
}

.wg_lightbox_overlay {
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background-color: rgba(0,0,0,.9);
	z-index: 10000;
}

/*
 * Flex Points related
 */

#wg_flex_purchase_window {
	width: 100%;
	position: absolute;
	top: 0;
}

#wg_flex_purchase_window .flex {
	background: green;
	color: white;
	font: bold 1.3em/1.2em 'Russo One', Verdana, Helvetica, sans-serif;
	padding: 10px;
	text-align: center;
	-moz-border-radius: 9px;
	-webkit-border-radius: 9px;
	border-radius: 9px;
}

#wg_flex_purchase_window .flex img {
	position: relative;
	top: -2px;
}

#wg_flex_purchase_window_content {
	width: 480px;
	position: absolute;
	top: 100px;
	left: 50%;
	margin-left: -245px;
	z-index: 10001;
	background-color: #2c2c2c;
	color: white;
	border: 2px solid #EEE;
	border-radius: 5px 5px 5px 5px;
	padding: 10px;
	text-align: center;
	font-size: 16px;
}

.wg_flex_close {
	position: absolute;
	top: -10px;
	right: -10px;
	width: 18px;
	height: 18px;
	font-size: 16px;
	line-height: 18px;
	font-weight: bold;
	cursor: pointer;
	border: 2px solid #151515;
	border-radius: 3px;
	color: #555;
	background-color: #EEE;
	text-align: center;
	box-shadow: 0 0 0 1px #555;
}

.wg_flex_close:hover {
	border: 2px solid #303030;
	color: #777;
	box-shadow: 0 0 0 2px #777;
}

.cc_logos {
	border: 1px solid black;
	margin-top: 10px;
}

#wg_flex_purchase_window_content h1 {
	margin-bottom: 10px;
	font-size: 20px;
	font-weight: bold;
	color: #ffd401;
}

#wg_flex_purchase_window_content p {
	padding-left: 20px;
	padding-right: 20px;
	margin-top: 10px;
	margin-bottom: 10px;
}

#wg_flex_packages {
	width: 420px;
	padding: 10px;
	padding-bottom: 20px;
	margin-left: 20px;
	background-color: #151515;
	border: 1px solid #555;
}

#wg_flex_packages h2 {
	font-size: 18px;
	color: #EEE;
	font-weight: bold;
	margin-bottom: 10px;
}

#wg_flex_packages table {
	width: 420px;
	margin-bottom: 10px;
}

#wg_flex_packages table tr td {
	padding-top: 3px;
	padding-bottom: 3px;
	cursor: pointer;
	font-size: 14px;
	border: 0;
}

.wg_flex_package_points {
	color: #ffd401;
	font-weight: bold;
}

.wg_flex_package_discount {
	font-size: 10px;
	color: #757575;
	font-style: italic;
	margin-left: 10px;
	visibility: hidden;
}

#wg_flex_packages table tr:hover td {
	background-color: #1C1C1C;
	color: white;
}

#wg_flex_packages table tr:hover td .wg_flex_package_discount {
	visibility: visible;
}

#wg_flex_packages table tr.wg_striped td {
	background-color: #2c2c2c;
}

#wg_flex_packages table tr.wg_striped:hover td {
	background-color: #3c3c3c;
}

#wg_flex_packages table tr.wg_flex_package_selected td {
	background-color: #202B5E;
}

#wg_flex_packages table tr.wg_flex_package_selected td .wg_flex_package_discount {
	visibility: visible;
}

#wg_flex_packages input[type="radio"] {
  margin-top: -1px;
  vertical-align: middle;
  width: 14px;
  height: 14px;
}

#wg_flex_terms {
	width: 420px;
	height: 200px;
	overflow-x: hidden;
	overflow-y: scroll;
	padding: 10px;
	margin-left: 20px;
	background-color: #EEE;
	color: #151515;
	border: 1px solid #555;
	font-size: 12px;
}

.wg_flex_confirm_text {
	font-size: 14px;
	margin-bottom: 20px;
}

#wgFlexAgree button {
	font-size: 16px;
	margin-bottom: 10px;
}

/*
 * Yahoo conversion window
 */

#wg_yahoo_window {
	width: 100%;
	position: absolute;
	top: 0;
}

#wg_yahoo_window_content {
	width: 500px;
	position: absolute;
	top: 250px;
	left: 50%;
	margin-left: -255px;
	z-index: 10001;
	background-color: #2c2c2c;
	color: white;
	border: 2px solid #EEE;
	border-radius: 5px 5px 5px 5px;
	padding: 10px;
	text-align: center;
	font-size: 16px;
}

#wg_yahoo_window_content h1 {
	margin-bottom: 10px;
	font-size: 20px;
	font-weight: bold;
	color: #ffd401;
}

#wg_yahoo_window_content p {
	padding-left: 20px;
	padding-right: 20px;
	margin-bottom: 10px;
}

#wg_yahoo_container {
	width: 440px;
	padding: 10px;
	padding-bottom: 20px;
	margin-left: 20px;
	background-color: #151515;
	border: 1px solid #555;
}

#wg_yahoo_container input {
	width: 420px;
	margin-top: 3px;
	margin-bottom: 3px;
}

/*
 * Facebook thank you window
 */

#wg_fb_thanks_window {
	width: 100%;
	position: absolute;
	top: 0;
}

#wg_fb_thanks_window_content {
	width: 300px;
	position: absolute;
	top: 250px;
	left: 50%;
	margin-left: -155px;
	z-index: 10001;
	background-color: #2c2c2c;
	color: white;
	border: 2px solid #EEE;
	border-radius: 5px 5px 5px 5px;
	padding: 10px;
	text-align: center;
	font-size: 16px;
}

#wg_fb_thanks_window_content h1 {
	margin-bottom: 10px;
	font-size: 20px;
	font-weight: bold;
	color: #ffd401;
}

#wg_fb_thanks_window_content p {
	padding-left: 20px;
	padding-right: 20px;
	margin-bottom: 10px;
}

/*
 * Redeem window
 */

#wg_redeem_window {
	width: 100%;
	position: absolute;
	top: 0;
}

#wg_redeem_window_content {
	width: 400px;
	position: absolute;
	top: 250px;
	left: 50%;
	margin-left: -205px;
	z-index: 10001;
	background-color: #2c2c2c;
	color: white;
	border: 2px solid #EEE;
	border-radius: 5px 5px 5px 5px;
	padding: 10px;
	text-align: center;
	font-size: 16px;
}

#wg_redeem_window_content h1 {
	margin-bottom: 10px;
	font-size: 20px;
	font-weight: bold;
	color: #ffd401;
}

#wg_redeem_window_content a {
	color: white;
	text-decoration: underline;
}

#wg_redeem_window_content p {
	padding-left: 20px;
	padding-right: 20px;
	margin-bottom: 10px;
}

#wg_redeem_container {
	width: 340px;
	padding: 10px;
	padding-bottom: 20px;
	margin-left: 20px;
	background-color: #151515;
	border: 1px solid #555;
}

#wg_redeem_wait {
	font-size: 16px;
	padding: 2px 5%;
	margin-top: 3px;
	margin-bottom: 2px;
}

#wg_redeem_locked {
	font-size: 16px;
	padding: 2px 5%;
	margin-top: 3px;
	margin-bottom: 2px;
	color: #FF4040;
}

#wg_promo_code {
	width: 310px;
	margin-left: 0;
	margin-top: 10px;
	margin-bottom: 20px;
	padding: 5px;
	text-align: center;
	font-size: 24px;
	font-weight: bold;
}

#wg_redeem_window_success {
	width: 310px;
	height: 20px;
	margin-bottom: 10px;
	margin-left: 3px;
	z-index: 10002;
	background-color: #2c2c2c;
	color: #17FF26;
	border: 2px solid #17FF26;
	border-radius: 5px 5px 5px 5px;
	padding: 10px;
	text-align: center;
	font-size: 20px;
	font-weight: bold;
	overflow: hidden;
}

#wg_redeem_button, #wg_redeem_button_close, #wg_flex_purchase_button, #wg_yahoo_button, #wg_yahoo_button_close {
	-moz-box-shadow:inset 0 1px 0 0 #ffffff;
	-webkit-box-shadow:inset 0 1px 0 0 #ffffff;
	box-shadow:inset 0 1px 0 0 #ffd552;
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ffd401), color-stop(1, #d8a301) );
	background:-moz-linear-gradient( center top, #ffd401 5%, #d8a301 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd401', endColorstr='#d8a301');
	background-color:#f2b701;
	-moz-border-radius:6px;
	-webkit-border-radius:6px;
	border-radius:6px;
	border:1px solid #e1b52c;
	display:block;
	color:#6e5300;
	font-family: Verdana, Helvetica, sans-serif;
	font-size:14px;
	font-weight:bold;
	line-height: 25px;
	padding:2px 5%;
	margin: 0 auto 0 auto;
	text-align: center;
	text-decoration:none;
	text-shadow:1px 1px 0 #ffcd32;
	cursor: pointer;
	width: 50%;
    -webkit-user-select: none; /* webkit (safari, chrome) browsers */
    -moz-user-select: none; /* mozilla browsers */
    -khtml-user-select: none; /* webkit (konqueror) browsers */
    -ms-user-select: none; /* IE10+ */
    user-select: none;	
	-webkit-touch-callout: none;
}

#wg_redeem_button:hover, #wg_redeem_button_close:hover, #wg_flex_purchase_button:hover, #wg_yahoo_button:hover, #wg_yahoo_button_close:hover {
	color:#694f00;
	-moz-box-shadow:inset 0 0 0 0 #ffcd32;
	-webkit-box-shadow:inset 0 0 0 0 #ffcd32;
	box-shadow:inset 0 0 0 0 #ffcd32;
	background: #ffdb4f; /* Old browsers */
	background: -moz-linear-gradient(top, #ffdb4f 0%, #edae02 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffdb4f), color-stop(100%,#edae02)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #ffdb4f 0%,#edae02 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #ffdb4f 0%,#edae02 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #ffdb4f 0%,#edae02 100%); /* IE10+ */
	background: linear-gradient(to bottom, #ffdb4f 0%,#edae02 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffdb4f', endColorstr='#edae02',GradientType=0 ); /* IE6-9 */

    -webkit-user-select: none; /* webkit (safari, chrome) browsers */
    -moz-user-select: none; /* mozilla browsers */
    -khtml-user-select: none; /* webkit (konqueror) browsers */
    -ms-user-select: none; /* IE10+ */
    user-select: none;
	-webkit-touch-callout: none;
}
#wg_redeem_button:active, #wg_redeem_button_close:active, #wg_flex_purchase_button:active, #wg_yahoo_button:active, #wg_yahoo_button_close:active {
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #dfb901), color-stop(1, #d29f01) );
	background:-moz-linear-gradient( center top, #dfb901 5%, #d29f01 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#dfb901', endColorstr='#d29f01');
	background-color: #cecece;

    -webkit-user-select: none; /* webkit (safari, chrome) browsers */
    -moz-user-select: none; /* mozilla browsers */
    -khtml-user-select: none; /* webkit (konqueror) browsers */
    -ms-user-select: none; /* IE10+ */
    user-select: none;
	-webkit-touch-callout: none;
}

#wg_yahoo_button {
	margin-top: 10px;
}


/* Premium popup */

#premium_window {
	width: 100%;
	position: absolute;
	top: 0;
}

#premium_window_content {
	width: 400px;
	position: absolute;
	top: 200px;
	left: 50%;
	margin-left: -205px;
	z-index: 10001;
	background-color: #2c2c2c;
	color: white;
	border: 2px solid #EEE;
	border-radius: 5px 5px 5px 5px;
	padding: 10px;
	text-align: center;
	font-size: 16px;
}

#premium_window_content h1 {
	margin-bottom: 10px;
	font-size: 20px;
	font-weight: bold;
	color: #ffd401;
}

#premium_window_content p {
	padding-left: 20px;
	padding-right: 20px;
	margin-bottom: 10px;
}

#premium_window_content ul {
	width: 340px;
	padding: 10px;
	margin-left: 20px;
	margin-top: 10px;
	margin-bottom: 10px;
	background-color: #151515;
	border: 1px solid #555;
	text-align: left;
	font-size: 12px;
	list-style-type: square;
}

#premium_window_content ul li {
	margin-left: 20px;
}


/*
 * Friends list
 */

#wg_browser_support {
	float: right;
	height: 30px;
	line-height: 30px;
	color: white;
	margin-right: 5px;
}

#wg_friends {
	height: 30px;
	padding-left: 4px;
	padding-right: 13px;
	border-left: 1px solid #555;
	border-right: 1px solid #151515;
	text-align: center;
	line-height: 30px;
	float: right;
	cursor: pointer;
	position: relative;
}

#wg_friends:hover {
	background-color: #333333;
}

#wg_friend_count {
	position: absolute;
	top: 5px;
	right: 5px;
	background-color: black;
	border: 1px solid #FFF;
	line-height: 12px;
	height: 12px;
	width: 12px;
	font-family: arial, Helvetica, Verdana, sans-serif;
	font-size: 10px;
	border-radius: 50%;
	color: #FFF;
	box-shadow: 0 0 0 1px #2c2c2c;
	text-align: center;
}

#wg_friend_count.wg_friend_pending {
	color: #FFFF00;
	font-weight: bold;
	border-color: #FFFF00;
}

#wg_friend_count.wg_friend_online {
	color: #00FF00;
}

#wg_friend_list {
	width: 220px;
	height: 300px;
	bottom: 30px;
	left: 0px;
	z-index: 1;
}

#wg_friend_list .avatar_tiny {
	width: 40px;
	height: 40px;
	border: 1px solid #EEE;
}

#wg_game_links {
	bottom: 30px;
	left: 0;
}

#wg_my_chat_status {
	width: auto;
	cursor: pointer;
}

#wg_my_chat_status_arrow {
	width: 0; 
	height: 0; 
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 5px solid #00FF00;
	float: left;
	position: relative;
	top: 5px;
	margin-left: 3px;
	cursor: pointer;
}

#wg_my_chat_status_arrow.wg_friend_online {
	border-top: 5px solid #00FF00;
}
#wg_my_chat_status_arrow.wg_friend_busy {
	border-top: 5px solid #FFA200;
}
#wg_my_chat_status_arrow.wg_friend_dnd {
	border-top: 5px solid #BA6000;
}

#wg_my_chat_status_selector {
	background-color: #1c1c1c;
	top: 40px;
	left: 60px;
}

#wg_my_chat_status_selector div {
	padding: 3px;
	cursor: pointer;
}

#wg_my_chat_status_selector div:hover {
	background-color: #2c2c2c;
}

.wg_friend_chat h1 {
	width: 183px !important;
	padding-left: 37px !important;
}

#wg_friend_list_me {
	position: absolute;
	top: 24px;
	left: 10px;
	width: 200px;
	margin: 0;
}

#wg_friend_list_main {
	position: absolute;
	left: 8px;
	top: 75px;
	width: 204px;
	height: 200px;
	border: 1px solid #555;
	border-radius: 3px;
	background-color: #151515;
	overflow: auto;
	overflow-x: hidden;
	overflow-y: auto;
}

.wg_friend {
	margin-top: 5px;
	width: 195px;
	height: 44px;
	margin-left: 5px;
}

.wg_friend_name {
	font-size: 12px;
}

.wg_friend_status {
	font-size: 10px;
}

.wg_friend_name, .wg_friend_status, .wg_friend_links {
	width: 135px;
	margin-left: 10px;
	line-height: 14px;
	height: 14px;
	overflow: hidden;
}

.wg_friend_links {
	white-space: nowrap;
}

.wg_friend_online {
	color: #00FF00;
}

.wg_friend_offline {
	color: #888;
}

.wg_friend_pending {
	color: #FFFF00;
}

.wg_friend_busy {
	color: #FFA200;
}

.wg_friend_dnd {
	color: #BA6000;
}

img.wg_friend_online {
	border: 1px solid #00FF00;
}

img.wg_friend_offline {
	border: 1px solid #888;
}

img.wg_friend_pending {
	border: 1px solid #FFFF00;
}

img.wg_friend_busy {
	border: 1px solid #FFA200;
}

img.wg_friend_dnd {
	border: 1px solid #BA6000;
}

#wg_add_friend_button {
	position: absolute;
	top: 273px;
	left: 116px;
}

/*
 * Options window
 */

#wg_friend_options {
	width: 300px;
	height: 245px;
	z-index: 4;
	top: -242px;
	left: -210px;
	box-shadow: 0 0 0 2px #000;
}

#wg_friend_options_content {
	margin-top: 8px;
	margin-left: 8px;
	width: 290px;
}

#wg_im_availability, #wg_no_friend_requests {
	margin-top: 5px;
	margin-left: 8px;
	margin-bottom: 16px;
	width: 266px;
	font-size: 10px;
}

#wg_ignored_users {
	margin-top: 5px;
	margin-left: 8px;
	width: 266px;
	height: 80px;
	background-color: #151515;
	border: 1px solid #555;
	border-radius: 3px;
	overflow-x: hidden;
	overflow-y: auto;
}

/*
 * Add Friend window
 */

#wg_add_friend {
	width: 240px;
	z-index: 3;
	bottom: 42px;
	right: -140px;
	box-shadow: 0 0 0 2px #000;
}

#wg_add_friend_content {
	margin-left: 8px;
	width: 220px;
}

#wg_add_friend_content .wgButton {
	margin-right: 0;
	margin-left: 8px;
}

#wg_add_friend_search {
	width: 218px;
	height: 18px;
	border: 1px solid #888;
	background-color: #EEE;
	border-radius: 0;
	color: #333;
	font-size: 10px;
	padding: 1px;
	margin: 0;
	margin-top: 3px;
}

#wg_add_friend_search_results {
	margin-left: 8px;
	background-color: #151515;
	border-radius: 5px;
	width: 204px;
	margin-bottom: 10px;
	margin-top: 10px;
	padding-top: 10px;
	padding-bottom: 10px;
	font-size: 10px;
}

.wg_friend_search_result {
	width: 100%;
	margin-top: 5px;
	margin-bottom: 5px;
}

.wg_friend_search_result span {
	font-weight: bold;
	margin-left: 6px;
}

.wg_friend_search_result a {
	margin-right: 6px;
	float: right;
	color: #AAA;
	text-decoration: underline;
}

/*
 * IM Chat window
 */

.wg_friend_chat_button {
	height: 30px;
	width: 218px;
	padding-left: 4px;
	border-left: 1px solid #555;
	border-right: 1px solid #151515;
	text-align: center;
	line-height: 30px;
	float: right;
	cursor: pointer;
	position: relative;
	text-align: left;
	font-size: 12px;
	color: #888;
}

.wg_friend_chat_button.new_chat_message {
	background-color: #DE9B00;
	color: white;
}

.new_chat_message {
	background-color: #DE9B00;
	color: black;
}

.new_chat_message>.wg_friend_links>a{
	color: #224422;
}

.wg_friend_chat {
	width: 220px;
	height: 300px;
	bottom: 30px;
	right: 0px;
}

.wg_friend_chat_block {
	position: absolute;
	top: 20px;
	right: 4px;
}

.wg_friend_chat_close {
	width: 14px;
	height: 14px;
	line-height: 14px;
	font-size: 12px;
	color: #888;
	text-align: center;
	border: 1px solid #888;
	border-radius: 3px;
	position: absolute;
	right: 5px;
	top: 7px;
}

.wg_friend_chat_close:hover {
	border: 1px solid #999;
	color: #999;
}

.wg_friend_chat_content {
	width: 220px;
	height: 239px;
	background-color: #EEE;
	border: 1px solid #888;
	overflow-x: hidden;
	overflow-y: auto;
	position: absolute;
	top: 36px;
	left: 0px;
	z-index: 1;
	color: #2c2c2c;
}

.wg_friend_chat_controls {
	position: absolute;
	top: 2px;
	right: 2px;
	width: 45px;
	text-align: right;
}

.wg_friend_chat_controls div {
	height: 12px;
	font-size: 12px;
	line-height: 12px;
	cursor: pointer;
	color: #AAA;
	float: left;
	margin-left: 5px;
}

.wg_friend_chat input {
	width: 216px;
	height: 18px;
	border: 1px solid #888;
	background-color: #EEE;
	border-radius: 0;
	color: #333;
	font-size: 10px;
	position: absolute;
	bottom: 1px;
	left: 0px;
	padding: 1px;
	margin: 0;
}

.wg_friend_chat input:disabled {
	background-color: #BA6000;
}

.wg_friend_chat .avatar {
	position: absolute;
	top: 2px;
	left: 2px;
	height: 30px;
	width: 30px;
	margin: 0;
	padding: 0;
	z-index: 2;
}

.wg_chat_message {
	width: 97%;
	padding-left: 1.5%;
	padding-right: 1.5%;
	background-color: #EEE;
	border-bottom: 1px solid #CCC;
	padding-bottom: 3px;
	padding-top: 3px;
}

.wg_chat_message_mine {
	background-color: #D9D9DF;
}

.wg_chat_message a, .wg_chat_message_mine a {
	color: #1237DB;
}

div.wg_chat_user {
	margin-bottom: 8px;
	width: 100%;
	overflow: hidden;
	height: 11px;
}

.wg_chat_user {
	font-weight: bold;
	font-size: 10px;
	line-height: 10px;
	display: block;
	float: left;
	color: #0044FF;
}

.wg_chat_message_mine .wg_chat_user {
	font-weight: normal;
	color: #666;
}

.wg_chat_time {
	font-size: 9px;
	color: #999;
	line-height: 10px;
	font-weight: normal;
	float: right;
	text-align: right;
}

.wg_chat_message_content {
	width: 96%;
	line-height: 13px;
	font-size: 12px;
	padding-left: 3%;
	padding-right: 1%;
	padding-bottom: 5px;
}

.wg_chat_message_mine .wg_chat_message_content {
	font-size: 10px;
	line-height: 11px;
	color: #666;
}

.wgPackageColMob, .wgPurchaseColMob {
	display: none;
}

@media only screen
and (min-device-width : 320px)
and (max-device-width : 480px) {
	.wg_min {
		margin-top: 18px;
	}
	#wg_flex_purchase_window {
		width: 100%;
		min-height: 70%;
		position: absolute;
		top: 0;
		left: 0;
		z-index: 10001;
		background-color: #EEE;
		padding: 0;
		border: 0;
		box-shadow: 0 0 0 1px #555;
	}

	#wg_flex_purchase_window h1, #wg_flex_purchase_window .flex {
		margin: 10px;
	}



	.wgPackageColMob {
		display: table-row;
		background: #777;
		color: white;
		font: bold 14px/16px ;
	}

	.wgPackageColMob td {
		text-align: center;
	}
	
	#wg_flex_purchase_window .wgButton {
		height: 42px;
		line-height: 42px;
		padding: 0 10px;
	}

	td.wgFlexCol, td.wgPriceCol, td.wgDiscountCol {
		line-height: 42px;
	}

	#wg_flex_close {
		top: 10px;
		right: 10px;
	}

	.wgPackageCol {
		display: none;
	}

	#wg_flex_packages {
		width: 100%;
	}

	#wg_header {
		height: 45px;
	}

	#wg_header .wg_logo {
		margin-top: 10px;
	}
	#wg_login {
		width: 253px;
		line-height: 45px;
	}

	#wg_login input[type="submit"] {
		height: 35px;
	}

	#wg_login input[type="text"], #wg_login input[type="password"] {
		height: 28px;
	}

	#wg_header .wgButton {
		margin-top: 8px;
		height: 25px;
		line-height: 25px;
	}

	.wg_user {
		display: none;
	}

	#wg_friends {
		display: none;
	}

}
