:root {
	--color-red: #fb4846;
	--color-blue: #2680eb;
	--color-green: #29c231;
	--color-yellow: #fcb039;
	--background-color: #fff;
	--nav-background-color: #222;
	--sticky-background: #fff;
	--font-color: #222;
	--link-color: #000;
	--alt-background: rgba(0,0,0,0.05);
	--input-background: #fff;
	--border-color: #ccc;
	--button-background: #eee;
	--alt-border-color: #333;
}
/* 
@media (prefers-color-scheme: dark) {
	:root {
		--color-green: #286d27;
		--background-color: #101010;
		--font-color: #eee;
		--link-color: #fff;
		--alt-background: #101010;
		--sticky-background: rgba(16,16,16,0.75);
		--input-background: #131313;
		--button-background: #131313;
		--border-color: #222;
		--alt-border-color: #222;
	}
}
*/



html {
	height: 100%;
}

body {
	display: flex;
	background: url('../img/bg-222.svg') repeat-y var(--background-color);
	background-size: 220px;
	color: var(--font-color);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	margin: 0;
	min-height: 100%;
}

body * {
	box-sizing: border-box;
}

img,
video,
audio {
	max-width: 100%;
}

body,
input,
textarea {
	font: 1em/1.5 "Helvetica Neue", Helvetica, Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
}

hr {
	border: 1px solid #ccc;
	border-width: 0 0 1px 0;
}

.mobile-header,
.main-nav .close {
	display: none;
}

.main-nav {
	background: var(--alt-background);
	border-right: 1px solid var(--border-color);
	color: #eee;
	overflow: hidden;
	padding-bottom: 1px;
	text-align: left;
	flex: 0 0 auto;
	width: 220px;
}

.main-nav h3 {
	color: #555;
	font-size: 1em;
	font-weight: 300;
	letter-spacing: 2px;
	margin: 0;
	padding: 0.5em 1em;
	text-transform: uppercase;
}

.main-nav h3 {
	position: relative;
}

.main-nav h3 a {
	border-radius: 50px;
	font-size: 19px;
	position: absolute;
	padding: 0 0 0 2px;
	right: 1em;
	text-align: center;
	top: 3px;
	vertical-align: middle;
	width: 33px;
	height: 33px;
}

.main-nav a {
	color: #ccc;
	display: block;
	padding: 0.5em 1em;
	text-decoration: none;
}

.main-nav a:hover,
.dashboard .main-nav .dashboard a,
.articles .main-nav .articles > a,
.media .main-nav .media a,
.events .main-nav .events a,
.venues .main-nav .venues a,
.categories .main-nav .categories a,
.tags .main-nav .tags a,
.users .main-nav .users a,
.login .main-nav .login a,
.register .main-nav .register a,
.reset .main-nav .reset a, 
.pages.current a {
	background: #333;
	color: #fff;
}

.main-nav li > a:hover {
	outline: 1px solid #666;
	outline-width: 1px 0;
}

.main-nav h3 > a:hover {
	border: 1px solid #666;
	top: 2px;
}

.main-nav .articles ul {
	display: none;
}

.categories .main-nav .articles, 
.tags .main-nav .articles {
	border-top: 1px solid #333;
	margin-top: -1px;
}

.articles .main-nav .articles ul, 
.categories .main-nav .articles ul, 
.tags .main-nav .articles ul {
	border-bottom: 1px solid #333;
	display: block;
}

.articles .main-nav .articles a, 
.categories .main-nav .articles a, 
.tags .main-nav .articles a {
	border-left: 10px solid #333;
	padding-left: 6px;
}

.articles .main-nav .articles ul a, 
.categories .main-nav .articles ul a, 
.tags .main-nav .articles ul a {
	padding-left: 20px;
}

.main-nav .logo {
	border-bottom: 1px solid var(--alt-border-color);
	padding: 10px 20px;
	text-align: center;
}

.main-nav .logo img {
	max-height: 120px;
}

.main-nav .profile {
	border: 1px solid var(--alt-border-color);
	border-width: 1px 0 0 0;
	background: var(--alt-background);
	display: flex;
	bottom: 0;
	margin-top: 0.5em;
	padding: 1.5em 1em;
	position: fixed;
	width: 219px;
}

.main-nav .profile a {
	padding: 0;
}

.main-nav .profile a:hover {
	background: inherit;
	outline: none;
}

