/*
Theme Name: artnoir
Theme URI: https://artnoir.ch
Author: Sebastian L.
Author URI: https://momou.ch
Description: Omega theme is a responsive WordPress theme framework, serving as a robust WordPress Parent Theme. Omega theme supports HTML5 and schema.org code, the semantic foundation for SEO best practices. Omega theme is designed to be simple, yet powerful, flexible to create any site you want via omega child theme. The framework allows theme designers to build child themes quickly without having to code complex functionality for features. Omega framework does these things for theme developers / designers to enable them get back to what matters the most: save time designing and developing beautiful WordPress themes. WordPress Child Themes handle all the markup, style, and scripts while the framework handles the logic.
Version: 1.1.3
License: GNU General Public License
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: white, light, gray, green, black, two-columns, right-sidebar, fixed-layout, theme-options, custom-menu, threaded-comments, microformats, sticky-post, featured-image-header, flexible-header, translation-ready, responsive-layout, fluid-layout, featured-images, photoblogging
Text Domain: omega
Domain Path: /languages
Template: momou-omega

artnoir WordPress theme, Copyright (C) 2015 by Sebastian L.
artnoir WordPress theme is licensed under the GPL.

dunkelgrün 303030
hellgrün 4f95a7
grey 303030
hellgrau cdcfd4
hellhellgrau eaedf2
schwarz 303030

rot c86079
grün 1e5664
hellgrün 4f95a7

*/
@font-face {
    font-family: 'bebas';
    src: url('fonts/bebas.woff2') format('woff2'),
         url('fonts/bebas.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Roboto Light';
    src: url('fonts/Roboto-Light.woff2') format('woff2'),
         url('fonts/Roboto-Light.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
  font-family: 'fontello';
  src: url('fonts/fontello.woff2') format('woff2'),
       url('fonts/fontello.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
/* Baseline Reset (normalize.css 2.1.2)
	Link: http://necolas.github.com/normalize.css/
--------------------------------------------- */


[class^="icon-"]:before, [class*=" icon-"]:before {
	font-family: "fontello";
	font-style: normal;
	font-weight: normal;
	speak: none;
	display: inline-block;
	text-decoration: inherit;
	width: 1em;
	margin-right: .2em;
	text-align: center;
	font-variant: normal;
	text-transform: none;
	line-height: 1em;
	margin-left: .2em;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Box Sizing
--------------------------------------------- */
*,input[type="search"] {-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;}

/* Float Clearing
--------------------------------------------- */
.archive-pagination:before,.clearfix:before,.entry:before,.entry-pagination:before,.post-navigation:before,.footer-widgets:before,.nav-primary:before,.nav-secondary:before,.site-container:before,.site-footer:before,.site-header:before,.site-inner:before,.wrap:before{content:" ";display:table;}
.archive-pagination:after,.clearfix:after,.entry:after,.entry-pagination:after,.post-navigation:after,.footer-widgets:after,.nav-primary:after,.nav-secondary:after,.site-container:after,.site-footer:after,.site-header:after,.site-inner:after,.wrap:after{clear:both;content:" ";display:table;}

/*
Defaults
---------------------------------------------------------------------------------------------------- */

/* Typographical Elements
--------------------------------------------- */


body {
	color: #303030;
	background: #cdcfd4;
	font-family: 'Roboto Light', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.625;
}

a,
button,
input:focus,
input[type="button"],
input[type="reset"],
input[type="submit"],
textarea:focus {
	-webkit-transition: all 0.1s ease-in-out;
	-moz-transition:    all 0.1s ease-in-out;
	-ms-transition:     all 0.1s ease-in-out;
	-o-transition:      all 0.1s ease-in-out;
	transition:         all 0.1s ease-in-out;
}

::-moz-selection {
	background: #303030;
	color: #fff;
}

::selection {
	background: #303030;
	color: #fff;
}

a {
	color: #303030;
	text-decoration: none;
}

a:hover,
a:focus {
	color: #1e5664;
	text-decoration: none;
}

p {
	margin: 0 0 12px;
	padding: 0;
}


ol, ul {
	list-style: none;
	margin: 0 0 25px 25px;
	padding: 0;
}

ul {
	list-style: disc outside;
}

ol {
	list-style-type: decimal;
}












pre {
	background-color: #fff;
	overflow: scroll;
	padding: 0 20px;
	white-space: pre;
}


/* Table
--------------------------------------------- */

table {
	border: 1px solid #333;
	border-collapse: collapse;
	border-spacing: 0;
	margin-bottom: 25px;
}


th,td {
	padding: 10px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}


th {
	border-bottom: 1px solid #303030;
	border-right: 1px solid #303030;
	background: #eaedf2;
	font-size: 15px;
	font-weight: normal;
	text-align: left;
}

td {
	border-bottom: 1px solid #303030;
	border-right: 1px solid #303030;
}

/* Headings
--------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6 {
	color: #303030;
	font-weight: normal;
	line-height: 1.2;
	margin: 0;
	margin: 22px 0 12px 0;
	padding: 0;
}

h1 {
	font-size: 30px;
}

h2 {
	font-size: 26px;
}

h3 {
	font-size: 23px;
}




/* Objects
--------------------------------------------- */





/* Forms
--------------------------------------------- */

input,
select,
textarea {
	background: #fff;
	border: 1px solid #303030;
	font-size: 14px;
	padding: 10px;
	line-height: 24px;
	max-width: 100%;
}

input:focus,
textarea:focus {
	color: #000;
	background: #fff;
	border: 1px solid #aaa;
	outline: none;
}

::-moz-placeholder {
	color: #222;
}

::-webkit-input-placeholder {
	color: #222;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	background: #cdcfd4;
	border: none;
	box-shadow: none;
	color: #1e5664;
	cursor: pointer;
	font-weight: normal; /* Omega 2.1.0 makes buttons bold */
	padding: 10px;
	width: auto;
}

button:hover,
input:hover[type="button"],
input:hover[type="reset"],
input:hover[type="submit"] {
	background: #1e5664;
	color: #fff;
}



/*
Structure and Layout
---------------------------------------------------------------------------------------------------- */

/* Site Containers
--------------------------------------------- */


.wrap {
	margin: 0 auto;
	max-width: 1140px;
	/* Omega 2.1.0 adds 20px side padding to every wrap; artnoir lays the
	   1140px wrap out with its own percentages. */
	padding-left: 0;
	padding-right: 0;
}

.site-inner {
	clear: both;
	padding-top: 0;
}

/* Omega 2.1.0 puts content and sidebar in a flex row.  artnoir keeps its
   traditional float layout (920px + 220px inside the 1140px .wrap), so undo
   the parent's flex rules instead of restyling the columns. */
.site-inner > .wrap {
	display: block;
	gap: 0;
}

/* The parent clears the wrapper with flex-basis 100%; the floats need the
   clearfix back. */
.site-inner > .wrap:before,
.site-inner > .wrap:after {
	content: " ";
}

/* Column Widths and Positions
--------------------------------------------- */

.content {
	float: left;
	width: 920px;
	margin: 0;
	padding: 20px 0 0 0;
}

/* Primary Sidebar */

.sidebar-primary {
	float: right;
	width: 220px;
	padding: 20px 0;
}

/* WordPress
--------------------------------------------- */




#bottomsearch {
	display: block;
}
#topsearch {
	display: none;
}
/* The search field in the nav bar is hidden until the menu is opened. */
#topsearch .search-form {
	display: none;
}
.search-form input[type="submit"] {
	border: 0;
	clip: rect(0, 0, 0, 0);
	height: 1px;
	margin: -1px;
	padding: 0;
	position: absolute;
	width: 1px;
	display: none;
}

















/* Headings
--------------------------------------------- */

.entry-title {
	font-family: 'bebas', 'Arial Black', sans-serif;
	font-weight: 700;
	word-wrap: break-word;
	line-height: 1.2;
	font-size: 26px;
	margin: 0 0 12px 0;
}
/* Omega 2.1.0 spaces the entry title with ".post .entry-title { margin-bottom: 5px }";
   two classes, so the rule above is not specific enough.  artnoir wants 12px in the
   listings (as production, which never loaded the parent stylesheet).  The single-post
   value comes from ".singular .entry-title" below, which follows this rule and keeps
   its 5px. */
.post .entry-title {
	margin: 0 0 12px 0;
}
.home .entry-title {
	line-height: 1;
	margin: 0 0 12px 0;
}
.archive-title,
.singular .entry-title {
	margin: 0 0 5px 0;
	font-size: 52px;
}
/*
Site Header
---------------------------------------------------------------------------------------------------- */
/* Omega 2.1.0 gives the header a light grey background (#F7F7F7). Production
   never loaded the parent stylesheet, so its header is transparent and the
   body colour (#cdcfd4) shows through. */
.site-header {
	background: none;
}

.site-header .wrap {
	padding: 20px 20px 0 20px;
}

/* Title Area
--------------------------------------------- */

.title-area {
	width: 500px;
	margin: 0 auto 12px;
	/* Omega 2.1.0 centres the title area and makes it bold.  Production has no
	   text-align (computed 'start') and inherits the body weight of 400, because
	   it never loaded the parent stylesheet; 'start' is the initial value. */
	text-align: start;
	font-weight: normal;
	/* Omega 2.1.0 pads the title area; artnoir spaces it with the margin. */
	padding: 0;
}
/* .header-right (alt: Titelbereich links + Suche rechts unten) ist mit Omega 2.1.0
   weggefallen: das Parent-Partial rendert kein .header-right mehr, die Suche sitzt
   im Menü (siehe A16–A18). Auch Production kennt die Klasse nirgends. */

/*
Site Navigation
---------------------------------------------------------------------------------------------------- */

/* The header logo replaces the site title text.  Omega 2.1.0 renders it inside
h1.site-title (font-size 45px) while artnoir used a plain div at body size, and
the core custom-logo markup introduces whitespace between inline elements.  Reset
both so the logo keeps the artnoir line box and the 500px title area. */
.site-title a,
.site-title a:hover {
	color: #303030; /* Omega 2.1.0 uses #333 */
}

.site-title {
	font-size: 16px;
	line-height: 1.625;
	margin: 0;
}

/* No extra whitespace next to the logo, so the title area is exactly as tall as
   the image (as in the old partial). */
.custom-logo-link {
	text-decoration: none;
}

/* artnoir has no tagline (the old partial did not output one). */
.site-description {
	display: none;
}

/* Keyboard focus in the dark navigation bars: the parent outline colour does not
   read well on #1e5664 / #303030. */
.nav-primary a:focus-visible,
.nav-footer a:focus-visible,
.nav-primary label.menu-icon:focus-visible {
	outline-color: #fff;
}

.omega-nav-menu {
	clear: both;
	color: #303030;
	/* Omega 2.1.0 sets line-height 1.5 here; artnoir inherits the body line
	   height, which is what gives the menu bar its height. */
	line-height: 1.625;
	margin: 0;
	padding: 0;
	width: 100%;
	font-family: 'bebas', 'Arial Black', sans-serif;
	text-align: center;

}
.nav-primary {
	background: #1e5664;
}
.nav-primary .wrap {
	background: #1e5664;
	z-index: 200;
	position: relative;
	padding-left: 0;
	padding-right: 0;
}

.omega-nav-menu a {
	color: #fff;
	border: none;
	display: block;
	padding: 10px 14px;
	position: relative;
	font-size: 26px;
}

.omega-nav-menu ul {
	left: -9999px;
	margin: 0;
	opacity: 0;
	padding: 0;
	position: absolute;
	-webkit-transition: opacity .4s ease-in-out;
	-moz-transition:    opacity .4s ease-in-out;
	-ms-transition:     opacity .4s ease-in-out;
	-o-transition:      opacity .4s ease-in-out;
	transition:         opacity .4s ease-in-out;
	width: 200px;
}

.omega-nav-menu ul a {
	color: #000;
	/* Omega 2.1.0 gives sub menu links a bordered white box; artnoir colours the
	   list items instead. */
	background: none;
	border: none;
	font-size: 24px;
	padding: 10px 14px;
	position: relative;
	width: 200px;
}
.omega-nav-menu ul li {
	background: #fff;
}
.omega-nav-menu ul a:hover,
.omega-nav-menu ul a:focus {
	color: #fff;
	background: #303030;
}

.omega-nav-menu ul ul {
	margin: -50px 0 0 199px;
}



/*
Footer Navigaion
-----------------------------------------------------------------------*/
.nav-footer .omega-nav-menu {
	line-height: 1; /* as in .nav-footer .wrap, not the parent's 1.5 */
}
.nav-footer ul {
	width: 85%;
	float: left;
	text-align: right;
}
.nav-footer .social {
	width: 15%;
	float: right;
}
.nav-footer .social-icon {
    color: #fff;
    display: block;
    font-family: "fontello";
    height: 28px;
    margin: 6px 4px;
    padding: 6px;
    float: right;
    text-align: center;
    width: 28px;
}
.nav-footer .social-icon:hover,
.nav-footer .social-icon:focus
 {
    color: #606060;
}
.nav-footer {
	background: #303030;
}
.nav-footer .wrap {
    color: #fff;
	line-height: 1;
    background: #303030;
   	padding: 30px 20px 0 20px;
}

/*
Content Area
---------------------------------------------------------------------------------------------------- */

/* Entries
--------------------------------------------- */

.entry {
	margin-bottom: 50px;
	max-width: 900px;
}
.singular .entry-wrap {
	background: #fff;
	padding: 20px;
	width: 900px
}
.home .entry {
	margin-bottom: 20px;
}
.entry-summary {
	background: #fff;
	padding: 20px;
}
.entry-summary-image {
	font-size: 0;
}
.entry-summary-image img {
	width: 100%;
}
.archive .entry-content,
.singular .entry-content,
.singular .entry-summary {
	float: none;
}

.entry-content a,
.entry-meta a,
.more-link {
	text-decoration: none;
	color: #1e5664;
}
/* The parent underlines the links inside .entry-summary, and on the blog page that
   is the wrapper around the post title, so every home title got an underline.
   Production has no such rule; the titles keep the plain heading colour. */
.entry-summary a {
	text-decoration: none;
}
.entry-meta a {
	font-style: italic;
}
.category-title a:hover,
.archive-title a:hover,
.entry-title a:hover {
	color: #606060;
}
.entry-content a:hover,
.entry-summary a:hover,
.entry-meta a:hover {
	text-decoration: underline;
	color: #303030;
}


.entry-summary img {
	margin-bottom: 0;
}




.entry-meta {
	clear: both;
	color: #303030; /* Omega 2.1.0 greys the meta lines */
	font-size: 14px;
}

/* Omega 2.1.0 spaces the meta line below the entry header; artnoir pads the
   header itself. */
.entry-header .entry-meta {
	margin-bottom: 0;
}
.entry-footer,
.entry-header {
	background: #fff;
	padding: 20px;
}
.singular .entry-footer,
.singular .entry-header {
	padding: 0;
}
.home .entry-header {
	padding: 0;
}
.singular .entry-header .entry-meta {
	margin-bottom: 15px;
}
.singular-event .entry-header,
.singular-post .entry-header {
	text-align: center;
}






/* Entry Navigation
--------------------------------------------- */

.navigation .nav-previous ,
.navigation .nav-next {
	padding: 8px 12px;
	background: #4f95a7;
    border-radius: 25px 25px 25px 25px;
    padding: 8px 14px;
	display: inline-block;
}
.navigation .nav-previous a:hover,
.navigation .nav-next a:hover {
	color: #eaedf2;
}





/* Pagination
--------------------------------------------- */
.pagination .page-numbers {
	padding: 8px 12px;
	background: #303030;
	border: none; /* Omega 2.1.0 adds a 1px #F5F5F5 border here */
    border-radius: 25px 25px 25px 25px;
    padding: 8px 14px;
    margin: 0 5px 0 0;
	display: inline-block;
	color: #eaedf2;
}

.pagination .current {
	background-color: #eaedf2;
	color: #303030;
}
.pagination .page-numbers:hover {
	background-color: #606060;
}
.pagination {
	text-align: center;
	padding: 20px 0 0 0;
	/* Core wraps the links in "<nav class="navigation pagination">"; the parent's
	   .navigation margin 40px would double the gap next to #nav-below. */
	margin: 0 auto;
}


/*
Sidebars
---------------------------------------------------------------------------------------------------- */

.widget-title {
	font-family: 'bebas', 'Arial Black', sans-serif;
	word-wrap: break-word;
	background: #303030;
	padding: 5px;
	color: #fff;
	margin: 0;
}


.sidebar li,
.footer-widgets li {
	list-style-type: none;
	margin-bottom: 12px;
	padding: 0;
	word-wrap: break-word;
}



.sidebar .widget-wrap {
	background: #fff;
}
.sidebar .widget-wrap > *:not(.widget-title),
.sidebar .widget-wrap > *:not(.search-form) {
	padding: 5px 5px 0 5px;
}


/*
Site Footer
---------------------------------------------------------------------------------------------------- */

.site-footer {
	border-top: none; /* Omega 2.1.0 adds a top border */
	color: #cdcfd4;
	font-size: 12px;
	padding: 0;
	height: 30px;
	background: #303030;
	text-align: center;
}
.site-footer .wrap {
	padding: 20px 20px 0 20px;
	background: #303030;
}


/* Omega 2.1.0 floats the copyright and credit lines; artnoir has one line. */
p.copyright,
p.credit {
	float: none;
}

.site-footer a {
	display: inline-block;
	color: #1e5664;
}
.site-footer a:hover,
.site-footer a:focus {
	color: #606060;
}

/*
Custom
---------------------------------------------------------------------------------------------------- */
/* HOME */
.singular-page .entry-title,
.category-title,
.archive-title {
	font-family: 'bebas', 'Arial Black', sans-serif;
	font-weight: normal;
	clear: both;
	background: #303030;
	margin: 0 0 10px 0;
	padding: 8px 20px 8px 20px;
	color: #fff;
	text-align: center;
}

/* SEARCH */
/* Search-Icon */
.nav-primary .search-submit {
    display: none;
}
.nav-primary .search-form {
    float: right;
    margin: -41px 0 0 0;
}
.nav-primary .search-form .screen-reader-text {
    position: absolute;
    left: -9999px;
    overflow: hidden;
}
.nav-primary .search-field {
	background: url("images/search.png") no-repeat scroll top left;
	background-size: 24px 24px;
	border: none;
	box-shadow: none;
	cursor: pointer;
	height: 36px;
	margin: 0 12px 0 0;
	position: relative;
	transition: width .4s ease, background .4s ease;
	width: 24px;
	color: #777;
	padding: 8px 0 8px 24px;
}
.nav-primary .search-field:active,
.nav-primary .search-field:focus {
	background: #fff;
	color: #777;
	cursor: text;
	outline: 0;
	width: 260px;
	box-shadow: none;
	margin: -20px 12px 0 0;
}
/*
Event Organiser
---------------------------------------------------------------------------------------------------- */
.eo-event-venue-map,
.eo-event-meta {
	float: left;
	width: 50%;
}
.eo-event-meta {
	margin: 0 !important;
}
span.entry-terms.post_tag::before {
	content: "";
	margin: 0;
}
/* Omega 2.1.0 puts every term group on its own line; production keeps date,
   categories and author in one flow (meta line 45.5px instead of 68.25px). */
.entry-terms {
	display: inline;
}
.singular-event .entry-meta {
	margin-top: 10px;
}
.sidebar-primary a.event-widget-link {
	text-decoration: none;
}
.event-widget-list-item {
	text-align: center;
	font-size: 16px;
}
.event-widget-date {
	font-size: 210%;
	line-height: 1;
	font-family: "bebas", "Arial Black", sans-serif;
}
.event-widget-title {
	font-weight: bold;
}
h2.event-datetime-heading {
	margin: 0 0 10px 0;
}
.event-buttons a button {
	display: block;
	width: 40%;
	margin: 10px 10px 0 25px;
	height: 60px;
	float: left;
}
.eo-fullcalendar a.fc-event {
    background: #1e5664 !important;
    border-color: #1e5664 !important;
    color: #ffffff !important;
}
/*
Plugins Style
---------------------------------------------------------------------------------------------------- */
/*
 * Advanced Ads
 */
/*
 * A-Z Index
 */
ul.az-links {
	margin: 0;
}
.az-links li {
	padding: 8px 12px;
	background: #4f95a7;
    border-radius: 25px 25px 25px 25px;
    padding: 8px 14px;
    font-size: 14px;
    margin: 5px;
   	list-style: none;
   	float: left;
   	text-align: center;
}
.az-links li a:hover,
.az-links li a:focus {
	color: #cdcfd4;
}


/**
 * BxSlider v4.1.2 - Fully loaded, responsive content slider
 * http://bxslider.com
 *
 * Written by: Steven Wanderski, 2014
 * http://stevenwanderski.com
 * (while drinking Belgian ales and listening to jazz)
 *
 * CEO and founder of bxCreative, LTD
 * http://bxcreative.com
 */


/** RESET AND LAYOUT
===================================*/
.slider-wrap {
	visibility: hidden;
	height: 435px;
}
ul.slider {
	margin: 0;
	padding: 0;
}
.bx-wrapper {
	position: relative;
	margin: 0 auto 60px;
	padding: 0 2% 0 0;
	*zoom: 1;
}

.bx-wrapper img {
	max-width: 100%;
	display: block;
	margin: 0 auto;
}

/** THEME
===================================*/

.bx-wrapper .bx-viewport {
	/*fix other elements on the page moving (on Chrome)*/
	-webkit-transform: translatez(0);
	-moz-transform: translatez(0);
	-ms-transform: translatez(0);
	-o-transform: translatez(0);
	transform: translatez(0);
	margin: 0 0	 20px 0;
}


/* LOADER */


/* PAGER */





/* DIRECTION CONTROLS (NEXT / PREV) */

.bx-wrapper .bx-prev {
	left: 10px;
	background: url(images/bx_controls.png) no-repeat 0 -32px;
}

.bx-wrapper .bx-next {
	right: 25px;
	background: url(images/bx_controls.png) no-repeat -43px -32px;
}

.bx-wrapper .bx-prev:hover {
	background-position: 0 0;
}

.bx-wrapper .bx-next:hover {
	background-position: -43px 0;
}

.bx-wrapper .bx-controls-direction a {
	position: absolute;
	top: 50%;
	margin-top: -16px;
	outline: 0;
	width: 32px;
	height: 32px;
	text-indent: -9999px;
	z-index: 100;
}

.bx-wrapper .bx-controls-direction a.disabled {
	display: none;
}

/* AUTO CONTROLS (START / STOP) */






/* PAGER WITH AUTO-CONTROLS HYBRID LAYOUT */



/* IMAGE CAPTIONS */

.bx-wrapper .bx-caption {
	position: absolute;
	bottom: 0;
	left: 0;
	background: rgba(40, 40, 40, 0.75);
	width: 100%;
}
.slider-title {
	font-family: 'bebas', 'Arial Black', sans-serif;
	font-weight: 700;
	color: #fff;
	text-align: center;
	max-width: 80%;
	margin: 0 0 0 10%;
	padding: 10px;
}
/* The lightbox: own overlay for the gallery images, js/lightbox.js plus this CSS.
   It replaces the Simple Colorbox plugin, which needed jQuery, a 11825-byte
   script and its own stylesheet for what these rules do. The overlay is
   rgba(0,0,0,.8), the image fills 88 % of the height, the counter stands
   centred above the image, and the arrows sit right next to the image and not
   at the edge of the screen. Counter and arrows only appear for groups of two
   or more images; a single image is shown without them. Below the picture stands
   a caption: the caption of the gallery item, or the alt text when the image has
   none, and nothing when both are missing. The counter stays centred above the
   image and the arrows stay next to it. */
#lightbox {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.2rem;
	padding: 1rem;
	box-sizing: border-box;
	background: rgba(0, 0, 0, 0.8);
}
#lightbox[hidden] {
	display: none;
}
/* The stage is the middle of the row arrow - picture - arrow. Its width is the
   width of the picture, and that is what pulls the two arrows next to it.
   min-width: 0 lets the picture shrink instead of pushing the arrows out of
   the window. */
