@charset "UTF-8";
/***!  /templates/ja_purity_iv/local/css/custom.css?37bf9f2fc015dd764d8344d2cd6a9ea0  !***/

.t4-topbar {
    display: none;
}
body.dark-active .d-light {
    display: block;
}
.t4-navbar {
    position: absolute;
}
.container-xxl {
   --t4-gutter-x:5px;
}
.headed .socials a:first-child {
    margin-right:12px;
}
.headed {
    min-width:51px;
}
.item-168 .article-body {
    text-align: center;
    display: block;
}
.t4-sticky {
  position: sticky;
  top: 0;
  z-index: 999;
}
.t4-header-r {
    z-index: 99999;;
}
.content h3 {
    color:red;
}
h1,h2,h3 {
    text-transform: uppercase;
    font-size: 1.2rem;
}
.content p {
    color:#000;
}
.category-module > li a:hover, .latestnews > li a:hover, .mostread > li a:hover {
    color:red;
}
#t4-news .item-introtext {
    display: block !important;
}
#t4-news::before {
content: "";
    display: block;
    width: 80px;
    height: 3px;
    background: #e30613;
    margin: 0 auto 25px auto;
    }
img.senna {
    display: block;
    margin-left: auto;
    margin-right: auto;
    position: absolute;
    bottom: 10px;
    left: 0px;
    right: 0px;
    }
.logo-img {
    max-width:175px;
}
.t4-megamenu .navbar-nav > li.active > a, .t4-megamenu .navbar-nav > li.active > .nav-link {
    color:red;
}
.t4-megamenu .navbar-nav > li > a:hover, .t4-megamenu .navbar-nav > li > a:focus, .t4-megamenu .navbar-nav > li > a:active, .t4-megamenu .navbar-nav > li > .nav-link:hover, .t4-megamenu .navbar-nav > li > .nav-link:focus, .t4-megamenu .navbar-nav > li > .nav-link:active {
    color:red;
}
.btn.btn-primary {
    background-color: red;
    border-color: red; 
}
.form-control, .cart-view .inline #userIDcart_chosen .chosen-single {
    max-width: 100%;
    background-color: #f9f9f9 !important;
    border: none;
}
.logo-slider img {
  height: 80px; /* consistent height */
  width: auto;  /* allow variable width */
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
.t4-navbar {
  display: flex;
  justify-content: center;
  width: 100%;
}
.col-12.col-md-3.order-2.order-md-1.mt-5.mt-md-0 {
    display: none;
}
.col-12.col-md-9.order-1.order-md-2 {
    width:100%;
}
.navbar-nav {
  display: flex;
  justify-content: center;
  width: 100%;
}
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Adjust opacity as needed */
  z-index: 1;
}
.video-header {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.hero-video-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.video-header {
    flex: 0 1 auto;
    max-width: 60%;
}

.video-header .bg-video {
    width: 100%;
    height: auto; /* keeps natural proportions */
    display: block;
}

.side-image {
    width: 360px;
    height: auto;
    margin: 50px;
    border-radius:8px;
}
.category-module > li:not(:first-child), .latestnews > li:not(:first-child), .mostread > li:not(:first-child) {
    margin-top:30px;
}
.category-module > li, .latestnews > li, .mostread > li {
    float:left;
    margin:30px;
}

/* Hide side images on mobile */
@media (max-width: 992px) {
    .hero-video-row {
        flex-direction: column;
    }

    .side-image {
        display: none;
    }

    .video-header {
        max-width: 100%;
    }
}
.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
@media (min-width: 1000px) {
.bg-video {
  position: absolute;
  top: 0;
  left: auto;
  width: auto!important;
  height: 100%;
  z-index: 0;
}
}
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Adjust darkness here */
  z-index: 1;
}

.header-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
}

.header-content h1 {
  font-size: 3em;
  margin-bottom: 0.5em;
}

.header-content p {
  font-size: 1.5em;

}
#t4-video::after {
    clear:both;
}
.video-header {
  position: relative;
  height: 100vh;
  z-index: 1;
  margin-top:-110px;
}

#t4-main-body {
  position: relative;
  z-index: 2;
}

p.image-category {
    display:none;
}



ul, ol {
  padding-left: 20px;
  font-size: 1.05rem;
  line-height: 1.6;
}

li {
  margin-bottom: 10px;
}

/* Call-to-action */
.cta {
  margin-top: 40px;
  text-align: center;
}

