/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/

:root {
	--primary: rgb(235, 220, 226);
	--secondary: rgb(92, 23, 58);
	--copy: #323335;
}

html {
	line-height: 1.8;
	-webkit-text-size-adjust: 100%;
	box-sizing: border-box;
	overflow-x: clip;
}

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

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
@font-face {
	font-family: 'Catamaran';
	src: url(../font/Catamaran.woff2) format('woff2');
}

@font-face {
	font-family: 'News Cycle';
	src: url(../font/NewsCycle-Regular.woff2) format('woff2'),
	url(../font/NewsCycle-Regular.ttf) format('truetype');
}

@font-face {
	font-family: 'News Cycle Bold';
	font-weight: 700;
	src: url(../font/NewsCycle-Bold.ttf) format('truetype');
}

body {
	margin: 0;
	background-color: #fff;
	color: var(--copy);
}

.content h1, .content h2, .content h3, .content h4, .content h5, .content h6, p, blockquote, li, a.button {
	font-family: 'News Cycle', Helvetica, Arial, sans-serif;
	word-break: break-word;
	line-height: 1.6;
	margin: 0;
	hyphens: auto;
	hyphenate-limit-chars: 10 4 4;
}

.content h1 {
	font-size: 2em;
	letter-spacing: .03em;
}

.content h2 {
	font-size: 2.3em;
	overflow-wrap: break-word;
	padding: 20px 0;
	text-align: center;
}

.content h3 {
	font-size: 1.5em;
	margin: 1.3em 0 1em;
	line-height: 1.3;
	text-align: center;
	font-family: 'News Cycle Bold';
}

.content h4 {
	letter-spacing: .05em;
	font-size: 1.2em;
	margin: 0 0 .5em;
	line-height: 1.6;
}

.content p, .content blockquote, .content li, .content label {
	font-family: "Catamaran", Helvetica, Arial, sans-serif;
	font-size: 1.2em;
}

.content p {
	margin: 0 0 1em;
}

.content b, .content strong {
	font-family: "News Cycle Bold", Helvetica, Arial, sans-serif;
	color: var(--secondary);
}

.uppercase {
	text-transform: uppercase;
	letter-spacing: .05em;
}

.centered {
	text-align: center;
}

.text-left {
	text-align: left;
}

.text-right {
	text-align: right;
}

blockquote {
	margin-left: 0;
	padding: 0 1em;
	border-left: 1px solid var(--primary);
	max-width: 500px;
	border-radius: 1em;
	font-weight: bold;
}

