/*
 * Monochrome mod
 * for IRC-galleria 
 * Author: Oleg Grenrus aka phadej
 */
 
body {
	background-color: #EEEEEE;
	padding: 0; margin: 0;
	color: #333333;
	font: normal normal normal 10px Verdana, Arial, sans-serif;
}

table {
	border-collapse: collapse;
}

#outerbody {
	margin-left: auto;
	margin-right: auto;
	width: 960px;
}

#headerblock {
	position: relative;
}

h1 {
	margin: 0;
	display: block;
	height: 54px;
	position: relative;
	background: #EEEEEE url("irc-galleria.png") 15px 14px no-repeat;
}

h1 .ircgalleria {
	display: none;
}

h1 .separator { display: none; }

h1 .title {
	display: none;
}

h1 .title .small {
	font-weight: normal;
}


/* --- sivujen alareunan palkki --- */

#footer {
	background: #000000;
	margin-bottom: 40px;
	border-top: 1px solid #333333;
}

#footer .innerborder {
	font-size: 10px;
	text-align: center;
	padding: 2px 20px 5px 20px;
	color: #CCCCCC;
}

#footer a {
	color: #CCCCCC;
}


/* --- Oikean yläreunan hakulootat --- */

#search {
	display: none;
}


/* --- leipäteksti --- */

p, td, ol, ul, dl, div {
	font-family: Verdana, Arial, Sans-Serif;
	letter-spacing: 0px;
	font-size: 10px;
}

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: #CCCCCC;
}

.error, ul.errors {
	color: #FF7070;
}

.alert {
	color: #FF3030;
	font-weight: bold;
}

div.smallbox .error {
	color: red;
}

a {
	text-decoration: none;
	font-weight: bold;
}

a:link {
	color: #333333;
}

a:visited {
	color: #333333;
}

a:hover {
	color: #FF0000;
}


div.picture a {
}

div.picture img {
	border: 1px solid #667A8F;
	margin: 0;
}

input {
	margin: 0;
	margin-right: 5px;
}

input.text,
textarea.text,
select {
	background-color: #F8F8F8;
	border: 1px solid #333333;
	font-size: 9px;
	color: #333333;
}

input.submit {
	color: #333333;
	font-size: 10px;
	letter-spacing: 1px;
	background-color: #F8F8F8;
	border-top: 1px solid #333333;
	border-left: 1px solid #333333;
	border-bottom: 1px solid #000000;
	border-right: 1px solid #000000;
}

/* --- päävalikko --- */

#mainmenu {
	font-size: 10px; letter-spacing: 0px;
	background-color: #EEEEEE;
	margin: 0;
	float: left;
	width: 100%;
}

#mainmenu .innerborder {
	float: left;
	width: 100%;
}

#mainmenu ul {
	list-style: none;
	border: none;
	margin: 0;
	padding: 0;
	padding-left: 10px;
	padding-right: 10px;
}

#mainmenu li {
	display: block;
	padding: 0;
	margin: 0;
	font-family: Arial, sans-serif;
	background-color: #999999;
	margin-left: 10px;
	float: left; /* älä muuta tätä! se on lamea ja huonontaa käytettävyyttä */
}

li#mmlogout {
	float: right;
}

#mainmenu li.selected a {
	background-color: #666666;
	border-bottom: 1px solid #666666;
	color: #CCCCCC;
}

#mainmenu li a {
	display: block;
	padding: 2px 10px 1px 10px;
	color: #000000;
	float: left;
	margin: 0;
	border-bottom: 1px solid #EEEEEE; 
	text-decoration: none;
	text-transform: uppercase;
}

#mainmenu #mmnewcomments a {
	color: #FFFFFF;
	font-weight: bold;
}

#mainmenu li a:hover {
	color: #FFFFFF;
	background-color: #666666;
	border-bottom: 1px solid #666666; 
}

/* --- Tyhjä mainmenu reggautuessa --- */

#emptymainmenu {
	background-color: #FFFFFF;
	margin: 0;
	width: 100%;
}

#emptymainmenu .innerborder {
	width: 100%;
	height: 17px;
	display: block;
}

