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


/* Plugin CSS changes
    ========================================================================== */


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


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

body {
    margin: 0;
    margin-bottom: 0px !important;
}


/**
 * 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;
}


/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/

body,
button,
input,
select,
optgroup,
textarea {
    color: #000000;
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-size: 1rem;
    line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    clear: both;
}

p {
    margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
    font-style: italic;
}

blockquote {
    margin: 0 1.5em;
}

address {
    margin: 0 0 1.5em;
}

pre {
    background: #eee;
    font-family: "Courier 10 Pitch", Courier, monospace;
    font-size: 15px;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1.6em;
    max-width: 100%;
    overflow: auto;
    padding: 1.6em;
}

code,
kbd,
tt,
var {
    font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
    font-size: 15px;
    font-size: 0.9375rem;
}

abbr,
acronym {
    border-bottom: 1px dotted #666;
    cursor: help;
}

mark,
ins {
    background: #fff9c0;
    text-decoration: none;
}

big {
    font-size: 125%;
}


/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/

html {
    box-sizing: border-box;
}

*,
*:before,
*:after {
    /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
    box-sizing: inherit;
}

body {
    background: #fff;
    /* Fallback for when there is no custom background color defined. */
}

hr {
    background-color: #ccc;
    border: 0;
    height: 1px;
    margin-bottom: 1.5em;
}

ul,
ol {
    margin: 0 0 1.5em 3em;
}

ul {
    list-style: disc;
}

ol {
    list-style: decimal;
}

li>ul,
li>ol {
    margin-bottom: 0;
    margin-left: 1.5em;
}

dt {
    font-weight: bold;
}

dd {
    margin: 0 1.5em 1.5em;
}

img {
    height: auto;
    /* Make sure images are scaled correctly. */
    max-width: 100%;
    /* Adhere to container width. */
}

figure {
    margin: 1em 0;
    /* Extra wide images within figure tags don't overflow the content area. */
}

table {
    margin: 0 0 1.5em;
    width: 100%;
}


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

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    border: 1px solid;
    border-color: #ccc #ccc #bbb;
    border-radius: 3px;
    background: #f2ea79;
    color: #021373;
    font-size: 12px;
    font-size: 0.75rem;
    line-height: 1;
    padding: .6em 1em .4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
    border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
    color: #666;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
    color: #111;
}

select {
    border: 1px solid #ccc;
}

textarea {
    width: 100%;
}


/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/

a {
    color: royalblue;
}

a:visited {
    color: purple;
}

a:hover,
a:focus,
a:active {
    color: midnightblue;
}

a:focus {
    outline: thin dotted;
}

a:hover,
a:active {
    outline: 0;
}


/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/


/* Text meant only for screen readers. */

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
    /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
    /* Above WP toolbar. */
}


/* Do not show the outline on the skip link target. */

#content[tabindex="-1"]:focus {
    outline: 0;
}


/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/

.alignleft {
    display: inline;
    float: left;
    margin-right: 1.5em;
}

.alignright {
    display: inline;
    float: right;
    margin-left: 1.5em;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}


/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/

.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
    content: "";
    display: table;
    table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
    clear: both;
}


/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/

.widget {
    margin: 0 0 1.5em;
    /* Make sure select elements fit in widgets. */
}

.widget select {
    max-width: 100%;
}


/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/


/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/

.sticky {
    display: block;
}

.post,
.page {
    margin: 0 0 1.5em;
}

.updated:not(.published) {
    display: none;
}

.page-content,
.entry-content,
.entry-summary {
    margin: 1.5em 0 0;
}

.page-links {
    clear: both;
    margin: 0 0 1.5em;
}


/*--------------------------------------------------------------
## Base Layout
--------------------------------------------------------------*/


/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/

.comment-content a {
    word-wrap: break-word;
}

.bypostauthor {
    display: block;
}


/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/


/* Globally hidden elements when Infinite Scroll is supported and in use. */

.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
    /* Theme Footer (when set to scrolling) */
    display: none;
}


/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */

.infinity-end.neverending .site-footer {
    display: block;
}


/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/

.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
    border: none;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
}


/* Make sure embeds and iframes fit their containers. */

embed,
iframe,
object {
    max-width: 100%;
}


/* Make sure logo link wraps around logo image. */

img.custom-logo {
    max-width: 20vw;
}

