﻿a[href^="tel"] {
    font-weight: inherit;
}

div#eventoverview {
    background: #FFF;
    padding: 2%;
    margin: 1.5% 0 2.5% 0;
    box-shadow: 0px 0px 5px #b5b5b5;
}

div#filter {
    background: #eaeaea;
    border-top: 2px solid #cdcdcd;
    border-bottom: 2px solid #cdcdcd;
    padding: 0.5% 0;
    margin-bottom: 2%;
    text-align: center;
}

    div#filter label {
        background: none;
        padding: 0;
        margin-right: 2%;
        text-transform: uppercase;
        display: inline;
        font-weight: 800;
        color: #848484;
    }

div#eventterms {
    margin-top: 4%;
    padding-top: 2.5%;
    border-top: 2px solid #cdcdcd;
}

    div#eventterms h2 {
        text-align: center;
    }

    div#eventterms ol {
        list-style-position: outside;
        padding: 0 5%;
    }

        div#eventterms ol li {
            margin-bottom: 1%;
        }

div#eventoverview p:first-of-type {
    margin-top: 0;
}

div#eventoverview p:last-of-type {
    margin-bottom: 0;
}

#waitinglist tr td:first-of-type {
    font-weight: bold;
    color: #3e1969;
}

#waitinglist tr td:last-of-type {
    text-align: right;
}

#waitinglist a.addbtn {
    font-weight: bold;
    text-transform: uppercase;
    background: #3e1969;
    color: #FFF;
    padding: 3px 10px;
    text-decoration: none;
    border-radius: 7px;
    display: inline-block;
    text-align: center;
    font-size: 15px;
    line-height: normal;
}

    #waitinglist a.addbtn:hover {
        background: #6125a7;
    }

ul#eventlist {
    list-style: none;
    padding: 0;
    margin: 0;
}

    ul#eventlist li:first-of-type {
        margin: 0;
    }

    ul#eventlist li {
        border-top: 2px solid #3e1969;
        border-bottom: 2px solid #3e1969;
        background: #f5f0fe;
        margin: 1.5% 0;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }

        ul#eventlist li h2 {
            font-size: 20px;
        }

        ul#eventlist li h3 {
            margin: 0;
        }

            ul#eventlist li h3.eventcompany {
                margin: 1% 0 1% 0;
                border: 2px solid #000;
                display: inline-block;
                border-radius: 5px;
                padding: 0 1%;
            }

            ul#eventlist li h3.ogevent {
                color: #3e1969;
                border-color: #3e1969;
                background: #ebe1ff;
            }

            ul#eventlist li h3.esevent {
                color: #000;
                border-color: #000;
                background: #FFF;
            }

            ul#eventlist li h3.axevent {
                color: #023160;
                border-color: #023160;
                background: #c9dcfd;
            }

        ul#eventlist li div {
            box-sizing: border-box;
            padding: 1.5%;
        }

            ul#eventlist li div.eventimg {
                width: 15%;
            }

                ul#eventlist li div.eventimg img {
                    width: 100%;
                }

            ul#eventlist li div.bookinginfo {
                width: 32.5%;
                background: #ebe1ff;
                border-left: 1px dashed #a38ecd;
                text-align: center;
                display: flex;
                align-items: center;
            }

                ul#eventlist li div.bookinginfo div {
                    padding: 0;
                    width: 100%;
                }

                    ul#eventlist li div.bookinginfo div.cancelinfo {
                        display: none;
                    }

                    ul#eventlist li div.bookinginfo div img {
                        margin-bottom: 3%;
                    }

                ul#eventlist li div.bookinginfo p {
                    margin: 0;
                }

                    ul#eventlist li div.bookinginfo p span {
                        display: block;
                        font-weight: bold;
                        font-size: 18px;
                        color: #3e1969;
                        text-transform: uppercase;
                    }

                ul#eventlist li div.bookinginfo a.selectbutton {
                    margin: 3% 2%;
                }

            ul#eventlist li div.eventinfo {
                width: 52.5%;
            }

                ul#eventlist li div.eventinfo div {
                    padding: 3% 0 0 0;
                    margin-top: 3%;
                    border-top: 1px dotted #3e1969;
                    display: none;
                }

                    ul#eventlist li div.eventinfo div p:first-of-type {
                        margin-top: 0;
                    }

                    ul#eventlist li div.eventinfo div p:last-of-type {
                        margin-bottom: 0;
                    }

                ul#eventlist li div.eventinfo a.moreinfo {
                    border: 2px solid #3e1969;
                    border-radius: 20px;
                    padding: 0.5% 2%;
                    text-transform: uppercase;
                    display: inline-block;
                    margin-top: 1.5%;
                    text-decoration: none;
                    font-weight: 800;
                    color: #3e1969;
                    transition: all 0.5s;
                }

                    ul#eventlist li div.eventinfo a.moreinfo:hover {
                        color: #6125a7;
                        border-color: #6125a7;
                    }

                ul#eventlist li div.eventinfo ul {
                    padding: 0;
                    margin: 0;
                }

                    ul#eventlist li div.eventinfo ul li {
                        margin: 0;
                        border-bottom: 1px dotted #3e1969;
                        border-top: none;
                        padding: 0.5% 0;
                    }

                        ul#eventlist li div.eventinfo ul li span:first-of-type {
                            font-weight: 800;
                            color: #3e1969;
                            text-transform: uppercase;
                            width: 60%;
                            text-align: left;
                            display: inline-block;
                        }

                        ul#eventlist li div.eventinfo ul li span:last-of-type {
                            width: 40%;
                            display: inline-block;
                            text-align: right;
                        }

                        ul#eventlist li div.eventinfo ul li:last-of-type {
                            border-bottom: none;
                        }

            ul#eventlist li div.bookingsuccess {
                background: #ccfbd6;
            }

                ul#eventlist li div.bookingsuccess h2 {
                    color: #098e2f;
                }

                ul#eventlist li div.bookingsuccess a.selectbutton {
                    background-color: #098e2f;
                }

                ul#eventlist li div.bookingsuccess a:hover {
                    background-color: #1cb146;
                }

            ul#eventlist li div.fulleventinfo {
                display: none;
                background: #FFF;
                flex: 0 1 100%;
                border-top: 1px solid #bcb0d0;
                box-shadow: inset 0px 4px 10px -7px #807f7f;
                text-align: center;
                padding-top: 3%;
                padding-bottom: 3%;
            }

            ul#eventlist li div.bookingfail {
                background: #ffcbcb;
            }

                ul#eventlist li div.bookingfail h2 {
                    color: #ad0c0c;
                }

            ul#eventlist li div.bookingpending {
                background: #eaeaea;
            }

        ul#eventlist li h2, ul#eventlist li a {
            margin: 0
        }

        ul#eventlist li#noavailablity {
            border-color: #ad0c0c;
            background: #ffcbcb;
            color: #ad0c0c;
            font-weight: 800;
            text-align: center;
            display: block;
            padding: 2%;
        }

