/* Kaikki oikeudet lähdekoodille kuuluu Simpsonit.org -sivustolle © 2009 */

/* Linkit */

A:link { text-decoration: none; color: #00598C; cursor:pointer; }
A:visited { text-decoration: none; color: #00598C; cursor:pointer; }
A:active { text-decoration: none; color: #00598C; cursor:pointer; }
A:hover { text-decoration: underline; color: #006FAE; cursor:pointer; }
.wklink { color: #00598C; }
.trans:hover {
opacity:0.9;
filter:alpha(opacity=90);
}

/* Sekalaista */


.listbox {
border: 1px solid #9F9F9F;
background-color: #ECECEC;
width: auto;
height: 24px;
font-size: 5em;
font-weight: bold;
word-spacing: -25px;
color: #CFD6ED;
padding: 5px 5px;
margin: 3px;
overflow: hidden;
-moz-border-radius-topleft: 4px;
-moz-border-radius-topright: 4px;
-moz-border-radius-bottomleft: 4px;
-moz-border-radius-bottomright: 4px;
text-align: right;
}

.listbox_actors {
border: 1px solid #9F9F9F;
background-color: #ECECEC;
width: auto;
height: 34px;
font-size: 5em;
font-weight: bold;
word-spacing: -25px;
color: #CFD6ED;
padding: -11px 5px;
margin: 3px;
-moz-border-radius-topleft: 4px;
-moz-border-radius-topright: 4px;
-moz-border-radius-bottomleft: 4px;
-moz-border-radius-bottomright: 4px;
text-align: right;
}
.listbox img { float: right; margin: -5px 0; }

.listbox_text {
font-size: 12px;
color: #000000;
float: left;
word-spacing: normal;
font-weight: normal;
margin-top: 4px;
}



.lataa  a{
display: block;
width: 120px;
padding: 11px 0;
color: #FFFFFF;
font: 20px Comic Sans MS, verdana;
background: #2E9323 url('../kuvat/lataa.png') repeat-x;
text-align: center;
border: 2px solid #000000;
margin: 3px;
-moz-border-radius-topleft: 6px;
-moz-border-radius-topright: 6px;
-moz-border-radius-bottomleft: 6px;
-moz-border-radius-bottomright: 6px;
-moz-border-left-colors: ThreeDDarkShadow rgba(255, 255, 255, 1);
-moz-border-right-colors: ThreeDDarkShadow rgba(255, 255, 255, 1);
-moz-border-top-colors: ThreeDDarkShadow rgba(255, 255, 255, 1);
-moz-border-bottom-colors: ThreeDDarkShadow rgba(255, 255, 255, 1);
}
.lataa  a:hover{
text-decoration: none;
background: #27BC17 url('../kuvat/lataa_hover.png') repeat-x;
}

/* Google-haku */
.search { height: 22px; }
.search input[type=text] {
	width: 148px;
	margin: 0;
	float: left;
}
.search button {
	width: 22px;
	height: 22px;
	border: 1px solid #7E9DB9;
	background: #7E9DB9;
	padding: 1px;
	margin: 0;
	float: left;
}

.pic {
	margin: 0 auto;
	font: 10px Verdana;
}
.pic img {
	text-align: center;
	margin: 8px 0;
	border: 1px solid #9A9A9A;
	-moz-box-shadow: 0 0 6px 0px #808080;
}

body {
padding: 0px 20px;
background-image: url('theme1/bg1.gif');
background-repeat: repeat;
background-color: #42883F;
font-family: Verdana;
font-size: 12px;
margin: 0;
}

img {
border: 0px;
}

hr {
border-top: 1px solid #FFFFFF;
border-bottom: 1px solid #D5D5D5;
border-left: 0px solid #D5D5D5;
border-right: 0px solid #D5D5D5;
width: auto;
}

.backwards {
unicode-bidi: bidi-override;
direction: rtl;
}

/* Formit */

select {
border: 1px solid #D6D6D6;
-moz-border-radius-bottomleft: 4px;
-moz-border-radius-bottomright: 4px;
-moz-border-radius-topleft: 4px;
-moz-border-radius-topright: 4px;
}
option {
border-top: 1px solid #D6D6D6;
}
textarea {
font: 12px Verdana;
}

/* Teemanvaihtaja */

.tbut_off {
padding-top: 1px;
padding-bottom: 1px;
}
.tbut_off:hover {
opacity:0.9;
filter:alpha(opacity=90);
}
.tbut_on {
border: 1px solid #000000;
}

/* Kirjat-osion solu */

.books {
width: 50%;
padding: 3px;
}

/* Viikkolistaus */
#toggle { display: none; float: right; }
#hidden-9 { overflow: hidden; }

.weekbox{
background-color: #EBEBEB;
border: 1px solid #9F9F9F;
-moz-border-radius-bottomleft: 4px;
-moz-border-radius-bottomright: 4px;
-moz-border-radius-topleft: 4px;
-moz-border-radius-topright: 4px;
background-image: url('lindex/butfade.png');
background-repeat: repeat-x;
background-position: bottom left;
padding: 6px;
font-family: Verdana;
font-size: 10px;
line-height: 15px;
}

/* Otsikoita */

h1 {
width: auto;
background-image: url('theme1/titlebg1.png');
background-repeat: repeat-x;
background-color: #006FA9;
height: 15px;
font-size: 12px;
font-weight: bold;
padding: 3px;
color: #FFFFFF;
margin-bottom: 8px;
margin-top: 8px;
text-align: left;
line-height: normal;
-moz-box-shadow: 0 0 5px 0px #737373;
-moz-border-radius-topleft: 4px;
-moz-border-radius-topright: 4px;
-moz-border-radius-bottomleft: 4px;
-moz-border-radius-bottomright: 4px;
}

h2 {
margin-top: 5px;
font-weight: normal;
font-size: 20px;
}

.fin {
	font-size: 20px;
	color: #000000;
	margin: 0 0 10px 0;
}
.en {
	font-size: 16px;
	color: #6B6B6B;
	margin: 0 0 20px 0;
}

/* Fonttityylit */

p {
margin: 15px 0;
}
.smallgrey {
font-size: 10px;
color: #7F7F7F;
}

.error {
color: red;
margin: 5px 15px;
}
.info {
color: blue;
margin: 5px 15px;
}

/* Listaus */

ul { 
list-style-image: url('li.png');
padding-left: 30px;
}
li {
padding: 3px;
}
ul ul { 
list-style-image: url('lili.png');
padding-left: 30px;
}
.skinli {
padding: 0px;
padding-left: 14px;
margin: 2px;
}

/* Kysely */

.gallup_question {
margin-bottom: 10px; 
font-weight: bold;
}
.gallup_answer {
margin-top: 6px;
}
.gallup_border {
width: 198px;
height: 12px;
border: 1px solid #7F7F7F;
padding: 1px;
margin-top: 4px;
margin-bottom: 15px;
line-height: normal;
}
.gallup_bar {
height: 12px;
background-color: #FADB02;
background-image: url('http://simpsonit.org/kysely/bg.png');
}
.gallup_bar_voted {
height: 12px;
background-color: #FCA702;
background-image: url('http://simpsonit.org/kysely/bg2.png');
}
.gallup_result {
float: right;
font-size: 10px;
margin: -1px;
padding: 0;
opacity: 0.5;
filter:alpha(opacity=50);
}
.gallup_all_voters {
margin-top: 6px; 
margin-bottom: 5px;'
}

/* Ylänavigaatio (Gallup-arkisto, esitysaikatauluarkisto) */

.top_navi {
	border-bottom: 1px solid #D7D7D7;
	padding: 2px;
}
.top_navi ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}
.top_navi ul li {
	display: inline;
	height: 30px;
	padding: 0;
	margin: 0 2px;
}
.top_navi ul li a {
	font: bold 12px verdana;
	width: 60px;
	height: 8px;
	padding: 5px 5px 4px 5px;
	background-color: #E1E1E1;
	color: #656565;
	border-top: 1px solid #D7D7D7;
	border-left: 1px solid #D7D7D7;
	border-right: 1px solid #D7D7D7;
}
.top_navi ul li a:hover {
	background-color: #D7D7D7;
}
#top_selected {
	background-color: #F6F6F6;
	padding: 5px;
}
#top_selected:hover {
	color: #656565;
}

/* JavaIRC */

#irc-box {
background-color: #F6F6F6;
border: 2px solid #9A9A9A;
padding: 5px;
width: 500px;
margin: 20px auto;
}
.command {
margin-top: 3px;
border: 1px solid #9F9F9F;
padding: 3px;
background-color: #FFFFFF;
}

/* Logo */

.logo {
max-width: 1100px;
height: 192px;
margin: auto;
overflow: hidden;
}
.logo_left {
width: 210px;
height: 192px;
background-image: url('http://simpsonit.org/kuvat/family2.png');
background-repeat: no-repeat;
background-position: bottom left;
}
.logo_right {
width: 574px;
height: 192px;
background-image: url('logo_right.png');
background-position: right;
background-repeat: no-repeat;
float: right;
}

/* Sisältö */

.content {
min-width: 727px;
max-width: 1100px;
margin: auto;
background-color: #F6F6F6;
border: 2px solid #9A9A9A;
margin-bottom: 10px;
-moz-box-shadow: 0 0 10px 0px #000000;
}

#content_left {
width: 172px;
background-image: url('lindex/line_left.gif');
background-position: right;
background-repeat: repeat-y;
padding: 8px 10px 8px 8px;
}
#content_center {
width: auto;
padding: 8px;
line-height: 17px;
}
#content_right {
width: 194px;
background-image: url('lindex/line_right.gif');
background-position: left;
background-repeat: repeat-y;
padding: 8px 8px 8px 10px;
}

