body {
    background-color: #f1f1f1;
}

.login-box__links {
    padding-left: 5px;
    padding-right: 5px;
    text-decoration: none;
    font-weight: 600;
    display: block;
}

.login-box__links:hover {
    text-decoration: underline;
}

.login-ranking-table > tbody > tr > td {
    border-bottom-color: rgba(0, 0, 0, 0.23) !important;
}

.login-box {
    max-width: 550px;
    min-width: 330px;
    background: #ffffff;
    border-radius: 5px;
    box-shadow: 0 0 7px 0 rgb(169, 172, 174);
}

.login-form__button {
    border: 1px solid rgba(0, 0, 0, 0.61);
    border-radius: 3px;
}

.login-form__button:hover {
    background-color: rgb(74, 74, 74);
}

a {
    transition: color ease-in-out 0.2s;
}

.login-form__button {
    font-weight: 700;
}

.panel-masthead {
    min-height: 80px;
    background-color: #222222;
    color: white;
    padding: 10px;
}

.panel-masthead__logo > img {
    max-height: 60px;
}

.sidebar {
    background-color: #222222;
    padding: 0;
    max-width: 300px;
    height: 100%;
}

.sidebar-container {
    height: auto !important;
}

.sidebar-item > .nav-link.active {
    border-radius: 0;
    background-color: #414141 !important;
    color: white !important;
    border: none;
}

.sidebar > ul {
    border: none;
}

.sidebar-item > a, .sidebar-item > a:hover, .sidebar-item > a:focus, .sidebar-item > ul > li > a, .sidebar-item > ul > li > a:hover, .sidebar-item > ul > li > a:focus {
    color: #fff;
    text-decoration: none;
}

.sidebar-item > .nav-link:hover {
    background-color: #414141 !important;
}

.sidebar-link__icon {
    margin-right: 10px;
}

.sidebar-link {
    padding: 10px 30px;
}

.panel-masthead__logo {
    text-align: center;
}

.has-subitem.sidebar-item {
    position: relative;
}

.sidebar__subitem {
    color: black;
    list-style: none;
}

.sidebar__subitem > li > a {
    white-space: nowrap;
    padding: 2px 30px 2px 20px;
    color: #fff;
    background-color: #414141;
    display: block;
}

.sidebar__subitem {
    padding: 0;
    background-color: #414141;
}

.sidebar__subitem > li > a:hover {
    background-color: #8c8c8c;
}

.sidebar__subitem.show {
    display: block;
}

.has-subitem::after {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: .255em;
    vertical-align: .255em;
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-bottom: 0;
    border-left: .3em solid transparent;
}


.panel-header {
    margin-bottom: 40px;
}

button[type=submit] {
    margin-top: 20px;
}

.form-group.required label::after {
    content: "*";
    color: red;
}

.panel-form input, .panel-form label {
    display: inline;
}

.form-group, .report-field-group {
    margin: 20px 0;
}

.actions-cell > a {
    margin: 0 10px;
}

@media (max-width: 575px) {
    .actions-cell > a {
        display: block;
    }
}

.panel-heading-2 {
    font-size: 26px;
    font-weight: 100;
}

.contact-card__container {
    background-color: #fdfdfd;
    padding: 15px;
    box-shadow: 0 0 4px 0 rgb(151, 155, 159);
    transition: 0.3s;
}

.contact-card__container.clicked {
    background-color: #d7d7d7;
}

@media (min-width: 576px) {
    section {
        margin: 15px;
        padding: 30px;
    }
}

.contact-details > p {
    margin: 5px;
}

.contact-table__cell {
    text-align: center;
}

.go-up__container:hover {
    top: -10px;
}

.go-up__container {
    top: 0;
    position: absolute;
    left: calc(var(--bs-gutter-x) * .5);
    right: 0;
    background-color: #fdfdfd;
    padding: 15px;
    box-shadow: 0 0 4px 0 rgb(151, 155, 159);
    transition: 0.3s;
    width: calc(100% - var(--bs-gutter-x));
}