div.detailssection div.guest {
    overflow: auto;
    border-bottom: 2px dashed #cdcdcd;
    padding: 1.5% 0;
}

    div.detailssection div.guest:first-of-type {
        padding-top: 0;
    }

    div.detailssection div.guest:last-of-type {
        border-bottom: none;
        padding-bottom: 0;
    }

    div.detailssection div.guest h3 {
        display: block;
        color: #FFF;
        text-align: center;
        background: #3e1969;
        padding: 0.5%;
        margin-bottom: 1%;
        border-radius: 6px;
    }

table.guestdetails tr {
    border-bottom: 1px solid #cdcdcd;
}

    table.guestdetails tr:last-of-type {
        border-bottom: none;
    }

    table.guestdetails tr td:nth-of-type(odd) {
        font-weight: 800;
        text-transform: uppercase;
        width: 50%;
    }

div#ballotwarning {
    background-color: #ffcbcb;
    border-top: 2px solid #ad0c0c;
    border-bottom: 2px solid #ad0c0c;
    text-align: center;
    margin-bottom: 2%;
    padding: 1%;
}

    div#ballotwarning h2 {
        color: #ad0c0c;
        margin: 0;
    }

    div#ballotwarning p {
        margin: 0.25% 0 0 0;
    }

        div#ballotwarning p span {
            font-weight: 800;
            color: #ad0c0c;
        }

.guestoptions, .owneroptions, .guestconfirmation {
    padding: 2.5%;
    border: 2px solid #d0c4e6;
    border-radius: 6px;
    margin-bottom: 2%;
    background-color: #f5f0fe;
}

.detailssection h4 {
    margin: 0;
    text-transform: uppercase;
    color: #3e1969;
}

