/*
 Theme Name:     Lautapeliopas 2020
 Theme URI:      http://example.com/twenty-fourteen-child/
 Description:    Twenty Twenty Child Theme
 Author:         Mikko Saari
 Author URI:     http://example.com
 Template:       twentytwenty
 Version:        1.0.0
*/

@import url("../twentytwenty/style.css");

h1,
.archive-title {
	font-size: 3.6rem;
}

.singular .intro-text {
	font-size: 1.8rem;
}

@media (min-width: 700px) {
	.singular .entry-header {
		padding: 4rem 0;
	}

	.home .wp-block-columns {
		margin-top: 1rem;
		margin-bottom: 1rem;
	}

	h1,
	.archive-title {
		font-size: 5rem;
	}

	.singular .intro-text {
		font-size: 2rem;
	}

	.singular .archive-subtitle.intro-text {
		font-size: 1.8rem;
	}

	.archive-header {
		padding: 2rem 0 4rem;
	}
}

@media (min-width: 700px) and (max-height: 999px) {
	.singular .entry-header {
		padding: 2rem 0;
	}
}

@media (min-width: 1220px) and (min-height: 1000px) {
	h1,
	.archive-title {
		font-size: 8.4rem;
	}

	.singular .intro-text {
		font-size: 2.4rem;
	}
}

.archive-title {
	text-align: center;
}

/* =Theme customization starts here
-------------------------------------------------------------- */

.etusivun_uudet {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	grid-column-gap: 30px;
	grid-row-gap: 20px;
}

.ylaosan_gridi {
	width: 100%;
	display: grid;
	grid-template-columns: 2fr 1fr;
	grid-column-gap: 10px;
}

.etusivun_uudet h3 {
	margin: 1rem auto 0.5rem;
	font-size: 2.5rem;
}

.wp-block-columns h3 {
	font-size: 3rem;
}

#searchform #s {
	width: 60%;
	display: inline;
}

#searchform {
	text-align: center;
}

#searchform .relevanssi-live-search-results {
	text-align: left;
}

p.haetuimmat {
	margin: 0.5em auto 0;
	font-size: 0.8em;
	font-style: italic;
	text-align: center;
}

@media screen and (max-width: 500px) {
	.ylaosan_gridi {
		display: block;
	}

	.ylaosan_gridi div:last-child {
		display: none;
	}

	.piilota_mobiilissa,
	#uusimmatkommentit {
		display: none;
	}

	p.haetuimmat {
		max-width: 100%;
		margin: 0.5em auto 0;
		font-size: 1em;
		font-style: normal;
	}
}

.kauppa {
	position: relative;
}

.kauppa .hover {
	display: none;
}

.poromagia.osuma .hover,
.kauppa:hover .hover {
	display: block;
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0px;
	bottom: 0px;
	padding-top: 1em;
	overflow: hidden;
	font-size: 3rem;
	line-height: 1.1;
}

.kauppa:hover .hover {
	background-color: white;
}

.osuma:hover .hover {
	background: none;
}

.poromagia.osuma img {
	opacity: 0.1;
}

.hover span {
	text-decoration: underline;
	color: #860000;
	font-weight: bold;
}

#pelilista .entry-content img.thumb {
	width: 70px;
	height: 70px;
}

#pelilista .listing-text {
	display: grid;
	grid-template-columns: 80px auto;
	grid-column-gap: 20px;
	padding-top: 3rem;
	padding-bottom: 3rem;
	border-bottom: 1px dashed #d0d0d0;
}

#pelilista .listing-text h3 {
	font-size: 2rem;
	margin: 0;
}

#pelilista .listing-text p {
	margin-bottom: 0;
}

.vuosiäänestys td.pisteet {
	text-align: left;
}

.vuosiäänestys td.vihrea {
	background-color: #c1ffc1;
}

.vuosiäänestys td.punainen {
	background-color: #ff8080;
}

.vuosiäänestys td.keltainen {
	background-color: #fff7bf;
}

span.anfangi {
	display: block;
	float: left;
	font-size: 32px;
	color: #187e2d;
	margin-right: 10px;
	width: 50px;
	text-align: center;
}

.thumbsize {
	width: 70px;
	height: 70px;
}

.kauppalinkit {
	margin-top: 6rem;
}

#kauppalinkit {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	grid-column-gap: 5px;
}

/*
.related_thumb {
    width: 80px;
    padding: 0px 3px 15px 0px;
    float: left;
    text-align: center;
    line-height: 0.8em;
    min-height: 130px;
}

.no_7 {
    clear: both;
}
*/

.related_container {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	grid-row-gap: 40px;
	line-height: 1;
}

.related_thumb {
	text-align: center;
}

.related_thumb img {
	width: 70px;
	margin: auto;
}

.related_thumb a {
	font-size: 1.5rem;
	line-height: 1;
}

@media screen and (max-width: 727px) {
	.related_container {
		grid-template-columns: repeat(3, 1fr);
	}
}

