﻿
:root {
    --event-color: var(--event-color);
    --event-color-rgb: var(--purple-rgb);
    --event-color-alt: var(--pink);
    --event-color-alt-rgb: var(--pink-rgb);
}


.events_view_heading #events {
    position: relative;
    top: -90px;
}

.events_filter_sort {
    display: flex;
    gap: 1em;
    justify-content: space-between;
}


.modEventsFilterBar {
    /*margin: 20px 0px 15px;
    padding: 0px 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: #777777;
        }

/*--------------------------------------------*/


.events_view_filters {
    display: flex;
    gap: 1em;
    margin: 0;
    min-height: 0;
    /*background: #F1F1F1;*/
}

    .events_view_filters > p {
        float: left;
        margin: 15px;
    }

    .events_view_filters > .pagination {
        margin: 0;
        /* margin: 8px 0px;*/
    }

/*--------------------------------------------*/

.events_view_title {
    font-size: 1.3em;
}

    .events_view_title h2 {
        margin-bottom: 10px;
    }

.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 .bi,
.events_next_date .bi {
    font-size: 1.6em;
    color: #666;
    margin-top: -2px;
    vertical-align: middle;
    line-height: 42px;
    transition: all .3s ease;
}

.events_previous_date .bi {
    float: left;
    margin-right: 8px;
}

.events_next_date .bi {
    float: right;
    margin-left: 8px;
}

.events_previous_date:hover .bi {
    margin-right: 12px;
}

.events_next_date:hover .bi {
    margin-left: 12px;
}
/*--------------------------------------------*/
.events_heading_row {
    margin-top: 15px;
    margin-bottom: 10px;
    padding: 5px 15px;
    color: #FFFFFF;
    background: var(--event-color);
    border-radius: 25px;
}

.events_range {
    color: #666666;
    font-size: 0.7em;
}

.month_row {
    padding: 12px 15px 5px 46px;
    color: #000;
    font-size: 1.2em;
    margin-bottom: 5px;
}

.date_row {
    padding: 0;
    color: #000;
    font-size: .9em;
    margin-bottom: 5px;
    border-left: 6px solid rgba(var(--event-color-rgb), 1);
    background: rgba(var(--event-color-rgb), .2);
    transition: background 0.3s;
}

    .date_row.col-xs-12 {
        float: none;
    }

    .date_row:hover {
        background: rgba(var(--event-color-rgb), .4);
    }

    .date_row a {
        display: block;
        padding: .8em;
        color: #000;
        font-weight: 300;
    }

    .date_row .event_title {
        display: flex;
        justify-content: space-between;
    }

    .date_row .event_details {
        display: flex;
        gap: 10px;
        align-items: center;
    }

        .date_row .event_details .module_inline_metadata {
            padding: 0px 16px;
            font-size: .9em;
            line-height: 1.5em;
            height: fit-content;
        }

    .date_row .event_detail {
        display: flex;
        width: 150px;
        gap: 10px;
        justify-content: end;
        font-weight: 700;
    }

        .date_row .event_detail i {
            max-width: 0;
            width: 100%;
            display: inline-block;
            overflow: hidden;
            transition: all .3s ease;
        }


    .date_row:hover .event_detail i {
        max-width: 30px;
    }

    .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: rgba(var(--event-color-rgb), .4);
    color: #000;
    display: block;
    line-height: 1.2em;
    margin-bottom: 2px;
    padding: 8px 6px;
    font-size: .8em;
    text-decoration: none;
    -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: rgba(var(--event-color-rgb), .1);
    }

.calendar_day_number + a.calendar_event {
    margin-top: 26px;
}

.date_passed {
    opacity: 0.7;
    filter: saturate(0);
}

.calendar_day_number a {
    color: #666666;
}

.year_calendar {
    position: relative;
}

.year_timeline {
    position: absolute;
    top: 0;
    left: 22px;
    bottom: 0;
    width: 3px;
    background: #E6E6E6;
    z-index: -1;
}


/*--------------------------------------------*/

/*.date_row {
    margin-left: 46px;
    width: calc(100% - 46px);
}

    .date_row::before {
        content: "";
        height: 15px;
        width: 15px;
        background: #fff;
        border: 5px solid var(--teal-light);
        display: block;
        border-radius: 8px;
        position: absolute;
        left: -36px;
        top: 15px;
    }*/


