/*    background-color: rgba(0,65,136,1); */
/*    background-color: rgba(242,145,0,1); */
/*    color: #f6921e; */
/*    color: #00498f; */

.allevents p {
    text-align: center;
    padding: 10px 0;
    margin:0;
}

.allevents a {
    border: 1px solid #bbb;
    color: #999;
    padding: 5px 15px;
}

.mgallery-stickers {
    margin-left: -10px;
}

.event-sticker {
/*    background: url(../img/bg_cornw.png) left 7px no-repeat;*/
/*    padding-left: 10px;*/
    position: relative;
    margin: 0 0 10px 10px;
    text-align: left;
}

.event-sticker .date {
    background-image: url("../img/bg_dot.png");
    background-repeat: repeat-y;
    background-position: right top;
    font-size: 0.8em;
/*    color: #00498f;*/
    color: #e5810d;
    display: flex;
    justify-content: space-between;
    text-align: center;
    flex-direction: column;
    position: absolute;
    padding: 0 10px 0 8px;
    line-height: .8;
    left: 0;
    top: 17px;
    width: 84px;
    height: 65px;
    line-height: 1;
}

.date .nday {
    font-size: 1.35rem;
}

.date .mounth {
    font-size: 0.8rem;
}

.date .day {
    font-size: 0.65rem;
    text-transform: uppercase;
}

.event-sticker .header {
/*    color: #999;*/
    color: #e5810d;
    display: flex;
    letter-spacing: 0.02em;
}

.sticker-wrapper {
    border-radius: 12px;
/*    background-color: #eee;*/
    overflow: hidden;
    transition: background .5s;
}

@media (hover: hover) {

    .sticker-wrapper:hover {
        background-color: #eee;
    }
    
    .event-sticker:hover .date {
        background-image: url("../img/bg_dot_w.png");
    }
}

.block-link {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 99;
}

.block-link:hover {
    text-decoration: none;
}

.sticker-item {
    max-width: 640px;
}

.sticker-image {
    float: left;
    width: 180px;
    height: 100px;
    overflow: hidden;
}

.sticker-text {
    display: flex;
    flex-direction: column;
    font-size: 0.9em;
    padding: 12px 10px;
    height: 125px;
    margin-left: 85px;
}

.sticker-text>.event {
    max-width: 360px;
}

.sticker-text h3 {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    margin: .3em 0 0;
    line-height: 1.3;
}

.gallery-item .event-wrapper {
    margin: 0 0 15px 15px;
}

.event-wrapper {
    position: relative;
    height: 56vw;
    max-height: 65vh;
    overflow: hidden;
    line-height: 0;
}

.gallery-item .event-text {
    background-image: url(../img/bg_event_a.png);
    background-color: rgba(20, 20, 20, 0);
    transition: background .3s;
    background-size: cover;
    background-blend-mode: multiply;
}

.gallery-item:hover .event-text {
    background-image: none;
    background-color: rgba(221, 130, 25, 0.5);
}

.gallery-item .event-text a {
    color: #bbb;
}

.gallery-item:hover .event-text a {
    color: #fff;
}

.gallery-item .event-wrapper>a {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 99;
}

.gallery-item .event-wrapper>a:hover {
    opacity: 0.7;
}

.event-image:after {
    background-color: rgba(0,0,0,.6);
    position: absolute;
    top: 0;
    display: block;
    width:100%;
    height:100%;
    content:"";
}

.event-image img {
    width: 100%;
    /*    filter: grayscale(100%);*/
}

.event.layout_full{
    margin-bottom:5px;
}

.event-text {
    display: flex;
    flex-wrap: wrap;
    align-content: space-around;
    padding: 30px 0;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 99;
}

.event .image_container {
    margin-bottom: 25px;
}

.event-text {
    color: #fff;
    line-height: 1.3;
}

.event-text>div {
    margin: auto;
    flex-basis: 85%;
    max-width: 1200px;
}

.event-text>div>div {
    max-width: 640px;
}

.event-text .header {
    color: #fc6;
}

.event-text .tag-item {
    color: #fff;
    margin-left: 5px;
}

.event-text h2 {
    font-size: 1.8em;
    letter-spacing: 0.035em;
    line-height: 1.3;
    word-spacing: 0.1em;
    text-transform: uppercase;
}

