@charset "UTF-8";
/* CUSTOM CSS - Equon 2018-12-06 */

/* START - CUSTOM FONTS */
.raleway {
  font-family:"Raleway", sans-serif !important;
}
.sourceSans {
  font-family:"Source Sans Pro", sans-serif !important;
}
.playfair {
  font-family:'Playfair Display', serif !important;
}
.georgia {
  font-family:'Georgia', serif !important;
}
.lato {
  font-family:'Lato', serif !important;
}
/* END - CUSTOM FONTS */

/* Smaller menu items */
.panel .sections .menu li {
  font-size: 12px !important;
  font-weight: 400;
  display: inline-block;
  margin: 0 10px; 
}

/* START - CUSTOM LINE-HEIGHT */
p.tiny2,
.p.tiny2,
blockquote.tiny2 {
  font-size: 16px;
  line-height: 1.32;
  margin-bottom: 12px;
  font-weight: 400;
}
/* END - CUSTOM LINE-HEIGHT */

/* START - TABS CONTROLLER */
  .pill.controller {
    font-size: 0;
    border: 1px solid;
    display: inline-block;
    border-radius: 6px;
  }
  .pill.controller li {
    padding: 10px 20px;
    display: inline-block;
    border: 1px solid #fff;
    font-size: initial;
    -webkit-transiton: 0.5s;
    transiton: 0.5s;
  }
  .pill.controller li:first-child {
    border-radius: 4px 0 0 4px;
  }
  .pill.controller li:last-child {
    border-radius: 0 4px 4px 0;
  }

  .pill.controller li.selected {
    background: #fff;
    color: #303030;
  }
  /* END - TABS CONTROLLER */

/* START - CUSTOM COLOURS */
 .gold {
  background: #d39141 !important;
  color: #fff !important;
}
.gold svg {
  fill: #fff !important;
}

.text-gold {
  color: #d39141 !important;
}
.text-gold.button svg {
  fill: #d39141 !important;
}
.stroke.button.gold {
  color: #d39141 !important;
  border-color: #d39141 !important;
}
.stroke.button.gold svg {
  fill: #d39141 !important;
}
/* END - CUSTOM COLOURS */

/* START - CUSTOM QUOTES STYLES */
.slider[data-slider-id="reviews"] li {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   display: block;
   -webkit-transition: 0.5s;
   transition: 0.5s;
   /* before selected */
   opacity: 0;
}
/* selected */
.slider[data-slider-id="reviews"] li.selected { opacity: 1; }
/* style dots */
.controller[data-slider-id="reviews"] .dot:after {
   background:transparent;
   box-shadow:0 0 0 1px rgba(255,255,255,.5);
}
.controller[data-slider-id="reviews"] .dot.selected:after {
   background:#fff;
   box-shadow:0 0 0 1px #fff;
}
.controller[data-slider-id="reviews"] .dot:hover:after {
   -webkit-transform: none;
   transform: none;
   background:rgba(255,255,255,.5);
}
/* END - CUSTOM QUOTES STYLES */

.quoteBubbleGold {
  padding: 7%;
  background: #d39141;
  font-size: 26px;
  border-radius: 6px;
  color: #ffffff;
  position: relative;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.1);
}
.quoteBubbleGold:after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 6%;
  border-width: 13px 13px 0;
  border-style: solid;
  border-color: #d39141 transparent;
  display: block;
  width: 0;
}
.quoteBubbleGold:before {
  content: "";
  position: absolute;
  bottom: -13px;
  left: 6%;
  border-width: 13px 13px 0;
  border-style: solid;
  border-color: rgba(0, 0, 0, 0.2) transparent;
  display: block;
  width: 0;
}

/* Lato font */
.slides,
    .slides p {
      font-family: 'Lato', sans-serif;
      font-weight: 400;
    }
    .slides h1, 
    .slides h2, 
    .slides h3, 
    .slides h4, 
    .slides h5, 
    .slides h6 {
      font-family: 'Playfair Display', sans-serif;
      font-weight: 400;
    }

/* START - Youtube Lazy embed - Part 1 */
 .youtube-player {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin: 5px;
  }

  .youtube-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    background: transparent;
  }

  .youtube-player img {
    object-fit: cover;
    display: block;
    left: 0;
    bottom: 0;
    margin: auto;
    max-width: 100%;
    width: 100%;
    position: absolute;
    right: 0;
    top: 0;
    border: none;
    height: auto;
    cursor: pointer;
    -webkit-transition: 0.4s all;
    -moz-transition: 0.4s all;
    transition: 0.4s all;
  }

  .youtube-player img:hover {
    -webkit-filter: brightness(75%);
  }

  .youtube-player .play {
    height: 100px;
    width: 100px;
    left: 50%;
    top: 50%;
    margin-left: -50px;
    margin-top: -50px;
    position: absolute;
    background: url('../assets/img/icon-play-circled-white-100.png') no-repeat;
    cursor: pointer;
  }
/* END - Youtube Lazy embed */

/* Lazy Loader Background images */
div.lazy-background {
        display: block;
    }

