.events{
    padding-top: 100px;
    padding-bottom: 95px;
}
.windzfare_events{
    position: relative;
    background: $white-color;
    box-shadow: 0px 0px 13px rgba($primary-color, 0.07);
    margin: 0px 0px 15px 0px;
    text-align: left;
    .windzfare_events_image{
        position: relative;
        img{
            width: 100%;
        }
    }
    .windzfare_events_date{
        display: inline-block;
        width: 65px;
        height: 65px;
        font-family: $heading-font;
        text-align: center;
        color: $white-color;
        background: $primary-color;
        border-radius: 100%;
        position: absolute;
        right: 30px;
        bottom: -30px;
        @include bordered(3px, solid, $white-color);
        padding-top: 10px;
        .day{
            display: block;
            font-size: $font-18;
            font-weight: $font-semibold;
            line-height: 18px;
        }
        .month{
            display: block;
            font-size: $font-12;
            font-weight: $font-regular;
            line-height: 20px;
        }
    }
    .windzfare_events_content {
        padding: 45px 40px;
        h3{
            position: relative;
            line-height: 30px;
            margin-bottom: 25px;
            @include transition(color 0.5s, background-color 0.8s);
            a{
                color: $black-color;
            }
        }
        p{
            font-size: $font-18;
            line-height: 26px;
            color: #666666;
        }
    }
    &:hover .windzfare_events_content h3 a{
        color: $primary-color;
    }
    .windzfare_events_bottom{
        font-family: $heading-font;
        font-size: $font-12;
        margin-top: 30px;
        margin-bottom: 20px;
        a{
            background: $white-color;
            color: $primary-color;
            display: inline-block;
            font-weight: $font-medium;
            line-height: 22px;
            text-transform: uppercase;
            padding: 0px 15px;
            @include bordered(1px, solid, $primary-color);
            &:hover{
                background: $primary-color;
                color: $white-color;
            }
        }
        span{
            padding-left: 15px;
            color: $primary-color;
            font-weight: $font-medium;
        }
    }  
    .windzfare_events_location{
        font-size: $font-14;
        font-weight: $font-medium;
        line-height: 18px;
        display: flex;
        align-items: center;
        margin-top: 20px;
        img{
            margin-right: 20px;
        }
    }

    &.second{
        .windzfare_events_date{
            background: $second-color;
        }
        &:hover .windzfare_events_content h3 a{
            color: $second-color;
        }
        .windzfare_events_bottom{
            a{
                color: $second-color;
                @include bordered(1px, solid, $second-color);
                &:hover{
                    background: $second-color;
                    color: $white-color;
                }
            }
            span{
                color: $second-color;
            }
        }  
        .windzfare_events_location{
            i{
                color: $second-color;
            }
        }
    }

    &.third{
        .windzfare_events_date{
            background: $third-color;
        }
        &:hover .windzfare_events_content h3 a{
            color: $third-color;
        }
        .windzfare_events_bottom{
            a{
                color: $third-color;
                @include bordered(1px, solid, $third-color);
                &:hover{
                    background: $third-color;
                    color: $white-color;
                }
            }
            span{
                color: $third-color;
            }
        }  
        .windzfare_events_location{
            i{
                color: $third-color;
            }
        }
    }

    &.fourth{
        .windzfare_events_date{
            background: $fourth-color;
        }
        &:hover .windzfare_events_content h3 a{
            color: $fourth-color;
        }
        .windzfare_events_bottom{
            a{
                color: $fourth-color;
                @include bordered(1px, solid, $fourth-color);
                &:hover{
                    background: $fourth-color;
                    color: $white-color;
                }
            }
            span{
                color: $fourth-color;
            }
        }  
        .windzfare_events_location{
            i{
                color: $fourth-color;
            }
        }
    }

    &.fifth{
        .windzfare_events_date{
            background: $fifth-color;
        }
        &:hover .windzfare_events_content h3 a{
            color: $fifth-color;
        }
        .windzfare_events_bottom{
            a{
                color: $fifth-color;
                @include bordered(1px, solid, $fifth-color);
                &:hover{
                    background: $fifth-color;
                    color: $white-color;
                }
            }
            span{
                color: $fifth-color;
            }
        }  
        .windzfare_events_location{
            i{
                color: $fifth-color;
            }
        }
    }

    &.sixth{
        .windzfare_events_date{
            background: $sixth-color;
        }
        &:hover .windzfare_events_content h3 a{
            color: $sixth-color;
        }
        .windzfare_events_bottom{
            a{
                color: $sixth-color;
                @include bordered(1px, solid, $sixth-color);
                &:hover{
                    background: $sixth-color;
                    color: $white-color;
                }
            }
            span{
                color: $sixth-color;
            }
        }  
        .windzfare_events_location{
            i{
                color: $sixth-color;
            }
        }
    }
}




