/*
Theme Name: Kuuralehto
Theme URI: https://tiritomba.net/kuuralehto
Author: Siiri Savolainen
Author URI: https://tiritomba.net
Description: Bootstrap theme
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kuuralehto
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Playfair:ital,opsz,wght@0,5..1200,300..900;1,5..1200,300..900&display=swap');

.col {
    width: 100%;
    clear: both;
    margin-left: 0;
    margin-bottom: 1em;
    padding: 25px auto;
    float: left;
    display: block;
}
.clearfix {
    *zoom: 1;
}
.clearfix:before,
.clearfix:after {
    content: "";
    display: table;
}
.clearfix:after {
    clear: both;
}
/* ======================================================== */
/* BODY */
/* ======================================================== */
body {
    font-size: 0.9em;
    font-family: "Montserrat", sans-serif;
    color: #222;
    background-color: #000;
    overflow-x: hidden;
    -ms-overflow-x: hidden;
    margin: 0;
	font-weight: 300;
    letter-spacing: 1.2px;
    line-height: 2;
}
@-ms-viewport {
    width: device-width;
}
/* ======================================================== */
/* OTSIKOT */
/* ======================================================== */
h1,
h2,
h3,
h4,
.nimimerkki {
  font-family: "Playfair", serif;
    color: #3a2e29;
}



h1,
h2 {
    margin: 15px 0 40px 0;
    font-size: 2.5em;
    font-weight: 400;
    letter-spacing: 0px;
    line-height: 120%;
    text-align: left;
}
h1 {
	margin-bottom: 60px;
}


h2 {
    font-size: 2.8em;
    /* padding-bottom: 1em; */
    margin-bottom: 30px;
}

h2:not(:first-child) {
    margin-top: 2em;
}

.single-orit h2, .single-tammat h2 {
    margin-top: 15px;
    color: rgb(26 42 32);
    text-align: center;
}

h3 {
    font-family: 'Montserrat', sans-serif;
    margin: 2em 0 1.5em 0;
    font-size: 1.3em;
    font-weight: 400;
    letter-spacing: 0em;
    color: #444;
}
h4 {
    margin: 1.5em 25px 1em 25px;
    font-size: 1.1em;
    font-weight: 400;
    letter-spacing: 0.05em;
    line-height: 150%;
}

h1.logo-otsikko {
    margin: 10px 0;
    color: #fff;
    text-align:left;
    font-weight:200;
    font-size: 60px;
}

p, ul, h1, h2, h3, h4 {
    color: #fff;
}
/* ======================================================== */
/* LEIPÄTEKSTI */
/* ======================================================== */
p {
    margin: 1em 0 1.5em 0;
    font-weight: 300;
    letter-spacing: 0;
    line-height: 170%;
    text-align: left;
}
.center {
    text-align: center;
}
.left {
    text-align: left;
}
.right {
    text-align: right;
}

.small, small {
    font-weight: 300;
}

/* ======================================================== */
/* LINKIT */
/* ======================================================== */
a,
a:visited,
summary {
    text-decoration: none;
    color: #fff;
    cursor: pointer;
}
a:hover,
a:active {
    color: #fff;
    cursor: pointer;
}

/* ======================================================== */
/* KUVAT & VIDEO */
/* ======================================================== */
img,
object,
video {
    display: block;
    max-width: 100%;
    height: auto;
}
/* ======================================================== */
/* RAKENNE */
/* ======================================================== */
.full {
    width: 100%;
    float: left;
    display: block;
    padding: 60px 0;
    overflow-x: hidden;
    background-color: #fff;
}

.tumma-tausta {
    background-color: #eae9e9;
}
.ilman-taustaa {
    background-color: transparent;
    /*.nega;*/
}
.wrapper {
    width: 94%;
    display: block;
    margin: 0 3%;
    *zoom: 1;
}
.wrapper:before,
.wrapper:after {
    content: "";
    display: table;
}
.wrapper:after {
    clear: both;
}
footer,
footer.full {
    background-color: #333;
}
footer h1,
footer.full h1,
footer h2,
footer.full h2,
footer h3,
footer.full h3,
footer h4,
footer.full h4,
footer p,
footer.full p {
    color: #ffffff;
    text-align: center;
}
.kokonainen {
    width: 100%;
    clear: both;
    margin-left: 0;
    margin-bottom: 1em;
    padding: 25px auto;
    float: left;
    display: block;
}
.puolikas {
    width: 100%;
    clear: both;
    margin-left: 0;
    margin-bottom: 1em;
    padding: 25px auto;
    float: left;
    display: block;
}
.kaksikolmasosaa {
    width: 100%;
    clear: both;
    margin-left: 0;
    margin-bottom: 1em;
    padding: 25px auto;
    float: left;
    display: block;
}
.kolmasosa,
.kolmasosa-puolikas {
    width: 100%;
    clear: both;
    margin-left: 0;
    margin-bottom: 1em;
    padding: 25px auto;
    float: left;
    display: block;
}
.neljasosa {
    width: 100%;
    clear: both;
    margin-left: 0;
    margin-bottom: 1em;
    padding: 25px auto;
    float: left;
    display: block;
}
.kuudesosa {
    width: 100%;
    clear: both;
    margin-left: 0;
    margin-bottom: 1em;
    padding: 25px auto;
    float: left;
    display: block;
    width: 33.333%;
    clear: none;
}
.hide-mobile {
    display: none;
}
.hide-tablet {
    display: none;
}
.tablet-only {
    display: none;
}
/* Header */
.header-image-and-title {
    position: relative;
    text-align: center;
    color: #ffffff;
    width: 100%;
    min-width: 100%;
    /*display: flex;
    justify-content: center;
    min-height: 200px;
    overflow: hidden;*/
    height: 750px;
    
}
.header-image-and-title .container {
    display: flex;
    flex-wrap: wrap;
height: 100%;
}

