* {
  box-sizing: border-box;
}

html {
  overflow-y: scroll;
}

body {
  color: #0D0D17;
}

#logo{
  position: absolute;
  left: 20px;
  top:30px;
  width: 50%;
  max-width: 300px;
}
#logo img{
  width: 100%;
  height: auto;
}


.menu_helper {
  position: relative;
}

.font_white {
  color: #F8F4F1;
}

.font_black {
  color: #0D0D17;
}

.red_font {
  color: #E10600 !important;
}

.red_bg {
  background-color: #E10600;
}

.black_bg {
  background-color: #0D0D17;
}

.white_bg {
  background-color: #F8F4F1;
}

.round_button {
  position: relative;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-content: center;
  background-color: #000;
  border-radius: 100%;
  padding: 18px;
  cursor: pointer;
}

.active .round_button img {
  display: block;
  transform: rotate(180deg);
}

.mexicogp_white_logo {
  display: none;
}

.mexicogp_black_logo {
  display: inline;
}

/* Text animation */
.phrase {
  display: inline-block;
}

.phrase .word {
  display: inline-block;
}

.phrase .word .letter_mask {
  display: inline-block;
  overflow: hidden;
}

.phrase .word .letter_mask .letter {
  transform: translateY(11vw);
  display: inline-block;
  transition: all 800ms cubic-bezier(0.165, 0.840, 0.440, 1.000);
  transition-timing-function: cubic-bezier(0.165, 0.840, 0.440, 1.000);
}

.phrase .word .letter_mask .in.letter {
  transform: translateY(0vw);
}

.volunteers_menu {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 15px;
  padding-bottom: 5vh;
  z-index: 4;
  opacity: 0;
}

.volunteers_menu.in {
  opacity: 1;
}

.volunteers_menu .white_button {
  background-color: #E3E1E0
}

.white_button a,
.white_button a:visited {
  color: #6B696E;
}

.volunteers_menu .white_button.active {
  background-color: #6B696E;
}

.volunteers_menu .white_button.active a {
  color: #fff;
}

.animation_item {
  transition: all 800ms cubic-bezier(0.165, 0.840, 0.440, 1.000);
  transition-timing-function: cubic-bezier(0.165, 0.840, 0.440, 1.000);
}

@media(max-width:992px) {
  body {
    font-size: 14px;
  }

  .volunteers_menu {
    flex-wrap: wrap;
  }

  .volunteers_menu .white_button {
    width: 30%;
    text-align: center;
  }
}

@media(max-width:767px) {
  .mexicogp_white_logo {
    display: none;
  }

  .mexicogp_black_logo {
    display: block;
  }

  .fa-bars:before {
    content: "\f0c9";
    color: #000;
  }
}

@media(max-width:600px) {
  body {
    font-size: 12px;
  }

  .volunteers_menu {
    gap: 10px;
  }

  .volunteers_menu .white_button {
    width: 40%;
    font-size: 0.6rem;
  }

  .round_button {
    width: 34px;
    height: 34px;
    padding: 12px;
  }
}

/* HOME */
.grid_cell_animation,
.tab_block .accordion .accordion_body .cell .role_card:after {
  transition: all 800ms cubic-bezier(0.770, 0.000, 0.175, 1.000);
  transition-timing-function: cubic-bezier(0.770, 0.000, 0.175, 1.000);
}

/* HERO */
.hero {
  position: relative;
  width: 100vw;
  max-width: 100%;
  height: auto;
}

.hero:after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #F8F4F1;
  z-index: 20;
}

.in.hero:after {
  display: none;
  pointer-events: none;
  width: 0%;
  height: 0%;
}

.hero .text-content {
  position: relative;
  z-index: 1;
}

.hero .hero_image {
  position: absolute;
  z-index: 0;
}

.hero .items-container {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.hero .items-container .star {
  position: absolute;
  width: 5vw;
  max-width: 180px;
  height: auto;
  transform: scale(0);
}

.hero .items-container .star.in {
  transform: scale(1);
}

@media (max-width:767px) {
  .hero .items-container .star {
    width: 15vw;
  }
}

.title-line {
  display: inline-block;
}

.is-inview .title-line {
  animation: 25s slides infinite linear;
}

.title-line div {
  display: inline-block;
  padding: 0 1vw;
}

#track,
#trackAnimation {
  position: relative;
}

.lottie-sticky-wrapper {
  height: 500vh;
  position: relative;
}

