a img { border: ; }	/* ilman tätä IE kehystää linkkiKUVAT */

body {
	background-color:#feecc8;
	background:url("kuvat/i_oliivit.jpg");
	font-family:Garamond, "Times New Roman", Helvetica, "Sans Serif";
	color:#000000;
}
h1 { font-size: 1.8em; text-shadow: 1px 2px rgba(255,255,255,0.5); 
	font-variant: small-caps; }
h2 { font-size: 1.7em; text-shadow: 1px 1px rgba(255,255,255,0.5); }
h3 { font-size: 2em; font-weight: bold; margin-top:0px; margin-bottom:0px;}
h4 { font-size: 1.15em; margin: 1.03em 0 .2em; font-style:italic; margin-top:0px; }

a:link {color:#000000;}      /* unvisited link */
a:visited {color:#000000;}  /* visited link */
a:hover {color:#930100;}  /* mouse over link */
a:active {color:#000000;}  /* selected link */ 

a.h3h4linkki:link { text-decoration: none; }
a.h3h4linkki { text-decoration: none; }
a.h3h4linkki:hover { text-decoration: underline; }
a.h3h4linkki:active { text-decoration: underline; }

@-webkit-keyframes swingswang{
    0%{-webkit-transform: rotate(4deg);}
    50%{-webkit-transform: rotate(-2deg)}
    100%{-webkit-transform: rotate(4deg);}
}
@keyframes swingswang{
    0%{transform: rotate(0deg);}
    50%{transform: rotate(3deg)}
    100%{transform: rotate(0deg);}
}
video#bgvid { 
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
    -ms-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    background: url(polina.jpg) no-repeat;
    background-size: cover; 
}
img.kuvalinkki {
	width:180px;
	height:270px;
	box-shadow: 7px 7px 4px #808080;
}
img.kuvalinkki:hover {
	box-shadow: 7px 7px 4px #404040;
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    -webkit-animation: swingswang 3.5s ease-in-out forwards infinite;
    animation: swingswang 2.5s ease-in-out forwards infinite;
}
img.kuvalinkki:active {
	box-shadow: 7px 7px 4px #000000;
}

#irtokuva {
	position:absolute;
	left:0px;
	top:459px;
	z-index: -1;
}
#taus {
	position:absolute;
	left:0px;
	top:459px;
	z-index: -2;

}

#pamf {		/* pääsivu afrikkataustan päällä */
	background:url("kuvat/kanskuv1024x768.jpg");
	background-repeat:repeat;
	opacity: 0.92;
/* jos tasainen taustaväri:  */
/*	background-color:#e7e3d9; */
/* jos tasainen, osittain läpinäkyvä väri:  */
/*	background-color:rgba(255,255,255,0.85); */
	width:1024px;
	margin-left:auto;
	margin-right:auto;
	border-style:solid;
	border-width:4px;
	border-color:#ffeeee;
	box-shadow: 15px 15px 15px #332222;
}
hr.viivatyyli1 {
	height: 6px;
	background: url(kuvat/hr-tyyli-2.png) repeat-x 0 0;
   	border: 0;
}

hr.viivatyyli2 {
	color:#000000;
	background-color:#bb0000;
	height:2px;
}

table td { 
	vertical-align: top;
}

td.otsikko {
    text-align:center; 
    vertical-align:middle;
}

.toinenrivi {
	font-size: 2.9em;
	font-weight: bold;
	font-variant: small-caps;
	text-shadow: 1px 1px rgba(255,255,255,0.5);

}

td.vihje {
	font-size: 1.3em;
	font-weight: bold;
	padding-left:140px;
	padding-right:50px;
}

td.laji  {
	width:240px;
	text-align:left;
	padding-left:140px;
}

td.kuva {
	width:240px;
	text-align:left;
	padding-left:140px;
	padding-bottom: 2.5em;
}

.kuvaus {
	padding-right:50px;
	font-size:1.2em;
	padding-bottom: 2.5em;
	}
	
span.palkinto {
	font-size: 1.0em;
	font-weight: bold;
	color:#009900;

	}
	
span.lainaus {
/*	font-style:italic; */
	}
	
a.latauslinkki {
	font-size: 1.0em;
	font-weight: bold;
	font-variant: small-caps;
	color:#c30100;
	background-color: white;
	line-height:200%;
	} 
/*
h4 a, h4 a:active, h4 a:visited, h4 a:hover {
	font-size: 1.3em;
	font-variant:small-caps;
	font-style:normal;
	color:green;
	background-color: white;
	} */
td.hinta {
	font-size: 1.2em;
	font-weight: bold;
	font-variant:small-caps;
	color:#009900;
	padding-left:140px;
	padding-right:50px;
	text-align:center;
    vertical-align:middle;
	}

td.kaupat {
	padding-left:140px;
	text-align:center;
	}
img.logo {
	height:79px;
	}
td.ksivu {
	font-size: 1.4em;
	font-weight:bold;
	font-variant:small-caps;
	text-align:left;
	padding-left:140px;
}
td.linkit {
	font-size: 1.4em;
	font-weight:bold;
	font-variant:small-caps;
	text-align:right;
	padding-right:50px;
	padding-bottom:15px;
}