* {
	box-sizing: border-box;
}

body {
	/*background-color: #D6C9B3;*/
	background-image: url(pct/ilveilija_bg.png);
	background-repeat: repeat;
	font-family: verdana, allerta, aller, sans-serif;
	/*font-size: 11px;*/
	height: 100%;
	line-height: 1.2em;
	text-align: center;
	margin: 0 0 0 0;
	padding: 0 0 0 0;
}

h1 {

	font-family: candal, impact, Verdana, sans-serif;
	color: #A93622;
	font-size: 2.2em;
	font-weight: bold;
	line-height: 1.3em;
	letter-spacing: .05em;
	text-align: center;


}

h2 {
	color: #C3A91E;
	font-family: candal, impact, Verdana, sans-serif;
	font-size: 1.6em;
	text-align: center;
	margin-bottom: 3em;
}

h3,
.h3 {
	font-family: candal, impact, Verdana, sans-serif;
	font-size: 1.2em;
	color: #2D2F4D;
	margin: 1.3em 0 .5em 0em;
}

h4 {
	font-family: arial, helvetiva, verdana;
	font-size: 11px;
	margin: 4 0 2 1px;
	font-weight: normal;
	color: #ff5700;
	/*border-left: 1px solid #C3A91E;*/
}

p {
	margin: 0 0 1em 0em;
}


#wrapper {
	min-height: 100%;
	max-width: 1100px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 60px;
	position: relative;
	display: flex;
	flex-wrap: wrap;
	background: #E7DDCD;
	padding: 1em;
	border-right: 1px solid gray;
	border-bottom: 1px solid gray;
	border-left: 1px solid white;
}





.sisus {
	position: relative;
	flex: 49%;
	max-width: 49%;
	text-align: left;
	float: left;
	padding: 1em;
	margin: .5em auto;
	background: #fff;
	vertical-align: top;
	border: solid 5px #A93622;
}

.s0 {
	border-color: #A93622;
}

.s1 {
	border-color: #C3A91E;
}

.s2 {
	border-color: #C3A91E;
}

.s3 {
	border-color: #A93622;
	display: none;
}

.s4 {
	border-color: #A93622;
}



@media (max-width: 1100px) {
	#wrapper {
		max-width: 600px;
	}

	.sisus {
		flex: 100%;
		max-width: 100%;
	}


	/* .s2 {
    border-color: #A93622; 
    }
    
    .s3 {
    border-color: #C3A91E; 
    }*/



	.s3 {
		display: inline-block;
	}

	.s4 {
		display: none;
	}
}



small,
.small {
	font-size: .9em;
	font-weight: normal;
}









.sis {
	margin: 0 0 15 40px;
}

.c {
	text-align: center;
}

.sinB {
	color: #1f00cc;
	font-weight: bold;
}

.cour {
	font-size: 12px;
	font-family: 'courier new', courier, monospaced;
	font-weight: normal;
	color: #000000;
}

em {
	font-size: 10px;
	font-style: normal;
	font-weight: bold;
	color: #333333;
}

a {
	color: #000000;
	font-weight: bold;
	text-decoration: none;
}

a:visited {
	color: #000000;
}

a:hover {
	color: #666666;
}

a:active {
	color: #1f00cc;
}

td {
	border: none;
	font-size: 11px;
	vertical-align: top;
	text-align: left;
}

ul {
	list-style: disc;
}

ul ul {
	list-style: circle;
}

ul ul ul {
	list-style: none;
}






#div1,
#div2,
#div3,
#div4 {
	display: none;
	border-bottom: 1px solid #ff5700;
	padding: 0 0 10 0px;
	margin: 0 0 15 0px;
}

#div2 td {
	border: none;
	font-size: 11px;
	padding: 3 0 1 0px;
	vertical-align: top;
}

#div2 td.pien {
	font-size: 10px;
	line-height: 1.4;
}

#div4 {
	width: 480px;
	height: 210px;
	/**/
	background-image: url(pct/jq_pose.gif);
	background-position: right;
	background-repeat: no-repeat;
}

#div4 ul {
	list-style: none;
}

#div4 li.ll {
	margin-bottom: 8px;
}

#div5 {
	display: block;
	border-bottom: 1px solid #ff5700;
	padding: 0 0 10 0px;
	margin: 0 0 15 0px;
}

#esitykset {
	text-align: center;
}

#esitykset table {
	border: 1px solid #ff5700;
}

#esitykset table table {
	width: 300px;
	border: 1px solid #d8f600;
}

#esitykset td {
	padding: 5 5 5 5px;
}


.Vtbl {
	width: 410px;
	border: none;
}

.Vtd1 {
	width: 240px;
}

.Vtd2 {
	width: 170px;
	background-color: #c0c0c0;
	text-align: center;
	padding: 5 5 5 5px;
	border: 1px solid #ffffff;
}






#naviPlus0 {
	display: block;
	float: left;
	width: 145px;
}

#naviPlusSS {
	display: block;
	float: left;
	margin: 70 0 0 0px;
	padding: 30 0 65 0px;
	width: 140px;
	background-image: url(pct/bg_nav_pluso.gif);
	background-repeat: repeat-y;
	text-align: left;
}

#naviPlusSS a {
	margin: 6 0 0 0px;
	display: block;
	padding: 4 0 4 7px;
	background-color: #ffffff;
	border-left: 6px solid #ffffff;
	border-top: 1px solid #000000;
	border-bottom: 1px solid #000000;
}

#naviPlusSS a:visited {
	color: #000000;
	border-left-color: #ffffff;
}

#naviPlusSS a:hover {
	color: #666666;
	border-left-color: #ff5700;
}

#naviPlusSS a.curr {
	color: #ffffff;
	font-weight: normal;
	background-color: #ff5700;
	border-left-color: #ff5700;
}

#footer {
	position: relative;
	display: block;
	clear: left;
	width: 790px;
}

#ala {
	margin: 30 0 40 0px;
	float: right;
	width: 145px;
	text-align: left;
	font-size: 9px;
	color: #c0c0c0;
}











#kuvasivu {
	margin: 20 0 20 0px;
}

#kuvasivu a {
	color: #1f00cc;
}

#kuvasivu a:visited {
	color: #1f00cc;
}

#kuvasivu a:hover {
	color: #666666;
}

#kuvasivu a:active {
	color: #ff5700;
}