:root {
  --color-primary: #7a1919;
  --color-secondary: #ff9b25;
  --color-red: #ff7878;
  --bg-green: #f9fdf9;
}

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: "Montserrat", sans-serif;
  color: #444444;
}

a {
  color: #000;
  text-decoration: none;
}

a:hover {
  color: var(--color-primary);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: hidden;
  background: #fff;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid var(--color-primary);
  border-top-color: #d1e6f9;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: #1977cc;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 28px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: #298ce5;
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

.datepicker-dropdown {
  padding: 20px !important;
}

/*--------------------------------------------------------------
# Top Bar
--------------------------------------------------------------*/
#topbar {
  background: #7a1919;
  color: #fff;
  height: 40px;
  font-size: 14px;
  transition: all 0.5s;
  z-index: 996;
}

#topbar .container-fluid {
  padding-left: 0;
  padding-right: 7.5rem;
}

#topbar.topbar-scrolled {
  top: -40px;
}

#topbar .contact-info {
  background-color: var(--color-secondary);
  padding: 10px;
}

#topbar .contact-info a {
  line-height: 1;
  color: var(--color-primary);
  transition: 0.3s;
}

#topbar .contact-info a:hover {
  color: #be1e1e;
}

#topbar .contact-info i {
  color: var(--color-primary);
  padding-right: 4px;
  margin-left: 15px;
  line-height: 0;
}

#topbar .contact-info i:first-child {
  margin-left: 0;
}

#topbar .social-links a {
  color: #437099;
  padding-left: 15px;
  display: inline-block;
  line-height: 1px;
  transition: 0.3s;
}

#topbar .social-links a:hover {
  color: #1977cc;
}

#topbar .social-links a:first-child {
  border-left: 0;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  background: #fff;
  transition: all 0.5s;
  z-index: 997;
  padding: 15px 0;
  top: 40px;
  box-shadow: 0px 2px 15px rgba(25, 119, 204, 0.1);
}

#header.header-scrolled {
  top: 0;
}

#header .logo {
  font-size: 30px;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.5px;
  font-family: "Montserrat", sans-serif;
}

#header .logo a {
  color: #2c4964;
}

#header .logo img {
  max-height: 40px;
}

/**
* Appointment Button *
*/
.appointment-btn {
  margin-left: 25px;
  background: #be1e1e;
  color: #fff;
  border-radius: 4px;
  padding: 8px 25px;
  white-space: nowrap;
  transition: 0.3s;
  font-size: 14px;
  display: inline-block;
}

.appointment-btn:hover {
  background: var(--color-primary);
  color: #fff;
}

@media (max-width: 768px) {
  .appointment-btn {
    margin: 0 15px 0 0;
    padding: 6px 18px;
  }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation 
*/
.navbar {
  padding: 0;
}

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

.navbar li {
  position: relative;
}

.navbar > ul > li {
  position: relative;
  white-space: nowrap;
  padding: 8px 0 8px 20px;
}

.navbar a,
.navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: #ff9b25;
  white-space: nowrap;
  transition: 0.3s;
  border-bottom: 2px solid #fff;
  padding: 5px 2px;
}

.navbar a i,
.navbar a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover > a {
  color: #d28023;
  /* border-color: #FF9B25; */
}

.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 20px;
  top: calc(100% + 30px);
  margin: 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;
}

.navbar .dropdown ul li {
  min-width: 200px;
}

.navbar .dropdown ul a {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
  color: #000;
  border: none;
}

.navbar .dropdown ul a i {
  font-size: 12px;
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul .active:hover,
.navbar .dropdown ul li:hover > a {
  color: var(--color-primary);
}

.navbar .dropdown:hover > ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.navbar .dropdown .dropdown ul {
  top: 0;
  left: calc(100% - 30px);
  visibility: hidden;
}

.navbar .dropdown .dropdown:hover > ul {
  opacity: 1;
  top: 0;
  left: 100%;
  visibility: visible;
}

@media (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }

  .navbar .dropdown .dropdown:hover > ul {
    left: -100%;
  }
}

/**
* Mobile Navigation 
*/
.mobile-nav-toggle {
  color: #2c4964;
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}

.mobile-nav-toggle.bi-x {
  color: #fff;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }

  .navbar ul {
    display: none;
  }
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(122, 25, 25, 0.8);
  transition: 0.3s;
  z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
}

.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 10px 0;
  background-color: #fff;
  overflow-y: auto;
  transition: 0.3s;
}

.navbar-mobile > ul > li {
  padding: 0;
}

.navbar-mobile a,
.navbar-mobile a:focus {
  padding: 10px 20px;
  font-size: 15px;
  color: #2c4964;
  border: none;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover > a {
  color: var(--color-primary);
}

.navbar-mobile .getstarted,
.navbar-mobile .getstarted:focus {
  margin: 15px;
}

.navbar-mobile .dropdown ul {
  position: static;
  display: none;
  margin: 10px 20px;
  padding: 10px 0;
  z-index: 99;
  opacity: 1;
  visibility: visible;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
}

.navbar-mobile .dropdown ul li {
  min-width: 200px;
}

.navbar-mobile .dropdown ul a {
  padding: 10px 20px;
}

.navbar-mobile .dropdown ul a i {
  font-size: 12px;
}

.navbar-mobile .dropdown ul a:hover,
.navbar-mobile .dropdown ul .active:hover,
.navbar-mobile .dropdown ul li:hover > a {
  color: var(--color-primary);
}

.navbar-mobile .dropdown > .dropdown-active {
  display: block;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  /*background-color: var(--bg-green);*/
  height: 100vh;
  margin-bottom: 0px;
  z-index: -999;
}

.hero {
  background-image: url('../img/background/home.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right;
}

.hero-image {
  position: absolute;
  top: 4rem;
  left: -12rem;
  height: 40vw;
  /* z-index: -1; */
}

.carousel {
  padding-top: 0;
}
.hero-text {
  margin-top: 7rem;
  z-index: 10;
}
#hero .container {
  position: relative;
}

#hero h1 {
  margin: 4rem 0 0 0;
  font-size: 48pt;
  font-weight: 700;
  line-height: 70pt;
  text-transform: uppercase;
  color: #363636;
}

