/* Minification failed. Returning unminified contents.
(1393,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(1395,25): run-time error CSS1039: Token not allowed after unary operator: '-border-radius'
(1419,34): run-time error CSS1039: Token not allowed after unary operator: '-border-radius'
(1420,35): run-time error CSS1039: Token not allowed after unary operator: '-border-radius'
(1434,34): run-time error CSS1039: Token not allowed after unary operator: '-border-radius'
(1435,38): run-time error CSS1039: Token not allowed after unary operator: '-border-radius'
 */
@font-face {
    font-family: 'junegull';
    src: url('/Content/fonts/junegull.ttf') format('truetype');
}

/*******************************************************************
                   CSS FOR ALL PAGES AND ITEMS
*******************************************************************/


/**********************************
    Generic Page CSS
**********************************/
* {
    box-sizing: border-box;
}

body {
    left: 0px;
    margin-top: 35px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

a, a:active, a:visited, a:hover {
    color: #467ed5;
    text-decoration: underline;
}


h1, h2, h3, h4 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #1a1a1a;
    font-weight: normal;
    padding-top: 10px;
    padding-left: 10px;
}

    h1 img {
        cursor: pointer;
        top: 3px;
        padding-left: 10px;
        padding-right: 3px;
    }

#contentContainer h1 {
    padding-left: 0 !important;
    /*padding-top: 0 !important;*/
    margin-top: 5px !important;
}

#contentContainer {
    position: relative;
    margin-right: 30px;
    width: 100%;
    height: 100%;
    min-width: 100px;
    background-color: white;
}

h1.masthead {
    font-family: 'junegull';
    color: #467ed5;
}

.smallText {
    font-size: smaller !important;
    font-weight: normal !important;
    text-decoration: none !important;
}

.pdfLink {
    text-decoration: none;
    font-weight: bold;
}

.pdf:link:hover {
    text-decoration: underline !important;
}

.pdfLink:before {
    content: url('../../Images/pdf.png');
    vertical-align: middle;
    padding-right: 5px;
    padding-top: 1px;
}

section {
    position: relative;
    top: 15px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 20px;
}

hr {
    width: 70%;
    border: 0;
    margin-top: 30px;
    margin-bottom: 20px;
    height: 1px;
    background: rgba(70, 126, 213, 0.00);
    background-image: -webkit-linear-gradient(left, rgba(70,126,213,0), rgba(70,126,213,0.75), rgba(70,126,213,0));
    background-image: -moz-linear-gradient(left, rgba(70,126,213,0), rgba(70,126,213,0.75), rgba(70,126,213,0));
    background-image: -ms-linear-gradient(left, rgba(70,126,213,0), rgba(70,126,213,0.75), rgba(70,126,213,0));
    background-image: -o-linear-gradient(left, rgba(70,126,213,0), rgba(70,126,213,0.75), rgba(70,126,213,0));
}

.moreInfoText {
    display: none; /* Currently using event divs - moreInfoText to go above club event table list */
    font-size: small;
    font-style: italic;
    text-align: right;
    padding-bottom: 5px;
}

.errorMsg {
    color: red;
    font-weight: bold;
    padding: 10px;
    margin: 3px;
    line-height: 25px;
    background-color: #d1dff5;
}

.infoMsg {
    color: #467ed5;
    /*font-weight: bold;*/
    padding: 10px;
    margin: 3px;
    line-height: 25px;
    background-color: #d1dff5;
}

    .errorMsg img, .infoMsg img {
        width: 25px;
        height: 25px;
        vertical-align: text-top;
    }

.eventContainer .errorMsg, .eventContainer .infoMsg {
    border: none !important;
    background: none !important;
}

/**********************************
    Year Selector
**********************************/

#yearSelector select {
    position: absolute;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #1a1a1a;
    width: 75px;
    height: 30px;
    text-align: center;
    border: 0;
    outline: none;
    background: none;
    opacity: 0;
    cursor: pointer;
    margin-left: -52px;
}

#yearSelector option {
    text-align: center;
    padding: 5px;
}

#yearSelector label {
    position: relative;
    font-size: 1.0em;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-right: 0px;
}

    #yearSelector label:after {
        content: url('../../Images/dn-arrow.png');
        position: absolute;
        top: 0px;
        right: -20px;
    }

.yearSelectorForm {
}

    .yearSelectorForm input#yearSelectorButton {
        margin-left: 30px;
        position: relative;
        border-radius: 0;
        background: #467ed5;
        color: #fff;
        border: 0;
        padding: 3px;
        outline: none;
        bottom: 3px;
        cursor: pointer;
    }

/* Media rule to make yearSelectorButton neater when it drops to second line */
@media screen and (max-width: 440px) {
    .yearSelectorForm input#yearSelectorButton {
        margin-top: 13px;
    }
}

/**********************************
    Month Selector
**********************************/

#monthSelector select {
    position: absolute;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #1a1a1a;
    text-align: center;
    border: 0;
    outline: none;
    background: none;
    opacity: 0;
    cursor: pointer;
    height: 30px;
}

#monthSelector option {
    text-align: center;
    padding: 5px;
}

