.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;
}

.photogallery_widget_item_photo {
    padding-bottom: 50%;
    background-size: cover;
    background-position: center;
    flex-grow: 1;
    display: block;
    margin-bottom: 0 !important;
}

.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(50% - 3em);
    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: transparent;
    padding: 0;
    margin: 0;
    position: relative;
}

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;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 10px;
}

.media li {
    display: inline-block;
    /* position: relative; */
    overflow: hidden;
    /* width: 33.3%; */
    height: 200px;
    max-height: 200px;
    /* background-size: cover; */
    /* background-position: 50% 50%; */
    margin: 10px;
    box-shadow: 0 5px 5px #00000042;
    flex-grow: 1;
}

.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, .thumb:hover .media_overlay  {
    opacity: 1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    background: rgba(99, 167, 255, 0.253);
}

.thumb:hover img {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
    cursor: pointer;
}

.grid .thumb:hover {
    /* -webkit-transform: scale(1.05); */
    /* transform: scale(1.01); */
    cursor: pointer;
    color: #0b9444;
    text-decoration: none;
}

.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: 1em; */
    text-decoration: none;
    /* border: 1px solid #54534a; */
    /* padding: 0.3em; */
    background: #f3f3f3;
    overflow: hidden;
}

.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: 1em 2em; */
    background: transparent;
    outline: 0;
    /* max-width: 100px; */
    width: 100%;
    /* height: 60px; */
    margin-bottom: 0;
    border-bottom: 1px solid transparent;
    border-radius: 0;
    font-size: 1rem;
    border: 0;
    /* padding: .5rem 1rem; */
    vertical-align: middle;
    display: inline-block;
    vertical-align: baseline;
    line-height: 1;
    transform: translateY(0.15rem);
    color: grey;
}

.filter-button-group button.btn:not(.is-checked):hover {
    cursor: pointer;
    border-bottom: 1px solid rgb(84 83 74);
    color: black;
    /* background: #f6c13d75; */
    border-bottom: 1px solid black;
}

.filter-button-group .btn.is-checked {
    /* background-color: rgb(246 193 61); */
    /* font-weight: bold; */
    color: rgb(0 0 0) !important;
    border-bottom: 1px solid black;
}

.filter-btn {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    margin: 0px 10px;
    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;
    /* width: 100%; */
    margin: auto;
    overflow: hidden;
}

.grid-item {
    margin-top: 0 !important;
    margin-bottom: 0;
    padding: 15px;
    overflow: hidden;
}

.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: "Font Awesome 5 Free";
    font-weight: 900;
    color: white;
}

#prevArrow:before {
    content: '\f053';
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: white;
}

.gallery_caption {
    background: #ffffffbd;
    font-size: 16px;
    padding: 9px 9px 12px;
    transform: translate(0px, 100%);
    position: absolute;
    bottom: 0;
    width: 100%;
    color: black;
    transition: .3s all ease;
    max-height: 50%;
    z-index: 9;
}

.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;
}

.media li .thumb img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    max-height: 200px;
    transition: .5s all ease;
}

.images_icon::before {
    content: '\f03e';
    font-family: var(--mr-fontawesome);
    font-weight: 900;
}

.gallerywidget_wrapper {
    /* width: calc(100% + 40px); */
    background: transparent;
    height: 680px;
    padding: 10px;
    overflow: hidden;
    /* box-shadow: 0 0 4rem #00000082; */
    /* margin: -20px; */
}

section#gallery {
    background-image: url('/images/bg_grey.jpg');
    background: rgb(255, 242, 2);
    background: url('/images/bg_wheat.jpg');
    background-size: cover;
    background-position: center;
    /* padding: 2vw 0 4vw; */
}

span.media_overlay:after {
    content: '\f002';
    font-family: 'FontAwesome';
    font-weight: 900;
    font-size: 1.3rem;
    text-shadow: 0 0 11px black;
    color: rgb(255, 242, 2);
}

/*
* @subsection   Thumb
*/
.thumb {
    position: relative;
    display: block;
    overflow: hidden;
}

.thumb>img {
    width: 100%;
}

.thumb__overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    display: inline-block;
    width: 90px;
    height: 90px;
    line-height: 90px;
    text-align: center;
    font-size: 40px;
    border-radius: 50%;
    color: #fff;
    background: rgba(33, 150, 243, 0.95);
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.1);
    transition: .3s all ease;
    opacity: 0;
    -webkit-transform: translate(-50%, 100%);
    transform: translate(-50%, 100%);
}

.thumb:hover .thumb__overlay {
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    opacity: 1;
}

/*==================   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;
}

.thumb.video .thumb_overlay {
    display: none;
}

.filter-button-group {
    padding: 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;*/
    display: flex;
    flex-direction: column;
}

.filter-button-group button.btn {
    padding: 0;
    background: transparent;
    outline: 0;
    /* max-width: 100px; */
    width: 100%;
    /* height: 60px; */
    margin-bottom: 0;
    /* white-space: nowrap; */
    margin-bottom: 1rem;
    border-bottom: 1px solid transparent;
    text-align: left;
}

.filter-button-group button.btn:hover {
    cursor: pointer;
    opacity: .9;
}

.filter-button-group .btn.is-checked {
    font-weight: bold;
    color: #ffffff;
    /* background: #017c36; */
}

.filter-btn {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    margin: 0;
    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;
    width: 100%;
}