.owneroptions {
    margin-top: 2%;
}

    .guestoptions label, .owneroptions label {
        background-color: #f5f0fe;
    }

    .guestoptions textarea, .owneroptions textarea {
        border: 2px solid #d0c4e6;
        box-sizing: border-box;
        width: 100%;
        resize: none;
    }

        .guestoptions textarea:focus, .owneroptions textarea:focus {
            outline: 2px solid #875cd7;
            border-radius: 0;
        }

.showguestoption {
    display: none;
    padding: 2% 0 0 0;
}

label.eligibleowner {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    background-color: #d0c4e6;
}

    label.eligibleowner input {
        width: 40%;
        border-radius: 0;
    }

    label.eligibleowner a {
        background-color: #3e1969;
        color: #FFF;
        width: 24.42%;
        display: inline-block;
        text-align: center;
        text-transform: uppercase;
        font-weight: 800;
        text-decoration: none;
        padding: 1.5% 0.78%;
        transition: background-color 0.5s;
    }

        label.eligibleowner a:hover {
            background-color: #6125a7;
        }

.comments {
    width: 97%;
    padding: 1.5%;
    border: none;
    border-radius: 6px;
    font-family: 'Assistant', sans-serif;
    font-size: 16px;
}

.dietaryrequirements {
    display: none;
}

div.summary {
    overflow: hidden;
}

    div.summary table tr {
        border-bottom: 1px solid #cdcdcd;
    }

        div.summary table tr:last-of-type {
            border-bottom: none;
        }

        div.summary table tr td:nth-of-type(even) {
            text-align: right;
        }

        div.summary table tr td:nth-of-type(odd) {
            text-transform: uppercase;
            font-weight: 800;
        }

    div.summary table#costsummary tr:last-of-type td {
        font-weight: normal;
        text-transform: none;
    }

/* BADGES */

