:root {
  --brand-color: #e9751f;
}
.viously,
.viously-video {
  display: none !important;
}
body {
  margin: 0;
  font-family: "pt serif", serif !important;
  letter-spacing: 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #2b2b2b;
  text-align: left;
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
}

.gridrival-logo {
  display: none;
  max-width: 200px;
  margin-top: 5px;
}
body.tag-template.tag-gaming,
body.tag-template.tag-fantasy-league {
  .gridrival-logo {
    display: block;
  }
}

#therace_page_header .header_left {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-color: #2b2b2b;
  color: #fff;
}
#therace_page_header .header_left.podcast_thumbnail {
  background-image: url(../jpg/xpb_989686_hires-1024x683.jpg);
}
#therace_page_header .header_left.about_thumbnail {
  background-image: url(../jpg/holding-6-768x480.jpg);
}
#therace_page_header .header_left.contact_thumbnail {
  background-image: url(../jpg/spacesuit-media-peter-minnig-189802-1024x682.jpg);
}
#therace_page_header .header_left.generic_thumbnail {
  background-image: url(../jpg/spacesuit-media-peter-minnig-189802-1024x682.jpg);
}
#therace_page_header .header_left.newsletter_thumbnail {
  background-image: url(../jpg/xpb_1038176_hires-1024x683.jpg);
}
#therace_page_header .header_right .entry-header {
  max-width: 560px;
  min-height: 105px;
}
#therace_page_header .entry-header {
  padding: 200px 20px 60px 30px;
}
#therace_page_header h1.header_title {
  font-size: 3.5rem;
  margin-bottom: 30px;
  display: block;
}
#therace_page_header h1.header_title div {
  font-size: 2rem;
}
@media (max-width: 768px) {
  #therace_page_header .entry-header {
    padding: 40px 20px 10px;
    text-align: center;
    margin: 0 auto;
  }
  #therace_page_header h1.header_title {
    font-size: 2.5rem;
    margin-bottom: 0 !important;
  }
  #therace_page_header h1.header_title div {
    font-size: 1.5rem;
  }
  #therace_page_header .header_left {
    min-height: 300px;
  }
}
.navbar-brand {
  margin-left: 15px;
}
blockquote {
  padding: 30px;
  font-size: 25px;
  color: #737373;
  font-family: "Roboto Flex", sans-serif !important;
  text-align: center;
}
.video-base,
.photo-base {
  width: 100% !important;
  max-width: auto !important;
}
#therace_trend_read h3 {
  font-size: 20px;
  line-height: 28px;
  margin-bottom: 10px;
}
#therace_trend_read h3 a {
  text-decoration: none;
  color: #2b2b2b;
}
#therace_trend_read .trend_group:nth-child(7) .break,
#therace_trend_read .trend_group:nth-child(8) .break,
#therace_trend_read .trend_group:nth-child(9) .break,
#therace_trend_read .read_group:nth-child(3) .break {
  border-bottom: 1px solid #fff;
}
#therace_trend_read .break {
  padding-bottom: 15px;
  margin-bottom: 15px;
  border-bottom: 1px solid #2b2b2b;
}
#therace_trend_read .meta {
  font-size: 13px;
  padding-top: 0;
}
#therace_trend_read .meta span {
  margin-right: 15px;
}
#therace_trend_read a {
  text-decoration: none;
  color: #2b2b2b;
}
#therace_trend_read .module_header {
  padding-bottom: 10px !important;
}
#therace-post a {
  color: #2b2b2b;
  text-decoration: underline;
}
#therace-post a:hover {
  color: var(--brand-color) !important;
  text-decoration: underline;
}
#content a {
  color: #2b2b2b;
}
#content a:hover {
  color: var(--brand-color);
  text-decoration: none;
}
article a {
  color: var(--brand-color);
  text-decoration: underline;
}
article a:hover {
  color: #905124;
  text-decoration: underline;
}
.gh-post-upgrade-cta .gh-post-upgrade-cta-content a {
  color: #2b2b2b;
}
.gh-post-upgrade-cta .gh-post-upgrade-cta-content a:hover {
  color: #2b2b2b;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Roboto Flex", sans-serif;
  font-weight: 800;
  margin-top: 0;
  margin-bottom: 0.5rem;
  text-transform: none;
  letter-spacing: -1px;
}
article h2 {
  padding-top: 20px;
}

article table {
  border-top: 1px solid #2b2b2b;
  border-left: 1px solid #2b2b2b;
  margin-bottom: 30px;
}
article table td {
  background-color: #eee;
  padding: 10px;
  border-bottom: 1px solid #2b2b2b;
  border-right: 1px solid #2b2b2b;
}
article table th {
  background-color: #eee;
  padding: 10px;
  border-bottom: 1px solid #2b2b2b;
  border-right: 1px solid #2b2b2b;
}
article ol,
article li {
  padding-left: 25px;
}
article img {
  float: none !important;
  margin: 10px 0 !important;
}
.btn-primary {
  background-color: #2b2b2b;
  border-color: #2b2b2b;
}
.btn-primary:hover {
  background-color: #bababa;
  border-color: #2b2b2b;
}
.btn-secondary {
  background-color: var(--brand-color);
  color: #fff !important;
  font-family: "Roboto Flex", sans-serif !important;
  text-decoration: none !important;
  letter-spacing: 1px;
  border-color: var(--brand-color) !important;
}
.btn-secondary:hover {
  border-color: #2b2b2b !important;
  color: #fff !important;
  text-decoration: none !important;
}
.page-item.active .page-link {
  z-index: 1;
  color: #fff;
  background-color: #2b2b2b;
  border-color: #2b2b2b;
}
.bg-therace-primary {
  background-color: #bababa;
}
.bg-therace-alert {
  background-color: var(--brand-color);
}
.bg-therace-base {
  background-color: #2b2b2b;
  color: #fff;
}
.bg-therace-base p {
  color: #fff;
}
.bg-therace-base a {
  color: #fff;
}
.bg-therace-base a:hover {
  color: var(--brand-color);
  text-decoration: none;
}
.text-therace-base {
  color: #2b2b2b;
}
.search .navbar-brand.white-logo {
  display: none;
}
i.fa-slash {
  color: var(--brand-color) !important;
  vertical-align: middle;
}
.flag_1 {
  background-image: url(../png/flag-1.png);
}
#ad_blocker,
#limit_story,
#welcome_wrapper {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: 999999999;
  background-color: rgba(255, 255, 255, 0.8);
}
#ad_group,
#limit_group {
  margin: 0 auto;
  width: 80%;
  text-align: center;
  background-color: #fff;
  border-radius: 10px;
  padding: 30px;
  margin-top: 50px;
  box-shadow: 0 0 11px 2px rgba(0, 0, 0, 0.3);
}
#ad_group .content,
#limit_group .content {
  margin: 0 auto;
  max-width: 500px;
}
#ad_group i,
#limit_group i {
  font-size: 85px;
  margin-bottom: 20px;
  color: red;
}
#ad_group h2,
#limit_group h2 {
  color: #2b2b2b;
  font-size: 48px;
}
#ad_group .ad_revenue,
#limit_group .limit_alert {
  background-color: #2b2b2b;
  color: #fff;
  font-size: 18px;
  line-height: 24px;
  padding: 20px;
  border-radius: 6px;
  margin-bottom: 20px;
}
#ad_group .ad_detected,
#limit_group .limit_detected {
  padding: 20px;
  color: #2b2b2b;
  font-size: 18px;
  line-height: 24px;
}
#ad_group a,
#limit_group a {
  background-color: var(--brand-color);
  display: block;
  margin: 0 auto;
  padding: 10px;
  color: #fff;
  font-family: "Roboto Flex", sans-serif !important;
  border-radius: 6px;
}
#ad_group a:hover,
#limit_group a:hover {
  background-color: #2b2b2b;
  text-decoration: none;
}
#limit_group a {
  font-size: 26px;
  display: inline-block;
  padding: 10px 20px;
  font-weight: 400;
}
#limit_group h2 {
  padding-top: 20px;
}
#limit_group .limit_alert {
  font-size: 21px;
}
@media (max-width: 768px) {
  #ad_group h2,
  #limit_group h2 {
    color: #2b2b2b;
    font-size: 28px;
  }
  #limit_group a {
    font-size: 18px;
    display: inline-block;
    padding: 10px 20px;
  }
  #ad_group .ad_detected,
  #limit_group .limit_detected {
    padding: 0 0 10px;
    font-size: 14px;
    line-height: 21px;
  }
  #ad_group .ad_revenue,
  #limit_group .limit_alert {
    font-size: 14px;
    line-height: 21px;
  }
  #ad_group i,
  #limit_group i {
    font-size: 45px;
    margin-bottom: 10px;
    color: red;
  }
}
.youtube-responsive-container {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
  border: 1px solid #000;
}
.youtube-responsive-container iframe,
.youtube-responsive-container object,
.youtube-responsive-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
h1.entry-title {
  letter-spacing: -2px;
}
.archive h1.entry-title {
  text-transform: none !important;
}