#hero h2 {
  color: #363636;
  margin: 10px 0 0 0;
  font-size: 24px;
}

#hero .btn-get-started {
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 35px;
  margin-top: 30px;
  border-radius: 4px;
  transition: 0.5s;
  color: #fff;
  background: var(--color-primary);
}

#hero .btn-get-started:hover {
  background: #be1e1e;
}

#hero .btn-get-turnament {
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 35px;
  margin-top: 30px;
  border-radius: 4px;
  transition: 0.5s;
  color: #ffffff;
  background: #545454;
}

#hero .btn-get-turnament:hover {
  color: #545454;
  background: #FFD563;
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 60px 0;
  overflow: hidden;
}

.section-bg {
  background-color: #f1f7fd;
}

.section-title {
  text-align: center;
  padding-bottom: 30px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  color: #2c4964;
}

.section-title h2::before {
  content: "";
  position: absolute;
  display: block;
  width: 120px;
  height: 1px;
  background: #ddd;
  bottom: 1px;
  left: calc(50% - 60px);
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 40px;
  height: 3px;
  background: #1977cc;
  bottom: 0;
  left: calc(50% - 20px);
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
  padding: 20px 0;
  background-color: #f1f7fd;
  min-height: 40px;
  margin-top: 120px;
}

@media (max-width: 992px) {
  .breadcrumbs {
    margin-top: 100px;
  }
}

.breadcrumbs h2 {
  font-size: 24px;
  font-weight: 300;
  margin: 0;
}

@media (max-width: 992px) {
  .breadcrumbs h2 {
    margin: 0 0 10px 0;
  }
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
}

.breadcrumbs ol li + li {
  padding-left: 10px;
}

.breadcrumbs ol li + li::before {
  display: inline-block;
  padding-right: 10px;
  color: #6c757d;
  content: "/";
}

@media (max-width: 768px) {
  .breadcrumbs .d-flex {
    display: block !important;
  }

  .breadcrumbs ol {
    display: block;
  }

  .breadcrumbs ol li {
    display: inline-block;
  }
}

/*--------------------------------------------------------------
# Why Us
--------------------------------------------------------------*/
.why-us .content {
  padding: 30px;
  background: #1977cc;
  border-radius: 4px;
  color: #fff;
}

.why-us .content h3 {
  font-weight: 700;
  font-size: 34px;
  margin-bottom: 30px;
}

.why-us .content p {
  margin-bottom: 30px;
}

.why-us .content .more-btn {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 6px 30px 8px 30px;
  color: #fff;
  border-radius: 50px;
  transition: all ease-in-out 0.4s;
}

.why-us .content .more-btn i {
  font-size: 14px;
}

.why-us .content .more-btn:hover {
  color: #1977cc;
  background: #fff;
}

.why-us .icon-boxes .icon-box {
  text-align: center;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  padding: 40px 30px;
  width: 100%;
}

.why-us .icon-boxes .icon-box i {
  font-size: 40px;
  color: #1977cc;
  margin-bottom: 30px;
}

.why-us .icon-boxes .icon-box h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 30px 0;
}

.why-us .icon-boxes .icon-box p {
  font-size: 15px;
  color: #848484;
}

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.about .icon-boxes h4 {
  font-size: 18px;
  color: #4b7dab;
  margin-bottom: 15px;
}

.about .icon-boxes h3 {
  font-size: 28px;
  font-weight: 700;
  color: #2c4964;
  margin-bottom: 15px;
}

.about .icon-box {
  margin-top: 40px;
}

.about .icon-box .icon {
  float: left;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border: 2px solid #8dc2f1;
  border-radius: 50px;
  transition: 0.5s;
}

.about .icon-box .icon i {
  color: #1977cc;
  font-size: 32px;
}

.about .icon-box:hover .icon {
  background: #1977cc;
  border-color: #1977cc;
}

.about .icon-box:hover .icon i {
  color: #fff;
}

.about .icon-box .title {
  margin-left: 85px;
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 18px;
}

.about .icon-box .title a {
  color: #343a40;
  transition: 0.3s;
}

.about .icon-box .title a:hover {
  color: #1977cc;
}

.about .icon-box .description {
  margin-left: 85px;
  line-height: 24px;
  font-size: 14px;
}

.about .video-box {
  background: url("../img/img1.png") center center no-repeat;
  background-size: cover;
  min-height: 500px;
}

.about .play-btn {
  width: 94px;
  height: 94px;
  background: radial-gradient(#1977cc 50%, rgba(25, 119, 204, 0.4) 52%);
  border-radius: 50%;
  display: block;
  position: absolute;
  left: calc(50% - 47px);
  top: calc(50% - 47px);
  overflow: hidden;
}

.about .play-btn::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 100;
  transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.about .play-btn::before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  animation-delay: 0s;
  animation: pulsate-btn 2s;
  animation-direction: forwards;
  animation-iteration-count: infinite;
  animation-timing-function: steps;
  opacity: 1;
  border-radius: 50%;
  border: 5px solid rgba(25, 119, 204, 0.7);
  top: -15%;
  left: -15%;
  background: rgba(198, 16, 0, 0);
}

.about .play-btn:hover::after {
  border-left: 15px solid #1977cc;
  transform: scale(20);
}

.about .play-btn:hover::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border: none;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 200;
  animation: none;
  border-radius: 0;
}

@keyframes pulsate-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }

  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}

/*--------------------------------------------------------------
# Counts
--------------------------------------------------------------*/
.counts {
  background: #f1f7fd;
  padding: 70px 0 60px;
}

.counts .count-box {
  padding: 30px 30px 25px 30px;
  width: 100%;
  position: relative;
  text-align: center;
  background: #fff;
}

.counts .count-box i {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 20px;
  background: #1977cc;
  color: #fff;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
}

