@import "tailwindcss";

body {
  background-color: #1e1d21;
  font-family: "Titillium Web", sans-serif;
}

.main-container {
  color: #eee;
  padding-bottom: 60px;
}
[data-href] {
  cursor: pointer;
}

@keyframes wipe-in-bottom-right {
  from {
    clip-path: polygon(0 0, 0 0, 0 0, 0 50%);
  }
  to {
    clip-path: polygon(-50% 0%, 200% 0, 0 200%, 0 -50%);
  }
}

[transition-style="in:wipe:bottom-right"] {
  animation: 2.5s cubic-bezier(0.25, 1, 0.3, 1) wipe-in-bottom-right both;
}

.card {
  color: #1e1d21;
}

.p-3 {
  padding: 30px;
}
.text a {
  text-decoration: underline;
  color: white;
}
.btn-flat.white a {
  color: #2b2b2b !important;
}
.btn-dark {
  background-color: #2b2b2b !important;
}
table a {
  text-decoration: none !important;
}
/* */
/* Header */
/* */

.tutor-label {
  font-size: 16px;
  color: #1e1d21;
  position: absolute;
  right: 10px;
  top: 10px;
}

nav .brand-logo,
nav ul a {
  color: #222222;
}
nav ul a {
  text-align: center;
  height: 100px !important;
}
nav {
  height: 100px;
}
nav ul {
  height: 100%;
}
nav li span {
  padding-top: 5px;
  text-transform: uppercase;
  display: inline-block;
}
nav li img {
  display: block;
  text-align: center;
  padding-top: 5px;
  height: 56px;
  margin: 0 auto;
}
.nav-wrapper {
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.nav-item .fa {
  font-size: 30px !important;
  display: block !important;
  height: 45px !important;
  text-align: center;
}

nav .brand-logo {
  padding-top: 12px;
}

.logo-container {
  display: flex;
  position: absolute;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 100px;
}

.logo-container img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

main {
  padding-top: 30px;
  min-height: 100vh;
}
#nav-mobile > li {
  margin: 0;
  padding: 0;
  height: auto;
}
#nav-mobile > li > a > span {
  line-height: 1.5em;
}
#nav-mobile .active span {
  border-bottom: 2px solid #dc100e;
}
#nav-mobile a {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  /* padding: 5px 10px; */
}
/* */
/* Footer */
/* */
.page-footer {
  background-color: #dc100e;
  padding-top: 0;
}
.rood {
  background-color: #dc100e;
}
.red-text {
  color: #dc100e !important;
}
.white-text > label,
.white-text > span {
  color: white !important;
}
.footer-copyright a {
  color: white;
}

/* */
/* Formulieren */
/* */
.helptext {
  color: #9e9e9e;
  font-size: 0.8rem;
}
.tox-tinymce,
#id_bijlage {
  margin-bottom: 30px !important;
}
label {
  font-size: 18px;
  color: #222;
}
.modal-content {
  color: #1e1d21;
}
.modal-trigger {
  float: right;
}

.modal.bottom-sheet {
  max-height: 56%;
}
.tutor-lead-update-form label,
.tutor-lead-update-form .select-wrapper input.select-dropdown {
  color: white;
}
.tutor-lead-update-form .select-wrapper .caret {
  fill: white;
}
.dropdown-content li > a,
.dropdown-content li > span {
  color: #2b2b2b !important;
}
/*.antwoorden > form > ul> li > label {*/
/*    color: #eee;*/
/*}*/

/* */
/* Tabellen */
/* */
table {
  width: 100% !important;
}
th {
  background-color: #dc100e;
  color: white;
}
table a {
  color: white;
}
table.striped > tbody > tr:nth-child(odd) {
  background-color: #2b2b2b;
}
table.striped > tbody > tr:nth-child(even) {
  background-color: #403f3f;
}

table a:hover {
  text-decoration: underline;
}

