.racesOverviewBlock {
  margin: 100px 0;
  opacity: 0;
  -webkit-transform: translateY(20px);
  -moz-transform: translateY(20px);
  -o-transform: translateY(20px);
  -ms-transform: translateY(20px);
  transform: translateY(20px);
  position: relative;
  -webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}
.racesOverviewBlock.aos-animate {
  opacity: 1;
  -webkit-transform: translateY(0px);
  -moz-transform: translateY(0px);
  -o-transform: translateY(0px);
  -ms-transform: translateY(0px);
  transform: translateY(0px);
}
.racesOverviewBlock .background {
  height: 670px;
  left: 0;
  position: absolute;
  top: -100px;
  width: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0.2;
}
.racesOverviewBlock .contentWrapper {
  position: relative;
  z-index: 1;
}
.racesOverviewBlock .intro {
  padding: 100px 0;
}
.racesOverviewBlock .intro .mediumBigTitle {
  display: block;
  max-width: 385px;
}
.racesOverviewBlock .intro .text {
  margin-top: 20px;
  max-width: 385px;
}
.racesOverviewBlock .intro .text p {
  font-weight: 600;
  font-style: italic;
}
.racesOverviewBlock .filterOuterWrapper {
  background: #191919;
  margin-bottom: 50px;
}
.racesOverviewBlock .filterOuterWrapper .filter {
  display: inline-block;
  vertical-align: middle;
  height: 60px;
  line-height: 60px;
  background: rgba(255, 255, 255, 0.05);
  padding: 0 40px;
  width: 100%;
}
.racesOverviewBlock .filterOuterWrapper .filter .buttons {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: translateY(-2px);
  -moz-transform: translateY(-2px);
  -o-transform: translateY(-2px);
  -ms-transform: translateY(-2px);
  transform: translateY(-2px);
}
.racesOverviewBlock .filterOuterWrapper .filter .buttons .button:first-child {
  margin-right: 10px;
}
.racesOverviewBlock .filterOuterWrapper .filter .buttons .button.active {
  color: #191919;
  background: #bb3d42;
}
.racesOverviewBlock .filterOuterWrapper .filter .filterWrapper {
  display: inline-block;
  vertical-align: top;
}
.racesOverviewBlock .filterOuterWrapper .filter .filterWrapper:not(:last-child) .select2-container--default .selection .select2-selection--single {
  border-right: none;
}
.racesOverviewBlock .filterOuterWrapper .filter .innerFilter {
  display: inline-block;
  vertical-align: middle;
  float: right;
}
.racesOverviewBlock .filterOuterWrapper .filter .innerFilter .label {
  opacity: 0.3;
  display: inline-block;
  width: 80px;
}
.racesOverviewBlock .filterOuterWrapper .filter .innerFilter select {
  width: 200px;
}
.racesOverviewBlock .filterOuterWrapper .filter .innerFilter select:last-child {
  border-left: 0;
}
.racesOverviewBlock .filterOuterWrapper .filter .innerFilter .select2-container--default:not(:last-child) .selection .select2-selection--single {
  border-right: none;
}
.racesOverviewBlock .races {
  min-height: 100px;
}
.racesOverviewBlock .races .raceOuterWrapper {
  background: #191919;
}
.racesOverviewBlock .races .raceOuterWrapper .race {
  background: rgba(255, 255, 255, 0.05);
  margin: 10px 0;
  display: block;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  -webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
  display: none;
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -o-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}
.racesOverviewBlock .races .raceOuterWrapper .race.active {
  display: block;
}
.racesOverviewBlock .races .raceOuterWrapper .race:after {
  content: "";
  height: 4px;
  left: auto;
  position: absolute;
  top: auto;
  width: 0;
  right: 0;
  bottom: 0;
  background: #bb3d42;
  background: -webkit-gradient(linear, left top, right top, color-stop(0, #bb3d42), color-stop(1, #c1c1c1));
  background: -ms-linear-gradient(left, #bb3d42, #c1c1c1);
  background: -moz-linear-gradient(left, #bb3d42 0%, #c1c1c1 100%);
  background: -o-linear-gradient(#c1c1c1, #bb3d42);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#c1c1c1', endColorstr='#bb3d42', GradientType=0);
  -webkit-transition: all 0.5s ease-out;
  -moz-transition: all 0.5s ease-out;
  -o-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out;
}
.racesOverviewBlock .races .raceOuterWrapper .race:hover {
  background: rgba(255, 255, 255, 0.1);
}
.racesOverviewBlock .races .raceOuterWrapper .race:hover:after {
  width: 100%;
  left: 0;
  right: auto;
}
.racesOverviewBlock .races .raceOuterWrapper .race .col {
  display: inline-block;
  vertical-align: middle;
  height: auto;
}
.racesOverviewBlock .races .raceOuterWrapper .race .col.flag {
  line-height: 100px;
  padding: 0 20px 0 40px;
  width: 120px;
}
.racesOverviewBlock .races .raceOuterWrapper .race .col.flag img {
  max-width: 60px;
  /*                        margin-top:@paddingNormal;*/
  display: inline-block;
  vertical-align: middle;
}
.racesOverviewBlock .races .raceOuterWrapper .race .col.circuit {
  width: 116px;
  padding: 10px 20px;
}
.racesOverviewBlock .races .raceOuterWrapper .race .col.circuit svg {
  width: 76px;
  height: 80px;
}
.racesOverviewBlock .races .raceOuterWrapper .race .col.info {
  width: calc(100% - 486px);
  padding: 0 40px 0 20px;
}
.racesOverviewBlock .races .raceOuterWrapper .race .col.info .infoContent {
  display: block;
  padding: 20px 0;
}
.racesOverviewBlock .races .raceOuterWrapper .race .col.info .infoContent .mediumTitle {
  display: block;
  width: 100%;
  text-overflow: ellipsis;
  text-transform: uppercase;
}
.racesOverviewBlock .races .raceOuterWrapper .race .col.info .infoContent .mediumTitle .sponsor {
  color: #bb3d42;
}
.racesOverviewBlock .races .raceOuterWrapper .race .col.info .infoContent .extraContent {
  display: block;
  margin-top: 10px;
}
.racesOverviewBlock .races .raceOuterWrapper .race .col.info .infoContent .extraContent .subCol {
  display: inline-block;
  vertical-align: top;
  opacity: 0.6;
}
.racesOverviewBlock .races .raceOuterWrapper .race .col.info .infoContent .extraContent .subCol.championships {
  width: calc(100% - 220px);
  margin-left: 20px;
  padding-left: 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.4);
}
.racesOverviewBlock .races .raceOuterWrapper .race .col.info .infoContent .extraContent .subCol.championships .championship {
  display: inline-block;
}
.racesOverviewBlock .races .raceOuterWrapper .race .col.info .infoContent .extraContent .subCol.championships .championship:last-child:after {
  display: none;
}
.racesOverviewBlock .races .raceOuterWrapper .race .col.info .infoContent .extraContent .subCol.championships .championship:after {
  content: "|";
  margin: 0 10px;
  opacity: 0.6;
}
.racesOverviewBlock .races .raceOuterWrapper .race .col.links {
  width: 250px;
  height: auto;
  vertical-align: middle;
  text-align: right;
  padding-right: 40px;
}
.racesOverviewBlock .races .raceOuterWrapper .race .col.links .highlight {
  margin-right: 40px;
  color: #bb3d42;
}
.racesOverviewBlock .races .raceOuterWrapper .race .col.links .link {
  color: #ffffff;
  text-decoration: underline;
  opacity: 1;
  -webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}
.racesOverviewBlock .races .raceOuterWrapper .race .col.links .link:hover {
  opacity: 0.6;
}
.racesOverviewBlock .races .raceOuterWrapper .raceArchive {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  margin: 10px 0;
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -o-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}
.racesOverviewBlock .races .raceOuterWrapper .raceArchive.active {
  display: block;
}
.racesOverviewBlock .races .raceOuterWrapper .raceArchive .col {
  padding-right: 20px;
  max-height: 50px;
  overflow: hidden;
}
.racesOverviewBlock .races .raceOuterWrapper .raceArchive .col.country {
  height: 60px;
  max-height: 60px;
  line-height: 60px;
}
.racesOverviewBlock .races .raceOuterWrapper .raceArchive .col.country img {
  max-height: 27px;
  display: inline-block;
  vertical-align: middle;
}
.racesOverviewBlock .races .raceOuterWrapper .raceArchive .col.links {
  text-align: right;
}
.racesOverviewBlock .races .raceOuterWrapper .raceArchive .col.links a {
  color: #ffffff;
  text-decoration: underline;
  opacity: 1;
  -webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}
.racesOverviewBlock .races .raceOuterWrapper .raceArchive .col.links a:hover {
  opacity: 0.6;
}
.racesOverviewBlock .races .raceOuterWrapper .raceArchive .col {
  display: inline-block;
  vertical-align: middle;
  padding-right: 20px;
}
.racesOverviewBlock .races .raceOuterWrapper .raceArchive .col.country {
  width: 120px;
  padding: 0 40px;
}
.racesOverviewBlock .races .raceOuterWrapper .raceArchive .col.raceName {
  width: calc(50% - 175px);
}
.racesOverviewBlock .races .raceOuterWrapper .raceArchive .col.raceName .sponsor {
  color: #bb3d42;
}
.racesOverviewBlock .races .raceOuterWrapper .raceArchive .col.date {
  width: calc(50% - 175px);
  opacity: 0.6;
}
.racesOverviewBlock .races .raceOuterWrapper .raceArchive .col.links {
  width: 230px;
  padding-right: 40px;
}
@media all and (max-width: 1260px) {
  .racesOverviewBlock .intro {
    padding-left: 20px;
    padding-right: 20px;
  }
}
@media all and (max-width: 1160px) {
  .racesOverviewBlock .races .raceOuterWrapper .race .col.info .infoContent .extraContent .subCol.championships {
    display: block;
    width: 100%;
    padding-left: 0;
    margin-left: 0;
    border-left: none;
  }
}
@media all and (max-width: 1024px) {
  .racesOverviewBlock .races .raceOuterWrapper .race .col.info {
    width: calc(100% - 386px);
  }
  .racesOverviewBlock .races .raceOuterWrapper .race .col.info .infoContent .extraContent .subCol.championships .championship {
    display: block;
  }
  .racesOverviewBlock .races .raceOuterWrapper .race .col.info .infoContent .extraContent .subCol.championships .championship:after {
    display: none;
  }
  .racesOverviewBlock .races .raceOuterWrapper .race .col.links {
    width: 150px;
  }
  .racesOverviewBlock .races .raceOuterWrapper .race .col.links .highlight {
    display: block;
    margin-right: 0;
    margin-bottom: 10px;
  }
}
/*@media all and (max-width: 767px) {
    .racesOverviewBlock{
        margin:@paddingBig 0;
        .filter{
            padding:0 @paddingSmall;
        }
        .races{
            .raceOuterWrapper{
                .race{
                    .col{
                        vertical-align:top;
                        height:auto !important;
                        padding-bottom:@paddingTiny !important;
                        &.flag{
                            padding-left:@paddingSmall;
                        }
                        &.info{
                            padding-right:@paddingSmall;
                            .infoContent{
                                .extraContent{
                                    .subCol{
                                        width:100% !important;
                                        text-align:left !important;
                                        &.date{
                                            margin-bottom:@paddingTiny;
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}*/
@media all and (max-width: 767px) {
  .racesOverviewBlock {
    margin: 50px 0;
  }
  .racesOverviewBlock .intro {
    padding: 50px 0;
  }
  .racesOverviewBlock .filterOuterWrapper .filter {
    padding: 0 20px;
    height: auto;
  }
  .racesOverviewBlock .filterOuterWrapper .filter .buttons {
    display: block;
  }
  .racesOverviewBlock .filterOuterWrapper .filter .innerFilter {
    float: none;
    width: 100%;
  }
  .racesOverviewBlock .filterOuterWrapper .filter .innerFilter .label {
    display: none;
  }
  .racesOverviewBlock .filterOuterWrapper .filter .innerFilter .filterWrapper {
    display: block;
    width: 100%;
  }
  .racesOverviewBlock .filterOuterWrapper .filter .innerFilter .filterWrapper .yearSelect {
    width: 100%;
  }
  .racesOverviewBlock .filterOuterWrapper .filter .innerFilter .filterWrapper .select2-container--default {
    width: 100% !important;
  }
  .racesOverviewBlock .races .raceOuterWrapper .race .col {
    vertical-align: top;
    height: auto !important;
    padding-bottom: 10px !important;
  }
  .racesOverviewBlock .races .raceOuterWrapper .race .col.flag {
    width: 50%;
    padding-bottom: 0 !important;
    padding-left: 20px;
  }
  .racesOverviewBlock .races .raceOuterWrapper .race .col.circuit {
    width: 50%;
    padding-bottom: 0 !important;
  }
  .racesOverviewBlock .races .raceOuterWrapper .race .col.circuit svg {
    max-width: 100%;
  }
  .racesOverviewBlock .races .raceOuterWrapper .race .col.info {
    width: 100%;
    padding-right: 20px;
  }
  .racesOverviewBlock .races .raceOuterWrapper .race .col.info .infoContent {
    margin-top: 0;
    padding: 0;
  }
  .racesOverviewBlock .races .raceOuterWrapper .race .col.info .infoContent .mediumTitle {
    font-size: 20px;
    line-height: 26px;
  }
  .racesOverviewBlock .races .raceOuterWrapper .race .col.info .infoContent .extraContent .subCol.championships {
    display: block;
    margin-left: 0;
    padding-left: 0;
    border-left: none;
  }
  .racesOverviewBlock .races .raceOuterWrapper .race .col.info .infoContent .extraContent .subCol.championships .championship:after {
    content: ",";
    margin-left: 0;
  }
  .racesOverviewBlock .races .raceOuterWrapper .race .col.links {
    text-align: left;
    padding-bottom: 20px !important;
    width: 100%;
    padding-right: 20px;
    padding-left: 20px;
  }
  .racesOverviewBlock .races .raceOuterWrapper .raceArchive {
    padding: 20px;
  }
  .racesOverviewBlock .races .raceOuterWrapper .raceArchive .col {
    padding: 0 !important;
    width: 100% !important;
    height: auto !important;
    margin-bottom: 5px !important;
  }
  .racesOverviewBlock .races .raceOuterWrapper .raceArchive .col:last-child {
    margin-bottom: 0 !important;
  }
  .racesOverviewBlock .races .raceOuterWrapper .raceArchive .col.country {
    padding: 0 20px;
    width: 80px;
  }
  .racesOverviewBlock .races .raceOuterWrapper .raceArchive .col.links {
    padding-right: 20px;
    text-align: left;
  }
  .racesOverviewBlock .races .raceOuterWrapper .raceArchive .col.country {
    max-height: none !important;
    line-height: inherit !important;
    margin-bottom: 20px !important;
  }
}
@media all and (max-width: 450px) {
  .racesOverviewBlock .filterOuterWrapper .filter .buttons .button {
    width: 100%;
    text-align: center;
  }
}
