/*
 * Pink mod
 * for IRC-galleria
 * Author: Oleg Grenrus aka phadej
 */
 
body {
	background-color: #FFCCCC;
	padding: 0; margin: 0;
	color: #FFDDDD;
	font-family: Verdana, Arial, Sans-Serif;
}

table {
	border-collapse: collapse;
}

#outerbody {
	margin-left: auto;
	margin-right: auto;
	width: 960px;
}

#headerblock {
	position: relative;
	background: url("gradient_lower.png") 0% 100% repeat-x;
	background-color: #CC0000;
}

h1 {
	margin: 0;
	display: block;
	height: 54px;
	position: relative;
	background-image: url("irc-galleria.png");
	background-repeat: no-repeat;
	background-position: 15px 14px;
}

h1 .ircgalleria { display: none; }
h1 .separator { display: none; }
h1 .title { display: none; }
h1 .title .small { font-weight: normal; }

/* --- sivujen alareunan palkki --- */

#footer {
	background: #FF3333 url("copyfooter_left.png") no-repeat 0% 100%;
	margin-bottom: 40px;
	border-top: 1px solid #FF0000;
}

#footer .innerborder {
	font-size: 10px;
	text-align: center;
	padding: 2px 20px 5px 20px;
	color: #FFCCCC;
	background: url("copyfooter_right.png") no-repeat 100% 100%;
}

#footer a {
	color: #FF9999;
}

/* --- Oikean yläreunan hakulootat --- */

#search {
	position: absolute;
	top: 11px;
	right: 14px;
}

#search table {
	border-collapse: collapse;
}

#search table td {
	vertical-align: top;
	padding: 0;
}

#search td.searchtitle div,
#search td.nicktitle div,
#search td.communitytitle div,
#search td.channeltitle div {
	display: none;
}

#search td.searchtitle { width: 30px;  background: url("http://80.81.189.227/idaho/searchtitle.gif")     no-repeat 0px 5px }
#search td.nicktitle { height: 11px; background: url("http://80.81.189.227/idaho/searchnick.gif")      no-repeat 1px 0px }
#search td.communitytitle { height: 11px; background: url("http://80.81.189.227/idaho/searchcommunity.gif") no-repeat 1px 0px }
#search td.channeltitle	 { height: 11px; background: url("http://80.81.189.227/idaho/searchchannel.gif")   no-repeat 1px 0px }

#search span { display: none; }

#search input {
	margin: 0;
}

#search input.text {
	background-color: #990000;
	border: 1px solid #FF9999;
	font-size: 9px;
	font-family: Verdana, Sans-Serif;
	padding: 1px;
	margin-right: 2px;
}


/* --- 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, a:visited {
	color: #FFCCCC;
}

a:hover {
	text-decoration: underline;
	color: #FFFFFF;
}

div.picture img {
	border: 1px solid #667A8F;
	margin: 0;
}

input {
	margin: 0;
	margin-right: 5px;
}

input.text, textarea.text, select {
	background-color: #990000;
	border: 1px solid #FFCCCC;
	font-size: 9px;
	color: white;
}

input.submit {
	color: #800000;
	font-size: 10px;
	letter-spacing: 1px;
	background-color: #FF9999;
	border-top: 1px solid #FFCCCC;
	border-left: 1px solid #FFCCCC;
	border-bottom: 1px solid #FF6666;
	border-right: 1px solid #FF6666;
}

/* --- päävalikko --- */

#mainmenu {
	background-color: #FF8080;
	margin: 0;
	float: left;
	width: 100%;
	border-top: 1px solid #FF6666;
	border-bottom: 1px solid #FF6666;
}

#mainmenu .innerborder {
	float: left;
	width: 100%;
	border-top: 1px solid #FF0000;
	border-bottom: 1px solid #FF0000;
}

#mainmenu ul {
	list-style: none;
	border: none;
	margin: 0;
	padding: 0 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 {
	background-color: #FF9999;
}

#mainmenu li a {
	display: block;
	padding: 2px 10px 3px 10px;
	color: #FFFFFF;
	font-size: 10px;
	float: left;
	margin: 0;
	text-decoration: none;
	text-transform: uppercase;
}

#mainmenu #mmnewcomments a {
	color: #FF0000;
	font-weight: bold;
}

