/*
 * Copyright (c) 2004 MadSpark
 *
 * Graafinen suunnittelu: MadSpark / Veli-Pekka Peltola
 *
 */
 
body {
	background-color: #fab0b7;
	color: #F93C4E;

	padding: 0; margin: 0;

	scrollbar-arrow-color: #000000;
	scrollbar-face-color: #fdcaca;
	scrollbar-shadow-color: #fab0b7;
	scrollbar-base-color: #fdcaca;
	scrollbar-dark-shadow-color: #655053;
	scrollbar-track-color: #fab0b7;
	scrollbar-highlight-color: #fdcaca;
	scrollbar-3d-light-color: #fdecec;

	font-family: Verdana, Arial, Sans-Serif;

	position: absolute;
	left: 50px;
	width: 1110px;
}

table {
	border-collapse: collapse;
}

#outerbody {
	margin-left: auto;
	margin-right: auto;
	width: 1100px;
}

/* tyhjä näkymätön loota kuvaa varten... */

#headerblock {
	position: relative;
}

h1 {
	background-color: inherit;
	margin: 0;

	display: block;
	height: 54px;

	position: relative;

	background-repeat: no-repeat;
	background-position: 15px 14px;
}

h1 .ircgalleria {
	display: none;
}

h1 .separator {
	display: none;
}

h1 .title {
	display: none;
}

h1 .title .small {
	display: none;
}

/* --- sivujen alareunan palkki --- */

/* tyhjä näkymätön palkki, ei copyright-tekstejä... */

#footer {
	background-color: inherit;
	margin: 0;

	display: block;
	height: 54px;

	position: relative;
}

#footer .innerborder {
	display: none;
}

/* --- Oikean yläreunan hakulootat --- */

/* ei näitä tarvii... */

#search {
	display: none;
}

/* --- leipäteksti --- */

p, td, ol, ul, dl, div {
	font-family: Verdana, Arial, Sans-Serif;
	letter-spacing: 0px;
	font-size: 11px;
}

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: #F68C00;
}

strong {
}

.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: #F93C4E;
}

a:visited {
	color: #D91C2E;
}

a:hover {
	text-decoration: underline;
	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: #EFA5AB;
	border: 1px solid #E85C79;

	font-size: 12px;

	color: white;
}

input.submit {
	color: #FFFFFF;
	font-size: 10px;
	letter-spacing: 1px;

	background-color: #EFA5AB;

	border: 1px solid #E85C79;
}

input.checkbox {
	color: #FFFFFF;
	font-size: 10px;
	letter-spacing: 1px;

	background-color: #EFA5AB;

	border: 1px solid #E85C79;
}

/* --- päävalikko --- */

#mainmenu {
	background-color: #E85C79;
	margin: 0;
	float: left;

	width: 100%;
}

#mainmenu .innerborder {
	float: left;
	width: 100%;
	  
	border-top: 1px solid black;
	border-bottom: 1px solid black;
}

#mainmenu ul {
	list-style: none;
	margin: 0;
	padding: 0;

	padding-left: 10px;
	padding-right: 10px;
}

#mainmenu li {
	display: block;
	padding: 0;
	margin: 0;
	letter-spacing: 0px;
	font-family: Arial, sans-serif;

	float: left; /* älä muuta tätä! se on lamea ja huonontaa käytettävyyttä */
}

li#mmlogout {
	float: right;
}

#mainmenu li.selected {
	color: #FFFFFF;
	background-color: #D84C69;
}

#mainmenu li a {
	display: block;

	padding: 2px 10px 3px 10px;
	color: #E2EBF1;
	font-size: 10px;

	float: left;
	margin: 0;

	text-decoration: none;
	text-transform: uppercase;
}

#mainmenu #mmnewcomments a {
	color: #DAAA67;
	font-weight: bold;
}

#mainmenu li a:hover {
	color: #000000;
	background-color: #D84C69;
}

/* --- Tyhjä mainmenu reggautuessa --- */

#emptymainmenu {
	background-color: #E85C79;
	margin: 0;

	width: 100%;
}

#emptymainmenu .innerborder {
	width: 100%;
	  
	border-top: 1px solid black;
	border-bottom: 1px solid black;

	height: 17px;
	display: block;
}

/* --- Alavalikko, esitetään lehdyköinä --- */

#submenu {
	clear: both;
	float: left;
	font-size: 11px; letter-spacing: 0px;
	font-family: Verdana, Arial, sans-serif;
	padding-top: 17px;
	margin-left: 0px;
	width: 100%;
	background-color: inherit;
}

#submenu ul {
	margin: 0;
	padding: 0;
	list-style: none;
	padding-left: 19px;
}

