/*
Theme Name: k2-ksv
Theme URI: www.keskisuomenvihreat.fi
Description: K2 teema Vihreiden väreillä Keski-Suomen Vihreiden käyttöön
Author: Janne Warén
Author URI: www.jannewaren.eu
Template: k2
Header Text Color: none
Header Width: 950
Header Height: 100
*/ 

/*
Tämä tiedosto sisältää kaikki MUUTOKSET k2 vakioteemaan.
Kaikki mitä ei ole muutettu tulee yhä k2/style.css tiedostosta.
Sekä k2 että k2-ksv ovat siis tärkeitä, älä poista!

Muutettavat kohdat copyopastettu kokonaisuudessaan ja muutetut rivit merkattu.
*/

/* Muokataan yläpalkkia, korkeus 200px->100px */
#header {
	position: relative;
	height: 100px; /* muutos */
	background: #3371A3;
	background-position: top right;
	background-repeat: no-repeat;
	/*background-image: url("http://www.keskisuomenvihreat.fi/wp-content/uploads/2010/05/vks_logo_header_950x100_fade.png");*/
	background-image: url("http://www.keskisuomenvihreat.fi/wp-content/uploads/2010/05/vks_logo_header_966x108_fade.png");
	overflow: hidden;
	}

/* Tehdään blogin nimestä näkymätön (teksti/logo on taustakuvassa), ja oikean kokoinen jotta se asettuu linkiksi logon päälle */
#header .blog-title a {
	display: block;
	position: absolute;
	top: 0px;
	left: 0px;
	font-size: 0px;
	padding-bottom: 60px;
	padding-right: 340px;
}

/* body ja page (koko sivun asetukset) */
body {
	font-size: 70%; /* muutos vähän isompaan tekstiin, alunperin 62,5% eli 10px, nyt 70% eli 12px. Siis 1em */
	color: #444; /* muutos, alkuperäinen #444 */
	background: #61bf1a; /* muutos, alkuperäinen #eee, nykyinen vanhan vihreän keski-suomen logon pohjaväri */
	text-align: left; /* muutos, alkuperäinen center */
	background-position: top left;
	background-repeat: repeat-x;
	background-image: url("http://www.keskisuomenvihreat.fi/wp-content/uploads/2010/05/tausta_fade.png");
	}

.columns-three #page {
	width: 966px;
	}

#page {
	background-position: top left;
	background-repeat: repeat-x;
	background-image: url("http://www.keskisuomenvihreat.fi/wp-content/uploads/2010/05/kulmien_tausta108.png");
	text-align: left;
	margin: 0 auto;
	padding-top: 0px; /* muutos, ylhäältä valkoinen reunus pois, alkuperäinen 20px */
	position: relative;
	border: none;  /* muutos, raja pois, alkuperäinen 1px solid #ddd */
	/* turha border-top: none; */
	clear: both;
	/* näihin muutokset, alunperin alakulmissa 5px */
	border-bottom-left-radius: none;
	border-bottom-right-radius: none;
	-moz-border-radius-bottomleft: none;
	-moz-border-radius-bottomright: none;
	-webkit-border-bottom-left-radius: none;
	-webkit-border-bottom-right-radius: none;
	border-top-left-radius: none;
	border-top-right-radius: none;
	-moz-border-radius-topleft: none;
	-moz-border-radius-topright: none;
	-webkit-border-top-left-radius: none;
	-webkit-border-top-right-radius: none;
	}

.content {
	

	/*border: 8px solid #FFF;
	border-left: 16px solid #FFF;
	border-right: 16px solid #FFF;
	-moz-border-bottom-colors: #60bf19 #62c31a #64c71a #66cc1b #67ce1b #69d21b #6cd81c #6edb1e;
	-moz-border-top-colors:    #60bf19 #62c31a #64c71a #66cc1b #67ce1b #69d21b #6cd81c #6edb1e;
	-moz-border-left-colors:   #60bf19 #62c31a #64c71a #66cc1b #67ce1b #69d21b #6cd81c #6edb1e;
	-moz-border-right-colors:  #60bf19 #62c31a #64c71a #66cc1b #67ce1b #69d21b #6cd81c #6edb1e;*/
	/*padding: 5px 5px 5px 15px;*/

	border: 8px solid #FFFFFF;
	border-bottom-left-radius: 8px;
	border-bottom-right-radius: 8px;
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
	-moz-border-radius-bottomleft: 8px;
	-moz-border-radius-bottomright: 8px;
	-moz-border-radius-topleft: 8px;
	-moz-border-radius-topright: 8px;
	-webkit-border-bottom-left-radius: 8px;
	-webkit-border-bottom-right-radius: 8px;
	-webkit-border-top-left-radius: 8px;
	-webkit-border-top-right-radius: 8px;
}