#monthSelector label {
    position: relative;
    font-size: 1.0em;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-right: 0px;
}

    #monthSelector label:after {
        content: url('../../Images/dn-arrow.png');
        position: absolute;
        top: 0px;
        right: -20px;
    }


/**********************************
    Mask to dim rest of page when menu is shown
**********************************/
.mask {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 8;
    width: 100%;
    height: 100%;
    background: #000000;
    opacity: 0;
    display: block;
}


/**********************************
    Table rules
**********************************/

.tableHeader {
    padding: 5px;
    font-weight: bold;
    color: white;
    background-color: #4880d7;
}

.blueRow {
    background-color: #d1dff5;
}

.greyRow {
    background-color: #cccccc;
}


/**********************************
    Google Ads At Bottom Of Page
**********************************/

#google_ads {
    margin: auto;
    margin-top: 100px;
    width: 468px;
    height: 60px;
}

/**********************************
    Footer style
**********************************/
#footer {
    display:flex;
    flex-direction: row;
    align-items: center;
    position: relative;
    font-size: small;
    margin-top: 20px;
    padding: 0.5em 10px;
    color: #fff;
    bottom: 0;
    left: 0;
    min-height: 35px;
    background-color: #467ed5;
    width: 100%;
}

#footertext {
    display: flex;
    flex-direction: column;
    width: 100%;
    color: #fff;
}

.footerLinks {
    margin-top: 0.5em;
}

#footertext .copyright {
    flex-grow: 1;
}

#footertext a {
    color: #FFF;
}

.socialButtonsFooter {
    align-self: flex-start;
    flex-shrink: 0;
}

    .socialButtonsFooter a {
        display: inline-block;
        margin: 0px;
    }

.fb-iconFooter {
    width: 25px;
    height: 25px;
    background: url('/Images/social-icons.png') 0 0;
}

    .fb-iconFooter:hover {
        background: url('/Images/social-icons.png') 25px 0;
    }

.tw-iconFooter {
    width: 25px;
    height: 25px;
    background: url('/Images/social-icons.png') 0 50px;
}

    .tw-iconFooter:hover {
        background: url('/Images/social-icons.png') 25px 50px;
    }

.ig-iconFooter {
    width: 25px;
    height: 25px;
    background: url('/Images/social-icons.png') 0 25px;
}

    .ig-iconFooter:hover {
        background: url('/Images/social-icons.png') 25px 25px;
    }

/**********************************
    Scroll to top button
**********************************/

.scrollToTop {
    width: 40px;
    height: 40px;
    border-radius: 200px;
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: none;
    text-indent: -9999px;
    border: 1px solid #ccc;
    background-image: url('/Images/up-arrow.png');
    background-repeat: no-repeat;
    background-position: center;
    background-color: #467ed5;
    z-index: 5;
}

/**********************************
    Social Buttons
**********************************/

.socialButtonsHeader {
    float: right;
    vertical-align: middle;
}

    .socialButtonsHeader a {
        display: inline-block;
    }

.fb-iconHeader {
    width: 40px;
    height: 40px;
    margin-right: 18px;
    background: url('/Images/big_sprites_smaller.png') 0 0;
}

    .fb-iconHeader:hover {
        background: url('/Images/big_sprites_smaller.png') 40px 0;
    }

.tw-iconHeader {
    width: 40px;
    height: 40px;
    margin-right: 14px;
    background: url('/Images/big_sprites_smaller.png') 0 80px;
}

    .tw-iconHeader:hover {
        background: url('/Images/big_sprites_smaller.png') 40px 80px;
    }

.ig-iconHeader {
    width: 40px;
    height: 40px;
    margin-right: -10px;
    background: url('/Images/big_sprites_smaller.png') 0px 40px;
}

    .ig-iconHeader:hover {
        background: url('/Images/big_sprites_smaller.png') 40px 40px;
    }

/**********************************
    Cookies Notification
**********************************/
#cookies_notify {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 100%;
    height: auto;
    background: white;
    display: none;
    border-top: 1px solid black;
    text-align: center;
}

#cookies_notify_text {
    font-size: 0.8em;
    margin: 3px;
}

#cookies_notify_close_button {
    float: right;
    margin: 3px;
    font-size: 1.2em;
    color: black;
    width: 20px;
    height: 20px;
    cursor: pointer;
    background: #e1e1e1;
    padding: 0;
    text-align: center;
    line-height: 15px;
    vertical-align: middle;
}

#cookies_notify_close_button:hover {
    background: #c1c1c1;
}

#cookies_notify_accept_button {
    color: white;
    padding: 5px;
    outline: none;
    border: 0;
    font-size: 80%;
    margin: 3px;
}

.cc-revoke.cc-bottom {
    left: unset !important;
    right: 0.5em;
    padding: 0.1em;
}

.info-banner {
    width: 100%;
    border: #AAA 1px solid;
    padding: 0.5em;
}
    .info-banner p:last-child {
        margin-bottom: 0;
    }

/**********************************
    Covid-19 Banner
**********************************/
.covid-banner {
    background-color: rgba(219, 91, 86, 0.35);
}

    .covid-banner h4 {
        color: #467ed5;
        font-family: 'junegull';
        font-size: 1.1em;
        margin: 0;
        padding: 0;
    }

    .covid-banner a {
        color: #467ed5;
        font-weight: bold;
    }


