import styled from "styled-components";
export const BurgerWrapper = styled.button(({ opened }) => `

  width: 22px;
  height: 16px;
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;

  outline: none;

  z-index: 11;

  ::before {
    content: "";
    display: block;
    width: 100%;
    height: 2px;

    background: #002445;

    transition: all 0.2s;
    ${opened
    ? "transform: translateY(0.46875vw) rotate(45deg); opacity: 0;"
    : ""}
  }

  ${Line} {
    ${opened ? `transform: rotate(45deg);` : ``}}
  }

  ::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background: #002445;

    transition: all 0.2s;
    ${opened ? "transform: translateY(-6px) rotate(-45deg);" : ""}
  }

  @media (max-width: 767px) {
    width: 22px;
    height: 14px;
  }
`);
export const Wrapper = styled.div `
  position: relative;
  margin-left: 55px;

  &.ui-header__burger--eqlab {
    ${BurgerWrapper} {
      display: none;
    }
  }

  .ui-header__burger-list {
    width: 180px;
    right: 0;
    left: unset;
    padding-bottom: 15px;
    margin-left: 0;
    visibility: visible;
  }

  @media (max-width: 767px) {
    &.ui-header__burger--eqlab {
      ${BurgerWrapper} {
        display: block;
      }
    }
  }
`;
export const Line = styled.span `
  margin: 4px 0;
  display: block;
  width: 100%;
  height: 2px;
  background: #002445;

  transition: 0.2s;
`;
//# sourceMappingURL=styled.js.map