.header-image-and-title.header-page,
.header-image-and-title.header-page .header-image-and-title {
height: 450px;
}


.page-header-text, .page-header-image {
    width: 50%;
}

.header-image {
    width: 100%;
    max-height: 1000px;
    object-fit: cover;
    height: 100% !important;
}
.header-image-page {
    width: 100%;
    height: 100%;
	max-height: 500px;
    object-fit: cover;
}
.heading-area {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.header-menu {
    float: right;
}

p.ingressi {
    font-size: 1.2em;
    letter-spacing: .5px;
    line-height: 180%;
}


.margin-top-0 .panel-grid-cell {
    margin-top: 0 !important;
    padding-top: 0 !important;
}





a.otsikkopallo {
    background-color: #fc637f;
    color: #fff;
    border-radius: 50%;
    padding: 5px;
    margin: 10px;
    font-size: 17px;
    min-height: 30px;
    min-width: 45px;
    display: inline-block;
    transition: 0.5s;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

a.otsikkopallo:hover {
    background-color: #ff9aad;
}    
.centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
        width: 100%;
    max-width: 500px;
padding-left: 25px;
padding-right: 25px;
}
.centered h1 {
	color: rgb(194 143 70);
	font-size: 67px !important;
	line-height: 94px;
	    margin: 0 auto 10px auto !important;
}


a.button {
    background-color: rgb(194 143 70);
    border-radius: 50px;
    padding: 5px 25px;
    border: 1px solid rgb(194 143 70);
    color: #fff;
    font-size: 1em;
}

.page-header-text a.button {
        padding: 8px 25px;
    font-size: 1.2em;
}

a.button:hover, a.button:focus {
    background-color: rgb(26 43 33);
    text-decoration: none;
}

p.nappirivi {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 3em;
}

p.nappirivi a {
    margin-righT: 10px;
}

.header-image-and-title .container {
    position: relative;
    text-align: center;
    color: white;
	width: 100%;
	padding: 0;
	max-width: 100%;
}

.page-header-text {
    background: rgb(26 43 33);
        position: relative;
}


.page-header-image {
	position: relative;
    text-align: center;
        background-size: cover;
    background-position: center;
}

.header-and-image {
    position: relative;
    text-align: center;
    color: white;
	height: 400px;
}






















.panel-grid-cell {
    padding: 40px 0 !important;
}

.no-margin-top .panel-grid-cell {
    padding: 0 0 40px 0 !important;
}

.no-margin-bottom .panel-grid-cell {
    padding: 40px 0 0 0 !important;
}

.panel-grid-cell .so-panel {
    padding-left: 20px;
    padding-right: 20px;
}

/* ======================================================== */
/* YLAPALKKI */
/* ======================================================== */
.ylapalkki {
    width: 100%;
    float: left;
    display: block;
    background-color: #3a2e29;
    padding: 0px;
    
}
.ylapalkki .wrapper {
	transition: all .4s ease-in-out !important;
	    max-width: 800px;
}


.shrink {
padding: 0 0 !important;
transition: all .4s ease-in-out !important;
}
.logo {
    float: left;
	padding: 10px 0;
	width: 50%;
}
.logo img {
    width: 100%;
    max-width: 300px;
    height: 100%;
}

.header-image-and-title .wrapper {
    margin: 0 0;
}
.header-image-and-title h1 {
    margin: 0 25px;
}
/* ======================================================== */
/* VALIKKO */
/* ======================================================== */
.navbar {
    padding: .5rem 25px;
}
.navbar-toggler-icon,
.navbar-toggler {
    background-color: transparent;
}
.icon-bar {
    border-bottom: 2px solid #fff;
    display: block;
    margin-top: 5px;
}
.dropdown-menu {
    background-color: transparent;
    border: 0px solid transparent;
    padding: 0 0;
    margin: 0 0 0; 
    display: block;
}
.dropdown-menu li {
    background-color: #000;
    padding: 0 0;
}
.dropdown-toggle::after {
	display: none;
}
.desktop-menu {
    display: none;
}
.header-menu {
    float: right;
}
.navbar-toggle .icon-bar {
    background: #ffffff;
}
.navbar a {
    color: #ffffff;
    font-family: 'Oswald', sans-serif;
    /* font-family: 'Poppins', sans-serif; */
    font-family: "Montserrat", sans-serif;
    text-transform: none;
    letter-spacing: 1px;
    font-weight: 300;
    font-size: 16px;
    text-align: center;
}

.navbar a:hover {
    color: #fff !important;
}
a.dropdown-item {
    font-size: 0.80em;
}
.dropdown-item {
	padding: 10px 1.5rem;
}

.nav > li > a:hover,
.nav .open > a,
.nav .open > a:focus,
.nav .open > a:hover {
    background-color: transparent !important;
}
.navbar a:hover {
    color: #d3cfdf;
}
/* Footer */
footer img {
    margin: 0 auto;
}
footer,
footer.full {
    background-color: rgb(26 42 32);
}

footer.full {
    padding: 40px 0 30px 0;
}

footer p {
	margin: 0 0;
	padding: 0 0;
	font-size: 1;
}

footer .puolikas:nth-child(2) p {
	float: right;
	font-size: 0.9em;
}

/* ======================================================== */
/* Kategoriasivu */
/* ======================================================== */

ul.kategoriat {
    margin: 0;
    padding: 1em 25px 1.5em 25px;
}
ul.kategoriat li {
    list-style: none;
    float: left;
}

ul.kategoriat li:after {
    content: ', ';
}

ul.kategoriat li:last-child:after {
    content: '';
}

/* ======================================================== */
/* 404-virhesivu */
/* ======================================================== */

input.search {
    margin-top: 1em;
    margin-bottom: 1em;
    text-align: left;
}
.search-form {
    margin-top: 3em;
}
/* Hakusivu */
.search-page-title {
    font-size: 2em;
}
/*Artikkelisivu */
.author {
    text-align: center;
}
.date {
    margin-bottom: 10px;
}





hr {
    border: 0;
   /* height: 1px;
        background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgb(0, 0, 0, 0.2), rgba(0, 0, 0, 0));*/
    margin: 60px 0;
}

.pinkki {
    color: #fc637f;
}

.buttoni {
    border: 1px solid rgb(194 143 70);
    background-color: rgb(194 143 70);
    border-radius: 0;
    padding: 4px 9px;
    margin: 40px auto 0 auto;
    display: block;
    color: #fff;
    max-width: 100px;
    transition: 0.5s;
    border-radius: 50px;
}

.buttoni:hover {
   background-color: rgb(103 122 92);
   text-decoration: none;
}

a.buttoni {
    color: #fff !important;
    text-align: center !important;
    text-transform: normal;
    font-size: 14px;
}

.osio {
	padding: 50px 0;
}



.osio.pieni-padding-top {
	padding-top: 0;
}

.osio.padding-bottom-0 {
    padding-bottom: 0;
}

.osio.padding-top-0 {
    padding-top: 0;
}

.osio.padding-top-half {
    padding-top: 25px;
}


.pallo {
    background-color: #ff9aad;
    height:15px;
    width: 15px;
    border-radius: 50%;
    float:left;
    margin-right: 10px;
}

.tieto-pallot {
    margin-top: 30px;
    clear: both;
    overflow: hidden;
}

.tieto-pallot .kolmasosa {
    display: flex;
    flew-wrap: wrap;
    align-items: center;
    margin-bottom: 0;
}

.tieto-pallot p {
    font-size: 10px;
    margin: 0 0 0 0;
}



/* hevossivu */

.single b {
    color: #364832;
}

.single .ylapalkki {
    background-color: rgb(26 42 32);
}



.yleistieto-flex {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	max-widtH: 900px;
}
.yleistieto-flex p {
	text-align: center;
	margin: 0 auto;
}

.yleistieto-flex .kysymys {
	font-weight: 700;
}


/* meriitit */

.meriittitaulu {
    background-color: #f1f1f1;
    border-top: 3px solid #d4d0c8;
    border-bottom: 3px solid #d4d0c8;
    padding: 10px 20px 0 20px;
}
p.meriittilista {
    font-weight: 600;
    text-align: center;
}

p.meriittilista {
    text-align: left !important;
    margin-top: 20px !important;
    margin-bottom: 0;
}

i.fas.fa-horse-head {
    color: rgb(202 210 196);
    margin-right: 5px;
}

p.virtuaalihevosmerkinta {
    float: none;
    padding: 0 0 0 0;
    margin: 0 0;
    font-size: 17px;
    text-align: center;
}

p.virtuaaliteksti {
    padding: 10px 0 0 0;
    color: #aaa;
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

/* Tiedot-taulu */

b, strong, p.meriittilista {
    font-weight: 800;
    color: #fff;
	/*text-shadow: 1px 1px 2px rgba(0,0,0,0.1);*/
}

#tiedot, #suku {
    width: 100%;
    border-top: 7px solid #d4d0c8;
    border-bottom: 7px solid #d4d0c8;
    background-color: #f1f1f1;
}

#tiedot td {
	padding: 10px 18px;
}