/**********************************
    Recruitment Banner
**********************************/
.recruitment-banner {
    background-color: rgba(70, 126, 213, 0.2);
    margin-top: 0.5em;
}
    .recruitment-banner h4 {
        font-family: 'junegull';
        font-size: 1.1em;
        padding: 0;
        margin: 0;
        color: #467ed5;
    }

    .recruitment-banner h5 {
        margin-top: 0.5em;
        margin-bottom: 0;
        padding:0;
        font-size: 1em;
    }

    .recruitment-banner p:first-of-type {
        margin-top: 0;
    }


/*
    Media rules for social media and footer when browser smaller than 400px
*/

@media screen and (max-width:400px) {
    #footertext {
        text-align: left;
        padding: 0 5px;
    }
}

@media screen and (max-width: 310px) {
    .socialButtonsFooter {
        display: none;
    }
}

/* Stops social buttons overlapping adverts */

@media screen and (min-width: 860px) {
    .socialButtonsFooter {
        display: none;
    }

    #footertext {
        flex-direction: row;
    }

    .footerLinks {
        margin-top: initial;
    }
}

@media screen and (max-width: 860px) {
    .twitter-follow-button {
        display: none;
    }

    .socialButtonsHeader {
        display: none;
    }

    #fb-root {
        display: none !important;
    }

    .fb-like {
        display: none !important;
    }
}


/**********************************
    Media Rules
**********************************/

/* On desktop browsers (larger than 1000px) display the content as a max-width of 1000px with a border, and have a body background color. */
@media screen and (min-width:1000px) {
    #contentContainer {
        margin-left: auto;
        margin-right: auto;
        max-width: 1000px;
        /*border: 1px solid #0d77b6;
        border-left-style: inset;
        border-right-style: outset;
        border-bottom-style: outset;
        border-top-style: inset;*/
        -webkit-box-shadow: 0px 0px 21px 0px rgba(0,0,0,0.75);
        -moz-box-shadow: 0px 0px 21px 0px rgba(0,0,0,0.75);
        box-shadow: 0px 0px 21px 0px rgba(0,0,0,0.75);
    }

    body {
        background-color: #eeeeee;
    }

    section {
        padding-left: 30px;
        padding-right: 30px;
    }
}

@media screen and (min-width: 700px) {
    .recruitment-banner {
        display: none;
    }
}

/*******************************************************************
                   CSS FOR TOP AND LEFT MENUS
*******************************************************************/


/**********************************
    Top Bar CSS
**********************************/

#topBarContainer {
    background-color: #467ed5;
    border-bottom: 1px solid #fff;
    position: fixed;
    margin: auto;
    width: 100%;
    top: 0px;
    left: 0px;
    z-index: 1001;
    line-height: 35px;
    height: 40px;
}

#toggleMenuButton {
    position: relative;
    vertical-align: middle;
    left: 10px;
    width: 25px;
    height: 25px;
    background: url(/Images/menu.png) no-repeat;
    border: 0;
    outline: none;
    cursor: pointer;
}

/**********************************
    Top bar menu CSS
**********************************/
.topMenu ul {
    display: inline-block;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

    .topMenu ul li {
        float: left;
    }

        .topMenu ul li:first-of-type {
            border-left: 1px solid #fff;
        }

        .topMenu ul li a {
            text-decoration: none;
            text-align: center;
            font-size: 0.8em;
            display: block;
            min-width: 60px;
            max-width: 100px;
            margin: 0;
            padding: 2px 5px;
            border-right: 1px solid #fff;
            background: #467ed5;
            color: #fff;
        }
            /* Style the menu's links. */

            .topMenu ul li a:hover {
                background: #fff !important;
                color: #467ed5 !important;
            }

            .topMenu ul li a:active {
                background: #eee !important;
                color: #467ed5 !important;
            }

            .topMenu ul li a:visited {
                color: #fff;
            }

        /* For the drop-down sections of the li (extra uls) style the li and the links */

        .topMenu ul li ul {
            display: none;
        }

        .topMenu ul li:hover ul {
            display: block;
            position: absolute;
            border: 1px solid lightgray;
        }

        .topMenu ul li ul li:first-of-type {
            border-top: none !important;
        }

        .topMenu ul li ul li {
            float: none;
            border-top: 1px solid lightgray;
        }

            .topMenu ul li ul li a {
                text-decoration: none;
                text-align: center;
                font-size: 0.8em;
                display: block;
                min-width: 60px;
                max-width: 120px;
                margin: 0;
                padding: 2px 5px;
                background: #fff;
                color: #467ed5;
                border: none;
            }

            .topMenu ul li ul li:first-of-type {
                border-left: none;
            }

            .topMenu ul li ul li a:hover {
                background: #467ed5 !important;
                color: #fff !important;
            }

            .topMenu ul li ul li a:active {
                background: #467ed5 !important;
                color: #eee !important;
            }

            .topMenu ul li ul li a:visited {
                color: #467ed5;
            }

#topLogo {
    position: relative;
    margin-right: 10px;
    width: 90px;
    height: auto;
    top: -3px;
    left: 7px;
    cursor: pointer;
}

