/*****************************************************************************\
    npy events category
\*****************************************************************************/

.page-events__event-item--category:before,
.page-events__event-item--category:after {
    content:'';
    display:table;
}
.page-events__event-item--category:after {
    clear:both;
}

.page-events__section--events-category{
    background-color: #edf1f5;
}

.page-events__section--events-category .views-row { margin-bottom:20px; }

@media screen and (min-width:1025px) {
    .page-events__section--events-category .views-row {
        float:left;
        margin:0 0 50px;
        width:455px;
    }
    .page-events__section--events-category .views-row + .views-row { margin-left:30px; }
}

.page-events__section--events-category .page-events__section--events-category{
    background-color: #e6ebef;
}

.page-events__section--past-events{
    position: relative;
    padding-top:40px;
    padding-bottom:20px;
}

.page-events__section--past-events:before{
    content: ' ';
    position: absolute;
    display: block;
    width:100%;
    height: 100%;
    top:0;
    left:0;
    background-color: #606c78;
    opacity: .42;
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=42)";
}

.page-npy-event-category .page-events__section--past-events .section__title,
.page-npy-event-category .page-events__section--past-events .section__desc{
    color: #fff;
}

.page-npy-event-category .page-events__section--past-events .section__title{
    margin-top: 0;
}

.page-npy-event-category .page-events__section--past-events .event__btn{
    background-color: #fff;
    color: #33495e;
}

.page-events__section--past-events .event__btn:before{
    content:'';
    display:inline-block;
    margin-right:.6em;
    height:1.4em; width:1.4em;
    vertical-align:bottom;
    background-repeat:no-repeat;
    background-position:center;
    background-size:1em;
}

@media screen and (min-width:1025px) {
    
    .page-npy-event-category .page-events__section--past-events{
        padding-top: 30px;
        padding-bottom: 30px;
    }
    .page-npy-event-category .page-events__section--past-events .section__desc{
        margin-bottom:0;
    }

    .page-npy-event-category .page-events__section--past-events .section__container{
        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: nowrap;
        flex-wrap: nowrap;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }

    .page-npy-event-category .page-events__section--past-events .section__subcontainer{
        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;
    }

    .page-npy-event-category .page-events__section--past-events .section__subcontainer--small{
        width: 40%;
    }

    .page-npy-event-category .page-events__section--past-events .section__subcontainer--large{
        width: 60%;
        padding-right: 60px;
    }

    .page-events__section--past-events .event__btn:hover{
        background-color: #33495e;
        color: #fff;
    }

    .page-events__section--past-events .event__btn:hover:before {
        background-image:url('data:image/svg+xml;utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2246.44%22%20height%3D%2250%22%20viewBox%3D%220%200%2046.44%2050%22%3E%3Cpath%20fill%3D%22%23fff%22%20d%3D%22M1987.57%2C3113.54h8.04v8.03h-8.04v-8.03Zm9.82%2C0h8.93v8.03h-8.93v-8.03Zm-9.82-10.72h8.04v8.93h-8.04v-8.93Zm9.82%2C0h8.93v8.93h-8.93v-8.93Zm-9.82-9.82h8.04v8.04h-8.04V3093Zm20.54%2C20.54h8.93v8.03h-8.93v-8.03ZM1997.39%2C3093h8.93v8.04h-8.93V3093Zm21.43%2C20.54h8.04v8.03h-8.04v-8.03Zm-10.71-10.72h8.93v8.93h-8.93v-8.93Zm-10.09-14.55a0.863%2C0.863%2C0%2C0%2C1-.63.27h-1.78a0.923%2C0.923%2C0%2C0%2C1-.9-0.9v-8.03a0.923%2C0.923%2C0%2C0%2C1%2C.9-0.9h1.78a0.923%2C0.923%2C0%2C0%2C1%2C.9.9v8.03A0.863%2C0.863%2C0%2C0%2C1%2C1998.02%2C3088.27Zm20.8%2C14.55h8.04v8.93h-8.04v-8.93Zm-10.71-9.82h8.93v8.04h-8.93V3093Zm10.71%2C0h8.04v8.04h-8.04V3093Zm0.63-4.73a0.863%2C0.863%2C0%2C0%2C1-.63.27h-1.78a0.832%2C0.832%2C0%2C0%2C1-.63-0.27%2C0.863%2C0.863%2C0%2C0%2C1-.27-0.63v-8.03a0.863%2C0.863%2C0%2C0%2C1%2C.27-0.63%2C0.832%2C0.832%2C0%2C0%2C1%2C.63-0.27h1.78a0.863%2C0.863%2C0%2C0%2C1%2C.63.27%2C0.853%2C0.853%2C0%2C0%2C1%2C.26.63v8.03A0.853%2C0.853%2C0%2C0%2C1%2C2019.45%2C3088.27Zm9.92-4.92a3.434%2C3.434%2C0%2C0%2C0-2.51-1.06h-3.57v-2.68a4.49%2C4.49%2C0%2C0%2C0-4.47-4.47h-1.78a4.473%2C4.473%2C0%2C0%2C0-4.47%2C4.47v2.68h-10.71v-2.68a4.473%2C4.473%2C0%2C0%2C0-4.47-4.47h-1.78a4.473%2C4.473%2C0%2C0%2C0-4.47%2C4.47v2.68h-3.57a3.62%2C3.62%2C0%2C0%2C0-3.57%2C3.57v35.71a3.62%2C3.62%2C0%2C0%2C0%2C3.57%2C3.57h39.29a3.62%2C3.62%2C0%2C0%2C0%2C3.57-3.57v-35.71A3.4%2C3.4%2C0%2C0%2C0%2C2029.37%2C3083.35Z%22%20transform%3D%22translate(-1984%20-3075.16)%22%2F%3E%3C%2Fsvg%3E');
    }
}