/*
 * Steel mod
 * for IRC-Galleria (http://irc-galleria.net/)
 *
 * Author: Oleg Grenrus                              
 * Copyright: 2005 Oleg Grenrus  
 * Distributed under MIT-lisence
 *
 * Contact: phadej [at] gmail [dot] com
 * WWW: http://phadej.daug.net/
 */

html {
	background: url("back.png");
}

body {
	background: url("top_back.png") repeat-x;

	padding: 0;
	margin: 0;

	font: normal normal normal 10px Verdana, Arial, Helvetica, sans-serif;

	color: #333;
}

table {
	border-collapse: collapse;
}

#outerbody {
	margin-left: auto;
	margin-right: auto;
	width: 1002px;
}

#headerblock {
	background: url("top_back.png") repeat-x;
	position: relative;
	width: 1002px;
}

h1 {
	margin: 0;
	display: block;
	height: 75px;
	position: relative;
	background: url("logo.png") 0px 0px no-repeat;
}

h1 span {
	display: none;
}

/* --- sivujen alareunan palkki --- */

#footer {
	background: #f8f8f8;
	margin-bottom: 40px;
	border: 1px solid #000;
	border-top: none;
}

#footer .innerborder {
	font-size: 10px;
	text-align: center;
	padding: 2px 20px 5px 20px;
	color: #666;
}

#footer a {
	color: #666;
}


/* --- Oikean yläreunan hakulootat --- */

#search {
	display: none;
}

/* --- leipäteksti --- */

p, td, ol, ul, dl, div {
	font: normal normal normal 10px Verdana, Arial, Helvetica, sans-serif;;
}

p {
	line-height: 15px;
	margin-top: 0;
	margin-bottom: 10px;
}

/* --- kuvia koskevat säännöt --- */

#imagerules li,
#longrules li {
	margin-bottom: 5px;
}

h4 {
	font-size: 12px;
	padding-top: 10px;
	margin-top: 0;
	margin-bottom: 5px;
}

/* --- leipätekstissä ja listoissa olevat boldaukset --- */
p b, li b {
	color: #ccc;
}

.error, ul.errors {
	color: #f00;
}

.alert {
	color: #f00;
	font-weight: bold;
}

div.smallbox .error {
	color: #f00;
}

a {
	text-decoration: none;
	font-weight: bold;
}

a:link {
	color: #333;
}

a:visited {
	color: #333;
}

a:hover {
	color: #369;
}


div.picture a {
}

div.picture img {
	border: 1px solid #667A8F;
	margin: 0;
}

input {
	margin: 0;
	margin-right: 5px;
	font: normal normal normal 10px Verdana, Arial, Helvetica, sans-serif;
}

input.text,
textarea.text,
select {
	background-color: #F8F8F8;
	border: 1px solid #ccc;
	color: #333333;
}

input.submit {
	color: #333333;
	font-size: 10px;
	letter-spacing: 1px;
	background-color: #F8F8F8;
	border: 1px solid #ccc;
}

/* --- päävalikko --- */

#mainmenu {
	width: 100%;
	height: 25px;

	margin: 0;
	padding: 0;

	float: left;
}

#mainmenu .innerborder {
	float: left;
	width: 100%;
}

#mainmenu ul {
	width: 100%;
	height: 25px;

	margin: 0;
	padding: 0;

	list-style: none;
}

#mainmenu li {
	height: 25px;

	margin: 0 2px;
	padding: 0;

	display: block;
	float: left;

	text-align: center;
}

#mainmenu li a {
	height: 15px;

	padding: 5px 10px 5px;
	margin: 0;

	display: block;
	float: left;

	color: #333;
	text-decoration: none;
	text-transform: uppercase;
}

#mainmenu #mmnewcomments a {
	font-weight: bold;
}

#mainmenu li a:hover {
	color: #369;
}

/* --- Tyhjä mainmenu reggautuessa --- */

#emptymainmenu {
	margin: 0;
	width: 100%;
}

#emptymainmenu .innerborder {
	width: 100%;
	height: 17px;
	display: block;
}

/* --- Alavalikko, esitetään lehdyköinä --- */

#submenu {
	background: url("menu_back.png") repeat-x;

	height: 25px;
	width: 100%;

	margin: 0;
	padding: 0;

	float: left;
	clear: both;
}

#submenu ul {
	height: 25px;

	margin: 0 10px;
	padding: 0;

	list-style: none;

	float: right;
}

#submenu li {
	background: url("item_left.png") no-repeat;

	height: 25px;

	margin: 0;
	padding: 0;

	float: left;
	display: block;

	text-align: center;
}

