.alert_wrapper:before {
    content: '\f0f3';
    font-family: 'FontAwesome';
    font-weight: 900;
    /* text-shadow: 2px 2px 5px black; */
    color: black;
    transform: rotate(-20deg);
    display: block;
    width: 1em;
    line-height: 40px;
}

.alert_wrapper {
    display: flex;
    padding: 0.3em 1em;
    position: absolute;
    bottom: 0;
    width: 100%;
    background: var(--mr-color-yellow);
    align-items: center;
    font-family:
    'muli';
    font-size: 1rem;
    box-shadow: inset 0 -5px 20px #0000001c;
}

a.alert_item {
    color: black;
    margin-left: 0.7em;
    font-weight: 600;
    margin-top: 0.1em;
    text-decoration: none;
}
a.alert_item:hover {
    text-decoration: underline;
}
.alert_wrapper.yellow {
    background: var(--mr-color-yellow);
}

.alert_wrapper.green {
    background: var(--mr-color-green);
}

.alert_wrapper.red {
    background: var(--mr-color-red);
}
form#contactform {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    /* background: red; */
    /* padding: 1.4em 2.6em 3em; */
    position: relative;
    margin-bottom: 1vw;
    border: 0;
    outline: 0;
}

form#contactform input, form#contactform textarea, form#contactform button, form#contactform select {
    margin: 0.2em;
    background: var(--mr-color-medium);
    border: 0;
    padding: .3em;
    color: rgb(0, 0, 0);
    outline-color: var(--mr-color-accent);
    z-index: 3;
    border: 3px solid transparent;
    border-width: 3px;
    border-style: solid;
    border-color: transparent;
    flex-grow: 1;
    display: block;
    width: 100%;
    height: 44px;
    min-height: 44px;
    padding: 0 10px;
    margin: 0 0 15px;
    line-height: 22px;
    border: 1px solid #cccccc;
    outline: none;
    background: #fff;
    color: #5f6a7d;
    font: 13px HelveticaNeue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, sans-serif;
    -webkit-appearance: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

form#contactform input:hover,
form#contactform textarea:hover,
form#contactform button:hover {
    border-color: var(--mr-color-accent);
}

form#contactform button {
    text-transform: none;
    font-weight: 400;
    border: 3px solid var(--mr-color-light);
    -webkit-transition: .3s all ease;
    transition: .3s all ease;
    width: 100%;
    background: black;
    color: var(--mr-color-light);
    cursor: pointer;
    margin: 0;
    height: 78px;
    font-size: 1rem;
}

form#contactform button:hover {
    background: #292929;
    color: rgb(255 255 255);
    border: 0px solid transparent;
}

form#contactform *::-moz-placeholder {
    color: var(--mr-color-medium);
    opacity: .6;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
}

form#contactform *:-ms-input-placeholder {
    color: var(--mr-color-medium);
    opacity: .6;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
}

form#contactform *::-ms-input-placeholder {
    color: var(--mr-color-medium);
    opacity: .6;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
}

form#contactform *::-webkit-input-placeholder {
    color: var(--mr-color-medium);
    opacity: .6;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
}

form#contactform *::-moz-placeholder {
    color: var(--mr-color-light);
    opacity: .6;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
}

form#contactform *:-ms-input-placeholder {
    color: var(--mr-color-medium);
    opacity: .6;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
}

form#contactform *::placeholder {
    color: var(--mr-color-medium);
    opacity: .6;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
}

form#contactform:after {
    /* content: ''; */
    position: absolute;
    bottom: -4vw;
    left: 0;
    width: 100%;
    background: var(--mr-color-primary);
    ;
    -webkit-transform: skewY(5.5deg);
    transform: skewY(5.5deg);
    height: 8vw;
    z-index: 2;
}

.contact_header {
    margin-bottom: 1.6em;
    color: var(--mr-color-light);
    font-size: .8em;
    text-align: center;
}

.contact_col {
    display: flex;
    padding: .5em;
}

.contact_col .g-recaptcha {
    margin: auto;
}

form#contactform .contact_col button:before {
    content: '\f1d8';
    font-family: var(--mr-fontawesome);
    font-weight: 900;
    padding-right: 0.5em;
}

.contact_input_group {
    padding: 0;
    flex-wrap: wrap;
    display: flex;
    margin: 0 -.5rem;
}

.contact_input_item label {
    display: block;
    font-weight: 700;
    font-size: 13px;
    text-align: left;
    margin-bottom: 5px;
    text-transform: none;
}

.contact_input_required label::after {
    content: '*';
    margin: 0 .25rem;
    color: red;
}

.contact_input_item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    flex-grow: 1;
    padding: .5rem;
}

form#contactform textarea {
    min-height: 80px;
    padding: 15px 9px;
}

@media (max-width: 767px) {
    form#contactform .contact_col .g-recaptcha {
        margin: 1em auto;
    }

    form#contactform .contact_col {
        display: flex;
        flex-direction: column;
    }

    form#contactform .contact_col button {
        padding: 1em;
        margin-left: 0;
        margin-top: 0.8em;
    }
}

form#contactform select {
    width: 100%;
    max-width: 500px;
    -webkit-appearance: auto;
}
table.calendar td {
    max-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 14.2%;
    height: 130px;
    background: whitesmoke;
    padding: 0.2em;
    position: relative;
    vertical-align: initial;
    padding-top: 1.6rem;
}

table.calendar {
    border-collapse: separate;
    width: 100%;
    overflow: hidden;
}

a.calevent {
    display: block;
    background: var(--mr-color-primary);
    color: white;
    text-decoration: none !important;
    font-size: 0.7em;
    padding: .2em;
    border-radius: .2em;
    margin-bottom: 0.2em;
    overflow: hidden;
}

span.caleventname {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 0em;
}

span.caleventtime {
    font-size: 10px;
    line-height: 1.5;
    display: block;
}

.caldaynum {
    font-size: 0.7em;
    padding: 0.35em;
    position: absolute;
    top: 0;
    font-weight: 900;
}

td.calnodates {
    background: white !important;
}

table.calendar th {
    font-size: 0.7em;
    text-align: center;
}

.calendar-month {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: grey;
    margin-bottom: 2rem;
}

.monthdropdown_options_inner {
    display: flex;
    flex-direction: column;
    position: relative;
    text-align: center;
    background: white;
    overflow: hidden;
    border-radius: .5em;
}

.monthdropdown_options_inner a {
    padding: 0.4em 1.9em;
    font-size: 1rem;
    text-transform: uppercase;
    color: black;
    text-decoration: none !important;
    font-weight: 900;
}

.monthdropdown_options_inner a:hover {
    background: var(--mr-color-accent);
}

.monthdropdown_options:before {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 10px 10px 10px;
    border-color: transparent transparent #ffffff transparent;
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translate(-50%, 0);
}

.monthdropdown_options {
    position: absolute;
    box-shadow: 1px 1px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    border-radius: .5em;
    height: auto;
    width: auto;
    top: calc(100% + 0px);
    visibility: hidden;
    z-index: 1;
    left: 50%;
    transform: translate(-50%, 0px);
}

