.bg-blue .uk-tab > .uk-active > a {
    color: white;
    border-color: #e9530f;
}

:not(.bg-blue) .uk-tab > .uk-active > a {
    color: black;
    border-color: #e9530f;
}


.bg-white {
    background-color: white;
    color: #808080;
}

.bg-blue {
    background-color: #16243d;
    color: white;
}

.bg-orange {
    background-color: #e9530f;
    color: white;
    border: 1px solid transparent
}

.rnl-h1 {
    color: white;
    text-transform: uppercase;
    font-weight: 200;
    font-size: 200%;
}

.rnl-h1-std {
    color: inherit;
    text-transform: uppercase;
    font-weight: 200;
    font-size: 200%;
}

.rnl-button {
    background-color: #e9530f;
    width: 12em;
    margin-top: 8px;
}

ul.uk-subnav .rnl-small-icon.uk-icon {
    width: 35px;
}
.rnl-small-icon.uk-icon {
    width: 20px;
}

main p a.uk-link-text {
    white-space: nowrap;
}

main em {
    color: inherit;
}
main :not(pre) > code {
    color: inherit;
}

ol.uk-breadcrumb > :last-child > span {
    font-size: 1rem;
    color: white;
}

div.mobile-minimal {
    padding-top: 8px;
    clear: both;
}
@media (min-width: 800px ) {
    .rnl-short {
        display: none;
    }
    .rnl-full {

    }
    .rnl-h1-std {
        margin-top: 30px;
    }
    div#admin-bar {
        margin-top: 5px;
        float: right;
    }
}

@media (max-width: 799px) {
    #rnl-logo {
        float: left;
        clear: none;
        z-index: -10;
        margin-top: 20px;
        margin-left: -20px;
        max-height: 60px;
        max-width: 160px;
    }

    .rnl-short {
        display: inline-block;
    }

    .rnl-full {
        display: none;
    }

    .rnl-h1-std, .rnl-h1 {
        margin-top: 10px;
    }

    .uk-width-medium\@s {
        width: 250px;
    }

    .uk-button {
        margin-bottom: 5px;
    }

    .uk-margin-large-left {
        margin-left: 7px !important;
    }

    .uk-margin-xlarge-left {
        margin-left: 10px !important;
    }

    .uk-margin-medium-right {
        margin-right: 5px !important;
    }

    .uk-margin-remove-left\@s {
        margin-left: 0 !important;
    }

    dl#brevet-details > dd {
        margin-bottom: 0.5em;
    }

    .uk-margin-xlarge-right {
        margin-right: 5px !important;
    }

    .uk-margin-medium-left\@s {
        margin-left: 20px;
    }

    .uk-margin-large-left\@s {
        margin-left: 40px;
    }

    div#admin-bar {
        margin: 5px 0 8px 5px;
    }
    div.mobile-minimal label.uk-form-label {
        display: none;
    }
    div.mobile-minimal .uk-form-controls {
        margin-left: 5px !important;
    }
}


.rnl-h2 {
    color: white;
    text-transform: uppercase;
    font-weight: 200;
    font-size: 130%;
}

.rnl-h2-std {
    color: inherit;
    text-transform: uppercase;
    font-weight: 130;
    font-size: 130%;
}

.rnl-bg {
    background-position: 100%;
    background-repeat: repeat-y;
}

td.rnl-ok-bg {
    background-image: url('/assets/checkbox-mark-green.svg');
    background-repeat: no-repeat;
    background-position: center;
}

td.rnl-fail-bg {
    background-image: url('/assets/checkbox-cross-red.svg');
    background-repeat: no-repeat;
    background-position: center;
}
input[name=ageVerification] {
    display: none;
}

div#late-registration .uk-form-controls {
    margin-left: 160px;
}
table#calendar tbody tr {
    border-top: 1px solid #858585;
}

form.rnl-mailing label.uk-form-label {
    width: 7em;
    margin-top: 0;
}

form.rnl-mailing > div > div.uk-form-controls {
    margin-left: 7em;
    width: 32em;
}

.brm-filter > li {
    padding-left: 12px;
    padding-right: 10px;
    margin-right: 10px;
}

.brm-filter > li.uk-active > a {
    color: white;
}

.BRM-200 {
    background: linear-gradient(90deg, #d83c3d 7px, transparent 0%);
    border-radius: 10px;
}

dl > .BRM-200, li > .BRM-200 {
    border: solid 1px #d83c3d;
    margin-top: 5px;
}
li.BRM-200.uk-active {
    background-color: #d83c3d;
}
ul#events-list div.uk-card.BRM-200 {
    border-color: #d83c3d;
}

.BRM-300 {
    background: linear-gradient(90deg, #ffcc00 7px, transparent 0%);
    border-radius: 10px;
}
dl > .BRM-300, li > .BRM-300 {
    border: solid 1px #ffcc00;
    margin-top: 5px;
}
li.BRM-300.uk-active {
    background-color: #ffcc00;
}
ul#events-list div.uk-card.BRM-300 {
    border-color: #ffcc00;
}