ul#badgelist {
    list-style: none;
    padding: 0;
    margin: 0;
}

    ul#badgelist li:first-of-type {
        margin: 0;
    }

    ul#badgelist li {
        border-top: 2px solid #3e1969;
        border-bottom: 2px solid #3e1969;
        background: #f5f0fe;
        margin: 1.5% 0;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }

        ul#badgelist li h2 {
            font-size: 20px;
        }

        ul#badgelist li h3 {
            margin: 0 0 1% 0;
        }

        ul#badgelist li div {
            box-sizing: border-box;
            padding: 1.5%;
        }

            ul#badgelist li div.raceimg {
                width: 15%;
            }

                ul#badgelist li div.raceimg img {
                    width: 100%;
                }

            ul#badgelist li div.bookinginfo {
                width: 32.5%;
                background: #ebe1ff;
                border-left: 1px dashed #a38ecd;
                text-align: center;
                display: flex;
                align-items: center;
            }

                ul#badgelist li div.bookinginfo div {
                    padding: 0;
                    width: 100%;
                }

                    ul#badgelist li div.bookinginfo div img {
                        margin-bottom: 3%;
                    }

                ul#badgelist li div.bookinginfo p {
                    margin: 0;
                }

                    ul#badgelist li div.bookinginfo p span {
                        display: block;
                        font-weight: bold;
                        font-size: 18px;
                        color: #3e1969;
                        text-transform: uppercase;
                    }

                ul#badgelist li div.bookinginfo a.selectbutton {
                    margin: 3% 2%;
                }

            ul#badgelist li div.badgeinfo {
                width: 52.5%;
            }

                ul#badgelist li div.badgeinfo div {
                    padding: 3% 0 0 0;
                    margin-top: 3%;
                    border-top: 1px dotted #3e1969;
                    display: none;
                }

                    ul#badgelist li div.badgeinfo div p:first-of-type {
                        margin-top: 0;
                    }

                    ul#badgelist li div.badgeinfo div p:last-of-type {
                        margin-bottom: 0;
                    }

                ul#badgelist li div.badgeinfo a.moreinfo:hover {
                    color: #6125a7;
                    border-color: #6125a7;
                }

                ul#badgelist li div.badgeinfo ul {
                    padding: 0;
                    margin: 0;
                }

                    ul#badgelist li div.badgeinfo ul li {
                        margin: 0;
                        border-bottom: 1px dotted #3e1969;
                        border-top: none;
                        padding: 0.5% 0;
                    }

                        ul#badgelist li div.badgeinfo ul li span:first-of-type {
                            font-weight: 800;
                            color: #3e1969;
                            text-transform: uppercase;
                            width: 60%;
                            text-align: left;
                            display: inline-block;
                        }

                        ul#badgelist li div.badgeinfo ul li span:last-of-type {
                            width: 40%;
                            display: inline-block;
                            text-align: right;
                        }

                        ul#badgelist li div.badgeinfo ul li:last-of-type {
                            border-bottom: none;
                        }

        ul#badgelist li.bookingsuccess, ul#badgelist li.bookingsuccess div.bookinginfo, ul#badgelist li.bookingsuccess div.badgeinfo ul li {
            background: #ccfbd6;
            border-color: #098e2f;
        }

            ul#badgelist li.bookingsuccess div.badgeinfo ul li span:nth-of-type(odd) {
                color: #098e2f;
            }

            ul#badgelist li.bookingsuccess h2 {
                color: #098e2f;
            }

            ul#badgelist li.bookingsuccess a.selectbutton {
                background-color: #098e2f;
            }

            ul#badgelist li.bookingsuccess a:hover {
                background-color: #1cb146;
            }

        ul#badgelist li.bookingfail, ul#badgelist li.bookingfail div.bookinginfo, ul#badgelist li.bookingfail div.badgeinfo ul li {
            background: #ffcbcb;
            border-color: #ad0c0c;
        }

            ul#badgelist li.bookingfail div.badgeinfo ul li span:nth-of-type(odd) {
                color: #ad0c0c;
            }

            ul#badgelist li.bookingfail h2 {
                color: #ad0c0c;
            }

        ul#badgelist li.bookingpending, ul#badgelist li.bookingpending div.bookinginfo, ul#badgelist li.bookingpending div.badgeinfo ul li {
            background: #eaeaea;
            border-color: #adadad;
        }

            ul#badgelist li.bookingpending h2, ul#badgelist li.bookingpending div.badgeinfo ul li span:nth-of-type(odd), ul#badgelist li.bookingpending div.bookinginfo span {
                color: #5d5d5d;
            }

            ul#badgelist li.bookingpending div.bookinginfo a {
                background-color: #5d5d5d;
            }

        ul#badgelist li h2, ul#badgelist li a {
            margin: 0
        }

        ul#badgelist li#noavailablity {
            border-color: #ad0c0c;
            background: #ffcbcb;
            color: #ad0c0c;
            font-weight: 800;
            text-align: center;
            display: block;
            padding: 2%;
        }

        ul#badgelist li div.fulleventinfo {
            display: none;
            background: #FFF;
            flex: 0 1 100%;
            border-top: 1px solid #bcb0d0;
            box-shadow: inset 0px 4px 10px -7px #807f7f;
            padding-top: 3%;
            padding-bottom: 3%;
        }

            ul#badgelist li div.fulleventinfo a:hover {
                background: none;
            }

            ul#badgelist li div.fulleventinfo h2, ul#badgelist li div.fulleventinfo h3 {
                text-align: center;
            }

.bookinginfo div.error {
    font-weight: bold;
    text-align: center;
}

.bookinginfo div.errorHidden {
    font-weight: bold;
    text-align: center;
}

.bookinginfo div.radiobuttonblock {
    margin: 3% 0;
}

    .bookinginfo div.radiobuttonblock label {
        background-color: transparent;
    }

span.cancelled {
    display: block;
    text-align: center;
    text-transform: uppercase;
    border: 2px solid #ad0c0c;
    font-weight: 800;
    color: #ad0c0c;
    background: #ffcbcb;
    border-radius: 6px;
    font-size: 22px;
    padding: 1.5%;
    margin-top: 2%;
}

ul.multipledates {
}

ul#eventlist li div ul.multipledates li {
    border: none;
    padding: 0;
    margin: 0;
    display: inline-block;
}

    ul#eventlist li div ul.multipledates li:after {
        content: ',';
    }

    ul#eventlist li div ul.multipledates li:first-of-type:after {
        content: '';
    }

    ul#eventlist li div ul.multipledates li:last-of-type:after {
        content: '.';
    }

.eventdates {
    display: flex;
    flex-wrap: wrap;
}

    .eventdates label {
        border-radius: 0;
        padding: 0;
        margin: 7px 0;
        flex: 1 0 30%;
        background: none;
    }

        .eventdates label input, .eventdates label span {
            width: auto;
            vertical-align: middle;
        }

        .eventdates label input {
            height: 20px;
            width: 20px
        }

.eventseries table tr td {
    vertical-align: top;
}

    .eventseries table tr td span {
        display: block;
    }