.event_booking {
    padding: 15px;
    background: rgba(var(--purple-light-rgb), .2);
    border-left: 7px solid var(--purple-light);
    border-radius: 4px;
}

/*--------------------------------------------*/

.event_key p {
    margin: .5em 2em .5em 0;
}

    .event_key p:before {
        content: "";
        height: 14px;
        width: 14px;
        display: inline-block;
        margin-right: 10px;
    }

    .event_key p.generic_event:before {
        background: rgba(var(--event-color-rgb), .4);
    }

    .event_key p.featured_event:before {
        background: rgba(var(--event-color-rgb), .2);
    }

/*--------------------------------------------*/

#events_order_nav {
    position: relative;
}

    #events_order_nav a {
        color: rgba(var(--event-color-alt-rgb), 1);
    }

        #events_order_nav a:hover {
            color: rgba(var(--event-color-alt-rgb), .6);
        }

    #events_order_nav .event_order_header {
        display: flex;
        justify-content: space-between;
    }

    #events_order_nav h4 {
        margin-bottom: 0;
    }

    #events_order_nav ul {
        margin: 0px;
        padding: 0px;
        list-style-type: none;
    }

        #events_order_nav ul li {
            margin: 0px;
            padding: 0px;
        }

    #events_order_nav .basket {
        position: relative;
        display: block;
        padding: 6px 13px;
        color: #fff;
        text-decoration: none;
        background-color: rgba(var(--event-color-alt-rgb), 1);
        width: fit-content;
        margin: 15px auto 0;
    }

        #events_order_nav .basket:hover {
            background-color: rgba(var(--event-color-alt-rgb), .6);
        }

        #events_order_nav .basket i {
            font-size: 1.2em;
            line-height: 1.3em;
            color: #FFFFFF;
        }

        #events_order_nav .basket .couny:not(:empty) {
            color: #FFFFFF;
            position: absolute;
            top: -10px;
            right: -10px;
            width: 25px;
            height: 25px;
            background: var(--pink);
            text-align: center;
            border-radius: 25px;
        }

/*--------------------------------------------*/


#cert_container.cpd_certificate {
    font-family: Inter, Arial, sans-serif;
}

    #cert_container.cpd_certificate strong {
        font-family: Inter, Arial, sans-serif !important;
        color: #2E2E2E;
    }

    #cert_container.cpd_certificate img.logo {
        width: 305px;
    }

    #cert_container.cpd_certificate .title_hours {
        margin: 17px 0px 13px 0px;
    }

    #cert_container.cpd_certificate p.attendance_statement {
        color: #353772;
        margin-top: 32px;
        font-size: 36px !important;
        font-weight: 500;
    }

    #cert_container.cpd_certificate p.statement_top .name {
        display: inline-block;
        margin-top: 6px;
        margin-bottom: 2px;
        font-size: 28px !important;
        line-height: 26px !important;
    }

    #cert_container.cpd_certificate p.statement_bottom {
        margin-top: 6px;
        margin-bottom: 65px;
        line-height: 22px !important;
    }

        #cert_container.cpd_certificate p.statement_bottom .metadata {
            display: inline-block;
            margin-top: 4px;
        }

            #cert_container.cpd_certificate p.statement_bottom .metadata .eventName {
                font-size: 30px !important;
                margin-top: 19px;
                display: block;
                line-height: 1.3em;
            }

    #cert_container.cpd_certificate .signatures {
        width: 600px;
        margin: 0 auto 50px;
    }

        #cert_container.cpd_certificate .signatures p {
            font-family: Inter, Arial, sans-serif !important;
            font-size: 16px !important;
            color: #2E2E2E !important;
            line-height: 22px !important;
        }

        #cert_container.cpd_certificate .signatures img {
            height: 50px;
            margin-bottom: 15px;
        }

    #cert_container.cpd_certificate p.confirmation {
        margin: 18px 0px !important;
        font-size: 13px;
        line-height: 17px;
        text-align: center;
    }

/*--------------------------------------------*/

.events_member_inline {
    position: relative;
    color: #fff;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 15px;
    overflow: hidden;
}

    .events_member_inline img {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 0;
        height: 100%;
        min-width: 100%;
        z-index: -1;
        filter: brightness(.7);
        object-fit: cover;
    }

    .events_member_inline a {
        color: rgba(var(--event-color-rgb), .6);
    }

        .events_member_inline a:hover {
            color: rgba(var(--event-color-alt-rgb), 1);
        }
