@charset "UTF-8";

/*
Theme Name: 4Wheel Jamboree
Theme URI: https://riotactstudios.com/
Author: Matt Harris
Author URI: https://riotactstudios.com/
Description: Custom theme built for 4Wheel Jamboree.
Requires at least: 6.5
Tested up to: 6.6
Requires PHP: 8.0
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  --body-textcolor: #121212;
  --body-headingcolor: #012334;
  --body-bordercolor: #e9e9e9;
  --body-accentcolor: #2392ce;
  --body-alternateaccentcolor: #e6b138;
  --body-backgroundcolor: #ffffff;
  --body-backgroundgray: #f9f9f9;
  --footer-backgroundcolor: #1a1a1a;
  --footer-textcolor: #898989;
  --footer-hovercolor: #ffffff;
  --font-family-text: 'Open Sans', sans-serif;
  --font-family-heading: 'Roboto', sans-serif;
}

:root :where(a:where(:not(.wp-element-button))) {
  text-decoration: none;
}

body {
  background-color: var(--body-backgroundcolor);
  color: var(--body--textcolor);
  font-family: var(--font-family-text);
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
}

a {
  color: var(--body-accentcolor);
  text-decoration: none;
}

img.alignright {float:right; margin:0 0 1em 1em}
img.alignleft {float:left; margin:0 1em 1em 0}
img.aligncenter {display: block; margin-left: auto; margin-right: auto}
a img.alignright {float:right; margin:0 0 1em 1em}
a img.alignleft {float:left; margin:0 1em 1em 0}
a img.aligncenter {display: block; margin-left: auto; margin-right: auto}

p {
  margin-block-start: 0;
  margin-block-end: 0;
  margin-bottom: 20px;
}

ul {
  list-style: circle outside;
}

ol {
  list-style: decimal outside;
}

.is-layout-constrained > .wp-block-separator {
  margin-block-start: 20px;
}

/*-------------------------------*/
/*- Headings --------------------*/
/*-------------------------------*/

h1, h2, h3, h4, h5 {
  font-family: var(--font-family-heading);
  font-weight: 900;
  color: var(--body-headingcolor);
  text-transform: uppercase;
  margin: 0 0 20px 0;
}

h1 { font-size: 60px; line-height: 1.2; }

h2 { font-size: 44px; line-height: 1.2; }

h3 { font-size: 28px; }

h4 { font-size: 20px; }

h5 { font-size: 18px; }

h6 { font-size: 16px; }

.is-layout-constrained > h2 {
  margin-block-start: 0;
}

.product-title, 
.entry-title {
  font-size: 26px;
  text-transform: none;
}

.wp-block-post-title {
  font-size: 22px;
}

/*-------------------------------*/
/*- Buttons ---------------------*/
/*-------------------------------*/

.wp-element-button, .wp-block-button__link,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt, 
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt, 
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt, 
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt, 
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce #respond input#submit.alt, 
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce a.button.alt, 
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.button.alt, 
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce input.button.alt {
  line-height: 48px;
  text-transform: uppercase;
  height: 48px;
  font-weight: 700;
  font-size: 12px;
  transition: all 0.3s ease;
  border-radius: 0;
  padding: 0 32px;
  margin: 0;
  background-color: var(--body-accentcolor);
}

.wp-element-button, .wp-block-button__link:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt:hover, 
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt:hover, 
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:hover, 
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt:hover, 
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce #respond input#submit.alt:hover, 
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce a.button.alt:hover, 
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.button.alt:hover, 
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce input.button.alt:hover {
  background-color: var(--body-headingcolor);
}

/*-------------------------------*/
/*- Header Top ------------------*/
/*-------------------------------*/

#header-banner {
  background-color: var(--body-accentcolor);
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.325px;
  padding: 10px 0;
}

#header-top {
  padding: 10px 0;
  border-bottom: 1px solid var(--body-bordercolor);
  letter-spacing: .275px;
  color: var(--body-headingcolor);
  font-weight: 600;
  font-size: 14px;
}

#header-main {
  padding: 20px 0 0 0;
}

/*-------------------------------*/
/*- Header Main -----------------*/
/*-------------------------------*/

#logo img {
  height: 70px;
  width: auto;
  display: block;
}

/*-------------------------------*/
/*- Header Menu -----------------*/
/*-------------------------------*/

#header-menu {
  display: none;
}

.header-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: flex-start;
}

.header-menu > li {
  list-style: none;
  padding: 0;
  margin: 0;
  display: block;
  position: relative;
} 