#lightbox-stage {
	position: relative;
	display: flex;
	align-items: center;
	min-width: 0;
}
#lightbox-img {
	max-width: 100%;
	/* 88 % of the height, but never so much that the counter above the image
	   leaves the window: 8rem = counter with its gap (3.1rem on a desk screen,
	   2.7rem on a phone), two times the padding of the overlay (2rem) and a
	   margin of safety. The script counts with the same 8rem. */
	max-height: min(88vh, calc(100vh - 8rem));
	width: auto;
	height: auto;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	cursor: pointer;
}
/* A shown caption needs the same kind of room below the picture that the counter
   needs above it: at most its two lines (2.1rem each) with their gap (0.8rem), the
   padding of the overlay and a margin of safety, so 8rem becomes 12rem. The script
   sets the class 'has-caption' only when the caption has text, and its wantedWidth()
   counts with the same 8rem + 4rem. On a tall window the 88 % of the height is the
   smaller limit anyway, so there the picture does not change at all. */
#lightbox.has-caption #lightbox-img {
	max-height: min(88vh, calc(100vh - 12rem));
}
body.lightbox-open {
	overflow: hidden;
}
/* The general button rules (background, padding, colour) are wrong in here. */
#lightbox-close,
#lightbox-previous,
#lightbox-next {
	margin: 0;
	padding: 0 0.3rem;
	border: 0;
	background: none;
	color: #eaedf2;
	cursor: pointer;
	font-family: 'bebas', 'Arial Black', sans-serif;
	font-weight: normal;
	line-height: 1;
}
#lightbox-previous,
#lightbox-next {
	flex: 0 0 auto;
	font-size: 9.6rem; /* three times the 3.2rem of A41 */
}
#lightbox-close {
	position: fixed;
	top: 0.8rem;
	right: 1.2rem;
	font-size: 6.6rem; /* three times the 2.2rem of A41 */
}
#lightbox-close:hover,
#lightbox-previous:hover,
#lightbox-next:hover {
	background: none;
	color: #fff;
}
#lightbox-close:focus-visible,
#lightbox-previous:focus-visible,
#lightbox-next:focus-visible {
	outline: 2px solid #eaedf2;
	outline-offset: 2px;
}
/* Out of the flow and anchored to the picture: centred above it, and it cannot
   make the row wider than the picture. */