/* Navigaatio */

.navigation ul {
list-style-type: none; 
margin: 0;
padding: 0;
}
.navigation ul li{
display: block;
height: 23px;
padding: 0;
}
.navigation ul li a{
display: block;
font: bold 12px verdana;
width: 160px;
height: 10px;
padding: 2px 5px 6px 5px;
background-color: #E1E1E1;
color: #656565;
border: 1px double #D7D7D7;
border-width: 3px;
}
.navigation ul li a:hover{
display: block;
font: bold 12px verdana;
width: 160px;
height: 10px;
padding: 2px 5px 6px 5px;
background-color: #109BD4;
color: #FFFFFF;
text-decoration: none;
border: 1px double #D7D7D7;
border-width: 3px;
}

/* Rivilistaukset */

.listing {
border: 1px solid #E1E1E1;
padding: 1px;
width: 100%;
}
.list1_tit {
width: 30%;
background-color: #E1E1E1;
font-size: 10px;
font-family: verdana;
padding: 3px;
}
.list1 {
width: 70%;
background-color: #E1E1E1;
font-size: 10px;
font-family: verdana;
padding: 3px;
}
.list2_tit {
width: 30%;
font-size: 10px;
font-family: verdana;
padding: 3px;
}
.list2{
width: 70%;
font-size: 10px;
font-family: verdana;
padding: 3px;
}