.header-menu > li > a {
  position: relative;
  display: block;
  font-family: var(--font-family-heading);
  font-weight: 600;
  color: var(--body-textcolor);
  text-transform: uppercase;
  line-height: 70px;
  height: 70px;
  margin: 0 20px;
  transition: all 0.2s ease;
}

.header-menu > li > a:hover {
  color: var(--body-accentcolor);
}

.header-menu > li:first-child > a {
  margin-left: 0;
}

.header-menu > li:last-child > a {
  margin-right: 0;
}

.header-menu > li.menu-item-has-children > a:after {
  content: '\f078';
  font: var(--fa-font-sharp-solid);
  font-size: 8px;
  margin-left: 5px;
}

.header-menu > li > .sub-menu {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  z-index: 999;
  min-width: 220px;
  background-color: #fff;
  border: 1px solid var(--body-bordercolor);
  text-align: left;
  margin: 0;
}

.header-menu > li > .sub-menu:after {
  content: '';
  display: block;
  position: absolute;
  left: 20px;
  top: -8px;
  width: 15px;
  height: 15px;
  background-color: #fff;
  border: solid 1px var(--body-bordercolor);
  border-right-color: transparent;
  border-bottom-color: transparent;
  transform-origin: center center;
  transform: rotate(45deg);
}

.header-menu > li > .sub-menu > li {
  display: block;
  margin:  0;
  padding: 0 13px;
  border-bottom: 1px solid var(--body-bordercolor);
}

.header-menu > li > .sub-menu > li:last-child {
  border-bottom: 0;
}

.header-menu > li > .sub-menu > li > a {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: var(--body-textcolor);
  padding: 10px;
  margin: 0;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.header-menu > li > .sub-menu > li a:hover,
.header-menu > li.current-menu-item > a,
.header-menu > li > .sub-menu > li.current-menu-item > a {
  color: var(--body-accentcolor);
}

.header-menu > li:hover .sub-menu {
  display: block;
}

/*-------------------------------*/
/*- Slide Out Menu --------------*/
/*-------------------------------*/

.panel {
  position: fixed;
  right: -100%; /*left or right and the width of your navigation panel*/
  width: 100%; /*should match the above value*/
  background: #21252e;
  z-index: 999;
}

.wrap {
  position: relative;
}

#menu-body {
  height: 100%;
  overflow-y: scroll;
}

.mobile-menu-header {
  position: relative;
  background: rgba(0,0,0,.3);
  text-align: center;
  padding: 5px 0;
  margin-bottom: 10px;
}

.mobile-menu-header img {
  display: inline-block;
  width: 30%;
  height: auto;
}

.menu-link.close-panel {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
}

.mobile-menu-icon {
  padding: 20px 0;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  width: calc(((100% / 12) * 6) - 20px) !important;
  border: 1px solid rgba(255,255,255,.05);
}

.mobile-menu-icon i {
  font-size: 32px;
  color: rgba(255,255,255,0.7);
}

.mobile-menu-icon span {
  display: block;
}

.mobile-menu-icon a {
  color: #fff;
}

.menu-mobile {
  padding: 0 0 30px 0;
}

.menu-mobile li {
  list-style: none;
  margin: 0;
  border-top: 1px solid rgba(255,255,255, 0.05);
}

.menu-mobile li:before {
  content: none;
}

.menu-mobile li:last-of-type {
  border-bottom: 1px solid rgba(255,255,255, 0.05);
}

.menu-mobile li a {
  position: relative;
  display: block;
  padding: 10px 20px;
  transition: all .3s ease;
  color: #858585;
}

.menu-mobile li.menu-toggle > a:after {
  position: absolute;
  content: '\f107';
  font-family: 'Fontawesome';
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
}

.menu-mobile li.menu-toggle > a.active:after {
  content: '\f106';
}

.menu-mobile li a.active {
  color: #fff;
  background: var(--body-accentcolor);
}

.menu-mobile .sub-menu {
  display: none;
  margin: 0;
  padding: 0;
}

.menu-mobile .sub-menu li a {
  padding: 10px 20px 10px 40px;
}

.menu-mobile .sub-menu li .sub-menu li a {
  padding: 10px 20px 10px 60px;
}

.menu-mobile .current-menu-item a {
  color: var(--body-accentcolor);
} 

/*-------------------------------*/
/*- Breadcrumb Block ------------*/
/*-------------------------------*/

.breadcrumb-block ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.breadcrumb-block li {
  display: block;
}

