.header-resource-cover {
  position: relative;
  border-radius: 2px 4px 4px 2px;
  overflow: hidden;
  box-shadow:
    0 0 30px 0 rgba(0, 0, 0, 0.2),
    -1px 4px 4px 0 rgba(0, 0, 0, 0.3);
  background: linear-gradient(45deg, #1e1e1e 0, #4f4f4f 100%);
  width: 100px;
  flex-shrink: 0;
  margin: 0 auto;
}
.header-resource-cover:after {
  content: "";
  display: block;
  position: absolute;
  width: 5px;
  top: 0;
  left: 0;
  bottom: 0;
  border-radius: 2px 0 0 2px;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0,
    rgba(255, 255, 255, 0.1) 20%,
    rgba(255, 255, 255, 0.1) 45%,
    rgba(0, 0, 0, 0.15) 49%,
    rgba(0, 0, 0, 0.15) 84%,
    rgba(0, 0, 0, 0) 100%
  );
}
.header-resource-cover > a > img,
.header-resource-cover > a > picture {
  display: block;
  width: 100%;
}

.site-header-placeholder {
  height: 100px;
}
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  background: var(--main-body-bg-color);
  transition: padding 0.25s linear;
}

.site-header a:where(:not(.wp-element-button)) {
  text-decoration: auto;
}