#topLogoSmall {
    position: relative;
    vertical-align: middle;
    margin-right: 5px;
    width: 75px;
    height: auto;
    left: 15px;
}

/**********************************
    Search box at top of page
**********************************/

.searchBoxContainer {
    background-color: #eee;
    padding: 0px;
    position: relative;
    top: 5px;
    right: 5px;
    float: right;
    width: 200px;
    height: 27px;
    border-radius: 20px;
    box-sizing: border-box;
    /*-webkit-box-shadow: 0 2px 6px 1px rgba(199, 199, 199, 0.55) inset, 0 2px 4px 2px rgba(255, 255, 255, 0.83) inset;
    -moz-box-shadow: 0 2px 6px 1px rgba(199, 199, 199, 0.55) inset, 0 2px 4px 2px rgba(255, 255, 255, 0.83) inset;
    box-shadow: 0 -2px 6px 1px rgba(199, 199, 199, 0.55) inset, 0 2px 4px 2px rgba(255, 255, 255, 0.83) inset;*/
}

    .searchBoxContainer input#searchBox {
        width: 170px;
        height: 20px;
        padding-left: 10px;
        padding-top: 3px;
        margin: 0 0 0 3px;
        position: absolute;
        top: 3px;
        border-radius: 20px;
        border: none;
        color: #000;
        font-weight: 500;
        background-color: #fff !important ;
        outline: none;
        -webkit-box-shadow: 0 2px 2px 0 rgba(199, 199, 199, 0.55), 0 1px 1px 0 #fff, 0 2px 2px 1px #fafafa, 0 2px 4px 0 #b2b2b2 inset, 0 1px 1px 0 #f2f2f2 inset, 0 15px 15px 0 rgba(41, 41, 41, 0.09) inset;
        -moz-box-shadow: 0 2px 2px 0 rgba(199, 199, 199, 0.55), 0 1px 1px 0 #fff, 0 2px 2px 1px #fafafa, 0 2px 4px 0 #b2b2b2 inset, 0 1px 1px 0 #f2f2f2 inset, 0 15px 15px 0 rgba(41, 41, 41, 0.09) inset;
        box-shadow: 0 0 0 0 rgba(199, 199, 199, 0.55), 0 1px 1px 0 #e1e1e1, 0 2px 2px 1px #fafafa, 0 2px 1px 0 #b2b2b2 inset, 0 -1px 1px 0 #f2f2f2 inset, 0 5px 5px 0 rgba(41, 41, 41, 0.09) inset;
    }

    .searchBoxContainer input#searchButton {
        position: absolute;
        width: 19px;
        height: 19px;
        text-indent: -9999px;
        overflow: hidden;
        background: url(/images/search-icon.png) no-repeat;
        border: 0;
        right: 4px;
        top: 5px;
        cursor: pointer;
        outline: none;
    }



/**********************************
    Left slide-out menu CSS
**********************************/
.leftMenu {
    background: #fff;
    position: fixed;
    -webkit-overflow-scrolling: touch;
}

    .leftMenu h3 {
        background: #fff;
        padding: 5px;
        border-bottom: 1px solid #467ed5;
        margin: 0;
    }

#menuLogo {
    width: 100%;
    max-width: 130px;
    cursor: pointer;
}

.leftMenu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

    .leftMenu ul li a {
        display: block;
        font-size: 0.8em;
        font-weight: 300;
        font-weight: bold;
        text-decoration: none !important;
    }

        .leftMenu ul li a:hover {
            background: #467ed5;
            color: #fff !important;
        }

        .leftMenu ul li a:active {
            background: #d1dff5;
            color: #467ef5 !important;
        }

        .leftMenu ul li a:visited {
            color: #467ed5;
        }

    /* Dropdown for slide menu */
    .leftMenu ul li {
        position: relative;
    }

        .leftMenu ul li ul {
            display: none;
            position: relative;
        }

        .leftMenu ul li:hover ul {
            display: block;
            position: absolute;
            float: right;
            margin-left: 130px;
            margin-top: -35px;
        }

        .leftMenu ul li ul li:first-of-type {
            border-top: 1px solid #467ed5;
        }

        .leftMenu ul li ul li a {
            background: white;
            color: #467ed5;
            min-width: 130px;
            border-left: 1px solid #467ed5;
        }

            .leftMenu ul li ul li a:hover {
                background: #467ed5;
                color: #fff !important;
            }

            .leftMenu ul li ul li a:active {
                background: #d1dff5;
                color: #467ef5 !important;
            }

            .leftMenu ul li ul li a:visited {
                color: #467ed5;
            }

/* Defines the slide-out menu's height, width and position. */
.leftMenu-vertical {
    width: 130px;
    height: 100%;
    top: 40px;
    z-index: 10;
}

    .leftMenu-vertical a {
        border-bottom: 1px solid #467ed5;
        padding: 0.6em;
    }

.leftMenu-left {
    left: -130px;
}

    .leftMenu-left.leftMenu-open {
        left: 0px;
    }