#tiedot tr {
   border-bottom: 3px solid #fff;
}
#tiedot tr:last-child {
    border-bottom: 0 solid transparent;
}
#tiedot td:first-child, #tiedot td:nth-child(3) {
	width: 16%;
	font-weight: 800;
        color: #5a79a0;
	text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

#tiedot td:nth-child(2), #tiedot td:nth-child(4) {
	width: 34%;
	color: #5d617b;;
}


/* sukutaulu */

#suku {
    width: 100%;
}

#suku td {
    width: 33%;
	padding: 10px 40px;
}

#suku tr:nth-child(5) td:first-child, #suku tr:nth-child(7) td:first-child, #suku tr:nth-child(8) td {
	border-bottom: 0 solid transparent;
}


#suku .suvunnimi,
#suku .sukutiedot,
#suku .sukutittelit {
    display: block;
}

#suku .suvunnimi a {
	font-weight: 600;
	    color: #c28f46;
}
#suku .sukutiedot,
#suku .sukutittelit {
	font-size: 12px;
}

#suku td {
    width: 33%;
    padding: 10px 40px;
    background-image: url('https://tiritomba.net/maahi/wp-content/uploads/2026/06/isohaka.png');
    background-size: contain;
    background-size: 18%;
    background-repeat: no-repeat;
    background-position: right;
}

#suku tr:nth-child(1) td:nth-child(3),
#suku tr:nth-child(2) td,
#suku tr:nth-child(3) td:nth-child(2),
#suku tr:nth-child(4) td,
#suku tr:nth-child(5) td:nth-child(3),
#suku tr:nth-child(6) td,
#suku tr:nth-child(7) td:nth-child(2),
#suku tr:nth-child(8) td {
    background: none;
    background-image: none;
}

#suku tr:nth-child(1) td:nth-child(2),
#suku tr:nth-child(3) td:nth-child(1),
#suku tr:nth-child(5) td:nth-child(2),
#suku tr:nth-child(7) td:nth-child(1){
    background-size: 11%;
}


