* {
  box-sizing: border-box;
}
body,
html {
  margin: 0;
  padding: 0;
  font-family: "Roboto", sans-serif;
  font-size: 15px;
  font-weight: 300;
  -webkit-text-size-adjust:100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4 {
  font-family: "Poppins", sans-serif;
  text-transform: uppercase;
  font-weight: 700;
}

h1 {
  font-size: 4rem;
}

h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

@media screen and (min-width: 1020px) {
  h2 {
    font-size: 2rem;
  }
}

p {
  line-height: 1.5rem;
}

strong {
  font-weight: 700;
}

hr {
  height:1px;
  margin:2em 0;
  padding:0;
  line-height: 1px;
  border:none;
  color:#ddd;
  background-color: #ddd;
}
hr.tiny {
  margin:1em 0;
}

.input {
  background: #fff;
  padding:7px 10px;
  border: 1px solid #ddd;
  box-shadow: 0 0 0 3px rgba(0,0,0,0.05);
  border-radius: 5px;
  margin:0 5px;
  min-width: 200px;
  font-family: "Roboto", sans-serif;
  font-weight: 300;
}
select.input {
  min-width: auto;
  padding:5px;
}

.size-xl { width: 400px; }
.size-max { width: 100%; }

.red { color: #ff2973; }
.green { color: #24c765; }
.blue { color: #5AB6E7; }

.fl { float:left; }
.fr { float:right; }

.row .row { margin:  0 -1.5em; }
.col      { padding: 0  1.5em; }

.row:after {
  content: "";
  clear: both;
  display: table;
}

@media only screen { .col {
  float: left;
  width: 100%;
  box-sizing: border-box;
}}

.btn {
  background: #5AB6E7;
  cursor: pointer;
  padding:12px 24px;
  font-weight: 700;
  font-family: "Poppins", sans-serif;
  text-transform: uppercase;
  text-decoration: none;
  border:none;
  color:#FFF;
  display: inline-block;
  border-radius: 4px;
}
.btn-success {
  background: #5AB6E7;
}
.btn-danger {
  background: #ff2973;
}
.btn-dark {
  background: #000;
}
.btn-xs {
  padding:6px 12px;
  font-size: 0.9rem;
}
.btn-xxs {
  padding:4px 6px;
  font-size: 0.8rem;
}
.btn-block {
  display: block;
}
.btn-inline {
  margin:3px 3px 0 0;
}

.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}

.flash {
  font-size: 1.2em;
  font-weight: bold;
  color:#F00;
  background: #ffe5dc;
  padding: 10px;
  border-radius: 5px;
  border:1px solid #ffbbb3;
}

.header__menu {
  position: fixed;
  z-index: 10;
  top:0;
  left:0;
  right:0;
  text-align: right;
  color:#FFF;
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  -ms-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}
.header__menu span {
  float:left;
  font-weight: 700;
  font-size: 1.4rem;
  text-transform: uppercase;
  padding:15px 0 0 15px;
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  -ms-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
  height: 75px;
}
.header__menu span a {
  text-decoration: none;
}
@media screen and (min-width: 768px) {
  .header__menu span {
    height: 95px;
  }
}
.header__menu span.logo img {
  height: 100%;
}
.header__menu span.logo a {
  color: #FFF;
  padding:12px;
  display: inline-block;
}

.header__menu ul {
  display: none;
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  -ms-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}

.header__menu.fixed {
  background: #FFF;
  box-shadow: 0 0 30px rgba(0,0,0,0.1);
  color: #000;
}
.header__menu.fixed span {
  padding:8px 0 0 10px;
  font-size: 1.4rem;
  text-align: left;
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  -ms-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
  height: 60px;
}
.header__menu.fixed span.logo a {
  color: #000;
}

.header__menu ul.opened {
  position: fixed;
  display: block;
  top:0;
  bottom:0;
  left:0;
  right:0;
  z-index: 4;
  background: #FFF;
  text-align: center;
  padding:60px 0 0 0;
  margin:0;
}
.header__menu ul.opened li {
  display: block;
}
.header__menu ul.opened li a {
  display: block;
  padding: 15px 20px;
  letter-spacing: 1px;
  color: #000;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.1rem;
}

.menu__trigger {
  text-align: right;
  display: inline-block;
  padding: 30px 15px 30px 0;
  position: relative;
  z-index: 5;
  cursor: pointer;
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  -ms-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}
@media screen and (min-width: 360px) {
  .menu__trigger {
    padding-right: 30px;
  }
}
@media screen and (min-width: 468px) {
  .menu__trigger {
    padding: 30px;
  }
}
.menu__trigger div {
  width: 30px;
  height: 4px;
  background: #fff;
  margin: 4px 0;
  transition: 0.4s;
}
.menu__trigger.opened {
  padding: 30px !important;
}
.menu__trigger.opened div {
  opacity: 0;
  background:#000 !important;
}
.menu__trigger.opened div:first-child {
  -webkit-transform: rotate(-45deg) translate(-5px, 5px);
  transform: rotate(-45deg) translate(-5px, 5px);
  opacity: 1;
}
.menu__trigger.opened div:last-child {
  -webkit-transform: rotate(45deg) translate(-6px, -6px);
  transform: rotate(45deg) translate(-6px, -6px);
  opacity: 1;
}

.header__menu.fixed .menu__trigger {
  padding: 17px 20px;
}
.header__menu.fixed .menu__trigger div {
  background: #000;
}

@media screen and (min-width: 1020px) {
  .menu__trigger {
    display: none;
  }
  .header__menu ul {
    display: inline-block;
    margin:0;
    padding:10px;
  }
  .header__menu ul li {
    display: inline-block;
  }
  .header__menu ul li a {
    display: inline-block;
    padding: 30px 20px;
    letter-spacing: 1px;
    color: #FFF;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
  }
  .header__menu ul li a:hover {
    background: #000;
  }

  .header__menu.fixed ul {
    padding:0;
  }
  .header__menu.fixed  ul li a {
    color: #000;
    padding: 25px 20px;
    font-size: 0.9rem;
  }
  .header__menu.fixed  ul li a:hover {
    color:#fff;
  }
}

.banner {
  position: relative;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3) url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAADCAYAAABWKLW/AAAAF0lEQVQIW2NkYGD4z8DAwMgAI0AMDA4AI3EBBCKrOnQAAAAASUVORK5CYII=");
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 1em;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  height: 100vh;
  letter-spacing: 2px;
  box-shadow: 0 0 30px rgba(0,0,0,0.3);
}
.banner__text {
  position: relative;
  top: 45%;
  -ms-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  font-size: 1.5rem;
}
.banner__text p {
  font-weight: 300;
}
.banner__text h1 {
  font-size: 2rem;
  margin-bottom: -1rem;
}
.banner__scroll {
  position: absolute;
  bottom:10px;
  left:0;
  right:0;
  font-size: 0.8em;
  font-weight: 300;
}
.banner__scroll svg path {
  fill:none;
  stroke:#fff;
  stroke-width:20px;
}
.banner__video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  min-width: 100%;
  height: auto;
  min-height: 100%;
  transform: translateX(-50%) translateY(-50%);
  z-index: -1;
}

@media screen and (min-width: 768px) {
  .banner__text {
    top: 50%;
  }
  .banner__text h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
  }
}
@media screen and (min-width: 1024px) {
  .banner__text h1 {
    font-size: 4rem;
  }
}