/* Copyrightit */

.copyrights {
padding: 4px;
text-align: center;
font-weight: bold;
color: #162814;
width: 70%;
margin: auto;
}

/* Palaute */
.palaute {
background-color: #FFFFFF;
border: 1px solid #ADADAD;
-moz-border-radius-topleft: 4px;
-moz-border-radius-topright: 4px;
-moz-border-radius-bottomleft: 4px;
-moz-border-radius-bottomright: 4px;
padding: 0px 5px 5px 5px;
margin: auto;
}

/* Uusi palaute */
.spam_input {
background-color: transparent;
border: 0;
font-size: 8px;
opacity: 0.5;
}
.spam_input:hover {
opacity: 0.5;
background-image: url('http://simpsonit.org/teemat/lindex/spam.png');
background-repeat: no-repeat;
}
.spam_input:active {
opacity: 1;
}

/* PALAUTE */

.palautteet {
max-width: 600px;
float: center;
}

.p_palaute {
	width: 80%;
	background-color: #FFFFFF;
	border: 1px solid #D7D7D7;
	margin-bottom: 15px;
	padding: 0px 5px;
	text-align: left;
	-moz-border-radius-topleft: 4px;
	-moz-border-radius-topright: 4px;
	-moz-border-radius-bottomleft: 4px;
	-moz-border-radius-bottomright: 4px;
}
.p_box {
	width: 100%;
	border: 1px solid #D7D7D7;
	margin-bottom: 15px;
}
.p_name {
	padding: 3px;
	background-color: #E0E0E0;
	border-bottom: 2px solid #CECECE;
	font: bold 14px Verdana;
	color: #3C3C3C;
	text-align: left;
}
.p_ansname {
	padding: 3px;
	border-top: 1px dashed #D7D7D7;
	font: 14px Verdana;
	color: #084E84;
	text-align: left;
}
.p_edit {
	height: 17px;
	font-size: 10px;
	text-align: right;
	float: right;
	margin: 0;
}
.p_msg {
	padding: 5px;
	text-align: left;
}
.p_ansmsg {
	padding: 5px 5px 5px 16px;
	text-align: left;
}
.p_time {
	padding: 6px 2px 2px 2px;
	text-align: right;
	font-size: 10px;
	color: #A0A0A0;
}
.p_textarea {
	font: 12px Verdana;
	width: 100%;
	height: 100%;
	border: 0;
}
#paging_left { text-align: left; width: 40%; }
#paging_center { text-align: center; width: 20%; }
#paging_right { text-align: right; width: 40%; }

