/****************************************************************** GENERAL ***/
body {
	font-family: Signika, Arial, Sans-serif;
}

h1 {
	font-size: 48px;
}

h2 {
	font-size: 36px;
}

h3 {
	font-size: 30px;
}

h4 {
	font-size: 21px;
}

a {
	color: #000;
	text-decoration: none;
}

a:hover,
a:active {
}

/******************************************************************* LAYOUT ***/
div.content {
	padding: 36px 24px;
}

div.content-wide-sub {
	padding: 36px 24px;
}

div.flex-parent {
	margin: -24px;
}

div.flex-child {
	padding: 24px;
}

div.flex-child div.flex-parent {
	margin: -12px;
}

/******************************************************************* FOOTER ***/
div.footer-space {
	padding-bottom: 250px;
}

div.footer {
	height: 250px;
	background-color: #444;
}

div.footer div.content {
	color: #fff;
	padding: 24px;
}

div.footer div.content a {
	color: #fff;
	text-decoration: none;
}

div.footer h2 {
	font-size: 21px;
}

/********************************************************************* FORM ***/
input,
select,
textarea {
	font-family: Signika, Arial, Sans-serif;
}

select {
	padding: 8px 1px 7px 1px;
}

input.error,
textarea.error,
select.error {
	background-color: #ddd !important;
}

input[type="submit"],
input[type="button"],
input[type="reset"],
a.button {
	color: #000;
	border: solid 2px #000;
}

/******************************************************************* HEADER ***/
div.content.header {
	position: relative;
	padding: 12px 24px;
	overflow: visible;
	display: flex;
	justify-content: space-between;
}

div.content.header div.logo {
	line-height: 0;
}

div.content.header a.logo {
	display: inline-block;
	width: 87.311px;
	height: 30.5px;
	background-image: url(../img/logo.svg);
	background-size: contain;
	background-position: center center;
	background-repeat: no-repeat;
}

div.content.header a.menu-mobile,
div.content.header a.menu-shop {
	display: none;
}

div.header-submenu {
	padding: 0;
}

div.header-submenu div.submenu {
	max-width: 960px;
	margin: 0 auto;
	padding: 0 12px;
	overflow: hidden;
	display: flex;
	justify-content: center;
}

div.header-submenu div.submenu div.shop {
	display: none;
}

div.header-submenu div.submenu div.link.no_hover a,
div.header-submenu div.submenu div.link.no_hover span,
div.header-submenu div.submenu div.link.disabled a,
div.header-submenu div.submenu div.link.disabled span {
	opacity: 0.5;
}

div.header-submenu div.submenu div.link a,
div.header-submenu div.submenu div.link span {
	display: block;
	font-size: 18px;
	font-weight: 700;
	padding: 3px 12px;
	text-decoration: none;
}

div.header-submenu div.submenu div.link:hover a,
div.header-submenu div.submenu div.link.active a,
div.header-submenu div.submenu div.link.active span,
div.header-submenu div.submenu div.link.active:hover a {
	text-decoration: underline;
}


@media (min-width: 700px) {
	div.menu-top {
		margin-top: 7px;
		margin-bottom: -7px;
		margin-right: 44px;
		display: flex;
		justify-content: center;
	}

	div.menu-top div.link a {
		display: block;
		font-size: 18px;
		font-weight: 700;
		padding: 0 12px;
		text-decoration: none;
	}

	div.menu-top div.link.active a,
	div.menu-top div.link a:hover {
		text-decoration: underline;
	}

	div.header-menu {
		display: none;
	}
}

@media (max-width: 699px) {
	div.menu-top {
		display: none;
	}

	div.header-menu div.menu {
		max-width: 960px;
		margin: 0 auto;
		padding: 0 12px;
		overflow: hidden;
		display: flex;
		justify-content: center;
		text-align: center;
	}

	div.header-menu div.menu div.link a {
		display: block;
		font-size: 18px;
		font-weight: 700;
		padding: 3px 12px;
		text-decoration: none;
	}
}

@media (max-width: 699px) and (min-width: 400px) {
	div.header-menu div.menu {
		border-width: 0 0 1px 0;
		border-style: solid;
		border-color: #fff;
	}
}

