
/**
 *
 *	@name		Wide KDice
 *	@author		Marek "Sudlik" Sudoł
 *	@version	4
 *	@website	http://userstyles.org/styles/46837
 *
 */

@namespace url( http://www.w3.org/1999/xhtml );
@-moz-document domain( "kdice.com" )
	{

/*
	Add text ...
*/
	#KGame .iogc-MessagePanel-messages > table > :empty:before,
	#iogc-PlayerPanel .iogc-LoginPanel-playerRow.iogc-SidePanel-title:after
		{
		color: #afafaf !important;
		font-size: 9px !important;
		font-weight: bold !important;
		}

	/*
		... to empty Message Panel
	*/
	#iogc-PlayerPanel .iogc-LoginPanel-playerRow.iogc-SidePanel-title:after
		{
		content: "Nothing happened" !important;
		}

	/*
		... to expandable Player Panel
	*/
	#iogc-PlayerPanel .iogc-LoginPanel-playerRow.iogc-SidePanel-title:after
		{
		cursor: default !important;
		content: "See more" !important;
		}

/*
	Define white background for Player Panel
*/
	#iogc-PlayerPanel
		{
		background-color: #ffffff !important;
		}

/*
	Narrowing Table Flash (fix hidden panel)
*/
	#KGame .iogc-TableLayout > tbody > tr > td > table > tbody > tr > td > div > .flash > embed
		{
		display: block !important;
		margin: auto !important;
		width: 600px !important;
		}

/*
	Fix focus outline bug
*/
	*:not(a):not(input):not(textarea):not(button)
		{
		outline: 0 !important;
		}

/*
	Improve design
*/
	#menu
		{
		margin: 10px !important;
		}

/*
	Colapse ...
*/
	#menu-out
		{
		height: 60px !important;
		overflow: hidden !important;
		}

	/*
		... and expand Player Panel
	*/
	#menu-out:hover
		{
		height: auto !important;
		}

/*
	Hide...
*/
	/*
		...Header,...
	*/
	#hd,
	/*
		...Footer,...
	*/
	#outside > :not(#all),
	/*
		...all inner side Menu but Player Panel,...
	*/
	#menu > *:not(#iogc-PlayerPanel),
	/*
		...Friend Boost, Month Boost,  Yearly Member,...
	*/
	#iogc-PlayerPanel .iogc-SidePanel-inner > div > .iogc-LoginPanel-playerRow:nth-of-type( n + 2 )
		{
		display: none !important;
		}

/*
	Broaden ...
*/
	/*
		... page, ...
	*/
	#all,
	#page,
	/*
		... Chat Panel.
	*/
	#KGame .rdews-RoundedCompositeInside > .iogc-ChatPanel-messages,
	/*
		Center the table.
	*/
	#KGame .iogc-GameWindow-table > .iogc-TableLayout > tbody > tr > :nth-child(2) > table > tbody > :nth-child(3) > td > div
		{
		width: inherit !important;
		}

/*
	[...]
*/
	#mainpage
		{
		height: 650px !important;
		}

/*
	[...]
*/
	#mainpage,
	#KGame .iogc-GameWindow-layout > tbody > tr > td,
	#KGame .rdews-RoundedCompositeInside > .iogc-GameWindow-layout > tbody > :nth-child(2) > td
		{
		border-width: 0 !important;
		}

/*
	[...]
*/
	#KGame .iogc-TouryCountdownPanel > tbody > tr > td > table > tbody > tr > td > .gwt-Button
		{
		margin: 0 5px !important;
		}

/*
	[...]
*/
	#yui-main .yui-b,
	#iogc-PlayerPanel .iogc-LoginPanel-playerRow
		{
		margin: 0 !important;
		}

/*
	[...]
*/
	#mainpage
		{
		padding: 0 !important;
		}

/*
	[...]
*/
	#KGame
		{
		height: auto !important;
		}

/*
	[...]
*/
	#KGame .iogc-HeaderPanel > table > tbody > tr > td,
	#KGame :-moz-any( .iogc-playersLeft, .iogc-playersRight ) > tbody > tr > td
		{
		text-align: left !important;
		}

/*
	[...]
*/
	#KGame .rdews-RoundedCompositeInside > .iogc-ChatPanel-messages
		{
		height: 108px !important;
		}

/*
	[...]
*/
	#KGame .iogc-GameWindow-layout > tbody > tr > td > .iogc-HeaderPanel > table > tbody > tr > td
		{
		width: 200px !important;
		}
	}