/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
  border-style: none;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Misc
   ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
  display: none;
}

html {
	box-sizing: border-box;
}

*, *:before, *:after {
	box-sizing: inherit;
}

body {
	font-family: system-ui, sans-serif;
}

.wrapper {
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

img {
	max-width: 100%;
	height: auto;
}

.event-photos {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	grid-template-rows: repeat(auto-fit, 150px);
	grid-gap: 2px;
	gap: 2px;
}

.event-photo {
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	position: relative;
	background: black;
}

.event-photo img {
	display: block;
	object-fit: cover;
	width: 100%;
	max-height: 150px;
}

.event-photo .admin-delete,
.event-photo .admin-send {
	position: absolute;
	width: 24px;
	height: 24px;
	top: 6px;
	color: white;
	border: 0;
	transform: scale(.8);
	visibility: hidden;
	border-radius: 100%;
}

.event-photo .admin-delete {
	line-height: 12px;
	font-size: 12px;
	font-weight: bold;
	left: 6px;
	border-radius: 100%;
	background: red;
}

.event-photo .admin-send {
	margin: 0;
	padding: 0;
	right: 6px;
	fill: blue;
	background: white;
}

.events-table {
	list-style: none;
	margin: 1em 0 0 0;
	padding: 0;
}

.event-table-item a,
.event-table-item--header {
	display: grid;
	grid-template-columns: 12ch 1fr;
	text-decoration: none;
	color: #111;
	margin-bottom: 2px;
}

.event-table-item--admin a,
.event-table-item--admin.event-table-item--header {
	grid-template-columns: 12ch 1fr 11ch;
}

.photo-tally {
	text-align: right;
}

.event-table-item:nth-child(2n) span {
	background: #f4f4f4;
}

.event-table-item span {
	background: #ededed;
	padding: 6px;
}

.event-table-item a:hover span {
	background: #e1e1e1;
}

.event-table-item--header span {
	background: #444;
	color: #eee;
}

.event-photo:hover .admin-delete,
.event-photo:hover .admin-send {
	visibility: visible;
	cursor: pointer;
}
.direct-upload {
  display: inline-block;
  position: relative;
  padding: 2px 4px;
  margin: 0 3px 3px 0;
  border: 1px solid rgba(0, 0, 0, 0.3);
  border-radius: 3px;
  font-size: 11px;
  line-height: 13px;
}

.direct-upload--pending {
  opacity: 0.6;
}

.direct-upload__progress {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  opacity: 0.2;
  background: #0076ff;
  transition: width 120ms ease-out, opacity 60ms 60ms ease-in;
  transform: translate3d(0, 0, 0);
}

.direct-upload--complete .direct-upload__progress {
  opacity: 0.4;
}

.direct-upload--error {
  border-color: red;
}

input[type=file][data-direct-upload-url][disabled] {
  display: none;
}
label {
	display: block;
	margin-bottom: 0.2em;
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="password"],
input[type="date"],
input[type="datetime-local"],
input[type="search"],
textarea {
	display: block;
	border: 1px solid rgb(218,218,218);
	box-shadow: 0 1px 0 1px rgba(0,0,0,.04);
	border-radius: 8px;
	padding: 0.5em;
	max-width: 100%;
	margin-bottom: 1em;
}

.large-upload-field {
	display: block;
	width: 100%;
	border: 2px dashed #333;
	border-radius: 8px;
	padding: 2rem;
}

.large-upload-label {
	text-align: center;
}

input::placeholder,
textarea::placeholder { 
	color: #555;
}

input[type="submit"],
.button {
	padding: 0.8em 1em;
	font-size: 1.25em;
	border-radius: 8px;
	border: 0;
	margin: 1em 0;
	cursor: pointer;
	text-decoration: none;
	font-weight: bold;
	background: lightblue;
}

.search-form {
	display: flex;
	align-items: center;
}

input[type="search"] {
	margin-bottom: 0;
	border-radius: 8px 0 0 8px;
	padding: 8px 0.7em;
	border-right: 0;
}

input[type="submit"].search-button {
	border: 1px solid rgb(218,218,218);
	border-left: 0;
	box-shadow: 0 1px 0 1px rgba(0,0,0,.04);
	border-radius: 0 8px 8px 0;
	font-size: 1em;
	font-weight: normal;
	padding: 10px 0.7em;
	margin: 0;
}

.dialog {
	visibility: hidden;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 10;
	background: rgba(0,0,0,0.4);
}

.dialog.dialog--open {
	visibility: visible;
	z-index: 10;
}

.dialog__media {
	display: flex;
	margin: 0;
	justify-content: center;
	align-items: center;
	position: absolute;
	top: 50%;
	left: 50%;
	height: 100vh;
	max-height: 75vw;
	width: 100vw;
	max-width: 100vw;
	transform: translate(-50%, -50%);
	padding: 5rem 5.5rem 6rem;
}

.dialog__media img {
	display: block;
}

.dialog--btn {
	visibility: hidden;
	position: absolute;
	z-index: 20;
	background: rgba(0,0,0,0.4);
	border: 0;
	border-radius: 100%;
	padding: 0.35em;
	cursor: pointer;
}

.dialog--btn:hover {
	background: rgba(0,0,0,0.7);
}

.dialog--btn svg {
	display: block;
	fill: #ddd;
	transform: scale(0.75);
}

.dialog--btn:hover svg {
	fill: #eee;
}

.dialog--close {
	right: 1em;
	top: 1em;
}

.dialog--next,
.dialog--previous {
	top: 50%;
	transform: translateY(-50%);
}

.dialog--next {
	right: 1em;
}

.dialog--previous {
	left: 1em;
}

.dialog--open .dialog--btn {
	visibility: visible;
}

.dialog--open .dialog--hidden {
	visibility: hidden;
}

[data-gallery-index-value="0"] .dialog--previous,
[data-gallery-last-item-value="true"] .dialog--next {
	visibility: hidden;
}

.dialog img,
.dialog iframe {
	visibility: hidden;
}


@keyframes spinner {
  to {transform: rotate(360deg);}
}

.dialog--open .dialog__media::before {
	content: "";
  box-sizing: border-box;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  margin-left: -20px;
  border-radius: 50%;
  border-top: 4px solid var(--brand-red);
	border-right: 4px solid transparent;
  animation: spinner .6s linear infinite;
}

.dialog--open .dialog--loaded::before {
	content: none;
}

.dialog--open .dialog--loaded img {
	visibility: visible;
	width: auto;
	max-height: 100%;
	max-width: 100%;
}

.dialog--open .dialog--loaded iframe {
	visibility: visible;
	width: 100%;
	height: 100%;
	border: 0;
}

.dialog--open .dialog--loaded video {
	visibility: visible;
	max-width: 80vw;
	max-height: 80vh;
	height: auto;
	width: auto;
	border: 0;
}

.dialog__download {
	position: absolute;
	bottom: 100px;
	left: calc(50% - 7ch);
	width: 14ch;
	padding: 0.25em;
	background: blue;
	border-radius: 8px;
	text-align: center;
}

.dialog__download a {
	font-weight: bold;
	line-height: 2;
	font-size: 120%;
	color: white;
	text-decoration: none;
	display: block;
}
.navigation-wrapper {
	background: black;
	padding: 1rem;
}

.navigation-wrapper a {
	margin-right: 1em;
	color: white;
	text-decoration: none;
	font-weight: bold;
}

.navigation-wrapper a:hover {
	color: yellow;
}

.navigation-wrapper .wrapper {
	display: flex;
}

.navigation-wrapper span {
	color: lightblue;
	font-weight: bold;
	margin-left: auto;
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