.counts .count-box span {
  font-size: 36px;
  display: block;
  font-weight: 600;
  color: #082744;
}

.counts .count-box p {
  padding: 0;
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.services .icon-box {
  text-align: center;
  border: 1px solid #d5e1ed;
  padding: 80px 20px;
  transition: all ease-in-out 0.3s;
}

.services .icon-box .icon {
  margin: 0 auto;
  width: 64px;
  height: 64px;
  background: #1977cc;
  border-radius: 5px;
  transition: all 0.3s ease-out 0s;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transform-style: preserve-3d;
  position: relative;
  z-index: 2;
}

.services .icon-box .icon i {
  color: #fff;
  font-size: 28px;
  transition: ease-in-out 0.3s;
}

.services .icon-box .icon::before {
  position: absolute;
  content: "";
  left: -8px;
  top: -8px;
  height: 100%;
  width: 100%;
  background: rgba(25, 119, 204, 0.2);
  border-radius: 5px;
  transition: all 0.3s ease-out 0s;
  transform: translateZ(-1px);
  z-index: -1;
}

.services .icon-box h4 {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 24px;
}

.services .icon-box h4 a {
  color: #2c4964;
}

.services .icon-box p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.services .icon-box:hover {
  background: #1977cc;
  border-color: #1977cc;
}

.services .icon-box:hover .icon {
  background: #fff;
}

.services .icon-box:hover .icon i {
  color: #1977cc;
}

.services .icon-box:hover .icon::before {
  background: rgba(255, 255, 255, 0.3);
}

.services .icon-box:hover h4 a,
.services .icon-box:hover p {
  color: #fff;
}

/*--------------------------------------------------------------
# Appointments
--------------------------------------------------------------*/
.appointment .php-email-form {
  width: 100%;
}

.appointment .php-email-form .form-group {
  padding-bottom: 8px;
}

.appointment .php-email-form .validate {
  display: none;
  color: red;
  margin: 0 0 15px 0;
  font-weight: 400;
  font-size: 13px;
}

.appointment .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.appointment .php-email-form .error-message br + br {
  margin-top: 25px;
}

.appointment .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.appointment .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

.appointment .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  animation: animate-loading 1s linear infinite;
}

.appointment .php-email-form input,
.appointment .php-email-form textarea,
.appointment .php-email-form select {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  padding: 10px !important;
}

.appointment .php-email-form input:focus,
.appointment .php-email-form textarea:focus,
.appointment .php-email-form select:focus {
  border-color: #1977cc;
}

.appointment .php-email-form input,
.appointment .php-email-form select {
  height: 44px;
}

.appointment .php-email-form textarea {
  padding: 10px 12px;
}

.appointment .php-email-form button[type="submit"] {
  background: #1977cc;
  border: 0;
  padding: 10px 35px;
  color: #fff;
  transition: 0.4s;
  border-radius: 50px;
}

.appointment .php-email-form button[type="submit"]:hover {
  background: #1c84e3;
}

/*--------------------------------------------------------------
# Departments
--------------------------------------------------------------*/
.departments {
  overflow: hidden;
}

.departments .nav-tabs {
  border: 0;
}

.departments .nav-link {
  border: 0;
  padding: 12px 15px 12px 0;
  transition: 0.3s;
  color: #2c4964;
  border-radius: 0;
  border-right: 2px solid #ebf1f6;
  font-weight: 600;
  font-size: 15px;
}

.departments .nav-link:hover {
  color: #1977cc;
}

.departments .nav-link.active {
  color: #1977cc;
  border-color: #1977cc;
}

.departments .tab-pane.active {
  animation: fadeIn 0.5s ease-out;
}

.departments .details h3 {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #2c4964;
}

.departments .details p {
  color: #777777;
}

.departments .details p:last-child {
  margin-bottom: 0;
}

@media (max-width: 992px) {
  .departments .nav-link {
    border: 0;
    padding: 15px;
  }

  .departments .nav-link.active {
    color: #fff;
    background: #1977cc;
  }
}

/*--------------------------------------------------------------
# Doctors
--------------------------------------------------------------*/
.doctors {
  background: #fff;
}

.doctors .member {
  position: relative;
  box-shadow: 0px 2px 15px rgba(44, 73, 100, 0.08);
  padding: 30px;
  border-radius: 10px;
}

.doctors .member .pic {
  overflow: hidden;
  width: 180px;
  border-radius: 50%;
}

.doctors .member .pic img {
  transition: ease-in-out 0.3s;
}

.doctors .member:hover img {
  transform: scale(1.1);
}

.doctors .member .member-info {
  padding-left: 30px;
}

.doctors .member h4 {
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 20px;
  color: #2c4964;
}

.doctors .member span {
  display: block;
  font-size: 15px;
  padding-bottom: 10px;
  position: relative;
  font-weight: 500;
}

.doctors .member span::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 1px;
  background: #b2c8dd;
  bottom: 0;
  left: 0;
}

.doctors .member p {
  margin: 10px 0 0 0;
  font-size: 14px;
}