@media screen and (max-width: 767px) {
  .site-header.extended {
    height: 100vh;
  }
  .mobile-noscroll {
    overflow: hidden;
  }
}
.site-header.shrink {
  padding: 0.34rem 0;
  box-shadow: 0 0.05rem 0.34rem rgba(2, 2, 3, 0.14);
}
#mobile-navigation > ul,
#site-navigation > ul {
  display: flex;
  flex-direction: row;
  margin: 0;
}
#mobile-navigation > ul li,
#site-navigation > ul li {
  position: relative;
  list-style: none;
}
.header-item {
  font-size: 0.67rem;
  padding: 0.67rem 1rem 0.67rem 0;
  color: var(--main-text-color);
  cursor: default;
}
.header-dropdown::after {
  display: inline-block;
  content: "";
  height: 5px;
  width: 8px;
  margin-bottom: 3px;
  margin-left: 2px;
  background: url(../svg/caret.svg);
  background-repeat: no-repeat;
}
#support-available::after,
.header-dropdown-title::after {
  content: "";
  left: 0;
  width: 100%;
  background: var(--main-body-bg-color);
  margin: 0;
}
.header-item:hover {
  color: var(--main-text-color);
}
.header-dropdown-content {
  display: none;
  position: absolute;
  margin-top: 0;
  margin-left: -0.67rem;
  background-color: var(--main-body-bg-color);
  border: 1px solid var(--main-border-color);
  border-radius: 2px;
  min-width: 160px;
  box-shadow: 0 0.67rem 1rem rgb(2 2 3 / 28%);
  z-index: 2;
}
.force-open {
  display: block !important;
}
.menu-features-list {
  padding-left: 0;
  font-weight: 500;
  font-size: 0.58rem;
  line-height: 0.8rem;
  letter-spacing: 0.015rem;
}
.menu-features-list li {
  margin-bottom: 0.17rem;
}
.menu-features-list li:last-of-type {
  margin-bottom: 0;
}
.menu-features-list li a {
  color: var(--main-light-blue);
}
#header-breadcrumb a:hover,
.menu-features-list li a:active,
.menu-features-list li a:focus,
.menu-features-list li a:hover {
  color: var(--main-red);
}
.header-dropdown-content:hover,
.header-dropdown:hover + .header-dropdown-content {
  display: block;
}
.header-dropdown-content ~ .header-dropdown {
  color: var(--main-text-color);
  text-decoration: underline 0.15em rgba(255, 88, 93, 1) !important;
  -webkit-text-decoration: underline 0.15em rgba(255, 88, 93, 1) !important;
}
.header-dropdown-title {
  position: absolute;
  top: -2rem;
  left: -1px;
  padding-left: 0.62rem;
  padding-right: 1rem;
  height: 2rem;
  font-size: 0.67rem;
  color: transparent;
  border-top: 1px solid var(--main-border-color);
  border-right: 1px solid var(--main-border-color);
  border-left: 1px solid var(--main-border-color);
  border-top-right-radius: 2px;
  border-top-left-radius: 2px;
  cursor: default;
  user-select: none;
}
.header-dropdown-title::after {
  position: absolute;
  bottom: -0.17rem;
  height: 0.67rem;
}
.header-dropdown-title:active,
.header-dropdown-title:focus,
.header-dropdown-title:hover {
  color: transparent;
}
.dropdown-container {
  display: flex;
  flex-direction: row;
}
#header-breadcrumb,
#header-support {
  align-items: center;
  top: 0;
  min-height: 32px;
  display: flex;
  position: absolute;
}
.header-button {
  font-size: 0.67rem;
  display: inline-block;
  box-sizing: border-box;
  font-weight: 600;
  transition: 110ms ease-in-out;
  border-radius: 100px;
  line-height: normal;
  cursor: pointer;
}
@media only screen and (max-width: 1070px) {
  .header-button,
  .header-dropdown-title,
  .header-item {
    font-size: 0.55rem;
    letter-spacing: 0.015rem;
  }
}
.header-menu-heading,
.section-source {
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  line-height: normal;
}
.header-button-solid {
  padding: 0.67rem 1rem;
  background: #1e2851;
  color: #fff !important;
}
.header-button-solid:focus,
.header-button-solid:hover {
  background: var(--main-red);
}
.header-button-border {
  padding: 0.52rem 0.85rem;
  border: 0.15rem solid #1e2851;
  color: #1e2851 !important;
  margin-left: 0.34rem;
}
.header-button-border:focus,
.header-button-border:hover {
  background: var(--main-red);
  border-color: var(--main-red);
  color: var(--main-body-bg-color) !important;
}
#header-breadcrumb {
  left: 0;
  font-size: 0.5rem;
  line-height: normal;
  color: #fff;
}
#header-breadcrumb a {
  color: #fff;
  font-weight: 600;
}
@media only screen and (max-width: 900px) {
  #header-breadcrumb {
    display: none;
  }
}
#header-support {
  right: 0;
  font-weight: 600;
  font-size: 0.5rem;
  line-height: normal;
}
@media only screen and (max-width: 1299px) {
  #header-breadcrumb {
    left: 5%;
  }
  #header-support {
    right: 5%;
  }
}
#support-available {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0.34rem 0.67rem;
  background: var(--main-body-bg-color);
  border: 1px solid var(--main-border-color);
  border-top: none;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  pointer-events: none;
}
#support-available::after {
  position: absolute;
  top: -0.17rem;
  height: 0.34rem;
}
.support-light {
  background: #39c86a;
  height: 10px;
  width: 10px;
  margin-right: 5px;
  margin-bottom: 1px;
  border-radius: 100px;
  animation: 3s ease-in-out infinite support-light;
}
@keyframes support-light {
  0%,
  100%,
  70% {
    opacity: 1;
  }
  90% {
    opacity: 0;
  }
}
.support-locale {
  margin-right: 0.34rem;
  margin-left: 0.67rem;
  pointer-events: none;
  height: 15px;
  width: 22px;
}
.breadcrumb-separator,
.support-separator {
  height: 1rem;
  width: 1px;
  background: var(--main-border-color);
  margin-right: 0.67rem;
  margin-left: 0.67rem;
}
.visible-sm {
  display: none;
}
@media only screen and (max-width: 400px) {
  .visible-sm {
    display: initial;
  }
}
.header-menu-heading {
  margin-top: 0;
  margin-bottom: 0.67rem !important;
  font-size: 0.5rem;
  pointer-events: none;
  color: var(--main-light-blue);
  user-select: none;
}
.section-source {
  color: var(--main-red);
  font-size: 0.6rem;
  margin-bottom: 0;
}
#solution-hillsong {
  background: url(https://resi.io/wp-content/themes/resi/img/nav/concert.webp);
  background-size: cover;
  margin: -1px;
  border-top-right-radius: 2px;
  border-bottom-right-radius: 2px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-align: center;
}
#solution-webinar {
  background: url(https://resi.io/wp-content/themes/resi/img/nav/digital-church-webinar.webp);
  background-size: cover;
  margin: -1px;
  border-top-right-radius: 2px;
  border-bottom-right-radius: 2px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-align: center;
}
#solution-bandwidth-test .section-content,
#solution-hillsong .section-content,
#solution-webinar .section-content {
  margin-top: 0.34rem;
  margin-bottom: 1rem;
}
#solution-hillsong .section-content,
#solution-hillsong a,
#solution-webinar .section-content,
#solution-webinar a {
  color: var(--main-body-bg-color);
  line-height: 1rem;
  font-size: 0.6rem;
}
#solution-hillsong a:hoverm #solution-webinar a:hover {
  color: var(--main-red);
}
#solution-bandwidth-test .section-source,
#solution-bandwidth-test a:hover,
#solution-hillsong .section-source,
#solution-webinar .section-source,
.fancy-anchor:hover + .fancy-anchor-content p,
.menu-hardware-anchor:hover ~ p {
  color: var(--main-red);
}
#solution-bandwidth-test {
  background: var(--main-dark-blue);
  margin: -1px;
  border-top-right-radius: 2px;
  border-bottom-right-radius: 2px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