#lightbox-counter {
	position: absolute;
	bottom: 100%;
	left: 50%;
	transform: translateX(-50%);
	margin: 0 0 0.8rem;
	white-space: nowrap;
	color: #eaedf2;
	font-size: 1.4rem; /* a little smaller than the body size of 1.6rem */
}
/* The caption mirrors the counter: out of the flow, anchored to the picture and
   centred under it. It spans the whole stage, which is as wide as the picture, so a
   long caption wraps at the width of the picture instead of pushing the arrows
   outwards. Note the two offsets: with left: 50 % alone a box out of the flow may
   only use the rest of the width, which is half of the picture - that is why it is
   stretched with left and right here and centred with text-align. Two lines is the
   most it can take, because the overlay centres the picture and not the text: in a
   low window a third line would fall off the bottom. What does not fit is left out
   with an ellipsis; the full text stays in the page, in the figcaption of the
   gallery item. The text itself comes from the page: js/lightbox.js copies the
   figcaption of the gallery item, or the alt text of the thumbnail when the image
   has no caption, and shows nothing when both are missing. */
#lightbox-caption {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	margin: 0.8rem 0 0;
	text-align: center;
	color: #eaedf2;
	font-size: 1.4rem; /* the same 14 px as the counter */
}
/* The rule above sets a display value, so the hidden state needs its own rule. */
#lightbox-caption[hidden] {
	display: none;
}
/* The spinner shows up after 150 ms (see the script), so nothing flickers. */
#lightbox-spinner {
	display: none;
	position: fixed;
	left: 50%;
	top: 50%;
	width: 44px;
	height: 44px;
	margin: -22px 0 0 -22px;
	border: 3px solid #eaedf2;
	border-top-color: #1e5664;
	border-radius: 50%;
	animation: artnoir-spin 0.8s linear infinite;
}
#lightbox.is-loading #lightbox-spinner {
	display: block;
}
#lightbox.is-loading #lightbox-img {
	visibility: hidden;
}
@keyframes artnoir-spin {
	to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
	#lightbox-spinner {
		animation: none;
	}
}
/* The big buttons are made for a desk screen: on a smaller screen they would
   take too much room from the picture. */