#nav-above {
	display: none;
	}

#footer {
	clear: both;
	margin: 0 auto;
	padding: 0;
	text-align: center;
	color: #777;
	} 

/* älä näytä alalaidan mainoksia */
#footer .footerpoweredby, .footerstyledwith {
	display: none;
}

.footerfeedlinks {
	text-align: center;
}

.kuulumisiatxt {
	float: right;
	width: 200px;
	margin: 10px;
	padding: 5px;
	background: #FBFBEF;
	border-left: 8px solid #66cc1b;
	border-right: 8px solid #66cc1b;
	border-top: 4px solid #66cc1b;
	border-bottom: 4px solid #66cc1b;
	border-bottom-left-radius: 16px;
	border-bottom-right-radius: 16px;
	border-top-left-radius: 16px;
	border-top-right-radius: 16px;
	-moz-border-radius-bottomleft: 16px;
	-moz-border-radius-bottomright: 16px;
	-moz-border-radius-topleft: 16px;
	-moz-border-radius-topright: 16px;
	-webkit-border-bottom-left-radius: 16px;
	-webkit-border-bottom-right-radius: 16px;
	-webkit-border-top-left-radius: 16px;
	-webkit-border-top-right-radius: 16px;
	/*-moz-border-bottom-colors: #6edb1e #60bf19 #62c31a #64c71a #66cc1b #67ce1b #69d21b #6cd81c;
	-moz-border-top-colors:    #6edb1e #60bf19 #62c31a #64c71a #66cc1b #67ce1b #69d21b #6cd81c;
	-moz-border-left-colors:   #6edb1e #60bf19 #62c31a #64c71a #66cc1b #67ce1b #69d21b #6cd81c;
	-moz-border-right-colors:  #6edb1e #60bf19 #62c31a #64c71a #66cc1b #67ce1b #69d21b #6cd81c;*/
}

p.ehdokkaattxt {
	font-size: 0.8em;
}

/* Laitetaan text-widgetti numero 5 eli alavalikko olemaan aina tietyn kokoinen ja sensemmoista */
#text-5 {
	height: 300px;
	/*left: -30px;
	border: medium green groove;*/
	padding: 0;
	padding-top: 10px;
	padding-left: 5px;
	padding-right: 5px;
	margin: 0;
}

#sidebar-1 {
	padding-left: 0px;
	padding-right: 0px;
}

/* ei vielä mitään */
.content {
	padding: 0 20px 30px;
	}

/* ylläpito- painike oikeassa yläkulmassa */
.admintab a {
	position: fixed;
	top: 5px;
	right: 5px;
	color: #FFFFFF !important;
	background: #1D711B;
	border: 1px #61BF1A solid;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
}

.admintab a:hover {
	background: #61BF1A !important;
	color: #FFFFFF !important;
	border: 1px #000000 solid;
}

/* Artikkeleiden edit-nappula */
.post-edit-link {
	background: #1D711B !important;
	color: #FFFFFF !important;
}

/* ylävalikko */

.menu {
	position: absolute;
	/* border: 1px #000000 solid; */

	position: fixed;
	top: 0;
	right: 0;
	margin: 0 0 0 0;
	padding: 0 0 0 0;
	height: 40px;
	width: 600px;
	/* display: table; */
	text-align: center;
}

ul.menu {
	position: absolute;
	white-space: nowrap;
	top: 20px;
	right: 0;
	margin: 0;
	}

/* ul.menu, */
ul.menu li {
	float: left;
	list-style: none;
	margin-right: 2px;
	}

ul.menu li a {
	display: block;
	padding: 5px 15px;
	font-size: 1.3em;
	color: white;
	background: #52a417;
	border: 1px #1D711B solid;
	border-radius: 8px;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	}