#solution-bandwidth-test .section-content,
#solution-bandwidth-test a {
  color: var(--main-body-bg-color);
  line-height: 1rem;
}
.menu-section {
  position: relative;
  min-width: 230px;
  padding: 0.67rem;
  border-right: 1px solid var(--main-border-color);
}
.menu-section:last-of-type,
.menu-section:only-child {
  border: none;
}
.menu-section > .anchor-small {
  line-height: normal;
}
.menu-sub-section {
  width: 100%;
  padding: 0.67rem;
  border-top: 1px solid var(--main-border-color);
}
.menu-section-decor {
  pointer-events: none;
  position: absolute;
  right: 0;
  bottom: 0;
  max-width: 80px;
  width: 50%;
  user-select: none;
}
.fancy-anchor-container {
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: row;
  margin-bottom: 0.67rem;
}
.fancy-anchor-container:last-of-type {
  margin-bottom: 0;
}
.fancy-anchor-container img {
  height: 1.67rem;
  width: 1.67rem;
  margin-right: 0.5rem;
  z-index: 2;
}
.fancy-anchor-container::before {
  position: absolute;
  content: "";
  height: 1.4rem;
  width: 1.4rem;
  margin: 0.075rem;
  background: var(--main-light-blue);
  z-index: 1;
  transition: background 110ms ease-in-out;
}
.fancy-anchor-container::after,
.menu-hardware-section::after {
  content: "";
  position: absolute;
  border-top-right-radius: 2px;
  background: var(--main-body-bg-color);
  transition: background 110ms ease-in-out;
}
.fancy-anchor-container:hover::after,
.fancy-anchor-container:hover::before,
.menu-hardware-section:hover::after {
  background: var(--main-red);
}
.fancy-anchor-container::after {
  top: 0;
  left: -0.67rem;
  width: 0.17rem;
  height: 100%;
  border-bottom-right-radius: 2px;
}
.fancy-anchor-heading,
.menu-features-anchor,
.menu-hardware-title {
  margin-top: 0;
  margin-bottom: 0;
  font-weight: 600;
  font-size: 0.58rem;
  line-height: 0.8rem;
  color: var(--main-text-color);
  letter-spacing: 0.015rem;
}
.menu-hardware-title {
  margin-top: 0.34rem;
}
.fancy-anchor,
.menu-hardware-anchor {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
}
.fancy-anchor-content p,
.menu-hardware-heading,
.menu-hardware-title {
  transition: color 110ms ease-in-out;
}
.menu-hardware-container {
  display: flex;
  flex-direction: column;
}
.menu-hardware-section {
  /* width: 50%; */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: relative;
  margin: 0 0 0.6rem 0;
}
.menu-hardware-section::after {
  bottom: -0.67rem;
  left: 0;
  height: 0.17rem;
  width: 100%;
  border-top-left-radius: 2px;
}
.menu-hardware-ray {
  width: 60px;
  height: 60px;
  display: block;
  margin: 0 auto;
}
.menu-hardware-server-grade {
  min-height: 60px;
}
.menu-hardware-heading {
  margin-top: 0.67rem;
  margin-bottom: 0;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.5rem;
  line-height: normal;
  pointer-events: none;
  color: var(--main-text-color);
}
.menu-button {
  margin-left: 0.67rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.menu-button img {
  height: 30px;
  padding: 5px;
}
#close-mobile-nav-container {
  display: none;
}
.site-navigation-visible {
  display: block !important;
}
::selection {
  background-color: var(--main-red);
  color: var(--main-body-bg-color);
}
@media only screen and (min-width: 880px) {
  #mobile-navigation {
    display: none;
  }
}
@media only screen and (max-width: 881px) {
  #mobile-navigation {
    display: block;
  }
  #mobile-navigation ul {
    padding-left: 0;
  }
  #mobile-navigation .header-item {
    /* padding: 0 0 0 0.67rem; */
    margin-left: 0.34rem;
    padding: 0.52rem 0.85rem;
    border: 0.15rem solid #1e2851;
    border-radius: 100px;
  }
  #site-navigation {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 999;
    display: none;
    box-shadow: 0 0.67rem 1rem rgb(2 2 3 / 28%);
    /* overflow: scroll; */
    overflow-y: auto;
  }
  #site-navigation ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    align-content: flex-start;
    padding: 0;
  }
  #site-navigation > ul li {
    width: 100%;
  }
  .header-dropdown,
  .header-dropdown-title,
  .menu-hidden-mobile {
    display: none;
  }
  .header-dropdown-content {
    display: block;
    position: relative;
    margin: 0;
    border-top: none;
    border-right: none;
    border-left: none;
    box-shadow: none;
  }
  .menu-section {
    width: 100%;
    min-width: 100%;
    border-right: none;
  }
  .menu-section ~ .menu-section,
  .menu-section {
    display: block !important;

    /* Add a top border to separate sections visually */
    border-top: 1px solid #999999;
    border-right: none;
  }
  /* Stack the sections vertically */
  .dropdown-container {
    flex-direction: column;
  }

  .menu-section:last-of-type,
  .menu-section:only-child {
    border-top: ridge;
  }
  img.menu-section-decor,
  a.menu-features-anchor,
  div#solution-bandwidth-test {
    display: none !important;
  }
  .menu-hardware-container {
    flex-wrap: wrap;
    justify-content: center;
  }
  .menu-hardware-title {
    margin-top: 0.34rem !important;
    margin-bottom: 0.34rem !important;
  }
  .menu-hardware-section {
    width: 200px;
  }
  .menu-hardware-section::after {
    content: none;
  }
  .fancy-anchor-container {
    margin-bottom: 0.17rem;
  }
  #close-mobile-nav-container {
    display: block;
    position: absolute;
    right: 5%;
    top: 0;
    height: 100%;
    z-index: 3;
    pointer-events: none;
    padding-bottom: 1rem;
  }
  #close-mobile-nav {
    position: sticky;
    top: 36px;
    pointer-events: all;
  }
  #close-mobile-nav img {
    width: 30px;
    height: 30px;
    padding: 5px;
    border: 1px solid var(--main-border-color);
    border-radius: 100px;
    background: var(--main-body-bg-color);
    transition: border 110ms ease-in-out;
    cursor: pointer;
  }
  #close-mobile-nav img:hover {
    border: 1px solid var(--main-light-blue);
  }
  .header-menu-heading:not(:first-of-type) {
    margin-top: 0.67rem;
  }
}
.admin-bar .site-header {
  top: 32px;
}
@media screen and (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}
@media screen and (max-width: 600px) {
  .admin-bar .site-header {
    top: 0;
  }
  .admin-bar .site-header-placeholder {
    margin-top: -46px;
  }
}

@media (max-width: 420px) {
  #mobile-navigation .header-item {
    display: none;
  }
}