.monthdropdown_selection,
.calendar-pager h1 {
    font-weight: 600;
    position: relative;
    text-transform: uppercase;
    font-size: 1.5rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.monthdropdown,
.calendar-pager {
    position: relative;
    margin-bottom: 1rem;
}

.monthdropdown:hover .monthdropdown_options {
    visibility: visible;
}

.event_pager a {
    background: var(--mr-color-accent);
    text-decoration: none;
    padding: 0.2em 0.6em;
    border-radius: 5px;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    margin-bottom: 1em;
    display: inline-block;
    color: #ffffff;
}

.event_pager .back:before,
.event_pager .prev:before {
    content: '\f0a8';
    font-family: "FontAwesome";
    font-weight: 900;
    padding-right: .3em;
}

.event_pager .next:after {
    content: '\f0a9';
    font-family: "FontAwesome";
    font-weight: 900;
    padding-left: .3em;
}

.event_content {
    padding: 1em 0 2em;
}

a.prevnext {
    font-size: 1.5em;
    color: var(--mr-color-primary);
}

@media (max-width: 767px) {

    table.calendar,
    table.calendar tbody,
    table.calendar tr {
        display: block
    }

    .monthdropdown {
        font-size: 20px
    }

    table.calendar td {
        display:
            block;
        width: 100%;
        max-width: none;
        margin-bottom: .5em;
        height: auto;
        padding: 0.6em;
        padding-top: 2em;
    }

    td.calnodates {
        display: none !important;
    }

    table.calendar th {
        display: none;
    }

    .caldaynum {
        font-size: .9em;
        padding-bottom: 1em;
    }

    a.caleventwrap {
        font-size: 18px;
        line-height: 1
    }

    span.caleventname {
        font-size: 1em;
        line-height: 1.2
    }

    span.caleventtime {
        font-size: .7em;
        line-height: 1.2
    }
}


/* Widget */



.events_item {
    display: flex;
    margin-top: 0.9em;
    flex-direction: column;
    border-radius: 0;
    box-shadow: 0 5px 10px #00000024;
    color: black;
    text-decoration: none;
    position: relative;
    cursor: pointer;
    background: white;
    margin: 10px 10px;
    flex-grow: 1;
    width: 199px;
    max-width: 450px;
}

.events_description {
    flex-grow: 1;
    color: #20361e;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.events_date {
    width: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-left: 5%;
    background: var(--mr-color-secondary);
    padding: 1rem;
    color: white;
    margin-bottom: 15%;
}

.events_date_month {
    display: block;
    text-transform: none;
    line-height: 1;
    font-weight: 700;
    font-family: var(--mr-font-accent);
}

.events_date_day {
    font-size: 2em;
    line-height: 1;
    font-family: var(--mr-font-heading);
    font-weight: 900;
}

.events_details {
    display: flex;
    width: 100%;
    flex-grow: 0;
    font-size: .9em;
    flex-wrap: wrap;
}

.events_title {
    line-height: 1;
    margin-bottom: 0.6em;
    font-size: 1.5rem;
    text-decoration: underline;
    font-weight: 900;
}

.events_details_location:before,
.event_location:before {
    content: '\f3c5';
    font-family: var(--mr-fontawesome);
    font-weight: 900;
    margin-right: 0.3em;
}

.result_events_date:before,
.event_date:before {
    content: '\f073';
    font-family: var(--mr-fontawesome);
    font-weight: 900;
    margin-right: 0.3em;
}

.events_details>* {
    flex-grow: 1;
    /* width: 100%; */
    min-width: 50%;
}

.events_details_time:before,
.event_time:before {
    content: '\f017';
    font-family: var(--mr-fontawesome);
    font-weight: 900;
    margin-right: 0.3em;
}


a.events_icon::before {
    content: '\f073';
    font-family: var(--mr-fontawesome);
    font-weight: 900;
}

span.calhead_month {
    margin-right: 0.5rem;
}

.event_details {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    margin: 0 0.4rem;
}

.event_details>div {
    margin-right: 1.5rem;
}

.calendar-month .prevnext,
.calendar-pager .prevnext {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mr-color-accent);
    text-decoration: none;
}