#submenu li {
	vertical-align: middle;

	margin: 0; padding: 0;
	padding-left: 15px;
	margin-right: 0;

	background-image: url("http://koti.mbnet.fi/veltsu/galleria/tab_left.gif");
	background-position: 0% 0%;
	background-repeat: no-repeat;
	background-color: inherit;

	float: left; /* älä muuta tätä! se on lamea ja huonontaa käytettävyyttä */
}

#submenu a {
	display: block;
	margin: 0; padding: 0;
	padding-right: 16px;
	padding-top: 7px;
	padding-bottom: 5px;
	background-image: url("http://koti.mbnet.fi/veltsu/galleria/tab_right.gif");
	background-position: 100% 0%;
	background-repeat: no-repeat;

	color: #E2EBF1;

	float: left;

	font-size: 10px;
}

#submenu a:hover {
	text-decoration: underline;
}

#submenu li.selected {
	background-image: url("http://koti.mbnet.fi/veltsu/galleria/tab_left_active.gif");
	background-color: inherit;
}

#submenu li.selected a {
	background-image: url("http://koti.mbnet.fi/veltsu/galleria/tab_right_active.gif");
}


/* -------- */

#innerbody {
	clear: both;
	background-color: #263E59;
	padding: 12px 18px 20px 18px;
}

#tabbedbody {
	clear: both;
	background-color: #EDBABA;
	padding: 12px 18px 20px 18px;
	border: 1px dashed #F93C4E;
}


/* --- järeät, pääsääntöisesti leipätekstiä sisältävät boksit --- */

div.box {
	margin-bottom: 10px;
}

div.box div.title {
	border-bottom: 3px solid #162538;
	background-image: url("http://irc-galleria.net/img/idaho/curvedtitlebackground_trans.gif");
	background-repeat: no-repeat;
	background-position: 0% -0%;
}

div.box div.title h3 {
	margin: 0;
	padding-left: 10px;
	padding-top: 6px;
	padding-bottom: 3px;

	font-family: Arial, Sans-serif;
	font-weight: bold;
	font-size: 12px;
	letter-spacing: 1px; 
	
	color: #E2EBF1;
}

div.box .content {
	border-top: 1px solid #667A8F;
	background-color: #3C556F;

	color: white;
}

div.box .content .innerborder {
	border-top: 1px solid #14263A;
	padding: 0 10px 10px 10px;
}

div.box .boxfooterleft {
	display: block;
	margin: 1px 0 0 0;
	padding: 0;

	background: #314964 url("http://irc-galleria.net/img/idaho/boxfooterleft.gif") no-repeat 0% 100%;
}

div.box .boxfooterright {
	display: block;
	margin: 0;
	height: 10px;
	padding: 0;
	background: url("http://irc-galleria.net/img/idaho/boxfooterright.gif") no-repeat 100% 100%;

	font-size: 0; /* ie kludge vaikka ei edes sisällä tekstiä */
}

div.box .content .text,
div.box .content select {
	background-color: #263E59;

}

div.box .content .innerborder table {
	margin-top: 10px;
}

div.box .content p {
	margin-top: 10px;
	margin-left: 20px;
}

/* --- kapeat, kevyillä kehyksillä varustetut boksit --- */

div.smallbox {
	margin-bottom: 10px;
	border: 1px solid #E85C79;
}

div.smallbox div.title {
	border: none;

	background-color: #E85C79;
}

div.smallbox div.title h3 {
	margin: 0;
	padding: 2px;
	
	text-align: center;
	font-family: Arial, Sans-serif;
	color: #E2EBF1;
	font-size: 10px;
	font-weight: normal;
	text-transform: uppercase;
	letter-spacing: 0px;
}

div.smallbox .content {
	border: none;
	background-color: #E0969D;
}

div.smallbox .content .innerborder {
	border: none;
	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 dashed #E85C79;
	background-color: #EFA5AB;
}

div.commentbox .title {
	display: none;
}

div.commentbox .content {
	padding: 15px;
	background-color: #EAA0A7;
border: 1px dashed #E85C79;
}

div.commentbox .innerborder div {
	margin-top: 1px;
	margin-bottom: 1px;
}

div.commentbox .stamp {
	font-family: Arial, Sans-Serif;
	font-size: 10px;
	color: #F93C4E;

	white-space: nowrap;
}

div#newcomments {
	margin-top: 5px;
	margin-bottom: 5px;
	font-weight: bold;
	color: #F6F6F6;
}

/* --- view.php:n kommentiboksi. ie:tä varten täytyy määritellä kiinteä leveys. --- */

div#viewcommentbox {
	width: 686px;
}

/* kommenttien värit */

