/*---Page Title---*/
.hero-section {
  position: relative;
  width: 100%;
  height: 280px; /* Full height */
  overflow: hidden;
}
.stobg-tl-page-title {
  position: absolute;
  padding-left: 40px;
  padding-right: 40px;
  top: 40%;
  z-index: 999;
}
.stobg-tl-page-title h1 {
  font-size: 3rem;
  margin: 0;
  color: white;
  text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.2);
}

.stobg-tl-page-title p {
  font-size: 1.2rem;
  color: white;
  text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.2);
}
.gradient {
  width: 100%;
  height: 100%;
  position: absolute;
  padding-left: 80px;
  display: flex;
  gap: 20px;
  left: 0;
  top: 0;
  background: linear-gradient(
    90deg,
    rgba(10, 10, 10, 0.6),
    rgba(11, 11, 11, 0.6) 25%,
    rgba(23, 22, 22, 0) 69%
  );
  mix-blend-mode: normal;
  z-index: 900;
}

/*---All Logos and Images---*/
.logos-section {
  align-self: stretch;
  background-color: #467c9d;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  padding: 0px 10px 20px;
  gap: 0px 10px;
  z-index: 3;
}
.logos-section-logo {
  max-height: 26px;
  margin: 0 20px;
}
.logos-section-logo-wide {
  max-height: 26px;
  margin: 0 70px;
}
.sto-logo {
  width: 280px;
}
.stobg-logo {
  width: 280px;
}
.gb-logo {
  width: 300px;
}
.ajax-logo {
  width: 180px;
}
.bcci-logo {
  width: 150px;
}
.layton-logo {
  width: 200px;
}
.building-convo {
  width: 200px;
}
.abbot-logo {
  width: 200px;
}
.enr-image {
  width: 200px;
}
.rca-logo {
  width: 200px;
}
.stomc-logo {
  width: 200px;
}
.logo-section-icon {
  max-width: 80%;
}

/*---Decade Title---*/
.decade-title-wrapper {
  text-align: center;
  margin: 50px 0 50px; /* Space above and below the title */
  position: relative;
  z-index: 2; /* Ensure it sits above other elements */
}
.year-title {
  text-align: center;
  font-size: 64px;
  color: #467c9d !important;
  font-weight: 900;
  line-height: 61.5px;
  padding: 50px;
}
[id^="stobg-decade"] {
  scroll-margin-top: 100px;
}
.stobg-decade {
  margin: 20px 0 !important;
}

/*---Decade Container---*/
.event-container {
  width: 75vw;
  max-width: 1090px !important;
  position: relative;
  margin: 10px auto 10px !important;}

.stobg-vertical-timeline {
  position: absolute;
  top: 0px;
  left: calc(50% - 6px);
 /* background-color: #467c9d; */
  width: 12px;
  height: 100%;
}
.stobg-timeline-bottom-cap,
.stobg-timeline-top-cap {
  background-color: #467c9d;
  width: 16px;
  height: 2px;
  position: absolute;
  left: calc(50% - 8px);
}
.stobg-timeline-bottom-cap {
  bottom: 0;
}
.stobg-timeline-top-cap {
  top: 0;
}
.stobg-timeline {
  width: 16px;
  position: absolute;
  margin: 0 !important;
  top: 0px;
  left: calc(50% - 8px);
  height: 100%;
  z-index: 1;
}
.stobg-year .stobg-vertical-timeline,
.stobg-year .stobg-timeline-bottom-cap,
.stobg-year .stobg-timeline-top-cap,
.stobg-year .stobg-tl-marker-left,
.stobg-year .stobg-tl-marker-right {
    background-color: #467c9d; /* Default color */
}


/*---Timeline Event Right Desktop---*/
.stobg-event-spacer-left {
  flex: 1;
  height: 147.4px;
  padding-right: 100px;
  display: none;
}
.stobg-tl-marker-right {
  width: 50px;
  position: absolute;
  margin: 0 !important;
  top: 28px;
  left: 50%;
  background-color: #003a70;
  height: 3px;
  z-index: 0;
}
.stobg-event-year-right {
  align-self: stretch;
  position: relative;
  line-height: 48px;
  text-transform: uppercase;
  font-weight: 900;
  z-index: 1;
}
.stobg-event-title-right {
  width: 100%;
  position: relative;
  font-size: 22px;
  letter-spacing: 0.01em;
  line-height: 28px;
  display: inline-block;
  font-family: "Roboto Condensed";
  color: #231f20;
  max-width: 545px;
  z-index: 2;
}
.stobg-event-description-right {
  align-self: stretch;
  position: relative;
  line-height: 24px;
  font-size: 15px;
  color: #63656a;
}
.stobg-event-text-cont-right {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  z-index: 3;
  font-size: 15px;
  color: #63656a;
}
.stobg-event-image-icon-right {
  align-self: stretch;
  max-width: 100%;
  overflow: hidden;
  flex-shrink: 0;
  object-fit: cover;
  z-index: 4;
}
.stobg-event-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0px 0px 0px 100px;
  position: relative;
  gap: 16px;
  min-height: 200px;
  margin-left: 50%;
}
.stobg-event-right-container {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 12px;
  text-align: left;
  font-size: 40px;
  color: #003a70;
  font-family: Roboto;
}