.post-template #post-header {
  margin-left: 0;
  margin-right: 0;
  @media (max-width: 768px) {
    margin-top: 45px;
    flex-direction: column-reverse;
  }
}

.home-secondary-features {
  @media (max-width: 768px) {
    border-bottom: 10px solid white;
    .action_wrapper {
      min-height: 150px !important;
    }
  }
}
#home-post-header {
  max-width: 1140px;
  margin: 0 auto;
}
#post-header .post-header-image {
  background-repeat: no-repeat;
  background-size: cover;
  height: 630px;
  @media (max-width: 768px) {
    aspect-ratio: 3/2;
  }

  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
  }
}
.post-header-category {
  font-family: "Roboto Flex", sans-serif !important;
  font-size: 16px;
  padding-bottom: 30px;
}
#post-header .post-header-title {
  position: relative;
  height: 630px;
  &.no-feature-image {
    height: auto;
    margin-top: 4rem;

    .post-header-wrapper {
      position: relative;
      padding-right: 0;
      padding-left: 0;
    }
  }
}
#post-header .post-header-title h1 {
  text-transform: none;
  font-size: 48px;
  max-width: 630px;
}
#post-header h1 a {
  color: #2b2b2b;
}
#post-header h1 a:hover {
  color: var(--brand-color);
  text-decoration: none;
}
#post-header .excerpt {
  font-size: 14px;
}
#post-header .meta {
  padding: 20px 0;
  font-size: 14px;
}
#post-header .time {
  padding-right: 30px;
  white-space: nowrap;
}
#post-header .author {
  white-space: nowrap;
}
.post-header-wrapper {
  padding: 100px 30px 30px 30px;
  margin-left: auto;
  margin-right: 0;
  max-width: 555px;
}

.single-post .post-header-wrapper,
.single-writer .post-header-wrapper {
  padding: 30px 60px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin-left: unset;
  margin-right: unset;
  max-width: unset;
}

#post-header i.fa-slash {
  font-size: 30px;
}
.post-header-category a {
  color: #2b2b2b;
}
.post-header-category a:hover {
  color: var(--brand-color);
  text-decoration: none;
}
.home #post-header .feature-block {
  display: none;
}
.home #post-header .feature-block.active {
  display: block;
}
.parallax-fullwidth-ad {
  width: 100%;
  padding: 200px 0;
  text-align: center;
  -webkit-box-shadow: 0 0 10px 3px rgb(0, 0, 0, 0.3) inset;
  -moz-box-shadow: 0 0 10px 3px rgb(0, 0, 0, 0.3) inset;
  box-shadow: 0 0 10px 3px rgb(0, 0, 0, 0.3) inset;
}
.parallax-fullwidth-ad h4 {
  color: #828282;
  font-size: 80px !important;
}
@media (max-width: 768px) {
  .parallax-fullwidth-ad {
    padding: 100px 0;
  }
  .parallax-fullwidth-ad h4 {
    font-size: 40px !important;
  }
}
.home .therace_login_signup a,
.home #sidebarCollapse i,
.archive .therace_login_signup a,
.archive #sidebarCollapse i {
  text-shadow: 1px 1px 5px rgb(0, 0, 0, 0.7);
}
#feature_actions {
  padding: 0;
  margin-top: 30px;
}
#feature_actions .image {
  background-repeat: no-repeat;
  background-size: cover;
  width: 30%;
  padding-top: 15%;
  display: inline-block;
}
#feature_actions .title_wrapper {
  display: inline-block;
}
#feature_actions .row {
  max-width: 1400px;
  margin: 0px auto;
  padding: 0;
}

