.csi-header {
  position: absolute;
  width: 100%;
}
.fdic-wrapper {
  display: flex;
  align-items: center;
}
.fdic-wrapper .fdic-notice {
	display: flex;
  flex-direction: row;
  width: 100%;
  margin: 0;
  overflow: hidden;
  box-sizing: border-box;
  text-align: left;
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
  font-style: italic;
  font-size: .8rem;
  font-weight: 400;
  color: #fff;
}
.fdic-wrapper img {
  max-width: 60px;
  margin-right: .5rem;
}

.csi-logo .navbar-brand img {
  width: 300px;
}

.carousel-item {
  position: relative;
  min-height: 1035px;
  background: var(--linear-gradient);
}
body:not(.home) .carousel-item {
  min-height: 930px;
}
.carousel-caption .carousel-text {
  text-align: left;
  margin: auto;
}
.carousel-caption {
  bottom: 0;
  padding-bottom: 0;
  left: unset;
  right: unset;
  width: 100%;
}
.carousel-caption img {
  max-height: 850px;
  max-width: 560px;
}
.carousel-caption h2, .carousel-caption p {
  color: var(--accent-color);
}
.carousel-caption h2 {
  font-size: 5rem;
  font-weight: 700;
  line-height: 6rem;
}
.carousel-caption p {
  border: 1px solid var(--secondary-color);
  border-radius: 50px;
  font-size: 1.25rem;
  text-align: center;
  padding: 1.4rem;
  line-height: 24px;
  margin-top: 2rem;
  max-width: fit-content;
  font-weight: 600;
}
.carousel-indicators {
  background-color: transparent;
  bottom: 18%;
}
#csiMenuWrapper .nav-toggle .toggle-inner, #csiMenuWrapper-secondary .nav-toggle .toggle-inner {
  display: flex;
  padding-top: 0;
}
#csiMenuWrapper .csi-Menu-inner .toggle, #csiMenuWrapper-secondary .csi-Menu-inner .toggle {
  padding: unset;
}
#csiMenuWrapper .menu-modal-inner, #csiMenuWrapper-secondary .menu-modal-inner {
  background: var(--primary-color);
}

/* video stuff */
.video-background {
  background: #000;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  /* z-index: -99; */
  position: relative;
  height: 800px;
  /* Remove height for full screen*/
  overflow: hidden;
}

.csi-carousel:has(.video-background):before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(180deg, #00274cba 0%, #00122991 100%);
  z-index: 1;
}

.video-text {
  text-align: left;
}
.carousel-caption:has(.video-text) {
  padding-bottom: 5%;
}
button#toggle-btn {
  border-radius: 50px;
  padding: .125rem 1rem;
  background: var(--primary-color);
  color: white;
  border: 1px solid var(--primary-color);
}
.video-btn-container {
  position: absolute;
  bottom: 1rem;
  right: 2rem;
  z-index: 10;
}

.video-foreground,
.video-background iframe {
  position: absolute;
  top: 0;
  left: -13%;
  /* left 0 if full screen*/
  width: 126%;
  /* width 100% if full screen*/
  height: 126%;
  /* width 100% if full screen*/
  pointer-events: none;
}
.video-background .carousel-caption h2, .video-background .carousel-caption p {
  text-shadow: 0px 0px 14px rgba(0, 0, 0, 0.95);
}

@media (min-aspect-ratio: 16/9) {
  .video-foreground {
    height: 300%;
    top: -100%;
  }
}
@media (max-aspect-ratio: 16/9) {
  .video-foreground {
    width: 300%;
    left: -100%;
  }
}
@media all and (max-width: 600px) {
  .vid-info {
    width: 50%;
    padding: 0.5rem;
  }
}
.button#toggle-btn {
  width: 48px;
  height: 48px;
  background: red;
  cursor: pointer;
}
.button#toggle-btn:hover {
  fill: white;
}
@media(min-width: 1200px) {
    .carousel-caption h2 {
        padding-left: 1rem;
    }
    .carousel-caption .carousel-text {
      padding-left: 3rem;
  }
}
@media(max-width:1200px) {
  .carousel-caption h2 {
    font-size: 4rem;
    line-height: 96px;
    padding-right: 3rem;
  }
  .carousel-caption img {
    max-width: 420px;
    max-height: 650px;
  }
  .csi-banner-video .carousel-item {
    min-height: 775px;
  }
  .carousel-caption p {
    font-size: 1rem;
    margin-top: 1rem;
    padding: 1rem 2rem;
  }
  body:not(.home) .carousel-item {
    min-height: unset;
  }
  .carousel-caption {
    position: relative;
    margin-top: 8rem;
  }
}
@media(max-width: 992px) {
  .carousel-caption {
    margin-top: 0;
  }
  .carousel-caption .row {
    flex-direction: column-reverse;
  }
  .carousel-caption .carousel-text {
    text-align: center;
    padding-inline: 2rem;
  }
  .carousel-caption p {
    margin-inline: auto;
    padding-right: 0;
  }
  .csi-header {
    position: relative;
    background: var(--primary-color);
  }
  .carousel-text p {
      padding: 1.2rem 2.25rem;
  }
  .carousel-caption h2 {
    font-size: 2.75rem;
    line-height: 4.125rem;
    padding-right: 0;
  }
}
@media(max-width: 768px) {
  .carousel-caption img {
    max-height: 450px;
  }
}