@import 'src/styles/variables';

.header {
  grid-area: header;
  display: block;
  box-sizing: border-box;
  text-align: left;
  background-color: var(--color-white);

  &_wrapper {
    display: block;
    width: calc(100vw - 258px);
    padding: 20px 47px 20px 24px;
    box-sizing: border-box;
    text-align: right;
  }

  &_title {
    float: left;
    font-size: 24px;
    font-weight: 100;
    display: inline-block;
    margin: 0;
    color: var(--color-black);
  }

  &_print,
  &_lang,
  &_setting {
    display: inline-block;
    width: 24px;
    height: 24px;
    padding: 0;
    margin: 4px 24px 0 0;
    cursor: pointer;
    user-select: none;
    vertical-align: top;
  }

  &_setting {
    margin: 4px 0 0;
  }

  &_print {
    margin: 4px 24px 0 0;
  }

  &_lang {
    width: 80px;
    height: 32px;
    padding: 0;
    margin: 0 24px 0 0;
  }

  &_with_tab {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;

    padding: 0;
    background-color: var(--color-white);
  }
}

@media (max-width: 1000px) {
  .header_wrapper {
    width: calc(100vw - 78px);
  }
}

@media (max-width: 700px) {
  .header {
    &_print,
    &_setting {
      display: none;
    }
  }
}

@media print {
  .header {
    display: none;
  }
}