.custom-logo-link {
    display: inline-block;
}


/* post featured image */

.post-thumbnail {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.post-thumbnail img {
    width: 100%;
}


/* TODO: should have a media query for this? */


/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/

.wp-caption {
    margin-bottom: 1.5em;
    max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption .wp-caption-text {
    margin: 0.8075em 0;
}

.wp-caption-text {
    text-align: center;
}


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

.gallery {
    margin-bottom: 1.5em;
}

.gallery-item {
    display: inline-block;
    text-align: center;
    vertical-align: top;
    width: 100%;
}

.gallery-columns-2 .gallery-item {
    max-width: 50%;
}

.gallery-columns-3 .gallery-item {
    max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
    max-width: 25%;
}

.gallery-columns-5 .gallery-item {
    max-width: 20%;
}

.gallery-columns-6 .gallery-item {
    max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
    max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
    max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
    max-width: 11.11%;
}

.gallery-caption {
    display: block;
}


/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/

.main-navigation {
    float: right;
}

.main-navigation ul {
    font-size: 1.1em;
    display: none;
    list-style: none;
    margin: 0;
    padding-left: 0;
    padding-right: 0px;
}

.main-navigation ul li {
    padding: 0px 8px 0px 8px;
    font-size: 1.02rem;
    background: #222a5b;
}

.main-navigation ul li:hover {
    font-size: 0.9rem;
}

.main-navigation ul a {
    color: #f2ea79;
}

.main-navigation ul ul {
    background: #222a5b;
    padding: 3px 4px 4px 4px;
    float: left;
    position: absolute;
    top: 100%;
    left: -999em;
    z-index: 99999;
}

.main-navigation ul ul li {
    padding-bottom: 2px;
    width: 100%;
    font-size: 0.8rem;
}

.main-navigation ul ul li:hover {
    font-size: 0.8rem;
}

.main-navigation ul ul ul {
    left: -999em;
    top: 0;
}

.main-navigation ul ul ul li {
    font-size: 0.8rem;
}

.main-navigation ul ul ul li:hover {
    font-size: 0.8rem;
}

.main-navigation ul ul li:hover>ul,
.main-navigation ul ul li.focus>ul {
    left: 100%;
}

.main-navigation ul ul a {
    /* width: 200px; */
    white-space: nowrap;
    color: #f2ea79;
}

.main-navigation ul li:hover>ul,
.main-navigation ul li.focus>ul {
    left: auto;
    font-size: 0.8rem;
}

.main-navigation li {
    float: left;
    position: relative;
}

.main-navigation a {
    display: block;
    text-decoration: none;
    color: black;
}

.main-navigation a:hover {
    font-weight: 900;
    font-size: 1.02em;
}


/* Small menu. */

.menu-toggle,
.main-navigation.toggled ul {
    display: block;
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
    margin: 0 0 1.5em;
    overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
    float: left;
    width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
    float: right;
    text-align: right;
    width: 50%;
}

#header-area {
    display: flex;
    justify-content: flex-end;
    float: right;
    padding-top: 10px;
    padding-right: 8px;
    width: 50%;
    /* margin-right: 40px; */
    max-height: 80px;
}

#header-area>section>h2 {
    display: none;
}

#header-area section,
#header-area form {
    padding-left: 15px;
}

#header-area>.widget_media_image img {
    max-height: 32px;
    width: auto;
}

#header-area .search-field {
    height: 24px;
    width: 180px;
}


/* 
.topbar-menu {
    float: right;
}

.topbar-search {
    padding-left: 12px;
    float: right;
}

#topbar ul {
    text-align: right;
    right: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

#topbar ul li {
    min-width: 10px;
    display: inline-block;
    font-size: 0.9em;
}

#topbar ul li a {
    min-width: 10px;
    color: #ffffff;
} */

footer.site-footer {
    padding-top: 40px;
    margin-bottom: 0;
    width: 100%;
    min-height: 60px;
    padding-left: 40px;
    padding-right: 40px;
}

footer ul {
    padding: 0;
    margin: 0;
    width: 33%;
    text-align: left;
    list-style-type: none;
    font-size: 0.9em;
}

footer li {
    padding-left: 5px;
    padding-right: 5px;
}

footer li a {
    color: #f2ea79;
    text-decoration: none;
    display: block;
}

footer li a:hover {
    font-weight: 900;
    color: white;
}