.doctors .member .social {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.doctors .member .social a {
  transition: ease-in-out 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  width: 32px;
  height: 32px;
  background: #a0bcd5;
}

.doctors .member .social a i {
  color: #fff;
  font-size: 16px;
  margin: 0 2px;
}

.doctors .member .social a:hover {
  background: #1977cc;
}

.doctors .member .social a + a {
  margin-left: 8px;
}

/*--------------------------------------------------------------
# Frequently Asked Questions
--------------------------------------------------------------*/
.faq .faq-list {
  padding: 0 100px;
}

.faq .faq-list ul {
  padding: 0;
  list-style: none;
}

.faq .faq-list li + li {
  margin-top: 15px;
}

.faq .faq-list li {
  padding: 20px;
  background: #fff;
  border-radius: 4px;
  position: relative;
}

.faq .faq-list a {
  display: block;
  position: relative;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  padding: 0 30px;
  outline: none;
  cursor: pointer;
}

.faq .faq-list .icon-help {
  font-size: 24px;
  position: absolute;
  right: 0;
  left: 20px;
  color: #76b5ee;
}

.faq .faq-list .icon-show,
.faq .faq-list .icon-close {
  font-size: 24px;
  position: absolute;
  right: 0;
  top: 0;
}

.faq .faq-list p {
  margin-bottom: 0;
  padding: 10px 0 0 0;
}

.faq .faq-list .icon-show {
  display: none;
}

.faq .faq-list a.collapsed {
  color: #343a40;
}

.faq .faq-list a.collapsed:hover {
  color: #1977cc;
}

.faq .faq-list a.collapsed .icon-show {
  display: inline-block;
}

.faq .faq-list a.collapsed .icon-close {
  display: none;
}

@media (max-width: 1200px) {
  .faq .faq-list {
    padding: 0;
  }
}

/*--------------------------------------------------------------
# Testimonials
--------------------------------------------------------------*/
.testimonials .testimonial-wrap {
  padding-left: 50px;
}

.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  box-sizing: content-box;
  padding: 30px 30px 30px 60px;
  margin: 30px 15px;
  min-height: 200px;
  box-shadow: 0px 2px 12px rgba(44, 73, 100, 0.08);
  position: relative;
  background: #fff;
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 10px;
  border: 6px solid #fff;
  position: absolute;
  left: -45px;
}

.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 0;
  color: #111;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: #999;
  margin: 0;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: #badaf7;
  font-size: 26px;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 15px auto 15px auto;
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid #1977cc;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #1977cc;
}

@media (max-width: 767px) {
  .testimonials .testimonial-wrap {
    padding-left: 0;
  }

  .testimonials .testimonials-carousel,
  .testimonials .testimonials-slider {
    overflow: hidden;
  }

  .testimonials .testimonial-item {
    padding: 30px;
    margin: 15px;
  }

  .testimonials .testimonial-item .testimonial-img {
    position: static;
    left: auto;
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  color: #fff;
  font-size: 14px;
  background: #ff9b25;
}

#footer .footer-top {
  margin-top: 100px;
  padding: 60px 0 30px 0;
  background: var(--bg-green);
  box-shadow: 0px 2px 15px rgba(25, 119, 204, 0.1);
}

#footer .footer-top .footer-contact {
  margin-bottom: 30px;
}

#footer .footer-top .footer-contact h4 {
  font-size: 22px;
  margin: 0 0 30px 0;
  padding: 2px 0 2px 0;
  line-height: 1;
  font-weight: 700;
}

#footer .footer-top .footer-contact p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
  font-family: "Montserrat", sans-serif;
  color: #777777;
}

#footer .footer-top h4 {
  font-size: 16px;
  font-weight: bold;
  color: #444444;
  position: relative;
  padding-bottom: 12px;
}

#footer .footer-top .footer-links {
  margin-bottom: 30px;
}

/* Custom */
#footer .footer-support {
  padding-left: 10rem;
}

.img-support {
  height: 50px;
}

.dropdown a {
  pointer-events: none;
}

.dropdown-links {
  pointer-events: auto !important;
}

.misi {
  margin-top: 30px;
}

.misi ol li {
  margin-bottom: 2rem !important;
}

tbody,
td,
tfoot,
th,
thead,
tr {
  border-style: none !important;
}

.result {
  margin: 5rem 0 10rem 0;
}

.table {
  margin-bottom: 0;
}

.register-mobile {
  display: none;
}

.search {
  padding: 60px 0 30px 0;
}

.border-none {
  border: none;
}

.bg-secondary {
  background-color: #f9fdf9 !important;
}

.text-red {
  color: var(--color-primary) !important;
}

.match-date {
  margin-bottom: 0rem;
  font-size: 10pt;
}

