@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&family=Fira+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body {
    background: #203629 url(bg1.png) no-repeat;
    background-attachment: fixed;
    background-size: cover;
    padding: 0;
    margin: 0;
}
pre {
    font-family: "Inclusive Sans", sans-serif;
    font-weight: 400;
}
hr {
    height: 1px;
    background: rgba(227, 218, 242, 0.6);
    border: 0;
    margin: 15px 0;
}
a, a:visited {
    color: #cbc891;
    text-decoration: none;
}
a:hover, a:active {
    color: #cbc891;
	text-decoration: underline;
}
b {
    font-weight: 600;
}
header {
    margin: 0;
    background: #203629;
    background: linear-gradient(0deg,rgba(32, 54, 41, 1) 0%, rgba(40, 64, 50, 1) 100%);
    width: 100%;
    height: 80px;
}
.otsikko {
    margin: 0 auto;
    text-align: center;
    padding: 35px 0 0 0;
    font-family: "EB Garamond", serif;
    font-weight: normal;
    color: #c9c7a6;
    font-size: 28px;
    letter-spacing: 6px;
    line-height: 0.6em;
    text-transform: uppercase;
}
nav {
    width: 100%;
    background: #75755b;
}
nav ul {
    list-style: none;
    margin: 0 auto;
    text-align: center;
    padding: 0;
}
nav li {
    display: inline-block;
    font-family: "Fira Sans", sans-serif;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: lowercase;
    font-size: 11px;
}
nav li a, nav li a:visited {
    display: block;
    color: #203629;
	text-decoration: none;
    padding: 6px 30px;
}
nav li a:hover, nav li a:active {
    color: #b9bba8;
	text-decoration: none;
	background: #62654a;
    padding: 6px 30px;
}
#wrapper {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    border-bottom: 25px solid #75755b;
}
.sisalto {
    background: #2f4e3c;
    font-family: "Fira Sans", sans-serif;
    font-size: 12px;
    font-weight: 300;
    line-height: 1.7em;
    padding: 35px 55px;
    color: #c7c8a2;
}
footer {
    width: 100%;
    max-width: 700px;
    margin: 30px auto 60px auto;
    font-family: "EB Garamond", serif;
    font-weight: 400;
    font-size: 10px;
    line-height: 1.3em;
    text-align: center;
    letter-spacing: 2px;
    color: #7c7e6f;
}
footer a, footer a:hover, footer a:visited, footer a:active {
    color: #7c7e6f;
}
h1 {
    display: inline-block;
    font-family: "Garamond", serif;
    font-weight: 700;
    font-size: 22px;
    letter-spacing: 2px;
    color: #c9c7a6;
    font-style: normal;
    text-align: left;
    border-bottom: 1px solid #75755b;
    padding: 5px 0;
    margin: 10px 0 0 0;
}
h2 {
    display: inline-block;
    background: #2c4435;
    font-family: "Garamond", serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 2px;
    color: #c9c7a6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    margin: 10px 0 0 0;
    padding: 3px 15px;
}
h3 {
    font-family: "EB Garamond", serif;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 2px;
    color: #c9c7a6;
    font-style: normal;
    text-align: left;
    margin: 0 0 -8px 0;
}
.sisalto ul {
    list-style: none;
    padding: 0 0 0 20px;
}
.sisalto ul li:before {
    content: '\2714';
    padding: 0 14px 0 0;
    color: #ddd6ce;
}

/* =============== PONIN SIVUT =============== */