.monthdropdown_selection i,
.calendar-pager i {
    width: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.event_date {
    background: var(--mr-color-accent);
    color: var(--mr-color-light);
    text-decoration: none;
    padding: 0.2em 0.6em;
    border-radius: 5px;
    box-shadow: 1px 1px 5px rgb(0 0 0 / 20%);
    white-space: nowrap;
    /* margin-bottom: 1em; */
    display: inline-block;
    color: #ffffff;
}


.event_date a {
    /* background: var(--mr-color-accent); */
    color: var(--mr-color-light);
    text-decoration: none;
    border-radius: 5px;
    /* box-shadow: 1px 1px 5px rgb(0 0 0 / 20%); */
    white-space: nowrap;
    /* margin-bottom: 1em; */
    display: inline-block;
    color: #ffffff;
}

.event_list .event,
.schedule_events .event {
    display: flex;
    flex-direction: row;
    text-decoration: none;
    background: #f0f0f0;
    box-shadow: 3px 3px 10px #00000029;
    padding: 0.5em;
    border: 3px solid transparent;
    position: relative;
    color: var(--mr-color-contrast);
    margin-bottom: 1rem;
}


.event_list .event:hover,
.schedule_events .event:hover {
    border: 3px solid var(--mr-color-accent);
}

.event_result_details {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.event_result_img {
    /* width: 7.4em; */
    /* height: 100%; */
    /* overflow: hidden; */
    position: relative;
    /* margin-right: 1rem; */
}

.event_result_img img {
    width: 7.4em;
    height: 4.5em;
    object-fit: cover;
    object-position: center center;
    display: block;
}

table.calendar td:hover {
    background: var(--mr-color-accent-tint);
    cursor: pointer;
}

.event_description {
    font-size: 1rem;
    margin-left: 0.4rem;
}

.events_day_timetable_hour {
    border-bottom: 1px solid #e3e3e3;
    position: relative;
    font-size: 1rem;
    height: 4rem;
    min-height: 1rem;
}

.events_day_timetable_hour .label {
    font-size: 0.9rem;
    position: absolute;
    right: calc(100% + 0.5rem);
    bottom: calc(100% - .6rem);
    color: #c7c7c7;
    white-space: nowrap;
}

.events_day_timetable {
    padding-left: 6rem;
}

.events_day_timetable_hour_inner {
    position: relative;
    height: 4rem;
    z-index: 999;
}

.day_event {
    background: var(--mr-color-accent-tint);
    display: flex;
    position: relative;
    width: calc(100% - 4px);
    border-radius: 1rem;
    overflow: hidden;
    text-decoration: none;
    color:
        var(--mr-color-contrast);
    height:
        calc(100% - 0rem);
    box-shadow: 0.3rem 0.3rem 0.6rem #0000001a;
    border: 3px solid transparent;
    cursor: pointer;
}

.events_day_timetable_hour .event_result_details {
    padding: 0rem;
    font-size: 1rem;
}

.events_day_timetable_hour .event_details {
    font-size: 0.9rem;
    line-height: 1;
}

.events_day_timetable_hour.active {
    border-bottom: 1px solid grey;
    height: 4rem;
}

.events_day_timetable_hour.active .label {
    color: #303030;
}

.day_event .event_result_img img {
    height: 100%;
}

.event_day_wrapper {
    padding: 1px 2px 4px 2px;
    position: absolute;
    width: 100%;
}

.events_day_timetable_hour.active::first-of-type {}



.fc-dayGridMonth-view .day_event:hover {
    border: 3px solid var(--mr-color-accent);
    width: fit-content;
    height: auto;
    position: absolute;
    background: var(--mr-color-accent);
    z-index: 9999999;
    top: 0;
    right: auto;
    max-width: none;
}

.day_event h3 {
    line-height: 1.3;
    margin: 0;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    /* margin-bottom: 0.3rem; */
    margin: 0 0.4rem;
}

.event_day_wrapper .event_result_details {
    height: 100%;
    /* flex-wrap: wrap; */
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    width: 100%;
    color: var(--mr-color-contrast);
}

.events_day_timetable_hour:first-of-type {
    border-top: 1px solid grey;
}

.calendar-pager {
    display: flex;
}

.calendar_viewoptions_dropdown {
    display: none;
    flex-direction: column;
    box-shadow: 0.2rem 0.2rem 0.6rem #00000054;
    border-radius: 0.5rem;
    padding: .2rem;
    position: absolute;
    z-index: 99999999;
    background: white;
    width: auto;
    min-width: 140px;
    top: calc(100% + .3rem);
}

a.calendar_viewoptions_current {
    height: 3rem;
    padding: 0 1rem;
    border: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    text-decoration: none;
    color: var(--mr-color-contrast);
    background: var(--mr-color-accent);
    cursor: pointer;
}

.calendar-pager h1 {
    flex-grow: 1;
    text-align: left;
    justify-content: flex-start;
    padding-left: 1rem;
    text-transform: none;
    margin: 0 !important;
}

a.calendar_viewoptions_current:after {
    content: '\f0d7';
    font-family: var(--mr-fontawesome);
    font-weight: 900;
    margin-left: 1rem;
}

.calendar-pager h1:after {
    display: none;
}

.calendar_viewoptions_dropdown.show {
    display: flex;
}

.calendar_viewoptions_dropdown>a {
    text-decoration: none;
    padding: 0.3rem;
    color: var(--mr-color-contrast);
}

.calendar_viewoptions_dropdown hr {
    margin: 0.3rem;
}

.calendar_viewoptions_dropdown>a:hover {
    background: var(--mr-color-accent-tint);
}

.events_day_timetable_header {
    height: 5rem;
    border-bottom: 1px solid #e3e3e3;
    padding: .5rem;
}

.events_day_timetable_hour:first-of-type {
    border-top: 1px solid #e3e3e3;
}

.events_day_timetable_labels {
    position: absolute;
}

.events_day_timetable_labels .events_day_timetable_hour,
.events_day_timetable_labels .events_day_timetable_header {
    border: none;
}

.events_week_timetable {
    display: flex;
    flex-direction: row;
    padding-left: 6rem;
}

span.events_day_timetable_header_weekday {
    text-transform: uppercase;
    display: block;
}

span.events_day_timetable_header_date {
    font-size: 2rem;
    line-height: 1;
}

.events_week_timetable .events_day_timetable {
    width: 14.285%;
    padding-left: 0;
    border-left: 1px solid #e3e3e3;
}

.events_week_timetable .event_result_img {
    display: none;
}

.events_week_timetable .event_time {
    display: none;
}

.events_week_timetable .event_description {
    display: none;
}

.events_year_timetable {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
}

.events_year_timetable .calendar,
.events_year_timetable .flex_holder {
    width: 16.6%;
    padding: 1rem;
    min-width: 254px;
}

.events_year_timetable .calendar td {
    height: 1rem;
}

.events_year_timetable .caleventwrap {
    display:
        flex;
    overflow: hidden;
    position: absolute;
    bottom: 0.15rem;
}

.events_year_timetable .calevent {
    max-width: 0.3rem;
    max-height: 0.3rem;
    min-width: 0.3rem;
    min-height: 0.3rem;
    margin: 0.03rem;
    border-radius: 50% !important;
    background: var(--mr-color-accent);
    padding: 0;
}

.events_year_timetable .calevent>* {
    display: none;
}

.events_year_timetable .flex_holder {
    padding-top: 0;
    padding-bottom: 0;
}

.events_year_timetable .caldaynum {
    width: 100%;
    text-align: center;
    left: 0;
}

.event_day_wrapper.small h3,
.event_day_wrapper.xsmall h3 {
    font-size: 1rem;
    margin: 0;
    width: auto;
    overflow: visible;
    margin-left: 1rem;
    line-height: 1.2;
}

.event_day_wrapper.small .event_result_details,
.event_day_wrapper.xsmall .event_result_details {
    padding: 0;
    align-items: center;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
}

.event_day_wrapper.small .event_description,
.event_day_wrapper.xsmall .event_description {
    display: none;
}

.event_day_wrapper:hover {
    min-height: 2rem;
}

.event_day_wrapper.xsmall a>* {
    opacity: 0;
}

.event_day_wrapper.xsmall:hover a>* {
    opacity: 1;
}

.event_day_wrapper.xsmall a:before {
    content: '...';
    opacity: 1;
    font-family: var(--mr-fontawesome);
    font-weight: 900;
    font-size: 1.5rem;
    color: black;
    line-height: 0;
    position: absolute;
    top: -5px;
    left: 0;
    height: calc(100% + 6px);
}

.event_day_wrapper.medium .event_description {
    display: none;
}

.overlap_1 {
    width: 50%;
}

.overlap_2 {
    width: 50%;
    margin-left: 50%;
}

.day_event.no_events {
    background: whitesmoke;
}

a.day_event.no_events:hover {
    border: 3px solid #dddddd;
}

.event_day_wrapper.xsmall:hover a:before {
    opacity: 0;
}

.events_week_timetable h3,
.events_week_timetable .event_details,
.events_week_timetable .event_description {
    margin-left: 0.3rem !important;
    width: calc(100% - .3rem) !important;
}

.event_day_wrapper.small .event_details,
.event_day_wrapper.xsmall .event_details {
    margin-bottom: 0;
    font-size: 0.8rem;
}


.event_list .event_result_details {
    flex-direction: column;
}

.event_list .event_details,
.event_list .event_description {
    margin-left: 0;
}

.monthdropdown {
    margin: 0;
}


/* NEW */

.fc-dayGridMonth-view .fc-day-other {
    visibility: collapse;
    /* visibility: hidden; */
    height: 0 !important;
}

.fc-dayGridMonth-view table.fc-scrollgrid {
    border: 0 !important;
}

.fc-dayGridMonth-view a.fc-col-header-cell-cushion {
    text-decoration: none;
    color: black;
}

.fc-dayGridMonth-view .fc-daygrid-day-frame.fc-scrollgrid-sync-inner {
    background: grey;
    white-space: nowrap;
    background: whitesmoke;
    padding: 0.2em;
    position: relative;
    border: 2px solid transparent;
}

.fc-dayGridMonth-view td.fc-daygrid-day.fc-day {
    /* overflow: hidden; */
    text-overflow: ellipsis;
    white-space: nowrap;
    background: white;
    padding: 0.1em;
    position: relative;
    width: 14.7%;
    height: 145px;
}

.fc-dayGridMonth-view table.fc-scrollgrid-sync-table {
    border-collapse: separate;
    /* overflow: hidden; */
}

.fc-dayGridMonth-view .fc-daygrid-day-number {
    text-decoration: none;
    color: black;
    font-weight: 900;
}

.fc-dayGridMonth-view td,
.fc-dayGridMonth-view th {
    border: 0;
}


.fc-dayGridMonth-view .fc-daygrid-day-top {
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
}

.fc-dayGridMonth-view .fc-day-other .fc-daygrid-day-frame {
    display: none;
}

h2.fc-toolbar-title {
    display: inline-block;
    padding-left: clamp(5px, 2.75vw, 1rem);
    border-bottom: none;
}

.fc-toolbar-chunk>div {
    display: flex;
    align-items: center;
}

/* scrollbar fix
.fc-scroller {
    position: relative !important;
}
 */

button.fc-button.fc-button-primary {
    /* width: 3rem; */
    min-height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mr-color-secondary-tint);
    text-decoration: none;
    border: 0;
    border-radius: 0;
    color: black;
}

.fc-toolbar-chunk button:first-of-type {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.fc-toolbar-chunk button:last-of-type {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.fc .fc-button-primary:focus,
.fc .fc-button-primary:not(:disabled).fc-button-active:focus,
.fc .fc-button-primary:not(:disabled):active:focus {
    box-shadow: inset 0 0 0.9rem rgb(5 52 100 / 50%);
}

.fc-h-event {
    border: 1px solid var(--mr-color-accent);
    border: 1pxsolidvar(--fc-event-border-color, #3788d8);
    background-color: #3788d8;
    background-color: var(--mr-color-accent);
}

.fc .fc-list-event-dot {

    border: 5px solid --mr-color-accent;
    border: calc(var(--fc-list-event-dot-width, 10px)/ 2) solid var(--mr-color-accent, #3788d8);
}

td.fc-daygrid-day.fc-day.fc-day-today>div {
    background: #91d2f03d !important;
    border: 2px solid var(--mr-color-accent);
}

.fc-h-event .fc-event-title {
    text-overflow: ellipsis;
}

.fc .fc-daygrid-day-number {
    padding: 2px;
    text-decoration: none;
}

@media (max-width: 767px) {
    .fc-header-toolbar.fc-toolbar {
        font-size: 2.75vw;
    }
}

.fc-dayGridMonth-view .event_description {
    display: none;
}

.fc-daygrid-dot-event.fc-event-mirror,
.fc-daygrid-dot-event:hover {
    background: rgba(0, 0, 0, .1);
    background: transparent;
    position: absolute;
    min-width: fit-content;
    width: calc(100% - 4px);
    /* background: whitesmoke !important; */
    background-color: var(--mr-color-secondary-tint);
    box-shadow: 2px 2px 6px #0000002b;
    padding: 2px 4px 2px 0;
}

.fc .fc-scroller-harness {
    overflow: visible;
}

.fc-dayGridMonth-view .day_event .event_details {
    display: none;
    font-size: .85rem;
}

.fc-dayGridMonth-view .day_event:hover .event_details {
    display: flex;
    margin-top: .3rem;
    margin-bottom: 0.3rem;
    color: black;
}

.fc .fc-daygrid-body-unbalanced .fc-daygrid-day-events {
    position: relative;
    min-height: 2.6em;
    margin-bottom: 0;
}

.fc .fc-daygrid-event-harness {
    height: 1.5rem;
    margin-bottom: 2px;
}

.day_event {
    max-width: 100%;
}

.fc .fc-daygrid-event {
    z-index: 999;
}

.fc .fc-daygrid-event-harness:hover {
    z-index: 9999999;
}

.fc .fc-list-event:hover td {
    background: transparent;
}

.day_event:hover {
    border-color: var(--mr-color-accent);
}

.fc-direction-ltr .fc-list-table .fc-list-event-graphic {
    /* display: none; */
}

.fc-list .event_time {
    display: none;
}

.fc-list .event_details {
    order: 3;
    font-size: .85rem;
    margin-top: 0.25rem;
}

.fc-list .day_event {
    padding: 0.4rem 0.8rem;
}

.fc-list-day-text,
.fc-list-day-side-text {
    font-family: var(--mr-font-heading);
    position: relative;
    margin-top: 0;
    font-weight: 900;
    line-height: 1.2;
    color: black !important;
    font-size: calc(1.2rem + 0.5vw);
    text-decoration: none;
}

.fc-daygrid-more-link.fc-more-link {
    margin-left: 0.5rem;
    padding-top: 0.2rem;
    display: block;
    line-height: 1;
    text-overflow: ellipsis;
    overflow: hidden;
}

.google_event {
    background-color: salmon;
    border-color: salmon;
}

.fc-daygrid-dot-event.google_event .fc-daygrid-event-dot {
    border-color: salmon;
}

.fc-daygrid-dot-event.google_event {
    background: transparent;
    color: salmon;
}

.fc-daygrid-event-dot {
    border: 4px solid var(--mr-color-accent-shade);
}

.fc-list-event.google_event,
.fc-list-event.google_event.holiday_events {
    background-color: transparent !important;
}

.fc .google_event .fc-list-event-dot {
    border-color: salmon;
}

.fc .holiday_events .fc-list-event-dot {
    border-color: #4cb577;
}

.calendar_wrapper {
    position: relative;
    min-height: 150px;
}



.fc-daygrid-event:hover {
    position: absolute;
    min-width: fit-content;
    width: calc(100% - 4px);
    box-shadow: 2px 2px 6px #0000002b;
}

.google_event.holiday_events {
    background-color: #4cb577;
    border-color: #4cb577;
}

.events_wrapper {
    display: flex;
    margin: 0 -10px;
    flex-wrap: wrap;
    justify-content: center;
}

.media {
    /* height: 6rem; */
    background-size: cover;
    background-position: center;
    background-image: url('/images/banner.jpg');
}

@media(max-width:991px) {

    .events_item {
        width: calc(50% - 20px);
        min-width: 250px;
    }
}

.events_body {
    padding: 1.2em 1em;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    color: #20361e;
}

.fc .fc-button-primary:hover,
.fc .fc-button-primary:not(:disabled).fc-button-active,
.fc .fc-button-primary:not(:disabled):active {
    background: var(--mr-color-secondary);
}

.fc-daygrid-event.mr_events:before {
    content: attr(data-time);
    position: absolute;
    top: 100%;
    border-radius: 5px;
    margin-top: 0.5rem;
    background: #01977c;
    transform: translateY(-1rem);
    color: #eeeeee;
    padding: 0.3rem .5rem 0.1rem;
    opacity: 0;
    visibility: hidden;
    transition: none;
    visibility: hidden;
    min-width: 3rem;
    min-height: 1rem;
    pointer-events: none;
}

.fc-daygrid-event.mr_events:after {
    content: "";
    position: absolute;

    /* position tooltip correctly */
    top: calc(100% + 2px);
    margin-left: 1rem;

    /* vertically center */
    transform: translateY(-1rem);
    opacity: 0;
    /* the arrow */
    z-index: 9;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0.4rem 0.4rem 0.4rem;
    border-color: transparent transparent #01977c transparent;
    transition: none;
    pointer-events: none;
}

.fc-daygrid-event.mr_events:hover:before,
.mr_events:hover:after {
    visibility: visible;
    opacity: 1;
    transform: translateY(0%);
    transition: .2s all .2s ease-in;
}    .fc .fc-daygrid-more-link:hover {
        background-color: transparent;
        font-weight: 900;
    }
    a.fc-col-header-cell-cushion {
        text-decoration: none;
    }.single_event_details .events_photo {
        margin-bottom: 1rem;
        display: block;
    }
@media (max-width: 576px) {
    .fc-dayGridMonth-view td.fc-daygrid-day.fc-day {
        height: 20px;
    }

    .fc .fc-daygrid-day-frame {
        min-height: 0;
    }

    .fc-direction-ltr .fc-daygrid-event .fc-event-time {
        display: none;
    }

    .fc-daygrid-dot-event .fc-event-title {
        display: none;
    }

    .fc .fc-daygrid-event-harness {
        height: 14px;
        width: 10px;
    }

    .fc .fc-daygrid-body-unbalanced .fc-daygrid-day-events {
        display: flex;
        /* flex-wrap: wrap; */
        min-height: 20px;
        justify-content: space-evenly;
    }

    .fc .fc-toolbar {
        flex-direction: column;
    }

    .fc .fc-toolbar .fc-toolbar-chunk {
        flex-grow: 1;
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .fc .fc-button-group {
        width: 100%
    }

    .fc-button-group button.fc-button.fc-button-primary {
        min-height: 0;
        padding-top: 0.6rem;
    }

    .fc-prev-button,
    .fc-next-button {
        width: 3rem;
    }

    .fc .fc-daygrid-body-unbalanced .fc-daygrid-day-events {
        pointer-events: none
    }

    .single_event_details .event_details {
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        border-bottom: 3px solid black;
    }

    .event_details>div {
        margin-bottom: 0.75rem;
    }

    .fc .fc-daygrid-day-bottom {
        height: 14px;
        width: 10px;
        position: relative;
        margin: 0 !important;
    }

    .fc-daygrid-more-link.fc-more-link::before {}

    a.fc-daygrid-more-link.fc-more-link {
        width: 22px;
        text-decoration: none;
        font-weight: bold;
        /* height: 1.2rem; */
        /* height: 14px; */
        /* width: 13px; */
        margin: 0 !important;
        overflow: hidden;
        position: absolute;
        left: -1px;
        top: 0;
        font-size: 0.8rem;
        line-height: 0.8;
    }

    .fc .fc-daygrid-event {
        margin: 0 !important;
    }

    .fc-daygrid-event-dot {
        margin: 0;
    }


}

form#firepermitform {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    /* background: red; */
    /* padding: 1.4em 2.6em 3em; */
    position: relative;
    margin-bottom: 1vw;
    border: 0;
    outline: 0;
}

form#firepermitform input, form#firepermitform textarea, form#firepermitform button, form#firepermitform select {
    margin: 0.2em;
    background: var(--mr-color-medium);
    border: 0;
    padding: .3em;
    color: rgb(0, 0, 0);
    outline-color: var(--mr-color-accent);
    z-index: 3;
    border: 3px solid transparent;
    border-width: 3px;
    border-style: solid;
    border-color: transparent;
    flex-grow: 1;
    display: block;
    width: 100%;
    height: 44px;
    min-height: 44px;
    padding: 0 10px;
    margin: 0 0 15px;
    line-height: 22px;
    border: 1px solid #cccccc;
    outline: none;
    background: #fff;
    color: #5f6a7d;
    font: 13px HelveticaNeue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, sans-serif;
    -webkit-appearance: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

form#firepermitform input:hover,
form#firepermitform textarea:hover,
form#firepermitform button:hover {
    border-color: var(--mr-color-accent);
}

form#firepermitform button {
    text-transform: none;
    font-weight: 400;
    border: 3px solid var(--mr-color-light);
    -webkit-transition: .3s all ease;
    transition: .3s all ease;
    width: 100%;
    background: black;
    color: var(--mr-color-light);
    cursor: pointer;
    margin: 0;
    /*height: 78px;*/
    font-size: 1rem;
}

form#firepermitform button:hover {
    background: #292929;
    color: rgb(255 255 255);
    border: 0px solid transparent;
}

form#firepermitform *::-moz-placeholder {
    color: var(--mr-color-medium);
    opacity: .6;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
}

form#firepermitform *:-ms-input-placeholder {
    color: var(--mr-color-medium);
    opacity: .6;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
}