/*---Timeline Event Left Desktop---*/
.stobg-tl-marker-left {
  width: 50px;
  position: absolute;
  margin: 0 !important;
  top: 28px;
  right: 50%;
  background-color: #003a70;
  height: 3px;
  z-index: 0;
}
.stobg-event-year-left {
  align-self: stretch;
  position: relative;
  line-height: 48px;
  text-transform: uppercase;
  font-weight: 900;
  z-index: 1;
}
.stobg-event-title-left {
  align-self: stretch;
  position: relative;
  font-size: 22px;
  letter-spacing: 0.01em;
  line-height: 28px;
  font-family: "Roboto Condensed";
  color: #231f20;
  z-index: 2;
}
.stobg-event-description-left {
  align-self: stretch;
  position: relative;
  line-height: 24px;
  font-size: 15px;
  color: #63656a;
}
.stobg-event-text-cont-left {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  z-index: 3;
  font-size: 15px;
  color: #63656a;
}
.stobg-event-image-icon-left {
  align-self: stretch;
  position: relative;
  max-width: 100%;
  overflow: hidden;
  flex-shrink: 0;
  object-fit: cover;
  z-index: 4;
}
.stobg-event-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0px 100px 0px 0px;
  position: relative;
  gap: 16px;
  margin-right: 50%;
  min-height: 200px;
}
.stobg-event-spacer-right {
  flex: 1;
  height: 147.4px;
  padding-left: 100px;
}
.stobg-event-left-container {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
  text-align: right;
  font-size: 40px;
  color: #003a70;
  font-family: Roboto;
}

/*---Revenue Styling---*/
.event-revenue {
  font-size: 50px;
  line-height: 44px;
  margin-bottom: 0 !important;
  font-family: "Roboto Condensed";
  font-weight: 600;
}

.event-revenue.left {
  text-align: left;
}

.event-revenue.right {
  text-align: right;
}

/*---Responsive Styles---*/
@media (min-width: 769px) and (max-width: 1024px) {
  .stobg-event-right {
    padding: 0px 0px 0px 60px;
  }
  .stobg-event-left {
    padding: 0px 60px 0px 0px;
  }
  .stobg-event-spacer-right {
    padding-left: 60px;
  }
  .stobg-event-spacer-left {
    padding-right: 60px;
  }
}
@media (min-width: 601px) and (max-width: 768px) {
  .stobg-tl-marker-right {
    width: 20px;
  }
  .stobg-tl-marker-left {
    width: 20px;
  }
  .logos-section-logo-wide {
    margin: 0 40px;
}
  .stobg-event-right {
    padding: 0px 0px 0px 30px;
  }
  .stobg-event-left {
    padding: 0px 30px 0px 0px;
  }
  .stobg-event-spacer-right {
    padding-left: 30px;
  }
  .stobg-event-spacer-left {
    padding-right: 30px;
  }
}
@media (max-width: 600px) {
  .stobg-tl-page-title {
    padding-left: 20px;
    padding-right: 20px;
    top: 30%;
  }
  .logos-section-logo {
    margin: 0 10px;
  }
  .logos-section-logo-wide {
    margin: 0 auto;
}
  .stobg-event-left-container,
  .stobg-event-right-container {
    font-size: 30px;
  }
  .year-title{
    padding: 0 0 50px;
  }
  .stobg-event-left {
    margin-right: unset;
    padding: 0px 0px 40px 40px;
    text-align: start;
    align-items: flex-start;
    min-height: unset;
  }
  .stobg-event-right {
    margin-left: unset;
    padding: 0px 0px 40px 40px;
    min-height: unset;
  }
  .stobg-tl-marker-right,
  .stobg-tl-marker-left {
    width: 20px;
    left: 2px;
  }
  .stobg-timeline {
    left: -2px;
  }
}
