/*
Theme Name:BlankSlate Chlid
Template:blankslate
Version:1.0
*/

h1,h2,h3,h4,h5,h6 {
	line-height: 1.35;
}

p {
	line-height: 2;
}

img {
	max-width: 100%;
	height: auto;
}

a {
	color: #37b;
	text-decoration: none;
	transition: opacity 0.2s;
}

a:hover {
	opacity: 0.6;
}

address {
	font-style: normal;
}

.hidden,
.sp_br {
	display: none;
}

figure.wp-block-image {
	margin: 0px;
	line-height: 0;
}

html {
	font-size: 16px;
}

body {
	color: #333;
	line-height: 1.5;
	word-warp: break-word;
	overflow-wrap: break-word;
}

body,
button,
input,
textarea,
select,
option {
	font-family: 'Nunito Sans', 'M PLUS 1p', sans-serif;
}

#wrapper {
	overflow: hidden;
	position: relative;
}

#header,
#container,
#footer {
	max-width: 1200px;
	width: calc(100% - 30px);
	margin: 0px auto;
	position: relative;
}

#header {
	padding-top: 20px;
}

#menu_button {
	display: none;
}

[for="menu_button"] {
	width: 45px;
	height: 35px;
	padding-left: 2px;
	color: #555;
	font-size: 0.88rem;
	line-height: 13px;
	letter-spacing: 0.1em;
	white-space: nowrap;
	position: fixed;
	top: 20px;
	left: calc(50% + 600px);
	transform: translateX(-100%);
	cursor: pointer;
	display: flex;
	justify-content: center;
	align-items: flex-end;
	display: none;
	z-index: 99;
}

[for="menu_button"]::before,
[for="menu_button"]::after {
	content: "";
	width: 100%;
	height: 1px;
	line-height: 0;
	background-color: #555;
	border-radius: 100px;
	position: absolute;
	top: 0px;
	left: 50%;
	transform: translate(-50%, -50%);
	display: block;
	transition: top 0.3s, transform 0.3s;
}

[for="menu_button"]::after {
	top: 12px;
}

#menu_button:checked ~ [for="menu_button"]::before {
	top: 6px;
	transform: translate(-50%, -50%) rotate(-18deg);
}

#menu_button:checked ~ [for="menu_button"]::after {
	top: 6px;
	transform: translate(-50%, -50%) rotate(18deg);
}

#site-title,
#site-title * {
	margin: 0px;
	line-height: 0;
}

#site-title a {
	display: inline-block;
}

#site-title img {
	width: 240px;
}

.header_navigation {
	position: absolute;
	top: 30px;
	right: 0px;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9;
}

.header_menu_list {
	margin: 0px;
	padding: 0px;
	list-style-type: none;
	display: flex;
	gap: 15px;
}

.header_menu_list a {
	color: #333;
	font-size: 0.9rem;
	white-space: nowrap;
	position: relative;
	display: block;
}

#breadcrumb {
	width: 100%;
	position: absolute;
	bottom: -180px;
	left: 0px;
}

#breadcrumb span,
#breadcrumb a {
	color: #333;
}

#breadcrumb span:nth-last-of-type(n + 2)::after {
	content: ">";
}

@media(max-width: 667px) {
	[for="menu_button"] {
		display: block;
	}
	
	.header_navigation {
		width: 100%;
		height: 100%;
		position: fixed;
		top: 0px;
		left: 0px;
		opacity: 0;
		pointer-events: none;
		display: flex;
		justify-content: center;
		align-items: center;
		transition: opacity 0.2s;
		z-index: 9;
	}

	#menu_button:checked ~ #branding .header_navigation {
		opacity: 1;
		pointer-events: auto;
	}

	.header_navigation::before {
		content: "";
		width: 100%;
		height: 150%;
		background-color: rgba(255, 255, 255, 0.95);
		position: absolute;
		top: 0px;
		left: 0px;
		display: block;
		z-index: -1;
	}
}

#container {
	margin-bottom: 100px;
}

.front_news_posts {
	justify-content: center;
}

.news_posts {
	display: flex;
	flex-wrap: wrap;
	gap: 50px 3%;
}

.news_posts_article {
	width: 22.75%;
	flex: none;
	position: relative;
}

.news_posts_link {
	position: relative;
	display: block;
}

.news_posts_date {
	color: #333;
}

.news_posts_title {
	margin: 0px;
	color: #333;
}

.news_posts_thumbnail {
	width: 100%;
	height: 150px;
	margin-bottom: 10px;
	background: url("img/logo.svg") no-repeat center / 70% auto, #ffe8f4;
	transition: background 0.6s;
}

