﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

@font-face {
    font-family: 'dejavu_sans_monobook';
    src: url('DejaVuSansMono-webfont.eot');
    src: url('DejaVuSansMono-webfont.eot?#iefix') format('embedded-opentype'), url('DejaVuSansMono-webfont.woff2') format('woff2'), url('DejaVuSansMono-webfont.woff') format('woff'), url('DejaVuSansMono-webfont.ttf') format('truetype'), url('DejaVuSansMono-webfont.svg#dejavu_sans_monobook') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Saira Semi Condensed';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/saira-semi-condensed/SairaSemiCondensed-Regular.ttf') format('woff2');
}

@font-face {
    font-family: 'Saira Semi Condensed';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/saira-semi-condensed/SairaSemiCondensed-Bold.ttf') format('woff2');
}

@font-face {
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/roboto-condensed/RobotoCondensed-Regular.ttf') format('woff2');
}

@font-face {
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/roboto-condensed/RobotoCondensed-Bold.ttf') format('woff2');
}

* {
    box-sizing: border-box;
}

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-family: 'dejavu_sans_monobook Saira Semi Condensed', sans-serif;
    font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}

.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

.at-centered {
    display: flex;
    justify-content: center;
}

.at-flex-center {
    align-items: center;
}

.at-message {
    margin: 10px 0;
    padding: 20px;
    text-align: center;
    font-weight: bold;
    color: #1d2dae;
    border: solid 1px #428bca;
    background-color: #d3e2fa;
    border-radius: 5px;
}

.at-error {
    margin: 10px 0;
    padding: 20px;
    text-align: center;
    font-weight: bold;
    color: #c20519;
    border: solid 1px #d70219;
    background-color: #fec9cf;
    border-radius: 5px;
}

