[id$="_pnlSearchEvents"] {
    display: none;
}
/*

    [id$="_pnlSearchEvents"] {
            width: 100%;
            text-align: center;
            margin: 0 auto;
            box-sizing: border-box;
            color: #fff;
            position: relative;
            z-index: 2;
            padding: 1rem;
            margin-bottom: 1rem;
            display: grid;
            grid-template-columns: repeat(1, 1fr);
            align-items: center;
            grid-gap: 1rem;
            border: 1px solid rgba(163, 163, 162, .4);
        }

        @media (min-width: 800px) {
            [id$="_pnlSearchEvents"] {
                display: grid;
                grid-template-columns: repeat(3, 1fr);
                align-items: center;
                grid-gap: 0 1rem;
                        display:none
            }
        }

        [id$="_pnlSearchEvents"]:after {
            content: "";
            display: table;
            clear: both
        }

        [id$="_pnlSearchEvents"] > div {
            position: relative;
            box-sizing: border-box;
            height: 40px;
            line-height: 1;
            box-sizing: border-box
        }

        [id$="_pnlSearchEvents"] > div:nth-of-type(1) {
            text-indent: -900em
        }

        [id$="_pnlSearchEvents"] > div:nth-of-type(2) {
            text-indent: -900em
        }

        [id$="_pnlSearchEvents"] > div select {
            margin: 0;
            border: 0;
            background: none;
            border: 3px solid rgba(255, 255, 255, .2);
            width: auto;
            -webkit-appearance: none;
            -moz-appearance: none;
            appearance: none;
            display: block;
            margin: 0 auto;
            color: #4d4d4d;
            background: rgba(77, 77, 77, .2);
            width: 100%;
            box-sizing: border-box;
            position: absolute;
            top: 0;
            line-height: 1;
            height: 40px
        }

        [id$="_pnlSearchEvents"] > div input {
            margin: 0;
            margin-top: 1rem;
            width: 100%;
            height:40px
        }

        @media (min-width: 800px) {
            [id$="_pnlSearchEvents"] > div input {
                margin: 0
            }
        }

    */

[id$="_pnlEventList"] table, [id$="_pnlEventList"] tbody, [id$="_pnlEventList"] tr {
    display: flex;
    flex-direction: column;
}

[id$="_pnlEventList"] tbody {
    gap: 1rem;
}

[id$="_pnlEventList"] tr:last-of-type .dL-event-wrap {
    border: 0;
}

.dL-event-wrap {
    display: flex;
    flex-direction: column;
    gap: .25rem;
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
    transition: background ease 0.3s;
}

.dL-event-wrap:hover {
    background: rgba(255, 255, 255, 1);
}

.EventTitle {
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: .5rem;
}

.EventDate {
    font-size: 1.4rem;
    width: fit-content;
    font-weight: bold;
}

.EventLocation {
    font-size: 1.4rem;
}

.EventDescription {
    display: none;
}

.EventLinkLabel {
    margin-top: 1rem;
}

.EventLinkLabel a {
    display: inline-block;
    padding: .7rem 3rem;
    color: #fff !Important;
    margin: .5rem 0;
    text-align: center;
    font-weight: 400;
    line-height: 1;
    letter-spacing: .1rem;
    text-transform: uppercase;
    text-decoration: none;
    white-space: normal;
    background: #387512;
    border: 0;
    cursor: pointer;
    box-sizing: border-box;
    letter-spacing: .2rem;
    transition: all ease 0.3s;
    font-family: atrament-web, sans-serif;
    clip-path: polygon(12.5px 0, 100% 0%, calc(100% - 12.5px) 100%, 0% 100%);
    clip-path: polygon(0% 0%, 100% 0%, 100% calc(100% - 12.5px), calc(100% - 12.5px) 100%, 0% 100%);
    font-size: 2rem;
    opacity: 1 !important;
    text-decoration: none !important;
}

/*
    [id$="_pnlEventList"] td.show-event-description {
        background: rgba(163, 163, 162, .3) !important
    }

    [id$="_pnlEventList"] td.show-event-description > span:nth-of-type(3) {
        display: block;
        overflow: auto;
        width: 100%;
        height: 400px;
        background: rgba(255, 255, 255, 1);
        padding: 2rem;
        z-index: 3400;
        position: relative;
        box-sizing: border-box;
        margin-top: 2rem;
        color: #4d4d4d
    }

    */
/*
    .subCalTable {
        width: 100%;
        margin: 0;
        background: #4d4d4d;
    }

    .subCalTable font {
        font-size: initial
    }

    .subCalTable td {
        padding: 0;
        width: 14.2857%;
        position: relative;
        text-align: center
    }

    .subCalHeader {
        width: 100%;
        border-bottom: 1px solid #fff
    }

    .subCalHeader input {
        margin: 0
    }

    .subCalHeader td {
        width: 40px;
        font-size: inherit;
        vertical-align: center;
        height: 40px
    }

    .subCalHeader td:nth-of-type(2) {
        width: calc(100% - 80px);
        padding: 0 1rem;
        font-size: inherit !important
    }

    .subCalHeader td:nth-of-type(1) .button {
        float: left
    }

    .subCalHeader td:nth-of-type(3) .button {
        float: right
    }

    .subCalHeader .button {
        height: 40px;
        width: 40px;
        padding: 0;
        border: 0
    }

    .subCalHeader td a, .subCalHeader td b {
        color: #fff;
        line-height: 40px
    }

    .gridviewHeader td {
        background: #828282;
        color: #fff;
        font-weight: 700
    }

    .subCalTable .gridviewHeader ~ tr td {
        position: relative;
        padding-top: 12%;
        box-sizing: border-box;
        background: #ddd;
        outline: 1px solid #fff
    }

    .subCalTable .gridviewHeader ~ tr td span {
        position: absolute;
        display: block;
        height: 100%;
        width: 100%;
        top: 0;
        left: 0;
        text-align: left;
        box-sizing: border-box;
        padding: 5px !important;
        color: #4d4d4d
    }

    .subCalTable .gridviewHeader ~ tr td span a {
        position: absolute;
        display: block;
        left: 0;
        top: 0;
        padding: 5px !important;
        height: 100%;
        width: 100%;
        background: #41631c;
        color: #fff;
        text-decoration: none;
        transition: all ease .3s;
        box-sizing: border-box
    }

    .subCalTable .gridviewHeader ~ tr td span a:hover {
        background: #749e59
    }

    .subCalTable .gridviewHeader ~ tr td span a:hover > div {
        display: block !important;
        position: absolute
    }

    */

/* Event Details */
#ucEventDetai1_pnlEventDetail {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.event-title {
}

.event-title h2 {
    margin-bottom: .5rem;
}

.event-date {
    display: inline-flex;
    align-self: start;
    color: #387512;
    font-weight: 600;
}

.event-date .event-date-start:after {
    content: "–";
    margin: 0 .5rem;
}

.event-time {
}

.event-date-start {
}

.event-date-end {
}

.event-location {
    font-style: italic;
}

.event-location:after {
    content: "";
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    height: 2rem;
    margin-bottom: 2rem;
    width: 100%;
    display: flex;
}

.event-description {
    background: rgba(0, 0, 0, 0.05);
    padding: 2rem;
    border-radius: 1rem;
}