.page {
  position: relative;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3) url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAADCAYAAABWKLW/AAAAF0lEQVQIW2NkYGD4z8DAwMgAI0AMDA4AI3EBBCKrOnQAAAAASUVORK5CYII=");
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 1em;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  height: 200px;
  letter-spacing: 2px;
}

.page:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: url('../images/cover.jpg') no-repeat bottom center;
  background-size: cover;
}
.page__text {
  position: relative;
  top: 50%;
  -ms-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  font-size: 1.2rem;
  line-height: 1.5rem;
}
.page__text h1 {
  font-size: 1.5rem;
  opacity: 0;
}
.page__text p {
  font-weight: 300;
}

@media screen and (min-width: 480px) {
  .page {
    height: 250px;
  }
}
@media screen and (min-width: 768px) {
  .page {
    height: 300px;
  }

  .page__text {
    font-size: 1.4rem;
    line-height: 1.4rem;
  }
  .page__text h1 {
    font-size: 2.5rem;
    opacity: 1;
  }
}
@media screen and (min-width: 1024px) {
  .page {
    height: 400px;
  }

  .page__text {
    font-size: 1.5rem;
    line-height: 1.5rem;
  }
  .page__text h1 {
    font-size: 3rem;
  }
}

.wrapper {
  max-width: 1600px;
  margin: 0 auto;
}
.wrapper .wrapper__box {
  padding: 3rem 1.5rem;
}
.wrapper .wrapper__content {
  padding: 1.5rem 0;
}
.wrapper .wrapper__text {
  padding: 1.5rem;
}
.wrapper__posts {
  padding: 2rem 1.5rem 2rem 1.5rem;
  border-bottom: 1px solid #ddd;
}
.wrapper__posts h2 {
  padding-bottom: 2rem;
}