.card-match {
  border: none;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.card-match .card-header {
  border: none;
  color: white;
  background-color: #7a1919;
}

.card-news {
  border: none;
}

.card-item {
  background-color: var(--bg-green);
  color: #000;
}

.card-description {
  font-size: 10pt;
  margin-bottom: 0.5rem;
}

.card-small {
  font-size: 9pt;
  margin-bottom: 0;
}

.card-img-top {
  height: 280px;
  object-fit: cover;
  position: center;
}

.card-coach {
  border: none;
}

.card-coach .card-body {
  color: white;
  background-color: #7a1919;
}

.img-checkout {
  height: 125 px;
  object-fit: cover;
  border-radius: 5px;
}

.img-headline {
  width: 100%;
  height: 70vh;
  object-fit: cover;
}

.img-sejarah {
  width: 100%;
  height: 70vh;
  object-fit: cover;
  object-position: top;
}

.img-other {
  width: 100%;
  height: 90px;
  object-fit: cover;
}

.img-match {
  width: 50px;
}

.img-thumb {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.title {
  font-weight: bold;
  font-size: 48px;
}

.subtitle {
  padding: 0.8rem 0;
  margin: 1rem 0;
  font-size: 9pt;
  border-top: 1.5px solid var(--color-secondary); /* Ganti dengan warna yang diinginkan */
  border-bottom: 1.5px solid var(--color-secondary);
}

.details-caption {
  font-size: 9pt;
}

.deskripsi {
  font-size: 10pt !important;
}

.social-media {
  border-radius: 4px;
  padding: 2rem 5rem;
  color: #fff;
  background-color: #7a1919;
  margin-top: -149px;
  margin-bottom: 3rem;
}

.text-primary {
  color: var(--color-secondary) !important;
}

.text-red-2 {
  color: var(--color-red);
}

.btn-outline-primary {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-outline-primary:active {
  border-color: var(--color-primary) !important;
  background-color: var(--color-primary) !important;
  color: #fff !important;
}

.btn-primary:active {
  border-color: var(--color-primary) !important;
  background-color: var(--color-primary) !important;
}

.btn-outline-primary:hover {
  border-color: var(--color-primary);
  background-color: var(--color-primary);
  color: #fff;
}

.btn-primary {
  background-color: #be1e1e;
  border-color: #be1e1e;
}

.btn-primary:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.contact p {
  font-size: 8pt;
}

.hero-sejarah {
  margin-top: 7rem;
  margin-bottom: -170px;
}

.title {
  padding-bottom: 15px;
}

.title-field {
  box-shadow: 0 4px 10px 0 rgba(85, 174, 88, 0.25);
  padding: 2rem 5rem 1rem 5rem;
  color: var(--color-secondary);
  background-color: #f9fdf9 !important;
}

.hero-fixed-top {
  color: #fff;
  width: 100vw;
  padding-top: 38vh;
  height: 80vh;
}

.visimisi {
  background: linear-gradient(
      to right,
      rgba(255, 0, 0, 0.8),
      rgba(255, 255, 255, 0)
    ),
    url(../img/background/visimisi.png);
  background-repeat: no-repeat;
  background-size: cover;
}

.struktur {
  background: linear-gradient(
      to right,
      rgba(255, 0, 0, 0.8),
      rgba(255, 255, 255, 0)
    ),
    url(../img/background/struktur.png);
  background-repeat: no-repeat;
  background-size: cover;
}

.prestasi {
  background: linear-gradient(
      to right,
      rgba(255, 0, 0, 0.8),
      rgba(255, 255, 255, 0)
    ),
    url(../img/background/prestasi.png);
  background-repeat: no-repeat;
  background-size: cover;
}

.coach {
  background: linear-gradient(
      to right,
      rgba(255, 0, 0, 0.8),
      rgba(255, 255, 255, 0)
    ),
    url(../img/background/coach.png);
  background-repeat: no-repeat;
  background-size: cover;
}

.fasilitas {
  background: linear-gradient(
      to right,
      rgba(255, 0, 0, 0.8),
      rgba(255, 255, 255, 0)
    ),
    url(../img/background/fasilitas.png);
  background-repeat: no-repeat;
  background-size: cover;
}

.legalitas {
  background: linear-gradient(
      to right,
      rgba(255, 0, 0, 0.8),
      rgba(255, 255, 255, 0)
    ),
    url(../img/background/legalitas.png);
  background-repeat: no-repeat;
  background-size: cover;
}

.ku6 {
  background: linear-gradient(
      to right,
      rgba(255, 0, 0, 0.8),
      rgba(255, 255, 255, 0)
    ),
    url(../img/background/1.png);
  background-repeat: no-repeat;
  background-size: cover;
}

.ku9 {
  background: linear-gradient(
      to right,
      rgba(255, 0, 0, 0.8),
      rgba(255, 255, 255, 0)
    ),
    url(../img/background/2.png);
  background-repeat: no-repeat;
  background-size: cover;
}

.ku11 {
  background: linear-gradient(
      to right,
      rgba(255, 0, 0, 0.8),
      rgba(255, 255, 255, 0)
    ),
    url(../img/background/3.png);
  background-repeat: no-repeat;
  background-size: cover;
}

.ku13 {
  background: linear-gradient(
      to right,
      rgba(255, 0, 0, 0.8),
      rgba(255, 255, 255, 0)
    ),
    url(../img/background/4.png);
  background-repeat: no-repeat;
  background-size: cover;
}

.score th {
  background-color: #ff7878;
}

.score th p {
  margin-bottom: 0;
}

.score td {
  text-align: center;
}

.registrasi {
  padding: 3rem;
}

.hero-fixed-top h1 {
  color: var(--color-secondary);
  font-weight: bold;
}

.margin-up {
  margin-bottom: -105px;
}

.parent {
  padding: 3rem;
}

.owl-theme .owl-dots .owl-dot span {
  background: #ff7878;
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
  background: #7a1919 !important;
}

/* Progress Bar */
.step {
  padding-bottom: 0;
}
.progressbar li {
  list-style-type: none;
  float: left;
  width: 15%;
  position: relative;
  text-align: center;
}

.progressbar ul {
  display: flex;
  justify-content: center;
}

.progressbar li:before {
  content: "";
  width: 40px;
  height: 40px;
  border: 3px solid #ccc;
  border-radius: 50%;
  text-align: center;
  display: block;
  margin: 0 auto 10px auto;
  line-height: 37px;
  background-color: #fff;
}

.progressbar li:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: #ccc;
  top: 20px;
  left: -50%;
  z-index: -1;
}
.progressbar li:first-child:after {
  content: none;
}

.progressbar li.active {
  color: green;
}

.progressbar li.active:before {
  border-color: green;
}
.progressbar li.complete:before {
  color: white;
  font-family: "Font Awesome 6 Free";
  content: "\f00c";
  font-weight: 900;
  background-color: green;
}

.progressbar li.active + li:after {
  background-color: green;
}

#desc {
  max-height: 100px;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
}

label {
  font-size: 9pt;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.registrasi {
  padding: 1rem;
}

.location p {
  margin-bottom: 0;
  font-size: 10pt;
}

.location small {
  font-size: 8pt;
}

.form-text {
  font-size: 8pt;
}

/* Chart */
#tree {
  width: 100%;
  height: 100%;
}

#struktur {
  padding-top: 0;
}

.progress-step {
  padding-left: 0;
}

/* Responsive */
@media (min-width: 1024px) {
  #hero {
    background-attachment: fixed;
  }
}

