﻿.ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    max-width: 95%;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.events_header {
    padding: 15px 0;
}

.inline_events_block {
    position: relative;
    height: 300px;
    background-color: #ededed;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

    .inline_events_block h1,
    .inline_events_block h2,
    .inline_events_block h3,
    .inline_events_block h4 {
        font-family: 'Open Sans', Helvetica, Arial, Sans-Serif;
        color: #fff;
    }

    .inline_events_block h3 {
        margin-bottom: 0.25em;
    }

    .inline_events_block h4 {
        margin-top: 0.25em;
    }

    .inline_events_block a {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        color: #fff;
        transition: all ease 0.3s;
        -webkit-transition: all ease 0.3s;
        -moz-transition: all ease 0.3s;
        -o-transition: all ease 0.3s;
    }

        .inline_events_block a:hover {
            background-color: rgba(253, 151, 60, 0.7);
        }

.inline_event_details {
    position: absolute;
    background-color: #222a5e;
    padding: 10px 15px;
    margin: 0 15px 0 0;
    left: 15px;
    bottom: 15px;
}

/*--------------------------------------------*/

.modEventsFilterBar {
    margin: 20px 0px 15px;
    padding: 15px;
    background: #F1F1F1;
}

    .modEventsFilterBar .btn-group {
        margin-right: 10px;
    }

    .modEventsFilterBar button {
        white-space: nowrap;
    }

    .modEventsFilterBar .dropdown-menu {
        max-height: 205px;
        overflow: auto;
    }

        .modEventsFilterBar .dropdown-menu li.active a {
            color: #FFFFFF;
            background: #4b939e;
        }

/*--------------------------------------------*/

.events_view_filters {
    background: #F1F1F1;
}

    .events_view_filters > p {
        margin: 15px;
    }

    .events_view_filters > .pagination {
        margin: 8px 0px;
    }

/*--------------------------------------------*/

.events_view_title {
    font-size: 1em;
}

    .events_view_title h2 {
        margin-bottom: 10px;
        color: #26337b;
    }

.events_previous_date a,
.events_next_date a {
    display: inline-block;
    height: 42px;
    color: #666666;
    text-decoration: none;
    vertical-align: middle;
}

.events_previous_date span,
.events_next_date span {
    vertical-align: middle;
    line-height: 38px;
}

.events_previous_date .glyphicon,
.events_next_date .glyphicon {
    font-size: 34px;
    color: #666;
    margin-top: -5px;
    vertical-align: middle;
    line-height: 42px;
}

.events_previous_date .glyphicon {
    float: left;
}

.events_next_date .glyphicon {
    float: right;
}

/*--------------------------------------------*/

.events_heading_row {
    margin-top: 15px;
    padding: 5px 15px;
    color: #FFFFFF;
    background: #444444;
}

.events_range {
    color: #666666;
    font-size: 0.7em;
}

.month_row {
    padding: 5px 15px;
    color: #444444;
    font-size: 1.2em;
    background: #EEEEEE;
}

.date_row {
    padding-bottom: 10px;
    padding-top: 10px;
    transition: background 0.3s;
}

    .date_row.col-xs-12 {
        float: none;
    }

    .date_row:hover {
        background: #ebf0f8;
    }

    .date_row.featured_event {
        color: #fff;
        background: #3d4f59;
    }

        .date_row.featured_event:hover {
            background: #2c3e48;
        }

        .date_row.featured_event a {
            color: #fff;
        }

    /*--------------------------------------------*/

    .date_row .comment,
    .day_view .comment {
        position: absolute;
        box-sizing: content-box;
        top: -9999px;
        left: 0px;
        right: 0px;
        padding: 0px 15px;
        overflow: hidden;
        visibility: hidden;
        background-color: #3A4967;
    }

        .date_row .comment.ready,
        .day_view .comment.ready {
            position: static;
            visibility: visible;
            height: 0px;
            transition: height 0.1s ease-in 0.1s;
        }

        .date_row .comment.ready {
            margin: 10px -15px -10px -15px;
        }

        .date_row .comment.visible,
        .day_view .comment.visible {
            border-bottom: 1px solid #FFFFFF;
            transition: height 0.1s ease-out;
        }

        .date_row .comment p,
        .day_view .comment p {
            margin: 0px;
            color: transparent;
            transition: color 0.1s ease-in;
        }

            .date_row .comment p:first-child,
            .day_view .comment p:first-child {
                padding-top: 15px;
            }

            .date_row .comment p:last-child,
            .day_view .comment p:last-child {
                padding-bottom: 15px;
            }

            .date_row .comment p + p,
            .day_view .comment p + p {
                margin-top: 6px;
            }

        .date_row .comment.visible p,
        .day_view .comment.visible p {
            transition: color 0.1s ease-out 0.1s;
        }

/*--------------------------------------------*/

a.calendar_event {
    background: #78e009;
    border-radius: 10px;
    color: #373737;
    display: block;
    font-size: 10px;
    overflow-wrap: break-word;
    line-height: 1.4em;
    margin-right: 20px;
    margin-bottom: 2px;
    padding: 7px 10px;
    text-decoration: none;
    text-transform: uppercase;
    -moz-transition: background-color 0.2s ease;
    -webkit-transition: background-color 0.2s ease;
    -ms-transition: background-color 0.2s ease;
    -o-transition: background-color 0.2s ease;
    transition: background-color 0.2s ease;
}

    a.calendar_event:hover {
        background: #89f11a;
    }

    a.calendar_event.featured_event {
        background: #3d4f59;
        color: #fff;
    }

        a.calendar_event.featured_event:hover {
            background: #1b2d37;
        }

.date_passed {
    opacity: 0.7;
}

.calendar_day_number a {
    color: #666666;
}

/*--------------------------------------------*/

.key_facts_block {
    margin-top: 30px;
    padding: 10px;
    background-color: #F1F1F1;
}

.tab-pane .key_facts_block p:first-child {
    margin-top: 0;
}

/*--------------------------------------------*/