/*
@media (max-width: 399px) {
	div.content.header a.menu-mobile,
	div.content.header a.menu-shop {
		display: inline;
	}

	div.header-menu.display-none-special {
		display: none;
	}

	div.header-menu div.menu {
		flex-direction: column;
		padding: 0;
		background-color: #000;
	}

	div.header-menu div.menu div.link {
		padding: 0 12px;
		border-width: 0 0 1px 0;
		border-style: solid;
		border-color: #fff;
	}

	div.header-menu div.menu div.link a {
		color: #fff;
	}
}
*/

/****************************************************************** CONTENT ***/
div.flex-child.arrow,
div.flex-child.arrow-vertical {
	position: relative;
}

div.flex-parent div.flex-child.arrow::after,
div.flex-parent div.flex-child.arrow-vertical::after {
	content:'';
	position: absolute;
	width: 0;
	height: 0;
	border: solid 50px transparent;
}

div.flex-parent div.flex-child.arrow-vertical::after {
	bottom: 100%;
	left: 50%;
	margin-left: -50px;
	border-top-width: 0;
	border-bottom-color: #ddd;
}

div.grey {
	background-color: #888;
	color: #000;
}

div.light-grey {
	background-color: #ddd;
	color: #000;
}

div.bg-image {
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}

div.square::before {
	content: "";
	display: block;
	padding-top: 100%;
}

div.square > * {
	position: absolute;
	left: 0;
	padding: 24px;
}

div.square:not(.vcenter) > * {
	top: 0;
}

div.center,
div.center p {
	text-align: center;
}

div.white {
	color: #fff;
}

div.white input[type="submit"],
div.white input[type="button"],
div.white input[type="reset"],
div.white a.button {
	color: #fff;
	border: solid 2px #fff;
}

div.vcenter {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

div.margin {
	margin-top: 24px;
	margin-bottom: 24px;
}

div.negative-margin {
	margin: -36px;
}

@media (min-width: 960px) {
	div.flex-parent div.flex-child-3:nth-child(3n+2) div.flex-parent div.flex-child-1:first-child {
		order: 2;
	}

	div.flex-parent div.flex-child-3:nth-child(3n+2) div.flex-parent div.flex-child-1:last-child {
		order: 1;
	}

	div.flex-parent div.flex-child-3:nth-child(3n+2) div.flex-parent div.flex-child-1.arrow-vertical::after {
		bottom: 0;
		border-top-width: 50px;
		border-bottom-color: transparent;
		top: 100%;
		left: 50%;
		margin-left: -50px;
		border-bottom-width: 0;
		border-top-color: #ddd;
	}
}

@media (max-width: 959px) and (min-width: 600px) {
	div.flex-parent div.flex-child-3:nth-child(2n+2) div.flex-parent div.flex-child-1:first-child {
		order: 2;
	}

	div.flex-parent div.flex-child-3:nth-child(2n+2) div.flex-parent div.flex-child-1:last-child {
		order: 1;
	}

	div.flex-parent div.flex-child-3:nth-child(2n+2) div.flex-parent div.flex-child-1.arrow-vertical::after {
		bottom: 0;
		border-top-width: 50px;
		border-bottom-color: transparent;
		top: 100%;
		left: 50%;
		margin-left: -50px;
		border-bottom-width: 0;
		border-top-color: #ddd;
	}
}

@media (min-width: 600px) {
	div.square-row::before {
		content: "";
		display: block;
		padding-top: 100%;
	}

	div.square-row > * {
		position: absolute;
		left: 0;
		padding: 24px;
	}

	div.square-row:not(.vcenter) > * {
		top: 0;
	}

	div.flex-parent:not(.inverse) div.flex-child.arrow::after {
		top: 50%;
		right: 100%;
		margin-top: -50px;
		border-left-width: 0;
		border-right-color: #ddd;
	}

	div.flex-parent.inverse div.flex-child.arrow::after {
		top: 50%;
		left: 100%;
		margin-top: -50px;
		border-right-width: 0;
		border-left-color: #ddd;
	}

	div.flex-parent.inverse div.flex-child-2:first-child {
		order: 2;
	}

	div.flex-parent.inverse div.flex-child-2:last-child {
		order: 1;
	}
}

@media (max-width: 599px) {
	div.flex-parent:not(.inverse) div.flex-child.arrow::after,
	div.flex-parent.inverse div.flex-child.arrow::after {
		bottom: 100%;
		left: 50%;
		margin-left: -50px;
		border-top-width: 0;
		border-bottom-color: #ddd;
	}
}
