/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v7.0.29,
* Autoprefixer: v9.7.6
* Browsers: last 4 version
*/

html,body{
    overflow-x: unset;
}

#events-main #jade-banner{
    height: calc(100vh - 150px);
    width: 100%;
    margin: 50px 0;
}

#events-main #jade-banner > img{
    margin-top: 10%;
}

#events-main section p{
    width: 68%;
    color: #444444;
}

.events img{
    width: 90%;
    margin: auto;
    margin-bottom: 40px;
    
}


.events .text{
    
}
.events .title-con{
    margin-bottom: 60px;
}

.event-intro{
    display: flex;
    flex-direction: column;
}

.event-intro .intro{
    display: flex;
    flex-direction: column;
    padding: 0 25px;
    
}

.event-intro .intro .content{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.event-intro .intro .content h2{
    text-align: left;
    font-size: 3em;
    font-weight: 400;
}

.event-intro .intro .content p{
    text-align: left;
    width: 100%!important;
    margin:0;
    color: #444444;
    margin-top: 20px;
    font-size: 1em;
}

.event-intro .intro.top{
    padding-bottom: 80px;
}

.event-intro .intro.down{
    align-self: flex-end;
}

.event-intro .intro .imgDiv img{
    width: 100%;
}

.event-grid{
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr
}

.event-grid >div{
    aspect-ratio: 1;
    background-color: grey;
    border: 1px solid #fff;
}

.event-grid div{
    width: 100%;
    height: 100%;
}
.event-grid img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1;
}

#upcoming{
    padding-top:10px;
    pointer-events: none;
}

#eventGrid .hoverDiv{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: block;
    background-color: rgba(0, 40, 73, 0.7);
    transition: all .5s;
    opacity: 0;
    pointer-events: all;
}


#eventGrid .hoverDiv:hover{
    opacity: 1;
}


#eventGrid .hoverDiv .title{
    display: flex;
    justify-content: center;
    align-items: center;
}

#eventGrid .hoverDiv .title h1{
    color:#fff;
    font-size:1.6em;
    line-height: 1.5;

}

#eventGrid .hoverDiv .hint{
    position: absolute;
    top:0;
    pointer-events: none;
}

#eventGrid .hoverDiv .hint p{
    color:#fff;
    position:absolute;
    left: 0;
    right: 0;
    margin: auto;
    bottom: 10px;
    text-align: center;
    font-size:1em;
}


@media (min-width: 576px) {

    #events-main #jade-banner{
        height: calc(100vh - 150px);
        width: 100%;
        margin: 50px 0;
    }
    
    #events-main #jade-banner > img{
        margin-top: 10%;
    }
    
    #events-main section p{
        width: 68%;
        color: #444444;
    }
    
    .events img{
        width: 100%;
        margin-bottom: 40px;
    }
    
    .events .text{
        
    }
    .events .title-con{
        margin-bottom: 60px;
    }
    
    .event-intro{
        display: flex;
        flex-direction: row;
    }
    
    .event-intro .intro{
        display: flex;
        flex-direction: column;
        padding: 0 25px;
        
    }
    
    .event-intro .intro .content{
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
    }
    
    .event-intro .intro .content h2{
        text-align: left;
        font-size: 1.8em;
        font-weight: 400;
    }
    
    .event-intro .intro .content p{
        text-align: left;
        width: 100%!important;
        margin:0;
        color: #444444;
        font-size: 0.9em;
    }
    
    .event-intro .intro.top{
        padding-bottom: 196px;
    }
    
    .event-intro .intro.down{
        align-self: flex-end;
    }
    
    .event-intro .intro .imgDiv img{
        width: 100%;
    }

    .event-grid{
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr
    }
    .event-grid div{
        width: 100%;
        height: 100%;
    }
    .event-grid img{
        width: 100%;
        height: 100%;
        object-fit: cover;
        aspect-ratio: 1;
    }
    #upcoming{
        padding-top:10px;
    }
}

@media (min-width: 768px) {

}

@media (min-width: 992px) {


}

@media (min-width: 1200px) {


}