.grid-item {
    margin-top: 0 !important;
    margin-bottom: 0;
}

.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%;
}

.thumb:hover .gallery_caption {
    position: absolute;
    bottom: 0;
    width: 100%;
    color: black;
    transform: translate(0px, 0%);
}

.gallery_caption p:last-of-type {
    margin-bottom: 0;
}

.pswp__dynamic-caption {
    font-size: 1.2rem !important;
}

.gallery_wrapper {
    display: flex;
    flex-direction: row;
    /* flex-wrap: wrap; */
}

.gallery_categories {
    width: 260px;
    min-width: 210px;
    max-width: 260px;
    flex-grow: 1;
    position: sticky;
    top: 0;
}

.gallery_wrapper .gallery {
    width: 75%;
    flex-grow: 1;
}

.gallery_categories_inner {
    position: sticky;
    top: 120px;
}


@media (max-width: 767px) {

    .gallery_wrapper {flex-direction: column;}
    .gallery_wrapper .gallery {
        width: 100%;
    }.filter-button-group {

        flex-direction: row;
    }.filter-btn{padding: .3rem 1rem;}
    .gallery_categories {width: 100%;max-width: none;}
    .filter-button-group button.btn {margin: 0;}
}
/* ------------- 
 Section: News 
------------- */

section#news {
    background: transparent;
    /* 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);
    margin: 0 -15px;
}

.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;
    flex-direction: column;
    min-width: 260px;
    width: calc(33.3% - 30px);
    margin: 0 15px;
    flex-grow: 1;
    flex-wrap: wrap;
    background: transparent;
    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: 0;
    /* min-height: auto; */
    /* height: auto; */
}

.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 0.5em; */
    flex-grow: 1;
    min-width: 65%;
    margin: 1em 0;
}

.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-transform: none;
}

.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: transparent;
}

.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;
}

.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;
}

.news_widget .news_item .news_img img {
    /* margin: auto; */
    /* display: block; */
    /* object-fit: cover; */
    /* object-position: center; */
    /* width: 100%; */
    /* height: 100%; */
}

.news_widget .flex_holder {
    min-width: 280px;
    width: calc(33.3% - 30px);
    margin: 0 15px;
    flex-grow: 1;
}

.news_source {
    color: grey;
}
.poll_widget h2 {
    width: 100%;
    border-bottom-color: var(--mr-color-secondary);
    border-bottom-width: 5px;
}

div[id^="poll"] h3 {
    font-family: var(--mr-font-main);
    margin: 1rem 0;
}

div[id^="poll"] form label {
    display: block;
    margin-bottom: .5rem;
    position: relative;
}

div[id^="poll"] form label input {
    opacity: 0;
    position: absolute;
    inset: 0;
    z-index: 999;
}

.poll_widget h2 {
    width: 100%;
    border-bottom-color: var(--mr-color-secondary);
    border-bottom-width: 5px;
}

div[id^="poll"] h3 {
    font-family: var(--mr-font-main);
    margin: 1rem 0;
}

div[id^="poll"] form label {
    display: block;
    margin-bottom: .5rem;
    position: relative;
    background: #eaeaea;
}

div[id^="poll"] form label input {
    opacity: 0;
    position: absolute;
    inset: 0;
    z-index: 999;
    cursor: pointer;
}

div[id^="poll"] form label span,
div[id^="poll"] #poll-results li {
    padding: 0.8rem 1.1rem;
    display: block;
    background: #eeeded;
    font-weight: 700;
    border: 3px solid transparent;
}


div[id^="poll"] form label input:checked+span,
div[id^="poll"] form label.active input+span {
    border: 3px solid #6b5440;
}

div[id^="poll"] form label.active>span::before {
    content: '\f058';
    font-family: "FontAwesome";
    font-weight: 900;
    position: relative;
    z-index: 9;
    color: var(--mr-color-accent);
    background-color: white;
    border-radius: 50%;
    margin-right: .75rem;
}

div[id^="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[id^="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;
}

div[id^="poll"] form label span,
div[id^="poll"] #poll-results li {
    padding: 0.6rem  3.6rem 0.6rem 1rem;
    display: block;
    background: transparent;
    font-weight: 500;
    border: 3px solid transparent;
    font-size: 1.3rem;
    position: relative;
    z-index: 2;
    /* white-space: nowrap; */
    /* overflow: hidden; */
    /* text-overflow: ellipsis; */
}


div[id^="poll"] form label input:checked+span,
div[id^="poll"] form label.active input+span {
    border: 3px solid #6b5440;
}

div[id^="poll"] form label.active>span::before {
    content: '\f058';
    font-family: "FontAwesome";
    font-weight: 900;
    position: relative;
    z-index: 9;
    color: var(--mr-color-accent);
    background-color: white;
    border-radius: 50%;
    margin-right: .75rem;
}

div[id^="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;
    font-size: 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.7;
}

.percentage {
    position: absolute;
    inset: 0;
    display: flex;
    line-height: 20px;
    align-items: center;
    justify-content: flex-end;
    padding-right: 1rem;
    z-index: 9;
    background: transparent;
}

.result-item {
    position: relative;
}

div[id^="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;
}

.votecount {
    font-size: clamp(1rem, 1.5vw, 22px);
    margin-bottom: 1rem;
    color: grey;
}

div.poll_widget {
    width: 100%;
    max-width: 550px;
}