@media only screen and (max-width: 800px) {
	#lightbox {
		gap: 0.8rem;
	}
	#lightbox-previous,
	#lightbox-next {
		font-size: 6.4rem;
	}
	#lightbox-close {
		font-size: 4.4rem;
	}
}
@media only screen and (max-width: 600px) {
	#lightbox {
		gap: 0.4rem;
		padding: 0.4rem;
	}
	#lightbox-previous,
	#lightbox-next {
		font-size: 4.8rem;
	}
	#lightbox-close {
		font-size: 3.6rem;
		top: 0.4rem;
		right: 0.6rem;
	}
	#lightbox-counter {
		font-size: 1.3rem;
		margin-bottom: 0.6rem;
	}
	#lightbox-caption {
		font-size: 1.3rem;
		margin-top: 0.6rem;
	}
}

/* oembed container */
/* http://www.wpstuffs.com/youtube-videos-responsive-wordpress/ */
.oembed-container {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 30px;
	height: 0;
	overflow: hidden;
}

.oembed-container iframe,
.oembed-container object,
.oembed-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.entry-content img,
.entry-content iframe,
.entry-content object,
.entry-content embed {
        max-width: 100%;
}

/*
Galleries
--------------

Production shows a core gallery: WP 6.1 printed the classic <dl>/<dt> markup plus
an inline "#gallery-N" style (float + width per column), WP 6.8 prints HTML5
markup (<figure>, <div class="gallery-icon">) with no inline style, and Omega
2.1.0 makes the gallery a flex row.  The class names are unchanged, so artnoir
restates the production layout here: floated items 100/N wide, 10px above and
16px below the item, image at 90 % of the column, no border (the parent already
removes the border on .entry-content .gallery a).
*/

