@import url('https://fonts.googleapis.com/css2?family=Handlee&family=Playfair+Display&family=Charm&display=swap');

a {color:#9e896c;font-weight:bold;}
a:hover {text-decoration:none;}

body {
	margin:60px auto;
	font-family:'Verdana';
	font-size:11.5px;
	line-height:20px;
	background-image:url('https://lasikuu.net/virtuaali/slotthagen/k/02bgsin.gif');
    background-attachment: fixed;
	color:#333;
}
#otsikko {
    margin:40px auto;
  font-family: 'Handlee', cursive;
    font-size:40px;
    text-align:center;
    color:#efeae2;
    text-shadow:2px 2px black;
}
#otsikko a {
    color:#1c1915;
    font-size:14px;
    text-decoration:none;
    padding:0 10px;
    font-weight:normal;
}
#otsikko a:hover {
    color:white;
}
.sivuotsikko {
	font-family:'Verdana';
	font-weight:bold;
	line-height:1.3;
    font-size:16px;
    letter-spacing:0px;
}
#linkit {
	font-family:'Courier';
	letter-spacing:1px;
}
#linkit a {
    color:#917d61;
}
#linkit a:hover {
    text-decoration:none;
    color:#9e896c;
}
#footer {
    margin:20px auto 40px auto;
    width:1000px;
    text-align:center;
    font-size:10px;
    color:#efeae2;
    text-shadow:1px 1px 1px black;
}
#footer a {
    text-decoration:none;
    color:#c2b39d;
}

/* HEPPASIVU */

#perustieto {
    width:90%;
    margin:0 auto 30px auto;
    background-color:#f0e8dd;
    border:1px solid #bfb19d;
    padding:20px 40px;
    box-shadow:2px 2px 4px #ccc;
    border-radius:2px;
    background-image:url('https://lasikuu.net/virtuaali/slotthagen/k/02ptbg.gif');
}
.ptkuva {
    float:right;
}
.ptkuva:hover {
    opacity:0.9;
    -webkit-transition: all 0.3s ease-in;
    -moz-transition: all 0.3s ease-in;
    -o-transition: all 0.3s ease-in;
    transition: all 0.3s ease-in;
}
.luonnekuva {
    border:1px solid #bfb19d;
    border-radius:2px;
    float:left;
    margin:0 30px 20px 0;
}
#sukutaulu {
    width:100%;
    margin-bottom:30px;
    border-collapse:separate;
    border:1px solid #bfb19d;
    box-shadow:2px 2px 4px #ccc;
}
#sukutaulu td {
    width:50%;
    border:1px solid #bfb19d;
    background-image:url('https://lasikuu.net/virtuaali/slotthagen/k/02ptbg.gif');
    padding:8px 20px;
    line-height:1.4;
    border-radius:2px;
}
#listap { /*tiivimpi lista*/
    margin:20px auto 30px auto;
	width:100%;
	border-collapse:collapse;
	font-size:10.5px;
}
#listap td {
	padding: 8px;
    border-bottom: 1px solid #dcd3c5;
}
#listap th {
    text-align:left;
	padding: 4px 8px;
    border-bottom: 1px solid #dcd3c5;
}
.krjlaji {background-color:#006e85;color:white;font-size:10px;border-radius:3px;padding:2px 4px;}
.vvjlaji {background-color:#fab624;color:white;font-size:10px;border-radius:3px;padding:2px 4px;}
.saieclaji {background-color:#505773;color:white;font-size:10px;border-radius:3px;padding:2px 4px;}




/* HENKILOT */

#ponilista {
    width:100%;
    border-collapse:separate;
    border-spacing:10px;
}
#ponilista td {
    width: 50%;
    border:1px solid #bfb19d;
    padding:8px 20px;
    box-shadow:2px 2px 4px #ccc;
    border-radius:2px;
    background-image:url('https://lasikuu.net/virtuaali/slotthagen/k/02ptbg.gif');
}
#ponilista img {
    height:160px;
    float:left;
    margin-right:25px;
    border:1px solid #c8b6a2;
    box-shadow:0px 1px 6px #dfe4da;
    border-radius:2px;
}
.piggybank {
    margin:10px auto;
    width: 123px;
    height:100px;
    background-image:url('https://lasikuu.net/virtuaali/slotthagen/piggybank.png');
    line-height:100px;
    text-align:center;
    font-weight:bold;
}