footer li a:visited {
    color: #bdc5f2;
}

#footer-widget-area {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

footer .footer-left {
    flex-grow: 1;
    margin-right: 100px;
}

footer .footer-center {
    flex-grow: 2;
    margin-left: auto;
    margin-right: auto;
}

footer .footer-right {
    flex-grow: 1;
}

footer .site-info {
    font-size: 0.9em;
    width: 100%;
    color: white;
}

#masthead {
    z-index: 2;
    position: fixed;
    top: 0;
    padding-top: 0px;
    width: 100%;
    min-height: 80px;
}


/* whitespace behind the masthead */

#whitespace {
    display: block;
    width: 100%;
}

#site-navigation {
    margin-top: 10px;
    /* TODO: fix this to align to bottom of parent */
    /* margin-right: 40px; */
    display: block;
}

div.site-branding {
    float: left;
}

#content {
    width: 95%;
    margin-left: auto;
    margin-right: auto;
    min-height: 70vh;
    margin-top: 30px;
}

.slideshow-container {
    /* max-width: 95vw; */
    width: 100%;
    position: static;
}

.slide {
    display: none;
    width: 100%;
}

.slide img {
    display: block;
    width: 100%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
}

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.slide-text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
}

.slide-numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active,
.dot:hover {
    background-color: #717171;
}

.fade:not(:first-child) {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}

@-webkit-keyframes fade {
    from {
        opacity: .4
    }
    to {
        opacity: 1
    }
}

@keyframes fade {
    from {
        opacity: .4
    }
    to {
        opacity: 1
    }
}

header {}

div.site-info>p {
    width: 100%;
    text-align: center;
    font-family: 'Lora', serif;
}


/* error */

.not-found {
    min-width: 80%;
    padding-left: 20%;
    padding-right: 20%;
}


/*--------------------------------------------------------------
## Page Configuration
--------------------------------------------------------------*/


/* 
to hide all page headers use: 
#main article>header {
    display: none;
}
*/


/* 
to hide only homepage headers, use: 
*/

article#post-7>header,
article#post-16>header {
    display: none;
}

article.post {
	border-bottom: solid 2px;
	margin-bottom: 10px;
}


/* #nav-main {
    display: block;
    width: 100%;
}

#nav-main ul.sf-menu {
    float: right;
}

.sf-menu {
    line-height: 1;
    margin: 0;
    padding: 0;
}

.sf-menu, .sf-menu * {
    list-style: none;
}

.sf-menu li {
    float: left;
    position: relative;
    background: 0 0;
    border-bottom: 0;
    padding: 0;
    line-height: normal;
} */


/*
    footer
        - treat all the same
        - handle menus
        - handle images?
*/


/* eventsmaker customization */

.tickets-label {
    display: none;
}

.event-location strong {
    display: none;
}

.shortcode {
    border: 1px solid gainsboro;
}


/* ugly - this should get removed at an EventMaker level, but it doesn't seem to be an option */

#events-full-calendar {
    display: none;
}


/*
    CSS for EventTile
*/

div.event_tile_wrapper {
    width: 100%;
}

div.event_tile_area {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-left: auto;
    margin-right: auto;
    padding-right: 0px;
    width: 90%;
}

div.no_events {
    width: 100%;
    text-align: center;
    font-size: 1.2em;
}


/* this is for an individual event */

div.event_tile {
    display: flex;
    flex-direction: column;
    margin: 6px 6px 6px 6px;
    height: 275px;
    width: 31%;
    background-color: white;
    overflow: hidden;
}


/* three components of an event tile */

div.event_tile_image {
    order: 1;
    width: 100%;
    height: 75%;
    padding-top: 5px;
    overflow: hidden;
}

div.event_tile_header {
    order: 2;
    font-size: 1.2em;
    font-weight: 900;
    line-height: 1.1;
    width: 100%;
    height: 15%;
    text-align: center;
}

div.event_tile_date {
    order: 3;
    font-size: 1em;
    padding-top: 5px;
    width: 100%;
    height: 10%;
    text-align: center;
}


/* this is for the main box for all tiles */

div.event_tile a {
    display: block;
    text-decoration: none;
    color: black;
}


/* this is for the newsletter signup form */

#mc-embedded-subscribe.button {
    color: #021373 !important;
    background-color: #f2ea79 !important;
}

