:root {
 
  --primary:#0031FF;
  --secondary:#9DFD72;
  --terciary:#3E3E3E;
  --red:#FF4C48;
  --lighter:#E2E2E2;
  --lightgrey:#535353;
  --mediumgrey:#464646;
  --darkgrey:#323232;
  --dark:#1A1A1A;
  --black:#000000;
  --white:#fff;

  --border-radius-md:30px;
  --font-family-text:"Roobert", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  --bg-transition-duration: .6s;

  --venice-racing-color: #319b42; /* VE */
  --team-mexico-color: #0B2241; /* ME */
  --team-nadal-color: #f28c30; /* NA */
  --team-drogba-color: #FFF536; /* DR */ --team-drogba-color-inverted: #000aa6; /* DR */
  --team-brady-color: #000000; /* BR */
  --aoki-racing-color: #F186B6; /* AO */
  --blue-racing-color: #007DCC; /* BL */
  --team-miami-color: #0085ad; /* TM */
  --west-brook-racing-color: #FF252B; /* WR */
  --team-alula-color: #BC9362; /*AL */
}

@font-face {
  font-family: 'Roobert';
  src: url('../woff2/roobert-regular-webfont.woff2') format('woff2'),
       url('../woff/roobert-regular-webfont.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  descent-override: 0%;
  ascent-override: 72%;
  line-gap-override: 3%;
}

@font-face {
  font-family: 'Roobert';
  src: url('../woff2/roobert-medium-webfont.woff2') format('woff2'),
       url('../woff/roobert-medium-webfont.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  descent-override: 0%;
  ascent-override: 72%;
  line-gap-override: 3%;
}

@font-face {
  font-family: 'Roobert';
  src: url('../woff2/roobert-semibold-webfont.woff2') format('woff2'),
       url('../woff/roobert-semibold-webfont.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  descent-override: 0%;
  ascent-override: 72%;
  line-gap-override: 3%;
}

:not(:defined) > * {
  display: none;
}

html {
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  font-family: 'Roobert';
}

model-viewer {
  width: 100%;
  height: 100%;
  background-color: transparent
}


.btn,
.link-button a {
  display: inline-block;
  margin-bottom: 0;
  font-weight: normal;
  text-align: center;
  vertical-align: middle;
  -ms-touch-action: manipulation;
  touch-action: manipulation;
  cursor: pointer;
  padding: 0;
  background-image: none;
  background-color: var(--secondary);
  color: var(--dark);
  border: 1px solid transparent;
  white-space: nowrap;
  padding: 15px 24px;
  font-size: 18px;
  line-height: 1.2;
  border-radius: var(--border-radius-md);
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border: none;
  font-family: var(--font-family-text);
  width: 100%;
}
.link-button,
.form-buttons > span {
  position: absolute;
  top: 32px;
  left: 26px;
  background-color: transparent;
  border: none;
  display: flex;
  justify-content: flex-start;
  pointer-events: all;
  align-items: center;
  overflow: hidden;
  border-radius: var(--border-radius-md);
  --hoverColor:#80E453;
}
/* .link-button:active a,
.link-button:active:after {
  background-color: var(--hoverColor);
  transition: all 0s;
}
.link-button:active a:before {
  border: 4px solid var(--secondary);
  top: 0;
  right: 0;
  height: 52px;
  transition: all 0s;
} */
.link-button.reset-button a:before,
.form-buttons > span:before {
  content: "";
  height: 44px;
  aspect-ratio: 1;
  display: flex;
  background: url(../svg/arrow-animated-reload.svg) -62px center no-repeat transparent;
  border-radius: 50%;
  background-size: auto 100%;
  z-index: 1;
  position: absolute;
  right: 10px;
  transition: background var(--bg-transition-duration);
  top:5px;
}
.link-button.reset-button:after,
.form-buttons > span:after {
  content: "";
  height: 52px;
  display: flex;
  background-color: var(--secondary);
  mask-image: url(../svg/bt-drop.svg);
  -webkit-mask-image: url(../svg/bt-drop.svg);
  mask-size: contain;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-position: center right;
  -webkit-mask-position: center right;
  z-index: 0;
  width: 68px;
  position: relative;
  margin-left: -7px;
  transition: background-color var(--bg-transition-duration);
  flex: none;
}
@-webkit-keyframes arrowRight {
  0% {
    background-position: -50px center;
  }
  80%{
    background-position: 0px center;
    background-color: transparent;
  }
  100%{
    background-color: var(--hoverColor);
    background-position: 0px center;
  }
}
@keyframes arrowRight {
  0% {
    background-position: -50px center;
  }
  80%{
    background-position: 0px center;
    background-color: transparent;
  }
  100%{
    background-color: var(--hoverColor);
    background-position: 0px center;
  }
}
.link-button.reset-button:hover a:before {
  -webkit-animation: arrowRight.4s;
  animation: arrowRight .4s;
  background-color: var(--hoverColor);
  transition: background-color .3s .7s;
}

.progress-bar {
  display: block;
  width: 33%;
  height: 10%;
  max-height: 2%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate3d(-50%, -50%, 0);
  border-radius: 25px;
  box-shadow: 0px 3px 10px 3px rgba(0, 0, 0, 0.5), 0px 0px 5px 1px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.9);
  background-color: rgba(0, 0, 0, 0.5);
}

.progress-bar.hide {
  visibility: hidden;
  transition: visibility 0.3s;
}

.update-bar {
  background-color: rgba(255, 255, 255, 0.9);
  width: 0%;
  height: 100%;
  border-radius: 25px;
  float: left;
  transition: width 0.3s;
}

#ar-button {
  background-image: url(../png/ar_icon-2.png);
  background-repeat: no-repeat;
  background-size: 20px 20px;
  background-position: 8px 50%;
  background-color: #fff;
  position: absolute;
  right: 0px;
  transform: translateX(-50%);
  white-space: nowrap;
  bottom: 10px;
  padding: 0px 18px;
  font-family: Roboto Regular, Helvetica Neue, sans-serif;
  font-size: 14px;
  color: var(--dark);
  height: 36px;
  line-height: 36px;
  border-radius: 18px;
}

#ar-button:active {
  background-color: #E8EAED;
}

