/***RESET***/
img, fieldset {
	border: 0;
}

/* set image max width to 100% */
img {
	max-width: 100%;
	height: auto;
}

/* set html5 elements to block */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { 
    display: block;
}

/***GENERAL***/
html 	{
	background-image: url(../images/layout/ylapaneeli.png);
	background-position: top;
	background-repeat: repeat-x;
	background-color: #8e837d;
	}
body {	color: #3f312a;
	font: .9em Arial, Helvetica, sans-serif;
	text-align: center;
     	}
h2 {
	font-family: Segoe UI, Kalinga, Arial, Helvetica, sans-serif;
	font-weight: 600;
	font-size: 2.313em;
	color: #3f312a;
	margin-bottom: 0px;
	padding-top: 5px;
      	line-height: 38px;
	}
/*** Chrome only ***/
@media screen and (-webkit-min-device-pixel-ratio:0) {
h2 {
	font-family: Segoe UI, Kalinga, Arial, Helvetica, sans-serif;
	font-weight: 700;
	font-size: 2.313em;
	color: #3f312a;
	margin-bottom: 0px;
	}
}

h3.kayttajanimi {
	font-family: Segoe UI, Kalinga, Arial, Helvetica, sans-serif;
	font-weight: 600;
	font-size: 1.6em;
	color: #3f312a;
	margin-bottom: 0px;
	margin-top: 0px;
	}

/*** Chrome only ***/
@media screen and (-webkit-min-device-pixel-ratio:0) {
 h3.kayttajanimi  { 
	font-family: Segoe UI, Kalinga, Arial, Helvetica, sans-serif;
	font-weight: 700;
	font-size: 1.6em;
	color: #3f312a;
	margin-bottom: 0px;
	margin-top: 0px;
  }
}
h3.pelitilastot {
	font-family: Segoe UI, Kalinga, Arial, Helvetica, sans-serif;
	font-weight: 600;
	font-size: 1.3em;
	color: #3f312a;
	margin-bottom: 0px;
	margin-top: 0px;
	}
/*** Chrome only ***/
@media screen and (-webkit-min-device-pixel-ratio:0) {
 h3.pelitilastot {
	font-family: Segoe UI, Kalinga, Arial, Helvetica, sans-serif;
	font-weight: 700;
	font-size: 1.3em;
	color: #3f312a;
	margin-bottom: 0px;
	margin-top: 0px;
	}
}

h3 {
	font-family: Segoe UI, Kalinga, Arial, Helvetica, sans-serif;
	font-weight: 600;
	color: #3f312a;
	font-size: 1.500em;
	margin-bottom: 0px;
	}
/*** Chrome only ***/
@media screen and (-webkit-min-device-pixel-ratio:0) {
h3 {
	font-family: Segoe UI, Kalinga, Arial, Helvetica, sans-serif;
	font-weight: 700;
	color: #3f312a;
	font-size: 1.500em;
	margin-bottom: 0px;
	}
}
h3.h3_ukk {
	font-family: Segoe UI, Kalinga, Arial, Helvetica, sans-serif;
	font-weight: 700;
	color: #3f312a;
	font-size: 1.313em;
	margin-bottom: 0px;
	}

h4 {
	font-family: Segoe UI, Kalinga, Arial, Helvetica, sans-serif;
	font-weight: 600;
	color: #3f312a;
	font-size: 1.125em;
	margin-bottom: 0px;
	}

.ukk_links {
        font-weight: bold;
	margin-left: -23px;
	}

ol.ukk_links li
	{
	padding-bottom: 8px;
	}

.ukk_sublist {
        font-weight: normal;
	}

.beginnerguidelinks {
        font-weight: bold;
	}
ol.beginnerguidelinks li
	{
	padding-bottom: 8px;
	}

/*** Chrome only ***/
@media screen and (-webkit-min-device-pixel-ratio:0) {
h4 {
	font-family: Segoe UI, Kalinga, Arial, Helvetica, sans-serif;
	font-weight: 700;
	color: #3f312a;
	font-size: 1.125em;
	margin-bottom: 0px;
	}
}

h4.footer {
	margin-top: 40px;
	margin-bottom: 18px;
	font-size: 1.000em;
	color: #3f312a;
	}
p, ul li { line-height: 150%;  }


#container {
	margin: 0 auto;
	width: 1020px;
	margin-top: -8px;
	background-image: url(../images/layout/ylatausta.jpg), url(../images/layout/sisaltoalue_tausta.png);
	background-position: top, top;
	background-repeat: no-repeat, repeat-y;
	text-align: left;
	padding-bottom: 132px;
     }