@media only screen and (max-width: 1500px) {

    label.eligibleowner input {
        width: 24%;
    }

    label.eligibleowner a {
        width: 32.42%;
        padding: 1.5% 0.78%;
    }
}

@media only screen and (max-width: 1175px) {

    div#eventterms {
        padding-bottom: 6%;
    }

    ul#eventlist li {
        margin: 3% 0;
    }

        ul#eventlist li div {
            padding: 2.5%;
        }

            ul#eventlist li div.bookinginfo {
                width: 100%;
                border-top: 1px dashed #a38ecd;
                border-left: none;
            }

            ul#eventlist li div.eventimg {
                width: 25%;
            }

            ul#eventlist li div.eventinfo {
                width: 75%;
            }

            ul#eventlist li div.bookinginfo a.selectbutton {
                margin: 2% 2%;
            }

            ul#eventlist li div.bookinginfo div img {
                margin-bottom: 1.5%;
            }

    label.eligibleowner {
        background-color: #d0c4e6;
    }

        label.eligibleowner input {
            width: 34%;
        }

        label.eligibleowner a {
            width: 22.42%;
            padding: 1.5% 0.78%;
        }

    .guestoptions {
        margin-top: 2%;
        margin-bottom: 0;
    }

    .guestoptions, .owneroptions {
        padding: 4%;
    }

    div.detailssection div.guest {
        padding: 3% 0;
    }

    div#ballotwarning {
        margin: 4% 0;
        padding: 3%;
    }

        div#ballotwarning p span {
            display: block;
        }

    div.costsummary {
        margin-top: 2%;
        padding-top: 2%;
        border-top: 1px solid #CDCDCD;
    }

    .eventdates label {
        flex: 1 0 50%;
    }

        .eventdates label span {
            display: inline;
        }

    /* BADGES */

    ul#badgelist {
        margin-bottom: 10%;
    }

        ul#badgelist li {
            margin: 3% 0;
        }

            ul#badgelist li div {
                padding: 2.5%;
            }

                ul#badgelist li div.bookinginfo {
                    width: 100%;
                    border-top: 1px dashed #a38ecd;
                    border-left: none;
                }

                ul#badgelist li div.raceimg {
                    width: 25%;
                }

                ul#badgelist li div.badgeinfo {
                    width: 75%;
                }

                ul#badgelist li div.bookinginfo a.selectbutton {
                    margin: 2% 2%;
                }

                ul#badgelist li div.bookinginfo div img {
                    margin-bottom: 1.5%;
                }
}

@media only screen and (max-width: 640px) {

    div#eventoverview {
        padding: 4%;
        margin: 3.5% 0 4.5% 0;
    }

    div#filter span {
        display: block;
    }

    ul#eventlist li {
        margin: 6% 0;
    }

        ul#eventlist li div {
            padding: 3%;
        }

            ul#eventlist li div:first-of-type {
                padding-bottom: 0%;
            }

            ul#eventlist li div.eventimg, ul#eventlist li div.eventinfo {
                width: 100%;
            }

                ul#eventlist li div.eventinfo h3 {
                    text-align: center;
                }

        ul#eventlist li h3.eventcompany {
            display: block;
            margin: 1% auto 3% auto;
        }

        ul#eventlist li div.eventinfo a.moreinfo {
            display: block;
            text-align: center;
        }

    div#eventterms ol {
        list-style-position: outside;
        padding: 0 8%;
    }

    label.eligibleowner {
        background: none;
    }

        label.eligibleowner input {
            padding: 2.5%;
            border-radius: 5px;
            box-sizing: border-box;
            border: 2px solid #d0c4e6;
            width: 100%;
        }

        label.eligibleowner a {
            width: 98%;
            padding: 1%;
            margin-top: 2%;
            margin-bottom: 4%;
        }

    div.detailssection div.guest {
        padding: 5% 0;
    }

    ul#eventlist li div ul.multipledates {
        text-align: center;
    }

    .eventdates label {
        flex: 1 0 100%;
    }

    /* BADGES */

    ul#badgelist li div {
        padding: 3%;
    }

        ul#badgelist li div:first-of-type {
            padding-bottom: 0%;
        }

        ul#badgelist li div.raceimg, ul#badgelist li div.badgeinfo {
            width: 100%;
        }
}

@media only screen and (max-width: 350px) {
}

@media only screen and (max-width: 320px) {
}