/* Defines the transition to slide the menu out. */
.leftMenu-push {
    overflow-x: hidden;
    position: relative;
    left: 0;
}

.leftMenu-push-toright {
    left: 130px;
    overflow: hidden;
}

.leftMenu,
.leftMenu-push {
    -webkit-transition: left 0.3s ease-in-out;
    -moz-transition: left 0.3s ease-in-out;
    transition: left 0.3s ease-in-out;
}

/**********************************
    Media Rules
**********************************/

/* Hide the navMenu logo and make the text smaller on browsers shorter than 450px height. */
@media screen and (max-height:450px) {
    .leftMenu h3 {
        display: none;
    }

    .leftMenu a {
        padding: 5px;
    }

        .leftMenu a:before {
            display: none;
            content: url('/Images/rt-arrow.png');
            position: relative;
            vertical-align: middle;
            padding-right: 5px;
        }
}

/* Hide the search box on browsers smaller than 350px wide. */
@media screen and (max-width:350px) {
    .searchBoxContainer {
        display: none;
    }
}

/*******************************************************************
                      CSS FOR CLUB/SERIES PAGES
*******************************************************************/

/**********************************
    CSS for page listing the club/series
**********************************/

.clubListContainer, .clubListContainer a {
    text-align: center;
    text-decoration: none !important;
}

.clubListDiv {
    position: relative;
    display: inline-block;
    margin-bottom: 10px;
    vertical-align: middle;
    width: 150px;
    text-align: center;
}

.clubListLogoDiv {
    line-height: 140px;
    background-color: #fff;
    border: 2px solid lightgray;
}

.clubListLogo {
    vertical-align: middle;
    max-width: 125px;
    height: auto;
    max-height: 125px;
}

.clubListTitle {
    font-size: 0.9em;
    color: #fff;
    background-color: #467ed5;
    width: 100%;
    overflow-x: hidden;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/**********************************
    CSS for viewing events by specific club/series
**********************************/

#clubContainer {
    position: relative;
    display: flex;
    display: -webkit-flex;
    margin: auto;
    border-radius: 20px;
    /*border: 1px solid #467ed5;*/
    background-color: #eee;
    -webkit-box-shadow: 0px 0px 21px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 21px 0px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 21px 0px rgba(0,0,0,0.75);
}

#clubImage {
    position: relative;
    margin: 30px;
    border: 2px solid lightgray;
    background-color: white;
    vertical-align: middle;
    width: 175px;
    height: 100%;
    text-align: center;
}

#clubLogo {
    line-height: 165px;
}

    #clubLogo img {
        vertical-align: middle;
        max-width: 150px;
        height: auto;
        max-height: 150px;
    }

#clubWebsite {
    background-color: #467ed5;
    color: #fff;
    width: 100%;
    margin-top: 1px;
    border-top: 2px solid lightgray;
    padding: 0 2px 2px 2px;
}

    #clubWebsite a {
        color: #fff;
        font-size: 0.9em;
    }

#clubText {
    flex: 1;
    -webkit-flex: 1;
    vertical-align: top;
    padding: 10px 30px 10px 0;
    text-align: left;
}

/**********************************
    Accordion to filter results by races/testing
**********************************/

.ui-accordion-header h4 img {
    float: left;
    margin-right: 5px;
    vertical-align: middle;
    height: 15px;
    width: 15px;
    -webkit-transition: transform 0.5s;
}

.ui-accordion-header.ui-state-active h4 img {
    -ms-transform: rotate(90deg); /* IE 9 */
    -webkit-transform: rotate(90deg); /* Chrome, Safari, Opera */
    transform: rotate(90deg);
}

#accordion a {
    text-decoration: none;
}

#accordion .ui-state-focus, .ui-accordion-header {
    outline: none;
}

#accordion h4 {
    cursor: pointer;
}

/**********************************
    Tabs styling
**********************************/

#eventTabs {
    /*border: 1px solid lightgray;*/
    padding: 0;
    border-radius: 5px 5px 0 0;
    /*background: #fafafa;*/
}

    #eventTabs > div {
        padding: 5px;
    }

    #eventTabs .ui-tabs-nav {
        padding-top: 10px;
        background: rgba(70, 126, 213, 0.50);
        border-radius: 5px;
        padding-left: 10px;
    }

    #eventTabs ul {
        list-style-type: none;
        margin: 0px;
        padding: 0px;
    }

        #eventTabs ul li {
            display: inline-block;
            margin: 0 1px;
            background: #ddd;
            border-radius: 5px 5px 0 0;
            border: 1px solid #fff;
            border-bottom: 0;
            /*margin-bottom: -1px;*/
        }

            #eventTabs ul li a {
                display: block;
                padding: 5px 15px;
                outline: none;
                text-decoration: none;
            }

    #eventTabs .ui-tabs-active {
        background: #fff;
        border-bottom: 1px solid #fff !important;
    }



/**********************************
    List of event divs
**********************************/
.clubEventDivs {
    margin-top: 15px;
}

    .clubEventDivs a {
        color: black;
        text-decoration: none;
    }