.action_wrapper {
  background-color: rgba(0, 0, 0, 0.45);
  position: relative;
  cursor: pointer;
}
.action_wrapper .image {
  background-repeat: no-repeat;
  background-size: cover;
}
.action_wrapper .title_wrapper {
  font-size: 15px 10px;
  line-height: 22px;
  padding: 15px;
}
.action_wrapper .mask {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: rgb(0, 0, 0, 0.7);
  display: none;
  z-index: 10;
}
.action_wrapper.active .mask {
  display: block;
}
.carousel.slide {
  padding: 60px 0 120px 0;
}
.carousel-indicators {
  bottom: -90px;
  margin-right: 0;
  margin-left: 0;
}
.carousel-indicators li {
  width: 33%;
  background-color: var(--brand-color);
  opacity: 0.1;
}
.carousel-item {
  background-color: #fff;
}
.carousel.slide .category {
  font-size: 14px;
  padding-bottom: 20px;
}
.carousel.slide .category i {
  font-size: 24px;
  color: #905124;
}
.carousel.slide h2 {
  font-size: 45px;
  padding-bottom: 20px;
}
.carousel-image {
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 350px;
}
.carousel.slide a {
  color: #2b2b2b;
}
.carousel.slide a:hover {
  color: #905124;
  text-decoration: none;
}
.carousel.slide .content_container {
  position: relative;
}
.carousel.slide .content_wrapper {
  padding: 0 30px;
  margin: 0;
  position: absolute;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 100%;
}
.carousel-control-prev i,
.carousel-control-next i {
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  color: #ccc;
  font-size: 40px;
}
@media (max-width: 768px) {
  .carousel.slide .content_wrapper {
    position: relative;
    top: auto;
    padding: 30px 0 0;
    -ms-transform: none;
    transform: none;
  }
}
.therace_feature_wrapper {
  border-top: 1px solid #2b2b2b;
  border-bottom: 1px solid #2b2b2b;
  padding: 60px 0;
  margin: 60px 0;
}
.therace_feature .image {
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 350px;
}
.therace_feature a {
  color: #2b2b2b;
}
.therace_feature a:hover {
  color: #905124;
  text-decoration: none;
}
.therace_feature .content_container {
  position: relative;
}
.therace_feature .content_wrapper {
  padding: 0 30px;
  margin: 0;
  position: absolute;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 100%;
}
.therace_feature .category {
  font-size: 14px;
  padding-bottom: 20px;
}
.therace_feature .category i {
  font-size: 24px;
  color: #905124;
}
.therace_feature h2 {
  font-size: 45px;
  padding-bottom: 20px;
}
@media (max-width: 768px) {
  .therace_feature .content_wrapper {
    position: relative;
    top: auto;
    padding: 30px 0 0;
    -ms-transform: none;
    transform: none;
  }
}
.therace_listing h4 {
  padding-bottom: 10px;
}
.therace_listing .listing_group {
  padding: 0 15px;
}
.therace_listing .listing_group.textonly {
  padding: 0 8px;
}
.therace_listing .listing_image img {
  width: 100%;
}
.therace_listing .listing_image {
  border-top: 1px solid #bababa;
  padding: 10px 15px 10px 0;
}
.therace_listing .listing_content {
  border-top: 1px solid #bababa;
  padding: 10px 0;
}
.therace_listing a {
  color: #2b2b2b !important;
  text-decoration: none !important;
}
.therace_listing a:hover {
  color: var(--brand-color) !important;
  text-decoration: none !important;
}
.therace_listing .meta {
  font-size: 14px;
}
.therace_listing #therace_listing_v1 {
  display: none;
}
.therace_listing #therace_listing_v2 {
  display: block;
}
.therace_listing #therace_listing_v2 h3 {
  font-size: 22px;
  padding: 13px 0 15px;
}
.therace_listing .writer-articles h3 {
  font-size: 18px !important;
  padding-top: 8px !important;
}
.therace_listing .writer-articles .meta {
  font-size: 13px;
}
@media (max-width: 992px) {
  .therace_listing #therace_listing_v1 {
    display: block;
  }
  .therace_listing #therace_listing_v2 {
    display: none;
  }
  .listing_content h3 {
    font-size: 26px;
    margin-bottom: 5px;
  }
}
@media (max-width: 768px) {
  .therace_listing .listing_content h3 {
    font-size: 18px;
    margin-bottom: 5px;
  }
}
.read_more_wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
}
.read_more_wrapper .read_more_text {
  width: 100%;
  text-align: center;
  font-size: 30px;
  background-color: #fff;
  color: #2b2b2b;
  padding: 40px 0 60px 0;
  font-family: "Roboto Flex", sans-serif !important;
}
.read_more_wrapper .read_more_text span {
  border-bottom: 1px solid #2b2b2b;
  padding-bottom: 5px;
  cursor: pointer;
}
.read_more_wrapper .read_more_gradient {
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  border: none;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
  background: -webkit-linear-gradient(
    -90deg,
    rgba(255, 255, 255, 0) 0,
    rgba(255, 255, 255, 1) 100%
  );
  background: -moz-linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0,
    rgba(255, 255, 255, 1) 100%
  );
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0,
    rgba(255, 255, 255, 1) 100%
  );
  background-position: 50% 50%;
  -webkit-background-origin: padding-box;
  background-origin: padding-box;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-background-size: auto auto;
  background-size: auto auto;
  width: 100%;
  height: 300px;
}
#sidebar_group {
  display: block;
  display: flex;
  width: 100%;
  align-items: stretch;
  position: relative;
}
#sidebar {
  min-width: 250px;
  max-width: 576px;
  height: 100vh;
  position: fixed;
  top: 0;
  right: -576px;
  z-index: 1035;
  transition: all 0.5s ease-in-out;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.8);
}
#sidebar.active {
  right: 0;
}
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1034;
  opacity: 0;
  transition: all 0.5s ease-in-out;
}
.overlay.active {
  display: block;
  opacity: 1;
}
#sidebar_search_dismiss {
  position: absolute;
  top: 90px;
  left: 50px;
  font-size: 30px;
  cursor: pointer;
}
#sidebar_search_dismiss:hover i {
  color: #fff;
}
#sidebar_search_dismiss i {
  font-size: 30px;
}
#sidebar_dismiss {
  width: 35px;
  height: 35px;
  position: absolute;
  top: 50px;
  right: 50px;
  cursor: pointer;
}
#sidebar_dismiss:hover i {
  color: #fff;
}
#sidebar_dismiss i {
  font-size: 30px;
}
#sidebar_login {
  position: absolute;
  top: 50px;
  left: 50px;

  a {
    display: flex;
    align-items: baseline;

    span {
      margin-left: 5px;
    }
  }
}
#sidebar_login i {
  font-size: 20px;
}
#sidebar_search {
  cursor: pointer;
}
#sidebar_search i {
  font-size: 20px;
}
#sidebar_search .search_action {
  padding-right: 15px;
}
#sidebar_search .search_action:hover {
  color: #905124;
}
#sidebar_wrapper {
  padding: 50px;
  position: relative;
}
#sidebar li {
  margin-right: 150px;
  padding: 4px 0;
  width: 100%;
}
#sidebar li a {
  font-family: "Roboto Flex", sans-serif;
  font-weight: 800;
  font-size: 65px;
  color: #2b2b2b;
  line-height: 0.9;
  letter-spacing: -2px;
  padding: 0;
}
#sidebar li a:hover {
  color: #905124;
}
#sidebar a {
  color: #2b2b2b;
}
#sidebar a:hover {
  color: #905124;
  text-decoration: none;
}
#search_wrapper {
  display: none;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 91%;
  z-index: 10;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.8);
}
#sidebar_search_form {
  padding: 0 40px;
  margin: 0;
  position: absolute;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 100%;
}
#search_wrapper form {
  position: relative;
  width: 100%;
  border-bottom: 1px solid #fff;
  padding-bottom: 10px;
  padding-right: 30px;
}
#search_wrapper input {
  border: none;
  background-color: transparent;
  color: #fff;
  font-size: 18px;
  width: 100%;
}
#search_wrapper i {
  position: absolute;
  bottom: 15px;
  right: 0;
  font-size: 20px;
  color: #fff;
}
.therace-primary-menu {
  margin: 120px 0 100px;
}
#sidebar_login {
  vertical-align: middle;
  line-height: 25px;
}
#sidebar_login i {
  vertical-align: middle;
}
#main-nav {
  font-family: "Roboto Flex", sans-serif;
  font-weight: 800;
  display: block;
  position: fixed;
  padding-top: 10px;
  transition: transform 0.2s ease, background-color 0.2s ease;

  #sidebarCollapse i {
    font-size: 40px;
  }

  /* 404 and page-template */
  a, i {
    color: #2b2b2b;
  }

  @media (max-width: 768px) {
    a, i {
      color: #fff;
    }
  }
}

.tag-template #main-nav,
.home #main-nav {
  a, i {
    color: #fff;
  }

  .black-logo {
    display: block;
  }

  .white-logo {
    display: none;
  }

  @media (max-width: 768px) {
    .black-logo {
      display: none;
    }

    .white-logo {
      display: block;
    }
  }
}

.home #main-nav:not(.repositioned) {
  @media (max-width: 767px) {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
  }
}

.archive #main-nav {
  .black-logo {
    display: none;
  }

  .white-logo {
    display: block;
  }

  @media (max-width: 768px) {
    .black-logo {
      display: none;
    }

    .white-logo {
      display: block;
    }
  }

  &.force-black-navigation {
    a, i {
      color: #2b2b2b;
      text-shadow: none;
    }
  }

  &.force-black-logo,
  &.force-black-navigation {
    .black-logo {
      display: block;
    }

    .white-logo {
      display: none;
    }
  }
}