.breeding-table {
    padding: 0 25px;
}

/* jälkeläiset */

#jalkelaiset, #kasvattilista {
background-color: #f1f1f1;
    border-top: 0 solid #d4d0c8;
    padding: 10px 20px 0 20px;
	width: 100%;
}

#kasvattilista {
    background: rgb(103 122 92);
    color: #fff;
    border-bottom: 0 solid transparent;
}

#jalkelaiset tr, #kasvattilista tr {
    border-bottom: 1px solid #1a2a20;
}

#jalkelaiset tr:first-child, #kasvattilista tr:first-child {
	    /*border-bottom: 0 solid #6d9ad3;*/
            background-color: rgb(26 42 32);
    border-bottom: 0;
}
#jalkelaiset tr:last-child, #kasvattilista tr:last-child {
	 border-bottom: 0 solid transparent;
}
#jalkelaiset th, #kasvattilista th {
	    font-weight: 400;
    color: #fff;
}
#jalkelaiset td, #jalkelaiset th, #kasvattilista td, #kasvattilista th {
	padding: 10px 20px;
}
#jalkelaiset td:first-child, #jalkelaiset th:first-child {
	width: 8%;
}
#jalkelaiset td:nth-child(2), #jalkelaiset th:nth-child(2) {
	width: 2%;
}

#jalkelaiset td:nth-child(3), #jalkelaiset td:nth-child(4), #jalkelaiset th:nth-child(3) #jalkelaiset th:nth-child(4) {
	width: 30%;
}

#jalkelaiset td:nth-child(5),#jalkelaiset th:nth-child(5) {
	width: 30%;
}
	
.kuvapuolisko {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
	
.green-fade {
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: #5e7253f0;
    top: 0;
        left: 0;
    /* z-index: 1; */
}	
	
	
.taustakuvallinen-osio {
    margin-left: auto;
    margin-right: auto;
    background-size: cover;
    background-position: center center;
    position: relative;
}

.single-orit .taustakuvallinen-osio h2, .single-tammat .taustakuvallinen-osio h2,
.single-orit .taustakuvallinen-osio p, .single-tammat .taustakuvallinen-osio p {
    color: #fff;
}
	
.osio-wide-inner {
    z-index: 999;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
        position: relative;
}	

.kuvagalleria-osio .osio-wide-inner {
    max-width: 1050px;
}
	
.yleis-flex {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background: #364832;
        position: relative;
        z-index: 99;
    align-items: normal;
}	
	
	.osio.yleistiedot-osio {
    padding: 70px 0;
}
	
	
	
	
	

/* kisat */

#kisat {
	width: 100%;
	color: #fff;
}

#kisat b {
    color: #fff;
}

#kisat a {
    font-weight: 700;
}
#kisat td {
    width: 25%;
	vertical-align: top;
	font-size: 12px;
    letter-spacing: 0px;
}


/*.paivakirja {
	background-color: #f1f1f1;
    border-top: 3px solid #d4d0c8;
    border-bottom: 3px solid #d4d0c8;
    padding: 15px 30px 5px 30px;
	width: 100%;
}*/

.paivakirja h3 {
font-family: "Playfair", serif;
    color: rgb(26 42 32);
    font-size: 1.8em;
    margin-bottom: .5em;
}
	
	
	
	
/* Kaikki taulukot */
	
.meriittitaulu, #tiedot, #suku, #jalkelaiset, .tuonnit, .kasvatit   {
    background-color: #364832;
    /*border-top-color: #3e3f63;
    border-bottom-color: #3e3f63;*/
	/*border: 10px solid #fff;
	box-shadow: 1px 1px 5px rgba(0,0,0,0.3);*/
	color: #fff;
}
	
.tuonnit, .kasvatit {
    padding: 10px 20px 0 20px;
    width: 100%;
}
	
.tuonnit tr:first-child, .kasvatit tr:first-child {
    background-color: #ff9aad;
}

.tuonnit tr:first-child b, .kasvatit tr:first-child b {
    color: #fff;
}
.tuonnit tr, .kasvatit tr {
    border-bottom: 3px solid #fff;
}
	
.tuonnit td, .kasvatit td {
    padding: 10px 20px;
}
	
	
	
	
	

/* Galleria */

.ug-textpanel, .ug-lightbox-numbers {
    display: none !important;
}

.ug-thumb-wrapper {
    border-width: 0px !important;
    border-style: solid !important;
    border-color: #fff !important;
	box-shadow: 1px 1px 6px rgba(0,0,0,0.3) !important;
}

.ug-thumb-wrapper.ug-tile .ug-tile-icon.ug-icon-zoom, .pswp--zoom-allowed .pswp__button--zoom {
	background-image: none !important;
}

.dgwt-jg-gallery .entry-visible {
        box-shadow: 1px 1px 5px rgba(0,0,0,0.3) !important;
}
.dgwt-jg-gallery .entry-visible img {
    border: 7px solid #fff !important; 
}

.pswp__bg {
        background: rgba(0,0,0,0.8) !important;
}

.kuvacopy {
        margin: 0 auto;
    text-align: center;
    font-size: 12px;
    margin-top: 10px;
}

.ug-lightbox .ug-lightbox-overlay {
	background-color: rgba(0,0,0,0.6) !important;
}

.pswp__ui--idle .pswp__top-bar, .pswp__counter,
.pswp__button.pswp__button--share,
.pswp--supports-fs .pswp__button--fs,

.dgwt-jg-caption svg{
    display: none !important;
}

.dgwt-jg-effect-standard .dgwt-jg-caption {
        background: rgba(0, 0, 0, 0.6) none repeat scroll 0 0 !important;
}