.cta p {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 15px;
}
a {
    color:#c8102e;
}
/* Button */
.btn {
  display: inline-block;
  padding: 12px 28px;
  background-color: #c8102e;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 6px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn:hover {
  background-color: #a60d24;
  transform: translateY(-2px);
}
.contact-page {
  display: flex;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 60px auto;
  padding: 20px;
  gap: 40px;
}

.contact-info, .contact-form-container {
  flex: 1 1 400px;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.contact-info h2,
.contact-form-container h2 {
  margin-bottom: 20px;
  color: #333;
}

.contact-info p {
  margin: 10px 0;
  color: #555;
}
.contact-form-container p {
    color:#333;
}
.contact-form input,
.contact-form textarea {
  color: #333333; /* Dark grey text */
}
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  color: #333 !important;
}

.contact-info a {
  color: red;
  text-decoration: none;
}

.contact-info .socials a {
  display: inline-block;
  margin-right: 15px;
  margin-top: 10px;
  color: red;
  font-weight: 500;
}
.contact-info {
  flex: 0 0 250px; /* Shrinks the box to 250px width */
  max-width: 250px;
  padding: 20px;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.contact-form-container {
  flex: 1;
  padding: 20px;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}
.logo-slider1-wrappers {
  overflow: hidden;
  background: #fff;
  padding: 20px 0;
}
#triggerButton {
    background: none;;
}
.logo-slider-tracks {
  display: flex;
  width: max-content;
  animation: scroll 20s linear infinite;
}

.logo-slide {
  flex: 0 0 auto;
  width: 200px; /* Adjust based on logo size */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
}

.logo-slide img {
  max-width: 100%;
  height: auto;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.logo-slide img:hover {
  filter: grayscale(0%);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.t4-offcanvas .t4-off-canvas-body .navbar .nav-item.active > .nav-link, .t4-offcanvas .t4-off-canvas-body .navbar .nav-item.active > .separator {
    color:red;
}
  .countdown-container {
    text-align: center;
    color: #fff;
    background: #111;
    padding: 20px;
    border-radius: 10px;
  }
  .countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
  }
 
  .countdown span {
    font-size: 2.5rem;
    display: block;
  }
  .countdown small {
    font-size: 0.9rem;
    color: #aaa;
  }
.countdown {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.countdown div {
  background: #222;
  padding: 20px;
  border-radius: 10px;
  min-width: 80px;
  flex: 1 1 60px; /* allows shrinking and wrapping */
  text-align: center;
}

@media (max-width: 600px) {
  .countdown span {
    font-size: 2rem;
  }

  .countdown small {
    font-size: 0.8rem;
  }
}
@media (max-width: 800px) {
.contact-info {
  flex: 0 0 100%; /* Shrinks the box to 250px width */
  max-width: 100%;
  padding: 20px;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  min-height:340px;
}
}
.btn:first-child:active {
    border-color: red;
    background-color: red;
}
a:hover {
    color:#fff;
}
.rsform-block-send .formControls {
    float:right;
}
.timeline-zigzag {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 0;
}
.timeline-item {
  position: relative;
  width: 50%;
  padding: 1rem;
  box-sizing: border-box;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease-out;
}
.timeline-item.visible {
  opacity: 1;
  transform: translateY(0);
}
.timeline-item.left {
  left: 0;
  text-align: right;
}
.timeline-item.right {
  left: 50%;
  text-align: left;
}
.timeline-item .content {
  background: #f4f4f4;
  padding: 1rem;
  border-radius: 4px;
  border-top: 4px solid #e60000;
}
.timeline-zigzag::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: #e60000;
  transform: translateX(-50%);
}
#t4-intro {
  background: #000; /* deep black to match site feel */
  color: #f5f5f5;
  padding: 60px 0;
}

#t4-intro .t4-section-inner {
  max-width: 900px;
  margin: 0 auto;
}

#t4-intro .custom p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.2rem;
  color: #e0e0e0;
}

#t4-intro .custom p:first-of-type {
  font-size: 1.15rem;
  font-weight: 500;
}

#t4-intro .custom strong {
  color: #e30613; /* racing red accent */
  font-weight: 700;
}