/* Uutiset */

.news {
margin-bottom: 8px;
}
.news_title {
border-bottom: 1px solid #D3D3D3;
font-weight: bold;
padding: 4px 0 3px 0;
}
.piece_of_news {
padding: 4px 3px;
text-align: justify;
}
.news_timestamp {
margin-top: 10px;
font-style: italic;
padding: 3px 0;
}
.news_buttons {
float: right;
text-align: right;
}
.news_paging {
margin-top: 20px;
border-top: 1px solid #D3D3D3;
padding: 3px;
}

/* Uutisarkisto */

.archive {
padding: 0 10px 10px 0;
font-size: 10px;
}
.arkisto {
background-image: url('lindex/arkistobg.png');
background-position: bottom;
background-repeat: repeat-x;
padding: 5px;
margin-bottom: 15px;
line-height: 13px;
-moz-border-radius-bottomleft: 10px;
-moz-border-radius-bottomright: 10px;
}

/* Jaksohaku */
.arkisto input[type=text] {
	width: 90%;
	margin: 0;
	border: 1px solid #7E9DB9;
	float: left;
}
.arkisto button {
	width: 26px;
	height: 26px;
	border: 1px solid #7E9DB9;
	background: #7E9DB9;
	padding: 1px;
	margin: 0;
	float: left;
}
.arkisto_t {
	margin-top: 10px;
	font: 11px Verdana;
}


/* Jaksolistaus */
.e_fin { 
font-size: 16px;
font-weight: bold;
padding-top: 13px;
}
.e_en {
font-size: 10px;
padding: 3px 0 7px 0;
background: url('../kuvat/horizontal_line') repeat-x bottom;
}
.seasonbox {
float: right;
padding-right: 10px;
}

/* QuickBar */

