﻿.EventContent {
    max-width: 300px;
    margin: 0px auto 30px auto;
    max-height: 370px;
    /*height: 370px;*/
    -webkit-box-shadow: 0 8px 6px -6px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0 8px 6px -6px rgba(0, 0, 0, 0.5);
    box-shadow: 0 8px 6px -6px rgba(0, 0, 0, 0.5);
    transition: box-shadow ease 1.0s;
}

    .EventContent:hover {
        -webkit-box-shadow: 0 0px 20px 1px rgba(0, 0, 0, 0.5);
        -moz-box-shadow: 0 0px 20px 1px rgba(0, 0, 0, 0.5);
        box-shadow: 0 0px 20px 1px rgba(0, 0, 0, 0.5);
        transition: all ease 1.0s;
    }

.DetailsContentMaster {
    box-shadow: none;
    margin: 45px 5px 20px 5px;
    border-radius: 0;
}

.EventDetails.container {
    margin-top: 20px;
    background-color: #fff;
    /*background-color: rgba(243, 243, 243, 0.50);
    box-shadow: 0 0 3px 1px rgba(243, 243, 243, 1);*/
}

@media (max-width: 700px) {
    .EventDetails.container {
        width: calc(100% - 20px);
    }
}

@media (min-width: 1300px) {
    .EventDetails.container {
        width: calc(90% - 20px);
    }
}

@media (min-width: 1400px) {
    .EventDetails.container {
        width: calc(80% - 20px);
    }
}

@media (max-width: 700px) {
    #lnklogo {
        position: absolute;
        top: 110px;
        left: 0px;
    }

    .content {
        margin-top: 0px;
    }

    .form-group .input-group {
        width: 100%;
    }
}

.EventDetails h4 span {
    color: #980a00;
}

.sec-1 {
    padding: 20px 0;
    /*background: rgb(248, 248, 248);*/
    background-color: #fff;
}

.EventItem {
    position: relative;
    display: inline-block;
    overflow: hidden;
    /*min-width: 230px;*/
    max-width: 315px;
    width: 100%;
    height: auto;
    max-height: 195px;
    color: #ffffff;
    font-size: 16px;
    /*border: 1px solid #cfcfcf;*/
    /*border-top: none;*/
    line-height: normal;
    box-shadow: 0 0 8px 0 rgba(0,0,0,.08);
    background-color: #fff;
    background: #fff;
}

    .EventItem * {
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        -webkit-transition: all 0.25s ease;
        transition: all 0.25s ease;
    }

    .EventItem:before {
        position: absolute;
        top: 10px;
        bottom: 10px;
        left: 10px;
        right: 10px;
        top: 100%;
        content: '';
        background: url(/html/images/az-subtle.png) rgba(21,91,169,.79);
        -webkit-transition: all 0.25s ease;
        transition: all 0.25s ease;
        -webkit-transition-delay: 0.25s;
        transition-delay: 0.25s;
    }

    .EventItem img {
        vertical-align: top;
        width: 100%;
        height: auto;
        backface-visibility: hidden;
    }

    .EventItem figcaption {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1;
        align-items: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .EventItem h3,
    .EventItem a.btnEventItem {
        margin: 0;
        opacity: 0;
        line-height: normal;
    }

    .EventItem h3 {
        -webkit-transform: translateY(-100%);
        transform: translateY(-100%);
        text-transform: uppercase;
        font-weight: 400;
        -webkit-transition-delay: 0.05s;
        transition-delay: 0.05s;
        margin: 20px;
        font-size: 15px;
        color: #fff;
        text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.7);
    }

        .EventItem h3 span {
            font-size: 13px;
            color: #fff;
        }

    .EventItem a.btnEventItem {
        font-weight: normal;
        background-color: #713084;
        padding: 5px 10px;
        -webkit-transform: translateY(-100%);
        transform: translateY(-100%);
        -webkit-transition-delay: 0s;
        transition-delay: 0s;
        font-size: 12px;
        color: #fff;
        text-decoration: none;
    }

        .EventItem a.btnEventItem:hover {
            background-color: #444;
        }

    .EventItem:hover:before,
    .EventItem.hover:before {
        top: 10px;
        -webkit-transition-delay: 0s;
        transition-delay: 0s;
    }

    .EventItem:hover h3,
    .EventItem.hover h3,
    .EventItem:hover a.btnEventItem,
    .EventItem.hover a.btnEventItem {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        opacity: 1;
    }

    .EventItem:hover h3,
    .EventItem.hover h3 {
        -webkit-transition-delay: 0.3s;
        transition-delay: 0.3s;
    }

    .EventItem:hover a.btnEventItem,
    .EventItem.hover a.btnEventItem {
        -webkit-transition-delay: 0.2s;
        transition-delay: 0.2s;
    }

.sec-1 .row {
    margin: 0 -10px;
}

.sec-1 .col-md-3, .sec-1 .col-lg-2 {
    padding: 0 10px;
    text-align: center;
}

    .sec-1 .col-md-3 h4, .sec-1 .col-lg-2 h4 {
        padding: 20px 10px 10px 10px;
        text-align: center;
        color: #484848;
        font-size: 12px;
        margin: 0;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        line-height: normal;
        height: 52px;
    }

.EventTypeName {
    position: absolute;
    left: 0;
    top: 0;
    padding: 2px 5px;
    background-color: #2196F3;
    color: #fff;
    font-size: 12px;
}

.EventPublishName {
    background-color: #2760A1;
    color: #FFFFFF;
    bottom: 0;
    top: auto;
    left: auto;
    right: 0;
    margin: 0;
    position: absolute;
    font-size: 12px;
    padding: 0;
}

    .EventPublishName p {
        padding: 2px 5px;
        background-color: rgba(0, 0, 0, 0.5);
    }

.star-rating {
    direction: ltr;
    position: absolute;
    top: 0px;
    right: 5px;
    padding: 0;
}

    .star-rating .rating-counter {
        top: -1px;
        position: relative;
    }

.rating-counter {
    color: #909090;
    padding-left: 5px;
    display: inline-block;
    font-size: 15px;
}

.star-rating .star {
    display: inline-block;
    margin: 0;
    padding: 0;
    float: left;
    margin-right: 4px;
    position: relative;
}

    .star-rating .star.half:after, .star-rating .star:before {
        font-family: fontawesome;
        content: "\f005";
        display: block;
        color: #ffc600;
    }

    .star-rating .star.half:before {
        color: #ddd;
    }

    .star-rating .star.empty:before {
        color: #ddd;
    }

    .star-rating .star.half:after {
        color: #ffc600;
        position: absolute;
        top: 0;
        width: 50%;
        display: block;
        height: 100%;
        overflow: hidden;
    }

    .star-rating .star.half:after, .star-rating .star:before {
        font-family: fontawesome;
        content: "\f005";
        display: block;
        color: #ffc600;
    }

.EventDataDetails {
    text-align: right;
    padding: 7px 5px 7px 5px;
}

.EventDataContent {
    overflow: hidden;
    position: relative;
    background: #ffffff;
    text-shadow: 0 0 3px rgba(148, 148, 148, 0.7);
    box-shadow: 0 0 10px 5px rgba(0,0,0,.08);
    padding-bottom: 10px;
    max-height: 160px;
    height: 160px;
}

    .EventDataContent p {
        font-size: 10px;
        padding: 2px 45px 2px 5px;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
    }

        .EventDataContent p span {
            position: absolute;
            right: 10px;
            color: #ff6a00;
        }