form#firepermitform *::-ms-input-placeholder {
    color: var(--mr-color-medium);
    opacity: .6;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
}

form#firepermitform *::-webkit-input-placeholder {
    color: var(--mr-color-medium);
    opacity: .6;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
}

form#firepermitform *::-moz-placeholder {
    color: var(--mr-color-light);
    opacity: .6;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
}

form#firepermitform *:-ms-input-placeholder {
    color: var(--mr-color-medium);
    opacity: .6;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
}

form#firepermitform *::placeholder {
    color: var(--mr-color-medium);
    opacity: .6;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
}

form#firepermitform:after {
    /* content: ''; */
    position: absolute;
    bottom: -4vw;
    left: 0;
    width: 100%;
    background: var(--mr-color-primary);
    ;
    -webkit-transform: skewY(5.5deg);
    transform: skewY(5.5deg);
    height: 8vw;
    z-index: 2;
}

.firepermit_header {
    margin-bottom: 1.6em;
    color: var(--mr-color-light);
    font-size: .8em;
    text-align: center;
}

.firepermit_col {
    display: flex;
    padding: .5em;
}

.firepermit_col .g-recaptcha {
    margin: auto;
}

form#firepermitform .firepermit_col button:before {
    content: '\f1d8';
    font-family: var(--mr-fontawesome);
    font-weight: 900;
    padding-right: 0.5em;
}

