@font-face {
	font-family: "Prestige Elite Std";
	src: local("Prestige Elite Std Bold"), local("PrestigeEliteStd-Bd"),
		url("fonts/PrestigeEliteStd-Bd.woff2") format("woff2"),
		url("fonts/PrestigeEliteStd-Bd.woff") format("woff");
	font-weight: normal;
	font-style: normal;
}

body {
	font-family: sans-serif;
	margin: 0;
	padding: 0;
	background-color: #3f1f1f;
	background-image: url(images/tausta.gif);
	color: #cca54d;
	display: flex;
	flex-flow: column nowrap;
	min-height: 100vh;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

a,
a:link,
a:visited {
	color: #fcd59d;
}

button,
input[type="submit"] {
	cursor: pointer;
}

svg {
	overflow: hidden;
}

blockquote {
	margin: 0;
	padding: 0.1rem 1rem;
	border-left: 0.2rem solid;
	background-color: rgba(0, 0, 0, 0.5);
}

.header {
	background-color: #850000;
	font-family: "Prestige Elite Std", monospace;
	font-size: 1.6rem;
}

.header-title {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem 0;
}

.header-title-text {
	background-image: url(images/header.png);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: contain;
	width: 1035px;
	height: 75px;
	margin: 0;

	text-indent: 100%;
	white-space: nowrap;
	overflow: hidden;
}

@media (max-width: 1035px) {
	.header-title-text {
		width: 100%;
		height: 3rem;
	}
}

.header-title::before,
.header-title::after {
	display: block;
	content: "";
	width: 186px;
	height: 29px;
	background-size: contain;
	background-repeat: no-repeat;
}

.header-title::before {
	background-image: url(images/kruusoovasen.png);
}

.header-title::after {
	background-image: url(images/kruusoooikia.png);
}

@media (max-width: 1035px) {
	.header-title::before,
	.header-title::after {
		display: none;
	}
}

.header-title-button {
	display: none;
}

.header-jumbo {
	height: 24rem;
	background-color: #7f7f7f;
	position: relative;
	background-size: cover;
	background-position: center center;
	box-shadow: inset 0 -0.5rem 1rem rgba(0, 0, 0, 0.3);
}

.jumbo-image-home {
	background-image: url(images/jumbotron-ilmasta.jpg);
}

.jumbo-image-history {
	background-image: url(images/jumbotron-kirja.jpg);
}

.jumbo-image-conferences {
	background-image: url(images/jumbotron-kokoukset.jpg);
}

.jumbo-image-sauna {
	background-image: url(images/jumbotron-savusauna.jpg);
}

.jumbo-image-pricelist {
	background-image: url(images/jumbotron-hinnasto.jpg);
}

.jumbo-image-contact {
	background-image: url(images/jumbotron-hosts.jpg);
}

.jumbo-image-accommodation {
	background-image: url(images/jumbotron-huone.jpg);
}

.header-jumbo::before {
	display: block;
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 43px;
	background-color: transparent;
	background-image: url(images/salaminakit.png);
	background-repeat: repeat-x;
	background-position: 0 100%;
}

.navigation {
	background-color: #68541f;
	font-family: "Prestige Elite Std", monospace;
	font-size: 1.2rem;
	border-top: 1px solid #000;
	box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.5);
	white-space: nowrap;
	display: flex;
	justify-content: center;
}

.navigation a {
	display: block;
	color: #cca54d;
	text-decoration: none;
	padding: 0.6rem 2rem;
}

.navigation .language {
	font-size: 0.8rem;
	padding: 0.8rem 0.8rem;
	color: #eee;
}

.navigation ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: stretch;
	justify-content: center;
	flex-wrap: wrap;
}

.navigation li {
	display: flex;
	align-items: stretch;
}

.navigation li.active::before {
	display: block;
	content: "";
	background-image: url(images/nav-active.png);
	width: 16px;
	height: 22px;
	margin: 0.6rem calc(-16px - 0.5rem) 0.6rem 0.5rem;
}

@media (max-width: 1279px) {
	.navigation a {
		padding: 0.6rem 1rem;
	}

	.navigation li.active::before {
		margin: 0.6rem -16px 0.6rem 0;
	}
}

main {
	flex: 1;
	display: flex;
}

.content {
	flex: 1;
	padding: 2rem 3rem;
}

.content-aside {
	background-color: rgba(0, 0, 0, 0.3);
	width: 20rem;
	padding: 2rem 1rem;
}