.quickbar {
	width: auto;
	height: 17px;
	background: #006FA9 url('theme1/titlebg1.png') repeat-x;
	margin-bottom: 20px;
	padding: 4px 0 0 0;
	font: bold 10px Verdana;
	border: 1px solid #006294;
	-moz-box-shadow: 0 0 5px 0px #737373;
	-moz-border-radius: 4px;
}
.quickbar a { color: #FFFFFF; }
.quickbar a:hover { 
	text-decoration: none;
	-moz-border-radius: 4px;
	background: url('darker.png');
}

.qb_left { 
	width: 40%;
	float: left;
} .qb_left a { padding: 4px 13px 5px 5px; }

.qb_center { 
	width: 20%;
	float: left;
	text-align: center;
	font-size: 12px;
	margin: -1px 0 0 0;
} .qb_center a { padding: 4px 13px 5px 13px; }

.qb_right { 
	width: 40%;
	float: left;
	text-align: right;
} .qb_right a { padding: 4px 5px 5px 13px; }

/* Rivilistaukset */

.listing {
border: 1px solid #E1E1E1;
padding: 1px;
width: 100%;
margin-bottom: 25px;
}
.x1 {
width: 30%;
background-color: #E1E1E1;
font-size: 10px;
font-family: verdana;
padding: 5px;
}
.x2{
width: 70%;
background-color: #E1E1E1;
font-size: 10px;
font-family: verdana;
padding: 5px;
}
.y1 {
width: 30%;
background-color: #FFFFFF;
font-size: 10px;
font-family: verdana;
padding: 5px;
}
.y2{
width: 70%;
background-color: #FFFFFF;
font-size: 10px;
font-family: verdana;
padding: 5px;
}

/* Kausilista */

.jaksolista ul{
	margin: 0;
	list-style-type: none;
	padding: 0;
} .jaksolista ul li{
	display: block;
	height: 54px;
	margin: -5px 0 -10px 0;
} .jaksolista ul li a{
	display: block;
	font: bold 12px Verdana;
	text-decoration: none;
	padding: 8px 3px 3px 3px;
	color: #000000 !important;
	border-bottom: 1px solid #D7D7D7;
	color: #00598C;
	margin: 0;
} .jaksolista ul li a:hover {
	text-decoration: none !important;
	background: #F0F0F0;
	color: #006FAE;
}
.en_name {
	font: 10px Verdana;
	line-height: 24px;
	vertical-align: middle;
}

/* Pieni jaksohaku */
.p_jaksohaku input[type=text] {
	height: 18px;
	width: 152px;
	font-size: 12px;
	margin: 0;
	border: 1px solid #7E9DB9;
	float: left;
}
.p_jaksohaku button {
    width: 22px;
	height: 22px;
	border: 1px solid #7E9DB9;
	background: #7E9DB9;
	padding: 1px;
	margin: 0;
	float: left;
}

textarea{height:22px;width:148px;}

.pic-shadow {
	border: 1px solid #9A9A9A;
	-moz-box-shadow: 0 0 6px 0px #808080;
}

/* The Simpsons Movie */

.tsm_list {
	width: 228px;
	float: right;
	margin: -5px 10px 15px 15px;
	font-size: 11px;
}
.tsm_list h3 {
	font-size: 13px;
	margin: 5px 0;
}

.tsm_pic {
	font-size: 10px;
	margin-bottom: 15px;
	text-align: center;
}
.tsm_pic img {
	margin: 8px 0;
	border: 1px solid #9A9A9A;
	-moz-box-shadow: 0 0 6px 0px #808080;
}
.tsm_pic2 img {
	margin: 8px 0;
	}

/* Vanhaa */

.uutiset{
text-align: left;
padding: 6px;
background-color: #ECEDF3;
border: 1px solid #ADADAD;
}

/* Suomiviittaukset */

.suomiviittaukset {
width: 640px;
background-color: #F1F1F1;
-moz-border-radius-bottomleft: 10px;
-moz-border-radius-bottomright: 10px;
}

.suomiviittaukset .kuva {
width: 350px;
padding: 10px;
vertical-align: top;
}
.suomiviittaukset .teksti {
margin: 10px;
vertical-align: top;
}

.suomiviittaukset h3 {
	font-size: 2px;
	margin: 5px 0;
}