/* InfluxRocket branding + header layout */
#sp-header-wrapper {
  background: #fff;
}

#sp-header-wrapper .container {
  width: 100%;
  max-width: 1170px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 32px;
  padding-right: 32px;
  box-sizing: border-box;
}

#sp-header-wrapper #header.row-fluid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 32px;
  width: 100%;
  min-height: 120px;
}

#sp-header-wrapper #header.row-fluid::before,
#sp-header-wrapper #header.row-fluid::after {
  display: none;
}

#sp-header-wrapper #sp-logo,
#sp-header-wrapper #sp-menu {
  float: none !important;
  width: auto !important;
  min-width: 0;
  margin: 0;
}

#sp-header-wrapper #sp-logo {
  flex: 0 0 auto;
}

#sp-header-wrapper #sp-logo.right .logo,
#sp-header-wrapper #sp-logo.left .logo {
  float: none !important;
}

#sp-header-wrapper .logo-wrapper {
  max-width: none;
}

#sp-header-wrapper .logo-wrapper .logo {
  line-height: normal;
  padding: 8px 0;
  display: block;
}

#sp-header-wrapper .logo-wrapper .logo .image-logo {
  height: 110px;
  width: auto;
  max-width: none !important;
  display: block;
}

#sp-header-wrapper #sp-menu {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  margin-left: 24px;
  min-width: 0;
}

#sp-header-wrapper #sp-main-menu {
  float: none !important;
  width: 100%;
}

#sp-header-wrapper #sp-main-menu ul.level-0 {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 0;
}

#sp-header-wrapper #sp-main-menu ul.level-0 > li {
  display: block;
  flex: 0 0 auto;
  position: relative;
  text-align: center;
  background: none !important;
  padding-left: 0 !important;
}

#sp-header-wrapper #sp-main-menu ul.level-0 > li > a {
  display: inline-block;
  padding: 12px 8px;
  line-height: 1.2 !important;
  white-space: nowrap;
}

@media (min-width: 980px) {
  #sp-header-wrapper #sp-main-menu ul.level-0 > li.first a {
    padding-left: 14px;
  }
}

@media (max-width: 979px) {
  #sp-header-wrapper .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  #sp-header-wrapper #header.row-fluid {
    position: relative;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0;
    min-height: 0;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  #sp-header-wrapper #sp-logo,
  #sp-header-wrapper #sp-menu {
    width: 100% !important;
    margin-left: 0;
  }

  #sp-header-wrapper #sp-logo {
    padding-right: 56px;
  }

  #sp-header-wrapper #sp-menu {
    justify-content: flex-start;
  }

  #sp-header-wrapper .sp-main-menu-toggler {
    position: absolute;
    top: 16px;
    right: 16px;
    left: auto;
    z-index: 10;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: #398930;
    border: 0;
    border-radius: 4px;
  }

  #sp-header-wrapper .sp-main-menu-toggler i {
    color: #fff;
  }

  #sp-header-wrapper .sp-mobile-menu {
    position: relative !important;
    top: auto !important;
    left: 0;
    width: 100%;
    margin-top: 8px;
  }

  #sp-header-wrapper .logo-wrapper .logo .image-logo {
    height: 88px;
  }
}

@media (max-width: 767px) {
  #sp-header-wrapper .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  #sp-header-wrapper .logo-wrapper .logo .image-logo {
    height: 72px;
  }
}

/* Footer contact block */
#sp-bottom3 .module.contact-info .mod-content .custom {
  display: inline-grid;
  justify-items: stretch;
  margin: 0 auto;
  max-width: 100%;
}

#sp-bottom3 .module.contact-info .custom p {
  display: grid !important;
  grid-template-columns: 88px minmax(0, 1fr);
  align-items: center;
  column-gap: 20px;
  margin: 0 0 16px;
  line-height: 1.45;
}

#sp-bottom3 .module.contact-info .custom p:last-child {
  margin-bottom: 0;
}