.gallery {
	display: block;
	clear: both;
	overflow: hidden;
	/* Production shows no margin below the gallery box: core's inline
	   "#gallery-N { margin: auto }" (an id, so it won) cancelled the 20px of the
	   old rule; the last row contributes 16px through the item margin. */
	margin: 0 auto;
}

.gallery .gallery-item {
	display: block;   /* parent: display:flex, flex 1 1 ... */
	float: left;
	overflow: hidden;
	width: 100%;
	margin: 10px 0 16px;
	padding: 0;
	text-align: center;
	list-style: none;
}

/* Core marks the column count on .gallery; widths as in the old core markup. */
.gallery-columns-2 .gallery-item { width: 50%; }
.gallery-columns-3 .gallery-item { width: 33.3333%; }
.gallery-columns-4 .gallery-item { width: 25%; }
.gallery-columns-5 .gallery-item { width: 20%; }
.gallery-columns-6 .gallery-item { width: 16.6666%; }

.gallery .gallery-item .gallery-icon {
	display: block;   /* parent: display:flex */
	position: relative;
	/* Production: core's classic markup made the icon a <dt>, which took margin-top
	   10px from the parent's "dl dt" rule.  Nothing does that for today's <div>,
	   so the 10px is set here (measured: image 10px below the item box, row pitch
	   44px instead of 26px). */
	margin-top: 10px;
}