#ar-button:focus {
  outline: none;
}

#ar-button:focus-visible {
  outline: 1px solid #4285f4;
}

.Hotspot {
  background: #9dfd72;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 32px;
  border: 4px solid #D9D9D9;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 2px 4px;
  box-sizing: border-box;
  cursor: pointer;
  height: 42px;
  padding: 8px;
  position: relative;
  transition: all 0.3s ease;
  width: 42px;
}
.Hotspot.selected,
.Hotspot:hover {
  background: #0031FF;
}
.Hotspot:before {
  content: "+";
  font-family: 'Roobert';
  font-size: 30px;
  font-weight: 400;
  transition: all 0.3s ease;
  line-height: 30px;
  margin-top: -1px;
}
.Hotspot.selected:before,
.Hotspot:hover:before {
  color: #fff;
}

.HotspotAnnotation {
  visibility: hidden;
  background: rgb(255, 255, 255);
  border-radius: 4px;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 2px 4px;
  color: rgba(0, 0, 0, 0.8);
  display: block;
  font-family: Futura, "Helvetica Neue", sans-serif;
  font-size: 18px;
  font-weight: 700;
  left: calc(100% + 1em);
  max-width: 128px;
  overflow-wrap: break-word;
  padding: 0.5em 1em;
  position: absolute;
  top: 50%;
  width: max-content;
}
.HotspotDescription {
  visibility: hidden;
  background: rgb(255, 255, 255);
  border-radius: 4px;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 2px 4px;
  color: rgba(0, 0, 0, 0.8);
  display: block;
  font-family: Futura, "Helvetica Neue", sans-serif;
  font-size: 18px;
  font-weight: 700;
  left: calc(100% + 1em);
  max-width: 128px;
  overflow-wrap: break-word;
  padding: 0.5em 1em;
  position: absolute;
  top: 50%;
  width: max-content;
}
#teams-selector {
  position: absolute;
  top: 26px;
  width: 100%;
  min-width: 350px;
}
#teams-selector ul {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-flow: row wrap;
  -ms-flex-flow: row wrap;
  flex-flow: row wrap;
  -webkit-box-pack: start;
  -webkit-justify-content: flex-start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  list-style: none;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
  max-width: 800px;
  display: flex;
  margin: 0 auto;
  padding: 0;
  flex-wrap: nowrap;
  align-items: center;
}

#teams-selector ul li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-flow: column wrap;
  -ms-flex-flow: column wrap;
  flex-flow: column wrap;
  -webkit-box-pack: start;
  -webkit-justify-content: flex-start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  position: relative;
  margin: 0 5px;
  background-color: var(--lightgrey);
  border-radius: var(--border-radius);
  overflow: hidden;
  pointer-events: none;
  border-radius: 50%;
  transition: background-color .3s;
  width: 100%;

}
#teams-selector ul li > a {
  overflow: hidden;
  width: 100%;
  pointer-events: all;
  display: inherit;
}

#teams-selector ul li > a img  {
  width:100%;
  overflow: hidden;
  padding: 6px;
  display: block;
}
#teams-selector ul li.active {
  transition: background-color .3s;
}
#teams-selector ul li:not(.active) {
  background-color: var(--lightgrey) !important;
}
#teams-selector ul li:not(.active) > a img {
  filter: none;
}