.select-menu {
	background: var(--input-background) url('../img/select-arrows.svg') top 4px right no-repeat;
	border: 1px solid var(--border-color);
	border-radius: 3px;
	display: inline-block;
	margin: -0.5em 0 0 0.5em;
	padding: 0.5em;
	position: absolute;
	width: 10em;
}

.select-menu ul {
	display: none;
}

.select-menu li:hover ul {
	border-top: 1px solid var(--border-color);
	display: block;
	margin-top: 0.5em;
	padding-top: 0.5em;
}

.select-menu ul li + li {
	margin-top: 0.5em;
}

.avatar {
	border: 2px solid #fff;
	border-radius: 40px;
	margin-right: 1em;
	width: 50px;
}

.main {
	flex: 1 1 auto;
	padding: 0 20px;
	position: relative;
}

.main > footer {
	color: #666;
	font-size: smaller;
	padding: 20px;
	text-align: center;
}

.search {
	background: var(--alt-background);
	border-bottom: 1px solid var(--border-color);
	display: flex;
	margin: 0 -20px;
	padding: 1em;
}

.search-suggest.active {
	border: 1px solid var(--border-color);
	padding: 1em;
}

.search-suggest h4 {
	margin: 0;
} 

section > footer {
	text-align: center;
}

.pagination {
	line-height: 3em;
	text-align: center;
}

.pagination span,
.pagination a {
	padding: 0.25em;
}

.pagination .deact,
.pagination a {
	border: 1px solid var(--border-color);
	border-radius: 2px;
}

.pagination .deact {
	color: #999;
}

.pagination a {
	background: #ddd;
	border-color: #ddd;
	text-decoration: none;
}

.pagination a:hover {
	background: #fff;
}

.help {
	background: var(--color-blue);
	border: 3px double #fff;
	border-radius: 20px;
	color: #fff;
	cursor: help;
	display: inline-block;
	font-weight: bold;
	height: 1.5rem;
	line-height: calc(1rem + 3px);
	width: 1.5rem;
	text-align: center;
}

.insert-panel {
	background: var(--sticky-background);
	backdrop-filter: blur(5px);
	border: 1px solid var(--border-color);
	border-radius: 5px;
	box-shadow: 0 0 10px rgba(0,0,0,0.05);
	padding: 0;
	position: sticky;
	top: 20px;
	z-index: 100;
}

.insert-panel nav {
	box-shadow: 0 0 10px rgba(0,0,0,0.15);
	padding: 20px;
	padding-bottom: calc(20px - 0.5em);
	position: relative;
}

.insert-panel a {
	display: inline-block;
	margin-left: 0.25em;
	margin-bottom: 0.5em;
}

.content-browser {
	border: 0;
	min-height: 630px;
	width: 100%;
}

.content-select, 
.content-custom {
	background-image: none;
}

.content-select .main,
.content-custom .main {
	padding-bottom: 150px;
}

.content-select td:first-child, 
.content-custom td:first-child {
	text-align: center;
}

.content-select td input {
	transform: scale(140%);
	width: auto;
}

.content-select .main-nav,
.content-select .main > footer, 
.content-custom .main-nav, 
.content-custom .main > footer {
	display: none;
}

.content-select form > .actions, 
.content-custom form > .actions {
	position: fixed;
	bottom: -20px;
	width: 100%;
}

.content-select.ad-preview .date {
	display: none;
}

.content-select.ad-preview .excerpt {
	font-size: small;
}

.media-container {
	height: 0;
	overflow: hidden;
	padding-bottom: 50%;
	padding-top: 30px;
	position: relative;
}

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

dt {
	font-weight: bold;
}

dd {
	margin: 0;
}

dd + dt {
	margin-top: 1em;
}

dd ul {
	margin: 0;
}

nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

nav.tabs {
    border-bottom: 1px solid var(--border-color);
    padding: 0 1em;
}

nav.tabs li {
    display: inline-block;
}

nav.tabs li + li {
    margin-left: 0.25em;
}

nav.tabs a {
    background: var(--background);
    border: 1px solid var(--border-color);
    border-radius: 3px 3px 0 0;
    margin-bottom: -1px;
    display: inline-block;
    padding: 0.5em 1em;
    text-decoration: none;
}

nav.tabs + form {
    margin-top: 2em;;
}

fieldset {
	border: 0;
	padding: 0;
}

fieldset + fieldset {
	margin-top: 2em;
}