.gallery .gallery-item .gallery-icon img {
	display: inline;  /* parent: display:block; inline also gives the same line-box
	                     gap below the image as production */
	width: auto;
	max-width: 90%;
	height: auto;
	margin: 0 auto;
	padding: 0;
}

.gallery-caption {
	margin: 0 10px;   /* parent: margin 0, padding 8px 10px 0 */
	padding: 0;
}

/* Category Posts */

/* don't diplay shariff buttons */

/*
Responsive Nav
-------------- */
.home .home-posts[data-columns]::before {
	content: '2 .column';
}
.home .column {
	width: 50%;
	padding: 0 2% 0 0;
	float: left;
}

/*
Responsive Nav
-------------- */
.shariff {
	margin: 15px 0;
}
/*
Media Queries
---------------------------------------------------------------------------------------------------- */

@media only screen and (max-width: 1392px) {
	.content,
	.sidebar-primary,
	.wrap {
		width: 85%;
	}
	.content {
		width: 73%;
	}
	.archive .entry-content,
	.singular .entry-content,
	.singular .entry-wrap,
	.singular .entry-summary {
		width: 100%;
	}
	.sidebar {
		width: 25%;
	}
}
/* artnoir breaks at 1058px (the parent breaks at 1023px), so this block also
   mirrors the parent's checkbox rules for the range 1024px - 1058px. */