.news_posts_link:hover .news_posts_thumbnail {
	background: url("img/logo.svg") no-repeat center / 80% auto, #ffe8f4;
}

.nav-links {
	width: calc(100% + 20px);
	margin-left: -10px;
	margin-bottom: 25px;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 1%;
}

.nav-links >span,
.nav-links >a {
	width: 40px;
	height: 40px;
	line-height: 40px;
	text-align: center;
	color: #333;
	font-size: 1.2rem;
	font-weight: 700;
	white-space: nowrap;
	vertical-align: middle;
}

.nav-links > span.current {
	color: #fff;
	background-color: #999;
}

.news_back {
	text-align: center;
}

.news_back_button {
	padding: 18px 30px 16px;
	color: #fff;
	border: none;
	background-color: #999;
	cursor: pointer;
	transition: opacity 0.2s;
}

.news_back_button:hover {
	opacity: 0.6;
}

.page_article {
	max-width: 800px;
	margin: 0px auto;
}

.headline {
	margin: 75px auto;
	font-size: 2rem;
	text-align: center;
}

.contact_form {
	max-width: 700px;
	margin: 0px auto;
}

.contact_form p,
.contact_form label {
	position: relative;
	display: block;
}

.contact_form p {
	min-height: 50px;
	margin: 0px 0px 18px;
}

.contact_form_header {
    position: absolute;
    top: 50%;
    left: 0px;
    transform: translateY(-50%);
}

.contact_form_header + span {
	margin-left: 230px;
	display: block;
}

.contact_form_required {
	margin-right: 10px;
	padding: 8px 10px 7px;
	color: #c33;
	font-size: 0.88rem;
	line-height: 1;
	border: #c33 solid 1px;
	background-color: #fff;
	transform: translate(0px, -0.5px);
	display: inline-block;
}

.contact_form input[type="text"],
.contact_form input[type="tel"],
.contact_form input[type="email"],
.contact_form textarea {
	width: 100%;
	padding: 12px 18px;
	font-size: 1rem;
	line-height: 1.5;
	border: none;
	background-color: #eee;
}

.contact_form_buttons {
	text-align: center;
}

.contact_form_confirm,
.contact_form_back,
.contact_form_submit {
	width: 200px;
	height: 70px;
	margin: 10px;
	font-size: 1.1rem;
	color: #fff;
	text-align: center;
	line-height: 70px;
	border: none;
	border-radius: 8px;
	background-color: #369;
	cursor: pointer;
	display: inline-block;
	transition: opacity 0.2s;
}

.contact_form_confirm:hover,
.contact_form_back:hover,
.contact_form_submit:hover {
	opacity: 0.6;
}

.contact_form_hidden {
	display: none;
}

.wpcf7-not-valid-tip,
.wpcf7-response-output,
.wpcf7-spinner {
	display: none !important;
}

#thanks {
	max-width: 545px;
	width: 100%;
	padding: 20px 32px 18px;
	line-height: 1.8;
	background-color: #fff;
	border-radius: 15px;
	box-shadow: 0px 0px 5px #ccc;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 9999;
}

@media(max-width: 962px) {
	.news_posts {
		gap: 50px 3%;
	}
	
	.news_posts_article {
		width: 31.33%;
	}
}

@media(max-width: 667px) {
	.news_posts {
		gap: 50px 5%;
	}
	
	.news_posts_article {
		width: 47.5%;
	}
}

@media(max-width: 430px) {
	.news_posts {
		gap: 50px;
	}
	
	.news_posts_article {
		max-width: 300px;
		width: 100%;
		margin: 0px auto;
	}
}

.footer_logo,
.footer_logo * {
	margin: 0px;
	line-height: 0;
}

.footer_logo {
	margin-bottom: 30px;
}

.footer_logo img {
	max-width: 300px;
	width: 80vw;
}

.footer_menu_list {
	margin: 0px;
	padding: 0px;
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
}

.footer_menu_list a {
	color: #333;
	white-space: nowrap;
	position: relative;
	display: block;
}

.error404_text {
	max-width: 305px;
	margin: 0px auto;
}

#copyright {
	position: relative;
}

@media(max-width: 1230px) {
	label[for="menu_button"] {
		left: auto;
		right: 15px;
		transform: none;
	}
}

@media(max-width: 800px) {
	.contact_form_header {
		margin: 45px 0px -5px;
		position: static;
		display: block;
	}
	
	.contact_form_header + span {
		margin: 0px;
	}
}