/* ETusivu */


.home main .full {
    padding: 0 0;
}
.home .panel-grid {
    margin-bottom: 0 !important;
}

.home .panel-grid-cell {
    padding: 60px 0 !important;
}

.home h2 {
    margin-top: 0;
}

.ympyrarivi h2 {
    margin-bottom: 30px;
}
.owl-pagination-true {
    margin-bottom: 0 !important;
}

.sa_owl_theme .owl-dots {
    bottom: 10px !important;
}
.keskitetyt-kolme img.so-widget-image {
    max-height: 140px !important;
    margin: 0 auto;
}

.keskitetyt-kolme h2 {
	margin-bottom: 0;
}
.keskitetty {
    text-align: center;
}

.margin-top-30 {
    margin-top: 30px;
}
span.nimimerkki {
    font-size: 30px;
    color: #fc637f;
}

span.pieni {
    font-size: 12px;
    color: #797979;
}
/*
.etusivu-koristekuva img {
    box-shadow: 1px 1px 5px rgba(0,0,0,0.3);
}*/

.kapea {
    max-width:900px;
    margin: 0 auto;
}
.keskitetty p {
    text-align: center;
}

.ympyrarivi p {
    text-align: justify;
}

.etusivu-ympyra a {
    margin: 0 auto;
    text-align: center;
}
.etusivu-ympyra img {
    border-radius: 50%;
    border: 7px solid #fff;
    box-shadow: 1px 1px 5px rgba(0,0,0,0.3);
    margin: 0 auto;
    max-width: 160px !important;
    transition: 0.5s;
}

.etusivu-ympyra img:hover {
    opacity: 0.7;
}


.vaaleavihrea {
    background-color: rgb(103 122 92);
}

.keskivihrea {
    background-color: rgb(54 72 50);
}

.tummavihrea {
    background-color: rgb(26 42 32);
}


/* hevoslista */

.flex-heppalista {
 display: flex;
 flex-wrap: wrap;
}
.page-template-page-orilista main .full, .page-template-page-tammalista main .full {
 
}
.heppakortti {
    width: calc(50% - 40px);;
    display: flex;
    flex-wrap: wrap;
    margin: 20px;
    align-items: center;
    background-color: rgb(103 122 92);
    border-radius: 15px 15px 0 0;
}

.heppakortti h3 {
      width: 100%;
    background-color: #3a2e29;
    color: #fff;
    margin-top: 0;
    margin-bottom: 0;
    text-align: center;
    padding: 10px;
    border-radius: 15px 15px 0 0;
}

.korttikuva, .korttiteksti {
    width: 50%;
    padding: 20px;
}

.korttikuva img {
    border: 5px solid #fff;
    box-shadow: 1px 1px 5px rgba(0,0,0,0.3);
    transition: 0.5s;
}

.korttikuva img:hover {
    opacity: 0.7;
}
.korttiteksti a.buttoni {
    text-align: left;
    margin: 10px 0 0 0;
}

.korttiteksti p {
        text-align: center;
    margin-top: .2em;
    font-size: .9em;
}

.heppakortti h3 a, .korttiteksti a.buttoni {
    color: #fff;
}
.heppakortti h3 a:hover, .korttiteksti a.buttoni:hover {
    text-decoration: none;
}


/* uusi */

.heppakortti {
    width: calc(25% - 20px);
    display: flex;
    flex-wrap: wrap;
    margin: 10px 10px 20px 10px;
    align-items: center;
    background-color: rgb(103 122 92);
    border-radius: 20px 20px 0 0;
}

.korttikuva {
    padding: 0 0 10px 0;
    width: 100%;
}

.korttikuva img {
    border: none;
    box-shadow: none;
    transition: 0.5s;
    /*border-radius: 20px 20px 0 0;*/
}
.korttiteksti {
    width: 100%;
    padding: 10px;
}



.korttiteksti a.buttoni {
    margin: 15px auto 0 auto;
}

.heppakortti h3 {
    width: 100%;
    background-color: transparent;
    margin-top: 0;
    margin-bottom: 0;
    text-align: center;
    padding: 5px;
    border-radius: 0;
}

.heppakortti h3 a {
    color: #fff;
}










.single-orit p, .single-tammat p {
    color: #0e1510;

}

.single-orit .yleistiedot-laatikko h2, .single-orit .yleistiedot-laatikko p,
.single-tammat .yleistiedot-laatikko h2, .single-tammat .yleistiedot-laatikko p,
.single-tammat .tumma-tausta h2, .single-tammat .tumma-tausta p,
.single-orit .tumma-tausta h2, .single-orit .tumma-tausta p {
    color: #fff;
}



.dgwt-jg-item img {
        border: 10px solid #fff;
}
.osio.wide {
    width: 100%;
    max-width: 100% !important;
    background-color: rgb(103 122 92);
    overflow: hidden;
    /*padding-top: 90px;*/
   /* border-bottom: 1px solid rgb(54 72 50);
    border-top: 1px solid rgb(54 72 50);*/
}

