/*
Theme Name: PRECIS 2018
Theme URI: 
Author: Max Flick
Author URI: 
Description:
Version: 1.0
License: 
License URI: 
Tags:
Text Domain:
*/
@font-face {
    font-family: Fritz;
    src: url(http://precis.maxflick.se/fqr-webfont.woff);
}
body, html{
	font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Roboto, Arial, sans-serif;
	width: 100%;
	font-size: 14px;
	color: #111111;
	margin: 0px;
	padding: 0px;
	background-color: #fefefe;
}
body{
	margin-top: 120px;
}
div{
	box-sizing: border-box;
}
#background{
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	opacity: 0.45;
	background-repeat: repeat, no-repeat;
	background-size: cover;
	visibility: hidden;
}
header{
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	z-index: 1;
	height: 90px;
	background-color: #fefefe;
}
#container, #headerContainer, #footerContainer{
	position: relative;
	margin: 0 auto;
	width: 90%;
    max-width: 800px;
}
#headerContainer{
	height: 50px;
	/*border-bottom: 1px solid #fefefe;*/
}
a:link,
a:visited,
a:hover,
a:active,
a:focus{
	color: #111111;
}
em{
	font-style: normal;
}
p{
	margin: 0;
    margin-block-start: 0;
    margin-block-end: 0;
}
/*table {
	min-width: 100%;
    border-collapse: collapse;
	line-height: 2.5;
}
.table a
{
    display:block;
    text-decoration:none;
}
td{
	vertical-align: top;
	padding-right: 20px;
}
tr:first-child{
	font-style: italic;
}*/
tr{
	/*border-bottom: 1px solid #111111;*/
}
#logo, #logoFooter{
	font-family: Fritz;
	font-size: 24px;
	text-transform: uppercase;
	text-decoration: none !important;
	position: relative;
	float: left;
	margin-top: 10px;
	width: 100%;
	text-align: center;
	display: block;
	z-index: 99999999999;
}
#logoFooter{
	color: #fefefe;
	margin-top: 0;
	text-align: left;
    line-height: 0.8;
}
#logo a,
#logo a:link,
#logo a:visited,
#logo a:hover,
#logo a:active,
#logo a:focus{
	color: #111111 !important;
	text-decoration: none;
}
header nav{
	position: relative;
	float: left;
	display: block;
    font-family: Fritz;
}
nav a:link,
nav a:visited,
nav a:hover,
nav a:active,
nav a:focus{
	display: block;
	color: #111111;
	text-decoration: none;
	cursor: pointer;
}
footer nav{
	list-style: none;
}
footer nav a:link,
footer nav a:visited,
footer nav a:hover,
footer nav a:active,
footer nav a:focus {
    display: block;
    color: #fefefe;
    text-decoration: none;
    cursor: pointer;
}
footer nav .sub-menu{
	position: relative;
	display: block;
    margin-bottom: 1em;
}
footer ul{
	display: block;
    list-style-type: none;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0;
    margin-inline-end: 0;
    padding-inline-start: 0;
}
footer{
	float: left;
	position: relative;
	width: 100%;
	height: auto;
	padding-top: 10px;
	background-color: #111111;
	color: #fefefe;
}
footer a{
	text-decoration: none;
	color: #fefefe;
}
footer strong{
    font-size: 8px;
    text-transform: uppercase;
	vertical-align: top;
}
footer #twitter{
	width: 20px;
}
#top{
	position: fixed;
	width: 30px;
	height: 30px;
	bottom: 30px;
	right: 30px;
	cursor: pointer;
	z-index: 99999999;
	display: none;
}
#footerContainer{
    padding-top: 15px;
}
#footerContent{
	float: left;
    width: 25%;
    /*border-left: 1px solid #fefefe;
    padding-left: 20px;*/
    display: inline-block;
    min-width: 160px;
    margin-bottom: 100px;
	box-sizing: border-box;
	font-size: 12px;
}
#footerContent:first-child{
	border-left: 0px;
	padding-left: 0px;
}
#navContainer{
}
#primaryMenu{
	padding: 0;
	margin: 0;
	list-style-type:none;
}
#primaryMenu>li{
	display: list-item;
	position: relative;
}
#primaryMenu>li>a{
	z-index:999999;
}
#primaryMenu li ul li{
	font-weight: 400;
}
.sub-menu{
	position: absolute;
	top: 100%;
	left: 0;
	display: none;
	list-style-type: none;
	z-index: 9999999999999999;
}
.sub-menu li ul{
	top: -9px;
    left: 105%;
}
#container{
	position: relative;
	line-height: 1.5;
	overflow: auto;
	/*margin-bottom: 100px;*/
	min-height: 82vh;
}
#container img{
	/*margin: 10px 0px;*/
	width: 100%;
	height: auto;
	box-sizing: border-box;
}
body.page-id-181 #container img{
	width: 20%;
}
#content:after, #footerContent:after{
	clear: both;
	content: '';
	display: table;
}
#content:last-child{
	margin-bottom: 50px;
}
#contentContainer{
	margin-bottom: 50px;
}
#sidebar{
	display: none;
	margin: 0 auto;
	max-width: 800px;
	z-index: -1;
}
#left, #right{
	box-sizing: border-box;
}
#left a{
		line-height: 1.1;
		text-decoration: none;
	    font-family: Fritz;
    	letter-spacing: -0.025em;
		/*font-weight: 700;*/
}
#right p{
	    margin-bottom: 1em;
}
#right ul{
		padding-inline-start: 16px;
}
.italy{
	font-style: italic;
}
.bold{
	font-weight: 900;
}
#date, #author{
	display: none;
	font-size: 12px;
}
#date:first-letter, #author:first-letter{
	text-transform: uppercase;
}
#date{
	float: left;
}
#author{
	float: right;
}
body.home #date{
	display: block
}
body.home #author{
	display: block
}
.noMarginBottom{
	margin-bottom: 0px !important;
}
@media (min-width: 1050px) {
	h1, h2, h3{
		font-family: Fritz;
		margin-block-start: 0;
		margin-block-end: 0;
		font-weight: 700;
		font-size: 24px;
		line-height: 1.2;
		margin: 10px 0 0;
		text-align: center;
		padding: 20px 20%;
		box-sizing: border-box;
	}
	nav{
		display: block !important;
		height: 0 !important;
		visibility: visible;
		width: 100%;
	}
	#primaryMenu{
    	list-style-type: none;
    	-webkit-margin-before: 0em;
    	-webkit-margin-after: 0em;
    	-webkit-margin-start: 0px;
    	-webkit-margin-end: 0px;
   	 	-webkit-padding-start: 0px;
    	text-align: center;
	}
	#primaryMenu li{
    	display: inline-block;
    	list-style-type: none;
		padding: 15px 10px;
		margin-right: 10px;
	}
	#primaryMenu > li{
    	display: inline-block;
    	list-style-type: none;
		padding: 15px 0;
		margin-right: 10px;
	}
	/*#primaryMenu > li:first-child{
		padding: 15px 10px 15px 0;
	}*/
	#primaryMenu li:hover{
		/*background-color: #fefefe;*/
	}
	#primaryMenu li:hover > a{
		/*color: #111111;
		border-bottom: 2px solid #111111 !important;
		transition: border-bottom 0.25s linear;
		transform-origin: 0% 0%;*/
	}
	#primaryMenu > li:after{
		  content: '';
		  position: absolute;
		  width: 0; height: 3px;
		  display: block;
		  margin-top: 1px;
		  right: 0;
		  background: #111;
		  transition: width .2s ease;
		  -webkit-transition: width .2s ease;
	}
	#primaryMenu > li:hover:after{
		  width: 100%;
		  left: 0px;
		  background: #111;
	}
	#primaryMenu li:focus-within a {
  		outline: none;
	}
	/*#primaryMenu li:last-child{
		padding-right: 0px;
	}*/
	#primaryMenu li ul {
    	visibility: hidden;
		opacity: 0;
		position: absolute;
	}
	#primaryMenu li.has-sub:hover > ul,
	#primaryMenu li.has-sub:focus-within > ul,
	#primaryMenu li.has-sub:hover > div {
		visibility: visible;
		opacity: 1;
		left: -20px;
    	top: 47px;
		/*transition: opacity 0.5s;*/
	}
	#primaryMenu li ul:first-child {
	 	left: -15px;
	}
	#primaryMenu li ul li{
		float: left;
    	position: relative;
		padding: 0 15px 15px;
		padding: 0 20px 15px;
	}
	#primaryMenu li ul li a {
		color: #111111;
	    white-space: nowrap;
	}
	#primaryMenu li ul li:first-child{
   	 	/*padding-top: 15px;*/
	}
	#primaryMenu li ul li:last-child{
		padding-right: 15px;
	}
	#primaryMenu li ul{
		background-color: #fefefe;
    	padding:0;
    	box-sizing: border-box;
	}
	#primaryMenu li ul li ul li{
		display: list-item;
		position: relative;
		float: none;
		white-space: nowrap;
		padding: 10px 15px;
	}
	#menuOpen{
		display: none;
	}
	#menuClose{
		display: none;
	}
	#left, #right{
		display: inline-block;
		box-sizing: border-box;
	}
	body.home #content{
		column-count: 1 !important;
		margin-bottom: 50px;
	}
	/*body.page-id-188 #content{
		column-count: 3;
		column-gap: 50px;
	}
	body.page-id-188 #right{
		width: 100%;
	}
	body.page-id-188 #content p:first-child {
    	margin-top: 100px;
	}*/
	#content p{
		margin-bottom: 10px;
	}
	#title{
		font-size: 36px;
		font-weight: 700;
		line-height: 1;
		letter-spacing: -0.025em;
	}
	#left{
    	float: left;
    	width: 100%;
		text-align: center;
    	/*border-top: 1px solid white;*/
    	/*padding-top: 10px;*/
		margin-bottom: 10px;
	}
	#left a{
		font-size: 36px;
    	float: left;
    	width: 100%;
		margin-bottom: 25px;
		padding: 0 200px;
    	box-sizing: border-box;
	}
	#right{
		float: left;
		width: 100%;
		font-weight: 400;
		line-height: 1.5;
		letter-spacing: 0px;
		/*border-left: 1px solid #fefefe;
		padding-left: 20px;*/
	}
	#right p:first-child{
		margin-top: -2px;
	}
	#float {
		width: 46%;
		float: left;
	}
	#float:nth-child(odd){
		margin-right: 6%
	}
	#float h2{
		font-size: 18px;
		margin: 0;
		padding: 30px 30px;
	}
	#float::after{
		clear: both;
		content: "";
		display: table;
	}
}
@media (max-width: 1049px) {
	body{
		margin-top: 50px;
	}
	h1, h2, h3{
		font-family: Fritz;
		margin-block-start: 0;
		margin-block-end: 0;
		font-weight: 400;
		font-size: 24px;
		line-height: 1.2;
		margin: 10px 0 0;
		text-align: center;
		padding: 20px 0;
		box-sizing: border-box;
    	letter-spacing: -0.025em;
	}
	footer img{
		max-width: 35px;
	}
	#logo{
		float: none;
		margin: 10px auto;
	}
	header{
		height: 50px;
	}
	header nav{
		color: #fff;
		position: fixed;
		text-align: right;
		bottom: 0px;
		left: 0px;
		width: 100%;
		height: 100%;
		background-color: #fefefe;
		display: none;
		padding-top: 60px;
		font-size: 24px;
		margin-top: 0px;
	}
	header #navContainer{
		/*margin: 0 auto;
    	width: 80%;
    	padding-top: 100px;*/
		bottom: 80px;
    	position: absolute;
    	width: 100%;
    }
	header #primaryMenu{
		width: auto;
	}
	header #primaryMenu>li{
		display: list-item;
		list-style-type: none;
		float: right;
    	width: 100%;
    	padding: 5px 0px;
    	text-align: center;
	}
	header #primaryMenu > li a:hover, #primaryMenu > li a:active{
		color: #111111;
	}
	header #primaryMenu li ul {
    	display: none;
		padding: 0;
	}
	header #primaryMenu li.has-sub:hover > ul,
	header #primaryMenu li.has-sub:hover > div {
		display: block;
	}
	header #primaryMenu li ul li{
		list-style-type: none;
		font-size: 18px;
	}
	header #primaryMenu li ul li ul{
		position: absolute;
   	 	top: 65px;
    	left: 5%;
    	text-align: left;
	}
	#left{
    	float: left;
    	width: 100%;
    	text-align: center;
    	/* border-top: 1px solid white; */
    	/* padding-top: 10px; */
    	margin-bottom: 10px;
	}
	#left a{
		float: left;
		width: 100%;
		margin-bottom: 20px;
		padding: 0 10%;
		box-sizing: border-box;
	}
	#right ul{
		padding-inline-start: 16px;
	}
	#mobileMenuContainer{
		bottom: 0;
		left: 0;
		position: fixed;
		width: 100%;
		height: 80px;
		z-index: 99999999999;
	}
	#menuOpen, #menuClose{
    	display: block;
		z-index: 99999999999;
		position: relative;
		background-color: #fefefe;
		padding: 30px;
		border-radius: 100px;
		margin: 0 auto;
		width: 30px;
		transition: 1s bottom;
	}
	#menuOpen:hover, #menuClose:hover{
		cursor: pointer;
	}
	#line1 {
    	top: 20px;
    	right: 28px;
    	width: 4px;
    	height: 20px;
    	position: absolute;
	}
	#line2 {
    	top: 28px;
    	left: 20px;
    	width: 20px;
    	height: 4px;
    	position: absolute;
	}
	#line1, #line2{
		background: #111111;
	}
	#menuClose{
		display: none;
	}
	#content{
	    border-top: 2px solid white;
    	padding-top: 10px;
	}
	#left a{
		font-size: 36px;
	}
	#primaryMenu li ul li{
		padding-top: 5px;
	}
}
@media (max-width: 880px) {
	#container, #headerContainer, #footerContainer, #navContainer{
		width: 90%;
	}
	#contentContainer{
		display: block;
		width: 100%;
	}
	#left, #right{
		width: 100%;
		max-width: 100%;
	}
	#right{
		float: left;
	}
	#footerContent{
		margin-bottom: 30px;
	}
}
@media (min-width: 610px) {
	#gallery{
		display: inline-block;
	}
	#gallery:after {
    	content:"";
    	display: table;
   	 	clear: both;
	}
	#gallery img{
		max-width: 100%;
		height: auto;
	}
	#gallery p a{
		float: right;
		max-width: 580px;
		width: 48%;
		margin-bottom: 2%;
	}
	#gallery p a:nth-child(odd){
		float: left;
	}
}
@media (max-width: 500px) {
	table{
		font-size: 10px;
	}
}