.single-writer #main-nav,
.single-post #main-nav {
  a, i {
    color: #2b2b2b;
  }

  .black-logo {
    display: none;
  }

  .white-logo {
    display: block;
  }

  @media (max-width: 768px) {
    .black-logo {
      display: block;
    }

    .white-logo {
      display: none;
    }
  }

  &.force-black-logo {
    .black-logo {
      display: block;
    }

    .white-logo {
      display: none;
    }
  }
}

.tag-hash-race-results.single-writer #main-nav,
.tag-hash-race-results.single-post #main-nav {
  @media (max-width: 768px) {
    .black-logo {
      display: none;
    }

    .white-logo {
      display: block;
    }
  }
}

#main-nav .therace_login_signup {
  margin-left: auto;
  display: flex;
  align-items: center;
}
#main-nav.hidden {
  transform: translateY(-100%);
}

#main-nav.repositioned {
    will-change: transform;
    padding-top: 10px;
    background-color: white;
    transition: transform 0.2s ease, background-color 0.2s ease;
    .white-logo {
      display: none;
    }
    .black-logo {
      display: block;
    }
}

#main-nav.repositioned .therace_login_signup a,
#main-nav.repositioned #sidebarCollapse i {
    color: #2b2b2b;
    text-shadow: none;
    transition: color 0.2s ease;
}

#main-nav .therace_login_signup a:hover,
#main-nav #sidebarCollapse i:hover {
    transition: none;
    color: #e9751f;
}

#wrapper-footer {
  line-height: 30px;
}
#wrapper-footer .site-info a {
  text-decoration: none;
}
.footer-menu-class ul,
.footer-menu-class li {
  list-style-type: none;
  padding: 0;
}
.footer-menu-class li {
  padding-left: 0;
  text-indent: 0;
}
#footer_social .social_icon {
  margin-right: 10px;
}
#footer_social .social_icon i {
  font-size: 20px;
  color: #7b7b7b;
}
#footer_social .social_icon i:hover {
  color: var(--brand-color);
}
.therace_related .category {
  margin-top: 20px;
  margin-bottom: 20px;
}
.therace_related .category a {
  color: #2b2b2b;
  font-size: 12px;
}
.therace_related .category a:hover {
  color: var(--brand-color);
  text-decoration: none;
}
.therace_related h3 {
  margin-bottom: 20px;
  font-size: 2rem;
}
.therace_related h3 a {
  color: #2b2b2b;
}
.therace_related h3 a:hover {
  color: var(--brand-color);
  text-decoration: none;
}
.therace_related p {
  margin-bottom: 20px;
}
.therace_related .meta {
  font-size: 13px;
  padding-top: 0;
}
.therace_related .meta span {
  margin-right: 15px;
}
.therace_related .related_group {
  padding-bottom: 40px;
}
.therace_related .related_group_image {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
.module_header {
  border-top: 1px solid #2b2b2b;
  padding-top: 30px;
  padding-bottom: 30px;
  margin-top: 60px;
  color: var(--brand-color);
}
#therace_nextprev {
  padding-top: 30px;
  padding-bottom: 30px;
}
#therace_nextprev .previous_wrapper {
  min-height: 400px;
  padding: 60px;
  text-align: left;
  background-color: rgb(0, 0, 0, 0.4);
  margin: 0 -15px;
}
#therace_nextprev .next_wrapper {
  min-height: 400px;
  padding: 60px;
  text-align: right;
  background-color: rgb(0, 0, 0, 0.4);
  margin: 0 -15px;
}
#therace_nextprev .text-link {
  padding-bottom: 30px;
}
#therace_nextprev .icon-link {
  padding-top: 30px;
}
#therace_nextprev .icon-link i {
  font-size: 40px;
}
#therace_nextprev h3 {
  max-width: 300px;
  display: inline-block;
}
.prev-image,
.next-image {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
#comments {
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid #2b2b2b;
}
#therace-content {
  padding-top: 0;
}
.single-post .single-mpu,
.single-writer .single-mpu,
.home-mpu {
  padding-bottom: 20px;
}
.single-post .single-mpu img,
.single-writer .single-mpu img,
.home-mpu img {
  max-width: 100%;
}
#entry-meta {
  font-size: 14px;
  line-height: 24px;
  border-bottom: 1px solid black;
  display: flex;
  flex-direction: column;
  @media (max-width: 768px) {
    flex-direction: row;
    justify-content: space-between;
  }
  padding-bottom: 15px;
}

.single-comments {
  display: flex;
  flex-direction: column-reverse;
  @media (min-width: 768px) {
    flex-direction: column;
    .actual-comments-link {
      padding-top: 15px;
      margin-top: 15px;
      border-top: 1px solid black;
    }
  }
}
.single-share {
  padding-bottom: 30px;
}
.single-mpu-wrapper {
  padding-bottom: 20px;
}
.mobile_ad {
  display: none;
}
.mobile_ad img {
  width: 100%;
}
.desktop_ad {
  display: block;
}
#therace-nav-group {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

#therace_menu_profile {
  @media (max-width: 768px) {
    display: none;
  }
}
#therace_menu_login,
#therace_menu_profile,
#therace_menu_members_club {
  margin-right: 1rem;
}
#therace_menu_profile a {
  display: flex;
  padding: 0;
  align-items: center;
  gap: 0.5rem;
}
.home #therace-nav-group,
.single #therace-nav-group,
.archive #therace-nav-group {
  max-width: 1140px !important;
}
.home .navbar-brand {
  margin-left: 30px !important;
}