.firepermit_input_group {
    padding: 0;
    flex-wrap: wrap;
    display: flex;
    margin: 0 -.5rem;
}

.firepermit_input_item label {
    display: block;
    font-weight: 700;
    font-size: 13px;
    text-align: left;
    margin-bottom: 5px;
    text-transform: none;
}

.firepermit_input_required label::after {
    content: '*';
    margin: 0 .25rem;
    color: red;
}

.firepermit_input_item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    flex-grow: 1;
    padding: .5rem;
}

.firepermit_input_item.firepermit_input_inline {
    flex-grow: unset;
}

form#firepermitform textarea {
    padding: 12px 9px;
}

#origLocation {
    padding: .5em;
}

@media (max-width: 767px) {
    form#firepermitform .firepermit_col .g-recaptcha {
        margin: 1em auto;
    }

    form#firepermitform .firepermit_col {
        display: flex;
        flex-direction: column;
    }

    form#firepermitform .firepermit_col button {
        padding: 1em;
        margin-left: 0;
        margin-top: 0.8em;
    }
}

form#firepermitform select {
    width: 100%;
    max-width: 500px;
    -webkit-appearance: auto;
}
.photogallery_widget {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 0 -15px;
    align-items: stretch;
    justify-content: center;
    padding: 0.5em 0;
    flex-basis: fit-content;


}