/* Sticky footer styles
-------------------------------------------------- */
    html {
    position: relative;
    /*background: url(../images/bg3.jpg) no-repeat center center fixed;*/
    /*background-color: #283558;*/
    background-size: cover;
    padding: 0.05px;
    margin: 0;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

body {
    /* Margin bottom by footer height */
    margin: 0;
    padding: 0.05px;
    border-top: 1px solid transparent; /* hack to fix border collapse issue of h1 margin pushing body down */
    background-color: #fff; /*rgba(7,15,26, 0.5); #090C13;  #071228;*/
    /*color: #ccc;*/
    color: #454545;
    flex: 1 1 100%;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 1 100%;
    display: flex;
}

section {
    margin: 1.5rem 1rem 1rem 1rem;
}

.footer {
    flex: 0 0 60px;
    background-color: rgba(7,15,26, 0.40);
    white-space: nowrap;
    /* Set the fixed height of the footer here */
    height: 60px;
    margin-top: 20px;
    padding: 0 20px;
    line-height: 59px; /* Vertically center the text there */
}

.container {
    flex: 1 1 100%;
    padding: 0 10px 20px 10px; 
    margin: 0 auto 0 auto;
    max-width: 1200px;
    min-width: 100%;
    display: flex;
    flex-direction: column;
    align-content: flex-start;
    align-items: stretch;
    justify-content: flex-start;
    justify-items: flex-start;
}

.container-fluid {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.container-fluid::before {
    display: table;
    content: " ";
}

.btn {
    display: flex;
    align-items: center;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid black;
    border-radius: 4px;
    text-decoration: none;
}

.btn[disabled] {
    cursor: not-allowed;
    filter: alpha(opacity=65);
    opacity: .65;
    box-shadow: none;
}

.btn-primary {
    color: #fff;
    background-color: #2393f6;
    border-color: #2e6da4;
}

.btn-default {
    color: #333;
    background-color: #ccc;
    border-color: #ccc;
}

.btn-danger {
    color: #fff;
    background-color: #d9534f;
    border-color: #d43f3a;
}

.btn-danger:focus,
.btn-danger.focus {
    color: #fff;
    background-color: #c9302c;
    border-color: #761c19;
}

.btn-danger:hover {
    color: #fff;
    background-color: #c9302c;
    border-color: #ac2925;
}

.btn-danger:active,
.btn-danger.active,
.open > .dropdown-toggle.btn-danger {
    color: #fff;
    background-color: #c9302c;
    background-image: none;
    border-color: #ac2925;
}

.btn > .at-icon {
    max-height: 24px;
}

.btn-back {
    margin-top: 10px;
background-color: #eee;
}

.btn-back img {
    width: 21px;
    margin-left: -10px;
}

.navbar {
    position: relative;
    margin-bottom: 0px;
    background: url(../images/nav_bar_bg-3c40745916a959f30b4387edb7ea5ac6364e57b8ec6509738d09b21be9f4891f.png) repeat-x top left rgba(0,0,0,0.1);
    background-color: rgba(0, 0, 0, 0.1);
    height: 73px;
    border: none;
    border-radius: 0px;
    background-color: #202020;
    overflow: hidden;
}

.navbar-header {
    margin-right: 0;
    margin-left: 0;
    float: left;
}

.navbar-header::before{
    display: table;
    content: " ";
}

.navbar-header::after {
    clear: both;
    display: table;
    content: " ";
}

.nav-brand {
    margin-left: -15px;
    color: #777;
    font-size: 18px;
    line-height: 20px;
    text-decoration: none;
}

.navbar-right {
    float: right;
    margin: 0;
}
.nav {
    list-style: none;
    padding: 0;
}

.navbar-right li a {
    padding: 15px 12px;
    list-style: none;
    font-size: 16px;
    font-weight: 600;
    color: #ccc;
    text-shadow: 0 1px 0 rgba(0,0,0,0.25);
    line-height: 20px;
    text-decoration: none;
    position: relative;
    display: block;
}

.navbar-right li {
    display: inline-block;
    /*float: left;
    position: relative;
    display: block;*/
}

@media (max-width: 550px) {
    .navbar-right li {
        display: block;
    }

    .navbar-right li a {
        padding: 6px 12px 6px 5px;
    }
}

.at-user-initials {
    background-color: #ccc;
    color: #000;
    width: 34px;
    height: 34px;
    border-radius: 17px;
    display: inline-block;
    display: flex;
    font-weight: bold;
    align-content: center;
    align-items: center;
    justify-content: center;
    justify-items: center;
}

#alpha_logo {
    background: url(../images/alpha_timing_logo.png) no-repeat;
    text-indent: -9999px;
    width: 192px;
    height: 67px;
    padding: 0px;
    float: left;
}

label {
    display: inline-block;
    margin-bottom: .15rem;
}

input[type=checkbox], input[type=radio] {
    box-sizing: border-box;
    padding: 0;
}

.archived {
    color: red;
    text-decoration: line-through;
}

.form-group {
    margin: 0 0.75rem 0.75rem 0.75rem;
}

.form-group-inline {
    margin: 0 1rem 1rem 1rem;
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
}

.form-group-inline > * {
    flex: 0 0 auto;
}

.form-control {
    display: block;
    width: 100%;
    height: calc(1.9rem + 2px);
    padding: .35rem .65rem;
    font-size: 0.9rem;
    line-height: 1.25;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.form-control-checkbox {
    display: block;
    width: 100px;
    height: calc(1.25rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    text-align: left;
}

.form-action-group {
    display: flex;
    justify-content: center;
    flex: 1 1 100%;
    padding: 6px;
    margin: 5px 0;
}

.form-action-group > * {
    margin: 0 6px;
}

    .text-danger {
    color: #dc3545 !important;
}

table td.shrink {
    white-space: nowrap;
}

table td.expand {
    width: 99%
}

.at-center-text {
    text-align: center;
}

.at-left-text {
    text-align: left;
}

.at-right-text {
    text-align: right;
}

.at-nowrap {
    white-space: nowrap;
}

.at-bg {
    background-color: rgba(7,15,26, 0.60);
    border-radius: 6px;
    padding: 5px;
}

.at-lbl {
    font-weight: bold;
}

.at-download-link {
    color: #428bca;
    text-decoration: none;
    margin: 8px 0;
    display: block;
    vertical-align: middle;
}

.at-download-link:hover, .at-download-link:focus {
    color: #2a6496;
    text-decoration: underline;
    outline: 0;
}

.at-download-link span {
    vertical-align: middle
}

.at-download-icon {
    width: 24px;
    vertical-align: middle;
}

.at-error-page-wrapper {
    flex: 1;
    text-align: center;
}

.at-panel-border {
    /*flex: 1 1 auto;*/
    display: flex;
    padding: 5px;
    border-radius: 6px;
    position: relative;
    /*background-color: rgba(7,15,26, 0.60);*/
    border: solid 1px #888;
    /*box-shadow: 2px 2px #666;*/
    /*background: linear-gradient(to bottom, #000, #1F9BF1);*/
}

.at-site-header-container {
    flex-direction: column;
}

.at-site-header {
    margin: 0;
    margin: 15px 0;
}

.at-site-header img {
    max-width: 100%;
    max-height: 150px;
}

.at-icon {
    width: 35px;
    height: 35px;
}

.at-login-panel {
    width: 50%;
    min-width: 400px;
    margin-top: 60px;
    border: solid 1px black;
    border-radius: 8px;
    padding: 10px;
}

.at-login-panel .info {
    margin: 10px 15px 20px 15px;
    text-align: center;
}

.at-login-panel h1 {
    margin-top: 5px;
}

.at-login-panel .actions {
    display: flex;
    justify-content: center;
    margin: 10px 0 10px 0;
}

.at-signature-image {
    max-width: 200px;
    max-height: 150px;
}

/*.at-icon > path {
    fill: #ddd;
}*/

.at-nav-link {
    text-decoration: none;
    color: #428BCA;
}

.at-nav-link:hover {
    text-decoration: underline;
}

.at-nav-link.selected {
    color: #000;
    font-weight: bold;
    font-size: 15px;
}

.at-site-list-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.at-site-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
}

.at-site-list-item {
    min-height: 70px;
    padding: 2px;
    width: 100%;
    flex: 1 1 auto;
    display: flex;
}

.at-site-list-item > div {
    flex: 1 1 100%;
}

.at-site-list-item a {
    text-decoration: none;
    color: #428BCA;
}

.at-site-list-item a:hover, .at-site-list-item a:active, .at-site-list-item a:focus {
    text-decoration: underline;
    cursor: pointer;
}

.at-site-list-icon-wrapper {
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
    width: 80px;
    max-height: 58px;
}

.at-site-list-icon {
    flex: 0 0 auto;
    max-width: 80px;
}

.at-site-list-name {
    margin-left: 10px;
}

.at-item-panel {
    /*background-color: rgba(7,15,26, 0.60);*/
    border-top: 1px solid #ddd;
    padding: 8px;
    font-size: 30px;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    outline: 0;
}

@media (max-width: 800px) {
    .at-item-panel {
        font-size: 22px;
    }
}

@media (max-width: 500px) {
    .at-item-panel {
        font-size: 18px;
    }
}

.at-site-links {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
}

.at-site-link {
    display: flex;
    font-size: 16px;
    color: #428BCA;
    text-decoration: none;
    justify-content: center;
    margin: 4px 10px;
    min-width: 280px;
    border: solid 1px;
    padding: 15px;
    border-radius: 8px;
}

.at-season-selection {
    text-align: center;
}

.at-season-selection ul {
    padding: 0px;
    list-style: none;
    display: block;
}

.at-season-selection li {
    list-style: none;
    display: inline-block;
    font-size: 14px;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-left: 5px;
    margin-right: 10px;
}

.at-site-tabs {
    display: flex;
    flex-direction: row;
    width: 100%;
    margin: 10px 0;
    padding: 0;
    list-style: none;
}

.at-site-tab {
    width: 50%;
    flex: 1 1 auto;
    display: flex;
    margin: 0 10px 10px 10px;
    padding: 5px;
    color: #428BCA;
    border-bottom: solid 2px #ddd;
    font-size: 20px;
    align-items: center;
    justify-content: center;
}

    .at-site-tab a {
        color: #428BCA;
        text-decoration: none;
    }

@media (max-width: 800px) {
    .at-site-tab {
    margin: 0 5px 5px 5px;
    font-size: 14px;
}
}

.at-site-tab-selected {
    border-bottom: solid 2px #428BCA;
}

.at-site-tab-selected a {
     color: #428BCA;
     font-weight: bold;
}

.at-chart-wrapper {
    background-color: rgba(255,255,255, 0.7);
    padding: 15px;
    border-radius: 4px;
}


.at-event-list-item-name {
    flex: 1 1 auto;
    color: #428BCA;
    display: flex;
    align-items: center;
}

.at-event-list-item-date {
    flex: 0 0 auto;
    font-size: 18px;
    margin-left: 6px;
}

.at-event-list-item-date-time {
    font-size: 16px;
    text-align: right;
}

@media (max-width: 800px) {
    .at-event-list-item-date {
        font-size: 14px;
    }
    .at-event-list-item-date-time {
        font-size: 12px;
    }
}

.at-session-header {
    min-height: 70px;
    width: 100%;
    margin: 0;
    border-radius: 8px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    line-height: 25px;
    align-items: stretch
}

.at-session-header h2 {
    margin: 5px 0;
}

.at-session-header h3 {
    margin: 0;
}

.at-session-header-data {
    flex: 1 1 auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.at-session-header-details {
    flex: 1 1 auto;
    min-width: 300px;
    margin: 8px 5px 0 5px;
    padding: 6px;
    flex-direction: column;
}

.at-session-header-details .at-session-header-status {
    background-color: orange;
    color: white;
    text-align: center;
    font-weight: bold;
}

.at-session-header-details h3 {
    font-size: 16px;
}

.at-session-header-best-lap {
    flex: 1 1 auto;
    min-width: 300px;
    margin: 8px 5px 0 5px;
    flex-direction: column;
}

.at-session-header-best-lap td {
    padding: 0 3px;
    line-height: 20px;
}

.at-session-header-best-lap-time {
    color: #d55bfa;
    font-weight: bold;
    padding: 0 5px;
}

.at-session-header-best-lap-heading {
    color: #d55bfa;
    border-bottom: 3px solid #d55bfa;
}

.at-session-header-info {
    flex: 1 1 auto;
    min-width: 250px;
    margin: 8px 5px 0 5px;
    flex-direction: column;
}


.at-session-header-info td {
    padding: 0 3px;
    line-height: 20px;
}

.at-session-header-info-heading {
    color: #9ac7fc;
    border-bottom: 3px solid #9ac7fc;
}

.at-session-header-comment {
    flex: 1 0 auto;
    min-width: 95%;
    margin: 10px 20px;
}

.at-session-header-comment-heading {
    color: #ccc;
    border-bottom: 3px solid #ccc;
    flex: 1 0 auto;
    margin: 0 15px 0 0;
}

.at-session-header-alert {
    margin: 6px 0;
    background-color: #fdd18c;
}

.at-session-alert {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.at-session-list-header {
    min-height: 70px;
    width: 100%;
    margin: 5px 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    line-height: 25px;
    align-items: stretch
}

.at-session-list-header h2,
.at-session-list-header h3 {
    margin: 5px 0;
}

.at-session-penalties-border {
    flex: 1 1 auto;
    display: flex;
    margin-top: 25px;
    padding: 2px;
    /*border: solid 2px darkorange;
    border-radius: 8px;
    background-color: rgba(33,33,33,0.7);*/
}

.at-session-penalties {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.at-session-penalties-heading {
    flex: 1;
    color: darkorange;
    border-bottom: 3px solid darkorange;
    margin-bottom: 8px;
}

.at-session-notifications-border {
    flex: 1 1 auto;
    display: flex;
    margin-top: 25px;
    padding: 2px;
    /*border: solid 2px darkorange;
    border-radius: 8px;
    background-color: rgba(33,33,33,0.7);*/
}

.at-session-notifications {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.at-session-notifications-heading {
    flex: 1;
    color: #d80707;
    border-bottom: 3px solid #d80707;
    margin-bottom: 8px;
}

.at-wether-img {
    height: 25px;
    vertical-align: middle;
}

.at-heading-border {
    display: flex;
    margin: 0 -5px;
}

.at-session-list-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 15px;
}

.at-session-list-table td {
    min-height: 70px;
    font-size: 16px;
    padding: 8px;
    background-color: rgba(33,33,33,0.7);
    border-top: solid 1px #777;
    border-bottom: solid 1px #777;
}

.at-session-list-table td:first-child {
    border-left: solid 1px #777;
    border-bottom-left-radius: 3px;
    border-top-left-radius: 3px;
}

.at-session-list-table td:last-child {
    border-right: solid 1px #777;
    border-bottom-right-radius: 3px;
    border-top-right-radius: 3px;
}

.at-session-list-table-icon {
    max-width: 35px;
}

.at-session-list-item {
    min-height: 70px;
    padding: 2px;
    width: 100%;
    flex: 1 1 auto;
    display: flex;
}

.at-session-list-item > div {
    flex: 1 1 100%;
}

.at-session-list-item-panel {
    font-size: 16px;
}

.at-session-list-item-panel, .at-session-list-item-panel:hover, .at-session-list-item-panel:active, .at-session-list-item-panel:focus {
    padding: 3px 8px;
    text-decoration: none;
    color: #1F9BF1;
    flex: 1 1 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    outline: 0;
    flex-wrap: wrap;
}

.at-inactive-session-list-item-panel {
    padding: 3px 8px;
    text-decoration: none;
    color: #ccc;
    flex: 1 1 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    outline: 0;
    flex-wrap: wrap;
}

.at-session-list-main-items {
    display: flex;
    flex: 1 1 100%;
    align-items: center;
}

.at-session-list-session-info {
    display: flex;
    flex: 1 1 100%;
    align-items: center;
    justify-content: flex-end;
    color: #333;
}

.at-session-list-item-label {
    color: #aaa;
    margin: 0 2px 0 10px;
}

.at-session-list-item-winner {
    min-width: 250px;
}

.at-session-list-item-laps {
    min-width: 90px;
    margin-left: 10px;
}

.at-session-list-item--best-lap {
    min-width: 120px;
}

.at-session-list-icon {
    color: #1F9BF1;
}

.at-session-list-type {
    width: 40px;
    color: #ddd;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
}

.at-session-list-type > img {
    width: 30px;
    height: 30px;
}

.at-session-list-name {
    flex: 1 1 100%;
    font-size: 24px;
    display: flex;
    align-items: center;
}

.at-session-list-start-time {
    width: 100px;
    color: #000;
    flex: 0 0 auto;
    margin: 0 8px;
}

@media (max-width: 600px) {
    .at-session-list-item-panel {
        font-size: 14px;
    }

    .at-session-list-name {
        font-size: 16px;
    }

    .at-session-list-item-winner {
        flex: 1 1 50%;
        min-width: 100px;
    }
}

.at-best-lap {
    color: #d55bfa;
    font-weight: bold;
}

.at-pbest-lap {
    color: #228cff;
    font-weight: bold;
}

.at-gain {
    width: 16px;
}

.at-gain > path {
    fill: #39B54A;
}

.at-grid-gain {
    color: #39B54A;
}

.at-loss {
    width: 16px;
}

.at-loss > path {
    fill: #ED1C24;
}

.at-grid-loss {
    color: #ED1C24;
}

.at-grid-gain-loss-value {
    margin-left: -2px;
}

.at-equal {
    width: 16px;
}

.at-equal > path {
    fill: #A2A2A2;
}

.at-grid-equal {
    color: #A2A2A2;
}

.at-session-results-tabs-wrapper {
    flex-direction: column;
    margin: 8px 0;
    position: relative;
}

.at-session-results-tabs-wrappe-loading {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(0,0,0,0.6);
    pointer-events: none;
}

.at-scrollable-table-wrapper {
    flex: 1 1 100%;
    overflow: auto;
    max-width: 100%;
}

.at-number-plate {
    display: flex;
    flex-direction: column;
    margin-top: -2px;
    margin-bottom: -2px;
    align-items: center;
    align-content: center;
    justify-content: center;
    justify-items: center;
}

.at-number-plate > span {
    flex: 1 1 auto;
    padding: 2px 3px 2px 2px;
    border: 1px solid #000000;
    border-radius: 3px;
    min-width: 34px;
    text-align: center;
}

.at-session-results-table {
    width: 100%;
    border-collapse: collapse;
    /*font-family: 'dejavu_sans_monobook', monospace;*/
    font-size: 11pt;
}

.at-session-results-table th {
    background-color: #27A9E1;
    color: #FFF;
    border-bottom: solid 1px #ddd;
    padding: 2px 5px;
    font-weight: normal;
}

.plain-table-header th {
    background-color: transparent;
    color: black;
}

.at-session-results-table td h3 {
    margin-block-end: 0.25em;
}

.at-session-results-table td {
    padding: 4px 5px;
    border-bottom: solid 1px #ddd;
}

.at-session-results-table .at-lb {
    border-left: solid 1px #ddd;
}

.at-session-results-table .at-right {
    text-align: right;
}

.at-session-results-table .at-pos-cell {
    padding: 4px 0;
    white-space: nowrap;
}

.at-session-results-table .penalty-indicator {
    font-size: 11px;
    font-weight: bold;
}

.at-session-result-country-image {
    width: 22px;
}

.at-session-penalties-table {
    border-collapse: collapse;
    font-size: 11pt;
    align-self: start;
}

.at-session-penalties-table td {
    padding: 4px 5px;
}

.at-session-penalties-table-name {
    margin-right: 20px;
}

.at-session-notifications-table {
    border-collapse: collapse;
    font-size: 11pt;
    align-self: start;
}
.at-session-notifications-table td {
    padding: 2px 10px;
}

.at-session-notifications-table-name {
    margin-right: 20px;
}

.at-session-documents-table {
    border-collapse: collapse;
    font-size: 11pt;
    align-self: start;
}

.at-session-documents-table td {
    padding: 4px 5px;
}

.at-session-documents-table-name {
    margin-right: 20px;
}

.at-champ-table {
    width: 100%;
    border-collapse: collapse;
}

.at-champ-table .at-numeric {
    /*font-family: 'dejavu_sans_monobook', monospace;*/
}

.at-champ-table > thead {
    color: #FFF;
}

.at-champ-table > tbody > tr:nth-child(even) > td {
    background-color: #f9f9f9;
}

.at-champ-table th {
    background-color: #27A9E1;
    border-bottom: solid 1px #ddd;
    padding: 2px 5px;
    font-weight: normal;
}

.at-champ-table td {
    padding: 2px 5px;
    border-bottom: solid 1px #ddd;
}

.at-champ-table .at-lb {
    border-left: solid 1px #ddd;
}

.at-champ-table .at-right {
    text-align: right;
}

.at-champ-table .at-pos-cell {
    padding: 4px 0;
    white-space: nowrap;
}

.at-champ-table > tbody > tr > td.dropped {
    font-weight: bold;
    color: #aaa;
    background-color: #CAE2EB;
}

.at-champ-table > tbody > tr > td.dsq {
    font-weight: bold;
    color: white;
    background-color: #f2b4b4;
}

.at-champ-table > tbody > tr > td.first {
    font-weight: bold;
    color: white;
    background-color: #CFB53B;
}

.at-champ-table > tbody > tr > td.second {
    font-weight: bold;
    color: white;
    background-color: #A8A8A8;
}

.at-champ-table > tbody > tr > td.third {
    font-weight: bold;
    color: white;
    background-color: #965A38;
}

.at-champ-table td.at-champ-table-score {
    font-size: 12px;
    text-align: center;
    padding: 2px 0;
}

.at-champ-table-score .score {
    padding: 0 5px;
}

.at-champ-table-score .info {
    text-align: right;
    font-size: 10px;
    padding: 0 3px;
}

.at-excluded {
    color: #ED1C24;
}

.at-session-driver-analysis-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.at-session-driver-analysis-laptimes-chart-panel {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
}

.at-session-driver-analysis-results {
    flex: 1 1 50%;
}

.at-session-driver-analysis-laptimes {
    flex: 1 1 100%;
}

.at-lap-chart-legend {
    width: 100%;
    overflow-x: auto;
}

.at-lap-chart-legend-table {
    font-size: 14px;
    border-collapse: collapse;
    border-spacing: 0;
    min-width: 100%;
}

.at-lap-chart-legend-table th {
    background-color: #27A9E1;
    border-bottom: solid 1px #ddd;
    padding: 2px 5px;
    font-size: 12px;
    color: white;
}

.at-lap-chart-legend-table td {
    padding: 0;
    border: 1px solid #ddd;
}

.at-lap-chart-legend-table td div {
    padding: 5px;
}

.at-lap-chart-legend-table .hidden {
    text-decoration: line-through;
    color: #ccc;
}

.at-lap-chart-legend-table-laptime {
    text-align: right;
    font-size: 14px;
}

.at-lap-chart-legend-table-sector {
    font-size: 11px;
}

.at-lap-chart-legend-table-competitor {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.at-lap-chart-legend-table-competitor * {
    margin-left: 8px;
}

.at-laps-disallowed {
    background-color: #ddd;
    color: red;
    text-decoration: line-through;
}

.at-laps-blor {
    background-color: #f324f5;
    color: #fff;
    font-weight: bold;
}

.at-laps-pblor {
    background-color: #228cff;
    color: #fff;
    font-weight: bold;
}

.at-replay-controls-container {
    width: 100%;
    text-align: center;
}

.at-replay-controls {
    margin: 10px auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.at-replay-controls > * {
    margin: 0 6px;
}

.at-replay-controls button {
    padding: 6px 20px;
}

.at-replay-controls input {
    max-width: 80px;
    height: 30px
}

.at-breadcrumbs {
    list-style: none;
    padding: 0;
    margin: 8px 0;
}

.at-breadcrumbs li {
    display: inline-block;
    padding: 0;
}
.at-breadcrumbs li:not(:last-child)::after {
    content: " > ";
}

.at-breadcrumbs span {
    font-weight: bold;
    font-size: 14px;
}

.at-breadcrumbs a {
    color: #428BCA;
    font-weight: bold;
    font-size: 14px;
    text-decoration: none;
}

.at-breadcrumbs a:hover {
    text-decoration: underline;
}

.at-incidents-header {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-content: center;
    align-items: center;
    padding: 10px 0;
    border-bottom: solid 2px #666;
    margin-bottom: 20px;
}

.at-incidents-header h1 {
    margin: 0 10px;
    font-size: 20pt;
    display: flex;
}

.at-incidents-header h2 {
    margin: 5px 10px;
    font-size: 14pt;
}

.at-incidents-header img {
    width: 30px;
    margin-right: 12px;
}

.at-incidents-form-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0;
}

.at-incidents-form-content {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.at-incidents-form-group {
    flex: 1 1 20%;
    display: flex;
    flex-direction: row;
}

@media (max-width: 1000px) {
    .at-incidents-form-group {
        flex: 1 1 100%;
    }
}

.at-incidents-form-item {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.at-incidents-form-item-full-width {
    flex: 1 1 100%;
    display: flex;
    flex-direction: column;
}

.at-incidents-site-selection {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 10px;
}

.at-incidents-site-selection * {
    margin: 0 5px;
}

.at-incident-competitor-selections {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.at-incident-competitor-number {
    width: 55px;
    height: 35px;
    border: solid 1px black;
    border-radius: 3px;
    margin: 3px;
    padding: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.at-incident-competitor-number > input {
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    border: 0;
    outline: 0;
    cursor: pointer;
    margin: 0;
}

/* The next four rules render a white corner to the selected drivers with a green tick in it */
.at-incident-competitor-number > input:checked::before,
.at-incident-competitor-number > input:checked::after {
    content: '';
    position: absolute;
    top: -17px;
    left: -4px;
    border-color: transparent;
    border-style: solid;
}

.at-incident-competitor-number > input:checked::after {
    content: '✔';
    font-size: 13px;
    line-height: 13px;
    font-weight: bold;
    color: forestgreen;
    position: absolute;
    top: -18px;
    left: -5px;
    transform: rotate(12deg);
}

.at-incident-competitor-number > input:checked::before {
    border-radius: 0;
    border-width: 12px;
    border-left-color: white;
    border-top-color: white;
}

.at-incident-attachment-wrapper {
    display: flex;
    flex-wrap: wrap;
}

.at-incident-attachment {
    display: flex;
    align-items: center;
}

.at-incident-list-header {
    margin: 10px 0;
    flex: 1 1 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
}

.at-incident-list-header-actions {
    display: flex;
    flex-direction: row;
}

.at-incident-list-header-actions > * {
    margin: 0 6px;
}

.at-incident-list-filter {
    position: relative;
    top: 0px;
    border: solid 1px #000;
    width: 200px;
}

.at-incident-list-filter > summary {
    margin: 5px 6px 0 6px;
    list-style-type: none;
}

.at-incident-list-filter ul {
    position: absolute;
    top: 30px;
    left: -1px;
    list-style: none;
    margin: 0;
    padding: 0 0 0 15px;
    width: 200px;
    background-color: #fff;
    border-left: solid 1px #000;
    border-bottom: solid 1px #000;
    border-right: solid 1px #000;
}

.at-decision-selections {
    display: flex;
    flex-direction: row;
    flex: 1 1 100%;
}

.at-decision-points-and-fines {
    display: flex;
    flex-direction: row;
    flex: 1 1 100%;
}

.at-decision-selection-text {
    flex: 1 1 auto;
}

.at-decision-selection-type {
    flex: 0 0 auto;
}

.at-decision-selection-value {
    flex: 0 0 110px;
}

.at-decision-selection-penalty-points {
    flex: 1 1 auto;
    max-width: 180px;
}

.at-decision-selection-fine {
    flex: 1 1 auto;
    max-width: 180px;
}

.at-decision-selection-fine-collected {
    flex: 1 1 auto;
    max-width: 180px;
}

.at-decision-selection-fine-notes {
    flex: 1 1 auto;
}

.at-decision-off-track-recipient {
    flex: 1 1 100%;
    margin: 10px 15px 20px 15px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
}

.at-decision-off-track-recipient label {
    font-weight: bold;
}

.at-decision-off-track-recipient div {
    margin: 0 10px;
}

.at-time-control {
    display: flex;
    flex-direction: row;
    min-width: 130px;
    max-width: 200px;
}

.at-time-control > * {
    flex: 1 1 50%;
}


.at-event-docs-table {
    width: 100%;
    border-collapse: collapse;
    /*font-family: 'dejavu_sans_monobook', monospace;*/
    font-size: 11pt;
}

.at-event-docs-table th {
    background-color: #27A9E1;
    color: #FFF;
    border-bottom: solid 1px #ddd;
    padding: 2px 5px;
    font-weight: normal;
}

.at-event-docs-table td h3 {
    margin-block-end: 0.25em;
}

.at-event-docs-table td {
    padding: 4px 5px;
    border-bottom: solid 1px #ddd;
}

.at-event-docs-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
}

.at-event-doc-wrapper {
    display: flex;
    flex: 1 1 100%;
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: center;
}

.at-event-doc-number {
    flex: 0 0 25px;
    text-align: center;
}

.at-event-doc-details {
    flex: 1 1 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    margin: 0 5px;
}

.at-event-doc-session {
    display: flex;
    flex: 1 1 100%;
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin: 0;
}

.at-event-doc-issued-time {
    font-size: smaller;
    font-weight: bold;
}

.at-event-doc-competitor {
    display: flex;
    flex: 1 1 100%;
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: center;
    margin: 8px 0;
}

.at-event-doc-competitor-name {
    margin: 0 0 0 6px;
    flex: 1 1 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.at-event-doc-decision {
    display: flex;
    flex: 1 1 100%;
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: center;
    margin: 0;
}

.at-event-doc-document {
    flex: 0 0 auto;
    margin: 0;
}

@media only screen and (max-width: 1024px), (min-device-width: 480px) and (max-device-width: 1024px) {
    .at-event-docs-table {
        display: none;
    }
}

@media only screen and (min-width: 1025px) {
    .at-event-docs-list {
        display: none;
    }
}

.at-profile-page {
    margin: 0 40px;
}

.at-profile-page label {
    font-weight: bold;
    margin-top: 20px;
}

.at-profile-page .actions {
    font-weight: bold;
    margin-top: 20px;
}

.live-session {
    background-color: #F70101;
    padding: 4px;
    color: white;
    text-transform: uppercase;
    font-size: 9px;
    border-radius: 4px;
    position: relative;
    left: 8px;
}