#events-banner {
    background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.3)), to(rgba(0, 0, 0, 0.3))), url(../images/teens4.jpg);
    background-image: -webkit-linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url(../images/teens4.jpg);
    background-image: -o-linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url(../images/teens4.jpg);
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url(../images/teens4.jpg);
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.btn-search {
    color: #ffffff;
    text-transform: capitalize;
    background-color: #2196F3;
    text-decoration: none;
    border: none;
    padding: 18px 42px;
    margin-top: 40px;
    font-size: 18px;
}

.btn-search:hover {
    background-color: #005694;
}

.search-form {
    display: -webkit-box;
    display: -ms-flexbox;
    margin-top: 20px;
    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;
    -ms-flex-line-pack: center;
    align-content: space-between;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.search-form input {
    background-color: #eeeeee;
    padding: 18px;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    font-size: 18px;
    color: #555555;
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
    border: none;
    width: 70vw;
}

.search-form input:focus {
    background-color: #ffffff;
}

@media (min-width: 768px) {
    .search-form {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        align-items: stretch;
        -webkit-box-pack: stretch;
        -ms-flex-pack: stretch;
    }

    .search-form input {
        margin-right: 30px;
        -ms-flex-preferred-size: 75%;
        flex-basis: 50%;
        margin: 0 0 20px 0;
        width: 30vw;
    }

    .btn-search {
        margin-top: 0px;
        -ms-flex-item-align: start;
        align-self: flex-start;
    }
}

.events-container:first-of-type {
    background: #ffffff;
}

.events h3 {
    line-height: 1.2;
    font-size: 2em;
    font-weight: 700;
}

.events {
    width: 100vw;
    margin: 20px auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.events-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 calc(100%);
    flex: 1 1 calc(100%);
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin: 40px 10px;
    overflow: hidden;
    background-color: #ffffff;
    -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
}

@media (min-width: 1024px) {
    .events {
        width: 80vw;
    }

    .events-item {
        -webkit-box-flex: 1;
        -ms-flex: 1 1 calc(31.333% - 1em);
        flex: 1 1 calc(31.333% - 1em);
        margin: 40px 20px;
    }
}

.events-image {
    display: block;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.events-image img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 380px;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.events-image img:hover {
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}

.events-title {
    margin-top: 15px;
    padding: 20px;
    font-size: 2em;
    font-weight: 700;
}

.events-description {
    color: #555555;
    font-size: 1.5em;
    line-height: 2;
    padding: 20px;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
}

.events-item .read-more {
    width: 100%;
}

#green-intro {
    border-bottom-color: #57BB3F;
}

#green-intro .read-more {
    background: #57BB3F;
}

#green-intro .read-more:hover {
    background: #2e8440;
}