#footer_area_2 {}

.widget-title {
    background-color: #222a5b;
	color: #f2ea79;
    font-weight: 900;
    text-align: center;
	margin: 0 0 0 0;
	padding: 5px 0px 10px 0px;
}

footer.site-footer section,
footer.site-footer section>div,
footer.site-footer section ul {
    width: 100%;
}


/* calendar */

.wpfc-calendar-wrapper form {
    float: left;
    width: 65%;
}


/* make sure the calendar goes under the masthead */

.wpfc-calendar-wrapper {
    z-index: 0;
}


/* put the weekday on the right */

.fc-list-heading-alt {
    display: none;
}


/* hide the controls above the list*/

#wpfc-calendar-list .fc-toolbar {
    display: none;
}


/* make the list fill up the size of it's container */

.fc-list-table,
.fc-view-container,
.fc-list-table>div,
.fc-list-table>div>div,
.fc-list-table>div>div>table {
    height: 100%;
}

.fc-unthemed .fc-today {
    background-color: #bdc5f2;
}


/* calendar colouring */

.fc-list-heading,
.fc-widget-header {
    color: white;
    background-color: #581973;
}


/* Selectmenu
this is perhaps the stupidest way of implementing a dropdown 
that I've ever seen
----------------------------------*/


/* stuff brought in from blacktie jquery theme */

.ui-selectmenu-menu {
    padding: 0;
    margin: 0;
    position: absolute;
    top: 0;
    left: 0;
    display: none;
}

.ui-selectmenu-menu .ui-menu {
    overflow: auto;
    /* Support: IE7 */
    overflow-x: hidden;
    padding-bottom: 1px;
}

.ui-selectmenu-menu .ui-menu .ui-selectmenu-optgroup {
    font-size: 1em;
    font-weight: bold;
    line-height: 1.5;
    padding: 2px 0.4em;
    margin: 0.5em 0 0 0;
    height: auto;
    border: 0;
}

.ui-selectmenu-open {
    display: block;
}

.ui-selectmenu-button {
    display: inline-block;
    overflow: hidden;
    position: relative;
    text-decoration: none;
    cursor: pointer;
}

.ui-selectmenu-button span.ui-icon {
    right: 0.5em;
    left: auto;
    margin-top: -8px;
    position: absolute;
    top: 50%;
}

.ui-selectmenu-button span.ui-selectmenu-text {
    text-align: left;
    padding: 0.4em 2.1em 0.4em 1em;
    display: block;
    line-height: 1.4;
    overflow: hidden;
    white-space: nowrap;
}


/* stuff brought in from main.css */

#wpfc-calendar-list {
    padding-left: 15px;
    padding-top: 78px;
    float: right;
    width: 35%;
    height: 100%;
}

.wpfc-calendar-wrapper {
    position: relative;
}

.wpfc-calendar-wrapper .fc-tbody>tr>td {
    padding: 0;
    margin: 0;
}

.wpfc-calendar-wrapper .fc table,
.wpfc-calendar-wrapper .fc-head,
.wpfc-calendar-wrapper .fc-head tr,
.wpfc-calendar-wrapper .fc-head td {
    padding: 0;
    margin: 0;
}

.wpfc-calendar-wrapper *,
.ui-selectmenu-menu {
    font-size: 12px !important;
}

.wpfc-calendar-wrapper h2 {
    font-size: 14px !important;
    margin: 0 !important;
}

.wpfc-calendar-wrapper .wpfc-calendar-search {
    margin-bottom: 10px;
}

.ui-selectmenu-menu .wpfc-cat-icon,
.ui-selectmenu-button .wpfc-cat-icon {
    width: 0.8em;
    height: 0.8em;
    margin: 0 1em 0 0;
    border: 1px solid #cdcdcd;
    display: inline-block !important;
}

.ui-selectmenu {
    margin-right: 10px;
}


/* ---------- stuff brought in from selectmenu  --------- */

.ui-selectmenu {
    display: block;
    display: inline-block;
    position: relative;
    height: 2.2em;
    vertical-align: middle;
    text-decoration: none;
    overflow: hidden;
    zoom: 1;
}

.ui-selectmenu-icon {
    position: absolute;
    right: 6px;
    margin-top: -8px;
    top: 50%;
}