.mobile {
  display: none;
}
.desktop {
  display: block;
}
@media (max-width: 1200px) {
  #therace-nav-group {
    max-width: 960px !important;
  }
  #post-header .post-header-title {
    height: auto;
  }
  #post-header .post-header-image {
    height: auto;
    padding-top: 50%;
  }
}
@media (max-width: 992px) {
  #therace-nav-group {
    max-width: 721px !important;
  }
  .post-header-wrapper {
    padding: 30px;
  }
  #post-header .post-header-title h1 {
    font-size: 38px;
    line-height: 1;
  }
}
@media (max-width: 768px) {
  #therace-nav-group {
    max-width: 540px !important;
  }
  .single-post #main-nav .therace_login_signup a,
  .single-post #main-nav .therace_login_signup a:hover,
  .single-post #main-nav #sidebarCollapse i,
  .single-post #main-nav #sidebarCollapse i:hover {
    color: black;
  }
  .tag-hash-race-results.single-post #main-nav .therace_login_signup a,
  .tag-hash-race-results.single-post #main-nav .therace_login_signup a:hover,
  .tag-hash-race-results.single-post #main-nav #sidebarCollapse i,
  .tag-hash-race-results.single-post #main-nav #sidebarCollapse i:hover {
    color: white;
  }
  .single-writer #main-nav .therace_login_signup a,
  .single-writer #main-nav .therace_login_signup a:hover,
  .single-writer #main-nav #sidebarCollapse i,
  .single-writer #main-nav #sidebarCollapse i:hover {
    color: black;
  }

  .single-post article,
  .single-writer article {
    padding-top: 0;
  }
  .single-post .post-header-wrapper,
  .single-writer .post-header-wrapper,
  .home .post-header-wrapper {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    padding: 40px 10px 10px;
  }
  .home .post-header-wrapper {
    padding: 40px 30px 30px;
  }
  .post-header-category {
    padding-bottom: 15px;
  }
  .home .navbar-brand {
    margin-left: 15px !important;
  }
  #main-nav #therace_menu_link {
    display: none !important;
  }
  #therace_menu_profile i {
    font-size: 35px !important;
  }
  #therace_menu_profile a.btn {
    color: #fff;
    background-color: var(--brand-color);
    padding: 0.8em;
    font-size: 1em;
    border-radius: 1.6em;
    transition: all ease 0.3s;
  }
  .mobile {
    display: block;
  }
  .desktop {
    display: none;
  }
}
@media (max-width: 576px) {
  .mobile_ad {
    display: block;
  }
  .desktop_ad {
    display: none;
  }
  .navbar {
    padding-left: 0;
    padding-right: 0;
  }
  .navbar .container {
    padding-left: 0;
    padding-right: 0;
  }
  .navbar-brand {
    margin-left: 0.5rem;
  }
  #sidebar {
    min-width: 100%;
  }
  #sidebar_wrapper {
    padding: 20px;
    max-width: 100vw;
  }
  #sidebar li a {
    padding-right: 0;
    font-size: 40px;
  }
  li.dropdown_menu a.dropdown_item_label {
      font-size: 34px !important;
  }
  #sidebar_dismiss {
    top: 20px;
    right: 10px;
  }
  #sidebar_login {
    top: 20px;
    left: 20px;
  }
  #search_wrapper {
    width: 100%;
  }
  #wrapper-footer {
    line-height: 26px;
  }
  .post-header-wrapper {
    padding: 20px 15px 0;
  }
  #post-header .post-header-image {
    height: auto;
  }
  .home .post-header-wrapper {
    padding: 20px 15px 0;
  }
  #post-header i.fa-slash {
    font-size: 18px;
  }

  #post-header .meta {
    display: none;
  }
  #post-header .excerpt {
    padding-bottom: 10px;
    padding-top: 10px;
  }
  .post-header-category {
    font-size: 14px;
  }
}
@media (max-width: 360px) {
  .navbar-brand .img-fluid {
    max-width: 80%;
  }
}
@media screen and (max-width: 540px) {
  .wp-image-101660 {
    width: 100%;
  }
}
#qc-cmp2-persistent-link {
  display: none !important;
}
.kg-width-wide {
  width: 100%;
}
.kg-width-full {
  width: 100%;
}

tbody tr:nth-child(even) td {
  background-color: rgb(224, 224, 224);
}

.fixTable {
  width: 100% !important;
}

.wp-block-columns {
  display: flex;
  margin-bottom: 1.75em;
  box-sizing: border-box;
  flex-wrap: wrap;
}
.wp-block-column {
  flex-grow: 1;
  min-width: 0;
  word-break: break-word;
  overflow-wrap: break-word;
}

.wp-block-image:not(.is-style-rounded) img {
  border-radius: inherit;
}
.wp-block-image {
  margin: 0 0 1em;
}

.therace-post-content h2 {
  padding-top: 20px;
}
.wp-block-column h3 {
  padding-top: 20px;
}

.wp-block-spacer {
  clear: both;
}
@media (min-width: 782px) {
  .wp-block-columns {
    flex-wrap: nowrap;
  }
  .wp-block-column[style*="flex-basis"] {
    flex-grow: 0;
  }
  .wp-block-column {
    flex-basis: 0;
    flex-grow: 1;
  }
  .wp-block-column:not(:first-child) {
    margin-left: 2em;
  }
}

.wp-block-separator {
  border-top: 1px solid;
  border-bottom: 1px solid;
}
.has-text-align-center {
  text-align: center;
}

.wp-block-post-template, .wp-block-query-loop {
  max-width: 100%;
  list-style: none;
  padding: 0;
}

.wp-block-post-template.is-flex-container, .wp-block-query-loop.is-flex-container {
  flex-direction: row;
  display: flex;
  flex-wrap: wrap;
}
.wp-block-post-template li, .wp-block-post-template ol {
  padding-left: 25px;
}
.wp-block-post-template li, .wp-block-query-loop li {
  clear: both;
}
.wp-block-post-template.is-flex-container li, .wp-block-query-loop.is-flex-container li {
  margin: 0 0 1.25em;
  width: 100%;
}

@media (min-width: 600px) {
  .wp-block-post-template.is-flex-container.is-flex-container.columns-3 > li, .wp-block-query-loop.is-flex-container.is-flex-container.columns-3 > li {
    width: calc(33.33333% - 1.3em);
  }
  .wp-block-post-template.is-flex-container li, .wp-block-query-loop.is-flex-container li {
    margin-right: 1.25em;
  }
}

.wp-block-post-excerpt__more-link, .wp-block-post-title a {
  display: inline-block;
  color: var(--brand-color) !important;
  text-decoration: underline;
}
.wp-block-post-featured-image {
  margin-left: 0;
  margin-right: 0;
}
.wp-block-post-featured-image a {
  display: inline-block;
}

.wp-block-post-featured-image.alignfull img, .wp-block-post-featured-image.alignwide img {
  width: 100%;
}
.wp-block-post-featured-image img {
  max-width: 100%;
  height: auto;
}

.wp-block-button .main-buttons-mc {
  width: 150px;
}

.get_involved {
  padding: 20px;
}
#sidebar .first-item {
  padding-top: 15px;
  border-top: 3px solid #2b2b2b;
}

.load_more_stories {
  color: black;
  text-decoration: none;
}
.load_more_stories:hover {
  color:black !important;
  text-decoration: none;
}

#therace-tabs .result-link:hover {
  background-color: var(--brand-color) !important;
  border: 1px solid var(--brand-color) !important;
}

article ol, article li, .page li {
  padding-left: 25px;
}

@media (max-width: 599px) {
  .wp-block-column {
    flex-basis: 100% !important;
  }
}

.wp-block-image.size-full img {
  float: none !important;
  margin: 10px 0px !important;
}

.wp-block-column p a {
  color: var(--brand-color);
  text-decoration: underline;
}
.wp-block-column p a:hover {
  color: #905124;
}