legend {
	display: block;
	font-size: 1.5em;
	overflow: visible;
	padding: 0;
	width: 100%;
}

legend + p {
	color: #999;
	margin-top: 0;
}

fieldset ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

fieldset ul + ul {
	border-top: 1px solid var(--border-color);
	margin-top: 1em;
}

fieldset .grid * {
	text-align: center;
}

fieldset li {
	margin-top: 1em;
}

fieldset .note {
	color: #bbb;
	font-size: small;
}

.note:before {
	padding-right: 0.25em;
}

span.note:before {
	content: '\2190';
}

div.note:before {
	content: '\21B3';
}

input:required:invalid + .note.required,
select:required:invalid + .note.required,
textarea:required:invalid + .note.required  {
  color: var(--color-red);
}

input:required:valid + .note.required,
select:required:valid + .note.required,
textarea:required:valid + .note.required {
  color: var(--color-green);
}

input:required:invalid,
select:required:invalid,
textarea:required:invalid {
    border-color: var(--color-red);
}

input:required:valid + .note.required:after,
select:required:valid + .note.required:after,
textarea:required:valid + .note.required:after {
  content: '\2713';
  margin-left: 0.25em;
}

label {
	display: block;
}

.inline label {
	display: inline-block;
}

.inline label + input, 
.inline label + select {
	margin-right: 1em;
}

.date-time-container {
	display: inline-block;
	margin-top: 0.25em;
}

.clear-default {
	color: var(--font-color);
	cursor: pointer;
	display: inline;
	text-decoration: underline;
}

.clear-default input {
	display: none;
}

input,
textarea,
select,
.selected_venue {
	background: var(--input-background);
	border: 1px solid var(--border-color);
	color: var(--font-color);
	padding: 0.5em;
	width: 100%;
}

input[type="checkbox"],
input[type="radio"],
input[size] {
	width: inherit;
}

input[readonly] {
	color: #ccc;
}

.select[readonly] {
	color: var(--font-color);
	font-family: monospace;
	font-size: 1.2em;
}

input:required:invalid + .note {
	color: var(--color-red);
}

input:required:valid + .note {
	color: var(--color-green);
}

.media-id,
label[for="media-id"] {
	display: none;
	width: inherit;
}

.mce-content-body {
	background-image: none;
	display: block;
	font: 1em/1.5 "Helvetica Neue";
	padding: 0 1em;
}

label input {
	max-width: inherit;
	width: inherit;
}

.require-one {
	border: 1px solid var(--color-red);
	padding: 1em;
}

.require-one .or {
	display: block;
	font-size: 1.25em;
	font-style: italic;
	text-align: center
}

.button,
input[type='submit'],
a.cancel,
a.preview,
a.delete {
	border-radius: 2px;
	display: inline-block;
	padding: 0.25em 1em;
}

.actions li {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.actions input[type="submit"] {
	background: var(--color-green);
	border: 0;
	color: #fff;
	font-size: 1.25em;
	padding: 0.35em 1em;
}

.actions input[type="submit"].delete {
	background: var(--color-red);
}

a.cancel {
	border: 1px solid transparent;
}

.button,
input[type='submit'],
a.cancel:hover,
a.cancel:focus,
a.delete:hover {
	background: var(--button-background);
	border: 1px solid var(--border-color);
	text-decoration: none;
}

a.preview:hover,
a.preview:focus {
	background: var(--color-blue);
	color: #fff;
	text-decoration: none;
}

input.delete,
a.delete:hover,
a.delete:focus	 {
	background: var(--color-red);
	border: 0;
	color: #fff;
	outline: none;
	text-decoration: none;
}

a.remove {
	background: var(--color-red);
	color: #fff;
	line-height: 2.25em;
	margin: -0.5em;
	text-decoration: none;
	text-align: center;
	width: 40px
}

.selected_venue {
    color: #777;
	display: flex;
	justify-content: space-between;
}

input[type='submit'] {
	cursor: pointer;
	min-width: inherit;
	width: auto;
}

input[type='submit'].small {
	font-size: small;
}

.button:focus,
.cancel:focus,
select:focus,
input:focus {
	border: 1px solid var(--color-blue);
	box-shadow: 0 0 5px var(--color-blue);
	outline: none;
}

a.delete:focus {
	border: 1px solid var(--color-red);
	box-shadow: 0 0 5px var(--color-red);
}

a.delete:focus {
	border-color: #fff;
}

input[type="checkbox"]:focus {
	outline: 1px solid var(--color-blue);
}

select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background: var(--input-background) url('../img/select-arrows.svg') right no-repeat;
	border-radius: 3px;
	padding-right: 1.25em;
	width: inherit;
}

