/* Events styles */

.header__event {
    margin-top: 60px;
    margin-bottom: 40px;
}
.header__event__left {
    margin-bottom: 20px;
}

.title__section {
    margin: 0;
}

.events__list {
    display: flex;
    flex-flow: column;
    margin-top: 2em;
}

.event {
    position: relative;
    margin: auto;
    margin-top: 0;
    margin-bottom: 2em;
    box-shadow: 0px 0px 4px 1px rgb(0 0 0 / 20%);
    max-width: 400px;
    width: 100%;
}

.event__content {
    padding: 20px;
}

.event__title {
    color: black;
    font-size: 1.2em;
    margin: 0;
    margin-bottom: 10px;
}

.event__logo {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 180px;
    margin: 0;
    padding: 0;
    width: 100%;
}
.event__logo.logo {
    background-size: 150px;
}

.event__logo__image {
    max-height: 90%;
    max-width: 90%;
}

.event__description {
    font-size: 1em;
}

.event__link {
    font-size: .8em;
    font-weight: 700;
}

.event__date {
    background-color: #000;
    color: #fff;
    position: absolute;
    top: 10px;
    right: 15px;
    padding: 0 6px;
    box-shadow: 0px 0px 4px 1px rgb(186 186 186);
}

.event__category {
    background-image: url(../../img/icon-tag-orange.svg);
    background-position: left;
    background-repeat: no-repeat;
    background-size: 20px 20px;
    color: #f59600;
    padding-left: 2em;
}

.event__time {
    background-image: url(../../img/icon-clock.svg);
    background-position: left;
    background-repeat: no-repeat;
    background-size: 18px 18px;
    color: black;
    
    font-size: .8em;
    margin-right: 1em;
    padding-left: 2em;
}

.event__date,
.event__hour,
.event__description,
.event__category,
.event__time {
    margin: 0;
    margin-bottom: 10px;
    font-size: 0.8em;
}

.event__filter {
    background-color: #F8F8F8;
    border: 1px solid #000000;
    border-radius: 4px;
    padding: 3px;
    outline: none;
}

@media screen and (min-width: 500px) {
    .main.events {
        min-height: 700px;
    }
}

@media screen and (min-width: 680px) {

    .events__list {
        flex-flow: row;
        flex-wrap: wrap;
        justify-content: space-around;
    }

    .event {
        width: 40%;
    }

    .header__event {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .header__event__right {
        text-align: right;
    }

}

@media screen and (min-width: 1120px) {

    .event {
        margin-bottom: 3em;
        width: 28%;
    }

}

@media screen and (min-width: 1200px) {
    .header__event__left {
        margin-bottom: 0;
    }
}