@media only screen and (max-width: 1058px) {

	ul.menu-primary {
		display: none;
	}

	.menu-icon {
		display: block;
	}

	.menu-toggle {
		display: block;
	}

	/* Mobile: the search field moves from the right of the menu bar into the
	   opened menu (the old #bottomsearch / #topsearch swap).  Production also
	   hides the form inside #bottomsearch with its "#bottomsearch" rule; it kept
	   a "#topsearch .search-form { margin-bottom: -80px }" from the days when the
	   field hung out of the bar - we do not copy it, because our field sits in the
	   normal flow and -80px would pull the content below the opened menu up.

	   Documented differences to production in the opened menu (accepted, Omega
	   2.1.0 mechanism per decision B - responsive-nav.js is gone):
	   - Production freezes the bar at "height: 66px" and lets the menu overlap
	     the page (its wrap is 1178px tall, .site-inner stays at y=202); the menu
	     only opens because of a ".nav-primary .wrap:hover ul.menu-primary" rule,
	     i.e. the list snaps shut as soon as the pointer leaves the bar.
	     We let the bar grow around the menu (1189px) and push the content down:
	     no overlap, no hover dependency, and it also works with the keyboard.
	   - Production hides the search form for every width <= 1058px
	     (".nav-primary .search-form { display: none }"), so mobile visitors can
	     only search in the sidebar.  We show it inside the opened menu (73px,
	     white top border); the only cost is 73px of menu height.  Search stays
	     available in the sidebar as well, exactly like production.
	   Menu item geometry itself is identical on both sites: li 417.5/208.3/
	   347.8/68.8/68.8px, a 68.8px with 16px top and bottom padding, 22px font,
	   1px border-top, 1px space between items, bar background #303030. */
	#bottomsearch,
	#bottomsearch .search-form {
		display: none;
	}
	#topsearch {
		display: block;
	}

	.content,
	.sidebar-primary,
	.wrap,
	.title-area {
		width: 100%;
	}

	.content {
		padding: 0 3%;
	}
	.title-area img {
		max-width: 400px;
	}

	.site-header,
	.site-inner {
		padding: 0;
	}

	/* The parent adds 20px side padding to every .wrap; artnoir sizes the wrap
	   with percentages instead. */
	.wrap {
		padding-left: 0;
		padding-right: 0;
	}

	.archive-description,
	.entry,
	.entry-comments,
	.entry-footer .entry-meta,
	.sidebar .widget,
	.site-header {
		padding: 0;
	}

	.site-inner {
		background: none;
	}

	.omega-nav-menu li {
		float: none;
	}

	.omega-nav-menu {
		text-align: center;
	}

	.omega-nav-menu a {
		padding: 20px 16px;
	}

	
	.sidebar-primary {
		border-top: 1px solid #F5F5F5;
		padding: 40px 3% 0 3%;
	}

	.site-footer {
		padding: 0;
	}

	.site-footer p {
		margin: 15px 0;
	}

	p.copyright,
	p.credit {
		float: none;
	}

	.nav-primary .wrap {
		padding: 0;
	}

	/* Responsive menu: Omega 2.1.0 drives it with a checkbox instead of
	   responsive-nav.js.  The bar is no longer cut off at 66px -- it keeps that
	   height while the menu is closed and simply grows around the opened menu. */
	.nav-primary {
		width: 100%;
		background: #303030;
	}

	.nav-primary .wrap {
		min-height: 66px;
	}

	ul.menu-primary {
		position: static;
		width: 100%;
	}

	/* The parent hides the list and opens it with the checkbox; artnoir keeps
	   both states. */
	#menu-toggle:checked ~ ul.menu-primary,
	ul.menu-primary:focus-within {
		display: block;
	}

	/* Vertical spacing. */
	ul.menu-primary li {
		margin-bottom: 1px;
	}

	/* All menu links full width. */
	ul.menu-primary li,
	ul.menu-primary li a {
		width: 100%;
	}

	/* Sub menus are part of the vertical list instead of a flyout. */
	ul.menu-primary li .sub-menu {
		left: auto;
		opacity: 1;
		display: block;
		position: relative;
		width: 100%;
	}

	
	ul.menu-primary a {
		padding-top: 16px;
		padding-bottom: 16px;
		/* One divider per item: the parent 1023px block adds a bottom border. */
		border-top: 1px solid #eee;
		border-bottom: none;
		font-size: 22px;
	}

	ul.menu-primary a:hover {
		background-color: #f7f7f7;
		color: #111;
	}

	ul.menu-primary ul a {
		padding-left: 25px;
	}

	
	/* The hamburger: parent markup, artnoir colours, and the geometry of the old
	   hamburger.gif - three bars 4px thick, 4px apart, 25px wide, centred in the
	   66px bar (23px from the top).  The bars are declared here in full and not
	   only coloured: the parent draws them inside its "max-width: 1023px" block,
	   so in the 1024-1058px band - where artnoir already shows the mobile menu -
	   the icon would otherwise be an empty box.
	   Colour and offset measured from production: the GIF draws the bars in
	   #eaedf2, and its 70px wide, right floated box put the right bar edge 23px
	   from the right edge of the bar (measured 327-351 at 375px, 975-999 at
	   1023px).  Production has no hover state for the icon. */
	.nav-primary label.menu-icon {
		border-bottom: 4px solid #eaedf2;
		border-top: 4px solid #eaedf2;
		height: 20px;
		opacity: 1;
		position: absolute;
		right: 23px;
		top: 23px;
		width: 25px;
		z-index: 9;
	}

	/* Middle bar of the hamburger. */
	.nav-primary .menu-icon:before {
		border-top: 4px solid #eaedf2;
		content: "";
		left: 0;
		position: absolute;
		top: 4px;
		width: 25px;
	}

	/* Visible keyboard focus on the hamburger (the checkbox itself stays hidden). */
	.nav-primary #menu-toggle:focus-visible + .menu-icon {
		outline: 2px solid #fff;
		outline-offset: 4px;
	}

	/* The parent turns the icon bars black on :focus. That fires on every click and
	   on keyboard focus, so the icon changed colour as soon as it was used.
	   Production keeps all three bars #eaedf2; the white outline above is the only
	   focus indicator there. */
	.nav-primary #menu-toggle:focus + .menu-icon {
		border-color: #eaedf2;
		opacity: 1;
	}

	
	.widget-title {
		padding: 5px 20px 5px 20px;
	}

	.title-area,
	.site-header .title-area,
	.site-header .site-title {
		margin: 0 auto;
		padding: 0;
		text-align: start; /* the parent centres the title area and the site title */
	}

	.bx-wrapper {
		padding: 3% 2% 0 0;
	}

	
	/* The search field inside the opened menu. */
	#topsearch .search-form {
		display: none;
		margin: 0;
		position: static;
		float: left;
		width: 100%;
		padding: 22px 0 14px 20px;
		border-top: 1px solid #fff;
	}

	/* Open the search field together with the menu. */
	#menu-toggle:checked ~ #topsearch .search-form,
	#topsearch .search-form:focus-within {
		display: block;
	}

	.ngg-albumtitle a {
		font-size: 14px;
	}

	.nav-footer .social-icon {
		margin: 14px 4px;
	}
}

@media only screen and (max-width: 800px) {
	.home .column {
		width: 100%;
		padding: 0;
	}
	.eo-event-venue-map,
	.eo-event-meta {
		padding: 10px 0;
		width: 100%;
	}
	.nav-footer .social,
	.nav-footer ul {
		float: right;
		width: 100%;
	}
	.nav-footer .social {
		margin: 0 10px;
	}
}


@media only screen and (max-width: 600px) {
	.nav-footer ul,
	.title-area img {
		width: 100%;
	}

	.home .entry {
		width: 100%;
		padding: 0;
	}
	.entry-footer .entry-meta a {
	    line-height: 1.8;
	}

	.entry-title {
	    font-size: 24px;
	}

	h1 {
		font-size: 24px;
	}

	h2 {
		font-size: 23px;
	}

	h3 {
		font-size: 22px;
	}
}
@media only screen and (max-width: 400px) {
	.site-title {
		font-size: 60px;
	}
	.site-title {
		background-size: 43px;
	}
	.event-buttons a button {
		width: 80%;
		margin: 10px 10%;
	}
}