#lottie-animation {
  height: 100vh;
  width: 100%;
}

.page_content {
  position: relative;
  width: 100%;
}

.participate_content {
  display: flex;
}

.participate_content .left,
.participate_content .right {
  width: 50%;
}

.participate_content .left {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 6vw;
  line-height: 6vw;
  flex-direction: column;
}

.participate_content .mobile-bg {
  display: none;
}

.participate_content .left .title {
  width: 80%;
}

.eng .participate_content .left {
  font-size: 4.3vw;
  line-height: 4.3vw;
}

.participate_content .right {
  position: relative;
  padding: 10vh 3vw;
}

.race_countdown_big_numbers {
  font-size: 3vw;
}

.with_frm_style .frm_primary_label,
.with_frm_style .frm_radio label,
.with_frm_style .frm_checkbox label,
.frm_style_formidable-style.with_frm_style div.frm_description,
select {
  font-family: 'futura_bold' !important;
  text-transform: uppercase;
  color: #000;
}

.frm_form_field input[type=text],
.frm_form_field input[type=email],
.frm_form_field input[type=date],
.frm_form_field input[type=tel],
.frm_form_field textarea,
.frm_form_field select,
.frm_form_field .custom-file-label,
input[type=text],
input[type=email],
input[type=date],
input[type=tel],
textarea,
select,
.custom-file-label {
  border-radius: 5px !important;
  border: 2px solid #979797 !important;
  padding: 15px 20px !important;
  margin: 0;
  font-size: 1rem !important;
  line-height: 1rem !important;
  height: auto !important;
}

.frm_form_field .frm_submit button,
.frm_style_formidable-style.with_frm_style .frm_submit button {
  background: #000 !important;
  border: 1px solid #000 !important;
  padding: 10px 70px;
  text-transform: uppercase;
  font-family: 'futura_bold' !important;
}

.frm_form_field .frm_submit button:hover,
.frm_style_formidable-style.with_frm_style .frm_submit button:hover {
  background: #f22e1a !important;
  border-color: #f22e1a !important;
  color: #fff !important;
}

.ui-datepicker select.ui-datepicker-month,
.ui-datepicker select.ui-datepicker-year {
  width: 34% !important;
}

.frm_form_field.form-field,
.frm_style_formidable-style.with_frm_style .form-field {
  margin-bottom: 30px;
}

.form-field.frm_conf_field,
.frm_conf_field {
  margin-top: -15px;
}

@media(max-width:992px) {
  .participate_content {
    flex-direction: column;
  }

  .participate_content .left,
  .participate_content .right {
    width: 100%;
  }

  .participate_content .left .title {
    width: 100%;
    text-align: center;
    padding: 10vh 0;
  }

  .race_countdown_big_numbers {
    font-size: 9vw;
  }
}

@media(max-width:600px) {
  .participate_content .left {
    font-size: 8vw;
    line-height: 8vw;
  }
}

.tab_block .accordion.active .accordion_head .title {
  color: #E10600;
}

.tabs_container {
  position: relative;
  font-size: 3vw;
  line-height: 3vw;
  display: flex;
  justify-content: center;
  gap: 2vw;
  margin-bottom: 5vh;
}

.tabs_container .option {
  color: #F8F4F1;
  cursor: pointer;

}

.tabs_container .option.active {
  color: #E10600;
}

.tab_block {
  position: relative;
  width: 100%;
}

.tab_block .accordion {
  position: relative;
  width: 100%;
  padding: 30px 20px;
  border: 2px solid #D8D8D8;
  border-radius: 8px;
  margin-bottom: 20px;
  overflow: hidden;
  height: 100px;
  display: none;
  background-color: #fff;
}

.tab_description {
  display: none;
  font-size: 1.2rem;
  line-height: 1.3rem;
  margin-bottom: 5vh;
  text-align: center;
}

.tab_block .accordion.visible,
.tab_description.visible {
  display: block;
}

.tab_block .accordion .accordion_head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 1.2rem;
}

.tab_block .accordion .accordion_body {
  position: relative;
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.accordion_body .description {
  margin-bottom: 20px;
  width: 100%;
}

.tab_block .accordion .accordion_body .cell {
  width: 16.66%;
  width: 20%;
  padding: 5px;
}

.tab_block .accordion .accordion_body .cell .role_card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
}

.tab_block .accordion .accordion_body .cell .role_card .image {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1.5;
}

