.header {
  position: relative;
  .top {
    background-color: var(--white);
    .limiter {
      .logos {
      }
    }
  }
  .top {
    padding: 20px 0;
    .limiter {
      display: flex;
      flex-direction: row;
      align-items: center;
    }
    .logos {
      display: flex;
      flex-direction: row;
      align-items: center;
      gap: 40px;
      .fcs {
        width: 190px;
        height: 64px;
        background-repeat: no-repeat;
        background-position: center;
      }
      .minstroy {
        width: 155px;
        height: 64px;
        background-repeat: no-repeat;
        background-position: center;
      }
    }
    .menu {
      display: flex;
      flex-direction: row;
      align-items: center;
      gap: 24px;
      .icon {
        padding: 0;
        min-width: 24px;
        height: 24px;
        background-position: center;
        background-repeat: no-repeat;
        background-color: transparent;
        background-size: auto;
        transition: transform 0.2s;
        &:hover {
          transform: scale(1.5);
        }
      }
    }
  }
}




@media screen and (min-width: 961px){
  .header{
    .top{
      .limiter{
        .main-menu-btn{
          display: none;
          width: 24px;
          height: 24px;
        }
        .menu{
          margin-left: auto;
        }
      }
    }
    .bottom { 
      display: flex;
      flex-direction: row;
      flex-wrap: nowrap;
      justify-content: normal;
      align-items: stretch;
      align-content: stretch; 
      padding: 0 calc( (100% - 1300px) / 2);
      position: relative;
      .logo { 
        width:114px; 
        height: 80px;
        margin: 12px 24px 12px 40px;
        background-image: url('~src/assets/images/logo_vniigaz_1163x816.svg');
        background-size: contain;
        ;
      }
        .grid-menu{
          display: flex;
          .close{
            display: none;
          }
        }
        .main-menu {
          overflow: hidden;
          &.hidden {
            display: none;
          }
        }
        

      .ftr{
        display: none;
      }
      .right{
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
        align-content: stretch;
        flex-grow: 1;
        flex-shrink: 1;
        margin-right: 40px;
      }
    }
  }
  header-user-bar{
    position: absolute;
    right: 0;
    bottom: -96px;
  }
}




@media screen and (max-width: 960px) {

  .header {
    .top {
      padding: 12px 0;
      background-color: var(--grey-4);
      .limiter {
        display: flex;
        justify-content: space-between;
        padding: 0 24px;
        .main-menu-btn{
          flex-grow: 1;
          flex-basis: 40px;
          button{
            width: 48px;
            height: 48px;
            margin: 0 0 0 -12px;
            background: url('~src/assets/images/icons/burger_white_24dp.svg') no-repeat center;
          }
        }

        .logos {
          .minstroy {
            display: none;
          }
        }
        .menu {
          display: flex;
          justify-content: flex-end;
          align-items: center;
          flex-grow: 1;
          flex-basis: 40px;
          .goggles, .dial-pad, .search, .login{
            display: none;
          }
        }
      }
    }

    .showmobile{
      display:flex;
    }
    .hidemobile{
      display: none;
    }

    .bottom {
      position:fixed;
      align-items: flex-start;
      top:0;
      border: none;
      width: 100vw;
      z-index: 210;
      overflow-y:scroll;

      .grid-menu{
        width: 100%;
        min-height:100%;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: normal;
        align-items: stretch;
        align-content: normal;
        background-color: rgba(62, 61, 64, 0.70);
      }

      .limiter {
        display: block;
        flex-grow: 1;
        flex-shrink: 0;
        flex-basis: 360px;
        align-self: auto;
        order: 0;
        margin:0;
        background-color: #3E3D40;
        padding-left: 24px;
        padding-top: 16px;
        animation: slide-from-left 0.3s;
        .close{
          width: 24px;
          height: 24px;
          background: transparent;
          padding: 0;
          background:  url('~src/assets/images/icons/close_white_24dp.svg') center no-repeat;
        }
      }
    }
    .front{
      z-index: 210;
    }
    .back{
      
      display: block;
      flex-grow: 1;
      flex-shrink: 1;
      flex-basis: auto;
      align-self: stretch;
      flex-basis: 100vw;
    }
    .ftr{
      color: #FFF;
      font-family: Open Sans;
      font-size: 16px;
      font-style: normal;
      font-weight: 700;
      line-height: 24px;

      border-top: 1px solid rgba(255, 255, 255, 0.75);
      div{
        margin: 16px 0;
        cursor: pointer;
      }
    }
  }
}