.osio-wide-inner {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.paakuva {
    border-radius: 50%;
    border: 10px solid #fff;
    max-height: 400px;
}


h1.hevosen  {
	    text-align: left;
    margin-left: 0;
	    margin-bottom: 3px;
}


.single-tammat main .wrapper,
.single-orit main .wrapper{
    width: 100%;
    max-width: 100%;
}
.single-tammat main .full,
.single-orit main .full{
    padding-top: 0;
    padding-bottom: 0;
    background-color: rgb(202 210 196);
}
.single-tammat .osio,
.single-orit .osio{
    max-width: 1000px;
    margin: 0 auto;
}
    


.hevosen-otsikko {
    margin: 0 0 -20px 0;
    font-size: 40px;
    text-align: left;
    color: #c28f46;
}

p.tiedot {
        padding-top: 10px;
    line-height: 190%;
}

.kuvapuolisko, .tekstipuolisko {
    width: 50%;
    float: left;

}

.kuvapuolisko {
    padding: 0 0;
}
.tekstipuolisko {
    padding: 40px 65px 30px 65px;
}

.yleistiedot-laatikko {
    background-color: rgb(103 122 92);
    overflow: hidden;
    padding-top: 90px;
    /*border-bottom: 2px solid rgb(54 72 50);*/
}

span.pienella {
    text-transform: lowercase;
}


.suvunnimi {
    color: #fff;
    font-weight: 300;
}

.harmaa-boksi {
    background-color: #eaeaea;
    padding: 10px 0;
    display: none;
}
.tietoja p {
	    margin: .3em 0 0 0;
}

p.reknro {
	font-size: 15px;
	margin: 0 0 10px 0;
}

.hevosotsikko {
    width: 100%;
    height: auto;
    background: linear-gradient(to right, #284885 32%, #fff 32%);
    /* padding: 20px 0; */
}
.otsikkokuva {
    max-width: 1000px;
    margin: 0 auto;
	padding: 30px 0;
}

.paakuva {
    border-radius: 50%;
    border: 10px solid #fff;
    max-height: 400px;
    width: 40%;
}

.tietoja {
    width: 60%;
	    padding: 0 30px;
}

.keskella {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.osio.wide.tumma-tausta.merkinta {
    border-bottom: 0;
        padding: 70px 0;
}



.shape-container{
  position:relative;
  width: 1245px;
	height: 780px;
  /*background-image: url('https://images.unsplash.com/photo-1557844352-761f2565b576?ixlib=rb-1.2.1&auto=format&fit=crop&w=1050&q=80');*/
  background-repeat: no-repeat;
  background-size: cover;
}

.shape-top{
  position:absolute;
  top:0;
  left:0;
	width: 100%;
	height: 100%;
	background-image: url('https://images.unsplash.com/photo-1557838429-126184c0345c?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=634&q=80');
  background-repeat: no-repeat;
  background-size: cover;
  -webkit-clip-path: polygon(0 0, 80% 0, 35% 50%, 0 12%);
  clip-path: polygon(0 0, 80% 0, 35% 50%, 0 12%);
}

.shape-left{
  position:absolute;
  left:0;
  bottom:0;
  width: 100%;
	height: 100%;
	background-image: url('https://images.unsplash.com/photo-1557878499-95663e82c9d1?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1052&q=80');
  background-repeat: no-repeat;
  background-size: cover;
  -webkit-clip-path: polygon(0 12%, 0 86%, 35% 50%);
  clip-path: polygon(0 12%, 0 86%, 35% 50%);
}






























@media only screen and (min-width: 481px) {
  /* ======================================================== */
  /* TABLETTI */
  /* ======================================================== */
    body {
        font-size: 0.9em;
    }
    h1 {
        font-size: 3em;
    }

    .wrapper {
        width: 90%;
        margin: 0 5%;
    }
    .puolikas {
        width: 50%;
        clear: none;
    }
    .neljasosa {
        width: 50%;
        clear: none;
    }
    .kuudesosa {
        width: 100%;
        clear: both;
        margin-left: 0;
        margin-bottom: 1em;
        padding: 25px auto;
        float: left;
        display: block;
        width: 25%;
        clear: none;
    }
    .hide-desktop {
        display: none;
    }
    .hide-mobile {
        display: block;
    }
    .tablet-only {
        display: block;
    }
    .footerlogo {
        max-width: 150px;
        margin: 25px auto 25px auto;
    }
}
@media only screen and (min-width: 768px) {
    /* Dropdown menu */
    nav ul.nav li.dropdown:hover > ul.dropdown-menu {
        display: block;
    }
    #navbar-collapse-1 {
        float: right;
        text-align: right;
        display: block !important;
    }
    nav ul {
        float: right;
        text-align: right;
		width: 100%;
    }
	nav ul li {
    width: 22%;
	}
	nav ul li:nth-child(3) {
    width: 12%;
	}
	
    .desktop-menu {
        display: block;
    }
    #navbar-collapse-1.mobile-menu {
        display: none !important;
    }
    .dropdown-menu {
		display: none;
	}
	.navbar-expand-md .navbar-nav .nav-link {
        padding-right: 0; 
        padding-left: 0; 
    }
    

    .ylapalkki .shrink .dropdown-menu {
    	padding-top: 10px;
    }
	
	
	

nav a {
    
	position: relative;
	display: inline-block;
	margin: 15px 25px;
	outline: none;
	color: #fff;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-weight: 400;
	text-shadow: 0 0 1px rgba(255,255,255,0.3);
	font-size: 1.35em;
}
nav a:hover,
nav a:focus {
	outline: none;
}

/* Effect 21: borders slight translate */
nav a {
	padding: 10px;
	color: #237546;
	font-weight: 700;
	text-shadow: none;
	-webkit-transition: color 0.3s;
	-moz-transition: color 0.3s;
	transition: color 0.3s;
}
nav a::after {
	position: absolute;
	left: 25%;
    width: 50%;
	height: 1px;
	background: #fff;
	content: '';
	opacity: 0;
	-webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
	-moz-transition: opacity 0.3s, -moz-transform 0.3s;
	transition: opacity 0.3s, transform 0.3s;
	-webkit-transform: translateY(-10px);
	-moz-transform: translateY(-10px);
	transform: translateY(-10px);
}


nav a::after {
	bottom: 0;
	-webkit-transform: translateY(10px);
	-moz-transform: translateY(10px);
	transform: translateY(10px);
}

nav a:hover,
nav a:focus {
	color: #fff;
}

nav a:hover::before,
nav a:focus::before,
nav a:hover::after,
nav a:focus::after {
	opacity: 1;
	-webkit-transform: translateY(0px);
	-moz-transform: translateY(0px);
	transform: translateY(0px);
}

	
	
	
.ylapalkki {
    background-color: transparent;
    z-index: 999;
    position: absolute;
}
	
.logo {
    display:none;
}

	
	
}
@media only screen and (min-width: 899px) {
    /* ======================================================== */
    /* DESKTOP, ISOT NÄYTÖT */
    /* ======================================================== */
    body {
        font-size: 0.9em;
    }
    .wrapper {
        max-width: 1100px;
        margin: 0 auto;
    }
    .kolmasosa {
        width: 33.333%;
        clear: none;
        float: left;
    }
    .puolikas,
    .kolmasosa-puolikas {
        width: 50%;
        clear: none;
    }
    .kaksikolmasosaa {
        width: 66.666%;
        clear: none;
    }
    .neljasosa {
        width: 25%;
        clear: none;
    }
    .kuudesosa {
        width: 100%;
        clear: both;
        margin-left: 0;
        margin-bottom: 1em;
        padding: 25px auto;
        float: left;
        display: block;
        width: 16.6666%;
        clear: none;
    }
    footer h1,
    footer.full h1,
    footer h2,
    footer.full h2,
    footer h3,
    footer.full h3,
    footer h4,
    footer.full h4,
    footer p,
    footer.full p {
        text-align: left;
    }
    .footertext {
        margin: 1em 25px 0 25px;
        width: 40%;
        float: left;
        text-align: left;
    }
    .footerlogo {
        margin: 25px;
    }
    .hide-tablet {
        display: block;
    }
    .tablet-only {
        display: none;
    }
}
@media only screen and (min-width: 1199px) {
    /* ======================================================== */
    /* ISOT NÄYTÖT */
    /* ======================================================== */
    .kolmasosa-puolikas {
        width: 33.333%;
        clear: none;
    }
}


@media only screen and (max-width: 1200px) {
.centered h1 {
    font-size: 55px !important;
        line-height: 50px;
}

.header-image-and-title {
    height: 550px;
}

}

@media only screen and (max-width: 1100px) {
    .heppakortti {
    width: calc(33.33333333% - 20px);
    }
}

@media only screen and (max-width: 900px) {
    .single-tammat main .wrapper, .single-orit main .wrapper {
        margin: 0 0;
    }
    .osio {
    padding-left: 25px;
    padding-right: 25px;
}

.kuvapuolisko, .tekstipuolisko {
    width: 100%;
}
.kuvapuolisko {
    height: 300px;
}
.osio.yleistiedot-osio {
    padding: 0 0;
}
.yleistiedot-laatikko {
    padding-top: 0;
}
.tekstipuolisko {
    padding: 40px 25px 30px 25px;
}
}

@media only screen and (max-width: 768px) {
    .ylapalkki {
    background-color: rgb(19 31 23);
    }
    h1.logo-otsikko {
    margin: 10px 0;
    color: rgb(194 143 70);
    text-align: left;
    font-weight: 200;
    font-size: 40px;
}

.navbar {
    padding: .5rem 0;
}
.logo {
    width: 80%;
}

.heppakortti {
    width: calc(50% - 20px);
}

footer .puolikas {
    width: 100%;
    text-align: center;
}
footer .puolikas:nth-child(2) p {
    float: none;
}
}

@media only screen and (max-width: 570px) {
    .page-header-text, .page-header-image {
    width: 100%;
}
.page-header-image {
    order: 1;
}

.page-header-text {
    order: 2;
}
    .centered h1 {
        font-size: 45px !important;
    }
    p.ingressi {
    font-size: 1.1em;
    }
    .heppakortti {
    width: calc(100% - 20px);
}

}
@media only screen and (max-width: 450px) {
h1.logo-otsikko {
    font-size: 30px;
}
    .header-image-and-title {
        height: 650px;
    }
}










/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
	background-color: #eee;
	clip: auto !important;
	clip-path: none;
	color: #444;
	display: block;
	font-size: 1em;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
	/* Above WP toolbar. */
}