.clubEventContainer {
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    position: relative;
    border: 1px solid #aaaaaa;
    background-color: #eeeeee;
    width: 100%;
    margin: auto;
    margin-bottom: 2px;
}

.clubEventInfo {
    width: 100%;
    height: 80%;
    font-size: small;
}

.clubEventMap {
    display: inline-block;
    width: 115px;
    height: auto;
    border: 2px solid lightgray;
    position: relative;
    vertical-align: middle;
}

.clubEventMapImg {
    width: 100%;
    height: 68px;
}

.clubEventMapText {
    margin-top: -5px;
    width: 100%;
    background-color: #467ed5;
    padding: 3px 2px 2px 2px;
    font-weight: bold;
    text-align: center;
    font-size: 0.7em;
    color: white;
}

.clubEventText {
    display: inline-block;
    vertical-align: top;
    margin: 5px;
    height: auto;
    vertical-align: middle;
}

.clubEventContainer:after {
    content: url('../../Images/rt-arrow.png');
    position: absolute;
    float: right;
    right: 10px;
    top: 40%;
    width: 15px;
    height: auto;
}

/**************************************
    Badges

***************************************/

.badgeContainer {
    margin-right: 13px;
    float: right;
    cursor: default;
}

.liveTimingBadge {
    color: #467ed5;
    border: 1px solid #d3d3d3;
    background: #fff;
    float: right;
    margin: 5px 2px;
    font-size: 0.9em;
    font-weight: bold;
    text-align: center;
    border-radius: 7px;
    padding: 3px;
    cursor: pointer;
}

.eventTypeBadge {
    color: #467ed5;
    border: 1px solid #d3d3d3;
    background: #fff;
    float: right;
    margin: 5px 2px;
    font-size: 0.9em;
    font-style: italic;
    font-weight: bold;
    text-align: center;
    border-radius: 7px;
    padding: 3px;
    cursor: pointer;
}    

/**********************************
    Media Rules
**********************************/

/* On browsers smaller than 600px, hide the club description and set the margin and center the clubImage */
@media screen and (max-width:550px) {
    #clubImage {
        margin: 15px auto;
    }

    #clubContainer {
        text-align: center;
    }

    #clubContainer {
        display: initial;
        background: none;
        border: none;
    }

    #clubText {
        display: none;
    }
}

/* On browsers less than 350px wide, make the club list divs smaller to fit more than 1 on a row. Remove eventMap on events list so no overlapping */
@media screen and (max-width:350px) {
    .clubListTitle {
        font-size: small;
    }

    .clubListDiv {
        width: 100px;
    }

    .clubListLogoDiv {
        line-height: 100px;
    }

    .clubListLogo {
        width: 75px;
    }

    .clubListTitle {
        padding: 0 2px;
    }

    #clubContainer {
        min-width: 200px;
    }

    .clubEventMap {
        width: 33%;
        height: auto;
        display: none;
    }
}

/* Allow the clubEventText to only be 150px wide and wrap on browsers smaller than 350px */
@media screen and (max-width: 450px) {
    .clubEventText {
        max-width: 150px;
    }
}

@media screen and (max-width:300px) {
    .clubEventMap {
        display: none;
    }

    .clubEventContainer:after {
        display: block !important;
    }
}

/*******************************************************************
                          CSS FOR EVENTS
*******************************************************************/

/**********************************
    CSS rules for listing events
**********************************/

.eventContainer {
    --border-radius: 15px;

    border-radius: var(--border-radius);
    text-align: center;
    position: relative;
    /*border: 1px solid #467ed5;*/
    background-color: #eee;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
    -webkit-box-shadow: 0px 0px 21px 0px rgba(0,0,0,0.5);
    -moz-box-shadow: 0px 0px 21px 0px rgba(0,0,0,0.5);
    box-shadow: 0px 0px 21px 0px rgba(0,0,0,0.5);
}

    .eventContainer a {
        text-decoration: none !important;
    }


.eventHeader {
    padding: 5px;
    font-size: 1.1em;
    color: #fff;
    background-color: #467ed5;
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
}

.eventTypeLabel {
    padding: 5px 10px;
    color: #467ed5;
    border: 1px solid #d3d3d3;
    background: #fff;
    position: absolute;
    bottom: 0px;
    right: 0px;
    width: 70px;
    font-size: 0.8em;
    text-align: center;
    border-top-left-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
}

.eventInfo {
    width: 100%;
    height: auto;
}

    .eventInfo a {
        text-decoration: none;
    }

.eventMap {
    display: inline-block;
    background: #467ed5;
    margin: 10px;
    width: auto;
    height: auto;
    max-width: 180px;
    border: 2px solid lightgray;
    vertical-align: middle;
}

.eventMapImage {
    max-height: 120px;
    max-width: 178px;
    width: 100%;
    height: auto;
}

.eventMapTextTop, .eventMapTextBottom {
    width: 100%;
    background-color: #467ed5;
    font-size: 0.7em;
    color: white;
}

.eventMapTextTop {
    font-weight: bold;
    padding-bottom: 3px;
    padding-top: 2px;
}

.eventMapTextBottom {
    padding-bottom: 5px;
}