.photogallery_widget_item_photo:hover {
    transform: scale(1) !important;
}

.photogallery_widget_item {
    width: calc(33.3% - 30px);
    border: 1px solid #54534a;
    padding: .3em;
    margin: 0 15px 15px;
    flex-grow: 1;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    height: 360px;
}

.photogallery_widget_item_photo {
    flex-grow: 1;
    display: block;
    margin-bottom: 0 !important;
    overflow: hidden;
}

.photogallery_widget_item_description {
    font-size: 16px;
    margin-top: 0.6em;
    flex-grow: 1;
}

.gallery_home.photogallery_widget .photogallery_widget_item_description {
    margin-top: 0.4em;
}

.photogallery_widget_item_category {
    font-size: 16px;
    display: flex;
    align-items: center;
    padding: 0.6em 0 0.3em;
}

.gallery_home.photogallery_widget .photogallery_widget_item {
    width: calc(33.33% - 30px);
    background: #e5e3db;
    text-decoration: none;
}

.gallery_home.photogallery_widget .photogallery_widget_item h3 {
    font-size: 2em !important;
    color: #54534a;
    text-align: center;
}

.gallery_home.photogallery_widget .photogallery_widget_item h3 i {
    font-size: .9em;
    color: #54534a;
    text-align: center;
    margin-right: 0.2em;
}

main a {
    text-decoration: underline;
}

.photogallery_widget_item_category .label {
    margin-right: 0.3em;
}

ul.media {
    max-height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    width: 100%;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-transition: 1s all ease;
    transition: 1s all ease;
    background: grey;
    padding: 0;
    margin: 0;
}

span.media_overlay {}

span.media_overlay {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    -webkit-transition: 0.3s all ease;
    transition: 0.3s all ease;
    color: #ffffff;
    background: transparent;
}

.media li {
    display: inline-block;
    position: relative;
    overflow: hidden;
    width: 33.3%;
    max-height: 20em;
    background-size: cover;
    background-position: 50% 50%;
}

.media li .thumb {
    display: block;
    position: relative;
    overflow: hidden;
    width: 100%;
    /* padding-bottom: 100%; */
    -webkit-transition: .5s all ease;
    transition: .5s all ease;
    height: 100%;
    margin: 0;
    padding: 0;
}

.media li:hover .media_overlay {
    opacity: 1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    background: rgba(0, 114, 188, 0.46);
}

.thumb:hover {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
    cursor: pointer;
}

.grid .thumb:hover {
    -webkit-transform: scale(1.04);
    transform: scale(1.04);
    cursor: pointer;
    text-decoration: none;
    border: 3px solid var(--mr-color-accent);
    box-shadow: 0px 1rem 2rem #0000003d;
}

.gallery_link {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    height: 100%;
    background: var(--mr-color-primary);
}

.media-wrapper {
    -ms-flex-item-align: end;
    align-self: flex-end;
    -webkit-box-flex: 2;
    -ms-flex-positive: 2;
    flex-grow: 2;
    width: 100%;
}

.main-about {
    -webkit-box-flex: 0;
    -ms-flex-positive: 0;
    flex-grow: 0;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -ms-grid-row-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding-bottom: 50px;
}