#mainmenu li a:hover {
	color: #FFCCCC;
	background-color: #FF3333;
}

/* --- Tyhjä mainmenu reggautuessa --- */

#emptymainmenu {
	background-color: #FF8080;
	margin: 0;
	width: 100%;
	border-top: 1px solid #FF6666;
	border-bottom: 1px solid #FF6666;
}

#emptymainmenu .innerborder {
	width: 100%;
 	border-top: 1px solid #FF0000;
	border-bottom: 1px solid #FF0000;
	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;
	border-bottom: 1px solid #FF6666; 
	width: 100%;
	background: url("gradient_upper.png") 0% 0% repeat-x;
	background-color: #CC0000;
}

#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("tab_left.png");
	background-position: 0% 0%;
	background-repeat: no-repeat;
	background-color: #FF6666;
	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("tab_right.png");
	background-position: 100% 0%;
	background-repeat: no-repeat;
	color: #FFCCCC;
	float: left;
	font-size: 10px;
}

#submenu a:hover {
	color: #FFFFFF;
	text-decoration: none;
}

#submenu li.selected {
	background-image: url("tab_left_active.png");
	background-color: #FF6666;
}

#submenu li.selected a {
	background-image: url("tab_right_active.png");
}


/* -------- */

#innerbody {
	clear: both;
	background-color: #FF0000;
	padding: 12px 18px 20px 18px;
}

#tabbedbody {
	clear: both;
	background: #FF8080 url("tabbedback.png") 10px 100% no-repeat;
	padding: 12px 18px 20px 18px;
	border-top: 1px solid #FF0000;
}

/* --- kapeat, kevyillä kehyksillä varustetut boksit --- */

div.smallbox {
	margin-bottom: 10px;
}

div.smallbox div.title {
	border: 1px solid #FFCCCC;
	border-bottom: none;

	background-color: #FF6666;
	background: url("smallboxtitlegradient.png") repeat-x;
}

div.smallbox div.title h3 {
	margin: 0;
	padding: 2px;
	text-align: center;
	font-family: Arial, Sans-serif;
	color: #FFFFFF;
	font-size: 10px;
	font-weight: normal;
	text-transform: uppercase;
	letter-spacing: 0px;
}

div.smallbox .content {
	border: 1px solid #FFCCCC;
	background: url("gradient_upper.png") 0% 0% repeat-x;
	background-color: #CC0000;
}

div.smallbox .content .innerborder {
	border: 1px solid #FF0000;
	padding: 0 10px 0 10px;
	background: url("gradient_lower.png") 0% 100% repeat-x;
}

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 #FFCCCC;
	background: url("gradient_upper.png") 0% 0% repeat-x;
	background-color: #CC0000;
}

div.commentbox .title {
	display: none;
}

div.commentbox .content {
	padding: 15px;
	background: url("gradient_lower.png") 0% 100% repeat-x;
}

div.commentbox .innerborder div {
	margin-top: 1px;
	margin-bottom: 1px;
}

div.commentbox .stamp {
	font-family: Arial, Sans-Serif;
	font-size: 10px;
	color: #FFCCCC;

	white-space: nowrap;
}

div#newcomments {
	margin-top: 5px;
	margin-bottom: 5px;
	font-weight: bold;
	color: #FFEEEE;
}
 
/* kommenttien värit */
div.commentbox tr.owner {
	color: #FF8080;
}

div.commentbox tr.private, .private {
	color: #FF8080;
}

div.commentbox tr.admin, .admin {
	color: #FF0000;
}

div.commentbox tr.user {
	color: #FFCCCC;
}

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 #FFCCCC;
}

#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("dotline.png") 0% 50% repeat-x;
}

.smallbox .channellist {
	margin-left: 9px;
}

#profileadmintools div.spacer,
#profileactions div.spacer {
	height: 10px;
}

#profileaphorism .title {
	display: none;
}

#profileaphorism .content {
	background: #FF6666;
	background-color: #FF6666;
}

#profileaphorism .content .innerborder {
	padding: 10px;
	font-family: "Lucida Console", Monospace;
	background: #FF6666;
}

#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: #C00000;
	border: 1px solid #FFCCCC;
}

#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;
}