/* --- Alavalikko, esitetään lehdyköinä --- */

#submenu {
	clear: both;
	float: left;
	font-size: 10px; letter-spacing: 0px;
	font-family: Verdana, Arial, sans-serif;
	padding-top: 10px;
	margin-left: 0px;
	width: 100%;
	background-color: #666666;
}

#submenu ul {
	margin: 0;
	padding: 0;
	list-style: none;
	padding-left: 19px;
}

#submenu li {
	vertical-align: middle;
	margin: 0; padding: 0;
	margin-right: 5px;
	background: #EEEEEE;
	float: left; /* älä muuta tätä! se on lamea ja huonontaa käytettävyyttä */
}

#submenu a {
	display: block;
	margin: 0;
	padding: 1px 10px 1px 10px;
	color: #333333;
	float: left;
	border-bottom: 1px solid #999999; 
}

#submenu a:hover {
	color: #000000;
	background: #FFFFFF;
	border-bottom: 1px solid #FFFFFF; 
}

#submenu li.selected a {
	background: #FFFFFF;
	border-bottom: 1px solid #FFFFFF; 
}


/* -------- */

#innerbody {
	clear: both;
	background-color: #FF0000;
	padding: 12px 18px 20px 18px;
}

#tabbedbody {
	clear: both;
	background: #FFFFFF;
	padding: 12px 18px 20px 18px;
	border-left: 1px solid #666666;
	border-right: 1px solid #666666;
}

/* --- kapeat, kevyillä kehyksillä varustetut boksit --- */

div.smallbox {
	margin-bottom: 10px;
}

div.smallbox div.title {
	border: 1px solid #333333;
	border-bottom: none;
	background-color: #CCCCCC;
}

div.smallbox div.title h3 {
	margin: 0;
	padding: 2px;
	text-align: center;
	font-family: Arial, Sans-serif;
	color: #333333;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 0px;
}

div.smallbox .content {
	border: 1px solid #333333;
	background-color: #F8F8F8;
}

div.smallbox .content .innerborder {
	padding: 0 10px 0 10px;
}

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;
}

#profilechannels .content .innerborder,
#profilecommunities .content .innerborder,
#profileactions .content .innerborder,
#profileadmintools .content .innerborder {
	padding: 10px;
}

/* --- kommenttiboksi --- */

div.commentbox {
	border: 1px solid #333333;
	background-color: #F8F8F8;
}

div.commentbox .title {
	display: none;
}

div.commentbox .content {
	padding: 15px;
}

div.commentbox .innerborder div {
	margin-top: 1px;
	margin-bottom: 1px;
}

div.commentbox .stamp {
	font-family: Arial, Sans-Serif;
	color: #666666;
	white-space: nowrap;
}

div#newcomments {
	margin-top: 5px;
	margin-bottom: 5px;
	font-weight: bold;
	color: #333333;
}

 
/* kommenttien värit */
div.commentbox tr.owner {
	color: #FF0000;
}

div.commentbox tr.private, .private {
	color: #FF0000;
}

div.commentbox tr.admin, .admin {
	color: #FF0000;
}

div.commentbox tr.user {
	color: #FF0000;
}

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;
}


/* --- käyttäjän profiilisivu --- */

#viewtable {
	border-collapse: collapse;
}

#viewtable td {
	vertical-align: top;
}

#viewtableinfo {
	width: 213px;
}

#viewtableimage {
	width: 686px;
	padding-left: 20px;
}

#viewtableimage img {
	border: 0px;
}

#viewimage img {
	border: 1px solid #333333;
}

#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: #FF0000;
	font-weight: bold;
}

.smallbox .network {
	font-weight: bold;
}

#profilechannels .spacer,
#profilecommunities .spacer {
	height: 1px;
	border-top: 1px solid #333333;
	margin-top: 10px;
	margin-bottom: 10px;
}

.smallbox .channellist {
	margin-left: 9px;
}

#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: #EEEEEE;
	border: 1px solid #333333;
}

#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-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-size: 13px;
	padding-left: 3px;
	padding-right: 3px;
}
