@import url("../../css/_font-roboto.css");
* {
	font: inherit;
	margin: 0;
	padding: 0;
}
html {
	--base-fonts: "Roboto", sans-serif;
	--heading-fonts: "Roboto", sans-serif;
	--page-max-width: 1640px;
	--content-max-width: 1295px;
	background: #f6f6f6;
	color: #000;
	font: 18px / 1.3 var(--base-fonts);
	font-variant-alternates: styleset(double-storey-lower-g);
}
html.alt-appearance {
	font-size: max(1rem, 22px);
}
body {
	min-width: 320px;
	max-width: 1920px;
	margin: 0 auto;
}
img {
	vertical-align: middle;
	max-width: 100%;
	height: auto;
}
a img {
	border: none;
}
a {
	color: inherit;
	text-decoration: underline;
}
:where(.main-body) a {
	color: #3e61ad;
}
video {
	max-width: 100%;
	height: auto;
}
b,
strong,
th {
	font-weight: bold;
}
i,
em {
	font-style: italic;
}
fieldset {
	border: 1px dashed #ccc;
	padding: 1em;
}
iframe {
	border: none;
}
input,
textarea,
select,
option,
button {
	box-sizing: border-box;
	letter-spacing: inherit;
	word-spacing: inherit;
}
input[type="button"]:focus-visible,
button:focus-visible {
	text-decoration: underline;
	outline: none;
}
[hidden] {
	display: none !important;
}
dialog {
	border: none;
	box-sizing: border-box;
	padding: 0;
}
dialog::backdrop {
	background: rgba(0,0,0,.75);
}
@media print {
	dialog { display: none; }
}
sub,
sup {
	font-size: smaller;
}
hr {
	margin: 2em auto;
	color: inherit;
	border: none;
	border-top: .2em dashed currentColor;
	max-width: 90%;
	print-color-adjust: exact;
}
article,
aside,
main,
section,
header,
footer {
	display: flow-root;
}
h1, h2, h3, h4, h5, h6 {
	overflow-wrap: break-word;
	break-after: avoid-page;
	break-inside: avoid-page;
}
:where(h1, h2, h3, h4, h5, h6):not([class]) {
	font-family: var(--heading-fonts);
	line-height: normal;
}
:is(h1, h2, h3, h4, h5, h6) > a {
	text-decoration: none;
	color: inherit;
}
:is(h1, h2, h3, h4, h5, h6) > a:focus-visible {
	text-decoration: underline;
}
:where(h1, h2, h3, h4, h5, h6, p, ul, ol, blockquote, dl, fieldset, table, figure):not([class]):not(:first-child) {
	margin-block-start: 1em;
}
h1:not([class]) {
	font-size: 1.5rem;
	font-weight: bold;
}
h2:not([class]) {
	font-size: 1.25rem;
	font-weight: 600;
}
h3:not([class]) {
	font-size: 1.15rem;
	font-weight: 600;
}
:where(ul, ol):not([class]) {
	margin-inline-start: 1.5em;
}
:where(ul, ol):not([class]) > li:not(:first-child) {
	margin-block-start: .5em;
}
blockquote:not([class]) {
	padding-inline-start: 1em;
	border-inline-start: 4px solid #ddd;
}
figure {
	max-width: 100%;
	overflow: auto;
}
figcaption {
	text-align: center;
	font-style: italic;
}
table {
	border-collapse: collapse;
	margin-left: auto;
	margin-right: auto;
}
caption {
	text-align: start;
	padding: .15em .5em;
}
td, th {
	padding: .15em .5em;
}
thead {
	border-bottom: .1em solid #7e7e7e;
}
tfoot {
	border-top: .1em solid #7e7e7e;
}
thead > tr > th {
	vertical-align: bottom;
}
tbody > tr:nth-child(even) {
	background-color: rgba(100,100,100,.1);
}
@supports (margin-trim: block) {
	td, th {
		margin-trim: block;
	}
}
@supports not (margin-trim: block) {
	:where(td, th) > :first-child {
		margin-block-start: 0 !important;
	}
	:where(td, th) > :last-child {
		margin-block-end: 0 !important;
	}
}
@media all and (prefers-contrast: more) {
	fieldset {
		border-color: #000;
	}
	blockquote:not([class]) {
		border-inline-start-color: #000;
	}
	thead {
		border-bottom-color: #000;
	}
	tfoot {
		border-top-color: #000;
	}
}
:where(.alt-appearance) fieldset {
	border-color: #000;
}
:where(.alt-appearance) blockquote:not([class]) {
	border-inline-start-color: #000;
}
:where(.alt-appearance) thead {
	border-bottom-color: #000;
}
:where(.alt-appearance) tfoot {
	border-top-color: #000;
}
.menu-horizontal li {
	list-style: none;
	position: relative;
}
.menu-horizontal li:hover > ul,
.menu-horizontal > li:focus-within > ul,
.menu-horizontal > li li:focus-within > ul {
	display: block;
}
.menu-horizontal > li {
	display: inline-block;
}
.menu-horizontal > li ul {
	display: none;
	position: absolute;
}
.menu-horizontal > li > ul {
	inset-inline-start: 0;
	inset-block-start: 100%;
}
.menu-horizontal > li > ul ul {
	inset-inline-start: 100%;
	inset-block-start: 0;
}
.menu-horizontal > li li > :first-child {
	display: block;
	padding: .2em .5em;
}
.menu-horizontal .nav-header {
	cursor: default;
}
.page-controls {
	font-size: 20px;
	position: fixed;
	z-index: 9;
	inset-block-start: 16px;
	inset-inline-end: 16px;
	display: flex;
	flex-direction: column;
	align-items: end;
	gap: 16px;
}
.page-controls-button {
	box-sizing: border-box;
	padding: 9px 12px;
	background: #fff;
	color: #000;
	border: .1em solid #333;
	line-height: normal;
	cursor: pointer;
	transition: background-color 200ms ease-out, color 200ms ease-out, border-color 200ms ease-out;
}
.page-controls-button:hover,
.page-controls-button:focus {
	background-color: #333;
	color: #fff;
}
.page-controls-button > svg {
	vertical-align: -.15em;
}
.mobile-nav-button {
	display: none;
}
.top-s {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1em .5em;
}
@media not all and (min-width: 1280px) {
	.top-nav {
		display: none;
	}
	.mobile-nav-button {
		display: block;
	}
}
.dialog-mobile-menu {
	box-sizing: border-box;
	background: transparent;
	max-width: none;
	max-height: none;
	width: 100%;
	height: 100%;
}
.mobile-menu {
	box-sizing: border-box;
	padding: 16px;
	max-width: 400px;
	background: #f8f8f8;
	color: #000;
	box-shadow: 2px 0 2px 0 rgba(0,0,0,.2);
	height: 100%;
	overflow: auto;
	overscroll-behavior: contain;
}
.mobile-menu-itself {
	font-weight: normal;
	padding: 0;
}
.mobile-menu-itself li {
	list-style: none;
	position: relative;
}
.mobile-menu-itself li:hover > ul,
.mobile-menu-itself li:focus > ul {
	display: block;
}
.mobile-menu-itself li > :first-child:focus + ul {
	display: block;
}
.mobile-menu-itself > li ul {
	margin-left: 1.2em;
}
.mobile-menu-itself li > a {
	display: block;
	padding: 6px 12px 5px 12px;
	transition: background-color 300ms ease-out, color 300ms ease-out;
	outline: none;
}
.mobile-menu-itself li > :first-child:hover,
.mobile-menu-itself li > :first-child:focus {
	background-color: #7c7c7c;
	color: #fff;
}
.mobile-menu-itself .separator::after {
	content: ":";
}
.button-mobile-menu-close {
	padding: 6px 12px 5px 12px;
	border: none;
	width: 100%;
	display: block;
	cursor: pointer;
	background: transparent;
	color: inherit;
	text-align: left;
}
.button-mobile-menu-close:hover,
.button-mobile-menu-close:focus {
	background-color: #fafafa;
	color: #000;
}
@media all and (prefers-contrast: more) {
	.page-controls-button {
		border-color: #000;
	}
	.page-controls-button:hover,
	.page-controls-button:focus {
		background-color: #000;
	}
	.mobile-menu-itself li > :first-child:hover,
	.mobile-menu-itself li > :first-child:focus {
		background-color: #000;
	}
}
:where(.alt-appearance) .page-controls-button {
	border-color: #000;
}
:where(.alt-appearance) .page-controls-button:hover,
:where(.alt-appearance) .page-controls-button:focus {
	background-color: #000;
}
:where(.alt-appearance) .mobile-menu-itself li > :first-child:hover,
:where(.alt-appearance) .mobile-menu-itself li > :first-child:focus {
	background-color: #000;
}
@media all and (prefers-color-scheme: dark) {
	.mobile-menu {
		background: #64625b;
		color: #fff;
	}
	.page-controls-button {
		background: #000;
		color: #fff;
		border-color: #ccc;
	}
	.page-controls-button:hover,
	.page-controls-button:focus {
		background-color: #ccc;
		color: #000;
	}
	.mobile-menu-itself li > :first-child:hover,
	.mobile-menu-itself li > :first-child:focus {
		background-color: #fafafa;
		color: #000;
	}
	:where(.alt-appearance) .page-controls-button {
		border-color: #fff;
	}
	:where(.alt-appearance) .page-controls-button:hover,
	:where(.alt-appearance) .page-controls-button:focus {
		background-color: #fff;
	}
	:where(.alt-appearance) .mobile-menu-itself li > :first-child:hover,
	:where(.alt-appearance) .mobile-menu-itself li > :first-child:focus {
		background-color: #fff;
	}
}
@media all and (prefers-color-scheme: dark) and (prefers-contrast: more) {
	.page-controls-button {
		border-color: #fff;
	}
	.page-controls-button:hover,
	.page-controls-button:focus {
		background-color: #fff;
	}
	.mobile-menu-itself li > :first-child:hover,
	.mobile-menu-itself li > :first-child:focus {
		background-color: #fff;
	}
}
/* Page */
/* Dialog layout */
.dialog-layout[open] {
	box-sizing: border-box;
	background: transparent;
	max-width: none;
	max-height: none;
	width: 100%;
	height: 100%;
	padding: 1em;
	display: grid;
	place-content: center;
}
.dialog-layout-inner {
	background: #fff;
	color: #000;
	padding: 1.5em;
	box-shadow: 0 0 3px 3px rgba(255,255,255,.15);
	border-radius: 4px;
	position: relative;
	overflow: auto;
}
@media all and (prefers-color-scheme: dark) {
	.dialog-layout-inner {
		background: #333;
		color: #fff;
	}
}
@media all and (prefers-color-scheme: dark) and (prefers-contrast: more) {
	.dialog-layout-inner {
		background: #000;
	}
}
.form-close-dialog {
	position: absolute;
	z-index: 1;
	inset-block-start: .5em;
	inset-inline-end: .5em;
}
.form-close-dialog-button {
	background: transparent;
	color: #b24539;
	border: none;
	cursor: pointer;
	width: 1.5em;
	height: 1.5em;
	line-height: 1.5em;
	text-align: center;
	padding: 0;
	transition: background-color 300ms ease-out, color 300ms ease-out;
}
.form-close-dialog-button:hover,
.form-close-dialog-button:focus {
	background-color: #b24539;
	color: #fff;
}
/* .limit-content is a wrapper for normal content, which needs padding on narrow screens. */
/* .sheet is a wrapper for content with no padding (image slideshow, etc.). */
.limit-content,
.sheet {
	display: flow-root;
	max-width: var(--page-max-width);
	margin-left: auto;
	margin-right: auto;
}
@media not print {
	.limit-content {
		padding-inline: 1rem;
	}
}
.limit-blog {
	display: flow-root;
	max-width: var(--content-max-width);
	margin-left: auto;
	margin-right: auto;
}
@media not print {
	.limit-blog {
		padding-left: 1rem;
		padding-right: 1rem;
	}
}
/* Hide on print. */
@media print {
	.hide-on-print { display: none !important; }
}
/* Show only on print. */
@media not print {
	.show-on-print { display: none !important; }
}
/* Template */
.top {
	font-size: 1.1rem;
	padding-top: 1em;
	padding-bottom: 1em;
	background: #fff;
}
.l-top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1em;
}
.main-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5em;
	align-items: center;
	text-transform: uppercase;
}
.main-menu a {
	text-decoration: none;
	transition: color 300ms ease-out;
}
.main-menu a:hover {
	color: #3e61ad;
}
.main-menu a:focus {
	text-decoration: underline;
}
.main-menu a[aria-current="page"] {
	color: #3e61ad;
}
.bottom {
	margin-block-start: 2em;
	padding-block: 2em;
	background: #2c2c2c;
	color: #ababab;
}
@media all and (min-width: 1000px) {
	.bottom {
		margin-block-start: 4em;
	}
}
@media not all and (min-width: 1000px) {
	.c-contact-form + .bottom {
		margin-block-start: 0;
	}
}
.blog-items {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 2em 32px;
}
.blog-items:not(:first-child) {
	margin-top: 2em;
}
.blog-items > article {
	box-sizing: border-box;
	width: 524px;
	max-width: 100%;
	flex-shrink: 0;
	flex-grow: 0;
	display: flow-root;
	background: #fff;
	color: #4c4c4c;
	padding-bottom: 1em;
	border-radius: .2em;
	overflow: hidden;
}
@media all and (prefers-contrast: more) {
	.blog-items > article {
		color: #000;
	}
}
@media all and (max-width: 1671px) {
	.blog-items > article {
		width: 630px;
	}
}
.blog-items > article > :not(.blog-picture) {
	padding-left: 1rem;
	padding-right: 1rem;
}
.blog-items > article > p {
	text-align: justify;
	hyphens: auto;
	line-height: 1.4;
}
.blog-heading {
	font-family: var(--heading-fonts);
	line-height: normal;
	font-size: 1.25rem;
	font-weight: 600;
}
.blog-heading:not(:first-child) {
	margin-top: 1em;
}
.main-body:not(:first-child) {
	margin-top: 2em;
}
@media all and (min-width: 1000px) {
	.main-body-header {
		display: flex;
		align-items: center;
		justify-content: space-between;
	}
	.main-body-header > h1 {
		font-size: 48px;
		text-transform: uppercase;
	}
	.main-body-header > * {
		flex-shrink: 0;
		width: calc(50% - 1em);
	}
	.main-body-header > :nth-child(2) {
		font-size: 15px;
	}
}
.btn {
	display: inline-block;
	font-weight: normal;
	line-height: 1.3;
	background: #2c2c2c;
	color: #fff;
	border: none;
	padding: .8em 2em;
	border-radius: 2em;
	cursor: pointer;
	text-align: center;
	text-decoration: none;
	transition: background-color 300ms ease-out;
}
.btn:hover,
.btn:focus {
	background-color: #3e61ad;
	outline: none;
}
.readmore {
	text-decoration: none;
	text-transform: uppercase;
	color: #3e61ad;
}
.readmore:hover,
.readmore:focus {
	text-decoration: underline;
}
.go-back {
	text-decoration: none;
	color: #3e61ad;
}
.go-back:hover,
.go-back:focus {
	text-decoration: underline;
}
.contact-form:not(:first-child) {
	margin-top: 1em;
}
.form-input {
	margin-top: .1em;
	width: 100%;
	padding: .5em;
	border: 1px solid #eaeaea;
	border-radius: 2px;
	background: #f6f6f6;
	color: #000;
	font-weight: normal;
}
textarea.form-input {
	height: 8em;
	resize: vertical;
}
.c-contact-form {
	padding-block: 2em;
	background: #fff;
	color: #4c4c4c;
	display: flow-root;
	max-width: calc(var(--page-max-width) - 2em);
	margin-inline: auto;
}
@media all and (prefers-contrast: more) {
	.c-contact-form {
		color: #000;
	}
}
@media not print {
	@media (min-width: 1000px) {
		.c-contact-form {
			padding-inline: 2em;
		}
	}
	@media not (min-width: 1000px) {
		.c-contact-form {
			padding-inline: 1em;
		}
	}
}
.c-contact-form:not(:first-child) {
	margin-top: 2em;
}
.contact-form-text .empty-button > img {
	margin-right: .5em;
}
@media all and (min-width: 1000px) {
	.form-input {
		padding: 1em;
	}
	.c-contact-form {
		display: flex;
		justify-content: space-between;
		gap: 1em;
	}
	.contact-form-text {
		width: 408px;
		max-width: 100%;
		flex-shrink: 0;
		flex-grow: 0;
	}
	.contact-form-text > h3 {
		font-size: 36px;
		margin-block-end: 4.5em;
	}
	.contact-form {
		max-width: 1000px;
		flex-grow: 1;
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: space-between;
		gap: .7em 1em;
	}
	.contact-form > * {
		width: calc((100% - 2em) / 3);
		flex-grow: 1;
	}
	.contact-form > :nth-child(n + 4) {
		width: 100%;
	}
	.form-unit._submit {
		margin-block-start: 1em;
		display: flex;
		align-items: center;
		gap: 1em;
		max-width: 520px;
	}
	.form-unit._submit > div:first-child {
		font-size: 13px;
		order: 1;
	}
}
@media not all and (min-width: 1000px) {
	.form-unit:not(:first-child) {
		margin-top: .5em;
	}
}
.empty-button {
	display: inline-block;
	border: none;
	background: transparent;
	color: inherit;
	cursor: pointer;
	text-decoration: none;
}
.empty-button:focus-visible {
	text-decoration: underline;
	outline: none;
}
.ajax-form-result {
	display: none;
	background: #fbfbfb;
	color: #000;
	border: .1em solid #999;
	padding: .5em 1em;
}
.ajax-form-result[data-state="positive"] {
	display: block;
	background-color: #f4f9ee;
	border-color: #99bf7f;
}
.ajax-form-result[data-state="negative"] {
	display: block;
	background-color: #f9f3ee;
	border-color: #bf857f;
}
.ajax-form-result:not(:first-child) {
	margin-top: 1em;
}
.article-content-picture {
	text-align: center;
}
.article-content-picture:not(:first-child) {
	margin-top: 1em;
}
details {
	padding-block: .5em;
	padding-inline: 1em;
	background: light-dark(#fff, #111);
	color: light-dark(#000, #ccc);
}
details:not(:first-child) {
	margin-block-start: 1em;
}
summary {
	font-weight: 500;
	font-size: 1.125rem;
	cursor: pointer;
}