#sp-bottom3 .module.contact-info .label {
  float: none !important;
  display: block !important;
  width: auto !important;
  flex: none !important;
  text-align: right;
  padding: 0 !important;
  margin: 0 !important;
  background: none !important;
  box-shadow: none !important;
  font-weight: 600;
  color: #002965;
  white-space: nowrap;
}

#sp-bottom3 .module.contact-info .details {
  float: none !important;
  display: block !important;
  padding: 0 !important;
  margin: 0 !important;
  min-width: 0;
  text-align: left;
}

#sp-bottom3 .module.contact-info .details a {
  word-break: break-word;
}

#sp-bottom3 .module.contact-info .mod-inner {
  text-align: center;
}

#sp-bottom3 .module.contact-info h3.header {
  text-align: center;
}

#sp-bottom3 .module.contact-info h3.header .title-border {
  margin-left: auto;
  margin-right: auto;
}

/* Footer nav — full width */
#sp-footer-wrapper .container {
  width: 100%;
  max-width: 1170px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 32px;
  padding-right: 32px;
  box-sizing: border-box;
}

#sp-footer2 {
  width: 100% !important;
  float: none !important;
}

#sp-footer2 #Mod265,
#sp-footer2 #Mod265 .mod-content {
  width: 100%;
}

#sp-footer2 ul.nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  float: none !important;
}

#sp-footer2 ul.nav > li {
  display: block;
  flex: 0 0 auto;
  float: none !important;
  text-align: center;
}

#sp-footer2 ul.nav > li > a {
  display: inline-block;
  padding: 8px 12px;
  line-height: 1.2;
}

#xmap.sitemap-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 48px;
  width: 100%;
}

#xmap .sitemap-col h3 {
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #002965;
  color: #002965;
  font-size: 18px;
  text-transform: uppercase;
}

#xmap .sitemap-col ul {
  margin: 0;
  padding-left: 18px;
  list-style: disc;
}

#xmap .sitemap-col ul ul {
  margin-top: 8px;
  margin-bottom: 8px;
}

#xmap .sitemap-col li {
  margin-bottom: 8px;
  line-height: 1.45;
}

#xmap .sitemap-col a {
  color: #002965;
}

#xmap .sitemap-col a:hover {
  color: #F6B44A;
}

/* Prevent scroll jank from replaying footer animations */
.animation.animated {
  animation-iteration-count: 1;
  animation-fill-mode: both;
}

@media (max-width: 979px) {
  #xmap.sitemap-columns {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  #xmap.sitemap-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  html,
  body {
    overflow-x: hidden;
  }

  #sp-fp-animation-message h1.header {
    font-size: 1.35rem;
    line-height: 1.25;
  }

  #sp-fp-animation4-wrapper [class*="span"],
  #sp-fp-animation4b-wrapper [class*="span"] {
    width: 100% !important;
    float: none !important;
    margin-left: 0 !important;
  }

  .custom row,
  row {
    display: block;
    width: 100%;
  }

  col {
    display: none;
  }

  #sp-bottom3 .module.contact-info .custom p {
    grid-template-columns: 1fr;
    row-gap: 4px;
    text-align: center;
  }

  #sp-bottom3 .module.contact-info .label,
  #sp-bottom3 .module.contact-info .details {
    text-align: center;
  }

  #sp-footer-wrapper .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  #sp-footer2 ul.nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 8px;
  }

  #sp-footer2 ul.nav > li > a {
    padding: 6px 8px;
    font-size: 13px;
  }

  #sp-fp-animation4-wrapper .btn,
  #sp-fp-animation4b-wrapper .btn {
    font-size: 18px !important;
    padding: 10px 18px !important;
  }
}

@media (max-width: 480px) {
  #sp-footer2 ul.nav {
    flex-direction: column;
    align-items: center;
  }

  #sp-footer2 ul.nav > li > a {
    padding: 8px 12px;
  }
}