/* == WordPress WYSIWYG Editor Styles == */

.entry-content img {
	margin: 0 0 1.5em 0;
	}
.alignleft, img.alignleft {
	margin-right: 1.5em;
	display: inline;
	float: left;
	}
.alignright, img.alignright {
	margin-left: 1.5em;
	display: inline;
	float: right;
	}
.aligncenter, img.aligncenter {
	margin-right: auto;
	margin-left: auto;
	display: block;
	clear: both;
	}
.alignnone, img.alignnone {
	/* not sure about this one */
	}
.wp-caption {
	margin-bottom: 1.5em;
	text-align: center;
	padding-top: 5px;
	}
.wp-caption img {
	border: 0 none;
	padding: 0;
	margin: 0;
	}
.wp-caption p.wp-caption-text {
	line-height: 1.5;
	font-size: 10px;
	margin: 0;
	}
.wp-smiley {
	margin: 0 !important;
	max-height: 1em;
	}
blockquote.left {
	margin-right: 20px;
	text-align: right;
	margin-left: 0;
	width: 33%;
	float: left;
	}
blockquote.right {
	margin-left: 20px;
	text-align: left;
	margin-right: 0;
	width: 33%;
	float: right;
	}
.gallery dl {}
.gallery dt {}
.gallery dd {}
.gallery dl a {}
.gallery dl img {}
.gallery-caption {}

