@CHARSET "UTF-8";

/* ~~~~~~~~~~~~~~~~ Mainstyles ~~~~~~~~~~~~~~~~ */
body
{	background-color: #000000;
	font-family: "Times New Roman", "Arial";
	font-size: 15px; 
	color: #ffffff;
}
h1, h2, h3, h4, h5, h6, big
{	font-weight: bold;
	color: #ffff00;
}

/* ~~~~~~~~~~~~~~~~~~~~ Pages ~~~~~~~~~~~~~~~~~~~ */
.pages
{	position: static;
	width: 1000px;
	text-align: center;
	background-repeat: no-repeat;
}
table.tables td
{	text-align: center;
}

/* ~~~~~~~~~~~~~~~~~~~~ 600px wide bubbles ~~~~~~~~~~~~~~~~~~~
 * ~~ filter: is for the old lousy IE-browsers that doesn't support transparent backgrounds
 * ~~ 	(every real browser will skip this field)
 * ~~ .class[class] is for the real browsers (IE will skip this because it doesn't understand []-clauses */
	div.textbox_top 
	{	width: 600px; height: 62px;
		background-repeat: no-repeat; 
		background-position: bottom;
		filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale, src='../img/600pxUpper.png'); 
	} div.textbox_top[class] {	background-image: url("../img/600pxUpper.png"); }
	
	div.textbox_middle 
	{ 	width: 600px;
		background-repeat: repeat-y;
		padding: 1px 0px 1px 0px;
		filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale, src='../img/600pxMiddle.png');
	} div.textbox_middle[class] { background-image: url("../img/600pxMiddle.png"); }
	
	div.textbox_bottom
	{ 	width: 600px; height: 127px;
		padding-bottom: 33px;
		background-repeat: no-repeat;
		filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale, src='../img/600pxLowerWhite.png');
	} div.textbox_bottom[class] { background-image: url("../img/600pxLowerWhite.png"); }
		
	div.textbox_textarea
	{	margin-left: 25px;
		width: 500px;
		text-align: left;
	}

/* ~~~~~~~~~~~~~~~~~~~~ 450px wide bubbles ~~~~~~~~~~~~~~~~~~~ */
	div.textbox_top450 
	{ 	width: 450px; height: 47px;
		background-repeat: no-repeat;
		filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale, src='../img/450pxUpper.png');
	}	div.textbox_top450[class] {	background-image: url("../img/450pxUpper.png"); }
	
	div.textbox_middle450
	{ 	width: 450px; 
		background-repeat: repeat-y; 
		text-align: left; 
		padding: 1px 0px 1px 0px;
		filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale, src='../img/450pxMiddle.png'); 
	}	div.textbox_middle450[class] { background-image: url("../img/450pxMiddle.png"); }
	
	div.textbox_bottom450
	{ 	width: 450px; height: 108px; 
		background-repeat: no-repeat;
		filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale, src='../img/450pxLower3D.png'); 
	}	div.textbox_bottom450[class] {	background-image: url("../img/450pxLower3D.png"); }

	div.textbox_bottom450_2
	{ 	width: 450px; height: 98px; 
		background-repeat: no-repeat;
		filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale, src='../img/450pxLower2-3D.png'); 
	}	div.textbox_bottom450_2[class] {	background-image: url("../img/450pxLower2-3D.png"); }

	div.textbox_textarea450
	{	margin-left: 25px;
		width: 378px;
		text-align: left;
	}

table.mainpages
{	width: 995px;
	margin-left: 50px;
	margin-right: 50px;
	margin-top: 30px;
	margin-bottom: 50px;
	font-size: 15px;
}

/* Etusivu */
table#etusivu
{	font-size: 14px;
}
table#etusivu a:link { color: yellow; text-decoration: none; }
table#etusivu a:hover { color: red; text-decoration: none; }
table#etusivu a:visited { color: grey; text-decoration: none; }

#turnaukset 
{	height: 644px; width: 435px;
	font-size: 15px;
	font-family: "Copperplate Gothic Bold";
	font-weight: bold;
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale, src='../img/boxback_cardQc.png');
} #turnaukset[id] { background-image: url(../img/boxback_cardQc.png); } 

/* News */
table#news td
{	width: 400px;
	text-align: center;
}
/* ~~~~~~~~~~~~~~~~ FORM styles  ~~~~~~~~~~~~~~~~ */
.text_input
{
	border-style: solid;
	border-width: 0px;
}

.text_input input.text
{
	width: 640px;
	background-color: #000000;
	color: #FFFFFF;
}

.text_input textarea
{
	width: 640px;
	color: #FFFFFF;
	background-color: #000000;
}