div.commentbox tr.owner {
	color: #F93C4E;
	font-weight: bold;
}

div.commentbox tr.private, .private {
	color: #D90C1E;
}

div.commentbox tr.admin, .admin {
	color: #000000;
}

div.commentbox tr.user {
	color: #F93C4E;
}

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: 0;
}

#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 .content a {
	font-weight: normal;
	text-decoration: underline;
}
*/

#profilebasicinfo .online {

	color: #FF0000;
	font-weight: bold;
}

.smallbox .network {
	font-weight: bold;
}

#profilechannels .spacer,
#profilecommunities .spacer {
	height: 21px;
	background: url("http://irc-galleria.net/img/idaho/dotline.gif") 0% 50% repeat-x;
}

.smallbox .channellist {
	margin-left: 9px;
}

#profileadmintools div.spacer,
#profileactions div.spacer {
	height: 10px;
}

#profileaphorism .title {
	display: none;
}

#profileaphorism .content {
	background-color: #E0969D;
}

#profileaphorism .content .innerborder {
	padding: 10px;
	font-family: "Lucida Console", Monospace;
}

#profileadmintools .title h3 {
	text-transform: none;
}


/* -------- */

table.grid {
	border-collapse: collapse;
}

table.grid td {
	vertical-align: top;

	width: 172px;

	padding: 1px;
	padding-bottom: 10px;
}

table#archivetable,
table#bookmarktable {
	width: 100%;
}

table.grid td div {
	padding-top: 2px;
	padding-bottom: 4px;
	text-align: center;
}

table.grid td div div {
	padding: 0;
}

td#archive table.grid div.default {
	background-color: #364C64;
}

td#archive table.grid div.default img {
	border: 1px solid #F28E00;
}

table.grid div.online img {
	border: 1px solid #33FF33;
}

table.grid div.online {
	background-color: #227022;
}

table.grid div.invisible img {
	filter: Alpha(opacity=40) Gray();
	-moz-opacity: .30;
	opacity: 0.3;
}

table.grid {
}

table.grid div.tools {
	margin-bottom: 3px;
}

table.grid div.stamp {
	margin-bottom: 1px;
	font-size: 9px;
}

table.grid div.picture {
	position: relative;
	text-align: left;
}

table.grid div.picture div {
}

table.grid div.mask {
	position: absolute;
	display: block;

	width: 172px;
}

table.grid div.mask div {
	display: block;

	margin-left: auto;
	margin-right: auto;

	margin-top: 1px;
	margin-bottom: 1px;

	opacity: 0.5;
	filter: Alpha(opacity=20);
	background: url("http://irc-galleria.net/img/idaho/hiddenlayer.gif");
}

table.grid b {
	color: #F68C00;
}

table.grid div.caption {
	padding-top: 3px;
}

div.thumbnick {
	margin-top: 1px;
	margin-bottom: 7px;
}

div.thumbnick b {
	font-size: 9px;
	color: white;
}

table#bookmarktable td {
	vertical-align: top;
}

#indexlastlogin div.thumbnick {
	margin-bottom: 15px;
}

/* --- Smiley-selektori --- */

/* imho täysin turha... veke siis */

#smileys {
	display: none;
	position: relative;
}

a#smileybutton {
	display: none;
	margin-left: 4px;
	margin-right: 4px;
}

#smileyselector {
	display: none;
	position: absolute;
	bottom: 20px;
	right: -5px;
	width: 93px;
	padding-top: 5px;
	background-color: #E0969D;
	border: 1px solid #E85C79;
}

#smileyselector div.smiley, #smileyselector div.smileyclose {
	display: none;
	text-align: center;
	height: 25px;
	width: 31px;
	float:left;
}

#smileyselector br {
	display: none;
	clear: left;
}

#smileyselector div.smileyclose a {
	display: none;
	color: white;
	text-decoration: none;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-size: 13px;
	padding-left: 3px;
	padding-right: 3px;
}

/* jotain hauskaa ;) */

#commentform a {
	font-size: 11px;
	font-weight: bold;

	color: #F93C4E;
	cursor: text;

	background-color: transparent;
	background-image: url(http://mbnet.fi/veltsu/galleria/kysymys.gif);
	background-repeat: no-repeat;
	background-position: left;
	height: 14px;
	text-align: left;
	padding-left: 103px;
	position: absolute;
	top: 25px;
	left: 500px;
}

#commentform a:after {
	content: "?";
}

#commentform a:hover {
	color: #F93C4E;
	background-color: transparent;
	border-top: none;
	border-bottom: none;
	cursor: text;
	text-decoration: none;
}

/* <>-hakaset pois */

#commentform b {
	display: none;
}
								