.ui-selectmenu-menu {
    padding: 0;
    margin: 0;
    position: absolute;
    top: 0;
    display: none;
    z-index: 1005;
}


/* z-index: 1005 to make selectmenu work with dialog */

.ui-selectmenu-menu ul {
    padding: 0;
    margin: 0;
    list-style: none;
    position: relative;
    overflow: auto;
    overflow-y: auto;
    overflow-x: hidden;
}

.ui-selectmenu-open {
    display: block;
}

.ui-selectmenu-menu-popup {
    margin-top: -1px;
}

.ui-selectmenu-menu li {
    padding: 0;
    margin: 0;
    display: block;
    border-top: 1px dotted transparent;
    border-bottom: 1px dotted transparent;
    border-right-width: 0 !important;
    border-left-width: 0 !important;
    font-weight: normal !important;
}

.ui-selectmenu-menu li a,
.ui-selectmenu-status {
    line-height: 1.4em;
    display: block;
    padding: .405em 2.1em .405em 1em;
    outline: none;
    text-decoration: none;
}

.ui-selectmenu-menu li.ui-state-disabled a,
.ui-state-disabled {
    cursor: default;
}

.ui-selectmenu-menu li.ui-selectmenu-hasIcon a,
.ui-selectmenu-hasIcon .ui-selectmenu-status {
    padding-left: 20px;
    position: relative;
    margin-left: 5px;
}

.ui-selectmenu-menu li .ui-icon,
.ui-selectmenu-status .ui-icon {
    position: absolute;
    top: 1em;
    margin-top: -8px;
    left: 0;
}

.ui-selectmenu-status {
    line-height: 1.4em;
}

.ui-selectmenu-menu li span,
.ui-selectmenu-status span {
    display: block;
    margin-bottom: .2em;
}

.ui-selectmenu-menu li .ui-selectmenu-item-header {
    font-weight: bold;
}

.ui-selectmenu-menu li .ui-selectmenu-item-footer {
    opacity: .8;
}


/* for optgroups */

.ui-selectmenu-menu .ui-selectmenu-group {
    font-size: 1em;
}

.ui-selectmenu-menu .ui-selectmenu-group .ui-selectmenu-group-label {
    line-height: 1.4em;
    display: block;
    padding: .6em .5em 0;
    font-weight: bold;
}

.ui-selectmenu-menu .ui-selectmenu-group ul {
    margin: 0;
    padding: 0;
}


/* IE6 workaround (dotted transparent borders) */

* html .ui-selectmenu-menu li {
    border-color: pink;
    filter: chroma(color=pink);
    width: 100%;
}

* html .ui-selectmenu-menu li a {
    position: relative
}


/* IE7 workaround (opacity disabled) */

*+html .ui-state-disabled,
*+html .ui-state-disabled a {
    color: silver;
}


/* --------- back to our regular programming ----------*/

.ui-selectmenu-text {
    border: 1px solid #000;
}

#event-category-menu {
    background-color: white;
    opacity: 100%;
    border: 1px solid #000;
    padding: 1px 5px;
}

#event-category-menu li {
    background-color: white;
    opacity: 100%;
}

#event-category-menu li:hover {
    background-color: gold;
}

.ui-selectmenu-button span.ui-selectmenu-text:after {
    content: ' \f078';
    font: normal normal normal 12px/1 FontAwesome;
    right: 0px;
    position: absolute;
    pointer-events: none;
    margin-left: 15px;
    margin-right: 5px;
    margin-top: 2px;
}


/* users list */

div.users-box {
    display: grid;
    grid-gap: 1rem;
}

div.users-box.grid {
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
}

div.users-box.list {
    grid-template-columns: 100%;
}

div.users-box div.indiv-user {
    width: 100%;
    height: 100%;
}

div.users-box div.indiv-user .border {
    border: 1px solid #ddd;
    height: 100%;
    width: 100%;
    padding: 10px 10px;
    min-height: 220px;
}

div.indiv-user img {
    display: block;
    margin: 0 auto;
    border: 1px solid black;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    max-height: 200px;
    max-width: 200px;
}

.techne-member-card {
    display: flex;
    flex-wrap: wrap;
    overflow-y: hidden;
}


/* grid */

div.users-box.grid .indiv-user {
    min-height: 350px;
}

div.users-box.grid .techne-member-card .name {
    width: 100%;
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 5px;
    display: block;
}