.ponitaulu {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 0px;
    grid-row-gap: 0px; 
    grid-template-columns: 25% 50% auto;
    margin: 10px 0;
}
.vasen {
    grid-area: 1 / 1 / 2 / 2; 
}
.keski {
    grid-area: 1 / 2 / 2 / 3;
}
.oikee {
    grid-area: 1 / 3 / 2 / 4;
    background: #2d4737;
    padding: 2px 10px;
    font-size: 11px;
}
.ponikuva {
    display: block;
    text-align: left;
    width: 248px;
    filter: grayscale(30%);
    opacity: 0.85;
	-webkit-transition: all 0.1s ease-out; -moz-transition: all 0.1s ease-out; -o-transition: all 0.1s ease-out; transition: all 0.1s ease-out;
}
.ponikuva:hover {
    filter: grayscale(0%);
    opacity: 1.0;
	-webkit-transition: all 0.1s ease-in; -moz-transition: all 0.1s ease-in; -o-transition: all 0.1s ease-in; transition: all 0.1s ease-in;
}
.perustiedot {
    width: 100%;
    border-collapse: collapse;
}
.perustiedot th {
    width: 25%;
    text-align: left;
    font-weight: 700;
    font-size: 9px;
    letter-spacing: 2px;
    color: #918e5e;
    padding: 2px 7px;
    background: #2d4737;
    border-bottom: 1px solid #2f4e3c;
}
.perustiedot td {
    padding: 2px 10px;
    border-bottom: 1px solid #9a9a78;
    font-size: 12px
}
.geno {
    display: inline-block;
    font-size: 9px;
    padding: 0 0 0 5px;
    margin: 0;
    color: #929371;
    letter-spacing: 1px;
}
.suku {
    width: 100%;
    border-collapse: collapse;
    background: #2f4e3c;
    font-size: 11px;
}
.suku td {
    padding: 6px 10px;
    text-align: left;
    border-right: 1px solid #2d4737;
}
.o {
    background: #2d4737;
}
.taka {
    border-right: 0 !important;
}
.suku small {
    display: block;
    text-transform: none;
    line-height: 1.3em;
    font-size: 9px;
    margin: -2px 0 0 0;
}
.suku a {
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}
.evm {
    display: inline-block;
    font-size: 9px;
    text-transform: uppercase;
    padding: 0 0 0 10px;
    color: #929371;
    letter-spacing: 1px;
}
.varsat {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
}
.varsat tr {
    border-bottom: 1px solid #2d4737;
}
.varsat tr:last-child {
    border-bottom: none;
}
.varsat th {
    text-align: left;
    text-transform: uppercase;
    font-size: 9px;
    padding: 3px 10px;
    background: #2d4737;
    letter-spacing: 2px;
    color: #918e5e;
}
.varsat td {
    font-size: 11px;
    padding: 3px 10px;
}
.varsamerit {
    display: inline-block;
    padding: 0 0 0 8px;
}
.kisat {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    margin: 10px 0 0 0;
}
.kisa1 {
    grid-area: 1 / 1 / 2 / 2;
    background: #2d4737;
    padding: 2px 10px;
    font-size: 11px;
}
.kisa2 {
    grid-area: 1 / 2 / 2 / 3;
    padding: 2px 10px;
}
.nly {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0 0 0;
}
.nly tr {
    border-bottom: 1px solid #2d4737;
}
.nly tr:last-child {
    border-bottom: none;
}
.nly th {
    text-align: left;
    text-transform: uppercase;
    font-size: 9px;
    padding: 1px 5px;
    background: #2d4737;
    letter-spacing: 2px;
    color: #918e5e;
}
.nly td {
    font-size: 11px;
    padding: 1px 5px;
}

/* =============== PONILISTAUS =============== */

.listawrap {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin: 5px 0 0 0;
}
.listaponi {
    width: 318px;
    display: block;
    margin: 5px;
    border-right: 1px solid #2c4435;
    border-bottom: 1px solid #2c4435;
}
.listaponi img {
    height: 83px;
    display: inline-block;
    filter: grayscale(30%);
    opacity: 0.85;
    border-left: 7px solid #2c4435;
}
.ltieto {
    width: 220px;
    font-size: 10px;
    line-height: 1.5em;
    position: relative;
    float: right;
    height: auto;
    padding: 3px 0 0 0;
}
.ltieto a {
    font-family: "Garamond", serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* =============== KASVATTILISTAUS =============== */

.kasvatit {
    width: 100%;
    border-collapse: collapse;
    margin: 5px 0 0 0;
}
.kasvatit tr {
    border-bottom: 1px solid #2d4737;
}
.kasvatit tr:last-child {
    border-bottom: none;
}
.kasvatit th {
    text-align: left;
    text-transform: uppercase;
    font-size: 9px;
    padding: 3px 10px;
    background: #2d4737;
    letter-spacing: 2px;
    color: #918e5e;
}
.kasvatit td {
    font-size: 11px;
    padding: 3px 10px;
}

/* =============== MAALAUS =============== */

::selection {
	background: #5a7152; /* WebKit/Blink Browsers */
	color: #fcfcee;
	text-shadow: none;
}
::-moz-selection {
	background: #5a7152; /* Gecko Browsers */
	color: #fcfcee;
	text-shadow: none;
}