@import url('https://fonts.googleapis.com/css2?family=Aboreto&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500&display=swap');

body {
    background-color: #f3f3f3;
    line-height: 10px;
    font-size: 0.7em;
}

.kuvat {
    margin: 0 15%;
    padding: 30px 40px;
    border: 1px solid #944b68;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#7e2247), to(#a05685));
    background-image: linear-gradient(180deg, #7e2247, #a05685);
	min-width: 460px;
}

.kuvat img {
	height: 100px;
	margin-top: 10px;
    margin-right: 15px;
    text-align: center;
    border-style: solid;
    border-width: 5px;
    border-color: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.kuvat img:hover {
    -webkit-transform: scale(0.97);
    -ms-transform: scale(0.97);
    transform: scale(0.97);
}

.tiedot {
    margin-top: 10px;
    margin-right: 15%;
    margin-left: 15%;
    font-family: 'Open Sans', sans-serif;
    color: #142d3d;
    padding: 30px 40px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background-color: #fff;
	min-width: 460px;
}

.teksti {
    margin-bottom: 0px;
    font-family: 'Open Sans', sans-serif;
    color: #142d3d;
    line-height: 21px;
    font-weight: 400;
}

h1 {
    margin: 40px 15% 25px;
    padding-left: 40px;
    font-family: Aboreto, sans-serif;
    color: #142d3d;
    font-size: 3.3em;
    line-height: 38px;
    font-weight: 400;
    text-align: left;
    letter-spacing: -1px;
}

h2 {
    margin: -20px 15% 25px;
    padding-left: 60px;
    font-family: 'Open Sans', sans-serif;
    color: #a05685;
    font-size: 1.3em;
    line-height: 17px;
    font-weight: 400;
}

h3 {
    margin: 30px 0 20px 25px;
    font-family: Aboreto, sans-serif;
    color: #142d3d;
    font-size: 2.3em;
    line-height: 28px;
    font-weight: 400;
    letter-spacing: -1px;
	clear: both;
}

h4 {
	margin-top: 0;
    font-family: 'Open Sans', sans-serif;
    color: #a05685;
    font-size: 1.3em;
    font-weight: 400;
	clear: both;
}

.perustiedot {
    margin-bottom: 20px;
    padding-left: 20px;
    font-family: 'Open Sans', sans-serif;
    color: #142d3d;
    line-height: 20px;
    font-weight: 500;
    text-align: left;
}

.perustiedot span {
	padding: 0.3em;
}

.linkki {
    color: #a05685;
    text-decoration: none;
}

.tekijanoikeudet {
    margin-top: 10px;
    margin-bottom: 30px;
    margin-right: 15%;
    margin-left: 15%;
    padding: 10px 40px;
    border: 1px solid #944b68;
    background-color: #a05685;
    font-family: 'Open Sans', sans-serif;
    color: hsla(0, 0%, 95.3%, 0.35);
    font-size: 0.8em;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.tekijanoikeudet a {
    color: hsla(0, 0%, 95.3%, 0.35) !important;
}

.sukupuu {
    width: 102%;
    background: none;
    border-spacing: 10px;
    margin-left: -10px;
    border-collapse: separate;
    color: #142d3d;
    text-align: center;
	line-height: 1.3;
}

.sukupuu a {
    font-size: 1.2em;
    color: #a05685;
    text-decoration: none;
	line-height: 1.4;
}

.sukupuu td {
    font-family: 'Open Sans', arial;
    border:1px solid rgba(0, 0, 0, 0.04);
    background-color: rgba(0, 0, 0, 0.03);
    font-weight: 400;
    overflow: hidden;
    padding: 10px 5px;
    word-break: normal;
    width: 33%;
    padding: 7px 10px;
    text-align: center;
    vertical-align: middle;
}


q {
	font-style: italic;
	font-size: 15px;
}

h3 span {
	font-size: 15px;
    font-family: 'Open Sans', sans-serif;
	padding-left: 20px;
	vertical-align: middle;
}

th {
	text-align: left;
	padding-left: 20px;
    font-family: 'Open Sans', sans-serif;
    color: #a05685;
    font-size: 15px;
    font-weight: 400;
}

.teksti td {
	padding: 3px;
	vertical-align: top;
}

.kuvav {
	float: left;
    border: 6px double #A05685;
	margin: 0 10px 0 0;
}

.varitonvasen {
	float: left;
	margin: 0 10px 0 0;
}

.kuvao {
	float: right;
    border: 6px double #A05685;
	margin: 0 0 0 10px;
}

.varitonoikea {
	float: right;
	margin: 0 0 0 15px;
}

.clear {
	clear: both;
}

.palkinnot {
	float: left;
	padding-left: 30px;
}

.palkinnot img {
	height: 100px;
	padding-right: 10px;
}

.kisat {
	width: 99%;
}

.kisat th {
	font-size: 1.2em;
	color: #FFF;
    background-color: #a05685;
	line-height: 2.5;
}

.kisat span {
    font-size: 1em;
	padding: 0 3px;
}

.pre {
	white-space: pre;
}



.hepat {
	color: hsla(0, 0%, 95.3%, 0.35);
	font-size: 1.5em;
	line-height: 1.3;
}

.hepat a {
    color: #fff !important;
}
	
#heppalista img {
	border: 1px solid #a05685;
}
#heppalista img:hover {
	border-color: #7C4367;
}

#heppalista td {
	font-size: 1em;
	line-height: 1.5;
	width: auto;
}

.listakuva {
	padding: 0px 15px !important;
	text-align: center;
}
.listakuva a {
	color: #a05685;
	font-size: 13px;
	line-height: 2.7;
	white-space: nowrap;
}
.listakuva a:hover {
	color: #7C4367;
}
.listakuva img {
	height: 100px;
}
.listavali td {
	border: 0;
	background: none;
}

.tab {
	overflow: hidden;
	text-align: center;
}

.tab button {
    background-color: #a05685;
	border: double #fff;
	width: 150px;
	height: 50px;
	color: #fff;
	font-size: 1.5em;
	margin: 15px;
	text-align: center;
}

.tab button:hover {
	opacity: 0.8;
}

.tabcontent {
	display: none;
}

@media screen and (max-width: 1100px) {
	.kuvat, .tiedot, .tekijanoikeudet {
		margin-right: 5%;
		margin-left: 5%;
	}

@media screen and (max-width: 935px) {

	.kuvat img {
		height: 90px;
		margin-right: 10px;
		border-width: 3px;
	}
	
	h1 {
		padding-left: 10px;
		font-size: 2em;
	}
	
	h2 {
		padding-left: 15px;
	}
}

@media screen and (max-width: 700px) {
	.kuvat, .tiedot, .tekijanoikeudet {
		margin-right: 3%;
		margin-left: 3%;
	}
	
	.kuvat img {
		height: 65px;
		margin-right: 5px;
		border-width: 2px;
	}
	
	h1 {
		font-size: 1.7em;
	}
}