/* Original masthead rules copied from the retained theme and site settings. */
.site-header {
  display: block;
  position: absolute;
  width: 100%;
  height: 150px;
  z-index: 9999;
  margin-bottom: 100px;
  background-color: transparent;
  -webkit-transition: background-color 0.6s ease 0.5s;
  -o-transition: background-color 0.6s ease 0.5s;
  transition: background-color 0.6s ease 0.5s;
}
.site-header.light.sticked {
  background-color: rgba(19, 19, 19, 1);
}
.site-header.dark.sticked {
  background-color: #fff;
}
.site-header.fullscreen_menu::before {
  content: "";
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  background: #f1f1f1;
  width: 100%;
  height: 0%;
  -webkit-transition: all 0.75s cubic-bezier(0.25, 0.74, 0.22, 0.99);
  -o-transition: all 0.75s cubic-bezier(0.25, 0.74, 0.22, 0.99);
  transition: all 0.75s cubic-bezier(0.25, 0.74, 0.22, 0.99);
}
.site-header.anim_start .site-header.fullscreen_menu::before {
  height: 100%;
}
.site-header.fullscreen_menu.menu-has-open::before {
  height: 75%;
}
.site-header.fullscreen_menu::after {
  display: block;
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 100%;
  content: "";
  background-color: #00000063;
  z-index: -2;
  left: 0;
  opacity: 0;
  visibility: hidden;
  -webkit-transition:
    opacity 0.4s ease,
    visibility 0.4s ease;
  -o-transition:
    opacity 0.4s ease,
    visibility 0.4s ease;
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease;
  pointer-events: none;
}
.site-header.fullscreen_menu.menu-has-open::after {
  opacity: 1;
  visibility: visible;
}
.header-wrapper {
  position: absolute;
  left: 50%;
  top: 60%;
  width: 100%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
@media only screen and (max-width: 992px) {
  .header-wrapper {
    max-width: 90% !important;
  }
}
@media only screen and (min-width: 992px) {
  .header-wrapper {
    max-width: 950px !important;
  }
}
@media only screen and (min-width: 1200px) {
  .header-wrapper {
    max-width: 1174px !important;
  }
}
@media only screen and (min-width: 1450px) {
  .header-wrapper {
    max-width: 1274px !important;
  }
}
@media only screen and (min-width: 1600px) {
  .header-wrapper {
    max-width: 1500px !important;
  }
}
.header-wrapper.menu-opened {
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  height: 84vh;
}
.site-header.header_sticked {
  position: fixed;
  top: 0;
  -webkit-transform: translateY(-100%);
  -ms-transform: translateY(-100%);
  transform: translateY(-100%);
  height: 100px;
  background: #ededed;
}
.site-header.header_sticked .header-wrapper {
  top: 45%;
}
.site-branding,
.menu-toggle,
.header-widgets {
  display: block;
  z-index: 999;
  position: absolute;
}
.site-branding {
  left: 5px;
  overflow: hidden;
}
.menu-toggle {
  left: 25%;
}
@media only screen and (max-width: 900px) {
  .menu-toggle {
    left: unset;
    right: 0;
  }
}
.header-widgets {
  right: 5px;
}
.header-widget {
  display: block;
  float: left;
  margin: 0 30px;
}
.header-widget:last-child {
  margin-right: 0;
}
.site-logo {
  width: 90px;
  display: block;
  overflow: hidden;
}
.site-logo img {
  width: 100%;
  height: auto;
}
.site-header.light h2.site-title a,
.site-header.light p.site-description {
  color: #fff;
}
.menu a {
  text-decoration: none;
  color: #191b1d;
  display: block;
}
.site-header.light .menu a {
  color: #fff;
}
.site-navigation.fullscreen {
  position: fixed;
  width: 100%;
  height: 85%;
  top: 0;
  left: 0;
  z-index: 888;
}
.site-navigation.fullscreen .fs-menu-wrapper {
  display: block;
  width: 100%;
  position: fixed;
  height: 85%;
  top: 0;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
}
.site-navigation.fullscreen .fs-menu-wrapper {
  display: none;
}
.site-navigation.fullscreen .menu.main-menu > li.menu-item {
  font-size: 50px;
  line-height: 80px;
  font-weight: 700;
  letter-spacing: -0.06em;
  display: block;
  overflow: hidden;
  padding-bottom: 0;
}
.site-navigation.fullscreen .menu.main-menu > li.menu-item a {
  position: relative;
  display: inline-block;
  -webkit-transform: translateY(100%);
  -ms-transform: translateY(100%);
  transform: translateY(100%);
  color: rgba(25, 27, 29, 0.6);
  padding-right: 5px;
}
.site-navigation.fullscreen .menu.main-menu > li.menu-item a::before {
  content: attr(data-hover);
  position: absolute;
  left: 0;
  width: 100%;
  overflow: hidden;
  color: #191b1d;
  -webkit-transition: width 0.75s cubic-bezier(0.63, 0.03, 0.21, 1);
  -o-transition: width 0.75s cubic-bezier(0.63, 0.03, 0.21, 1);
  transition: width 0.75s cubic-bezier(0.63, 0.03, 0.21, 1);
  white-space: nowrap;
}
.site-navigation.fullscreen .menu.main-menu.hovered > li.menu-item a::before {
  width: 0%;
}
.site-navigation.fullscreen
  .menu.main-menu.hovered
  > li.menu-item
  a.hovered::before {
  width: 100%;
}
.site-navigation.fullscreen .menu.main-menu {
  position: fixed;
  left: 25%;
  right: 0;
  bottom: 15%;
  padding: 0;
}
.site-navigation.fullscreen ul.ulcol {
  -webkit-column-count: 2;
  -moz-column-count: 2;
  column-count: 2;
}
.sub-toggle {
  display: inline-block;
  position: relative;
  width: 20px;
  height: 20px;
  margin-left: 20px;
  top: -5px;
  cursor: pointer;
}
.sub-togg-line {
  position: absolute;
  width: 0%;
  height: 1px;
  background: #000;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  -webkit-transition:
    width 0.4s ease,
    -webkit-transform 0.5s ease 0.4s;
  transition:
    width 0.4s ease,
    -webkit-transform 0.5s ease 0.4s;
  -o-transition:
    width 0.4s ease,
    transform 0.5s ease 0.4s;
  transition:
    width 0.4s ease,
    transform 0.5s ease 0.4s;
  transition:
    width 0.4s ease,
    transform 0.5s ease 0.4s,
    -webkit-transform 0.5s ease 0.4s;
}
.has-sub-in .sub-togg-line {
  width: 100%;
}
.has-sub-in .sub-togg-line:nth-child(2) {
  -webkit-transform: translate(-50%, -50%) rotate(-90deg);
  -ms-transform: translate(-50%, -50%) rotate(-90deg);
  transform: translate(-50%, -50%) rotate(-90deg);
}
.menu-item.menu-item-has-children > a:hover > .sub-toggle {
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}
.sub-back {
  cursor: pointer;
  overflow: hidden;
  display: block;
  position: absolute;
  opacity: 0;
  left: 0;
  visibility: hidden;
  -webkit-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  transition: all 0.4s ease;
  font-size: 30px;
  top: 20%;
}
.sub-back.is-active {
  opacity: 0.4;
  visibility: visible;
}
.site-header.menu_dark .sub-back {
  color: #fff;
}
.sb-arrow-left {
  display: inline-block;
  border: solid #000;
  border-width: 1px 0 0 1px;
  padding: 5px;
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
  margin-left: 4px;
}
.sb-arrow-line {
  display: inline-block;
  width: 50px;
  height: 1px;
  background: #000;
  vertical-align: middle;
  margin-top: -3px;
  margin-left: -12px;
  -webkit-transition: width 0.3s ease;
  -o-transition: width 0.3s ease;
  transition: width 0.3s ease;
}
.sb-back-text {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  margin-left: 10px;
  display: inline-block;
  opacity: 0;
  -webkit-transform: translateY(-1px) translateX(20%);
  -ms-transform: translateY(-1px) translateX(20%);
  transform: translateY(-1px) translateX(20%);
  -webkit-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  transition: all 0.4s ease;
}
.sub-back:hover .sb-arrow-line {
  width: 25px;
}
.sub-back:hover .sb-back-text {
  opacity: 1;
  -webkit-transform: translateY(-1px) translateX(0);
  -ms-transform: translateY(-1px) translateX(0);
  transform: translateY(-1px) translateX(0);
}
.site-navigation.fullscreen ul ul {
  position: absolute;
  top: 0;
  left: 0;
  visibility: hidden;
  padding: 0;
  margin: 0;
}
.site-navigation.fullscreen ul ul li {
  overflow: hidden;
  font-size: 40px;
  line-height: 70px;
  letter-spacing: -0.06em;
  padding: 0;
  padding-right: 18px;
  white-space: nowrap;
}
.site-navigation.fullscreen ul ul li a {
  -webkit-transform: translateY(100%);
  -ms-transform: translateY(100%);
  transform: translateY(100%);
}
.site-navigation.fullscreen ul.hidden > li,
.site-navigation.fullscreen ul.hidden {
  visibility: hidden;
}
.site-navigation.fullscreen ul.opened > li,
.site-navigation.fullscreen ul.opened {
  visibility: visible;
}
.menu-widget {
  position: fixed;
  display: block;
}
.menu-widget-left {
  left: 0;
  bottom: 17%;
}
.menu-widget-right {
  right: 0;
  bottom: 8%;
}
.menu-toggle {
  height: 25px;
  cursor: pointer;
}
.menu-toggle.hidden {
  display: none;
}
.toggle-line {
  width: 50px;
  height: 1px;
  display: block;
  background: #191b1d;
  -webkit-transition: all 0.3s cubic-bezier(0.475, 0.425, 0, 0.995);
  -o-transition: all 0.3s cubic-bezier(0.475, 0.425, 0, 0.995);
  transition: all 0.3s cubic-bezier(0.475, 0.425, 0, 0.995);
  left: 0;
}
span.toggle-line:nth-child(2) {
  margin-top: 10px;
  -webkit-transition-delay: 0.1s;
  -o-transition-delay: 0.1s;
  transition-delay: 0.1s;
}
span.toggle-line:nth-child(1) {
  margin-top: 5px;
}
body.loading span.toggle-line {
  -webkit-transition: none !important;
  -o-transition: none !important;
  transition: none !important;
}
.menu-toggle.is-active .toggle-line:nth-child(1) {
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
.menu-toggle.is-active .toggle-line:nth-child(2) {
  -webkit-transform: rotate(-135deg);
  -ms-transform: rotate(-135deg);
  transform: rotate(-135deg);
  margin-top: 0;
}
.menu-toggle.is-active .toggle-line {
  width: 35px;
}
.site-navigation.fullscreen.menu-opened .fs-menu-wrapper {
  display: block;
}
.site-navigation.menu-opened {
  display: block;
}
.site-header.dark .light-logo,
.site-header.light .dark-logo {
  display: none;
}
.site-header.light .toggle-line {
  background: #fff;
}
.site-header.menu_dark.fullscreen_menu::before {
  background: #191b1d;
}
.site-header.menu_dark
  .site-navigation.fullscreen
  .menu.main-menu
  > li.menu-item
  a {
  color: hsla(0, 0%, 100%, 0.2);
}
.site-header.menu_dark
  .site-navigation.fullscreen
  .menu.main-menu
  > li.menu-item
  a::before {
  color: #fff;
}
.site-header.menu_dark .sub-togg-line {
  background: #fff;
}
.site-header.light .header-cta-but a {
  color: hsla(0, 0%, 100%, 0.4);
}
.site-header.light .header-cta-but a::before {
  background: #2b2e31;
}
.site-header.light .header-cta-but a::after {
  color: #fff;
}
.social-list {
  list-style: none;
  padding: 0;
}
.social-list li {
  font-size: 18px;
  line-height: 32px;
  padding: 0;
  margin-bottom: 10px;
}
.social-list li:last-child {
  margin-bottom: 0;
}
.social-list li a {
  text-decoration: none;
  color: rgba(25, 27, 29, 0.6);
  display: block;
  -webkit-transform-origin: 0 0;
  -ms-transform-origin: 0 0;
  transform-origin: 0 0;
  opacity: 0;
}
.site-header.menu_dark .social-list li a {
  color: hsla(0, 0%, 100%, 0.4);
}
.git-button a {
  text-decoration: none;
  color: #ebebeb;
  font-size: 50px;
  font-weight: 700;
  letter-spacing: -3px;
}
.git-button {
  -webkit-transform: rotate(90deg) translateY(50%) translateX(50%);
  -ms-transform: rotate(90deg) translateY(50%) translateX(50%);
  transform: rotate(90deg) translateY(50%) translateX(50%);
  display: block;
  -webkit-transform-origin: right;
  -ms-transform-origin: right;
  transform-origin: right;
  opacity: 0;
}
.site-header.menu_dark .git-button a {
  color: hsla(0, 0%, 100%, 0.2);
}
@media only screen and (max-width: 450px) {
  .site-branding {
    left: 0;
  }
  .site-header {
    height: 100px;
  }
  .header-widgets {
    display: none;
  }
  .site-navigation.fullscreen ul ul li {
    font-size: 25px;
    line-height: 40px;
  }
  .site-navigation.fullscreen ul.ulcol {
    -webkit-column-count: 1;
    -moz-column-count: 1;
    column-count: 1;
  }
  .site-navigation.fullscreen .menu.main-menu {
    left: 0;
    bottom: unset;
    top: 20%;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
  }
  .site-navigation.fullscreen .menu.main-menu > li.menu-item {
    font-size: 35px;
    line-height: 60px;
  }
  .site-navigation.fullscreen .fs-menu-wrapper {
    height: 100%;
  }
  .site-navigation.fullscreen {
    height: 100%;
  }
  .menu-widget-right,
  .menu-widget-left {
    bottom: 0;
  }
  .social-list li {
    display: inline-block;
    font-size: 15px;
    line-height: 20px;
    display: block;
  }
  .sub-toggle {
    width: 15px;
    height: 15px;
    margin-left: 10px;
    top: 0;
  }
  .sub-back {
    left: unset;
    top: 18%;
    transform: none;
    right: 0;
  }
  .site-navigation.fullscreen .menu.main-menu.hovered > li.menu-item a::before {
    width: 100%;
  }
}
@media (min-width: 450px) and (max-width: 900px) {
  .site-navigation.fullscreen .fs-menu-wrapper {
    height: 100%;
  }
  .header-wrapper.menu-opened {
    height: 100vh;
  }
  .site-navigation.fullscreen .menu.main-menu {
    bottom: unset;
    top: 20%;
    left: 0;
    width: 100%;
  }
  .site-navigation.fullscreen ul ul li {
    font-size: 30px;
    line-height: 55px;
    letter-spacing: -0.05em;
  }
}
.site-branding {
  left: 5px;
  top: -30px;
  overflow: hidden;
}
.site-logo {
  width: 200px;
}
.site-navigation.fullscreen .menu.main-menu > li.menu-item {
  font-size: 5vh;
  line-height: 5.5vh;
}
.site-navigation.fullscreen ul ul li {
  font-size: 5vh;
  line-height: 5.75vh;
}
.menu-widget-right {
  right: 0;
  bottom: 12%;
}
.sub-back.is-active {
  opacity: 0.4;
  visibility: visible;
  top: 15%;
}
.sub-back {
  font-size: 40px;
  top: 10%;
}
.site-header {
  height: 120px;
}
.site-logo img {
  height: 80px;
  width: 280px;
}
.site-navigation.fullscreen .menu.main-menu > li.menu-item {
  font-family: "Public Sans";
  font-weight: 800;
  font-style: normal;
}
.site-navigation.fullscreen .menu.main-menu > li.menu-item {
  font-family: "Public Sans";
  font-weight: normal;
  font-style: normal;
}
.site-navigation.fullscreen .menu.main-menu > li.menu-item {
  font-family: "Public Sans";
  font-weight: 700;
  font-style: normal;
}

/* Retained static-site fixes: full-height backdrop, native buttons and keyboard focus. */
button.menu-toggle,
button.sub-back {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
button.menu-toggle {
  position: absolute;
  display: block;
}
#masthead button:focus-visible,
#masthead a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 6px;
}
#masthead .sub-back {
  font-size: 40px;
}
@media (max-width: 900px) {
  #masthead .menu-widget-left {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  #masthead *,
  #masthead::before {
    transition: none !important;
  }
}

/* Preserve the original #page link colours within the semantic page's masthead. */
#masthead a {
  color: #fff;
}
#masthead a:hover {
  color: #e8e8e8;
}
#masthead a:active {
  color: #f2f2f2;
}