ul.menu li a:hover {
	background: #1D711B;
	color: #FFFFFF;
	text-decoration: none;
	}

ul.menu li.current_page_item a,
ul.menu li.current_page_item a:hover,
ul.menu li.current_page_ancestor a,
ul.menu li.current_page_ancestor a:hover,
body.single ul.menu li.blogtab a,
body.single ul.menu li.blogtab a:hover {
	color: #FFFFFF;
	background: #1D711B;
	text-decoration: none;
	}

/* alavalikko */

#alavalikko {
	position: absolute;
	top: 60px;
	right: 0;
	margin: 0 0 0 0;
	padding: 0 0 0 0;
	height: 40px;
	width: 600px;
	text-align: center;
}

#alavalikko ul {
	position: absolute;
	white-space: nowrap;
	top: 20px;
	right: 0;
	margin: 0;
}

#alavalikko li {
	float: left;
	list-style: none;
	margin-right: 2px;
}

#alavalikko a {
	display: block;
	padding: 5px 15px;
	font-size: 1.0em;
	color: white;
	background: #1D711B;
	border: 1px #52a417 solid;
	border-radius: 8px;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
}

#alavalikko a:hover {
	background: #52a417;
	color: #FFFFFF;
	text-decoration: none;
	border: 1px #1D711B solid;
}

div.pykuulumisia, div.pykuulumisia a {
	font-size: 0.9em;
	color: #000000;
}


/* Poistetaan upotetun kuvan (kuvatekstin kanssa) hover-efekti */
a[rel~="attachment"] img:hover,
.gallery a img:hover,
.wp-caption:hover {
	border: 1px solid #ddd;
	padding: 3px;
	}

/* TEKSTIMUOTOILUT */

/* kaikkiin kappaleisiin vasemman reunan tasaus, keskitasaus näyttää tyhmältä, joku "ammattigraafikko" sanoi :) */
p {
	text-align: left;
}

.entry-title {
	font-size: 2em !important;
	text-shadow: 4px 4px 4px #61bf1a !important;
}

/* Otsikko 1 */
h1 {
	font-size: 2em; /* muutos, alunperin 3em */
	text-decoration: none;
	}

/* Otsikko 2 */
h2 {
	font-size: 1.5em; /* muutos, alunperin 2.5em */
	text-decoration: none;
	}

/* Otsikko 1 */
.entry-title, h3 {
	font-size: 1.6em;
	font-weight: normal;
	text-shadow: 2px 2px 2px #61bf1a;
	text-decoration: none;
	color: #000 !important;
	}

.entry-title, .entry-title a, .entry-title a:visited,
h2, h2 a, h2 a:visited,
h3, h3 a, h3 a:visited,
h4, h4 a, h4 a:visited {
	color: #444;
	text-decoration: none;
	}

.entry-title, .entry-title a, .entry-title a:hover, .entry-title a:visited,
h2, h2 a, h2 a:hover, h2 a:visited,
h3, h3 a, h3 a:hover, h3 a:visited,
h4, h4 a, h4 a:hover, h4 a:visited {
	text-decoration: none;
	color: #444 !important;
	}

a:hover, a:visited:hover {
	text-decoration: none;
	}

.entry-content a:visited {
	color: #b41;
	}

.entry-content {
	font-size: 1.2em;
	line-height: 1.2em; /* Muutos, alunperin 1.8em */
	text-align: justify;
	color: #444;
	}

.textwidget {
	line-height: 1.2em;
}

/* Otsikko 4 */
h4 {
	font-size: 1.2em; /* muutos, alunperin 2.0em */
	font-weight: normal;
	text-shadow: 2px 2px 2px #61bf1a;
	color: #444 !important;
	text-decoration: none;
	}

/* Otsikko 5 */
.entry-foot h5 {
	font-size: 1.1em; /* muutos, alunperin 1.5em */
	font-weight: normal;
 	text-decoration: none;
	}

/* Otsikko 6 on kai samankokoinen kuin leipäteksti, font-family vaan on eri */

/* LINKKIEN ULKOASU */



a, a:link {
  color: #61bf1a;
  text-decoration: none;

}

a:hover {
  text-decoration: none;
  color: #1D711B;
}



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

