body {
  height: 100vh;
  max-height: unset;
  overflow: scroll;
}

.content .container-fluid {
  max-width: unset;
}

body.dark-mode, div:not(.card-profile):not(.card-map):not(.card-inner) > .card-body, .card.card-map, .card.card-profile {
  color: #ccc;
}

body.chrome.dark-mode .table-results tr.one {
  background: linear-gradient(90deg, rgb(175, 149, 0) 0%, rgb(63, 57, 57) 50%);
}

body.chrome.dark-mode .table-results tr.two {
  background: linear-gradient(90deg, rgb(180, 180, 180) 0%, rgb(74, 67, 67) 50%);
}

body.chrome.dark-mode .table-results tr.three {
  background: linear-gradient(90deg, rgb(173, 138, 86) 0%, rgb(63, 57, 57) 50%);
}

.dark-mode .logo {
  float: right;
  max-width: auto;
  max-height: 40px;
  margin-top: 12px;
  margin-right: 5px;
  opacity: 0.7;
}
.dark-mode .card.card-noframe .card-body {
  padding: 0 !important;
  box-shadow: none !important;
  background-color: transparent !important;
  border-radius: 0 !important;
}
.dark-mode #index-users div.img-container, .dark-mode #index-organizations div.img-container {
  background-color: #777;
  background-image: url("/img/placeholder_profile_cover_dark.jpg");
}
.dark-mode #index-users div.img-container > div, .dark-mode #index-organizations div.img-container > div {
  border-color: #E4E6E3;
}
.dark-mode .grid-card > div div.img-container {
  border-bottom: 1px solid rgba(28, 28, 28, 0.53);
}
.dark-mode .card-results > .card-body, .dark-mode .card-results .grid-card-content {
  background-color: rgba(255, 255, 255, 0.2) !important;
}
.dark-mode .table-striped > tbody > tr:nth-of-type(odd) {
  background-color: rgba(0, 0, 0, 0.15);
}
.dark-mode .table.table-hover tbody tr:hover {
  background-color: #333;
}
.dark-mode .card .card-header.card-header-icon .card-title, .dark-mode .card .card-header.card-header-text .card-title {
  color: #bbb;
}
.dark-mode .table > thead > tr > th, .dark-mode .table > tbody > tr > th, .dark-mode .table > tfoot > tr > th, .dark-mode .table > thead > tr > td, .dark-mode .table > tbody > tr > td, .dark-mode .table > tfoot > tr > td {
  border-color: #363636;
}
.dark-mode .table > tbody > tr.first-pos {
  background-color: #af9500;
}
.dark-mode .table > tbody > tr.second-pos {
  background-color: #B4B4B4;
}
.dark-mode .table > tbody > tr.third-pos {
  background-color: #AD8A56;
}
.dark-mode .table > tbody > tr.first-pos td, .dark-mode .table > tbody > tr.second-pos td, .dark-mode .table > tbody > tr.third-pos td {
  color: #000;
}
.dark-mode .grid-card img.flag {
  border-color: 2px solid #E4E6E3;
}
.dark-mode .grid-card img.federation {
  max-height: 40px;
  max-width: 110px;
}
.dark-mode .grid-card img.product {
  border-color: 2px solid #E4E6E3;
}
.dark-mode h2.item-title {
  font-size: 2.2rem;
}
.dark-mode h3.item-title {
  font-size: 1.8rem;
}
.dark-mode .grid-card .brands img {
  max-height: 20px;
  max-width: 120px;
}
.dark-mode .grid-card .brands img.main-brand {
  max-height: 40px;
  max-width: 220px;
}

.hide-dashboard {
  display: none !important;
}

.podium, .table-results th, .table-results td, h4, h1, h2, h3, h4 {
  font-family: "Titillium Web";
  font-weight: 700 !important;
}

td.col-name a {
  color: #fff !important;
}

.podium {
  align-items: stretch;
}

.podium .card {
  margin-top: 40px;
  border-radius: 10px;
}

.podium .card .card-inner {
  margin: 3px;
  border-radius: 8px;
  height: 100%;
}

.podium.true-podium .pos-1 .card {
  margin-top: 40px;
  height: calc(100% - 40px);
}

.podium.true-podium .pos-2 .card {
  margin-top: 60px;
  height: calc(100% - 60px);
}

.podium.true-podium .pos-3 .card {
  margin-top: 80px;
  height: calc(100% - 80px);
}

.podium .card .card-body .name {
  margin-top: 0;
}

.podium.true-podium .pos-2 .card .name {
  margin-top: 20px;
}

.podium.true-podium .pos-1 .card .name {
  margin-top: 40px;
}

.podium .pos-1, .podium.true-podium .pos-2 {
  padding-left: 30px;
  padding-right: 0;
}