.go-up {
    position: relative;
}

.clickable {
    cursor: pointer;
}

.col-form-label {
    font-weight: 700;
}

.report-field-group p {
    margin: 0;
}

.report__decision {
    background-color: #f1f1f1;
    padding: 5px 0;
    border-radius: 5px;
    margin-bottom: 15px;
}

.sidebar__subitem > li > a {
    padding-left: 35px;
}

#sidebar-nav {
    flex-direction: column;
    z-index: 1000;
}

#sidebar-nav > ul {
    width: 300px;
}

.wrapper {
    width: 100%;
    max-width: 1600px;
}

.sidebar__heading {
    color: #fff;
    font-size: 1.6em;
    padding: 0 30px;
    font-weight: 200;
}

.user-photo {
    max-width: 250px;
}

.first-place {
    background-color: gold !important;
    color: #000;
}

.second-place {
    background-color: silver !important;
    color: #000;
}

.third-place {
    background-color: rgb(166, 111, 71) !important;
    color: #000;
}

.sidebar__season {
    margin-left: 30px;
    color: #fff;
    font-size: x-large;
    font-weight: 100;
}

.table-dark > tr > th {
    border-bottom: 0;
}

.track > span {
    color: white;
    text-transform: uppercase;
    font-size: x-large;
    font-weight: 800;
    -webkit-text-stroke: 1px #1f1f1f;
}

.track__name {
    position: absolute;
    bottom: 10px;
    left: 10px;
}

@media (max-width: 767px) {
    .track-heading {
        margin-top: 1rem;
    }
}

.track {
    padding: 20px;
    border-radius: 8px;
    border: 1px solid lightgray;
    box-shadow: 0 0 8px rgb(210, 218, 225);
}

.track__country-flag {
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(15%, -20%);
    max-height: 25%;
    max-width: 25%;
    box-shadow: 0 0 8px rgb(210, 218, 225);
}

.track__image-box {
    position: relative;
}

.track__delete-link {
    color: red;
}


.team__member-photo {
    max-width: 50px;
    max-height: 50px;
    display: inline-block;
}

.team__member-desc {
    display: inline-block;
    margin-left: 10px;
    margin-right: 10px;
}

.team__member-name {
    margin-bottom: 0;
}

.team__car-image {
    max-height: 50px;
}

.team__name {
    margin-bottom: 0;
}

.team {
    padding: 10px;
    border-radius: 5px;
}

.driver-photo {
    max-height: 20px;
}

.photo-in-table {
    max-width: 25px;
    max-height: 25px;
}