.eventText {
    display: inline-block;
    vertical-align: top;
    margin: 10px;
    height: auto;
    vertical-align: middle;
    max-width: 240px;
}

    .eventText h3 {
        padding-left: 0px;
        margin-top: 0px;
        margin-bottom: 0px;
    }

    .eventText h4 {
        padding-left: 0px;
        margin-top: 5px;
        margin-bottom: 0px;
    }

    .eventText .timeZone {
        font-style: italic;
        font-size: smaller;
    }


.groupEvents {
    /*border: 1px solid #467ed5;*/
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
    padding: 5px;
    background-color: #d1dff5;
    -webkit-box-shadow: 0px 0px 21px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 21px 0px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 21px 0px rgba(0,0,0,0.75);
}


/* View other events for this series button/div. */
#viewSeries {
    position: absolute;
    bottom: -30px;
    right: 10px;
    font-size: small;
    padding: 5px;
    border-left: 1px dotted #467ed5;
    border-right: 1px dotted #467ed5;
    border-bottom: 1px dotted #467ed5;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

/**********************************
    Rules for listing the championships and their sessions
**********************************/
.championshipDiv h3 {
    padding-top: 0px;
    margin-top: 0px;
    margin-bottom: 0px;
}

.championshipDiv {
    text-align: center;
    margin: auto;
}

.sessionList {
    padding-top: 10px;
    text-align: center;
}

.sessionName {
    text-align: center;
    line-height: 20px;
    vertical-align: middle;
    display: inline-block;
    width: auto;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 30px;
    border: 1px solid #467ed5;
    height: 25px;
    margin: 5px;
    text-decoration: none;
}

.sessionNameInactive {
    cursor: default;
    text-align: center;
    line-height: 20px;
    vertical-align: middle;
    display: inline-block;
    width: auto;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 30px;
    color: #aaa;
    border: 1px solid #aaa;
    height: 25px;
    margin: 5px;
}

/**********************************
    Rules to use on viewing sessions
**********************************/
/* Results GIF image */
#resultsImg {
    width: 100%;
    margin: auto;
    text-align: center;
    max-width: 795px;
    border: 1px solid lightgray;
    height: auto;
}

/* Desktop View */
#desktopSessionView {
    margin: auto;
    text-align: center;
}

/* Mobile View */
#mobileSessionView {
    position: relative;
}

    #mobileSessionView a {
        cursor: zoom-in;
    }

        #mobileSessionView a > div {
            position: absolute;
            top: 1px;
            left: 1px;
            padding: 5px;
            background-color: #eee;
        }

            #mobileSessionView a > div img {
                width: 15px;
            }


/* Result table for viewing CSVs. */
.resultsTable {
    margin: auto;
    border: 1px solid lightgray;
}

    .resultsTable td {
        padding-left: 5px;
        padding-right: 5px;
        font-size: small;
    }

    .resultsTable th {
        padding: 5px;
        color: white;
        background-color: #4880d7;
    }

/* Style for viewing the position grid. */
.gridBlock {
    display: inline-block;
    margin: 5px;
    background-color: rgba(159, 159, 159, 0.5);
    text-align: right;
}

.resultsTable tbody .posNo {
    background-color: black;
    border-radius: 10px;
    color: yellow;
    font-weight: bolder;
    text-align: center;
}

.resultsTable tbody .vehNo {
    font-weight: bold;
    color: #467ed5;
    background-color: #eee;
    border: 1px solid black;
    border-radius: 100px;
    text-align: center;
}

.resultsTable tbody .driverName {
    font-weight: bold;
}

.resultsTable tbody .gapTime {
    font-style: italic;
}

.resultsTable tbody .lapTime {
    color: red;
    font-weight: bold;
}


/**********************************
    Container of the conditional buttons for live timing and event results
**********************************/
.conditionalButtons {
    display: inline-block;
    padding: 5px;
    width: 100%;
    text-align: center;
}

    .conditionalButtons input, .conditionalButtons input a, .conditionalButtons input a:visited, .conditionalButtons input a:hover,
    .conditionalButtons button {
        color: white;
        padding: 0.75em;
        outline: none;
        border: 0;
        width: auto;
        margin: 5px;
        font-size: 80%;
    }

.checkbackButton {
    background-color: #ccc;
    color: #555 !important;
    cursor: not-allowed;
}

.livetimingButton {
    background-color: #467ed5;
    cursor: pointer;
}

.eventresultsButton {
    background-color: #467ed5;
    cursor: pointer;
}

.membersButtonContainer {
    display: flex;
    flex-direction: row;
    width: 100%;
    margin-bottom: 0.5em;
}

.membersButtonContainer a {
    display: inline-block;
    flex-basis: 50%;
    margin: 0 0.5em;
}

.membersButtonContainer a button {
    width: 100%;
    margin: 0;
}

/**********************************
    Media Rules
**********************************/

/* Keep the event map at a maximum of 150px and next to event text on browsers over 350px width. */
@media screen and (max-width:350px) {
    .eventContainer {
        font-size: small;
    }

    .eventMap {
        display: block;
        margin: auto;
    }

    .eventText {
        text-align: center;
        margin-top: 10px;
        margin-bottom: 5px;
    }
}