/* START // DROPDOWN MENU STYLES */
#dropdown li:first-child a { 
  border-left: none; 
}
#dropdown li:last-child a { 
  border-right: none; 
}
#dropdown li:hover > a { 
  color: #8fde62; 
}

#dropdown ul {
    position: absolute;
    top: 50px;
    opacity: 0;
    background: #1f2024;
    text-align: left;
 
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
 
    -webkit-transition: opacity .25s ease .1s;
    -moz-transition: opacity .25s ease .1s;
    -o-transition: opacity .25s ease .1s;
    -ms-transition: opacity .25s ease .1s;
    transition: opacity .25s ease .1s;
}
 
#dropdown li:hover > ul { 
  opacity: 1; 
  margin-top: 5px;
}
 
#dropdown ul li {
    height: 0;
    overflow: hidden;
    padding: 15px;
    display: block;
    -webkit-transition: height .25s ease .1s;
    -moz-transition: height .25s ease .1s;
    -o-transition: height .25s ease .1s;
    -ms-transition: height .25s ease .1s;
    transition: height .25s ease .1s;
}
 
#dropdown li:hover > ul li {
    height: 30px;
    overflow: visible;
}

#dropdown ul li a {
    width: 180px;
    padding: 5px 4px 10px 4px;
    border: none;
    border-bottom: 1px solid #353539;
}
 
#dropdown ul li:last-child a { 
  border: none; 
}

/* END // DROPDOWN MENU STYLES */

.timing-sub {
    position: absolute;
    display: block;
    font-size: 8px;
    text-transform: uppercase;
    right: 150px;
    bottom: 40px;
    letter-spacing: 2px;
    line-height: 12px;
}

.timing-fab {
    background-size: 100%;
    position: absolute;
    background-image: url(/assets/img/rally/faberge-w.png);
    width: 100px;
    height: 21px;
    display: block;
    margin: auto;
    left: -3px;
  }

/* MARCUS ADDED TO MAKE THE BACKGROUND YOUTUBE VID ON HOMEPAGE FULLSCREEN AND AUTO-ADJUST */
.responsiveiframe-container {
  position: relative;
  width: 100vw;
  height: 100vh; /* Full viewport height */
  overflow: hidden;
}

.responsiveiframe-container iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.darkteal {
  background: #4f949c !important;
  color: #fff !important;
}
/* MARCUS ADDED ON 17 JULY 2023 - to make the logos increase in size by 10% on hover // */
.supercarlogo:hover {
  transform: scale(1.1);
}

/* Custom Classes for Portugal Rally Layout // added by marcus on 15th Jan 2025 with assistance of Alice */

/* Flexbox for Cards Layout */
.custom-grid {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.custom-card {
  flex: 1;
  min-width: 300px; /* Ensures responsiveness */
  max-width: 500px;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

/* Backgrounds */
.card-light {
  background: #F5FBFE; /* Light blue for left card */
}

.card-white {
  background: #FFFFFF; /* Clean white for right card */
}

/* Headings */
.card-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: bold;
}

/* Price Styling */
.card-price {
  text-align: center;
  font-size: 1.75rem;
  font-weight: bold;
  margin: 10px 0;
  color: #333;
}

.card-price span {
  font-size: 0.6em;
  font-weight: normal;
  color: #555;
}

/* Descriptions and Features */
.card-description {
  text-align: center;
  font-size: 0.9rem;
  color: #555;
  line-height: 1.5;
}

.card-features {
  list-style: none;
  padding: 0;
  text-align: center;
  margin-top: 20px;
  font-size: 0.9rem;
  color: #555;
}

.card-features li {
  margin-bottom: 15px;
}

/* Buttons */
.custom-button {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 5px;
  text-align: center;
  font-size: 1rem;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.2s ease;
}

.button-green {
  background: #28a745;
  color: #fff;
}

.button-green:hover {
  background: #218838;
  transform: translateY(-2px);
}

.button-blue {
  background: #007BFF;
  color: #fff;
}

.button-blue:hover {
  background: #0056b3;
  transform: translateY(-2px);
}

/* Mobile Responsiveness */
@media (max-width: 767px) {
  .custom-grid {
    flex-direction: column;
    gap: 10px;
  }

  .custom-card {
    margin-bottom: 20px;
  }
}

/* Price Section Fix */
.card-price {
  text-align: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 10px 0;
  color: #333;
  display: flex;
  align-items: baseline; /* Ensures £ aligns with numbers */
  justify-content: center;
  gap: 2px; /* Adds a small space between £ and the number */
}

.card-price .currency {
  font-size: 1.5rem; /* Slightly smaller size for the £ symbol */
  line-height: 1; /* Prevents vertical misalignment */
  font-weight: normal; /* Matches the visual weight */
}

.button-icon {
    display: inline-flex !important; /* Ensures the icon aligns better with text */
    align-items: center !important; /* Centers the icon vertically */
    vertical-align: middle !important; /* Aligns the icon with the text's baseline */
    font-size: 17px !important; /* Matches the font size of the text */
    line-height: 1 !important; /* Prevents extra spacing */
    margin-right: 5px !important; /* Adjust spacing between the icon and the text */
}