.windzfare_events_list{
    position: relative;
    background: $white-color;
    margin: 0px 0px 24px 0px;
    padding-bottom: 25px;
    @include bordered-bottom (1px, dotted, #eeeeee);
    text-align: left;
    &:last-child{
        margin-bottom: 0px;
        padding-bottom: 0px;
        @include bordered-bottom (0px, dotted, #eeeeee);
    }
    .windzfare_events_list_wrapper{
        display: flex;
        .windzfare_events_list_image{
            position: relative;
            min-width: 145px;
            width: 145px;
            margin-right: 20px;
        }
        .windzfare_events_list_content {
            h6{
                position: relative;
                font-size: 20px;
                line-height: 26px;
                margin-bottom: 5px;
                margin-top: -7px;
                @include transition(color 0.5s, background-color 0.8s);
                a{
                    color: $black-color;
                }
            }
            .windzfare_events_list_date{
                color: $primary-color;
                font-size: $font-16;
                font-weight: $font-semibold;
                line-height: 26px;
            }
            p{
                color: $black-color;
                line-height: 30px;
            }
            img{
                width: auto;
            }
        }
        &:hover .windzfare_events_list_content h6 a{
            color: $primary-color;
        }
    }

    &.second{
        .windzfare_events_list_wrapper{
            .windzfare_events_list_content {
                .windzfare_events_list_date{
                    color: $second-color;
                }
            }
            &:hover .windzfare_events_list_content h6 a{
                color: $second-color;
            }
        }
    }

    &.third{
        .windzfare_events_list_wrapper{
            .windzfare_events_list_content {
                .windzfare_events_list_date{
                    color: $third-color;
                }
            }
            &:hover .windzfare_events_list_content h6 a{
                color: $third-color;
            }
        }
    }

    &.fourth{
        .windzfare_events_list_wrapper{
            .windzfare_events_list_content {
                .windzfare_events_list_date{
                    color: $fourth-color;
                }
            }
            &:hover .windzfare_events_list_content h6 a{
                color: $fourth-color;
            }
        }
    }

    &.fifth{
        .windzfare_events_list_wrapper{
            .windzfare_events_list_content {
                .windzfare_events_list_date{
                    color: $fifth-color;
                }
            }
            &:hover .windzfare_events_list_content h6 a{
                color: $fifth-color;
            }
        }
    }

    &.sixth{
        .windzfare_events_list_wrapper{
            .windzfare_events_list_content {
                .windzfare_events_list_date{
                    color: $sixth-color;
                }
            }
            &:hover .windzfare_events_list_content h6 a{
                color: $sixth-color;
            }
        }
    }
}



.upcoming_event{
    position: relative;
    background: $white-color;
    margin: 0px 0px 40px 0px;
    text-align: left;
    .upcoming_event_image{
        position: relative;
        img{
            width: 100%;
        }
    }
    .upcoming_event_wrapper{
        background: #191f28;
    }

    .upcoming_event_content{
        padding: 0px 35px;
        .upcoming_event_content_inner {
            padding: 37px 0px 60px 0px;
            .highlight_tag{
                font-family: $heading-font;
                font-size: $font-12;
                font-weight: $font-medium;
                text-transform: uppercase;
                letter-spacing: 4px;
                color: $third-color;
            }
            h3{
                position: relative;
                line-height: 36px;
                margin-top: 15px;
                margin-bottom: 25px;
                @include transition(color 0.5s, background-color 0.8s);
                a{
                    color: $white-color;
                    &:hover{
                        color: $primary-color;
                    }
                }
            }
        }
    }
    .upcoming_event_location{
        display: flex;
        align-items: center;
        img{
            margin-right: 20px;
        }
        p{
            font-family: $heading-font;
            font-size: $font-14;
            font-weight: $font-medium;
            color: $white-color;
            line-height: 18px;
        }
    }
    .upcoming_event_content_right{
        text-align: right;
        .windzfare_button{
            padding: 13px 79px;
            background: transparent;
            font-weight: $font-regular;
            letter-spacing: 1px;
        }
        p{
            font-family: $heading-font;
            font-size: $font-16;
            line-height: 24px;
            color: $white-color;
            margin-top: 15px;
            letter-spacing: 1px;
            span{
                color: $third-color;
            }
        }
    }

    #clockdiv{
        display: flex;
        background: $white-color;
        border-radius: 15px;
        padding: 28px 82px;
        justify-content: space-around;
        margin-top: -43px;
        width: 100%;
        > div{
            position: relative;
            font-family: $heading-font;
            display: flex;
            padding: 0px 20px;
            min-width: 140px;
            color: $primary-color;
            &:after{
                content: "";
                position: absolute;
                width: 1px;
                height: 30px;
                background: #ebebeb;
                top: 50%;
                transform: translateY(-50%);
                right: 0;
            }
            &:last-child:after{
                display: none;
            }
            > span{
                font-size: $font-36;
            }
            .smalltext{
                position: relative;
                font-family: $paragraph-font;
                font-size: $font-12;
                font-weight: $font-semibold;
                text-transform: uppercase;
                margin-left: 5px;
                line-height: 12px;
                &:after{
                    content: "";
                    position: absolute;
                    width: 5px;
                    height: 5px;
                    background: $primary-color;
                    left: 0;
                    bottom: 3px;
                }
            }
            &.first{
                color: $primary-color;
                .smalltext:after{
                    background: $primary-color;
                }
            }
            &.second{
                color: $second-color;
                .smalltext:after{
                    background: $second-color;
                }
            }
            &.third{
                color: $third-color;
                .smalltext:after{
                    background: $third-color;
                }
            }
            &.fourth{
                color: $fourth-color;
                .smalltext:after{
                    background: $fourth-color;
                }
            }
            &.fifth{
                color: $fifth-color;
                .smalltext:after{
                    background: $fifth-color;
                }
            }
            &.sixth{
                color: $sixth-color;
                .smalltext:after{
                    background: $sixth-color;
                }
            }
        }
    }

}
    
@media screen and (max-width: $breakpoint-tablet) {
    .upcoming_event{
        text-align: center;
        .upcoming_event_content{
            .upcoming_event_content_inner{
                display: block;
            }
        }
        .upcoming_event_location{
            display: block;
            img{
                margin-right: 0px;
                margin-bottom: 10px;
            }
        }
        .upcoming_event_content_right{
            text-align: center;
            margin-top: 30px;
            .windzfare_button{
                padding: 10px 35px;
                font-size: 12px;
            }
        }
        #clockdiv{
            display: block;
            position: relative;
            left: 0;
            transform: none;
            border-radius: 0px;
            > div{
                justify-content: center;
                padding: 15px 0px;
                &:after{
                    display: none;
                }
            }
        }
    }
}