.tag-item,
.tag-item a,
.event-text h3,
.event-text h3 a {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 400;
/*    text-transform: uppercase;*/
    text-align: left;
}

.event-text .event h2 a:hover {
    color: #fc6;
}

.event-text .tag-item a,
.event-text .tag-item a:hover {
    text-decoration: none;
    cursor: default;
}

.event-text .time {
    color: #fc6;
    font-size: 0.85em;
}

.event-text .more {
    margin-top: 25px;
}

.event-text .more a {
    font-size: 1em;
    font-weight: 400;
    background-color: #b82;
    padding: 5px 12px 5px;
}

.event-text .more a:hover {
    background-color: #c93;
}

.event-text a {
    color: #fff;
    text-decoration: none;
}

#left .news-sticker {
    border-color: #fff;
}

#left .sticker-image {
    width: 100px;
}

#left .mgallery-locations .sticker-image {
    width: 100%;
}

#left .sticker-image img {
    width: auto;
    height: 100%;
    max-width: inherit;
}

#left .mgallery-locations .sticker-image img {
    display: block;
    width: 100%;
}

.info date, .info time,
.info .location {
    font-size: 0.85em;
    padding: 3px 10px;
    margin:0;
}

.info date {
    color: #fff;
    background-color:#c93;
}

.info .location {
    color: #f6921e;
    padding: 10px;
}

.info time {
    color: #f6921e;
    padding: 10px 0;
}

.info time:before {
    display: inline-block;
    margin-right: 10px;
    font-family: "Font Awesome 5 Free";
    font-size: 18px;
    content: '\f073';
    color: #f6921e;
}



/******************* NEWS *************************/

.mod_newslist .sticker-item {
    max-width: inherit;
/*    width: 215px;*/
}

.mgallery-stickers.newslist {
    margin-left: -30px;
}

#left .event-sticker {
    margin-bottom: 10px;
}

.news-sticker {
    border: 1px solid #555;
    position: relative;
    margin: 0 auto;
    margin-bottom: 15px;
    margin-left: 12px;
    padding: 7px;
}

#main .news-sticker {
    border: 1px solid #eee;
    margin-left: 0px;
    max-width: 300px;
}

.news-sticker {
    line-height: 1.2;
}

.news-sticker .sticker-text {
    padding: 5px 15px;
    margin: 0;
    width: 120px;
}

.news-sticker .sticker-wrapper {
    background-color: transparent;
    color: #bbb;
}

#main .news-sticker .sticker-wrapper {
    background-color: #b82;
    color: #fff;
}

#right .news-sticker .sticker-wrapper {
    background-color: #bbb;
    color: #eee;
}

#right .news-sticker .sticker-wrapper:hover,
.news-sticker .sticker-wrapper:hover {
    background-color: #b82;
    color: #fff;
}

.news-sticker .sticker-image {
    width: 100%;
    overflow: hidden;
    opacity: 0.8;
}

#right .news-sticker .sticker-image {
    opacity: 1;
}

.news-sticker:hover .sticker-image {
    opacity: 1;
}

.mgallery-locations .sticker-image {
    height: auto;
    opacity: 1;
    line-height: .1;
}

.mgallery-locations .sticker-image:before,
.mgallery-locations .sticker-image:after {
    position: absolute;
    bottom: 0;
    display: block;
    width:100%;
    height:0;
    content:"";
}

.mgallery-locations .sticker-image:before {
    height:80%;
    background-image: linear-gradient(to bottom, rgba(255,255,255,0), rgba(10,10,10,1));
}

.mgallery-locations .news-sticker:hover .sticker-image:before {
    height:0;
}

.mgallery-locations .news-sticker:hover .sticker-image:after {
    height:80%;
    background-image: linear-gradient(to top, rgba(186,136,34,1), rgba(255,255,255,0));
    transition: height .3s;
}

.mgallery-locations .sticker-image img {
    width: 100%;
    height: auto;
}

.mgallery-locations .news-sticker .sticker-text {
    width: 100%;
    padding: 7px 8px;
    letter-spacing: 0.01em;
    align-content: flex-end;
}

.news-sticker .sticker-text {
    font-size: 0.75em;
    width: 120px;
    align-content:flex-end;
}