.team-color .more-items-item.VE {
  background: var(--venice-racing-color) !important;
}
.team-color-a .more-items-item.VE > a {
  background: var(--venice-racing-color) !important;
}
.team-color .more-items-item.VE .wrapper,
.team-color-a .more-items-item.VE .wrapper {
  background: var(--venice-racing-color) !important;
}
.team-color .more-items-item.VE .wrapper:before,
.team-color .more-items-item.VE .wrapper:after,
.team-color-a .more-items-item.VE .wrapper:before,
.team-color-a .more-items-item.VE .wrapper:after {
  background: var(--venice-racing-color) !important;
}
.team-color .more-items-item.ME {
  background: var(--team-mexico-color) !important;
}
.team-color-a .more-items-item.ME > a {
  background: var(--team-mexico-color) !important;
}
.team-color .more-items-item.ME .wrapper, 
.team-color-a .more-items-item.ME .wrapper {
  background: var(--team-mexico-color) !important;
}
.team-color .more-items-item.ME .wrapper:before,
.team-color .more-items-item.ME .wrapper:after,
.team-color-a .more-items-item.ME .wrapper:before,
.team-color-a .more-items-item.ME .wrapper:after {
  background: var(--team-mexico-color) !important;
}
.team-color .more-items-item.NA {
  background: var(--team-nadal-color) !important;
}
.team-color-a .more-items-item.NA > a {
  background: var(--team-nadal-color) !important;
}
.team-color .more-items-item.NA .wrapper, 
.team-color-a .more-items-item.NA .wrapper {
  background: var(--team-nadal-color) !important;
}
.team-color .more-items-item.NA .wrapper:before,
.team-color .more-items-item.NA .wrapper:after,
.team-color-a .more-items-item.NA .wrapper:before,
.team-color-a .more-items-item.NA .wrapper:after {
  background: var(--team-nadal-color) !important;
}
.team-color .more-items-item.DR {
  background: var(--team-drogba-color) !important;
}
.team-color-a .more-items-item.DR > a {
  background: var(--team-drogba-color) !important;
}

.team-color-full .more-items-item.DR .wrapper h2,
.team-color-full .more-items-item.DR .wrapper h2 a {
  color: #000;
}
.team-color .more-items-item.DR .wrapper, 
.team-color-a .more-items-item.DR .wrapper {
  background: var(--team-drogba-color) !important;
}
.team-color.owner .more-items-item.DR .wrapper small,
.team-color .more-items-item.DR .wrapper p,
.team-color .more-items-item.DR .wrapper h2,
.team-color .more-items-item.DR .wrapper h2 a {
  color: #000;
}
.team-color .more-items-item.DR .wrapper:before,
.team-color .more-items-item.DR .wrapper:after,
.team-color-a .more-items-item.DR .wrapper:before,
.team-color-a .more-items-item.DR .wrapper:after {
  background: var(--team-drogba-color) !important;
}
.team-color:not(.owner) .more-items-item.DR > a img {
  filter: invert(1);
}
.team-color .more-items-item.BR {
  background: var(--team-brady-color) !important;
}
.team-color-a .more-items-item.BR > a {
  background: var(--team-brady-color) !important;
}
.team-color .more-items-item.BR .wrapper, 
.team-color-a .more-items-item.BR .wrapper {
  background: var(--team-brady-color) !important;
}
.team-color .more-items-item.BR .wrapper:before,
.team-color .more-items-item.BR .wrapper:after,
.team-color-a .more-items-item.BR .wrapper:before,
.team-color-a .more-items-item.BR .wrapper:after {
  background: var(--team-brady-color) !important;
}
.team-color .more-items-item.AO {
  background: var(--aoki-racing-color) !important;
}
.team-color-a .more-items-item.AO > a {
  background: var(--aoki-racing-color) !important;
}
.team-color .more-items-item.AO .wrapper, 
.team-color-a .more-items-item.AO .wrapper {
  background: var(--aoki-racing-color) !important;
}
.team-color .more-items-item.AO .wrapper:before,
.team-color .more-items-item.AO .wrapper:after,
.team-color-a .more-items-item.AO .wrapper:before,
.team-color-a .more-items-item.AO .wrapper:after {
  background: var(--aoki-racing-color) !important;
}

.team-color .more-items-item.AL {
  background: var(--team-alula-color) !important;
}
.team-color-a .more-items-item.AL > a {
  background: var(--team-alula-color) !important;
}
.team-color .more-items-item.AL .wrapper, 
.team-color-a .more-items-item.AL .wrapper {
  background: var(--team-alula-color) !important;
}
.team-color .more-items-item.AL .wrapper:before,
.team-color .more-items-item.AL .wrapper:after,
.team-color-a .more-items-item.AL .wrapper:before,
.team-color-a .more-items-item.AL .wrapper:after {
  background: var(--team-alula-color) !important;
}