/* Cookiebot styling overides */
#CybotCookiebotDialogHeader {
  order: 1;
}
#CybotCookiebotDialogTabContent {
  order: 2;
}
#CybotCookiebotDialogNav {
  order: 3;
}
#CybotCookiebotDialogFooter {
  order: 4;
}
#CybotCookiebotDialogPoweredbyImage {
  display: none;
}
#CybotCookiebotDialogPoweredbyLink:after {
  content: ' ';
  background: transparent url(../png/the-race-logo-full-black.png) no-repeat;
  background-size: contain;
  height: 43px;
  width: 200px;
}
#CybotCookiebotDialogNav .CybotCookiebotDialogNavItemLink.CybotCookiebotDialogActive {
  border-top: 3px solid var(--brand-color) !important;
  border-bottom: none !important;
  color: var(--brand-color) !important;
}
#CybotCookiebotDialog input:checked+.CybotCookiebotDialogBodyLevelButtonSlider {
  background-color: var(--brand-color) !important;
}
#CybotCookiebotDialog #CybotCookiebotDialogFooter .CybotCookiebotDialogBodyButton {
  border: 2px solid var(--brand-color);
  border-radius: 4px;
  padding: 0.5em;
}
#CybotCookiebotDialog #CybotCookiebotDialogFooter #CybotCookiebotDialogBodyButtonCustomSubscribe {
  background-color: rgb(56, 125, 211);
  border-color: rgb(56, 125, 211);
  color: white;
  margin-bottom: .5em;
}
#CybotCookiebotDialog #CybotCookiebotDialogFooter #CybotCookiebotDialogBodyButtonCustomSubscribe:hover {
  background-color: black;
  border-color: black;
  text-decoration: none;
}
#CybotCookiebotDialog {
  border-radius: 0 !important;
  overflow: visible !important;
}
#CybotCookiebotDialog::before {
content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300vmax;
  height: 300vmax;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.1);
  z-index: -1;
  pointer-events: all;
}
.CybotCookiebotDialogContentWrapper {
    position: relative !important;
    z-index: 1 !important;
    background-color: #ffffff !important;
}
#CybotCookiebotDialog h2{
  font-weight: 500 !important; 
  letter-spacing: 0.5px !important;
}
#CybotCookiebotDialogBodyLevelButtonsSelectPane .CybotCookiebotDialogBodyLevelButtonDescription,
#CybotCookiebotDialogFooter .CybotCookiebotDialogBodyButton,
#CybotCookiebotDialogNav .CybotCookiebotDialogNavItemLink {
  font-family: "Roboto Flex", sans-serif !important;
  font-weight: 900 !important;
}
#CybotCookiebotDialog #CybotCookiebotDialogBodyLevelButtonsSelectPane {
  padding: 0.5em 0;
}
#CybotCookiebotDialog #CybotCookiebotDialogBodyLevelButtonsSelectPane .CybotCookiebotDialogBodyLevelButtonWrapper {
  padding: 0.33em 1em;
}
#CybotCookiebotDialogNav .CybotCookiebotDialogNavItemLink:hover {
  color: var(--brand-color) !important;
}
#CybotCookiebotDialog .CookieCard .CybotCookiebotDialogDetailBodyContentCookieContainerButton:hover, #CybotCookiebotDialog .CookieCard .CybotCookiebotDialogDetailBodyContentIABv2Tab:hover, #CybotCookiebotDialogDetailBodyContentCookieContainerTypes .CybotCookiebotDialogDetailBodyContentCookieProvider:not(.CybotCookiebotDialogDetailBodyContentCookieInfoCount):hover {
  color: var(--brand-color) !important;
}
button#CybotCookiebotDialogBodyLevelButtonCustomize:hover,
button#CybotCookiebotDialogBodyButtonDecline:hover,
button#CybotCookiebotDialogBodyLevelButtonLevelOptinAllowallSelection:hover {
    color: var(--brand-color) !important;
}
#CybotCookiebotDialogFooter #CybotCookiebotDialogBodyLevelButtonLevelOptinAllowAll:hover {
  opacity: 1 !important;
  background-color: #000 !important;
  border-color: #000 !important;
}
#CybotCookiebotDialog #CybotCookiebotDialogFooter #CybotCookiebotDialogBodyLevelButtonCustomize .CybotCookiebotDialogArrow {
  transform: translateY(-2px) rotate(45deg);
}
#CybotCookiebotDialog #CybotCookiebotDialogFooter #CybotCookiebotDialogBodyLevelButtonCustomize:hover .CybotCookiebotDialogArrow {
  border-color: var(--brand-color);
}
#CybotCookiebotDialog #CybotCookiebotDialogFooter #CybotCookiebotDialogBodyLevelButtonLevelOptinAllowAll {
  transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
  background-color: var(--brand-color);
}
#CybotCookiebotDialog #CybotCookiebotDialogBody .CybotCookiebotScrollContainer {
  max-height: 20em;
}
#CybotCookiebotDialog #CybotCookiebotDialogBodyContent {
  flex: 1;
  padding-bottom: 1.125rem;
  border: 1px solid #d6d6d6;
  border-width: 0 0 1px 0;
  min-height: 9em;
}
#CybotCookiebotDialog #CybotCookiebotDialogBodyContent .CybotCookiebotFader {
  bottom: calc(50% - 0.15em);
}
#CybotCookiebotDialog #CybotCookiebotMembersClubText {
  flex: 1;
  padding: 1.125rem;
  min-height: 9em;
}
#CybotCookiebotDialog .CybotCookiebotDialogBodyBottomWrapper {
  order: -1;
}
#CybotCookiebotDialogBody .CybotCookiebotScrollArea {
  scrollbar-color: transparent transparent;
  overflow-y: scroll;
}
#CybotCookiebotDialogBody .CybotCookiebotScrollArea:hover {
  scrollbar-color: #000 #000;
}
#CybotCookiebotDialog #CybotCookiebotMembersClubText p.price {
  font-family: "Roboto Flex", sans-serif;
  font-size: 1.5rem;
  line-height: 1.6;
  margin-bottom: .5em;
  font-weight: 500;
  letter-spacing: 0.5px;
}
#CybotCookiebotDialog #CybotCookiebotMembersClubText ul {
  list-style-position: outside;
}
#CybotCookiebotDialog #CybotCookiebotMembersClubText ul li {
  margin-left: 1.2em;
}
@media screen and (min-width: 601px) {
  #CybotCookiebotDialog #CybotCookiebotDialogBodyLevelButtonsSelectPane {
    padding: 1em 0;
  }
  #CybotCookiebotDialog #CybotCookiebotDialogBodyLevelButtonsSelectPane .CybotCookiebotDialogBodyLevelButtonWrapper {
    padding: 1em;
  }
  #CybotCookiebotDialog #CybotCookiebotDialogFooter .CybotCookiebotDialogBodyButton {
    padding: 1em;
  }
  #CybotCookiebotDialog #CybotCookiebotDialogFooter #CybotCookiebotDialogBodyButtonCustomSubscribe {
    margin-left: .5em;
    margin-bottom: 0;
  }
  #CybotCookiebotDialog #CybotCookiebotDialogBody .CybotCookiebotScrollContainer {
    flex-direction: row;
  }
  #CybotCookiebotDialog #CybotCookiebotDialogBodyContent {
    flex: 2;
    border-width: 0 1px 0 0;
    margin-right: 1.125rem;
  }
  #CybotCookiebotDialog #CybotCookiebotMembersClubText {
    flex: 1;
  }
  #CybotCookiebotDialog #CybotCookiebotDialogBodyContent .CybotCookiebotFader {
    width: calc(66.6666% - 2em);
    bottom: 0;
  }
  #CybotCookiebotDialog #CybotCookiebotMembersClubText .CybotCookiebotFader {
    width: calc(33.3333% + 1.5em);
    right: 1px;
    left: auto;
  }

}

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

/* Cookie table styling */
.CookieDeclarationTableCell {
background-color: white;
border: 1px solid black;
white-space: inherit;
}

.CookieDeclarationTableHeader {
border: 1px black solid;
}

#CybotCookiebotDialog #CybotCookiebotDialogBodyContentText a,
#CybotCookiebotDialog #CybotCookiebotDialogBodyLevelButtonIABHeaderViewPartnersLink,
#CybotCookiebotDialog #CybotCookiebotDialogDetailBulkConsentList dt a,
#CybotCookiebotDialog #CybotCookiebotDialogDetailFooter a,
#CybotCookiebotDialog .CybotCookiebotDialogBodyLevelButtonIABDescription a,
#CybotCookiebotDialog .CybotCookiebotDialogDetailBodyContentCookieLink,
#CybotCookiebotDialogDetailBodyContentTextAbout a,
#CookiebotWidget .CookiebotWidget-consent-details button {
color: var(--brand-color) !important;
}