.content-aside h3 {
	text-transform: uppercase;
	font-weight: normal;
	font-size: 1em;
}

.aside-booking {
	display: flex;
	justify-content: flex-end;
	margin-bottom: 2rem;
}

.aside-booking img {
	width: 10rem;
}

.roomcategory-separator {
	margin: 3rem auto;
	border-style: none;
	height: 1px;
	width: 90%;
	background-color: #cca54d;
}

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

.roomcategory-header {
	display: flex;
	flex-direction: row;
}

.roomcategory-header-image {
	flex-shrink: 0;
	position: relative;
	width: 20rem;
	height: 20rem;
}

.roomcategory-header-image > img {
	display: block;
	position: absolute;
}

.roomcategory-header-image > img:nth-child(1) {
	top: 5%;
	left: 5%;
	width: 85%;
	height: 85%;
}

.roomcategory-header-image > img:nth-child(2) {
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.roomcategory-header-info {
	margin: 0 1rem;
}

.roomcategory-rooms {
	background-image: url(images/vilimi.png);
	background-repeat: no-repeat;
	background-size: 932px 198px;
	background-position: 100% 0;
	/* display: flex;
	flex-flow: row nowrap;
	justify-content: flex-end; */
	margin-left: -3rem;
	padding-left: 3rem;
}

.roomcategory-rooms-container {
	display: flex;
	flex-flow: row nowrap;
	justify-content: flex-end;
}

.roomcategory-title {
	text-transform: uppercase;
	text-align: right;
	color: rgba(47, 23, 0, 0.8);
	flex: 0 0 150px;
	margin: 60px 20px 0 0;
	padding: 0;
}

.roomcategory-room {
	flex: 0 0 160px;
	display: flex;
	flex-flow: column nowrap;
	align-items: center;
}

.roomcategory-room-name {
	margin: 0;
	line-height: 18px;
	font-size: 18px;
	color: #fff;
}

.roomcategory-room-detail {
	margin: 0;
	font-size: 14px;
	color: #fff;
	font-weight: normal;
}

.roomcategory-room-image {
	width: 150px;
	height: 100px;
}
.roomcategory-room-image-link {
	margin: 20px 0 40px;
}

.roomcategory-room-name + .roomcategory-room-image-link {
	margin-top: 36px;
}

.roomcategory-room-info {
	margin: 0;
	padding: 0;
	align-self: flex-start;
	list-style-position: inside;
	list-style-type: none;
}

.roomcategory-room-info > li::before {
	content: '- ';
}

.page-spoiler-layout {
	display: flex;
}

.page-spoiler-layout {
	float: none;
}

@media (max-width: 919px) {
	.page-spoiler-layout {
		flex-direction: column;
	}
}

.page-spoiler-image {
	display: block;
	position: relative;
	width: 20rem;
	height: 20rem;
	flex-shrink: 0;
	float: left;
	margin-right: 2rem;
}

.page-spoiler-image > img {
	display: block;
	position: absolute;
}

.page-spoiler-image > img:nth-child(1) {
	top: 5%;
	left: 5%;
	width: 85%;
	height: 85%;
}

.page-spoiler-image > img:nth-child(2) {
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.history-image-link {
	float: right;
	margin-left: 1rem;
}

.history-image-link img {
	max-width: 10rem;
	max-height: 14rem;
}

.history-image-link-small img {
	max-width: 5rem;
	max-height: 5rem;
}

.history-image-strip {
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
}

.history-image-strip > * {
	height: 12rem;
	overflow: hidden;
	margin: 1rem;
	box-shadow: 0.5rem 0.5rem 1rem rgba(0, 0, 0, 0.5);
	flex: 0 0 16rem;
}

.history-image-strip img {
	width: 100%;
	height: 100%;
}

.video-player {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

@media (max-width: 919px) {
	.history-image-link {
		display: inline-block;
		float: none;
	}
}

.contact {
	display: flex;
}

.contact-booking {
	display: block;
	max-width: 10rem;
}

.contact-form {
	width: 100%;
	max-width: 50rem;
	margin-left: 4rem;
}

.contact-form input[type="email"],
.contact-form textarea {
	display: block;
	width: 100%;
}

.contact-form textarea {
	height: 8rem;
}

.contact-form button[type="submit"],
.contact-form input[type="submit"] {
	margin-top: 1rem;
	font-weight: bold;
}

.contact-form label {
	display: block;
	margin: 1rem 0 0;
}
