@import url(https://fonts.googleapis.com/css?family=Alegreya+Sans+SC);
@import url('https://fonts.googleapis.com/css?family=Montaga');

.kuva {
	display: inline-block;
width: 58%;
	border: solid 1px #000;
	overflow: hidden;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, .4);
	-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, .4);
	box-shadow: 0 1px 3px rgba(0, 0, 0, .4);
	margin-top: 10px;
}

#kuva {
	float: left;
	width: 58%;
}

#tieto {
	float: right;
	border-collapse: collapse;
	width: 40%;
	background: transparent;
	color: #000000 !important;
font-size: 12px;
	font-weight: 900;
        letter-spacing: 0.1em;
margin-left:5px;
}

#tieto th {
	background: transparent;
	width: 140px;
	text-align: left;
	color: #977f88 !important;
        border-bottom: solid 1px #ae9ca3;
        font-size: 11px;
        letter-spacing: 0.1em;
padding: 12px 0px;
}

#tieto th.last {
	background: transparent;
	border-bottom: 0px;
	color: #977f88!important;
font-size: 12px;
        letter-spacing: 0.1em;

}

#tieto td {
	background: transparent;
	text-align: left;
	padding: 8px;
	width: 300px;
	height: 10px;
	border-bottom: solid 1px #ae9ca3;
	color: #000000 !important;
font-size: 12px;
	font-weight: 500;
        letter-spacing: 0.1em;
}

#tieto td.last {
	background: transparent;
	border-bottom: 0px;
	color: #000000 !important;
font-size: 12px;
	font-weight: 500;
        letter-spacing: 0.1em;
padding: 8px;
}

#sukutaulu {
float:left;
	width: 100%;
	background:#fff;
	border-collapse:collapse;
	margin:0 auto;
	font-size: 11px;
	font-weight: 500;
        letter-spacing: 0.1em;
	vertical-align: middle;
	color: #000000 !important;
	border-top:1px solid #6d5960;
	border-left:1px solid #6d5960;
	border-right:1px solid #6d5960;
	border-bottom:1px solid #6d5960;
	box-shadow: 1px 1px 1px #6d5960;
}

#sukutaulu td {
	padding: 3px;
	vertical-align: middle;
	color: #000000 !important;
	border-top:1px solid #6d5960;
	border-bottom:1px solid #6d5960;
	border-left:1px solid #6d5960;
	border-right:1px solid #6d5960;
        width: 20%;
}


#hjalki{
float: left;
font-family: 'Montaga', sans-serif;
margin-left: 40px;
font-size: 1.1em;
}

#hjalkit{
margin: 2px;
}
.rounded-img{
object-fit: cover;
object-position: 100%;
  width: 520px;
  height: 350px;
margin: 0px auto;
-webkit-border-radius: 10%;
-moz-border-radius: 10%;
-ms-border-radius: 10%;
-o-border-radius: 10%;
border-radius: 10%;
border: 3px solid #FFF;
-webkit-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3),inset 0px 3px 8px rgba(0, 0, 0, 0.3);
-moz-box-shadow: 0px 1px 2px rgba(0,0,0,0.3),inset 0px 3px 8px rgba(0,0,0,0.3);
box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3),inset 0px 3px 8px rgba(0, 0, 0, 0.3);
}

.rounded-img2 {
display: inline-block;
	border: solid 1px #000;
	overflow: hidden;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, .4);
	-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, .4);
	box-shadow: 0 1px 3px rgba(0, 0, 0, .4);
    height: 105px; 
margin:2px;
}

dl.codebox {
background-color: #fff;
width:100%;
padding:5px;
  font-family: calibri;
  font-size:12px;
}


dl.codebox dt {
letter-spacing: 2px;
display:block;
font-size:14px;
font-weight:500;
color:#68545b;
text-align: center;
margin-bottom:3px;
text-transform:uppercase;
font-family:Calibri;
border-bottom: 1px dotted #0f0f0f;
}


#gallery { padding: 0px 15px; display: block; }

/* image figures */
figure { 
  float: left;
  position: relative;
  padding: 3px;
  margin-right: 15px;
  margin-bottom: 1.35em;
  background: #fff;
color: #fff;;
  -webkit-box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.35);
  -moz-box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.35);
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.35);
}

figcaption {
  width: 150px;
  height: 150px;
  position: absolute; 
  background: rgba(0,0,0,0.6);
  text-align:center;
  font-size: 1.4em; 
  font-family: 'Poiret One';
  color: #fff;;
  padding: 10px 16px; 
  opacity: 0;
  left: 3px; 
  bottom: 0%;
  -webkit-transition: all 0.44s ease;
  -moz-transition: all 0.44s ease;
  -o-transition: all 0.44s ease;
  transition: all 0.44s ease;
} 
figcaption a { color: #fff !important; text-transform: uppercase;}
figcaption a:hover { color: #fff; }

figcaption p { color: #cfcecb; }

figure:hover figcaption { opacity: 1; bottom: 5px; }