.breadcrumb-block li:not(:first-child):before {
  content: '\f105';
  font: var(--fa-font-sharp-light);
  margin: 0 10px;
}

/*-------------------------------*/
/*- Event Block -----------------*/
/*-------------------------------*/

.event-card {
  border-radius: 8px;
  overflow: hidden;
}

.event-card-image {
  padding-top: 120%;
}

.event-card-image img {
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
}

.event-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 30px;
  background: linear-gradient(to top, rgba(0, 0, 0, .6) 20%, rgba(0, 0, 0, .1));
  z-index: 9;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.event-card-info ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-between;
}

.event-card-info li {
  display: block;
  font-size: 14px;
  color: #fff;
}

.event-card-info h3 {
  text-align: center;
  color: #fff;
  margin: 20px 0;
  font-size: 36px;
}

.event-card-info .subtext {
  color: #fff;
  text-align: center;
}

/*-------------------------------*/
/*- Feature Block ---------------*/
/*-------------------------------*/

.features-block ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.features-block li {
  display: block;
  width: 100%;
  margin-block-start: 0;
  margin-block-end: 0;
}

.feature-card {
  position: relative;
}

.feature-card-image {
  border-radius: 8px;
  overflow: hidden;
}

.feature-card-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 100%);
  border-radius: 8px;
}

.feature-card-image img {
  display: block;
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: all 0.5s ease;
}

.feature-card:hover img {
  transform: scale(1.1);
}

.feature-card a {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}

.feature-card .label {
  position: absolute;
  bottom: 40px;
  left: 0;
  color: white;
  font-weight: bold;
  padding: 0 20px;
}

.feature-card h4 {
  position: absolute;
  bottom: 30px;
  left: 0;
  width: 100%;
  color: #fff;
  padding: 0 20px;
  margin: 0;
}

.feature-card h4:after {
  content: '\f101';
  margin-left: 10px;
  font: var(--fa-font-sharp-regular);
  color: var(--body-alternateaccentcolor);
  opacity: 0;
  transition: all 0.5s ease;
}

.feature-card:hover h4:after {
  opacity: 1;
}

.feature-card:after {
  content: '';
  position: absolute;
  left: 20px;
  bottom: 28px;
  height: 1px;
  z-index: 3;
  width: 0;
  background-color: var(--body-alternateaccentcolor);
  transition: all 0.5s ease;
}

.feature-card:hover:after {
  width: calc(100% - 40px);
}

/*-------------------------------*/
/*- Activity Block --------------*/
/*-------------------------------*/

.activities-block ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.activities-block li {
  display: block;
  padding: 0 0 20px 0;
  margin: 20px 0;
  border-bottom: 1px solid var(--body-bordercolor);
}

.activities-block li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.activities-block .activity-card {
  display: flex;
  flex-wrap: wrap;
  flex: 1;
  align-items: start;
  justify-content: space-between;
}

.activity-card-image,
.activity-card-text {
  width: 100%;
}

.activity-card-image {
  margin-bottom: 20px;
}

.activity-card-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
}

/*-------------------------------*/
/*- Media & Text Block ----------*/
/*-------------------------------*/

.media-image-rounded img,
.rounded {
  border-radius: 8px;
}

/*-------------------------------*/
/*- Schedule Block --------------*/
/*-------------------------------*/

.schedule-block {
  margin-bottom: 30px;
}

.schedule-block tr:nth-child(odd) {
  background-color: var(--body-backgroundgray);
}

.schedule-block td:first-child {
  padding-left: 1.5rem;
}

/*-------------------------------*/
/*- Map Block -------------------*/
/*-------------------------------*/

#large-map {
  height: 400px;
  width: 100%;
}

.map-block {
  position: relative;
}

.map-section-wrapper {
  display: flex;
  max-width: 1350px;
  width: 100%;
}

.map-content {
  background-color: #fff;
  border: 2px solid var(--body-alternateaccentcolor);
  padding: 35px;
  width: 100%;
  margin: 0 20px 20px 20px;
  border-radius: 8px;
  text-align: center;
}

/*-------------------------------*/
/*- Truck Block ---------------*/
/*-------------------------------*/

.truck-card {
  position: relative;
}

.truck-card-image {
  border-radius: 8px;
  overflow: hidden;
}

.truck-card-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 100%);
  border-radius: 8px;
}

.truck-card-image img {
  display: block;
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: all 0.5s ease;
}

.truck-card:hover img {
  transform: scale(1.1);
}

.truck-card a {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}

.truck-card h4 {
  position: absolute;
  bottom: 30px;
  left: 0;
  width: 100%;
  color: #fff;
  padding: 0 20px;
  margin: 0;
}