#confirm
{	height: 90px;
	width: 150px;
	padding-left: 10px;
	padding-top: 10px;
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale, src='../img/alphabet/back.png');
	background-repeat: no-repeat;
}	#confirm[id] { background-image: url('../img/alphabet/back.png'); }

/* ~~~~~~~~~~~~~~~~ TABLE styles  ~~~~~~~~~~~~~~~~ */
/* Titlecells in tables */
tr.titlerow 
{	background-color: #FE0100;
	color: #FFFFFF;
	font-weight: bold;
}
tr.titlerow td { margin: 0px 2px 0px 2px; text-align:center; }

/* Headers in tables */
td.title 
{	text-align: center;
	padding-top: 10px;
	background-position: center;
	background-repeat: no-repeat;
	color: #FFE700;
	font-size: 17px;
	font-weight: bold;
	height:30px;
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale, src='../img/back_titlebar.png');
}	td.title[class] { background-image: url('../img/back_titlebar.png'); }

/* ~~~~~~~~~~~~~~~~~~~~~~~~~ Link texts ~~~~~~~~~~~~~~~~~~~~~~~~~ */

/* Default settings for the links */
a			{	color: #ffff00; }
a:visited	{	color: #AAAAAA;	}
a:hover		{	color: #FF0000;	text-decoration: none; }

/* Links used when sorting tables */
a.sort			{	color: #ffff00;	text-decoration: none;	}
a.sort:visited	{	color: #ffff00;	text-decoration: none;	}
a.sort:hover	{	color: #00ff00;	}


/* ~~~~~~~~~~~~~~~~ DIVs shown after FORMs are submitted ~~~~~~~~~~~~~~~~ */
td.form_success
{	text-align: center;
	color: #00FF00;
}
td.form_error
{	text-align: center;
	color: #FF0000;
}

/* ~~~~~~~~~~~~~~~~ Error-table ~~~~~~~~~~~~~~~~ */
table#error td {	font-size: 15px; }
table#error div.textbox_textarea {	text-align: center; }
}


/** ***** ***** ***** ***** ***** ***** ***** *****
 * - Page: index.php
 * - Table: layout'
 *  	+--------------------+
 *		| td#topbanner	     |
 *	    | div#logindiv		 |
 *	    +--------------------+
 *		| td#menubar 		 |
 *		+--------------------+
 *      | td#center		     |
 *		|	     			 |
 *		|	     			 |
 *		|	     			 |
 *		+--------------------+
 *		| td#contactbar		 |
 *		+--------------------+
 */
table#layout
{	position: absolute;
	left: 5px;
	top: 5px;
}

table#layout td
{	border-style: none;
	border-width: 0px;
}

/* ~~~~~~~~~~~~~~~~ Topbanner TD ~~~~~~~~~~~~~~~~ */
td#topbanner
{
	width: 1000px;
	height: 223px;
	background-image: url('../img/topbanner_back.jpg');
	background-repeat: no-repeat;
	overflow: hidden;
	padding-left: 0px;
}

/* ~~~~~~~~~~~~~~~~ Login DIV ~~~~~~~~~~~~~~~~ */
div#logindiv
{	position: absolute;
	left: 20px;
	top: 162px;
	font-size: 12px;
	width: 1000px;
	height: 23px;
	font-family: "Copperplate Gothic Light", "sans-serif", "serif", "fantasy";
}
#login input, #logout input
{	border-style: solid;
	border-width: 1px;
	border-color: #FF0000;
	background-color: #000000;
	color: #FFFFFF;
	font-size: 11px;
	height: 15px;
}
#login input.login
{	border-width: 1px;
	border-style: solid;
	border-color: #FF0000;
	width: 100px;
	height: 15px;
}

/* ~~~~~~~~~~~~~~~~ Menubar DIV ~~~~~~~~~~~~~~~~ */
div#menubar
{	position: absolute;
	top: 197px;
	left: 9px;
	background-image: url('../img/menubar_back.jpg');
	background-repeat: no-repeat;
	width: 1000px;
	height: 30px;
	overflow: visible;
	vertical-align: bottom;
}
#menubar td.menu
{	cursor: pointer;
	width: 165px;
	text-align: center;
	padding-top: 5px;
}
#menubar a, #submenubar a, #submenubar a:visited, #menubar a:visited
{	color: #FFE600;
	font-size: 16px;
	font-family: "Copperplate Gothic Light", sans-serif;
	text-decoration: none;
}
#menubar a:hover, #submenubar a:hover
{	font-family: "Copperplate Gothic Bold", sans-serif;
	font-size: 16px;
	font-weight: bolder;
	text-decoration: none;
}

/* ~~~~~~~~~~~~~~~~ Submenu boxes ~~~~~~~~~~~~~~~~ */
div#submenubar
{
	position: absolute;
	top: 225px;
	left: 7px;
	width: 1000px;
	height: 30px;
	font-size: 16px;
}

.submenu
{	position: absolute;
	width: 175px;
	visibility: hidden;
	background-image: url('../img/submenu_back.gif');
	border-style: solid;
	border-color: #FFFF00;
	border-width: 0px;
}
.submenu td
{	text-align: center;
	width: 175px;
	padding-top: 10px;
	white-space: nowrap;
	border-bottom-style: solid;
	border-left-style: solid;
	border-right-style: solid;
	border-width: 1px;
	border-color: #FFFF00;
}

.submenu a
{
	padding-top: 5px;
}

/* ~~~~~~~~~~~~~~~~ CONTACTBAR (YHTEYSTIEDOT ALALAIDASSA) ~~~~~~~~~~~~~~~~ */
td#contactbar
{
	width: 1000px;
	text-align: center;
	font-size: 14px;
	font-family: "Copperplate Gothic Light", "Times New Roman";
}
td#contactbar .break { color: #FFFF00; }

/* ~~~~~~~~~~~~~~~~ Registration ~~~~~~~~~~~~~~~~ */
#table#registration
{	width: 600px;
}
table#registration td
{	padding-top: 5px;
	border-style: none;
	text-align: left;	
}
table#registration input.text
{	width: 180px; }

table#registration input, select, option, button, textarea
{	background-color: #000000;
	color: #FFFFFF;
}

.question
{	margin-left: 20px;
	position: absolute;
	width: 400px;
	font-size: 15px;
}

/* ~~~~~~~~~~~~~~~~ Tournaments ~~~~~~~~~~~~~~~~ */
table#tournament td
{	text-align: center;
	border-style: none;
	border-width: 0px;
	font-size: 15px;
}

table#tournament tr.started td {color: #888888;	}
table#tournament tr.about td {	color: #CCCCCC; }
table#tournament tr.sign td {	color: #FF0000;	}

table#tournament_history
{	width: 650px;
	font-size: 15px;
	
}

/* ~~~~~~~~~~~~~~~~ Ranking ~~~~~~~~~~~~~~~~ */
table#ranking
{	text-align: center;
	width: 400px;
	font-size: 15px;
}

/** ***** ***** ***** ***** ***** ***** ***** *****
 *	- Page: Forum_crl.php
 *	- Table: forum
 *
 *		+---------------------------------------+
 *		| Forum > Topic > Message 			    | <- forum_navigation <td>
 *    	+-+----------+-----+----------+---------+
 *		|#|topic_name|posts|started_by|last_post| <- title <td>
 *		+-+----------+-----+----------+---------+
 *		|1| oddrow   |	   |	      |			|
 *		|2|	evenrow	 |	   |		  |			|
 *		\ \	   ...	 \ ... \   ...	  \   ...	\
 *		|n|     	 |	   |		  |			|
 *		+-+----------+-----+----------+---------+
 *		| [add topic]							|
 * 		+---------------------------------------+
 *		  \_ topic_img 
 */
table#forum
{
	width: 640px;
}

table#forum td
{
 	border-style: none;
 	border-width: 0px;
 	text-align: center;
}

table#forum tr.evenrow
{
 	background-color: #AAAAAA;
}
 
table#forum tr.oddrow
{
 	background-color: #888888;
}
table#forum td.title
{
	background-color: #FFFFFF;
	color: #000000;
}
table#forum td.topic_img
{	width: 20px;
}

table#forum td.topic_name
{	text-align: left;
	width: 370px;
}

table#forum td.posts
{	width: 50px;
}

table#forum td.started_by
{	width: 80px;
}

table#forum td.last_post
{	width: 130px;
}

table#forum small.description
{	
}

table#forum td.forum_navigation
{
	background-color: #000000;
	color: #FFFFFF;
	text-align: left;
}

/* ~~~~~~~~~~~~~~~~~ Read topic messages ~~~~~~~~~~~~~~~~*/
table#forum td.message
{	padding-top: 20px;
	padding-bottom: 20px;
	text-align: left;
}

table#forum td.msg_title
{	padding-top: 3px;
	padding-bottom: 3px;
	background-color: #FFFFFF;
	color: #000000;
}

table#forum td.poster
{	width: 70px;
	font-weight: bold;
	color: #000000;
}

table#forum div.dates
{	float: left;
	font-size: small;
}

table#forum div.buttons
{	float: right;
}
