/*
Theme Name: hurter.com
Author: Leander Eyer
Description: Theme Customized for hurter.com.ch
Version: 1
*/

@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 700;
	src: url('resources/Poppins-Medium.ttf') format("truetype");
}


@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 400;
	src: url('resources/Poppins-Light.ttf') format("truetype");
}

@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 200;
	src: url('resources/Poppins-ExtraLight.ttf') format("truetype");
}

@font-face {
	font-family: "Roboto";
	font-style: normal;
	font-weight: 700;
	src: url('resources/roboto/Roboto-Medium.ttf') format("truetype");
}

@font-face {
	font-family: "Roboto";
	font-style: normal;
	font-weight: 400;
	src: url('resources/roboto/Roboto-Light.ttf') format("truetype");
}

@font-face {
	font-family: "Roboto";
	font-style: normal;
	font-weight: 200;
	src: url('resources/roboto/Roboto-Thin.ttf') format("truetype");
}

/** Normalize */
* {
	font-family: Roboto, Sans-serif;
	margin: 0;
	padding: 0;
}

em {
	font-style: normal;
	color: #274ca1;

}

body {
	font-size: 15px;
}

div.p138 {
	column-count: 1 !important;
}

div.content_home p {
	hyphens: auto;
}

/** Structure */
div.master {
	max-width: calc(900px + 10rem);
	margin: 4rem auto;

	display: grid;
	grid-template-columns: [C1] min-content [C2] 4rem [C3] 1fr [C4];
	grid-template-rows: [R1] min-content [R2] 4rem [R3] 1fr [R4] 4rem [R5] min-content [R6];
}

#header1 {
	grid-column: C1 /C2;
	grid-row: R1 / R2;
}
#header2 {
	grid-column: C2 /C3;
	grid-row: R1 / R2;
}
#header3 {
	grid-column: C3 /C4;
	grid-row: R1 / R2;
}

#header_small {
	display: none;
}

div.menu {
	grid-column: C1 / C2;
	grid-row: R3 / R4;
}

div.post_home, div.post {
	grid-column: C3 / C4;
	grid-row: R3 / R4;
}

#footer {
	grid-column: C1 / C4;
	grid-row: R5 / R6;
}


#header1, #header2, #header3 {
/*	border-bottom: 1px solid #274ca1;*/
	position: relative;
}

#footer {
	border-top: 1px solid #274ca1;
	padding-top: 1rem;

	font-size: 0.8rem;
	color: #274ca1; 
}

/** Header */
#header3 {
	color: #274ca1;
	font-weight: 400;
}

#header3 img {
	max-width: min(380px, 100%);
}

/** Content */
div.content {
	line-height: 1.4rem;
	padding: 1rem 5rem;
	font-family: sans-serif;
	display: flex;
	flex-direction: row;
}

div.content_home {
	line-height: 1.4rem;
	padding: 1rem 0 0 5rem;
	font-family: sans-serif;
	display: flex;
	flex-direction: row;
}

div.level2 {
	padding-left: 0.5rem;
}

div.menu a, div.mobilenav_inner a {
	color: #274ca1;
	font-weight: normal;
	line-height: 1.2rem;
}

div.menu div.active a, div.mobilenav_inner div.active a {
	font-weight: bold;
}

div.col2 {
	column-count: 2;
	column-gap: 4rem;
}

a {
	color: #274ca1;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

h2 {
	font-size: 1em;
	color: #274ca1;
	font-weight: bold;
	margin-bottom: 1rem;
}

p {
	margin-bottom: 1rem;
}

ul {
	list-style-type: none;
}

li {
	margin-bottom: 0.5rem;
}

li::before {
	content: "✓";
	padding-right: 0.5rem;
	font-weight: bold;
	color: #274ca1;
}

div.mobileNavTrigger {
	display: none;
}

#mobilenavigation {
	background-color: #F0F0F0;
	width: 100%;
	height: 100%;
	position: absolute;
	padding: 4rem 0;
}

div.mobilenav_inner div {
	padding: 1rem;
	text-align: center;
}

div.red a {
	color: #e10600;
}

figcaption {
	font-size: 0.75em;
}

/** Mobile Styles */
@media screen and (max-width: 1100px) {

	div.master {
		width: 100%;
		margin: 2rem 0 0 0;

		display: grid;
		grid-template-columns: [C3] 1fr [C4];
		grid-template-rows: [R1] min-content [R2] 1rem [R3] 1fr [R4] 1rem [R5] min-content [R6];
	}

	#header1 {
		display: none;
	}
	#header2 {
		display: none;
	}
	#header3 {
		padding: 0 2rem 2.5rem 2rem;
		grid-column: C3 /C4;
		grid-row: R1 / R2;
	}

	div.menu {
		display: none;
	}

	div.post_home, div.post {
		grid-column: C3 / C4;
		grid-row: R3 / R4;
		padding: 0 2rem;
	}

	#footer {
		grid-column: C3 / C4;
		grid-row: R5 / R6;

		padding: 1rem 2rem;
	}

	/** Force Single Column Layout */
	div.col2 {
		column-count: 1;
	}

	div.mobileNavTrigger {
		display: block;
		float: left;
		padding: 2rem 0 0 2rem;
		font-size: 2rem;
		cursor: pointer;
		color: #274ca1;
	}

}