.main-left {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.btn {
    margin-bottom: 50px;
}

.media .btn {
    margin: 0;
    background: transparent;
}

@media (max-width: 991px) {
    .headline {
        font-size: 20px;
        line-height: 22px;
    }
}

@media (max-width: 380px) {
    .media li {
        width: 50%;
    }

    .media li:last-of-type {
        width: 100%;
    }

    .media li:last-of-type .btn {
        width: 100%;
    }
}

/*==================   Thumbnail    ======================*/
.thumb-wrap {
    display: block;
    position: relative;
    border-radius: 50%;
}

.thumb-wrap img {
    width: 100%;
    height: auto;
    -webkit-transition: 0.5s all ease;
    transition: 0.5s all ease;
}

.thumb-wrap .thumb_overlay {
    position: absolute;
    left: 0;
    top: 50%;
    right: 0;
    bottom: 0;
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    -webkit-transition: 0.3s all ease;
    transition: 0.3s all ease;
    color: #fff;
    background: #02c6bc;
    text-align: center;
    height: 74px;
    margin-top: -37px;
    display: block;
    background: #02c6bc;
    padding: 10px 5px;
}

.lt-ie9 .thumb-wrap .thumb_overlay {
    background: none;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#FF02C6BC', endColorstr='#FF02C6BC')";
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FF02C6BC', endColorstr='#FF02C6BC');
    zoom: 1;
}

.lt-ie9 .thumb-wrap .thumb_overlay {
    background: none;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#FF02C6BC', endColorstr='#FF02C6BC')";
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FF02C6BC', endColorstr='#FF02C6BC');
    zoom: 1;
}

@media (max-width: 1499px) {
    .thumb-wrap .thumb_overlay h4 {
        font-size: 20px;
        line-height: 24px;
    }

    .thumb-wrap .thumb_overlay h4+* {
        margin-top: 0;
    }
}

@media (min-width: 1499px) {
    .thumb-wrap .thumb_overlay {
        height: 140px;
        margin-top: -70px;
        padding: 40px 10px;
    }
}

.thumb-wrap .thumb_overlay h2,
.thumb-wrap .thumb_overlay h3,
.thumb-wrap .thumb_overlay h4,
.thumb-wrap .thumb_overlay h5,
.thumb-wrap .thumb_overlay h6,
.thumb-wrap .thumb_overlay .link {
    color: #fff;
}

.thumb-wrap .thumb_overlay h2 a:hover,
.thumb-wrap .thumb_overlay h3 a:hover,
.thumb-wrap .thumb_overlay h4 a:hover,
.thumb-wrap .thumb_overlay h5 a:hover,
.thumb-wrap .thumb_overlay h6 a:hover,
.thumb-wrap .thumb_overlay .link a:hover {
    color: #191c1c;
}

.thumb-wrap:hover .thumb_overlay {
    opacity: 1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}

.lt-ie9 .thumb-wrap:hover .thumb_overlay:before {
    display: block;
}

.thumb {
    display: block;
    position: relative;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    /* box-shadow: 0 10px 10px #00000021; */
    margin-bottom: 0;
    text-decoration: none;
    border: 3px solid transparent;
    padding: 0.3em;
    background: #f3f3f2;
}

.thumb.video .thumb_overlay {
    display: none;
}

.filter-button-group {
    /* padding: 2vw 0; */
    margin-bottom: 30px;
    /*    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
     white-space:nowrap; 
    -webkit-box-pack:  center;
        -ms-flex-pack:  center;
            justify-content:  center;*/
    flex-wrap: wrap;
}

.filter-button-group button.btn {
    padding: 0.8rem 1.2rem;
    /* background: transparent; */
    outline: 0;
    /* max-width: 100px; */
    width: 100%;
    /* height: 60px; */
    margin-bottom: 0;
    white-space: nowrap;
    color: rgb(84 83 74);
    border: 1px solid transparent;
    border-radius: 0;
    font-family: var(--mr-font-heading);
    font-size: 1.3rem;
}

.filter-button-group button.btn:hover {
    cursor: pointer;
    border-bottom: 1px solid rgb(84 83 74);
    color: rgb(84 83 74);
}

.filter-button-group .btn.is-checked {
    background-color: rgb(84 83 74);
    /* font-weight: bold; */
    color: rgb(229 227 219) !important;
    border-bottom: 1px solid rgb(84 83 74) !important;
}

.filter-btn {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    margin: 0px 0.3rem;
    display: inline-block;
}

.thumbnail {
    display: block;
    /* padding: 4px; */
    /* margin-bottom: 25px; */
    line-height: 1.42857143;
    /* background-color: #fff; */
    /* border: 1px solid #ddd; */
    /* border-radius: 4px; */
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    max-width: 100%;
    margin: auto;
}

.grid-item {
    margin-top: 0 !important;
    margin-bottom: 0;
    padding: .75rem;
}

.video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    margin: 4px;
    margin-bottom: 29px;
}

.video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* The gallery overlay */
#galleryOverlay {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: 100000;
    background-color: #222;
    background-color: rgba(0, 0, 0, 0.8);
    overflow: hidden;
    display: none;
    -moz-transition: opacity 1s ease;
    -webkit-transition: opacity 1s ease;
    transition: opacity 1s ease;
}

/* This class will trigger the animation */
#galleryOverlay.visible {
    opacity: 1;
}

#gallerySlider {
    height: 100%;
    left: 0;
    top: 0;
    width: 100%;
    white-space: nowrap;
    position: absolute;
    -moz-transition: left 0.4s ease;
    -webkit-transition: left 0.4s ease;
    transition: left 0.4s ease;
}

#gallerySlider .placeholder {
    background: url("../images/preloader.gif") no-repeat center center;
    height: 100%;
    line-height: 1px;
    text-align: center;
    width: 100%;
    display: inline-block;
    position: relative;
}

/* The before element moves the
 * image halfway from the top */
#gallerySlider .placeholder:before {
    content: "";
    display: inline-block;
    height: 50%;
    width: 1px;
    margin-right: -1px;
}

#gallerySlider .placeholder .iframe-wrap,
#gallerySlider .placeholder .img_caption {
    display: inline-block;
    /* max-height: 100%; */
    /* max-width: 100%; */
    vertical-align: middle;
    text-align: center;
}

#gallerySlider .placeholder .iframe-wrap {
    width: 1280px;
}

#gallerySlider .placeholder .iframe-wrap .iframe {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
}

#gallerySlider .placeholder .iframe-wrap .iframe iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#gallerySlider.rightSpring {
    -moz-animation: rightSpring 0.3s;
    -webkit-animation: rightSpring 0.3s;
}

#gallerySlider.leftSpring {
    -moz-animation: leftSpring 0.3s;
    -webkit-animation: leftSpring 0.3s;
}

/* Firefox Keyframe Animations */
@-moz-keyframes rightSpring {
    0% {
        margin-left: 0px;
    }

    50% {
        margin-left: -30px;
    }

    100% {
        margin-left: 0px;
    }
}

@-moz-keyframes leftSpring {
    0% {
        margin-left: 0px;
    }

    50% {
        margin-left: 30px;
    }

    100% {
        margin-left: 0px;
    }
}

/* Safari and Chrome Keyframe Animations */
@-webkit-keyframes rightSpring {
    0% {
        margin-left: 0px;
    }

    50% {
        margin-left: -30px;
    }

    100% {
        margin-left: 0px;
    }
}

@-webkit-keyframes leftSpring {
    0% {
        margin-left: 0px;
    }

    50% {
        margin-left: 30px;
    }

    100% {
        margin-left: 0px;
    }
}

/* Arrows */
#prevArrow,
#nextArrow {
    border: none;
    text-decoration: none;
    background: url("../images/arrows.png") no-repeat;
    opacity: 0.5;
    cursor: pointer;
    position: absolute;
    width: 43px;
    height: 58px;
    top: 50%;
    margin-top: -29px;
    -moz-transition: opacity 0.2s ease;
    -webkit-transition: opacity 0.2s ease;
    transition: opacity 0.2s ease;
}

#prevArrow:hover,
#nextArrow:hover {
    opacity: 1;
}

#prevArrow {
    background-position: left top;
    left: 40px;
}

#nextArrow {
    background-position: right top;
    right: 40px;
}

#nextArrow:before {
    content: '\f054';
    font-family: "FontAwesome";
    font-weight: 900;
    color: white;
}

#prevArrow:before {
    content: '\f053';
    font-family: "FontAwesome";
    font-weight: 900;
    color: white;
}

.gallery_caption {
    background: transparent;
    font-size: 16px;
    padding: 12px 9px 0.5rem;
    color: black;
}

.filter-button-group button.btn:focus {
    box-shadow: 0 10px 10px #00000026;
}

#gallerySlider .placeholder .img_caption img {
    max-height: calc(100vh - 3em);
    /* height: 90%; */
    max-width: 100vw;
    display: flex;
    margin: auto;
}

.slideshow_caption span {
    display: inline-block;
    position: relative;
    min-height: 2em;
    line-height: 2em;
    font-size: 0.9em;
    width: -webkit-fill-available;
    white-space: normal;
}

#gallerySlider .placeholder .img_caption img {
    max-height: calc(100vh - 3em);
    /* height: 90%; */
    max-width: 100vw;
    display: flex;
    margin: auto;
}