.tab_block .accordion .accordion_body .cell:hover .role_card .image {
  transform: scale(1.1);
}

.tab_block .accordion .accordion_body .cell .role_card .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tab_block .accordion .accordion_body .cell .role_card .info {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  padding: 35px 15px;
  color: #fff;
  z-index: 2;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.0) 0%, rgba(0, 0, 0, 0.3) 82%, rgba(0, 0, 0, 0.7) 100%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}

.tab_block .accordion .accordion_body .cell .role_card .info .title_line {
  font-size: 0.8rem;
}

.tab_block .accordion .accordion_body .cell .role_card:after {
  content: '';
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background-color: #f12d1a;
  opacity: 0;
  z-index: 0;
}

.tab_block .accordion .accordion_body .cell:hover .role_card:after {
  opacity: 0.8;
}

.tab_block .accordion .accordion_body .cell .role_card .info .button {
  position: absolute;
  left: 15px;
  bottom: 25px;
  opacity: 1;
}

.tab_block .accordion .accordion_body .cell:hover .role_card .info .button {
  opacity: 1;
}

.tab_block .accordion .accordion_body .cell .role_card .info .button .border_button.white_border {
  border: 2px solid #fff;
  background-color: #fff;
}

.tab_block .accordion .accordion_body .cell .role_card .info .button .border_button.white_border span {
  color: #f12d1a;
  padding: 4px 15px 3px;
  font-size: 0.8rem;
}

@media(max-width:1300px) {
  .tab_block .accordion .accordion_body .cell {
    width: 33.3%;
  }
}

@media(max-width:768px) {
  .tab_block .accordion .accordion_body .cell {
    width: 50%;
  }

  .tab_block .accordion {
    padding: 25px 20px;
    height: 85px;
  }

  .tabs_container {
    position: relative;
    font-size: 1.6rem;
    line-height: 1.6rem;
  }

  .tab_description {
    font-size: 1rem;
    line-height: 1.3rem;
  }

  .tab_block .accordion .accordion_body .cell .role_card .info {
    padding: 25px 10px;
  }

  .volunteer_popup .popup_frame {
    height: 70vh;
  }
}

@media(max-width:600px) {
  .tab_block .accordion .accordion_body .cell {
    width: 100%;
  }

  .tab_block .accordion {
    padding: 25px 10px;
  }

  .tab_block .accordion .accordion_head {
    font-size: 1.1rem;
  }
}

.wp-block-heading {
  font-family: 'futura_bold';
}

h2.wp-block-heading {
  font-family: 'Formula1_bold';
  text-transform: uppercase;
  font-size: 2.3rem;
}

h3.wp-block-heading {
  font-size: 1.2rem;
  text-transform: uppercase;
  margin-top: 3vh;
}

.page-template-temp_home_participa .participate_content .image_bg {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.page-template-temp_home_participa .participate_content {
  padding-top: 70px;
  padding-bottom: 10vh;
}

.page-template-temp_home_participa .participate_content .left {
  flex-direction: column;
  padding: 0 3vw;
  align-items: flex-start;
  font-size: unset;
  line-height: unset;
}

.page-template-temp_home_participa .participate_content .right {
  padding: 0;
  display: flex;
  justify-content: center;
  _align-items: center;
}

.page-template-temp_home_participa .participate_content .form_container {
  margin-top: 30px;
  width: 100%;
}

.page-template-temp_home_participa .form_container .item-third {
  width: 40%;
}

.page-template-temp_home_participa .form_container .item-flex label {
  display: flex;
  gap: 5px;
}

.page-template-temp_home_participa .participate_content .item-small_ibg {
  width: 90%;
  height: 80%;
  margin: 100px auto 0;
  border-radius: 20px;
  min-height: 400px;
}

@media(max-width:992px) {
  .page-template-temp_home_participa .form_container .item-third {
    width: 70%;
  }

  .page-template-temp_home_participa .participate_content .item-small_ibg {
    margin: 0 auto;
  }
}

@media(max-width:767px) {
  h3.wp-block-heading {
    font-size: 1rem;
  }

  h2.wp-block-heading {
    font-size: 1.5rem;
  }

  .participate_content .desktop-bg {
    display: none !important;
  }

  .participate_content .mobile-bg {
    display: flex;
    padding: 0 3vw 3vh !important;
  }

  .page-template-temp_home_participa .participate_content .item-small_ibg {
    min-height: 220px;
    width: 100%;
    height: 220px;
  }
}