table.ranglijst {
  border-collapse: collapse !important;
  border: none !important;
}
table.ranglijst th {
  font-size: 18px;
  font-weight: 600 !important;
  background-color: white;
  color: #1e1e21;
  border-right: solid 2px #dc100e;
  border-left: solid 2px #dc100e;
}
table.ranglijst tr {
  border: none;
}
table.ranglijst td {
  border-right: solid 2px #dc100e;
  border-left: solid 2px #dc100e;
}
table.ranglijst td {
  font-size: 18px;
}

/**/
/*Ranglijst*/
/**/
.vlag {
  position: absolute;
  text-align: center;
  height: 279px;
  width: 238px;
  background-repeat: no-repeat;
  z-index: -1;
}
.vlag img {
  display: block;
}

.ronde {
  text-align: left;
  font-weight: 600 !important;
  display: inline-block;
  margin-top: 33px;
  margin-left: 10px;
}

.title-row {
  height: 70px;
  align-items: center;
  margin: auto 0;
  padding-top: 5px;
  display: flex;
  width: 100%;
  z-index: 10 !important; /* Increase priority */
  position: relative;
  /*margin-bottom: 20px;*/
}
.title-row-title-right {
  float: right;
  position: absolute;
  right: 17%;
  font-size: 1.64rem;
  line-height: 110%;
  margin: 1.0933333333rem 0 0.656rem 0;
}
.title-row .container {
  align-items: center;
  display: flex;
  height: 70px !important;
}
.title-row img {
  margin-right: 15px;
  position: absolute !important;
  left: 12%;
}
.title-row h5 {
  display: inline-block;
  /*line-height: 70px;*/
  position: absolute !important;
  left: 18%;
  font-size: 1.75rem;
  opacity: 1;
}
.title-row .btn {
  right: 33px;
  position: absolute;
  float: right;
}
.red-line-diagonal {
  width: 40px;
  height: 40px;
  display: inline-block;
  border-right: 2px solid #dc100e;
  transform: rotate(45deg);
  margin-right: 15px;
}

.teal,
.btn,
.btn-large,
.btn-small {
  background-color: #dc100e;
  transition: 0.2s;
}
.btn:hover,
.btn-large:hover,
.btn-small:hover {
  background-color: #df2726;
  text-decoration: none !important;
  transform: translateY(-3px);
}

[type="radio"]:checked + span:after,
[type="radio"].with-gap:checked + span:after {
  background-color: #dc100e !important;
  border: white !important;
}

.leadbuttons {
  padding: 20px;
}
.leadbuttons .btn-large {
  color: #2b2b2b !important;
  background-color: white !important;
  border-bottom: 4px solid #dc100e !important;
}
.leadbuttons .btn-large.disabled {
  color: #9f9f9f !important;
  pointer-events: all;
}
.leadbuttons .btn-large.disabled:hover {
  transform: none !important;
}
.leadbuttons .btn-large.disabled:active {
  pointer-events: none;
}
.edit-team {
  color: #2b2b2b !important;
  background-color: white !important;
  border-bottom: 4px solid #dc100e !important;
}
/* */
/* Team detail */
/* */
.team-logo {
  -webkit-text-size-adjust: 100%;
  color: white;
  box-sizing: border-box;
  width: 150px;
  height: 150px;
  padding: 30px;
  background-size: cover;
  display: block;
  -webkit-border-radius: 50%;
  box-shadow: 8px 8px 16px #0d0d0d, -8px -8px 16px #353535;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.team-logo-small {
  -webkit-text-size-adjust: 100%;
  color: #2b2b2b;
  background-color: ghostwhite;
  box-sizing: border-box;
  width: 40px;
  height: 40px;
  padding: 10px;
  display: block;
  -webkit-border-radius: 50%;
  box-shadow: 4px 4px 8px #0d0d0d, -4px -4px 8px #353535;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.team-nummer-wrapper-autos {
  -webkit-text-size-adjust: 100%;
  color: #2b2b2b;
  background-color: ghostwhite;
  box-sizing: border-box;
  width: 40px;
  height: 40px;
  padding: 10px;
  display: flex;
  position: absolute;
  margin-top: 70px;
  text-align: center;
  -webkit-border-radius: 50%;
  box-shadow: 4px 4px 8px #0d0d0d, -4px -4px 8px #353535;
  transform: translate(-50%, -50%);
  top: 11%;
  left: 50%;
}
.teamnummer {
  margin: auto 0;
  top: 50%;
  transform: translate(-50%, -50%);
  position: relative;
  left: 50%;
  display: inline-block;
  font-size: 20px;
  font-weight: 600;
}