/*-- Event Social --*/
.event_social{
    margin-top: 30px;
    ul{
        margin: 0px;
        padding: 0;
        display: flex;
        align-items: center;
        li{
            list-style-type: none;
            margin: {
                right: 15px;
            }
            a{
                display: block;
                font-size: $font-18;
                text-align: center;
                color: $white-color;
                width: 40px;
                height: 40px;
                line-height: 44px;
                border-radius: 100%;
                i{
                    min-width: 1em;
                    min-height: 1em;
                    display: block;    
                }
            }
            &:last-child{
                margin-right: 0px;
            }
            /* Social Color */
            &.facebook a{
                background: $facebook-color;
            }
            &.twitter a{
                background: $twitter-color;
            }
            &.linkedin a{
                background: $linkedin-color;
            }
            &.instagram a{
                background: $instagram-color;
            }
            &.gplus a{
                background: $gplus-color;
            }
            &.skype a{
                background: $skype-color;
            }
            &.rss a{
                background: $rss-color;
            }
            &.pinterest a{
                background: $pinterest-color;
            }
        }
    }
    @media screen and (max-width: $breakpoint-desktop) {
        ul{
            li{
                margin-right: 8px;
                a{
                    width: 30px;
                    height: 30px;
                    line-height: 34px;
                    font-size: $font-14;
                }
            }
        }
    }
}