/* CSS Photography Gallery */

/* styling for gallery */

#container-photos {
	position:relative; 
	width:770px; 
	height:570px;
	margin:1em 0 0 1.5em;
}
#container-photos img.portrait  {
	border:0px;
	margin-top:10px;
	margin-left:130px;
	border:1px solid #fff;
	}
#container-photos img.landscape  { 
	border:0px;
	margin-top:0px;
	margin-left:0px;
	border:1px solid #fff;
	}	

/* valitse ylös alas tai vasen/oikea */
#container-photos .thumbs { 
	left:0px; 
	top:0;
	}

/* KUVATEKSTI */
#container-photos a.gallery:hover span {
	display:block; 
	position:absolute; 
	top:560px; 
	left:40px; 
	font-style:normal;
	font-size:1em;
	color:#575757;  
	
	}
	
/* KUVATEKSTI ekarivi */
#container-photos a.gallery:hover span:first-line {
	font-style:normal; 
	font-size:1em;
	line-height:1.1em;
	color:#000;
	} 
	
#container-photos a.gallery:active, 
#container-photos a.gallery:focus {
	border:1px solid #fff;
	}
	
/* kuvalaatikko */
#container-photos a.gallery:active em, 
#container-photos a.gallery:hover em {
	display:block; 
	position:absolute; 
	width:700px; 
	height:580px; 
	top:55px;
	left:40px; 
	border:none; 	
	}
	
#container-photos h4 {
	font-family:'Cantarell', Geneva, Lucida Sans, Lucida Grande, Lucida Sans Unicode, Verdana, sans-serif;
	clear:both;
	margin-top:280px;
	text-align:center;
	font-size:12px;
	font-style:normal;
	font-weight:normal;
	color:#525252;
	}
#container-photos h4 em {
	font-size:11px; 
	color:#000;
	font-style:normal;
	font-weight:normal;
	line-height:25px;
	}	
	
	/* nappuloiden asettelu */
a.gallery, a.gallery:visited {
	display:block;
	display:inline-block;
	float:left;
	border: 1px solid #777;
	margin:8px 9px;
	}

a.slidea {background: url(../../images/photography/background/thumbs/butterfly.jpg) no-repeat; width:40px; height:25px;}
a.slideb {background: url(../../images/photography/background/thumbs/bryophyte.jpg); width:40px; height:25px;}
a.slidec {background: url(../../images/photography/background/thumbs/city.jpg) no-repeat; width:40px; height:25px;}
a.slided {background: url(../../images/photography/background/thumbs/flower.jpg)  no-repeat; width:40px; height:30px;}
a.slidee {background: url(../../images/photography/background/thumbs/grass.jpg) no-repeat; width:40px; height:25px;}
a.slidef {background: url(../../images/photography/background/thumbs/scotland.jpg)  no-repeat; width:40px; height:30px;}
a.slideg {background: url(../../images/photography/background/thumbs/lightning1.jpg)  no-repeat; width:40px; height:25px;}
a.slideh {background: url(../../images/photography/background/thumbs/lapland.jpg)  no-repeat; width:40px; height:25px;}
a.slidei {background: url(../../images/photography/background/thumbs/summer.jpg)  no-repeat; width:40px; height:25px;}
a.slidej {background: url(../../images/photography/background/thumbs/sunflower.jpg)  no-repeat; width:40px; height:30px;}
a.slidek {background: url(../../images/photography/background/thumbs/lightning2.jpg)  no-repeat; width:40px; height:25px;}
a.slidel {background: url(../../images/photography/background/thumbs/winter.jpg)  no-repeat; width:40px; height:25px;}
a.slidem {background: url(../../images/photography/background/thumbs/fire.jpg)  no-repeat; width:40px; height:30px;}

a:hover.slidea { background: url(../../images/photography/background/thumbs/butterfly.jpg) no-repeat; width:40px; height:25px;}
a:hover.slideb { background:url(../../images/photography/background/thumbs/bryophyte.jpg) no-repeat; width:40px; height:25px;}
a:hover.slidec { background: url(../../images/photography/background/thumbs/city.jpg) no-repeat; width:40px; height:25px;}
a:hover.slided { background: url(../../images/photography/background/thumbs/flower.jpg)  no-repeat; width:40px; height:30px;}
a:hover.slidee { background: url(../../images/photography/background/thumbs/grass.jpg) no-repeat; width:40px; height:25px;}
a:hover.slidef { background: url(../../images/photography/background/thumbs/scotland.jpg)  no-repeat; width:40px; height:30px;}
a:hover.slideg { background: url(../../images/photography/background/thumbs/lightning1.jpg)  no-repeat; width:40px; height:25px;}
a:hover.slideh { background: url(../../images/photography/background/thumbs/lapland.jpg)  no-repeat; width:40px; height:25px;}
a:hover.slidei { background: url(../../images/photography/background/thumbs/summer.jpg)  no-repeat; width:40px; height:25px;}
a:hover.slidej { background: url(../../images/photography/background/thumbs/sunflower.jpg)  no-repeat; width:40px; height:30px;}
a:hover.slidek { background: url(../../images/photography/background/thumbs/lightning2.jpg)  no-repeat; width:40px; height:25px;}
a:hover.slidel { background: url(../../images/photography/background/thumbs/winter.jpg)  no-repeat; width:40px; height:25px;}
a:hover.slidem { background: url(../../images/photography/background/thumbs/fire.jpg)  no-repeat; width:40px; height:30px;}


a.gallery em, a.gallery span {display:none; }

a.gallery:hover {border: 1px solid #056a94;}	