.pitstop-header {
  background: rgb(255, 255, 255);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 1) 90%,
    rgba(220, 16, 14, 1) 90%
  );
  color: #2b2b2b;
}

.pitstop-header i {
  float: right !important;
  position: relative;
  /*display: flex;*/
  /*justify-content: flex-end;*/
  /*width: 60%;*/
  color: white;
  margin-left: auto;
}

.pitstop-titel {
  font-weight: 500;
  font-size: 20px;
}
.pitstop-afbeelding {
  max-width: 100%;
  max-height: 100%;
  -webkit-clip-path: polygon(0 0, 0 100%, 75% 100%, 100% 0);
  clip-path: polygon(0 0, 0 100%, 75% 100%, 100% 0);
}
.collapsible-body {
  padding: 0 0 30px 0 !important;
}
.collapsible,
.collapsible-header,
.collapsible-body {
  border: none !important;
}
.collapsible-header {
  border-radius: 6px;
  margin-bottom: 10px;
}

.antwoorden,
.resultaat {
  background-color: #2b2b2b;
  color: white;
  border-radius: 6px;
}

#racecar-row .row {
  height: 100px;
  transform: translateY(-80px);
}

#racecar-row .row .col {
  text-align: center;
}
.raceauto {
  animation: driveDown 3s forwards ease-out;
  opacity: 0;
}
.raceauto img {
  margin: auto;
}

.raceauto-left {
  margin-top: 50px;
  animation-delay: 0.25s;
}
.raceauto-middle {
  margin-top: 100px;
}
.raceauto-right {
  margin-top: 25px;
  animation-delay: 0.5s;
}