.news-sticker .sticker-text h3 {
    color: #ccc;
    font-weight: 400;
    font-size: 1em;
}

#main .news-sticker .sticker-text h3 {
    color: #000;
}

.news-sticker .sticker-text div {
    order: 2;
}

#right .news-sticker .sticker-text h3 {
    color: #111;
    font-weight: 400;
    margin-top: 0.5em;
}

.news-sticker p {
    margin-bottom: 0;
}

.news-sticker:hover .sticker-text h3,
.news-sticker:hover .sticker-text h3 a,
.news-sticker .sticker-text h3 a:hover {
    color: #fff;
    text-decoration: none;
}

.mod_mae_event_filter {
    margin:24px 0 40px;
}

.mod_mae_event_filter li {
    float:left;
    list-style: none;
    margin: 0 7px 12px 0;
}

.mod_mae_event_filter li a {
    background-color: #ccc;
    padding: 5px 12px;
}

.mod_mae_event_filter li a:hover {
    text-decoration: none;
    background-color: #888;
    color: #fff;
}

.mod_mae_event_filter li.active a {
    background-color: #b80;
    color: #fff;
}


/**************** END OF NEWS *********************/

@media screen and (max-width: 1180px) {
    
/*
    .sticker-image {
        width: 100px;
    }
    .sticker-image img {
        width: auto;
        height: 100%;
        max-width: inherit;
    }
*/
    
    .event-sticker {
        margin-left: 0;
    }
    
    .event-sticker .date {
        padding-left: 0;
    }
    
    .sticker-text {
        padding-right: 0;
    }
}

@media screen and (max-width: 990px) {
/*
    .sticker-image {
        width: 180px;
    }
    .sticker-image img {
        width: 100%;
        height: 100px;
        max-width: inherit;
    }
    .mgallery-stickers.newslist {
        margin-left: -40px;
    }
*/
    
/*
    #left .sticker-image {
        width: 100px;
    }
    
    #left .mgallery-locations .sticker-image {
        width: 100%;
    }

    #left .sticker-image img {
        width: auto;
        height: 100%;
        max-width: inherit;
    }
    
    #left .mgallery-locations .sticker-image img {
        display: block;
        width: 100%;
    }
*/
}

@media screen and (max-width: 880px) {
/*
    .sticker-image {
        width: 100px;
    }
    .sticker-image img {
        width: auto;
        height: 100%;
        max-width: inherit;
    }
*/
/*
    .mgallery-stickers.newslist {
        margin-left: -15px;
    }
    .news-sticker {
        margin-left: 15px;
    }
*/
}

@media screen and (orientation:landscape) and (max-aspect-ratio: 8/5) {
/*
    .event-wrapper {
        max-height: 55vh;
    }
*/
}

@media screen and (max-width:767px) {
/*
    .event-wrapper {
        max-height: 100vh;
        height: auto;
    }
    .event-text {
        align-content: center;
    }
    .slider-item .event-image img {
        height: calc(100vh - 100px);
        width: auto;
        max-width: none;
        max-height: 100vh;
    }
    .event-wrapper h2 {
        font-size: 1.25em;
    }
*/
}

@media screen and (max-width:767px) and (orientation:landscape) {
/*
    .event-wrapper {
        max-height: calc(100vh - 100px);
        height: auto;
    }
*/
/*
    .slider-item .event-image img {
        height: auto;
        width: 100%;
        max-width: 100%;
    }
    .event-text .teaser {
        visibility: hidden;
        height: 0;
        line-height: 0;
    }
    .event-wrapper h2 {
        margin-top: 12px;
    }
    .event-wrapper .more {
        margin-top: 12px;
    }
*/
}

@media screen and (max-width: 640px) {
/*
    .event-text>div {
        padding: 0 25px;
        flex-basis: 100%;
    }
*/  
}

/*
@media screen and (max-width: 570px) {
    .sticker-image {
        width: 180px;
    }
    .sticker-image img {
        width: 100%;
        height: 100px;
        max-width: inherit;
    }
    .sticker-text h3 {
        font-size: 1.1rem;
    }
}
*/

/*
@media screen and (max-width:450px) {
    .sticker-image {
        width: 100px;
    }
    .sticker-image img {
        width: auto;
        height: 100%;
        max-width: inherit;
    }
}
*/
