@charset "UTF-8";

#header-wrapper {
  margin-bottom: 50px;
  position: relative;
  z-index: 105;

  .pane-header {
    position: fixed;
    z-index: 120;
    top: 0;
    left: 0;
    height: 50px;
    opacity: 1;

    .block-header {
      position: fixed;
      background: var( --col_Background );
      display: table;
      width: 100%;
      z-index: 120;
      box-shadow: 0 0 3px #00000033;
      transition: .3s;

      &:has(.block-menu-btn.active) {
        box-shadow: none;
      }

      &.active {
        &::after {
          opacity: 1;
        }
      }

      &.DownMove {
        position: fixed;
        margin-top: 0;
      }
      &.UpMove {
        position: fixed;
        margin-top: -50px;
        opacity: 0;
      }
    }
  }
}

.wrapper > main.pane-main {
  top: 0;
  min-height: 400px;
  padding: 0 12px 52px;
  position: relative;

  & .block-topic-path:last-child:not(:first-child) {
    margin: 20px -12px 0 !important;
  }

  & & {
    margin: 0;
    padding: 0;
  }
}

.pane-globalnav {
  background-color: #444;
  color: #fff;
}

.pane-order-header {
  height: 50px;
  border-bottom: 2px solid #666;
}