.checker label.selected,
.radioer label.selected,
.radioer input[type="radio"]:checked + label {
	background: #ccc;
	border: 1px solid #3084fd;
	box-shadow: 0 0 5px #3084fd;
}

.checker label,
.radioer label {
	border: 1px solid var(--border-color);
	border-radius: 3px;
	display: inline-block;
	padding: 5px 10px 5px 2em;
	position: relative;
}

.radioer label {
	padding-left: 0.5em;
	margin: 0 1rem 1rem 0;
}

.checker input {
	left: 0.75em;
	position: absolute;
	top: 0.70em;
}

.select-boxes {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

.select-boxes > * {
	border: 1px solid var(--border-color);
	border-radius: 5px;
	width: 200px;
	overflow: hidden;
	padding: 10px;
	text-align: center;
}

.select-boxes .icon {
	float: left;
	margin-right: 10px;
	width: 40px;
}

.select-boxes .icon.selected, 
.select-boxes .selected .icon.not-selected {
	display: none;
}

.select-boxes .selected .icon.selected {
	display: inline;
}

.select-boxes h4 {
	background: var(--alt-background);
	font-weight: normal;
	margin: -10px -10px 0 -10px;
	padding: 10px;
	text-align: left;
}

.select-boxes .selected {
	border-color: var(--color-blue);
}

.select-boxes .selected h4 {
	background: #89B4E8;
	color: #fff;
}

.select-boxes .inverse {
	clear: left;
	display: flex;
	flex-direction: column;
	flex-flow: column-reverse;
}


.select-boxes input[type='radio'] {
	width: initial;
}

.select-boxes input[size] {
	width: 3.5em;
}

.search {
	margin-bottom: 1em;
}

.search div {
	display: flex;
}

.search input[type="submit"] {
	border-radius: 0 2px 2px 0;
	border-left-width: 0;
}

.button {
	display: inline-block;
	text-decoration: none;
}

.actions {
	background: var(--sticky-background);
	backdrop-filter: blur(5px);
	border-top: 1px solid var(--border-color);
	bottom: 0;
	box-shadow: 0 -5px 5px rgba(0, 0, 0, 0.05);
	display: flex;
	justify-content: space-evenly;
	list-style: none;
	margin: 20px -20px;
	padding: 1.9em 0;
	position: -webkit-sticky;
	position: sticky;
	text-align: center;
	z-index: 100;
}

nav .new {
	border: 1px solid #ccc;
	border-radius: 2px;
	color: #000;
	float: right;
	font-size: 16px;
	padding: 0 0.25em;
	text-decoration: none;
}

.waiting {
	background: var(--color-yellow);
	border-radius: 10px;
	color: #844510;
	display: inline-block;
	font-size: small;
	padding: 0 0.5em;
}

.listing,
.grid {
	list-style: none;
	margin: 0;
	padding: 0;
}

.grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	gap: 20px;
}

.grid > * {
	background: var(--background-color);
	border: 1px solid var(--border-color);
	border-radius: 5px;
	overflow: hidden;
	padding: 10px;
	position: relative;
	text-align: center;
}

.grid figcaption > * {
	margin: 0;
}

.grid img[src*='icon'],
fieldset figure img[src*='icon'] {
	display: block;
	margin: auto;
	max-width: 80px;
}

.grid figcaption {
	line-height: 2em;
	font-size: smaller;
}

.grid pre,
.grid code {
	word-wrap: break-word;
}

fieldset figure pre {
	margin-top: 0;
}

.grid .attached {
	background: var(--color-green);
	color: #fff;
	display: block;
	left: -25px;
	padding-left: 2.5em;
	position: absolute;
	text-align: left;
	transform: rotate(-25deg);
	top: 5px;
	width: 100%;
}

table {
	border-collapse: collapse;
	margin: 1em 0;
	width: 100%;
}

th,
td {
	padding: 10px;
	text-align: left;
}

tbody tr {
	border-top: 1px solid var(--alt-background);
}

tbody tr:nth-child(odd) {
	background: var(--alt-background);
}

tbody tr:last-child {
	border-bottom: 1px solid var(--alt-background);
}

tbody .narrow td:first-child {
	width: 35px;
}

