/* Events Page */
.moduleButton.eventButton { background: #B83696; }
.moduleButton.eventButton a { color: #FFF; text-decoration: none; }

#eventsListings { width: calc(100% - 20px); max-width: 1900px; margin: 20px auto; padding: 0 0 0 20px; }
#eventsHome { text-align: center; }
#eventsPage .eventCard, #eventsHome .eventCard { width: calc((100% - 80px) / 4); margin: 0 20px 20px 0; float: left; text-align: left; }
#eventsHome .eventCard { width: 100%; margin: 0; float: none; text-align: left; }

#eventsPage h2.listingsHeader, #eventsHome h2.listingsHeader { margin-top: 0; }
#eventsPage .eventImage, #eventsHome .eventImage { width: 100%; height: 250px; background-size: cover !important; position: relative; }
#eventsHome .eventImage { height: 200px; }
#eventsPage .eventImage a, #eventsHome .eventImage a { width: 100%; height: 100%; display: block; text-decoration: none; }
#eventsPage .eventHeadline, #eventsHome .eventHeadline { background: #5C636B; padding: 0; font-weight: 700; line-height: 22px; height: 70px; position: relative; border-bottom: 5px solid #B83696; }
#eventsPage .eventInfo, #eventsHome .eventInfo { position: absolute; bottom: 12px; right: 12px; width: calc(100% - 24px); }
#eventsPage .eventHeadline a, #eventsHome .eventHeadline a { text-decoration: none; color: #FFF; }
#eventsPage .eventDate, #eventsHome .eventDate { color: #FFF; }
#eventsPage .eventMore, #eventsHome .eventMore { font-size: 12px; line-height: 18px; font-weight: 400; color: #FFF; width: calc(100% - 120px); float: left; }
#eventsPage .eventLinks, #eventsHome .eventLinks { width: 120px; float: right; text-align: right; line-height: 36px; font-size: 20px; }
#eventsPage .eventLinks a i, #eventsHome .eventLinks a i { margin-left: 5px; }
#eventsPage .moreEvents, #eventsHome .moreEvents { display: none; }

#pageListings.events { width: calc(100% - 40px); padding: 0 20px; height: 300px; }

#headerListingsNav.events { background:#B83696; text-align: center; }
#headerListingsNav.events a { color: #FFF; background: none; border: 2px solid #FFF; text-transform: uppercase; margin: 10px; padding: 5px 15px; font-size: 20px; text-decoration: none; display: inline-block; transition: 1s; }

a.eventListingHeaderButton { color: #FFF; background: none; text-transform: uppercase; margin: 20px auto 0; font-weight: 700; padding: 3px 10px; background: #A80B7A; font-size: 16px; text-decoration: none; display: inline-block; }
.moreEventsButton { width: calc(100% - 20px); text-align: center; }
.moreEventsButton p { margin: 0 0 20px; font-style: italic; }
.moreEventsButton a { width: calc(100% - 30px); cursor: pointer; background: #B83696; color: #FFF; font-size: 20px; text-decoration: none; display: inline-block; padding: 15px 15px; text-transform: uppercase; font-weight: 700; }
.moreEventsButton a:hover { background: #860967 !important; transition: 1s; }
.moreEventsButton a.secondary { margin: 20px 0 0; display: inline-block; width: auto; font-size: 16px; padding: 3px 10px; }

/* Event Search */
.eventField { width: calc(100% / 3); float: left; font-size: 30px; text-align: center; }
.eventField label { font-size: 23px; }
.eventField input, .eventField select { width: calc(100% - 50px); font-size: 16px; font-family: Muli, sans-serif; padding: 7px 10px; border: 1px solid #4B4F54; }
#pageContent.eventForm h3 { margin: 0 0 21px; text-align: center; }
#pageContent.eventForm input[type="submit"] { font-family: Oswald, sans-serif; background: #B83696; color: #FFF; cursor: pointer; width: 150px; float: none; border: 0 solid #4B4F54; font-size: 24px; text-transform: uppercase; display: block; text-align: center; padding: 2px 0 5px; line-height: 30px; -webkit-appearance: none; margin: 20px auto 0; }
.eventField.fullWidth { width: 100%; text-align: center; }

/* Right Column */
#pageRight { margin-right: 20px; text-align: center; }
#pageRight h3 { margin-top: 0; }
#pageRight a.button { font-family: Oswald, sans-serif; font-size: 18px; line-height: 30px; font-weight: 300; text-transform: uppercase; border: #AAA 2px solid; display: block; padding: 2px; border-radius: 10px; color: #AAA; text-decoration: none; width: calc(100% - 8px); margin: 10px auto; text-align: center; }
#pageRight a.button:hover { background: #AAA; color: #FFF; }

@media screen and (max-width: 1380px) {
  #eventsPage .eventCard { width: calc((100% - 60px) / 3); margin: 0 20px 20px 0; float: left; }
  #eventsPage .eventImage { height: 200px; background-size: cover !important; }
}

@media screen and (max-width: 980px) {
  #eventsPage .eventCard { width: calc((100% - 40px) / 2); margin: 0 20px 20px 0; float: left; }
}

@media screen and (max-width: 800px) {
  .eventField { width: 100%; max-width: 400px; margin: 0 auto; float: none; padding: 10px 0; }
}

@media screen and (max-width: 640px) {
  #eventsPage .eventCard { width: calc(100% - 15px); margin: 0 20px 20px 0; float: left; }
	#pageListings.events { width: calc(100% - 40px); margin: 20px auto; padding: 0 20px; }
  a.eventListingHeaderButton { margin: 10px auto 0; }
  #headerListingsNav.events a { margin: 5px; }
}

.multi-select-container {
    display: inline-block;
    position: relative;
    width: calc(100% - 50px);
}

.multi-select-menu {
    position: absolute;
    left: 0;
    top: 0.8em;
    z-index: 1;
    float: left;
    min-width: 100%;
    background: #fff;
    margin: 1em 0;
    border: 1px solid #aaa;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    display: none;
}

.multi-select-menuitem {
    display: block;
    font-size: 14px !important;
    padding: 5px;
    line-height: 22px;
    text-align: left !important;
    white-space: nowrap;
    padding-left: 28px;
}

.multi-select-menuitem--titled:before {
    display: block;
    font-weight: bold;
    content: attr(data-group-title);
    margin: 0 0 0.25em -20px;
}

.multi-select-menuitem--titledsr:before {
    display: block;
    font-weight: bold;
    content: attr(data-group-title);
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.multi-select-menuitem + .multi-select-menuitem {
    padding-top: 0;
}

.multi-select-presets {
    border-bottom: 1px solid #ddd;
}

.multi-select-menuitem input {
    width: auto;
    position: absolute;
    margin-top: 0.25em;
    margin-left: -20px;
}

.multi-select-button {
    display: inline-block;
    font-size: 16px;
    padding: 7px 10px;
    width: calc(100% - 22px);
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: -0.5em;
    background: #FFF;
    border: 1px solid #4B4F54;
    cursor: default;
    line-height: normal;
}

.multi-select-button:after {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0.4em 0.4em 0 0.4em;
    border-color: #999 transparent transparent transparent;
    margin-left: 0.4em;
    vertical-align: 0.1em;
}

.multi-select-container--open .multi-select-menu {
    display: block;
}

.multi-select-container--open .multi-select-button:after {
    border-width: 0 0.4em 0.4em 0.4em;
    border-color: transparent transparent #999 transparent;
}

.multi-select-container--positioned .multi-select-menu {
    /* Avoid border/padding on menu messing with JavaScript width calculation */
    box-sizing: border-box;
}

.multi-select-container--positioned .multi-select-menu label {
    /* Allow labels to line wrap when menu is artificially narrowed */
    white-space: normal;
}
