﻿


/*
    ---------------------------------------------
    Events Style
    ---------------------------------------------
    */

.events .section-heading {
    margin-bottom: 100px;
}

.events .item {
    background-color: #dce9f5;
    border-radius: 25px;
    position: relative;
    padding: 20px;
    margin-bottom: 20px;
}

    .events .item .image {
        position: relative;
    }

        .events .item .image img {
            position: absolute;
            border-radius: 25px;
            max-width: 100%;
            left: 0;
            top: 4px;
        }

    .events .item ul li {
        display: inline-block;
        /*width: 32.5%;*/
        width: 22.5%;
        vertical-align: middle;
    }

        .events .item ul li:first-child {
            width: 30%;
        }

        .events .item ul li:nth-of-type(2) {
            /*width: 28%;*/
        }

        .events .item ul li span.category {
            font-size: 14px;
            text-transform: uppercase;
            color: #2e8deb;
            background-color: #fff;
            padding: 8px 20px;
            border-radius: 25px;
            font-weight: 500;
            display: inline-block;
            margin-bottom: 20px;
        }

        .events .item ul li h4 {
            font-size: 16px;
            font-weight: 600;
        }

        .events .item ul li span {
            display: inline-block;
            font-size: 14px;
            color: #4a4a4a;
            margin-bottom: 10px;
            font-weight: 900;
        }

        .events .item ul li h6 {
            font-size: 15px;
            color: #2e8deb;
            font-weight: 600;
        }

    /*.events .item a {
        position: absolute;
        left: 0;
        top: 25%;
        background-color: #2e8deb;
        width: 6%;
        height: 50%;
        display: inline-block;
        text-align: center;
        line-height: 80px;
        font-size: 18px;
        z-index: 1;
        color: #fff;
        border-radius: 0px 60px 60px 0px;
    }*/

        .events .item a:not(.ignore-style) {
            position: absolute;
            left: 0;
            top: 25%;
            background-color: #2e8deb;
            width: 6%;
            height: 50%;
            display: inline-block;
            text-align: center;
            line-height: 80px;
            font-size: 18px;
            z-index: 1;
            color: #fff;
            border-radius: 0px 60px 60px 0px;
        }

@media (max-width: 992px) {
    .events .item .image img {
        position: relative;
        max-width: 80%;
        padding-bottom: 15px;
        margin: 0 60px;
        border-radius: 10px;
    }
    .events .item ul li:first-child {
        width: 100% !important;
        margin-bottom: 30px;
        padding-bottom: 30px;
        border-bottom: 1px solid #ddd;
    }

    .events .item a {
        bottom: 150px;
        top: auto;
    }
}

    