tbody td:first-child img {
	vertical-align: middle;
	width: 18px;
}

.main-nav .draft, 
tbody td:first-child .draft,
tbody td:first-child .disabled,
tbody td:first-child .current {
	background: #999;
	border-radius: 2px;
	color: #fff;
	font-size: small;
	padding: 0 0.25em;
}

.main-nav .draft {
	background: #666; 
	opacity: .6;
}

.newsletters #attachments article > .link-text, 
.content-custom .link-text {
	display: flex;
	gap: 1em;
}

.newsletters #attachments .link-text input:last-child, 
.content-custom .link-text input:last-child {
	background: var(--alt-border-color);
	border-color: var(--alt-border-color);
	color: #fff;
	font-weight: bold;
	text-align: center;	
}

.newsletters #attachments .secret_specials h3,
.newsletters #attachments .secret_specials .meta {
	text-align: center;
}

.newsletters #attachments .secret_specials h3 {
	font-size: 2em;
	margin: .1em 0;
}

.newsletters #attachments .secret_specials .meta h3 {
	background: #000;
	border-radius: 3px;
	color: #fff;
	display: inline-block;
	font-size: 3em;
	line-height: 1em;
	margin: .1em;
	padding: 0.15em 0.25em;
}

.newsletters #attachments .secret_specials .meta h3 div {
	font-size: 40%;
	font-weight: normal;
	line-height: 1em;
	vertical-align: middle;
}

.newsletters #attachments .secret_specials .meta h3 small {
	font-size: 60%;
}

.newsletters #attachments .secret_specials .meta h3 .ss-perlb {
	color: #fff;
	font-size: 60%;
}

.newsletters .secret_specials .toolbar {
	filter: invert(100%);
}

.newsletters .secret_specials .toolbar a:first-child {
	filter: invert(100%);
}

.newsletters .grid.schedule {
	grid-template-columns: 1fr 1fr 1fr;
}

.newsletters .grid.schedule > li {
	background: #eee;
}

.newsletters .grid.schedule .button {
	background: var(--border-color);
}

.newsletters .timeline {
	display: flex;
	list-style: none;
	gap: 5px;
	margin: 30px 0 20px 0;
	padding: 0;
	position: relative;
}

.newsletters .flag.status {
	border-radius: 20px;
	color: #fff;
	font-size: small;
	font-weight: normal;
	padding: 0.15rem 0.5rem;
}

.newsletters .timeline .status {
	background: #fff;
	flex: 1 1 0;
	height: 10px;
	position: relative;
}

.newsletters .schedule .message {
	color: #000;
	display: block;
	text-align: center;
}

.newsletters .timeline .status:first-child {
	border-radius: 10px 0 0 10px;
}

.newsletters .timeline .status:last-child {
	border-radius: 0 10px 10px 0;
}

.newsletters .flag.status.design {
	background: #999;
}

.newsletters .timeline.draft .draft, 
.newsletters .timeline.scheduled .draft, 
.newsletters .timeline.sent .draft, 
.newsletters .flag.status.draft {
	background: var(--color-yellow);
}

.newsletters .timeline.scheduled .scheduled, 
.newsletters .timeline.sent .scheduled, 
.newsletters .flag.status.scheduled {
	background: var(--color-green);
}

.newsletters .timeline.sent .sent, 
.newsletters .flag.status.sent {
	background: var(--color-blue);
}

.newsletters .timeline .current {
	font-weight: bold;
}

.newsletters .timeline .milestone {
	color: #000;
	display: block;
	position: absolute;
	top: -30px;
	width: 100%;
}

tbody .feature-1 td {
	font-weight: bold;
}

tbody tr.current-user {
	background: var(--color-blue);
	border: 2px solid var(--color-blue);
	color: #fff;
}

tbody tr.current-user a {
	color: #fff;
}

tbody tr.current-user .current {
	background: rgba(255,255,255,0.85);
	color: var(--color-blue);
}

table .hidden-cell {
	display: none;
}

.message {
	border-radius: 2px;
	color: #fff;
	cursor: pointer;
	display: flex;
	margin: 1em 0;
	padding: 0.25em 0;
}

.message .icon,
.message .close {
	margin: -0.25em 0;
	padding: 1.25em 0.5em;
	width: 40px;
}

.message .icon {
	border-right: 1px solid rgba(255,255,255,0.25);
	margin-right: 20px;
}