.truck-card h4:after {
  content: '\f101';
  margin-left: 10px;
  font: var(--fa-font-sharp-regular);
  color: var(--body-alternateaccentcolor);
  opacity: 0;
  transition: all 0.5s ease;
}

.truck-card:hover h4:after {
  opacity: 1;
}

.truck-card:after {
  content: '';
  position: absolute;
  left: 20px;
  bottom: 28px;
  height: 1px;
  z-index: 3;
  width: 0;
  background-color: var(--body-alternateaccentcolor);
  transition: all 0.5s ease;
}

.truck-card:hover:after {
  width: calc(100% - 40px);
}

/*-------------------------------*/
/*- Responsive Table ------------*/
/*-------------------------------*/

.responsive-table {
  border: 0;
  display: block;
  margin-bottom: 40px;
}

.responsive-table thead {
  display: none;
}

.responsive-table tbody {
  display: block;
}

.responsive-table tr {
  display: block;
}

.responsive-table tr:not(:last-child) {
  border-bottom: 3px solid #ddd;
}

.responsive-table tr:nth-child(even) {
  background-color: #f2f2f2;
}

.responsive-table th {
  padding: 10px;
  font-weight: 600;
}

.responsive-table td {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--body-bordercolor);
  padding: 10px 10px;
}

.responsive-table td::before {
  display: block;
  content: attr(data-label);
  font-weight: 600;
  text-transform: uppercase;
}

@media (min-width: 750px) {
  .responsive-table {
    display: table;
  }

  .responsive-table thead {
    display: table-header-group;
  }

  .responsive-table tbody {
    display: table-row-group;
  }

  .responsive-table tr {
    display: table-row;
  }

  .responsive-table td {
    display: table-cell;
  }

  .responsive-table td:before {
    display: none;
  }

}

/*-------------------------------*/
/*- Gallery Block ---------------*/
/*-------------------------------*/

.gallery-card {
  position: relative;
}

.gallery-card-image {
  overflow: hidden;
  border-radius: 8px;
}

.gallery-card-image img {
  display: block;
  width: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  transition: all 0.5s ease;
}

.gallery-card-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background-color: rgba(0,0,0,0);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.gallery-card-zoom {
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 48px;
  transition: all 0.3s ease-in 0.2s;
}

.gallery-card a {
  color: rgba(255,255,255,.95);
}

.gallery-card-share {
  opacity: 0;
  position: absolute;
  bottom: 0;
  right: 20px;
  width: calc(100% - 40px);
  text-align: right;
  font-size: 22px;
  transition: all 0.5s ease;
}

.gallery-card:hover .gallery-card-overlay {
  background-color: rgba(0,0,0,0.5);
}

.gallery-card:hover .gallery-card-zoom {
  opacity: 1;
}

.gallery-card:hover .gallery-card-share {
  opacity: 1;
  bottom: 20px;
}

.gallery-show-more .gallery-expand {
  display: none;
}

/*-------------------------------*/
/*- Sponsors --------------------*/
/*-------------------------------*/

.sponsor-block ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.sponsor-block li {
  display: block;
  width: 100%;
  margin-block-start: 0;
  margin-block-end: 0;
}

.sponsor-card {
  position: relative;
  text-align: center;
}

.sponsor-card img {
  width: 80%;
}

/*-------------------------------*/
/*- Footer ----------------------*/
/*-------------------------------*/

#footer {
  background-color: var(--footer-backgroundcolor);
  color: var(--footer-textcolor);
  padding: 50px 0;
}

#footer h5 {
  color: #fff;
}

#footer a {
  color: var(--footer-textcolor);
}

/*-------------------------------*/
/*- Mobile First Media Queries --*/
/*-------------------------------*/

/* Larger than mobile */
@media (min-width: 400px) {}

/* Larger than phablet */
@media (min-width: 550px) {

}

/* Larger than tablet */
@media (min-width: 750px) {
  #header-menu { display: block; }
  #mobile-menu { display: none; }
  .features-block li { width: calc(33.3333% - 20px); }
  .activity-card-image { width: 25%; margin-bottom: 0 } 
  .activity-card-text { width: calc(75% - 20px); }
  .map-section-wrapper {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 9;
  }
  .map-content { width: 33%; margin: 0; }
  .sponsor-block li { width: calc(33.3333% - 20px); }
}

/* Larger than desktop */
@media (min-width: 1000px) {
}

/* Larger than Desktop HD */
@media (min-width: 1350px) {
}