@media only screen and (max-width: 600px) {
  .dropdown a {
    pointer-events: auto;
  }

  .img-sejarah {
    width: 100%;
    height: 20vh;
    object-fit: cover;
    object-position: top;
  }

  .misi {
    margin-top: 20px;
  }

  .register-mobile {
    display: flex;
  }
  .appointment-btn {
    display: none;
  }

  section {
    padding: 20px;
  }

  .copyright {
    font-size: 8pt;
  }

  #hero {
    height: 100vh;
    padding-top: 7rem;
  }

  .title {
    font-size: 28pt;
  }

  #hero h1 {
    font-size: 28pt !important;
    line-height: 36px;
  }

  #hero p {
    margin-top: 1rem;
    font-size: 10pt !important;
    line-height: 18pt;
  }

  .scrollto {
    width: 100%;
    text-align: center;
    margin-top: 1rem !important;
  }

  .hero-image {
    position: absolute;
    top: 1rem;
    left: 0rem;
    height: 81vw;
  }

  .hero-text {
    margin-top: 14rem;
    z-index: 10;
  }

  #topbar .contact-info a {
    width: 40vw;
  }

  .hero-sejarah {
    margin-bottom: 0px;
  }

  .title h2 {
    font-size: 12pt;
  }

  .title-field {
    padding: 1rem;
  }

  #sejarah p {
    font-size: 10pt;
  }

  .hero-fixed-top {
    padding-top: 35vh;
    height: 100vh;
  }

  .hero-fixed-top p {
    font-size: 10pt;
  }

  .margin-up {
    margin-bottom: 0;
  }

  .text-mobile {
    font-size: 10pt;
  }

  .text-mobile a {
    font-size: 8pt;
  }

  td {
    font-size: 10pt;
  }

  .list p {
    font-size: 9pt;
  }

  .img-headline {
    height: 24vh;
  }

  .title-news {
    padding-top: 0;
  }

  .details h5 {
    font-size: 12pt;
  }

  .redaksi {
    font-size: 10pt;
  }

  .other-list {
    margin-top: 3rem;
  }

  .img-shop-mobile {
    height: 150px;
    object-fit: cover;
  }

  .search {
    padding-top: 30px;
  }

  .price {
    font-size: 12pt;
  }

  .card-small {
    font-size: 8pt;
  }

  .swiper-slide img {
    height: 28vh !important;
  }

  .mySwiper2 {
    height: 28vh !important;
  }

  .progressbar li {
    font-size: 6pt;
  }
}

@media only screen and (max-width: 400px) {
}

@media only screen and (min-width: 601px) and (max-width: 900px) {
  .register-mobile {
    display: flex;
  }

  .appointment-btn {
    display: none;
  }

  .hero-image {
    left: 0;
    height: 76vw;
  }

  .hero-text {
    margin-top: 37rem;
  }

  #hero {
    margin-bottom: 0;
    height: 100vh;
  }

  #hero .container {
    padding-bottom: 63px;
  }

  #hero h1 {
    font-size: 28pt;
    line-height: 30pt;
  }

  #hero a {
    text-align: center;
    width: 100%;
  }
}

.swiper {
  width: 100%;
  height: 300px;
  margin-left: auto;
  margin-right: auto;
}

.swiper-slide {
  background-size: cover;
  background-position: center;
}

.mySwiper2 {
  height: 50vh;
  width: 100%;
}

.mySwiper {
  height: 10vh;
  box-sizing: border-box;
  padding: 10px 0;
}

.mySwiper .swiper-slide {
  width: 20vh;
  height: 100%;
  opacity: 0.4;
}

.mySwiper .swiper-slide-thumb-active {
  opacity: 1;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 50vh;
  object-fit: cover;
}

.swiper-slide .secondary {
  display: block;
  width: 100%;
  height: 8vh;
  object-fit: cover;
}

/* Milestone */

a {
  text-decoration: none;
}
h4 {
  text-align: center;
  margin: 30px 0;
  color: #444;
}