@media screen and (min-width: 1020px) {
  .wrapper__posts {
    padding-bottom: 6rem;
    border-bottom: none;
  }
}

.halfBg {
  position: relative;
  overflow: hidden;
  z-index: 2;
}
.halfBg .halfImg {
  width: 100%;
  display: block;
}

@media screen and (min-width: 1020px) {

  .halfBg .halfImg {
    width: 62%;
    position: absolute;
    z-index: 3;
    box-shadow: 0 0 30px rgba(0,0,0,0.15);
  }

  .halfBgOrange .halfImg {
    bottom: 60px;
    left: 48%;
  }
  .halfBgSilver .halfImg {
    top: 60px;
    right: 48%;
  }

  .halfBgOrange:before {
    width:50%;
    position:absolute;
    right:0;
    top:0;
    content:"";
    display:block;
    height:100%;
    background-color:#5AB6E7;
    z-index:1;
  }

  .halfBgOrange .wrapper__text {
    padding-right: 56%;
  }

  .halfBgSilver:before {
    width:50%;
    position:absolute;
    left:0;
    top:0;
    content:"";
    display:block;
    height:100%;
    background-color:#eceff1;
    z-index:1;
  }

  .halfBgSilver .wrapper__text {
    padding-left: 56%;
  }
}

@media screen and (min-width: 1120px) {
  .halfBg .halfImg {
    width: 55%;
  }
}

@media screen and (min-width: 1400px) {
  .halfBg .halfImg {
    width: 42%;
  }

  .halfBgHome .halfImg {
    width: 32.5%;
  }
}

footer {
  background: #000;
  color:#fff;
  padding:45px;
}

footer ul {
  margin: 0;
  padding: 0 0 15px 0;
}
footer ul li {
  display: inline-block;
}
footer ul li a {
  display: inline-block;
  padding: 5px 10px;
  color:#fff;
  text-decoration: none;
}
footer ul li a:hover {
  color: #5AB6E7;
}

table.table {
  width: 100%;
  border-collapse: collapse;
}
table.table thead {
  background: #000000;
  color:#fff;
}
table.table thead th {
  padding: 7px 10px;
  text-align: left;
  font-family: "Poppins", sans-serif;
  font-size: 1em;
}
table.table thead.smaller {
  font-size: 0.9em;
}
table.table thead.smaller th {
  padding: 5px 10px;
}
table.table thead th.text-center {
  text-align: center;
}
table.table thead th.text-right {
  text-align: right;
}
table.table tbody tr:nth-child(2n) {
  background: #f0f0f0;
}
table.table tbody tr.hidden {
  display: none;
}
table.table tbody tr td {
  padding: 10px;
}
table.table tbody tr td.tiny {
  padding:5px 10px;
}

.timeline {
  position: relative;
  max-width: 1200px;
  margin: 30px auto 0 auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 2px;
  background-color: #eceff1;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1px;
}

.timeline .container {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

.timeline .container::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  right: -8px;
  background-color: #5AB6E7;
  top: 24px;
  border-radius: 50%;
  z-index: 1;
}

.timeline .left {
  left: 0;
}

.timeline .right {
  left: 50%;
}

.timeline .right::after {
  left: -8px;
}