.size-full {}
.size-large {}
.size-medium {}
.size-thumbnail {}

/* == WordPress CSS - Miscellaneous Styles == */

/* category links */
 li.categories {}  
 li.cat-item {}
 li.cat-item-{id} {}
 li.current-cat {}
 li.current-cat-parent {}
 ul.children {}

/* blogroll links */
.linkcat {}
.blogroll {}

/* read-more links */
.more-link {}


/* == WP CSS - Page Listings == */

.pagenav {}               /* outermost list item */
.page_item {}             /* any page item */
.page-item-{id} {}        /* specific page id */
.current_page_item {}     /* current page */
.current_page_parent {}   /* parent of current page */
.current_page_ancestor {} /* any ancestor of current page */

.pagenav ul,
.pagenav .current_page_item ul,
.pagenav .current_page_ancestor ul,
.pagenav .current_page_ancestor .current_page_item ul,
.pagenav .current_page_ancestor .current_page_ancestor ul,
.pagenav .current_page_ancestor .current_page_ancestor .current_page_item ul,
.pagenav .current_page_ancestor .current_page_ancestor .current_page_ancestor ul {}

.pagenav  ul ul,
.pagenav .current_page_item ul ul,
.pagenav .current_page_ancestor ul ul,
.pagenav .current_page_ancestor .current_page_item ul ul,
.pagenav .current_page_ancestor .current_page_ancestor ul ul {}
.pagenav .current_page_ancestor .current_page_ancestor .current_page_item ul ul, 
.pagenav .current_page_ancestor .current_page_ancestor .current_page_ancestor ul ul {}


/* == WordPress CSS - Default WordPress Widgets == */

.widget {}

/* links widget */
.widget_links {}
.widget_links ul {}
.widget_links ul li {}
.widget_links ul li a {}

/* meta widget */
.widget_meta {}
.widget_meta ul {}
.widget_meta ul li {}
.widget_meta ul li a {}

/* pages widget */
.widget_pages {}
.widget_pages ul {}
.widget_pages ul li {}
.widget_pages ul li a {}

/* recent-posts widget */
.widget_recent_entries {}
.widget_recent_entries ul {}
.widget_recent_entries ul li {}
.widget_recent_entries ul li a {}

/* archives widget */
.widget_archive {}
.widget_archive ul {}
.widget_archive ul li {} 
.widget_archive ul li a {}
.widget_archive select {}
.widget_archive option {}

/* tag-cloud widget */
.widget_links {}
.widget_links li:after {}
.widget_links li:before {}
.widget_tag_cloud {}
.widget_tag_cloud a {}
.widget_tag_cloud a:after {}
.widget_tag_cloud a:before {}

/* calendar widget */
.widget_calendar {}
#calendar_wrap {}
#calendar_wrap th {}
#calendar_wrap td {}
#wp-calendar tr td {}
#wp-calendar caption {}
#wp-calendar a {}
#wp-calendar #today {}
#wp-calendar #prev {}
#wp-calendar #next {}
#wp-calendar #next a {}
#wp-calendar #prev a {}

/* category widget */
.widget_categories {}
.widget_categories ul {}
.widget_categories ul li {} 
.widget_categories ul ul.children {}
.widget_categories a {}
.widget_categories select{}
.widget_categories select#cat {}
.widget_categories select.postform {}
.widget_categories option {}
.widget_categories .level-0 {}
.widget_categories .level-1 {}
.widget_categories .level-2 {}
.widget_categories .level-3 {}

/* recent-comments widget */
.recentcomments {}
#recentcomments {}
#recentcomments li {}
#recentcomments li a {}
.widget_recent_comments {}

/* search widget */
#searchform {}
.widget_search {}
.screen-reader-text {}

/* text widget */
.textwidget {}
.widget_text {}
.textwidget p {}


/* == WP CSS - Comment Styles == */

.commentlist .reply {}
.commentlist .reply a {}

.commentlist .alt {}
.commentlist .odd {}
.commentlist .even {}
.commentlist .thread-alt {}
.commentlist .thread-odd {}
.commentlist .thread-even {}
.commentlist li ul.children .alt {}
.commentlist li ul.children .odd {}
.commentlist li ul.children .even {}

.commentlist .vcard {}
.commentlist .vcard cite.fn {}
.commentlist .vcard span.says {}
.commentlist .vcard img.photo {}
.commentlist .vcard img.avatar {}
.commentlist .vcard cite.fn a.url {}

.commentlist .comment-meta {} 
.commentlist .comment-meta a {}
.commentlist .commentmetadata {}
.commentlist .commentmetadata a {}

.commentlist .parent {}
.commentlist .comment {}
.commentlist .children {}
.commentlist .pingback {}
.commentlist .bypostauthor {}
.commentlist .comment-author {}
.commentlist .comment-author-admin {}

.commentlist {}
.commentlist li {}
.commentlist li p {}
.commentlist li ul {}
.commentlist li ul.children li {}
.commentlist li ul.children li.alt {}
.commentlist li ul.children li.byuser {}
.commentlist li ul.children li.comment {}
.commentlist li ul.children li.depth-{id} {}
.commentlist li ul.children li.bypostauthor {}
.commentlist li ul.children li.comment-author-admin {}

#cancel-comment-reply {}
#cancel-comment-reply a {}


/* == WP CSS - post_class() == */

.post-id {}
.post {}
.page {}
.attachment {}
.sticky {}
.hentry {}
.category-misc {}
.category-example {}
.tag-news {}
.tag-wordpress {}
.tag-markup {}