.year{
  font-size: 12pt !important;
}
.main-timeline {
  position: relative;
}
.main-timeline:before {
  content: "";
  width: 5px;
  height: 100%;
  border-radius: 20px;
  margin: 0 auto;
  background: #242922;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}
.main-timeline .timeline {
  display: inline-block;
  margin-bottom: 50px;
  position: relative;
}
.main-timeline .timeline:before {
  content: "";
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 4px solid #fff;
  background: #ec496e;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  transform: translate(-50%, -50%);
}
.main-timeline .timeline-icon {
  display: inline-block;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 3px solid #ec496e;
  padding: 13px;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 30%;
  transform: translateY(-50%);
}
.main-timeline .timeline-icon i {
  display: block;
  border-radius: 50%;
  background: #ec496e;
  font-size: 64px;
  color: #fff;
  line-height: 100px;
  z-index: 1;
  position: relative;
}
.main-timeline .timeline-icon:after,
.main-timeline .timeline-icon:before {
  content: "";
  width: 100px;
  height: 4px;
  background: #ec496e;
  position: absolute;
  top: 50%;
  right: -100px;
  transform: translateY(-50%);
}
.main-timeline .timeline-icon:after {
  width: 70px;
  height: 50px;
  background: #fff;
  top: 89px;
  right: -30px;
}
.main-timeline .timeline-content {
  width: 50%;
  padding: 0 50px;
  margin: 52px 0 0;
  float: right;
  position: relative;
}
.main-timeline .timeline-content:before {
  content: "";
  width: 70%;
  height: 100%;
  border: 3px solid #ec496e;
  border-top: none;
  border-right: none;
  position: absolute;
  bottom: -13px;
  left: 35px;
}
.main-timeline .timeline-content:after {
  content: "";
  width: 37px;
  height: 3px;
  background: #ec496e;
  position: absolute;
  top: 13px;
  left: 0;
}
.main-timeline .title {
  font-size: 20px;
  font-weight: 600;
  color: #ec496e;
  text-transform: uppercase;
  margin: 0 0 5px;
}
.main-timeline .description {
  display: inline-block;
  font-size: 16px;
  color: #404040;
  line-height: 20px;
  letter-spacing: 1px;
  margin: 0;
}
.main-timeline .timeline:nth-child(even) .timeline-icon {
  left: auto;
  right: 30%;
}
.main-timeline .timeline:nth-child(even) .timeline-icon:before {
  right: auto;
  left: -100px;
}
.main-timeline .timeline:nth-child(even) .timeline-icon:after {
  right: auto;
  left: -30px;
}
.main-timeline .timeline:nth-child(even) .timeline-content {
  float: left;
}
.main-timeline .timeline:nth-child(even) .timeline-content:before {
  left: auto;
  right: 35px;
  transform: rotateY(180deg);
}
.main-timeline .timeline:nth-child(even) .timeline-content:after {
  left: auto;
  right: 0;
}
.main-timeline .timeline:nth-child(2n) .timeline-content:after,
.main-timeline .timeline:nth-child(2n) .timeline-icon i,
.main-timeline .timeline:nth-child(2n) .timeline-icon:before,
.main-timeline .timeline:nth-child(2n):before {
  background: #f9850f;
}
.main-timeline .timeline:nth-child(2n) .timeline-icon {
  border-color: #f9850f;
}
.main-timeline .timeline:nth-child(2n) .title {
  color: #f9850f;
}
.main-timeline .timeline:nth-child(2n) .timeline-content:before {
  border-left-color: #f9850f;
  border-bottom-color: #f9850f;
}
.main-timeline .timeline:nth-child(3n) .timeline-content:after,
.main-timeline .timeline:nth-child(3n) .timeline-icon i,
.main-timeline .timeline:nth-child(3n) .timeline-icon:before,
.main-timeline .timeline:nth-child(3n):before {
  background: #8fb800;
}
.main-timeline .timeline:nth-child(3n) .timeline-icon {
  border-color: #8fb800;
}
.main-timeline .timeline:nth-child(3n) .title {
  color: #8fb800;
}
.main-timeline .timeline:nth-child(3n) .timeline-content:before {
  border-left-color: #8fb800;
  border-bottom-color: #8fb800;
}
.main-timeline .timeline:nth-child(4n) .timeline-content:after,
.main-timeline .timeline:nth-child(4n) .timeline-icon i,
.main-timeline .timeline:nth-child(4n) .timeline-icon:before,
.main-timeline .timeline:nth-child(4n):before {
  background: #2fcea5;
}
.main-timeline .timeline:nth-child(4n) .timeline-icon {
  border-color: #2fcea5;
}
.main-timeline .timeline:nth-child(4n) .title {
  color: #2fcea5;
}
.main-timeline .timeline:nth-child(4n) .timeline-content:before {
  border-left-color: #2fcea5;
  border-bottom-color: #2fcea5;
}
@media only screen and (max-width: 1200px) {
  .main-timeline .timeline-icon:before {
    width: 50px;
    right: -50px;
  }
  .main-timeline .timeline:nth-child(even) .timeline-icon:before {
    right: auto;
    left: -50px;
  }
  .main-timeline .timeline-content {
    margin-top: 75px;
  }
}
@media only screen and (max-width: 990px) {
  .main-timeline .timeline {
    margin: 0 0 10px;
  }
  .main-timeline .timeline-icon {
    left: 25%;
  }
  .main-timeline .timeline:nth-child(even) .timeline-icon {
    right: 25%;
  }
  .main-timeline .timeline-content {
    margin-top: 115px;
  }
}
@media only screen and (max-width: 767px) {
  .main-timeline {
    padding-top: 50px;
  }
  .main-timeline:before {
    left: 80px;
    right: 0;
    margin: 0;
  }
  .main-timeline .timeline {
    margin-bottom: 70px;
  }
  .main-timeline .timeline:before {
    top: 0;
    left: 83px;
    right: 0;
    margin: 0;
  }
  .main-timeline .timeline-icon {
    width: 60px;
    height: 60px;
    line-height: 40px;
    padding: 5px;
    top: 0;
    left: 0;
  }
  .main-timeline .timeline:nth-child(even) .timeline-icon {
    left: 0;
    right: auto;
  }
  .main-timeline .timeline-icon:before,
  .main-timeline .timeline:nth-child(even) .timeline-icon:before {
    width: 25px;
    left: auto;
    right: -25px;
  }
  .main-timeline .timeline-icon:after,
  .main-timeline .timeline:nth-child(even) .timeline-icon:after {
    width: 25px;
    height: 30px;
    top: 44px;
    left: auto;
    right: -5px;
  }
  .main-timeline .timeline-icon i {
    font-size: 30px;
    line-height: 45px;
  }
  .main-timeline .timeline-content,
  .main-timeline .timeline:nth-child(even) .timeline-content {
    width: 100%;
    margin-top: -15px;
    padding-left: 130px;
    padding-right: 5px;
  }
  .main-timeline .timeline:nth-child(even) .timeline-content {
    float: right;
  }
  .main-timeline .timeline-content:before,
  .main-timeline .timeline:nth-child(even) .timeline-content:before {
    width: 50%;
    left: 120px;
  }
  .main-timeline .timeline:nth-child(even) .timeline-content:before {
    right: auto;
    transform: rotateY(0);
  }
  .main-timeline .timeline-content:after,
  .main-timeline .timeline:nth-child(even) .timeline-content:after {
    left: 85px;
  }
}
@media only screen and (max-width: 479px) {
  .main-timeline .timeline-content,
  .main-timeline .timeline:nth-child(2n) .timeline-content {
    padding-left: 110px;
  }
  .main-timeline .timeline-content:before,
  .main-timeline .timeline:nth-child(2n) .timeline-content:before {
    left: 99px;
  }
  .main-timeline .timeline-content:after,
  .main-timeline .timeline:nth-child(2n) .timeline-content:after {
    left: 65px;
  }
}

/******************* Timeline Demo - 4 *****************/
.main-timeline4 {
  overflow: hidden;
  position: relative;
}
.main-timeline4:before {
  content: "";
  width: 5px;
  height: 70%;
  background: #333;
  position: absolute;
  top: 70px;
  left: 50%;
  transform: translateX(-50%);
}
.main-timeline4 .timeline-content:before,
.main-timeline4 .timeline:before {
  top: 50%;
  transform: translateY(-50%);
  content: "";
}
.main-timeline4 .timeline {
  width: 50%;
  padding-left: 100px;
  float: right;
  position: relative;
}
.main-timeline4 .timeline:before {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 5px solid #333;
  position: absolute;
  left: -10px;
}
.main-timeline4 .timeline-content {
  display: block;
  padding-left: 150px;
  position: relative;
}
.main-timeline4 .timeline-content:before {
  width: 90px;
  height: 10px;
  border-top: 7px dotted #333;
  position: absolute;
  left: -92px;
}
.main-timeline4 .year {
  display: inline-block;
  width: 120px;
  height: 120px;
  line-height: 100px;
  border-radius: 50%;
  border: 10px solid #f54957;
  font-size: 30px;
  color: #f54957;
  text-align: center;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.4);
  position: absolute;
  top: 0;
  left: 0;
}
.main-timeline4 .year:before {
  content: "";
  border-left: 20px solid #f54957;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  position: absolute;
  bottom: -13px;
  right: 0;
  transform: rotate(45deg);
}
.main-timeline4 .inner-content {
  padding: 20px 0;
}
.main-timeline4 .title {
  font-size: 24px;
  font-weight: 600;
  color: #f54957;
  text-transform: uppercase;
  margin: 0 0 5px;
}
.main-timeline4 .description {
  font-size: 14px;
  color: #6f6f6f;
  margin: 0 0 5px;
}
.main-timeline4 .timeline:nth-child(2n) {
  padding: 0 100px 0 0;
}
.main-timeline4 .timeline:nth-child(2n) .timeline-content:before,
.main-timeline4 .timeline:nth-child(2n) .year,
.main-timeline4 .timeline:nth-child(2n):before {
  left: auto;
  right: -10px;
}
.main-timeline4 .timeline:nth-child(2n) .timeline-content {
  padding: 0 150px 0 0;
}
.main-timeline4 .timeline:nth-child(2n) .timeline-content:before {
  right: -92px;
}
.main-timeline4 .timeline:nth-child(2n) .year {
  right: 0;
}
.main-timeline4 .timeline:nth-child(2n) .year:before {
  right: auto;
  left: 0;
  border-left: none;
  border-right: 20px solid #f54957;
  transform: rotate(-45deg);
}
.main-timeline4 .timeline:nth-child(2) {
  margin-top: 110px;
}
.main-timeline4 .timeline:nth-child(odd) {
  margin: -110px 0 0;
}
.main-timeline4 .timeline:nth-child(even) {
  margin-bottom: 80px;
}
.main-timeline4 .timeline:first-child,
.main-timeline4 .timeline:last-child:nth-child(even) {
  margin: 0;
}
.main-timeline4 .timeline:nth-child(2n) .year {
  border-color: #1ebad0;
  color: #1ebad0;
}
.main-timeline4 .timeline:nth-child(2) .year:before {
  border-right-color: #1ebad0;
}
.main-timeline4 .timeline:nth-child(2n) .title {
  color: #1ebad0;
}
.main-timeline4 .timeline:nth-child(3n) .year {
  border-color: #7cba01;
  color: #7cba01;
}
.main-timeline4 .timeline:nth-child(3) .year:before {
  border-left-color: #7cba01;
}
.main-timeline4 .timeline:nth-child(3n) .title {
  color: #7cba01;
}
.main-timeline4 .timeline:nth-child(4n) .year {
  border-color: #f8781f;
  color: #f8781f;
}
.main-timeline4 .timeline:nth-child(4) .year:before {
  border-right-color: #f8781f;
}
.main-timeline4 .timeline:nth-child(4n) .title {
  color: #f8781f;
}
@media only screen and (max-width: 1200px) {
  .main-timeline4 .year {
    top: 50%;
    transform: translateY(-50%);
  }
}
@media only screen and (max-width: 990px) {
  .main-timeline4 .timeline {
    padding-left: 75px;
  }
  .main-timeline4 .timeline:nth-child(2n) {
    padding: 0 75px 0 0;
  }
  .main-timeline4 .timeline-content {
    padding-left: 130px;
  }
  .main-timeline4 .timeline:nth-child(2n) .timeline-content {
    padding: 0 130px 0 0;
  }
  .main-timeline4 .timeline-content:before {
    width: 68px;
    left: -68px;
  }
  .main-timeline4 .timeline:nth-child(2n) .timeline-content:before {
    right: -68px;
  }
}
@media only screen and (max-width: 767px) {
  .main-timeline4 {
    overflow: visible;
  }
  .main-timeline4:before {
    height: 100%;
    top: 0;
    left: 0;
    transform: translateX(0);
  }
  .main-timeline4 .timeline:before,
  .main-timeline4 .timeline:nth-child(2n):before {
    top: 60px;
    left: -9px;
    transform: translateX(0);
  }
  .main-timeline4 .timeline,
  .main-timeline4 .timeline:nth-child(even),
  .main-timeline4 .timeline:nth-child(odd) {
    width: 100%;
    float: none;
    text-align: center;
    padding: 0;
    margin: 0 0 10px;
  }
  .main-timeline4 .timeline-content,
  .main-timeline4 .timeline:nth-child(2n) .timeline-content {
    padding: 0;
  }
  .main-timeline4 .timeline-content:before,
  .main-timeline4 .timeline:nth-child(2n) .timeline-content:before {
    display: none;
  }
  .main-timeline4 .timeline:nth-child(2n) .year,
  .main-timeline4 .year {
    position: relative;
    transform: translateY(0);
  }
  .main-timeline4 .timeline:nth-child(2n) .year:before,
  .main-timeline4 .year:before {
    border: none;
    border-right: 20px solid #f54957;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    top: 50%;
    left: -23px;
    bottom: auto;
    right: auto;
    transform: rotate(0);
  }
  .main-timeline4 .timeline:nth-child(2n) .year:before {
    border-right-color: #1ebad0;
  }
  .main-timeline4 .timeline:nth-child(3n) .year:before {
    border-right-color: #7cba01;
  }
  .main-timeline4 .timeline:nth-child(4n) .year:before {
    border-right-color: #f8781f;
  }
  .main-timeline4 .inner-content {
    padding: 10px;
  }
}