.driver-profile__header {
    color: #fff;
    padding: 20px;
    margin: -20px -20px 0 -20px;
    background: linear-gradient(135deg, #222222e8 67%, rgba(255, 255, 255, 0.4)), url("../../assets/img/1200px-F1_chequered_flag.svg.png") no-repeat;
    background-size: cover, cover;
}

body {
    font-family: 'Changa', sans-serif;
}

section {
    background: rgb(255, 255, 255);
    box-shadow: 0 0 7px 0 rgb(169, 172, 174);
    padding: 20px;
    margin-top: 15px;
}

.calendar-card.ended > .calendar-card__badge {
    position: absolute;
    top: 35px;
    left: -35px;
    transform: rotate(-45deg);
    z-index: 100;
    background-color: red;
    font-weight: 600;
    color: #fff;
    padding: 0 30px;
    box-shadow: 0 0 5px 0 #000000;
}

.car-in-table {
    max-height: 30px;
}

html {
    min-height: 100%;
}

.minh-100 {
    height: auto !important;
    min-height: 100%;
}

.fourth-to-tenth-place {
    background-color: #93C47D !important;
    color: #000 !important;
}

.eleventh-to-twentieth-place {
    background-color: #38761D !important;
    color: #000 !important;
}

.dns-reported {
    background-color: #E06666 !important;
    color: #000 !important;
}

.dns-unreported {
    background-color: #F6B26B !important;
    color: #000 !important;
}

.subdriver {
    background-color: #666666 !important;
    color: #fff !important;
}

.tec {
    background-color: #434343 !important;
    color: #fff !important;
}

.dsq {
    background-color: #A61C00 !important;
    color: #fff !important;
}

.dnf {
    background-color: #cd71cd !important;
    color: #fff !important;
}

.ban {
    background-color: #555555 !important;
    color: #ff6622 !important;
}

.fl::after {
    display: inline-block;
    content: "*";
}

th.dir-d::after {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: .255em;
    vertical-align: .255em;
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-bottom: 0;
    border-left: .3em solid transparent;
}

th.dir-u::after {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: .255em;
    vertical-align: .255em;
    content: "";
    border-top: 0;
    border-right: .3em solid transparent;
    border-bottom: .3em solid;
    border-left: .3em solid transparent;
}

@media (min-width: 576px) {
    .modal-dialog {
        max-width: 70%;
    }
}

.sidebar__button > a {
    white-space: normal;
    margin-right: 10px;
}

.track-in-table {
    max-height: 100px;
}

.bootstrap-table .fixed-table-container.fixed-height .table thead th {
    border-bottom: initial;
}

.table-heading {
    font-size: 3em;
}

.tophead {
    height: 30px;
    line-height: 30px;
    text-align: center;
    color: white;
    background-color: rgb(204, 22, 22);
    overflow: hidden;
}

.tophead__sponsors {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.tophead__sponsors > ul {
    padding: 0;
    margin-left: 5px;
}

.tophead__sponsors > ul > li {
    display: none;
    list-style: none;
}

.comment__profile-image {
    max-width: 50px;
}

.comment__details {
    color: #797979;
    font-style: italic;
}

.comment__content > div {
    background: #eaeaea;
}

.comment.current-user .comment__content > div {
    background: rgba(143, 255, 80, 0.23);
}

.comment.current-user > .row {
    justify-content: end;
}

.comment .comment__image-box {
    justify-content: end;
}

.comment.current-user .comment__image-box {
    justify-content: start;
}

.comment.current-user .comment__content {
    order: 0;
}

.comment.current-user .comment__image-box {
    order: 1;
}

.comment.verdict {
    background: #fafadc;
}

.choose-user:hover, .choose-user:focus {
    background: #e9e9e9;
}

.rte-modern.rte-desktop.rte-toolbar-default, .rte-modern.rte-desktop.rte-toolbar-full {
    min-width: initial;
}

#add-comment button {
    margin-top: initial;
}

.calendar-card {
    overflow: hidden;
    box-shadow: 0 0 8px rgb(210, 218, 225);
}

.calendar-card__flag {
    height: 40px;
}

.calendar-card__summary {
    background-image: url("../../assets/img/dark-honeycomb.png");
}

.calendar-card__driver-photo {
    height: 40px;
    width: 40px;
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-right: 10px;
}

.calendar-card__second-place::before {
    background-color: silver;
}

.calendar-card__third-place::before {
    background-color: rgb(166, 111, 71);
}

.next-race__details p {
    margin: 0;
}

.next-race__flag {
    height: 80px;
}

.next-race {
    background-image: url("../../assets/img/dark-honeycomb.png");
    color: #fff;
}

.calendar-card__first-place::before {
    background-color: gold;
}

.calendar-card__place-badge::before {
    content: "";
    height: 40px;
    width: 15px;
    top: 50%;
    position: absolute;
    display: inline-block;
    z-index: 100;
    left: -15px;
    transform: translateY(-50%);
}

.rounded-top-right {
    border-radius: 0 25px 0 0;
}

.calendar-card__summary img {
    margin-right: 10px;
}

.calendar-card__summary p {
    margin: 0;
}

.calendar-card__summary {
    color: #fff;
}

.base-div {
    background-color: #222f30;
    color: #fff;
}

.box-shadow-dark {
    box-shadow: 3px 4px 4px 1px #182424;
}

.accent-div {
    background-color: #597678;
    color: #fff;
}

