/*!
Theme Name: Rider Map
Theme URI: https://www.mapleleapgroups.com/
Author: Maple Leap Groups
Author URI: https://www.mapleleapgroups.com/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: rider-map
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

rider-map is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

.gt-footer-content iframe{
	width: 100%;
	height: 240px;
	border: 0;
}

.gt-about-text p{
	padding-bottom: 30px;
}

.timeline-wrap {
  width: 100%;
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 15px;
  overflow: hidden;
}

.timeline-rail {
  position: relative;
  padding: 80px 0;
}

.timeline-rail::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 3px;
  background: #e6eefc;
  transform: translateY(-50%);
  border-radius: 3px;
  z-index: 0;
}

.swiper {
  overflow: visible;
}

.swiper-wrapper {
  display: flex;
  flex-wrap: nowrap;
}

.swiper-slide {
  flex: 0 0 auto;
  width: 280px;
  display: flex;
  justify-content: center;
  padding: 10px 5px;
}

.timeline-item {
  position: relative;
  width: 100%;
  max-width: 240px;
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 6px 16px rgba(2, 6, 23, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.05);
  text-align: center;
  transform: translateY(0);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.timeline-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(35, 194, 231, 0.25);
}

.timeline-circle {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #23c2e7;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  box-shadow: 0 6px 16px rgba(35, 194, 231, 0.25);
}

.timeline-content h3 {
  margin: 0 0 6px;
  font-size: 15px;
  color: #23c2e7;
}

.timeline-content p {
  margin: 0;
  font-size: 13px;
  color: #1D1D1D;
  line-height: 1.5;
  height: 78px;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #23c2e7;
  box-shadow: 0 0 0 4px rgba(35, 194, 231, 0.25);
}

.slide-top .timeline-item {
  transform: translateY(calc(-45% - 40px/2));
}

.slide-bottom .timeline-item {
  transform: translateY(calc(45% + 40px/2));
}

.slide-top .timeline-dot {
  top: calc(100% - 6px);
}

.slide-bottom .timeline-dot {
  bottom: calc(100% - 6px);
}

/* Responsive */
@media (max-width: 992px) {
  .swiper-slide {
    width: 240px;
  }

  .timeline-item {
    max-width: 220px;
  }
}

@media (max-width: 768px) {
  .swiper-slide {
    width: 100%;
    justify-content: flex-start;
  }

  .timeline-item {
    max-width: 100%;
    margin-left: 60px;
    transform: none !important;
  }

  .timeline-rail::before {
    display: none;
  }

  .timeline-dot {
    display: none;
  }
}

@media (max-width: 480px) {
  .timeline-item {
    padding: 14px;
  }

  .timeline-circle {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }

  .timeline-content h3 {
    font-size: 14px;
  }

  .timeline-content p {
    font-size: 12px;
  }
}