blockquote::before {
	width: 15px;
	content: "“";
	height: 15px;
	position: relative;
	display: block;
	top: -.4em;
	left: -0.1em;
	color: var(--primary);
	font-size: 13em;
	opacity: .15;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/

ul {
	margin: 0;
	padding: 0 0 1em 1em;
	list-style: disc;
}

.content p + ul {
	margin-top: -1.2em;
}

ul li {
	margin: 0;
}

li > ul {
	margin-bottom: 0;
	margin-left: .5em;
}

li::marker {
	color: var(--primary);
}

.content a.button, .content button, .content input[type="submit"] {
	background-color: var(--primary);
	border: 1px solid var(--primary);
	font-size: 1.1em;
	padding: .5rem 1.3rem .7rem;
	font-weight: bold;
	line-height: 1.8;
	text-decoration: none;
	margin: .5em .5em 1em 0;
	display: inline-block;
	border-radius: 5px;
	letter-spacing: .02em;
	transition: 500ms;
	color: var(--secondary);
	float: none;
}

.content a.button.dark, .content input[type="submit"].dark {
	border: 1px solid var(--secondary);
	background-color: var(--secondary);
	color: #fff;
}

.content a.button:hover, .content button:hover, .content input[type="submit"]:hover {
	border: 1px solid var(--secondary);
	background-color: #fff;
	color: var(--copy);
}

.badge {
	display: inline-block;
	margin: 1em 0;
	font-family: inherit;
	border: 2px solid var(--primary);
	font-weight: bold;
	border-radius: var(--br);
	font-size: 1.1em;
	padding: .5rem 1.3rem .5rem;
	line-height: 1.8;
}

.content input[type="text"],
.content input[type="password"],
.content input[type="tel"], 
.content input[type="email"], 
.content textarea, 
.content select {
	border: 1px solid var(--primary);
	margin: .5em 0;
	width: 100%;
	border-radius: .5em;
	height: 3em;
	background-color: #fff;
	color: var(--copy);
	font-size: 1.1em;
}

.content textarea {
	height: 148px;
	resize: vertical;
}

/*--------------------------------------------------------------
# Links
--------------------------------------------------------------*/

a {
	background: transparent;
	color: inherit;
}

a:focus {
	outline: thin dotted;
}

a:hover, a:active {
	outline: 0;
}

.content svg.externallink {
	width: 1.8em;
	margin: 0 0 -.2em .3em;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
header {
	position: fixed;
	width: 100%;
	max-width: 100vw;
	z-index: 10;
	backdrop-filter: blur(10px);
	top: 0;
	color: var(--copy);
	background-color: var(--primary);
}

header .content {
	padding: .5em 70px 1em 1em;
}

.site-branding {
	display: inline-block;
	max-width: 500px;
}

.site-title {
	margin: 0px;
	line-height: 1;
	font-size: 20px;
	letter-spacing: 1px;
	text-transform: uppercase;
	display: initial;
	vertical-align: middle;
	font-weight: 600;
}

.menu {
	display: none;
	list-style: none;
	margin: 0;
	padding: 0;
}

.menu.active {
	margin: 0 -70px 0 -1em;
	overflow: scroll;
	max-height: calc(100vh - 75px);
}

.main-navigation a {
	display: block;
	text-decoration: none;
	padding: .3em 2em;
	font-size: 1.2rem;
}

/* Small menu. */
.content .menu-toggle {
	border: 0;
	cursor: pointer;
	position: absolute;
	right: 0;
	top: 10px;
	margin: 0;
	padding: 10px 20px;
	border: 1px solid var(--secondary);
	border-radius: .5em 0 0 .5em;
}

.toggled {
	top: 0;
	height: 100vh;
	transition: 300ms;
}

.main-navigation.toggled ul {
	display: block;
	background-color: #000;
}

.menu-toggle:hover {
	background-color: transparent;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

.navTrigger i {
	content: '';
	display: block;
	background: #121213;
	width: 30px;
	height: 4px;
	margin: 5px 0;
	border-radius: 2px;
}

.navTrigger i:nth-child(1) {
	-webkit-animation:outT 0.8s backwards;
	animation:outT 0.8s backwards;
	-webkit-animation-direction:reverse;
	animation-direction:reverse;
}
.navTrigger i:nth-child(2) {
	margin: 5px 0;
	-webkit-animation:outM 0.8s backwards;
	animation:outM 0.8s backwards;
	-webkit-animation-direction:reverse;
	animation-direction:reverse;
}
.navTrigger i:nth-child(3) {
	-webkit-animation:outBtm 0.8s backwards;
	animation:outBtm 0.8s backwards;
	-webkit-animation-direction:reverse;
	animation-direction:reverse;
}

.menu-toggle[aria-expanded="true"] .navTrigger i:nth-child(1) {
	-webkit-animation:inT 0.8s forwards;
	animation:inT 0.8s forwards;
}

.menu-toggle[aria-expanded="true"] .navTrigger  i:nth-child(2) {
	-webkit-animation:inM 0.8s forwards;
	animation:inM 0.8s forwards;
}

.menu-toggle[aria-expanded="true"] .navTrigger  i:nth-child(3) {
	-webkit-animation:inBtm 0.8s forwards;
	animation:inBtm 0.8s forwards;
}

@-webkit-keyframes inM{
50%{-webkit-transform:rotate(0deg);}
100%{-webkit-transform:rotate(45deg);}
}
@keyframes inM{
50%{transform:rotate(0deg);}
100%{transform:rotate(45deg);}
}

@-webkit-keyframes outM{
50%{-webkit-transform:rotate(0deg);}
100%{-webkit-transform:rotate(45deg);}
}
@keyframes outM{
50%{transform:rotate(0deg);}
100%{transform:rotate(45deg);}
}

@-webkit-keyframes inT{
0%{-webkit-transform: translateY(0px) rotate(0deg);}
50%{-webkit-transform: translateY(9px) rotate(0deg);}
100%{-webkit-transform: translateY(9px) rotate(135deg);}
}
@keyframes inT{
0%{transform: translateY(0px) rotate(0deg);}
50%{transform: translateY(9px) rotate(0deg);}
100%{transform: translateY(9px) rotate(135deg);}
}

@-webkit-keyframes outT{
0%{-webkit-transform: translateY(0px) rotate(0deg);}
50%{-webkit-transform: translateY(9px) rotate(0deg);}
100%{-webkit-transform: translateY(9px) rotate(135deg);}
}
@keyframes outT{
0%{transform: translateY(0px) rotate(0deg);}
50%{transform: translateY(9px) rotate(0deg);}
100%{transform: translateY(9px) rotate(135deg);}
}

@-webkit-keyframes inBtm{
0%{-webkit-transform: translateY(0px) rotate(0deg);}
50%{-webkit-transform: translateY(-9px) rotate(0deg);}
100%{-webkit-transform: translateY(-9px) rotate(135deg);}
}
@keyframes inBtm{
0%{transform: translateY(0px) rotate(0deg);}
50%{transform: translateY(-9px) rotate(0deg);}
100%{transform: translateY(-9px) rotate(135deg);}
}

@-webkit-keyframes outBtm{
0%{-webkit-transform: translateY(0px) rotate(0deg);}
50%{-webkit-transform: translateY(-9px) rotate(0deg);}
100%{-webkit-transform: translateY(-9px) rotate(135deg);}
}
@keyframes outBtm{
0%{transform: translateY(0px) rotate(0deg);}
50%{transform: translateY(-9px) rotate(0deg);}
100%{transform: translateY(-9px) rotate(135deg);}
}

/*--------------------------------------------------------------
# Layout
--------------------------------------------------------------*/
.content {
	width: 540px;
	max-width: 100%;
	margin: 0 auto;
	padding: 0 20px;
}

.trumbowyg-button-pane {
	width: 540px;
	margin: 0 auto;
}

.flex {
	display: flex;
	flex-wrap: wrap;
	padding: 0;
	margin: 0 -1em 0 0em;
}

.centered .flex {
	justify-content: center;
}

.widescreen {
	display: none;
}

main {
	animation: fadeIn 300ms linear;
	margin-top: 100px;
	min-height: calc(100vh - 200px)
}
 
@keyframes fadeIn {
	0% {opacity: 0;}
	100% {opacity: 1;}
}

section {
	margin: 0 0 4em;
	padding: 2em 1em;
}

.clear {
	clear: both;
}

.spacer {
	height: 100px;
}

footer {
	margin: 0;
	font-size: small;
	padding: 1em;
	background-color: var(--primary);
	text-align: center;
}

footer p {
	margin: 0;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/

main img {
	border-style: none;
	width: 100%;
}

figure {
	margin: 1em 0 2em;
}

img + small {
	position: relative;
	top: -2.5em;
	display: block;
	margin: 0 auto;
	text-shadow: 1px 1px 0px #fff, -1px -1px 1px #fff;
	padding: 0 2em;
}

.full {
	width: 100vw;
	height: 33vh;
	margin-top: 200px;
}

.full img {
	height: 100%;
	object-fit: cover;
	min-width: 100%;
}

.third img {
	height: 250px;
	width: 100%;
	object-fit: contain;
	object-position: bottom;
	border-radius: var(--br);
}

.content svg {
	max-width: 100%;
	width: 50px;
	padding: 0 5px;
	fill: var(--primary);
}

/*--------------------------------------------------------------
# Colorhandling
--------------------------------------------------------------*/

.colorbox {
	border-left: 1px solid var(--primary);
	padding: 1em;
	border-radius: 1em;
	width: 100%;
	margin: 1em 0;
}

.colored {
	color: var(--primary);
}

.background-color {
	background: var(--primary);
}

.trumbowyg-backColor323335-dropdown-button,
.trumbowyg-backColor5c173a-dropdown-button {
	color: #fff !important;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
a.screenreader {
	padding: .5em;
	color: white;
	background: var(--darkgrey);
	-webkit-transition: top .5s ease-out;
	transition: top .5s ease-out;
	z-index: 100;
	position: absolute;
	left: -10000px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
	line-height: 1;
	font-size: 1.2em;
	padding: .5em 1em;
}

a.screenreader:focus {
  position: static;
  width: auto;
  height: auto;
}

@media (prefers-reduced-motion: reduce) {
	a.screenreader a {
		transition-duration: 0.001ms !important;
	}
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/

.content.download h3 {
	margin: 0 0 .5em;
	font-size: 1.4em;
}

.download a.button.dark {
	margin: 0 0 3em;
	display: block;
	text-align: center;
}

/*--------------------------------------------------------------
# Media Query
--------------------------------------------------------------*/
@media screen and (min-width: 768px) {
	.smallscreen {
		display: none;
	}

	.widescreen {
		display: block;
	}

	header .content {
		padding: 1em 1em 0;
	}

	.main-navigation {
		text-align: right;
	}

	.menu {
		display: block;
		text-align: right;
		width: 100%;
	}

	.menu, .has-children:hover .sub-menu {
		display: block;
	}

	.main-navigation li {
		display: inline-block;
		margin: 0;
	}

	.main-navigation .sub-menu {
		display: none;
		position: fixed;
		background-color: #fff;
		width: 300px;
		border: 1px solid #e9e9e9;
		text-align: left;
		margin: 0 13px;
		padding: 0;
		box-shadow: 0 7px 11px 0 rgba(0,0,0,.2);
	}

	.main-navigation a {
		padding: 17px 13px;
		display: inline-block;
		font-size: 1rem;
	}

	.main-navigation a::after {
		position: relative;
		bottom: 4px;
		left: 0;
		box-sizing: border-box;
		width: 100%;
		height: 2px;
		transform: translateY(calc(100% - 4px));
		opacity: 0;
		transition: all .2s;
		background-color: #323335;
		content: "";
		display: block;
	}

	.menu > li:hover > a::after {
		transform: translateY(100%);
		opacity: 1;
	}

	.sub-menu > li:hover > a::after {
		transform: translateY(100%);
		opacity: 1;
	}

	.has-children ul {
		display: block;
	}

	.has-children::after {
		content: url("../img/arrow.svg");
		width: 5px;
		position: relative;
		left: -13px;
		top: -5px;
	}

	.sub-menu li {
		width: 100%;
	}

	.sub-menu a {
		padding: .8em 1em;
	}

	.content, .trumbowyg-button-pane {
		width: 720px;
		padding: 0;
	}

	header .content {
		width: 100%;
	}

	.half, .third, .quad, .fifth {
		flex-basis: 50%;
		padding-right: 1em;
	}

	.half img {
		border-radius: 2em 0 0 2em;
	}

}


@media screen and (min-width: 992px) {

	.site-title {
		text-align: left;
	}

	nav a {
		padding: .5em 1em;
	}

	section {
		padding: 2em 0;
	}

	.content, .trumbowyg-button-pane {
		width: 730px;
	}

	.third {
		flex-basis: 33.33%;
	}

	.two-third {
		flex-basis: 66%;
	}

	.quad {
		flex-basis: 25%;
	}

	.fifth {
		flex-basis: 20%;
	}
}

@media screen and (min-width: 1200px) {

	header .content {
		padding: 1em 1em 0;
	}

	.main-navigation {
		float: right;
	}

	.content h3 {
		font-size: 1.5em;
		margin: 1.3em 0 .5em;
		line-height: 1.3;
	}

	.content h4 {
		font-size: 1.5em;
	}
}

@media screen and (min-width: 1441px) {
	.contact, .download, .trumbowyg-button-pane {
		width: 1320px;
	}
}