#CookiebotWidget .CookiebotWidget-body .CookiebotWidget-consents-list li.CookiebotWidget-approved svg {
fill: var(--brand-color) !important;
}

#CookiebotWidget #CookiebotWidget-buttons #CookiebotWidget-btn-change {
background-color: var(--brand-color) !important;
border: 2px solid var(--brand-color) !important;
}

#CookiebotWidget #CookiebotWidget-buttons #CookiebotWidget-btn-change:hover {
opacity: 1 !important;
background-color: #000 !important;
border-color: #000 !important;
}

#CookiebotWidget #CookiebotWidget-buttons #CookiebotWidget-btn-withdraw {
border: 2px solid var(--brand-color) !important;
border-radius: 4px !important;
transition: none;
}

#CookiebotWidget #CookiebotWidget-buttons #CookiebotWidget-btn-withdraw:hover {
color: var(--brand-color) !important;
}

/* Missing content boxes for marketing cookie refusal */
#disqus-blocked-banner,
.youtube-blocked-banner,
.x-blocked-banner,
.megaphone-blocked-banner {
background-color: #f9f9f9;
border-radius: 20px;
display: flex;
padding: 20px 24px;
flex-direction: row;
-ms-flex-align: center;
align-items: center;
-ms-flex-pack: justify;
justify-content: space-between;
margin-bottom: 20px;
margin-top: 20px;
}
.cookies-not-accepted-header {
margin-bottom: 8px;
color: #343434;
font-style: normal;
font-weight: 700;
}

.cookies-not-accepted-button {
background-color: var(--brand-color);
  font-family: "Roboto Flex", sans-serif !important;
  font-weight: 900 !important;
color: #fff;
font-size: 15px;
}

.cookies-not-accepted-button:hover {
color: #fff !important;
background-color: #000;
}
.cookies-not-accepted__text,
.cookies-not-accepted-header {
padding-right: 15px;
}
#x-blocked-banner svg {
margin-left:-4px;
}

.kg-card>iframe {
  max-width: 100%;
}

#CookiebotWidget {
  bottom: 22px !important;
}

#content.container table {
  display: block;
  overflow: auto;
}

#limit_story {
  display: block;
  position: relative;
  z-index: 1;
  background-color: rgba(255, 255, 255, 0.8);
}

#limit_block {
  margin: 0px auto;
  width: 100%;
  text-align: center;
  background-color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  margin-top: 0px;
  box-shadow: 0px 0px 11px 2px rgba(0, 0, 0, 0.3);
}
#limit_block h2 {
  color: #2b2b2b;
  padding-top: 20px;
  font-size: 24px;
}
#limit_block .limit_detected {
  padding: 20px;
  color: #2b2b2b;
  font-size: 18px;
  line-height: 24px;
}
#limit_block a.limit_link {
  max-width: 360px;
  margin-bottom: 20px;
  background-color: var(--brand-color);
  color: #ffffff !important;
  font-size: 26px;
  display: block;
  margin: 0px auto;
  padding: 10px 20px;
  font-weight: normal;
  font-family: "Roboto Flex", sans-serif !important;
  border-radius: 6px;
}

#CookiebotWidget {
  display: none;
}

.gh-portal-triggerbtn-iframe {
  left: 0;
}

.header_profile_picture {
  height: 250px;
}
.entry-header {
  > div {
    font-family: "Roboto Flex", sans-serif;
    text-transform: capitalize;
    font-size: 32px;
    display: flex;
    justify-content: space-between;
    text-align: right;
    align-items: start;
    margin-top: 10px;
    > div:first-child {
      color: grey;
    };
    > div {
      font-family: "pt serif", serif;
      letter-spacing: 0;
      text-transform: capitalize;
      font-size: 18px;
    }
  };
  > h1 {
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    > img {
      width: 55px;
      aspect-ratio: 1;
    }
  }
}
.driver-stats {
  > h2 {
    text-align: center;
    font-size: 40px;
  };
  display: flex;
  flex-direction: column;
  font-family: "Roboto Flex", sans-serif;
    text-transform: capitalize;
}
.driver-stats-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 24px;
  > div:first-child {
    color: #2b2b2b;
    font-size: 22px;
    font-family: "Roboto Flex", sans-serif !important;
  };
  > div:last-child {
    color: #bababa;
  }
  border-bottom: 1px solid;
  padding: 15px 0px;
}
#relevant-posts {
  margin-bottom: 25px;
  color: var(--brand-color);
}
@media (max-width: 768px) {
  .entry-header {
    > div {
      margin-top: 15px;
      flex-direction: column;
      text-align: left;
    }
    > h1 {
      > img {
        width: 46px;
        aspect-ratio: 1;
      }
    }
  }
  .hub-content {
    .ad_container_default {
      display: none;
    }
    #news-block {
      width: 100% !important;
    }
  }
}
#news-block {
  > article {
    width: 100%;
    padding: 0px;
    h2 {
      padding-top: 0px;
      text-align: left;
      color: var(--brand-color);
    }
  }
}
.hub-content {
  margin-top: 20px;
}

#google_ads_top_frame + div {
  display: none !important;
}

@media (max-width: 768px) {
  .gh-portal-triggerbtn-iframe {
    display: none;
  }
}

#ghost-portal-root > div {
  /* Needed to force ghost overlays on top of Cookiebot for the subscribe button */
  z-index: 2147483632 !important;
}

#CybotCookiebotDialogBodyLevelButtonCustomize {
  display: none !important;
}

.CookiebotCustomTab {
  display: flex;
  flex-direction: row !important;
  padding-top: 10px !important;
}
.CookiebotCustomTab > .IllegalSplitter {
  display: flex;
  flex-basis: 50%;
  flex-direction: column;
  padding: 1.125em !important;
  line-height: 20px;
  > .text {
    padding: 0px 50px 10px 50px !important;
    font-family: Georgia, sans-serif !important;
    margin-bottom: 0 !important;
    > p a {
      color: #e9751f !important;
    }
  }
}

#CybotCookiebotDialog * .IllegalButton {
  display: flex;
  flex-direction: column !important;
  align-items: center;
  margin-top: 10px;
  > button {
    border: none;
    background-color: var(--brand-color);
    font-family: "Roboto Flex", sans-serif;
    font-weight: 800;
    color: white;
    border-radius: 4px;
    font-size: 16px;
    padding: 10px 50px;
    width: 75%;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    margin-bottom: 15px;
    &:hover {
      background-color: black;
    }
    &:not(:first-child) {
      background-color: transparent;
      border: 2px solid black;
      color: black;
      &:hover {
        color: var(--brand-color)
      }
    }
  }
}

@media (max-width: 470px) {
  #CybotCookiebotDialogHeaderLogosWrapper {
    width: 80%;
    #CybotCookiebotDialogPoweredbyLink {
      padding-top: 5px;
    }
  }
}

@media (max-width: 992px) {
  .CookiebotCustomTab {
    flex-direction: column !important;
  }
  .CookiebotCustomTab > .IllegalSplitter > .text {
    width: 75%;
    padding: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    &:not(:first-child) {
      margin-top: 10px !important;
    }
  }
  .CookiebotCustomTab > .IllegalSplitter > .IllegalButton {
    margin-bottom: 0 !important;
  }
}