@keyframes driveDown {
  0% {
    transform: translateY(-100px) scale(0.2);
    opacity: 0;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

/**/
/*Offerings*/
/**/
.offerings-row {
  background-color: white;
  border-radius: 6px;
  /*margin: 0;*/
  padding: 0;
  height: 40px;
  transition: 0.2s;
}
.row-teams {
  background-color: white;
  border-radius: 6px;
  padding: 0;
  margin-bottom: 20px;
  height: 40px;
}
.offerings-row:hover {
  transform: translateY(-3px);
}
.offerings-text {
  display: inline;
  color: #222;
  margin-top: 11px;
  margin-left: 11px;
  position: absolute;
}
.row-text-teams {
  display: inline;
  color: #1e1e21;
  position: relative;
  bottom: 12px;
}
.row-text-teams span:nth-of-type(1) {
  width: 22%;
  display: inline-block;
  position: relative;
}
.row-text-teams span:nth-of-type(2) {
  width: 15%;
  display: inline-block;
  position: relative;
}
.row-text-teams span:nth-of-type(3) {
  width: 22%;
  display: inline-block;
  position: relative;
}

.offerings-buttons {
  /*display: inline;*/
  background-color: #dc100e;
  width: 6%;
  float: right;
  padding: 0;
  margin: 0;
  height: 40px;
  display: flex;
  align-items: center;
  padding-left: 15px;
}
.offerings-buttons img {
  margin-top: 7px;
}

.red-left-corner {
  /*width: 40px;*/
  /*height: 30px;*/
  width: 50px;
  height: 0;
  display: inline-block;
  border-top: 40px solid #dc100e;
  border-right: 30px solid transparent;
  border-bottom-left-radius: 6px;
}
.white-right-corner {
  margin-left: -50px;
  width: 50px;
  height: 0;
  display: inline-block;
  border-bottom: 40px solid #dc100e;
  border-left: 30px solid transparent;
  border-bottom-left-radius: 6px;
}

[type="radio"]:disabled + span,
[type="radio"]:disabled:not(:checked) + span:before {
  color: #aaa;
}

/* FADE IN  */

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.fadeIn {
  animation-name: fadeIn;
  animation-duration: 1s;
}

/* FADE IN DOWN */

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translate3d(0, -100%, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.fadeInDown {
  animation-name: fadeInDown;
}

/* FADE IN UP */
@keyframes fadeInUpCustom {
  from {
    opacity: 0;
    transform: translate3d(0, 100vh, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.fadeInDown {
  animation-name: fadeInUpCustom;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.fadeInUp {
  animation-name: fadeInUp;
  animation-duration: 0.5s;
}

/* FADE IN UP BIG */

@keyframes fadeInUpBig {
  from {
    opacity: 0;
    transform: translate3d(0, 100px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.fadeInUpBig {
  animation-name: fadeInUpBig;
  animation-duration: 1s;
}

/* FADE IN LEFT */

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translate3d(-30px, 0, 0) rotateZ(30deg);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.fadeInLeft {
  animation-name: fadeInLeft;
  animation-duration: 1s;
}

/* FADE IN LEFT BIG */

@keyframes fadeInLeftBig {
  from {
    opacity: 0;
    transform: translate3d(-100px, 0, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.fadeInLeftBig {
  animation-name: fadeInLeftBig;
  animation-duration: 1s;
}

/* FADE IN RIGHT */

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translate3d(100%, 0, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.fadeInRight {
  animation-name: fadeInRight;
  animation-duration: 1s;
}

/* @end standaard animaties  */

/*For the ticker on Start*/
@-webkit-keyframes ticker {
  0% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    visibility: visible;
  }
  100% {
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }
}
@keyframes ticker {
  0% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    visibility: visible;
  }
  100% {
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }
}
.ticker-heading {
  position: absolute;
  background: #403f3f;
  display: block;
  left: 0;
  top: 0;
  height: 2.5rem;
  padding: 11px 40px;
  z-index: 2;
  color: white;
  text-transform: uppercase;
  font-size: 0.875rem;
}
.ticker-wrap .ticker__item:before {
  content: "";
  height: 11px;
  width: 11px;
  display: inline-block;
  background-color: #dc100e;
  border-radius: 100%;
  position: relative;
  margin-right: 15px;
}
.ticker-heading:after {
  content: "";
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 11px solid #403f3f;
  position: absolute;
  margin-left: 40px;
}
.ticker-wrap {
  position: relative;
  bottom: 0;
  width: 100%;
  overflow: hidden;
  height: 2.5rem;
  background-color: #f9f9f9;
  padding-left: 100%;
  box-sizing: content-box;
}
.ticker-wrap .ticker:hover {
  -webkit-animation-play-state: paused;
  -moz-animation-play-state: paused;
  -ms-animation-play-state: paused;
  -o-animation-play-state: paused;
  animation-play-state: paused;
}
.ticker-wrap .ticker {
  display: inline-block;
  height: 2.5rem;
  line-height: 2.5rem;
  white-space: nowrap;
  padding-right: 100%;
  box-sizing: content-box;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
  -webkit-animation-name: ticker;
  animation-name: ticker;
  -webkit-animation-duration: 30s;
  animation-duration: 30s;
}
.ticker-wrap .ticker__item {
  display: inline-block;
  padding: 0 2rem;
  font-size: 0.875rem;
  color: #454545;
}

label[for="logo-clear_id"] {
  display: none;
}

.team-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid #dc100e;
}
.deelnemer-list-item {
  border-bottom: 1px solid #dc100e;
  padding: 10px;
}

.deelnemer-checkbox {
  position: relative !important;
  display: inline-block !important;
  background-color: white;
  border-radius: 50%;
  margin-right: 10px;
  cursor: pointer;
  opacity: 1 !important;
}
#modal {
  top: 20% !important;
}
.errorlist {
  color: #dc100e;
}