.message .close {
	margin-right: 10px;
	opacity: 0.5;
	width: 30px;
}

.message .icon img,
.message .close img {
	vertical-align: middle;
}

.message .text {
	flex-grow: 1;
}

.message:hover .close {
	opacity: 1;
}

.confirm {
	background: var(--color-green);
}

.error {
	background: var(--color-red);
}

.warning {
	background: var(--color-yellow);
}
a {
    color: var(--link-color);
}

section > header {
	position: relative;
}

section > header nav {
	top: 0.5em;
	position: absolute;
	right: 0;
}

.backdrop {
	background: rgba(0,0,0,0.25);
	height: 100%;
	position: fixed;
	width: 100%;
	top: 0;
	left: 0;
	z-index: 99;
}

.media-browser {
	background: #fff;
	border: 0;
	box-shadow: 0 0 10px rgba(0,0,0,0.25);
	height: 90%;
	left: 0;
	margin: 5%;
	top: 0;
	position: fixed;
	width: 90%;
	z-index: 100;
}

.media-select {
	background-image: none;
	padding-bottom: 5em;
}

.media-select .main-nav, 
.media-select > header,
.media-select > footer  {
	display: none;
}

.media-select .actions {
	background: #fff;
	bottom: 0;
	left: 1px;
	margin: 0;
	padding: 1em;
	position: fixed;
	width: 100%;
}

.newsletters #attachments li {
	border: 0;
	margin: 0;
	padding: 10px;
	position: relative;
	z-index: 90;
}

.newsletters #attachments article {
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 15px;
	box-shadow: 0 0 10px rgba(0,0,0,0.15);
	margin: 2em auto;
	max-width: 640px;
	position: relative;
	padding: 20px;
	z-index: 90;
}

.newsletters #attachments .dragzone {
	background: #fff;
	border: 3px dashed #ccc;
	border-radius: 15px;
	height: 100%;
	opacity: 0;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 80;
}

.newsletters #attachments .over .dragzone {
	opacity: 1;
}

.newsletters #attachments .over article {
	z-index: 70;
}

.newsletters .toolbar {
	background: url('../img/grabber.png') no-repeat 0 5px;
	cursor: grab;
	padding: 0 0 20px 30px;
	position: relative;
}

.newsletters .toolbar .close {
	background: #eee;
	border-radius: 50px;
	display: inline-block;
	height: 27px;
	line-height: 25px;
	position: absolute;
	right: 0;
	text-align: center;
	text-decoration: none;
	top: 0;
	width: 27px;
	z-index: 1;
}

.newsletters #attachments article .grid {
	grid-template-columns: 1fr 1fr 1fr;
}

.gravatar img {
	border: 2px solid #fff;
	border-radius: 100px;
	box-shadow: 0 0 3px rgba(0,0,0,0.5);
	width: 50px;
	vertical-align: middle;
}

.hide {
	display: none;
}

.events.upcoming .tabs .upcoming a,
.events.past .tabs .past a {
    background: var(--border-color);
    border-bottom-color: var(--border-color);
    font-weight: bold;
}

@media only screen and (max-width: 1000px) {

	.grid {
		grid-template-columns: 1fr 1fr 1fr;
	}
}

@media only screen and (max-width: 800px) {

	.grid {
		grid-template-columns: 1fr 1fr;
	}

}

@media only screen and (max-width: 35em) {

	body {
		background-image: none;
		display: block;
	}

	.mobile-header {
		display: block;
		background: #222;
		color: #fff;
		text-align: left;
		padding: 10px 20px;
	}

	.mobile-header a {
		color: #eee;
		position: absolute;
		top: 0.5em;
		right: 1em;
	}

	.main-nav {
		background: #222;
		box-shadow: 0 0 10px rgba(0,0,0,0.5);
		left: -240px;
		position: absolute;
		top: 0;
		z-index: 100;
	}

	.main-nav .close {
		display: block;
		font-size: 2em;
		text-align: right;
	}

	.main-nav .close a {
		padding: 0.25em;
	}

	.main-nav .profile {
		position: relative;
	}

	table th + th + th,
	table td + td + td,
	.main-nav .logo {
		display: none;
	}

	tbody .hidden-cell {
		display: block;
	}

	thead .hidden-cell {
		display: inline;
	}

	.actions {
		padding: 20px;
	}

}

@media only screen and (max-width: 29em) {

	body > header li + li {
		margin: 0.25em 0 0 0;
	}

}