.timeline .content {
  padding: 15px 30px;
  background: #fff;
  position: relative;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
  border: 1px solid #e1e4e6;
}
.timeline .content .flag {
  width: 20px;
  vertical-align: middle;
  margin-left: 10px;
}
.timeline .content .date {
  font-weight: 700;
  font-size:1.3rem;
  font-family: "Poppins", sans-serif;
  white-space: nowrap;
  color: #5AB6E7;
}
.timeline .content .date span {
  font-weight: 300;
}
.timeline .content .title {
  padding-bottom: 10px;
}
.timeline .content .title strong {
  font-weight: 700;
  font-size: 1.3rem;
  font-family: "Poppins", sans-serif;
}

.timeline .content .info {
  padding-bottom: 5px;
}

.timeline .endpoint {
  text-align: center;
  position: relative;
  z-index: 2;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 30px 0 0 0;
  text-transform: uppercase;
}
.timeline .endpoint:first-child {
  padding: 0 0 30px 0;
}
.timeline .endpoint span {
  display: inline-block;
  padding: 10px 20px;
  background: #000;
  color: #fff;
}

@media screen and (min-width: 601px) {
  .timeline .content .date {
    position: absolute;
    top:5px;
    white-space: nowrap;
  }
  .timeline .left .content .date {
    right: -175px;
  }
  .timeline .right .content .date {
    left: -175px;
  }
}

@media screen and (max-width: 600px) {
  .timeline::after {
    left: 30px;
  }

  .timeline .container {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

  .timeline .left::after, .timeline .right::after {
    left: 22px;
  }

  .timeline .right {
    left: 0;
  }
}

#partners img {
  max-width: 200px;
  vertical-align: middle;
  margin: 30px;
}

div.box {
  background: #fff;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
  padding: 24px;
  border: 1px solid #e1e4e6;
  margin-bottom: 24px;
}
div.box.row {
  padding: 0 0 24px 0;
}
div.box > h3 {
  margin-top: 0;
  padding-top: 0;
}

div.race {}
div.race div.col {
  width:50%;
}
div.race div.col:nth-child(2n+1) {
  clear:both;
}

@media screen and (max-width: 1100px) {
  div.race div.col {
    width:100%;
  }
}

div.race table {
  width: 100%;
  border-collapse: collapse;
}
div.race td.rider {
  background: url(../images/bike.svg) no-repeat center 10px #f0f0f0;
  background-size: 32px;
  text-align: center;
  padding: 40px 5px 5px 5px;
  border:1px solid #ddd;
  border-bottom:none;
  width: calc(100% / 8);
}
div.race td.rider-empty {
  background: #f0f0f0;
}
div.race td.gate {
  text-align: center;
  padding: 5px;
  background: #000;
  color:#FFF;
  border-left:1px solid #ddd;
  border-right:1px solid #ddd;
}
div.race td.gate-empty {
  background: #777;
}
div.race td.finish {
  text-align: center;
  padding: 50px 0 10px 0;
  border-left:1px solid #ddd;
  border-right:1px solid #ddd;
  vertical-align: top;
}
div.race td.finish span {
  display:block;
  height: 14px;
  background: url(../images/finish.svg) repeat top center;
  background-size: 16px;
  border-top:1px solid #ddd;
  border-bottom:1px solid #ddd;
  margin-bottom: 5px;
}
div.race td.finish em {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 30px;
  background: #5AB6E7;
  border-radius: 50%;
  color: #FFF;
  text-align: center;
  font-style: normal;
  top: -10px;
  font-weight: bold;
  line-height: 30px;
}
div.race tr.row td.result {
  background: #f0f0f0;
  text-align: center;
  padding: 0;
  border-top:1px solid #ddd;
  border-bottom:1px solid #ddd;
  white-space: nowrap;
  width:50px;
}
div.race tr.row td.rider {
  background: url(../images/bike.svg) no-repeat 15px center #f0f0f0;
  background-size: 32px;
  text-align: left;
  padding: 5px 10px 5px 65px;
  border-top:1px solid #ddd;
  border-bottom:1px solid #ddd;
  white-space: nowrap;
  width:220px;
}

@media screen and (max-width: 480px) {
  div.race tr.row td.rider {
    background: #f0f0f0;
    padding: 5px 10px;
    width:auto;
  }
}