.photogallery_widget_item_photo img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.gallery_caption p:last-of-type {
    margin: 0;
}
.media li .thumb img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.images_icon::before {
    content: '\f03e';
    font-family: var(--mr-fontawesome);
    font-weight: 900;
}
/* ------------- 
 Section: News 
------------- */

section#news {
    background: rgb(71, 167, 183);
    background: linear-gradient(318deg, rgba(71, 167, 183, 1) 0%, rgba(55, 156, 214, 1) 100%);
    padding: 4vw;
}

.news_widget {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    color: var(--mr-color-light);
}

.news_widget .news_item {
    width: 100%;
}

.news_more {
    width: calc(40% - 2em);
    min-width: 234px;
    flex-grow: 1;
    margin: 0 1em;
}

.news_widget .news_item {
    display: flex;
    min-width: 280px;
    flex-grow: 1;
    flex-wrap: wrap;
    background: #eeeded;
    margin-bottom: .5rem;
    color: black;
}

.news_widget .news_item .news_img {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    /* margin: 0 1em 1em; */
    width: 200px;
    min-width: 30px;
    flex-grow: 1;
    min-height: 140px;
    max-height: 20vw;
}

.news_listings .news_item {
    position: relative;
    background: rgb(237 237 237);
    padding: 1em;
    margin-bottom: 1em;
}

.news_item h2 {
    margin-top: 0;
}

.news_details {
    width: calc(100% - 280px);
    padding: 0 1em;
    flex-grow: 1;
    min-width: 65%;
    margin-top: 1em;
}

.news_title {
    color: black;
    text-decoration: none;
    font-weight: 600;
    font-size: clamp(22px, 2vw, 1.8rem);
    line-height: 1.1;
    margin-bottom: 0.5em;
    display: block;
    text-decoration: underline;
}

.news_more .news_item .news_img,
.news_more .news_item .news_description {
    display: none;
}

.news_more .news_details {
    width: 100%;
    margin: 0;
}

.news_more .news_item {
    border-bottom: 3px solid white;
    margin-bottom: 1em;
}

.news_more .news_title {
    font-size: 1.4em;
}

.news_title:hover {
    color: black;
    text-decoration: underline;
}

.news_story {
    /* flex-direction: column; */
    background: #fff;
    display: flex;
    width: calc(100% - 14em);
    margin: auto;
    position: relative;
    padding: 0;
    text-align: left;
    color: #000000;
    box-shadow: 1px 1px 20px #00000085;
    width: calc(100% - 14em);
    height: 100%;
    border-radius: 1.6em;
    overflow: hidden;
    text-decoration: none;
}

.news_date {
    color: #8b8b8b;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: var(--mr-color-contrast);
    width: 100%;
    font-weight: 700;
    margin-bottom: 0;
}

.news_content {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 2em;
    justify-content: center;
    width: 74%;
    position: relative;
    letter-spacing: .06em;
}

.news_photo {
    width: 26%;
    /* padding-bottom: 13%; */
    /* padding-bottom: 27%; */
    display: block;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-color: grey;
}

.news_summary {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    font-size: 1.2em;
}

.news_readmore {
    justify-self: self-end;
    align-self: flex-end;
    /* background: black; */
    color: white;
    font-weight: 900;
    padding: .25em 2em;
    border-top-left-radius: 2em;
    position: absolute;
    bottom: 0;
    right: 0;
    text-transform: uppercase;
    margin-bottom: 0;
}

.news_headline {
    font-size: 2em;
    font-weight: 900;
    text-decoration: none;
    margin-bottom: .25em;
}

.news_story:hover {
    color: black;
}

.news_readmore:after {
    content: '\f054';
    font-family: "FontAwesome";
    font-weight: 900;
    margin-left: .5em;
    font-size: .9em;
    color: black;
}

.single_news .news_date,
.news_item .news_date {
    border-bottom: none;
    margin-bottom: .25rem;
    display: block;
}

.news_icon::before {
    content: '\f1ea';
    font-family: var(--mr-fontawesome);
    font-weight: 900;
}

.search_results_section.showall a:nth-of-type(n + 4) {
    display: flex;
}.news_widget h2 {
    width: 100%;
    border-bottom-color: var(--mr-color-primary);
    border-bottom-width: 5px;
}
.poll_widget h2 {
    width: 100%;
    border-bottom-color: var(--mr-color-secondary);
    border-bottom-width: 5px;
}

div#poll h3 {
    font-family: var(--mr-font-main);
    margin: 1rem 0;
}

div#poll form label {
    display: block;
    margin-bottom: .5rem;
    position: relative;
}

div#poll form label input {
    opacity: 0;
    position: absolute;
    inset: 0;
    z-index: 999;
}

div#poll form label span,
div#poll #poll-results li {
    padding: 0.8rem 1.1rem;
    display: block;
    background: #eeeded;
    font-weight: 700;
    border: 3px solid transparent;
}


div#poll form label input:checked+span, div#poll form label.active input+span {
    border: 3px solid var(--mr-color-secondary);
}
div#poll form label.active >span::before {
    content: '\f058';
    font-family: "FontAwesome";
    font-weight: 900;
    position: relative;
    z-index: 9999999;
    color:var(--mr-color-accent);
    background-color: white;
    border-radius: 50%;
    margin-right: .75rem;
}
div#poll button {
    background: var(--mr-color-secondary);
    width: 100%;
    padding: 1rem;
    color: white;
    font-family: var(--mr-font-heading);
    font-weight: 900;
    border: 0;
    margin-top: 1rem;
}

div#poll-results ul {
    list-style: none;
    padding: 0;
}

div#poll-results ul li {
    display: block;
    margin-bottom: 0.5rem;
    position: relative;
}


#poll-results {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    z-index: 999999999;
    width: 100%;
    height: 100%;
}

.bar-container {
    height: 20px;
    background-color: #ddd;
    position: relative;
}

.bar {
    height: 100%;
    background-color: var(--mr-color-secondary);
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    z-index: 1;
    transition: width 0.5s ease-in-out;
    opacity: 0.3;
}

.percentage {
    position: absolute;
    inset: 0;
    display: flex;
    line-height: 20px;
    align-items: center;
    justify-content: flex-end;
    padding-right: 1rem;
    z-index: 99999;
}

.result-item {
    position: relative;
}

div#poll {
    position: relative;
}


#vote-button {
    margin-top: 20px;
    padding: 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
}

#results {
    margin-top: 20px;
    display: none;
}

.result-bar {
    background-color: #4CAF50;
    height: 20px;
    border-radius: 5px;
    margin-bottom: 5px;
    position: relative;
}

.result-label {
    position: absolute;
    right: 10px;
    top: 0;
    bottom: 0;
    margin: auto;
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.answer {
    position: relative;
    padding: 0.8rem 1.1rem;
    display: flex;
    background: #eeeded;
    font-weight: 700;
    border: 3px solid transparent;
    margin-bottom: .5rem;
    align-items: center;
}.answer > span {position: relative;z-index: 99999;}