.bgg {
	display: flex;
	flex-direction: column;
}

.bgg img {
	height: 35px;
	display: inline;
	vertical-align: middle;
	margin-right: 15px;
}

.bgg div {
	display: flex;
	flex-direction: row;
	align-items: center;
	margin-bottom: 2rem;
}

.bgg div p {
	margin-bottom: 0;
}
.arvostelu-meta h3 {
	font-size: 3rem;
}

.paivitetty {
	font-size: 80%;
}

.entry-header-inner {
	position: relative;
}

.leima {
	position: absolute;
	right: -120px;
}

@media screen and (max-width: 1024px) {
	.leima {
		width: 100px;
		right: -25px;
	}
}

@media screen and (max-width: 727px) {
	.leima {
		width: 80px;
		position: relative;
		right: 0;
		margin: 10px auto;
	}
}

span.dot svg {
	display: inline;
	height: 15px;
	width: 15px;
	margin-left: 4px;
	vertical-align: middle;
	fill: #a0a0a0;
}

ol.parhaat li a {
	margin-right: 10px;
}

.termilista a {
	font-size: 2.5rem;
}

.vuosiäänestys tbody tr:nth-of-type(odd) {
	background-color: #fafafa;
}

.vuosiäänestys tbody tr:nth-of-type(even) {
	background-color: #fff;
}

.vuosiäänestys td {
	word-break: normal;
}

.widget_recent_comments li.recentcomments {
	font-weight: 400;
}

.widget_recent_comments li.recentcomments .comment-author-link,
.widget_recent_comments li.recentcomments .comment-post {
	font-weight: 700;
}

.widget_recent_comments li.recentcomments .comment-excerpt {
	font-style: italic;
}

.archive-content {
	width: calc(100% - 4rem);
	max-width: 58rem;
	margin-left: auto;
	margin-right: auto;
	margin-top: 1.5rem;
}

@media screen and (min-width: 700px) {
	.archive-content {
		width: calc(100% - 8rem);
		max-width: 120rem;
	}
}

.related_thumb a,
.kauppa a {
	font-family: "Inter var", -apple-system, BlinkMacSystemFont, "Helvetica Neue",
		Helvetica, sans-serif;
}

ul.ui-autocomplete {
	background: #fafafa;
	padding: 10px 0;
}

.ui-menu-item {
	padding-left: 20px;
}

.ui-widget-content .ui-state-focus {
	background-color: #f5efe0;
}

table#vuosiaanestys td,
table#vuosiaanestys tr,
table#vuosiaanestys {
	border: none;
}

#mp_form_below_2 {
	max-width: 60rem;
}

.embed-youtube.cmplz-blocked-content-container {
	margin-top: -50%;
}

.vuosiaanestysbanneri {
	background-color: #f5efe0;
	text-align: center;
	font-size: 2.5rem;
	padding: 40px;
}

@media screen and (min-width: 1024px) {
	.vuosiaanestysbanneri {
		font-size: 3rem;
	}
}

.vuosiaanestysbanneri a {
	background: rgb(85, 186, 89);
	background: linear-gradient(
		150deg,
		rgba(85, 186, 89, 1) 0%,
		rgba(25, 137, 44, 1) 30%
	);
	color: #fff;
	padding: 20px;
	display: block;
}

h1 a.heading-link,
h2 a.heading-link,
h3 a.heading-link,
h4 a.heading-link,
h5 a.heading-link,
h6 a.heading-link {
	display: none;
	position: relative;
}

h1 a.heading-link svg,
h2 a.heading-link svg,
h3 a.heading-link svg,
h4 a.heading-link svg,
h5 a.heading-link svg,
h6 a.heading-link svg {
	display: inline;
	right: -20px;
	position: relative;
}

h1:hover a.heading-link,
h2:hover a.heading-link,
h3:hover a.heading-link,
h4:hover a.heading-link,
h5:hover a.heading-link,
h6:hover a.heading-link {
	display: inline;
}

.post-meta-wrapper {
	max-width: 70rem;
}

.post-meta-wrapper.post-meta-single-bottom {
	max-width: 58rem;
}

section.article_section {
	max-width: 100% !important;
	padding: 0;
}

.section_byline {
	font-size: 90%;
	margin-bottom: 1em;
	display: block;
	margin-top: -1em;
}

.footer_widgets .widget_block h2 {
	font-size: 2.8rem;
	margin-top: 0;
}

.widget.widget_block.widget_text {
	margin-top: 0;
}

.footer_widgets .widget.widget_media_image {
	margin-top: 0;
	margin-bottom: 3rem;
}

@media (min-width: 700px) {
	.footer_widgets .widget_block h2 {
		font-size: 4rem;
	}
}

article figure.wp-block-jetpack-image-compare figcaption {
	font-size: 1.6rem;
	text-align: inherit;
}

div .rlv-has-spinner {
	border-color: #19892c;
	border-right-color: transparent;
}

div .rlv-has-spinner::after {
	background-color: #19892c;
}