/* TEKSTIT */

.feno {
    color:#9e896c;
}
.karsina {
    color:#9e896c;
    font-size:10.5px;
    text-transform:uppercase;
}
.iso {
    font-size:12px;
    font-weight:bold;
}


/* REUNAT */

.kg67 {
    height:67px;
    margin:0px 5px 0 5px;
    border:1px solid #bfb19d;
}
.kg67:hover {
    box-shadow:2px 2px 2px #ccc;
    transform: rotate(4deg);
    transition: transform .3s linear;
}
.kg {
    margin:0px 5px 0 5px;
    border:1px solid #bfb19d;
}
.kg:hover {
    box-shadow:2px 2px 2px #ccc;
    transform: rotate(4deg);
    transition: transform .3s linear;
}

.kuvaoik {
    transform: rotate(4deg);
    margin:0 15px 15px 30px;
    border:1px solid #bfb19d;
    float:right;
}
.kuvaoik:hover {
    transform: rotate(5deg);
    box-shadow:2px 2px 2px #ccc;
    transition: transform .3s linear;
}
.kuvaoik2 { /*ei reunoja ja pieni koko*/
    height:150px;
    transform: rotate(4deg);
    margin:0 15px 15px 30px;
    float:right;
}
.kuvaoik2:hover {
    transform: rotate(5deg);
    transition: transform .3s linear;
}
.kuvavas {
    transform: rotate(-4deg);
    margin:0 30px 15px 15px;
    border:1px solid #bfb19d;
    float:left;
}
.kuvavas:hover {
    transform: rotate(-5deg);
    box-shadow:2px 2px 2px #ccc;
    transition: transform .3s linear;
}
.reunat {
    margin:10px;
    border:1px solid #bfb19d;
}
.reunat:hover {
    box-shadow:2px 2px 2px #ccc;
    transition: transform .3s linear;
}


/* MUUTA */

#boksi {
    width:100%;
    font-size:11px;
    line-height:1.5;
    margin:0 auto 30px auto;
    background-color:#f0e8dd;
    border:1px solid #bfb19d;
    padding:10px 30px;
    box-shadow:2px 2px 4px #ccc;
    border-radius:2px;
    background-image:url('https://lasikuu.net/virtuaali/slotthagen/k/02ptbg.gif');
}






/* RATE MY PONY */

.rmp-progress {
	height: 20px;
	position: relative;
	background: #555;
	-moz-border-radius: 25px;
	-webkit-border-radius: 25px;
	border-radius: 25px;
  box-sizing: content-box;
  margin-bottom: 10px;
}

.rmp-progress > div {
  display: block;
  height: 100%;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  background-color: #28a745;
  position: relative;
  overflow: hidden;
  text-align: center;
  line-height: 1.1;
}

.rmp-progress > div > span {
  color: #fff;
  font-size: 12px;
  text-align: center;
}

.rmp-green > div {
  background-color: #28a745;
}

.rmp-blue > div {
  background-color: #17a2b8;
}

.rmp-orange > div {
  background-color: #ffc107;
}

.rmp-red > div {
  background-color: #dc3545;
}





/* OTSIKOT */

h1 {
    text-align:center;
    font-size:16px;
    margin-bottom:30px;
    color:#555;
}
h2 {
    font-size:14px;
    color:#555;
    margin:20px 0;
}
h3 {
    font-size:12px;
    color:#555;
    margin:20px 0;
}