div.race tr.row td.rider-empty {
  background: #f0f0f0;
}
div.race tr.row td.number {
  background-size: 32px;
  text-align: center;
  padding: 5px;
  border-top:1px solid #ddd;
  border-bottom:1px solid #ddd;
  width:50px;
  background: #f0f0f0;
}
div.race tr.row td.number-empty {
  background: #f0f0f0;
}
div.race tr.row td.gate {
  text-align: center;
  padding: 0;
  background: #000;
  color:#FFF;
  border-top:1px solid #ddd;
  border-bottom:1px solid #ddd;
  width:26px;
}
div.race tr.row td.gate-empty {
  background: #777;
}
div.race tr.row td.finish {
  text-align: right;
  padding: 0 0 0 0;
  border-top:1px solid #ddd;
  border-bottom:1px solid #ddd;
}
div.race tr.row td.finish select {
  position: absolute;
  top:10px;
  right:2px;
}
div.race tr.row td.finish div {
  position: relative;
  height: 50px;
  min-width: 60px;
}
div.race tr.row td.finish span {
  position: absolute;
  display:block;
  width: 14px;
  height: 100%;
  background: url(../images/finish.svg) repeat top center;
  background-size: 16px;
  border-left:1px solid #ddd;
  border-right:1px solid #ddd;
  right: 50px;
  top:0;
}
div.race tr.row td.finish em {
  position: absolute;
  display: inline-block;
  width: 30px;
  height: 30px;
  background: #5AB6E7;
  border-radius: 50%;
  color: #FFF;
  text-align: center;
  font-style: normal;
  top: 10px;
  right:-40px;
  font-weight: bold;
  line-height: 30px;
}
div.race tr.row td.time {
  text-align: right;
  padding: 0 0 0 0;
  border-top:1px solid #ddd;
  border-right:1px solid #ddd;
  border-bottom:1px solid #ddd;
}
div.race tr.row td.time select {
  margin-left: 50px;
}
div.race tr.row td.time div {
  position: relative;
  height: 50px;
  min-width: 60px;
}
div.race tr.row td.time div.result {
  padding:15px 15px;
  text-align: left;
}
div.race tr.row td.time span {
  position: absolute;
  display:block;
  width: 14px;
  height: 100%;
  background: url(../images/finish.svg) repeat top center;
  background-size: 16px;
  border-left:1px solid #ddd;
  border-right:1px solid #ddd;
  right: 90px;
  top:0;
}
div.race tr.row td.save {
  width: 100px;
  text-align: center;
  border-top:1px solid #ddd;
  border-right:1px solid #ddd;
  border-bottom:1px solid #ddd;
}

table.timeTrialRide {
  max-width: 820px;
  margin: 0 auto;
}

ul.category-tabs {
  list-style: none;
  margin:0;
  padding:0;
  text-align: center;
}
ul.category-tabs li {
  display: inline-block;
  padding:0 10px;
}
ul.category-tabs li.tab {
  display: inline-block;
  background: #ddd;
  padding:10px;
  border-right:2px solid #fff;
  cursor: pointer;
  border-radius: 5px;
}
ul.category-tabs li.tab a {
  text-decoration: none;
  color:#000;
}
ul.category-tabs li.tab.active {
  background: #000;
  color:#FFF;
}
ul.category-tabs li.tab.active a {
  text-decoration: none;
  color:#FFF;
}

.printModal{text-align:center;font-weight:300;font-size:24px;left:0;top:0;position:fixed;z-index:999;color:#fff;width:100%;height:100%;background-color:rgba(0,0,0,.5)}
.printModalContent{position: absolute;top: 50%; left: 50%; transform: translate(-50%, -50%); box-shadow: 0 0 32px rgba(0,0,0,0.2); width: 85%; max-width: 640px; background: #fff; color:#000; padding: 32px; text-align: center;}
.printClose{position:absolute;right:0;top:0; }
.printClose:before{content:"\00D7"; background: #000; color: #fff; line-height:1px;padding-top:.5em;display:block;font-size:1.5em;text-indent:1px;overflow:hidden;height:0.65em;width:1.25em;text-align:center;cursor:pointer}
.printSpinner{ display: block; height: 80px; background: url(/assets/svg-loaders/rings.svg) no-repeat center center; background-size: 64px 64px;}