.podium .pos-1 .card {
  background: linear-gradient(315deg, #7a6a10 1%, #ffecb3 40%, #af9500 85%) !important;
}

.podium .pos-1 .card-inner {
  background: linear-gradient(135deg, #7a6a10 1%, #ffecb3 40%, #af9500 85%) !important;
}

.podium .pos-2, .podium.true-podium .pos-1 {
  padding-left: 20px;
  padding-right: 20px;
}

.podium .pos-2 .card-inner {
  background: linear-gradient(135deg, #9999aa 1%, #f6f6f6 40%, #B4B4B4 85%) !important;
}

.podium .pos-2 .card {
  background: linear-gradient(315deg, #9999aa 1%, #f6f6f6 40%, #B4B4B4 85%) !important;
}

.podium .pos-3 {
  padding-left: 0;
  padding-right: 30px;
}

.podium .pos-3 .card-inner {
  background: linear-gradient(135deg, #645731 1%, #ddbf7e 40%, #927448 85%) !important;
}

.podium .pos-3 .card {
  background: linear-gradient(315deg, #645731 1%, #ddbf7e 40%, #927448 85%) !important;
}

.podium .card {
  color: rgba(255, 255, 255, 0.9);
}

.podium .pos-number, .points {
  color: rgba(255, 255, 255, 0.8);
}

.podium .card {
  text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.2);
}

.podium .card-profile .card-avatar {
  margin-top: -30px;
  max-width: 200px;
  max-height: 200px;
  border: 5px solid #fff;
  z-index: 1;
}

.podium .card-profile .card-avatar img {
  height: 200px;
  width: 200px;
  -o-object-fit: cover;
     object-fit: cover;
}

.podium .pos-number {
  position: absolute;
  z-index: 1000;
  left: 15px;
  top: 60px;
  font-size: 9rem;
  font-weight: 700;
  padding-right: 0;
  text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.4);
}

.podium .pos-1 .pos-number {
  left: 25px;
}

.podium .right-corner {
  font-family: "Titillium Web";
  position: absolute;
  right: 15px;
  top: 15px;
  text-align: right;
}

.podium .country img {
  height: 50px;
  width: 50px;
}

.podium .pos-points {
  font-size: 2rem;
  margin-top: 10px;
}

.podium .tq {
  font-size: 1.5rem;
  margin-top: 10px;
}

.podium .brands {
  text-align: center;
  margin-top: 10px;
}

.podium .brands img {
  max-height: 30px;
  max-width: 100%;
}

.podium .brands .model-brand img {
  max-height: 40px;
  max-width: 200px;
}

.podium .brands .model-brand {
  font-size: 1.5rem;
  min-height: 40px;
}

.podium .brands span {
  display: inline-block;
  max-width: 24%;
  margin-top: 10px;
}

.podium .name, .podium .name a {
  color: rgba(0, 0, 0, 0.7);
  text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.8);
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 2.3rem;
  text-align: center;
}

.podium .affilitations {
  color: rgba(0, 0, 0, 0.35);
  text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.5);
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 5px;
}

.grid-card .drivernumber {
  color: #394140;
  border-color: #394140;
  background-color: rgba(255, 255, 255, 0.25);
}

td .qual {
  font-weight: 100;
  color: #E4E6E3;
}

.table-noheader thead {
  display: none;
}

.table-results th {
  color: #292929;
  font-weight: bold !important;
}

.table-results th.col-brand {
  text-align: center;
}

table.dataTable thead .sorting:before, table.dataTable thead .sorting_asc:before, table.dataTable thead .sorting_desc:before, table.dataTable thead .sorting_asc_disabled:before, table.dataTable thead .sorting_desc_disabled:before,
table.dataTable thead .sorting:after, table.dataTable thead .sorting_asc:after, table.dataTable thead .sorting_desc:after, table.dataTable thead .sorting_asc_disabled:after, table.dataTable thead .sorting_desc_disabled:after {
  display: none;
}

.card-title, .table-results .col-name, .table-results .col-name h4, .col-ranking {
  font-size: 1.4rem;
}

.table-results td {
  font-size: 1.2rem;
  border-width: 0;
  color: #fff;
}

.dashboard table.table-results tbody > tr > td:first-child {
  padding-left: 25px !important;
}

.table-results td.col-ranking span {
  min-width: 42px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  background-color: rgba(0, 0, 0, 0.15);
  color: #fff;
  padding: 5px;
}

.table-results td.col-ranking, .table-results tr.podium td.col-ranking {
  font-size: 1.6rem;
}

.table-results tr.podium td.col-ranking i.material-icons {
  font-size: 1.4rem;
}

.table-results td.col-name {
  width: inherit;
}

.table-results td.col-race {
  font-weight: normal !important;
}

.table-results td.col-brand.picture img {
  max-height: 40px;
  max-width: 120px;
}

@media (max-width: 991.98px) {
  .podium .pos-1, .podium .pos-2, .podium .pos-3 {
    padding-left: 25px;
    padding-right: 25px;
  }
  .podium .pos-1 .pos-number {
    left: 20px;
  }
}
@media (max-width: 1199.98px) {
  .podium .card {
    mmargin-top: 60px;
  }
  .podium.true-podium .pos-2 .card {
    mmargin-top: 80px;
  }
  .podium.true-podium .pos-3 .card {
    mmargin-top: 100px;
  }
  .podium .card-profile .card-avatar {
    margin-top: -30px;
    max-width: 160px;
    max-height: 160px;
  }
  .podium .card-profile .card-avatar img {
    height: 160px;
    width: 160px;
  }
  .podium .pos-number {
    left: 10px;
    top: 47px;
    font-size: 7.5rem;
  }
  .podium .country img {
    height: 40px;
    width: 40px;
  }
  .podium .pos-points {
    font-size: 1.5rem;
  }
  .podium .tq {
    font-size: 1.1rem;
    margin-top: 0px;
  }
  .podium .brands img {
    max-height: 25px;
  }
  .podium .brands .model-brand {
    font-size: 1.2rem;
    min-height: 35px;
  }
  .podium .brands .model-brand img {
    max-height: 35px;
  }
  .podium .name, .podium .name a {
    font-size: 2rem;
  }
  .podium .affilitations {
    font-size: 1.2rem;
  }
  .card-title, .table-results .col-name, .col-ranking {
    font-size: 1.3rem;
  }
  .table-results td {
    font-size: 1.1rem;
  }
  .card .card-body.full-width table.dataTable > tbody > tr > td:first-child {
    padding-left: 10px !important;
  }
}