#header {
	width: 1020px;
	height: 145px;
	}
   #sitelogo {
	float: left;
	width: 429px;
	height: 137px;
	margin-left: 36px;
	margin-top: 9px;
	}
   #navi {
	float: right;
	margin-right: 59px;
	margin-top:3px;
	}
	#tyot { float: right;
		 margin-right: 21px; 
		 width: 74px;
		 height: 74px; }
	#kaupat { float: right;
		   margin-right: 25px; 
		   width: 86px;
		   height: 74px; }
	#alueet { float: right; 
		   margin-right: 20px; 
		   width:83px;
		   height: 74px; }
	#kenneli { float: right;
		    margin-right: 19px; 
 		    width: 92px;
		    height: 74px; }
#section {
	position: relative;
	background-image: url(../images/layout/laudat.png);
	background-position: top left;
	background-repeat: no-repeat;
	margin-top: -64px;
	margin-left: 32px;
	margin-right: 34px;
	padding-top: 64px;
	}
#sidebar {
	float: left;
	margin-top: -7px;
	margin-left: 14px;
	width: 235px;
	}
   #sidebarcontents
	{
	margin-top: -5px;
	margin-left: 22px;
	}
   .sivupaneeli-viiva
	{
	margin-top: -3px;
	height:9px;
	width: 180px;
	background-image: url(../images/layout/vaaka-viiva.png);
	background-position: top;
	background-repeat: repeat-x;
	}
   #sivupaneeli-linkit
	{
	list-style-type: none;
	margin-left: -40px;
	font-size: 1.125em;
	}
   #sivupaneeli-prilinkit
	{
	list-style-type: none;
	margin-left: -40px;
	font-size: 1.05em;
	}
  ul.sivupaneeli-linkit li
	{
	padding-bottom: 3px;
	}
   .sivupaneeli-linkit a:link {color:#65524a; text-decoration: none;}      /* unvisited link */
   .sivupaneeli-linkit a:visited {color:#65524a; text-decoration: none;}  /* visited link */
   .sivupaneeli-linkit a:hover {color:#3f312a; text-decoration: none;}  /* mouse over link */
   .sivupaneeli-linkit a:active {color:#65524a; text-decoration: none;}  /* selected link */
   #sivupaneelimainos
	{
	width: 200px;
	height: 200px;
	margin-left: -5px;
	}

#article {
	float: right;
	width: 685px;
	margin-right: 15px;
	margin-top: -45px;
	background-image: url(../images/layout/kiekurat.png);
	background-position: top;
	background-repeat: no-repeat;
	}
#maincontents
	{
	margin-top: -5px;
	margin-left: 33px;
	margin-right: 33px;
	}
   #sisaltomainos
	{
	width: 468px;
	height: 60px;
	margin-left: 0px;
	margin-bottom: 5px;
	}
.sisalto-viiva
	{
	height: 9px;
	width: 620px;
	background-image: url(../images/layout/vaaka-viiva.png);
	background-position: top;
	background-repeat: repeat-x;
	}
#kuvake
	{ margin-top: 15px;
	  margin-left: 20px;
	  width: 180px;
	  height: 180px;
	  border-style: solid ; 
	  border-color: #99b1b2; 
	  border-width: 1px;
	}
#kehys {
	margin-top: -198px;
	}
#footer {
	position: absolute;
	width: 1020px;
	height: 132px;
	margin-top: 8px;
	background-image: url(../images/layout/footer2.png);
	background-position: bottom;
	background-repeat: no-repeat;
	text-align: center;
	}
   .footer-linkit a:link {color:#3f312a; text-decoration: none;}      /* unvisited link */
   .footer-linkit a:visited {color:#3f312a; text-decoration: none;}  /* visited link */
   .footer-linkit a:hover {color:#0b0807; text-decoration: none;}  /* mouse over link */
   .footer-linkit a:active {color:#3f312a; text-decoration: none;}  /* selected link */

   .regular a:link, 	a:link.regular  	{color:#65524a;}      /* unvisited link */
   .regular a:visited, 	a:visited.regular 	{color:#65524a;}  /* visited link */
   .regular a:hover, 	a:hover.regular 	{color:#3f312a;}  /* mouse over link */
   .regular a:active, 	active.regular 		{color:#65524a;}  /* selected link */

   .regular_nounderline a:link {color:#65524a; text-decoration: none;}      /* unvisited link */
   .regular_nounderline a:visited {color:#65524a; text-decoration: none;}  /* visited link */
   .regular_nounderline a:hover {color:#3f312a; text-decoration: none;}  /* mouse over link */
   .regular_nounderline a:active {color:#65524a; text-decoration: none;}  /* selected link */

   .kayttajanimi a:link {color:#3f312a; text-decoration: none;}      /* unvisited link */
   .kayttajanimi a:visited {color:#3f312a; text-decoration: none;}  /* visited link */
   .kayttajanimi a:hover {color:#2a1f1a; text-decoration: none;}  /* mouse over link */
   .kayttajanimi a:active {color:#3f312a; text-decoration: none;}  /* selected link */


.clear {
	clear:both;
	}