.team-color .more-items-item.BL {
  background: var(--blue-racing-color) !important;
}
.team-color-a .more-items-item.BL > a {
  background: var(--blue-racing-color) !important;
}
.team-color .more-items-item.BL .wrapper, 
.team-color-a .more-items-item.BL .wrapper {
  background: var(--blue-racing-color) !important;
}
.team-color .more-items-item.BL .wrapper:before,
.team-color .more-items-item.BL .wrapper:after,
.team-color-a .more-items-item.BL .wrapper:before,
.team-color-a .more-items-item.BL .wrapper:after {
  background: var(--blue-racing-color) !important;
}
.team-color .more-items-item.TM {
  background: var(--team-miami-color) !important;
}
.team-color-a .more-items-item.TM > a {
  background: var(--team-miami-color) !important;
}
.team-color .more-items-item.TM .wrapper, 
.team-color-a .more-items-item.TM .wrapper {
  background: var(--team-miami-color) !important;
}
.team-color .more-items-item.TM .wrapper:before,
.team-color .more-items-item.TM .wrapper:after,
.team-color-a .more-items-item.TM .wrapper:before,
.team-color-a .more-items-item.TM .wrapper:after {
  background: var(--team-miami-color) !important;
}

.team-color .more-items-item.WR {
  background: var(--west-brook-racing-color) !important;
}
.team-color-a .more-items-item.WR > a {
  background: var(--west-brook-racing-color) !important;
}
.team-color .more-items-item.WR .wrapper, 
.team-color-a .more-items-item.WR .wrapper {
  background: var(--west-brook-racing-color) !important;
}
.team-color .more-items-item.WR .wrapper:before,
.team-color .more-items-item.WR .wrapper:after,
.team-color-a .more-items-item.WR .wrapper:before,
.team-color-a .more-items-item.WR .wrapper:after {
  background: var(--west-brook-racing-color) !important;
}


#lazy-load-poster {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-image: url("../png/racebird-aoki.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
#lazy-load-poster.AL {
  background-image: url("../png/racebird-alula.png");
}
#lazy-load-poster.AO {
  background-image: url("../png/racebird-aoki.png");
}
#lazy-load-poster.BL {
  background-image: url("../png/racebird-blue-rising.png");
}
#lazy-load-poster.BR {
  background-image: url("../png/racebird-teambrady.png");
}
#lazy-load-poster.DR {
  background-image: url("../png/racebird-drogba.png");
}
#lazy-load-poster.ME {
  background-image: url("../png/racebird-checo.png");
}
#lazy-load-poster.NA {
  background-image: url("../png/racebird-rafa.png");
}
#lazy-load-poster.VE {
  background-image: url("../png/racebird-brazil.png");
}
#lazy-load-poster.WR {
  background-image: url("../png/racebird-westbrook.png");
}
#lazy-load-poster.TM {
  background-image: url("../png/racebird-miami.png");
}

#button-load {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate3d(-50%, -50%, 0);
  z-index: 100;
}


@media only screen and (max-width: 900px) { 
  #teams-selector {
    top: 20px;
  }
  #teams-selector > ul {
    flex-wrap: nowrap;
  }
}

@media only screen and (max-width: 767px) { 
  #ar-button.full-screen-ar {
    top: 25px;
    left: 30px;
    right: unset;
    bottom: unset;
    background-image: url(../png/ar_icon_white.png);
    background-color: var(--secondary);
  }
  .full-screen #ar-button {
    display: block;
  }
  .Hotspot {
    height: 25px;
    width: 25px;
    border-width: 2px;
  }
  .Hotspot:before {
    font-size: 16px;
  }
  .link-button.reset-button {
    top: 22px;
    left: 272px;
  }
  .link-button.reset-button a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    color: transparent;
    font-size: 0;
  }
  .link-button.reset-button:after {
    display: none;
  }

  #teams-selector {
    position: relative;
    order: -1;
    width:100%;
    top:10px
  }
  .full-screen  #teams-selector {
    top:90px
  }
  #teams-selector > ul {
    max-width: 95%;
  }
  .link-button:after,
  .form-buttons > span:after {
    height: 42px;
    width: 56px;
    margin-left: -8px;
  }
  .link-button a:before, 
  .form-buttons > span:before {
    height: 36px;
    background: url(../svg/reload-dark.svg) center no-repeat transparent;
    top: unset;
    right: unset;
    transition: none;
  }
  .link-button:hover a:before {
    animation: none;
  }
  .form-buttons > span button {
    height: 42px;
  }
  .tooltip{
    height: 42px;
    
  }
  .btn, .link-button a {
    font-size: 16px;
    padding: 11.5px 24px;
  }
}

