/*
	Theme Name: OHM
	Theme URI: https://modem.studio
	Version: 1.0.0
	Author: Modem Studio (@modem_studio)
	Author URI: https://modem.studio
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
:root {
  --background: whitesmoke;
  --text: black;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
	background-color: var(--background);
	color: var(--text);
}
body {
	font-weight: 400;
	font-size: 16px;
	font-family: 'Favorit', monospace;
	
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	max-height: 100%;
	height: auto;
	vertical-align: middle;
}
video:focus { 
	outline:none; 
}
a {
	text-decoration: underline;
	color: var(--text);
}
a:hover {
	text-decoration: none;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid var(--text);
}
.clear{
	clear: both;
}
h1, h2, h3{
	font-weight: normal;
	margin-top: 0;
	font-size: 1em;
}

h2 a, 
a h2{
	text-decoration: none;
}
h2.title-line{
	border-bottom: 1px solid var(--text);
	padding-bottom: 10px;
}
.mono{
	font-family: monospace;
}
figcaption,
.small-type{
	font-size: 0.8em;
	font-family: monospace;
}
.columns{
	display: flex;
	gap: 20px;
}
.column-1{
	flex: 1;
}
.column-2{
	flex: 2;
}
.column-3{
	flex: 3;
}
.column-4{
	flex: 4;
}
.row{
	border-bottom: 1px solid var(--text);
	padding: 10px 0;
}
.greyscale img{
	filter: grayscale(1);
	transition:  all 0.3s linear;
}
.greyscale:hover img{
	filter: grayscale(1) blur(4px);
}
a.button{
	text-decoration: none;
	background-color: var(--text);
	color: var(--background);
	border-radius: 50px;
	padding: 10px 20px;
	display: inline-block;
	text-transform: uppercase;
}
/*------------------------------------*\
    COOKIE CONSET
\*------------------------------------*/
.tpp__cook_msg{
	display:block;
	color:black;
	position:fixed;
	bottom:20px;
	left: 20px;
	padding: 10px;
	z-index:9999999;
	border: 1px solid var(--text);
	background-color: var(--background);
	border-radius: 20px;
	max-width: calc(100% - 40px);
}
.tpp__cook_msg #acceptCookie{
	background-color: var(--text);
	border-radius: 50px;
	padding:5px 10px;
	font-size:14px;
	border: none;
	color: var(--background);
}
.tpp__cook_msg #acceptCookie:hover{
	opacity: 0.5;
}
/*------------------------------------*\
	ANIMATIONS
\*------------------------------------*/
/* WIGGLE */
@-webkit-keyframes wiggle {
	0% { -webkit-keyframes-transform: rotate(10deg); }
   50% { -webkit-keyframes-transform: rotate(-10deg); }
  100% { -webkit-keyframes-transform: rotate(10deg); }
}
@-moz-keyframes wiggle {
	0% { -moz-keyframes-transform: rotate(10deg); }
   50% { -moz-keyframes-transform: rotate(-10deg); }
  100% { -moz-keyframes-transform: rotate(10deg); }
}
@keyframes wiggle {
	0% { transform: rotate(10deg); }
   50% { transform: rotate(-10deg); }
   100% { transform: rotate(10deg); }
}

/* SPIN */
@keyframes spin {
	from{ transform: rotateY(0deg);}
	to{ transform: rotateY(360deg);}
}
@-moz-keyframes spin {
	from{ -moz-transform: rotateY(0deg);}
	to{ -moz-transform: rotateY(360deg);} 
}
@-webkit-keyframes spin {
	from{-webkit-transform: rotateY(0deg);}
	to{ -webkit-transform: rotateY(360deg);}
}

/*------------------------------------*\
	FONTS
\*------------------------------------*/
@font-face {
  font-family: 'Favorit';
  src:  url('fonts/ABCfavorit/ABCFavoritMono-Regular-Trial.woff2') format('woff2'),
		url('fonts/ABCFavoritMono-Regular-Trial.woff') format('woff');
}
/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper: padding-top for menu height */
.wrapper {
	width:100%;
	margin:0;
	position:relative;
	overflow: hidden;
}
.header{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	display: flex;
}
.background{
	z-index: -2;
	position: fixed;
	width: 100%;
	height: 100vh;
	left: 0;
	right: 0;
	bottom: 0;
	background-size: cover;
	background-image: url("assets/img/background.jpg");
	z-index: -1;
	opacity: 0.5;
	/* Center and scale the image nicely */
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}
.background-logo{
	position: fixed;
	width: 100%;
	top: 0;
	left: 0;
	z-index: -1;
}
.width-1440{
	max-width: 1440px;
	padding: 20px;
}
/* NAVIGATION */
a.home-link{
	flex: 1;
	padding: 20px;
	text-decoration: none;
	font-size: 3em;
	font-weight: 700;
}
.nav {
  z-index: 999;
  position: fixed;
  top: 0;
  left: 0;
  height: 300px;
  margin-top: -300px;
  padding: 20px;
  width: 100%;
  flex: 1;
}
.nav a {
  text-decoration: none;
}
.nav ul {
  margin: 0;
  padding: 0;
  font-style: italic;
}
.nav ul li {
  display: inline-block;
  margin-right: 10px;
}

/* EVENT LIST */
.events{
	margin-bottom: 200px;
}
.event-list{
	margin: 0;
	padding: 0;
}
.event-list li{
	list-style: none;
}
.event-row-title:hover .row-content{
	filter: blur(4px);
	cursor: pointer;
}
.event-row-title .row-content{
	filter: blur(0);
	transition:  all 0.3s linear;
	text-transform: uppercase;
}
.event-row-hidden{
	display: none;
	padding: 20px 0;
}
/* RESIDENT LIST */
.residents{
	margin-bottom: 200px;
}
.residents-list{
	margin: 0;
	margin-top: 20px;
	margin-left: -20px;
	padding: 0;
}
.residents-item{
	width: 100%;
	display: inline-block;
	padding-left: 20px;
	list-style: none;
	vertical-align: top;
	margin-bottom: 20px;
}
.residents-item a{
	text-decoration: none;
}
.residents-item img{
	margin-bottom: 10px;
}
/* FOOTER */
.footer{
	margin-top: 50px;
}


/* POST ARCHIVES */

.pagination a{
	text-decoration: none;
}

/* POST */


/* PAGES */
.single-page{
	max-width: 800px;
	margin: auto;
}
.embed-container iframe,
.embed-container object,
.embed-container embed { 
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* ABOUT */


/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

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

}
@media only screen and (min-width:480px) {

}
@media only screen and (min-width:768px) {
	.residents-item{
		width: 33.33%
	}
}
@media only screen and (min-width:1024px) {

}
@media only screen and (min-width:1140px) {
	.residents-item{
		width: 25%;
	}
}
@media only screen and (min-width:1280px) {

}
@media only screen and (min-width:1480px) {

}
@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {

}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background: var(--blue);
	color:white;
	text-shadow:none;
}
::-webkit-selection {
	background: var(--blue);
	color:var(--background);
	text-shadow:none;
}
::-moz-selection {
	background: var(--blue);
	color:var(--background);
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}