/* Optional subtle divider at the top */
#t4-intro::before {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: #e30613;
  margin: 0 auto 25px auto;
}
.module-title {
    text-align: center;
}
#Mod209 .module-title {
    font-size: 1.2rem;
}
@media (max-width: 768px) {
  .timeline-zigzag {
    display: block;
  }

  .timeline-item {
    width: 100%;
    max-width: 100%;
    margin: 0 auto 2rem auto;
    position: relative;
    left: 0;
    right: 0;
    text-align: center; /* optional but usually desired */
  }

  /* Remove zig-zag alignment */
  .timeline-item.left,
  .timeline-item.right {
    float: none;
    clear: both;
            left: auto;
        right: auto;
  }

  .timeline-item .content {
    width: 100%;
    padding: 1rem;
    box-sizing: border-box;
  }

  .timeline-item img {
    width: 100%;
    height: auto;
  }
}
/* Make each news item a vertical flex container */
#t4-news .item {
    display: flex;
    flex-direction: column;
}

/* Force image to appear first */
#t4-news .item-media {
    order: 1;
    margin-bottom: 12px;
    width: 200px;
    height: 150px;
}

/* Force title + text to appear after image */
#t4-news .item-body {
    order: 2;
}
.category-module > li .item-media img, .latestnews > li .item-media img, .mostread > li .item-media img {
    border-radius: 0.25rem;
    max-width: 200px;
    max-height: 100%;
}
/* Force portrait crop for news images */
#t4-news .item-media {
    width: 100%;
    aspect-ratio: 3 / 4; /* portrait ratio */
    overflow: hidden;
    border-radius: 10px; /* optional, looks cleaner */
}

#t4-news .item-media img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* crops image to fill portrait box */
    object-position: center;
    display: block;
}
.category-module {
    margin: 0 auto;
    max-width: 242px;
}
.blog-list .item-title a:hover, .blog-list .item-title a:focus, .blog-list .item-title a:active {
    color:red;
}
/* Force portrait crop for all blog images */
#Mod210 .item-image {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4; /* Portrait ratio */
    overflow: hidden;
    border-radius: 10px; /* Optional but looks cleaner */
}

#Mod210 .item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;      /* Crops the image */
    object-position: center; /* Keeps the subject centered */
    display: block;
}
li.blog-item {
    margin: 0 auto;
}
#t4-counter {
    margin-top:50px;
}
#t4-intro {
    position: relative;
    z-index: 1;
}
#t4-intro::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('https://sennaracing.co.uk/images/bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.2; /* adjust fade */
    z-index: -1;  /* keep it behind content */
    height: 100%;
    width: 100%;
}
.polaroid {
    background: #fff;
    padding: 15px 15px 25px;
    border-radius: 4px;
    box-shadow: 0 8px 18px rgba(0,0,0,0.15);
    text-align: center;
    width: fit-content;
    margin: 0 auto 40px;
    transform: rotate(-1.5deg);
    transition: transform 0.2s ease;
}

/* Slight hover lift */
.polaroid:hover {
    transform: rotate(0deg) translateY(-4px);
}

/* Image styling */
.polaroid-img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 12px;
    border-radius: 2px;
}

/* Caption text */
.polaroid h3 {
    font-size: 1.2rem;
    margin: 10px 0 5px;
    font-weight: 600;
}

.polaroid p {
    margin: 0;
    font-size: 0.95rem;
}

/* Optional: alternate tilt for zigzag effect */
.timeline-item.left .polaroid {
    transform: rotate(-2deg);
}

.timeline-item.right .polaroid {
    transform: rotate(2deg);
}
@media (min-width: 1000px) {
li.blog-item {
    width:20%;
}
}
.hero-video,
.hero-video .video-header {
  position: relative;
  width: 100%;
  height: 100vh; /* Full screen height */
  overflow: hidden;
}

/* Make the video fill the entire hero area */
.hero-video .bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

/* Optional dark overlay */
.hero-video .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.3); /* adjust darkness */
  z-index: 2;
}

/* Content sits above video + overlay */
.hero-video .header-content {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 2rem;
}
/* Wrapper controls full-width + full-height */
.hero-video-wrapper,
.hero-video-header {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* Fullscreen background video */
.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

/* Dark overlay */
.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.28);
  z-index: 2;
}

/* Content above everything */
.hero-video-content {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  color: #fff;
}
@media (max-width: 768px) {
.hero-video-wrapper, .hero-video-header {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    min-height: 240px;
 }
 }
 .item-177 .contact-info a:hover {
    color:#000;
 }
