@font-face {
	font-family: "AvenirNext";
	src: url("fonts/AvenirNextLTPro-Regular.otf") format("opentype");
}

@font-face {
	font-family: "AvenirNext";
	font-weight: bold;
	src: url("fonts/AvenirNextLTPro-Bold.otf") format("opentype");
}

@font-face {
	font-family: "AvenirNext";
	font-style: italic;
	src: url("fonts/AvenirNextLTPro-Bold.otf") format("opentype");
}

body {
	font-family: AvenirNext, Sans-Serif;
	background-color: white;
}

p {
	margin-top: 6px;
	margin-bottom: 4px;
	text-align: justify;
}

#main {
	margin: 0 auto;
}

#content {
	min-height: 600px;
}

#title {
	background-image: url("images/WEB_titul_2.jpg");
	background-position: top;
	background-size: cover;
	padding: 15px 2.7vw;
}

#nav {
	padding: 0;
	width: 100%;
	background-color: #9a267e;
	margin-bottom: 12px;
}

#invisible-link {
	width: 55vw;
	height: 10vw;
	position: absolute;
}

#invisible-link a {
	display: block;
	width: 100%;
	height: 100%;
}

#inner-content {
	padding: 0;
}

#col01 {
	width: 70%;
	margin-right: 1%;
}

#col02 {
	width: 29%;
}

.box {
	background-color: white;
	padding: 10px 25px;
	margin: 15px auto;
	box-shadow: 0px 0px 6px 4px #575757;
}

.bar {
	display: inline-block;
	vertical-align: top;
	padding: 0;
}

.navlink:hover {
	background-color: red;
}

.navlink {
	display: inline-block;
	padding: 8px;
	text-decoration: none;
	color: white !important;
}

.navlink.right {
	float: right;
}

.article {
	width: auto;
}

.article h2 {
	margin-top: 6px;
	margin-bottom: 4px;
	min-width: 80%;
	display: inline-block;
}

.article.single h2 {
	min-width: 85%;
}

.article img {
	width: 100%;
	margin-bottom: 6px;
}

.article a {
	word-break: break-word;
}

.article.single a {
	word-break: break-all;
}

.articleLink {
	text-decoration: none;
	color: black;
}

.articleLink:hover p, .articleLink:hover h2 {
	text-decoration: underline !important;
}

.articleDate {
	margin-top: 0px;
	display: inline-block;
	vertical-align: middle;
}

.magFront:hover {
	filter: brightness(1.2);
}

.magFront {
	width: 48%;
	display: inline-block;
	margin-right: 4%;
}

.magFront.odd {
	margin-right: 0;
}

.gallery {
	margin-top: 10px;
	display: grid;
	grid-template-columns: repeat(auto-fill, 82px);
	justify-content: center;
}

.gallery a {
	display: block;
	padding: 0;
	margin: 0 auto;
}

.galleryThumb {
	width: 75px;
	border: 1px solid black;
}

@media screen and (max-width: 800px) {
	#main {
		max-width: 90vw;
	}
	
	#nav {
		margin-top: 18vw;
	}
	
	#invisible-link {
		width: 85vw;
		height: 14vw;
	}
	
	#col01 {
		width: 100%;
	}
	
	#col02 {
		width: 100%;
	}
	
	.articleDate {
		float: none;
		margin-left: 0;
	}
	
	.navlink.right {
		float: none;
	}
}

@media screen and (min-width: 800px) {
	#main {
		max-width: 60vw;
	}
	
	#nav {
		margin-top: 12vw;
	}
	
	.article.inline {
		margin-top: 6px;
	}
	
	.article.inline h2 {
		margin-top: 0px;
	}
	
	.article.inline img {
		display: inline-block;
		width: 40%;
		vertical-align: top;
	}

	.article.inline .article-content {
		display: inline-block;
		margin-left: 2%;
		width: 56%;
	}
}