/* Styles the championshipHeader class when it is applied. This is added in-page coding, if there are sessions in the championship. */
@media screen and (min-width:600px) {

    .championshipHeader {
        display: inline-block;
        vertical-align: top;
        width: 30%;
        text-align: right;
        padding-top: 8px;
    }

    .pdfLink {
        display: inline-block;
        margin-top: 5px;
        margin-bottom: -5px;
    }

    .smallText {
        display: inline-block;
    }


    .sessionList {
        display: inline-block;
        text-align: left;
        margin-left: 2%;
        width: 65%;
    }
}
/********************************
    Adverts Banner CSS
********************************/

#adBanner {
    position: relative;
    margin: auto;
    margin-bottom: 10px;
}

#adBanner::after {
    content: '';
    clear: both;
    display: table;
}

    #adBanner ul {
        list-style-type: none;
        padding: 0;
        margin: auto;
        max-width: 468px;
        max-height: 60px;
    }

    #adBanner li {
        display: none;
    }

        #adBanner li.active {
            display: block;
        }

        #adBanner li img {
            width: 100%;
            height: auto;
            padding: 2px;
            border: 1px solid lightgray;
        }

    #adBanner .socialButtonsHeader > div {
        float: left;
        margin: 0px 3px;
    }

    #adBanner .socialButtonsHeader a {
        display: block;
        margin: auto;
    }

/*******************************************************************
                   CSS FOR CAROUSEL ON HOME PAGE
*******************************************************************/

/* Carousel container */
#slider1_container {
    margin-left: auto;
    margin-right: auto;
}

.carouselCaptionBottomLeft, .carouselCaptionBottomRight, .carouselCaptionBottomCenter, .carouselCaptionTopLeft, .carouselCaptionTopRight, .carouselCaptionTopCenter {
    position: absolute;
    max-width: 240px;
    padding: 10px;
    color: #fff;
}


#tslSlider .noHREF {
    cursor: default;
}

.carouselCaptionBackground {
    background: none repeat scroll 0% 0% rgba(0, 0, 0, 0.39);
}

.carouselCaptionBottomLeft {
    bottom: 40px;
    left: 30px;
}

.carouselCaptionBottomRight {
    bottom: 30px;
    right: 30px;
}

.carouselCaptionTopCenter {
    left: 30%;
    right: 30%;
    top: 30px;
}

.carouselCaptionBottomCenter {
    left: 30%;
    right: 30%;
    bottom: 30px;
}

.carouselCaptionTopLeft {
    top: 30px;
    left: 30px;
}

.carouselCaptionTopRight {
    top: 30px;
    right: 30px;
}

.jssorb21 div, .jssorb21 div:hover, .jssorb21 .av {
    background: url(/Images/carousel/b21.png) no-repeat;
    overflow: hidden;
    cursor: pointer;
}

.jssorb21 div {
    background-position: -5px -5px;
}

    .jssorb21 div:hover, .jssorb21 .av:hover {
        background-position: -35px -5px;
    }

.jssorb21 .av {
    background-position: -65px -5px;
}

.jssorb21 .dn, .jssorb21 .dn:hover {
    background-position: -95px -5px;
}


.jssora21l, .jssora21r, .jssora21ldn, .jssora21rdn {
    position: absolute;
    cursor: pointer;
    display: block;
    background: url(/Images/carousel/a21.png) center center no-repeat;
    overflow: hidden;
}

.jssora21l {
    background-position: -3px -28px;
    width: 55px;
    height: 55px;
    top: 40%;
    left: 8px;
}

.jssora21r {
    background-position: -63px -28px;
    width: 55px;
    height: 55px;
    top: 40%;
    right: 8px;
}

.jssora21l:hover {
    background-position: -123px -28px;
}

.jssora21r:hover {
    background-position: -183px -28px;
}

.jssora21ldn {
    background-position: -243px -28px;
}

.jssora21rdn {
    background-position: -303px -28px;
}

.bulletnav {
    position: absolute;
    width: 19px;
    height: 19px;
    text-align: center;
    line-height: 19px;
    color: White;
    font-size: 12px;
}

/*******************************************************************
         CSS MEDIA RULES FOR SHOW/HIDE ON MOBILE/DESKTOP
*******************************************************************/

/**********************************
    Media Rules
**********************************/

/* Show/hide items only on browsers smaller than 700px (mobile) */
@media screen and (max-width:699px) {
    .desktop {
        display: none !important;
    }
    h1 {
        font-size: 1.3em;
    }
}

/* Show/hide items only on browsers wider than 700px (desktop) */
@media screen and (min-width:700px) { 
    .mobile {
        display: none !important;
    }

    .mask {
        display: none;
    }

    /* If the leftMenu is open, move it back */
    .leftMenu-left.leftMenu-open {
        left: -130px;
    }

    .leftMenu-push-toright, .leftMenu-push {
        left: 0px;
        overflow: initial !important;
    }

    @media screen and (max-width: 850px) {
        .searchBoxContainer {
            display: none;
        }
    }

}


/* iPhone font sizes not rendering correctly fix */

@media screen and (max-device-width: 480px){
  body{
    -webkit-text-size-adjust: none;
  }
}