div.users-box.grid .techne-member-card .desc {
    width: 100%;
    font-size: 0.8em;
    text-align: left;
    display: block;
}

div.users-box.grid .techne-member-card .techne-member-text {
    width: 100%;
    margin-left: 5px;
    margin-right: 5px;
    padding-left: 5px;
    padding-right: 5px;
}


/* list */

div.users-box.list .image {
    float: left;
    height: 100%;
    width: 20%;
}

div.users-box.list .techne-member-card {
    float: right;
    width: 75%;
}

div.users-box.list .techne-member-card .name {
    font-size: 1.2rem;
    text-align: center;
}

div.users-box.list .techne-member-card span.jobtitle:not(:empty):before {
    content: ", ";
}

div.users-box.list .techne-member-card span.jobtitle:not(:empty) {
    margin-left: -4px;
}

div.users-box.list .techne-member-card span.jobtitle {
    margin-bottom: 5px;
    font-size: 1.2rem;
    text-align: center;
}

div.users-box.list .techne-member-card .desc {
    font-size: 0.8em;
    text-align: left;
}

div.users-box.list .techne-member-card .techne-member-text {
    margin-top: 10px;
    margin-left: 5px;
    margin-right: 5px;
    padding-left: 5px;
    padding-right: 5px;
}


/* 
All of the media queries!  */

@media screen and (min-width: 37.5em) {
    .menu-toggle {
        display: none;
    }
    .main-navigation ul {
        display: block;
    }
}

@media screen and (max-width: 37.5em) {
    body {
        max-width: 100vw;
    }
    /* content area fix */
    #content {
        padding-left: 8px;
        padding-right: 10px;
        width: 100%;
    }
    div.entry-content {
        width: 100%;
    }
    div.event_tile_area {
        padding-top: 60px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }
    div.event_tile_wrapper {
        padding-top: 60px;
        width: 100%;
    }
    div.event_tile {
        display: flex;
        flex-direction: column;
        padding: 0px 6px 0px 6px;
        margin: 6px 0px 6px 0px;
        height: 275px;
        width: 100%;
        background-color: white;
        overflow: hidden;
        border-bottom: solid 2px;
    }
    div.event_tile_image {
        order: 1;
        width: 100%;
        height: 75%;
        padding-top: 5px;
        overflow: hidden;
    }
    div.event_tile_header {
        order: 2;
        font-size: 1em;
        font-weight: 700;
        line-height: 1.1;
        padding-bottom: 1px;
        width: 100%;
        height: 15%;
        text-align: center;
    }
    /* div.event_tile::after {
        content: " ";
        display: block;
        position: absolute;
        height: 5px;
        background: black;
        width: 40px;
        left: 100%;
        top: calc(50% - 2px);
    } */
    div.event_tile_date {
        order: 3;
        font-size: 1em;
        padding-top: 5px;
        padding-bottom: 8px;
        width: 100%;
        height: 10%;
        text-align: center;
    }
    /* header area fixes */
    #masthead {
        padding-left: 1px;
        padding-right: 1px;
    }
    #header-area {
        width: 70% !important;
    }
    #header-area section,
    #header-area form {
        padding-left: 1px !important;
    }
    /* footer area fixes */
    footer.site-footer {
        padding-left: 10px;
        padding-right: 10px;
    }
    /* fixing form bottom */
    #mc_embed_signup {
        width: 100%;
    }
    /* calendar modifications */
    .wpfc-calendar-wrapper form {
        width: 100% !important;
    }
    #wpfc-calendar-list {
        clear: both;
        float: none;
        width: 100%;
        padding-left: 0px;
        min-height: 800px;
    }
    #wpfc-calendar-list .fc-scroller {
        overflow: unset !important;
    }
    /* users list changes */
    div.users-box div.indiv-user {
        height: unset;
    }
    div.users-box.list .image {
        width: 100%;
        float: none;
        height: unset;
    }
    div.users-box.list .techne-member-card {
        width: 100%;
        float: none;
    }
    #mc_embed_signup {
        max-width: 100vw;
    }
    h2.widget-title {
        font-size: 0.9em;
    }
    #mc_embed_signup_scroll div {
        display: flex;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    div.mc-field-group {
        width: 100% !important;
        /*stupid*/
        flex-basis: 100%;
    }
    div.mc-field-group>input {
        width: 90vw;
    }
}