#CybotCookiebotDialogBodyButtonsWrapper {
  #CybotCookiebotDialogBodyButtonDecline {
    display: none;
  }
}

#CybotCookiebotDialogFooter {
  display: none;
  .CybotCookiebotDialogBodyButton {
    flex: 1;
  }
  #CybotCookiebotDialogBodyLevelButtonLevelOptinAllowAll {
    display: none;
  }
  #CybotCookiebotDialogBodyButtonCustomSubscribe {
    display: none;
  }
}

.dropdown_menu {
  > a {
    display: flex !important;
    align-items: center;
  }
  > a::after {
    content: "▸";
    margin-left: 8px;
    font-size: 30px;
  }
  > a.active {
    ~ ul {
      display: block;
      padding-top: 10px;
      padding-bottom: 10px;
    }
  }

  > a.active::after {
    content: "▾";
  }
  li {
    margin-right: 0 !important;
    list-style: none;
  }
  .nested_dropdown_menu {
    a {
      display: flex;
      align-items: center;
    }
    > a::after {
      content: "▸";
      margin-left: 8px;
      font-size: 24px
    }

    > a.active::after {
      content: "▾";
    }
  }
  > ul {
    display: none;
    padding-left: 15px;
    padding-top: 10px;
    padding-bottom: 10px;
    li {
      padding: 6px 0 !important;
      > ul {
        display: none;
      }
      > a.active {
        ~ ul {
          display: block;
          padding-left: 15px;
          padding-top: 10px;
          padding-bottom: 10px;
        }
      }
    }
  }
  a {
    display: block;
    cursor: pointer;
    font-size: 42px;
    font-family: "Roboto Flex", sans-serif;
    font-weight: 400;
    &:hover {
      color: #905124;
    }
  }

  a.dropdown_item_label {
    font-size: 48px !important;
  }
  .menu-item-135-floor {
    width: 0;
    white-space: nowrap;
    padding-top: 5px;
    font-size: 32px !important;
  }
}

.CybotCookiebotBannerCloseButton {
  display: none !important;
}

#active-users-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1050;

  .active-users-overlay-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border-radius: 10px;

    button {
      position: absolute;
      top: 25px;
      right: 25px;
      background: none;
      border: none;
      font-size: 50px;
      color: black;
      cursor: pointer;
      width: 30px;
      height: 30px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    #active-users-overlay-image {
      width: 85vw;
      max-width: 300px;
      max-height: 80vh;
      display: block;
      margin: 0 auto;
    }
  }
}

#dw {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgb(215, 240, 255) 30%);
  z-index: 1022;

  .datawall-scrim {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100vw;
    background: #d7f0ff;
    z-index: 1025;
    height: calc(100% - 150px);

    .dw-overlay-content {
      width: 100vw;
      height: 100%;
      margin-left: auto;
      margin-right: auto;
      padding: 20px;
      display: flex;
      justify-content: center;
    }

    .dw-overlay-content_wrapper {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 10%;
      width: 70vw;
    }

    .section-free, .section-members {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      align-items: center;
      text-align: center;
      height: 500px;
      max-width: 560px;
    }

    .sign-in-link {
      font-family: "Roboto Flex", sans-serif;
      padding-top: 8px;
    }
    .logo {
      display: flex;
      justify-content: center;
      align-items: center;
      width: 100%;
    }

    .section-free {
      padding: 90px 30px;
      position: relative;
      background-size: contain;
      background-repeat: no-repeat;
      background-position: center;

      h2 {
        padding-top: 1em;
      }

      p {
        color: #1d1d1d;
      }
    }

    .section-members {
      padding: 30px 20px 20px 20px;
      background-size: cover;
      background-repeat: no-repeat;
      background-position: center;

      .logo {
        width: 100%;
      }

      p {
        color: #fefffe;
      }
    }


    h2 {
      font-size: 2em;
      color: var(--brand-color);
      font-family: "Roboto Flex", sans-serif;
      font-weight: 100;
    }

    p {
      font-size: 1.2rem;
      line-height: 1.5;
    }

    .btn {
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 12px 24px;
      font-size: 1.2rem;
      border: solid var(--brand-color) 1px;
      color: var(--brand-color);
      border-radius: 10px;
      cursor: pointer;
      transition: all 0.3s ease;
      font-family: "Roboto Flex", sans-serif;
      position: relative;
    }

    a.btn:hover {
      text-decoration: underline;
    }

    .btn-free-access {
      color: white;
      width: 80%;
    }

    .btn-members-club {
      background-color: white;
    }

    .btn-logo {
      position: absolute;
      left: 1rem;
    }

    .btn-logo img {
      height: 1lh;
      width: auto;
    }
  }
}

@media (max-width: 768px) {
  #dw {
    background: unset;
    .datawall-scrim {
      height: calc(100% - 90px);
      .dw-overlay-content {
        padding: 0;
        h2 {
          br {
            display: none;
          }
        }
        .dw-overlay-content_wrapper {
          flex-direction: column;
          justify-content: center;
          align-items: unset;
          width: 100vw;
          gap: unset;
        }

        .section-free,
        .section-members {
          padding: 20px 10px;
          height: auto;

          p {
            font-size: 0.9rem;
          }

          h2 {
            font-size: 1.6rem;
          }
          .btn {
            font-size: 0.9rem;
            padding: 8px 24px;
          }
        }

        .section-free {
          margin-top: 10%;
          .btn.btn-free-access {
            width: 100%;
          }
        }

        .section-members {
          margin-top: 16px;
          padding-bottom: 80px;
          flex-grow: 1;
          justify-content: center;
          .logo {
            width: 80%;
          }

          .btn {
            justify-content: space-evenly;

            .btn-logo {
              position: unset;
            }
          }
        }
      }
    }
  }
}

@media (max-height: 700px) {
  #dw {
    .datawall-scrim {
      .dw-overlay-content {
        .dw-overlay-content_wrapper {
          .section-members {
            .logo {
              display: none;
            }
          }
        }
      }
    }
  }
}

@media (max-height: 500px) {
  #dw {
    .datawall-scrim {
      height: calc(100% - 70px);
      .dw-overlay-content {
        max-height: 100%;
        .dw-overlay-content_wrapper {
          flex-direction: row;
          width: 100vw;
          gap: 1rem;
        }

        .section-free,
        .section-members {
          padding: 10px 10px 40px 10px;
          max-height: 100%;
          h2 {
            font-size: 1.8rem;
          }
          .btn {
            padding: 8px 24px;
            font-size: 1rem;
          }
        }
      }
    }
  }
}

@media (max-height: 500px) and (max-width: 768px) {
  #dw .datawall-scrim .section-free,
  #dw .datawall-scrim .section-members {
    p {
      font-size: 0.85rem;
    }
  }
}
.ad_container_default {
  min-height: 600px;
  max-width: 33.3333%;
}

@media (max-width: 768px) {
  .ad_container_default {
    min-height: 250px;
    max-width: none;
  }
}

.ad_billboard {
  min-height: 90px;
}

.trm-app-new {
  #sidebarCollapse {
    display: none;
  }
  #therace_menu_members_club {
    display: none;
  }
  @media (max-width: 768px) {
    .ss-inline-share-wrapper {
      display: flex !important;
      margin: 0 auto 50px auto;
    }
  }
}