.BRM-400 {
    background: linear-gradient(90deg, #339933 7px, transparent 0%);
    border-radius: 10px;
}
dl > .BRM-400, li > .BRM-400 {
    border: solid 1px #339933;
    margin-top: 5px;
}
li.BRM-400.uk-active {
    background-color: #339933;
}
ul#events-list div.uk-card.BRM-400 {
    border-color: #339933;
}

.BRM-600 {
    background: linear-gradient(90deg, #006699 7px, transparent 0%);
    border-radius: 10px;
}
dl > .BRM-600, li > .BRM-600 {
    border: solid 1px #006699;
    margin-top: 5px;
}
li.BRM-600.uk-active {
    background-color: #006699;
}
ul#events-list div.uk-card.BRM-600 {
    border-color: #006699;
}

.BRM-1000 {
    background: linear-gradient(90deg, #999999 7px, transparent 0%);
    border-radius: 10px;
}
dl > .BRM-1000, li > .BRM-1000 {
    border: solid 1px #999999;
    margin-top: 5px;
}
li.BRM-1000.uk-active {
    background-color: #999999;
}
ul#events-list div.uk-card.BRM-1000 {
    border-color: #999999;
}


.BRM-lrm {
    background: linear-gradient(90deg, #55624d 7px, transparent 0%);
    border-radius: 10px;
}
dl > .BRM-lrm, li > .BRM-lrm {
    border: solid 1px #55624d;
    margin-top: 5px;
}
li.BRM-lrm.uk-active {
    background-color: #55624d;
}
ul#events-list div.uk-card.BRM-lrm {
    border-color: #55624d;
}

ul#events-list div.uk-card-body {
    padding: 10px;
    padding-left: 15px;
    border: solid 1px;
}


@media (min-width: 800px) {
    #rnl-logo {
        margin-left: 43px;
        margin-top: 1px;
        max-height: 90px
    }

    .rnl-bg {
        background-image: url('/assets/rnl-blue_background-400x132.png');
    }
}

.euro::before {
    content: '€ ';
}

.euro-negative::before {
    content: '-/- € ';
}

span[uk-icon*=_] {
    width: 35px;
}

footer a,
.uk-breadcrumb a {
    color: white;
    text-decoration: underline;
}

dl#brevet-details > dd {
    margin-bottom: 1.5em;
}

dl#brevet-details address {
    margin-bottom: 4px;
}

table#event-riders td {
    padding-bottom: 0;
}

/* ui-kit interferes with leaflet, it hides the track */
div.leaflet-pane > canvas {
    max-width: unset;
}

ul.rnl-filter, ul.rnl-language-filter {
    margin-left: 10px;
}

.rnl-filter > li {
    border: solid 1px #19243b;
    border-radius: 10px;
    padding-left: 10px;
    padding-right: 10px;
    margin-right: 10px;
}
.rnl-language-filter > li {
    border: solid 1px #19243b;
    border-radius: 10px;
    padding: 0;
    overflow: hidden;
    width: 30px;
    margin-right: 10px;
}

.rnl-filter > li a:link {
    text-transform: none;
}

.rnl-filter > li.uk-active {
    background-color: #e9530f;
    border: solid 1px #e9530f;
}

.rnl-filter > li.uk-active > a {
    color: white;
}

form#edit-form label.uk-form-label {
    width: 100px;
}

form#edit-form div.uk-form-controls {
    margin-left: 115px;
}

div#ntfu-drop label.uk-form-label {
    width: 100px;
}
div#ntfu-drop  div.uk-form-controls {
    margin-left: 115px;
}

table#event-calendar {
    border: 1px solid gray;
    border-spacing: 0;
}

table#event-calendar th {
    border-bottom: 2px solid gray;
}

table#event-calendar td:not(:first-child) {
    border-left: 1px solid gray;
    vertical-align: top
}
table#event-calendar td ul {
    padding-left: 0;
    margin-top: 5px;
}
table#event-calendar td li {
    list-style-type: none;
    color: white;
    padding-left: 5px;
}
table#event-calendar td>div {
    text-align: right;
    font-size: larger;
    font-weight: bolder;
    margin-top: 2px;
    margin-right: 5px;
}
table#event-calendar td {
    border-bottom: 1px solid gray;
    height: 5em;
}
table#event-calendar td div.uk-card {
    padding: 10px;
    font-size: smaller;
}
table#event-calendar td a {
    color: white;
}

caption > #bank-summary td:nth-child(2), #bank-summary td:nth-child(3) {
    text-align: right;
    width: 5em;
}

#bank-summary tfoot td:nth-child(2), #bank-summary tfoot td:nth-child(3) {
    border-top: 2px solid black;
    font-style: italic;
}
.rnl-table-xs th,
.rnl-table-xs td {
    padding: 2px 12px;
}

#bank-transactions td:nth-child(2) {
    width: 11em;
}

#bank-transactions td:nth-child(4), #bank-transactions td:nth-child(5) {
    text-align: right;
}
