/*------------------------------------*\
	RESET
\*------------------------------------*/
body, div, dl, dt, dd, ol, li,
h1, h2, h3, h4, h5, h6,
pre, form, fieldset, input, textarea,
p, blockquote, th, td {
	margin: 0;
	padding: 0;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
fieldset, img {
	border: 0;
}
address, caption, cite, dfn, th, var {
	font-style: normal;
	font-weight: normal;
}
caption, th {
	text-align: left;
}
h1, h2, h3, h4, h5, h6 {
	font-size: 100%;
	font-weight: normal;
}
q:before, q:after {
	content: '';
}
abbr, acronym {
	border: 0;
}

/*------------------------------------*\
	MAIN
\*------------------------------------*/
html {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.75em; /* 16 * 0.75 = 12 */
	background: #fff;
	color: #333;
}
body {
	margin: 0 auto;
	line-height: 1.5em;
}

/*------------------------------------*\
	TYPOGRAFIA
\*------------------------------------*/

/*--- PARAGRAPHS ---*/

p {
	margin-bottom: 24px;
}

/*
p+p {
	text-indent: 1em;
	margin-top: -24px;
}
*/

/*--- INGRESSI ---*/

body > p:first-of-type { 
	font-size: 1.125em;
		/* 18px → 18 ÷ 16 = 1.125 */

	line-height: 1.333em;
		/* 24px → 24 ÷ 18 = 1.3333(3) */
}


/*--- OTSIKOT ---*/

h1, h2, h3, h4, h5, h6 {
	margin-bottom: 24px;
	font-weight: bold;
}

h1 {
	font-size: 1.5em; /* 24px --> 24 ÷ 16 = 1.5 */
	line-height: 1em; /* 24px --> 24 ÷ 24 = 1 */
}

h2 {
	font-size: 1.375em; /* 22px --> 22 ÷ 16 = 1.375 */
	line-height: 1.0909em; /* 24px --> 24 ÷ 22 = 1.090909(09) */
}

h3 {
	font-size: 1.25em; /* 20px --> 20 ÷ 16 = 1.25 */
	line-height: 1.2em; /* 24px --> 24 ÷ 20 = 1.2 */
}

h4 {
	font-size: 1.125em; /* 18px --> 18 ÷ 16 = 1.125 */
	line-height: 1.333em; /* 24px --> 24 ÷ 18 = 1.3333333(3) */
}

h5, h6 {
	font-size: 1em; /* 16px --> 16 ÷ 16 = 1 */
	line-height: 1.5em; /* 24px --> 24 ÷ 16 = 1.5 */
}

/*--- LISTS ---*/

ul, ol {
	margin-bottom: 24px;
		/* Remember, if your magic number is
		different to this, use your own. */
}

ul {
	list-style: square outside;
}

ul ul,
ol ol {
	margin: 0 0 0 60px;
}

/*--- QUOTES ---*/
blockquote {
	margin: 0 60px 0 45px;
	border-left: 5px solid #ccc;
	padding-left: 10px;
	text-indent: -0.4em;
}

blockquote b {
	display: block;
	text-indent: 0;
}

/*--- LINKS ---*/
a {
	color: #09f;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

a:active,
a:focus {
	position: relative;
	top: 1px;
}

.read-more:after {
	content: "\00A0\000BB"; /* Insert a space then right angled-quote */
}

/*--- RAKENNE ---*/
html {
}
body {
	background: url(../img/bg_porintaidekoulu.jpg) top center no-repeat #d9d9d9;
}
.main {
	width: 950px;
	margin: 0 auto 0 auto;
	overflow: auto;
}
#valkoinen {
	background: url(../img/bg_valkoinen.jpg) top center #ffffff no-repeat;
}
#logo {
	height: 148px;
	width: 310px;
}
#top {
	width: 100%;
	height: 285px;
}
#top #top_palkki {
	height: 285px;
	width: 100%;
}
#top #top_palkki #vasen {
	float: left;
	width: 170px;
	height: 285px;
	background: url(../img/navi_bg.png) right no-repeat;
}
ul#navi {
	margin-top: 20px;
	margin-left: 28px;
	list-style-image: url(../img/navi_valk.jpg);
}
ul#navi li {
	position: relative;
	margin-bottom: 3px;
	width: 140px;
	height: 23px;
}
ul#navi li:hover {
	list-style-image: url(../img/navi_vihr.jpg);
}
ul#navi, ul#navi li {
	font-size: 14px;
	color: #FFF;
	padding: 0;
}
#navi li a {
	position: absolute;
	top: 1px;
	color: #FFF;
	width: 140px;
	height: 23px;
}
#navi li a:hover {
	text-decoration: none;
	color: #8cc63f;
}
ul#navi li#valittu {
	list-style-image: url(../img/navi_vihr.jpg);
}

#top #top_palkki #oikea {
	float: right;
	width: 780px;
	height: 285px;
	background: url(../img/bg_vihr.png);
	position: relative;
}
#top #kuva {
	background: url(../img/nosto_lapset.jpg) top center no-repeat;
	width: 770px;
	height: 285px;
}
#top #navi_yla {
	position: absolute;
	font-size: 14px;
	right: 10px;
	top: 0;
	width: 665px;
	height: 22px;
	background: url(../img/ylapalkki.png) top center no-repeat;
}
#top #navi_yla a {
	color: #000000;
	text-decoration: none;	
	margin-right: 40px;
}
#top #navi_yla a img {
	margin-right: 5px;	
}
#top #navi_yla a:hover {
	text-decoration: none;
	color: #666;
}
#content {
	width: 770px;
	padding-right: 10px;
	background: url(../img/bg_vihr.png);
	margin-left: 170px;
	overflow: auto;
	position: relative;
}
#content #valinta {
	position: absolute;
	right: 10px;
	top: 0;
	background: url(../img/valittu-palkki.png) top center no-repeat;
	width: 763px;
	height: 25px;
}
#content #valinta p {
	color: #ffffff;
}
#sisalto {
	
	width: 758px;
	float: right;
	padding-top: 38px;
}
#content #tekstialue {
	width: 710px;
	background: #ffffff;
	padding-bottom: 1px;
	padding-left: 35px;
	padding-top: 15px;
	overflow: auto;

}
#content #tekstialue-left {
	float: left;
	width: 520px;
	padding-right: 25px;
	border-right: 1px solid #bababa;
	overflow: hidden;
}
#content #tekstialue-right {
	width: 140px;
	float: right;
	padding-left: 0px;	
	padding-right: 0px;
}
#content #tekstialue-right img {
	margin-top: 1px;
	margin-bottom: 1px;	
}
#content #tekstialue-left img {
	max-width: 395px;
	margin-bottom: 24px;
}
#content #ylaosa {
	width: 745px;
	height: 16px;
	background: url(../img/content_bg_top.png) top center no-repeat;
}
#content #alaosa {
	width: 745px;
	height: 16px;
	background: url(../img/content_bg_end_2.png) top center no-repeat;	
}
#footer {
	overflow: auto;
}
#footer #content_end {
	background: url(../img/content_bg_end.png) top center no-repeat;
	width: 780px;
	height: 33px;
	float: right;
}
#footer #buttons {
	float: right;
	width: 780px;
	height: 20px;
}
#footer_txt {
	width: 500px;
	margin-left: 35px;
	padding-top: 15px;
}
#footer_txt p {
	font-size: 11px;
	color: #000000;
}
.vali {
	margin-left: 4px;
	margin-right: 4px;
	font-weight: bold;
}
.tab {
    position: absolute;
    left: 10em;
   }