#submenu li a {
	background: url("item_right.png") 100% 100% no-repeat;
	
	height: 15px;

	padding: 4px 20px 6px;

	float: left;
	display: block;

	color: #333;
	text-decoration: none;
}

#submenu li a:hover {
	color: #369;
}


/* -------- */

#tabbedbody {
	background: #fff url("page_back.png") repeat-y;

	margin: 0 auto;
	padding: 5px 0;

	clear: both;
}

/* --- kapeat, kevyillä kehyksillä varustetut boksit --- */

div.smallbox {
	margin: 0 10px;
	overflow: hidden;
}

div.smallbox div.title {
	background-color: #D7E8F0;
}

div.smallbox div.title h3 {
	font: bold 10px Verdana, Arial, Helvetica, sans-serif;

	margin: 0;
	padding: 2px;

	text-align: center;
	color: #333333;
	text-transform: uppercase;
	letter-spacing: 0px;

}

div.smallbox .content div.tabledecorator {
	margin-top: 10px;
	margin-bottom: 10px;
}

div.smallbox .errors {
	color: #FF4040;
}

div.smallbox ul {
	margin-left: 25px;
	padding-left: 0;
}

div.smallbox p {
	margin-top: 10px;
}

div.smallbox .content .innerborder {
	padding: 0 0 5px;
}

div.smallbox b {
	font-weight: normal;
}

/* --- kommenttiboksi --- */

div.commentbox {
}

div.commentbox .title {
	display: none;
}

div.commentbox .content {
	padding: 5px;
}

div.commentbox .innerborder div {
	margin-top: 1px;
	margin-bottom: 1px;
}

div.commentbox .stamp {
	display: none
}

div#newcomments {
	margin-top: 5px;
	margin-bottom: 5px;
	font-weight: bold;
}

 
/* kommenttien värit */
div.commentbox tr.owner { color: #369; }
div.commentbox tr.private, .private { color: #369; }
div.commentbox tr.admin, .admin { color: #369; }
div.commentbox tr.user { color: #369; }

div.commentbox td {
	padding-right: 5px;
}

div.commentbox td.sender {
	white-space: nowrap;
}

#commentform {
	margin-top: 10px;
	margin-bottom: 10px;
}

#commentform td {
	vertical-align: middle;
}

#commentform input {
	overflow: hidden;
}

#commentform input.text {
	padding: 0;
	margin: 0;
}

/* --- käyttäjän profiilisivu --- */

#viewtable {
	border-collapse: collapse;
}

#viewtable td {
	vertical-align: top;
}

#viewtableinfo {
	width: 300px;
}

#viewtableimage {
	padding: 0 10px;
}

#viewimage img {
	border: 1px solid #333;
}

#viewcaption {
	margin: 3px 10px 20px 1px;
}

#profilebasicinfo .content .innerborder {
	padding: 8px 10px 8px 10px;
}

#profilebasicinfo .content .innerborder div {
	padding: 2px 0 2px 0;
}

#profilebasicinfo .content span {
	white-space: nowrap;
}

#profilebasicinfo b {
	display: block;
}

#profilebasicinfo span {
	display: block;
	margin-left: 9px;
}

#profilebasicinfo .online {
	color: #369;
	font-weight: bold;
}

.smallbox .network {
	background: #E8F0F4;
	padding: 2px 5px 1px;
}

#profilechannels .spacer,
#profilecommunities .spacer {
	display: none;
}

.smallbox .channellist {
	margin-left: 10px;
	padding: 3px 0;
}

.smallbox .value {
	background: #E8F0F4;
	font-weight: bold;
	padding: 0 5px;
}

#profileadmintools div.spacer,
#profileactions div.spacer {
	height: 10px;
}

#profileaphorism .title {
	display: none;
}

#profileaphorism .content .innerborder {
	padding: 10px;
	font-family: "Lucida Console", Monospace;
}

#profileadmintools .title h3 {
	text-transform: none;
}

/* --- Smiley-selektori --- */

#smileys {
	position: relative;
}

a#smileybutton {
	margin-left: 4px;
	margin-right: 4px;
}

#smileyselector {
	display: none;
	position: absolute;
	bottom: 20px;
	right: -5px;
	width: 93px;
	padding-top: 5px;
	background-color: #fff;
	border: 1px solid #999;
}

#smileyselector div.smiley, #smileyselector div.smileyclose {
	text-align: center;
	height: 25px;
	width: 31px;
	float:left;
}

#smileyselector br {
	clear: left;
}

#smileyselector div.smileyclose a {
	color: white;
	text-decoration: none;
	font-weight: bold;
	font-size: 13px;
	padding-left: 3px;
	padding-right: 3px;
}
