.main-container {
  display: block;
  background-color: lightblue;
  height: 700px;
  max-width: 1200px;
  margin: 0 auto;
}

.list-default {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
}

.test-wrapper-for-header {
  display: block;
  width: 1200px;
  margin: 0 auto;
  padding: 0 !important;
}

.header-default {
  display: block;
  width: 100%;
  min-height: 60px;
  padding: 0 15px;
  background-color: #4064a6;
  color: #fff;
  position: relative;
  z-index: 140;
  font-size: 0;
}

.header-logo {
  display: inline-block;
  vertical-align: top;
  width: 100px;
}

.header-logo__name {
  font-size: 20px;
  margin: 0;
}

.header-logo__name-link {
  color: inherit;
  display: block;
  -webkit-transition: -webkit-transform 300ms;
  transition: -webkit-transform 300ms;
  -o-transition: transform 300ms;
  transition: transform 300ms;
  transition: transform 300ms, -webkit-transform 300ms;
  font-family: "PT Sans", sans-serif;
  font-weight: 700;
  padding: 18px 0;
}

.header-logo__name-link:hover,
.header-logo__name-link:active,
.header-logo__name-link:focus {
  outline: none;
  text-decoration: none;
  color: inherit;
  -webkit-transform: scale(1.05);
  -ms-transform: scale(1.05);
  transform: scale(1.05);
  -webkit-transition: -webkit-transform 300ms;
  transition: -webkit-transform 300ms;
  -o-transition: transform 300ms;
  transition: transform 300ms;
  transition: transform 300ms, -webkit-transform 300ms;
}

.header-user {
  float: right;
  width: 400px;
  text-align: right;
}

.header-menu {
  display: inline-block;
  vertical-align: top;
  width: 650px;
}

.header-menu-burger {
  font-size: 0;
}

.header-menu-burger.show-menu {
  border-width: 1px;
  border-style: dashed;
  border-color: rgba(225, 231, 235, 0.2);
  -webkit-transition: border 300ms;
  -o-transition: border 300ms;
  transition: border 300ms;
}

.header-menu-burger.show-menu .header-menu-burger__btn {
  background-color: transparent;
}

.header-menu-burger.show-menu .header-menu-burger__btn::before,
.header-menu-burger.show-menu .header-menu-burger__btn::after {
  background-color: #E1E7EB;
}

.header-menu-burger.show-menu .header-menu-burger__btn::before {
  -webkit-transform: translateY(8px) rotate(45deg);
  -ms-transform: translateY(8px) rotate(45deg);
  transform: translateY(8px) rotate(45deg);
}

.header-menu-burger.show-menu .header-menu-burger__btn::after {
  -webkit-transform: translateY(-8px) rotate(-45deg);
  -ms-transform: translateY(-8px) rotate(-45deg);
  transform: translateY(-8px) rotate(-45deg);
}

.header-menu-burger.show-menu + .list-header-menu {
  display: block;
}

.header-menu-burger.show-menu .header-menu-burger__title {
  color: #E1E7EB;
  -webkit-transition: color 300ms;
  -o-transition: color 300ms;
  transition: color 300ms;
}

.header-menu-burger__title {
  display: none;
  -webkit-transition: color 300ms;
  -o-transition: color 300ms;
  transition: color 300ms;
}

.header-menu-burger__wrapper {
  display: none;
}

.list-header-menu {
  font-size: 0;
  display: inline-block;
  vertical-align: top;
}

.list-header-menu__item {
  display: inline-block;
  vertical-align: top;
  font-size: 12px;
}

.list-header-menu__item-link {
  display: table-cell;
  vertical-align: middle;
  height: 60px;
  color: inherit;
  background-color: transparent;
  font-size: 15px;
  padding: 0 12px;
  -webkit-transition: color 300ms, background-color 300ms;
  -o-transition: color 300ms, background-color 300ms;
  transition: color 300ms, background-color 300ms;
}

.list-header-menu__item-link:hover,
.list-header-menu__item-link:active,
.list-header-menu__item-link:focus {
  outline: none;
  text-decoration: none;
  background-color: #4472CA;
  color: inherit;
  color: rgba(255, 255, 255, 0.6);
  -webkit-transition: color 300ms, background-color 300ms;
  -o-transition: color 300ms, background-color 300ms;
  transition: color 300ms, background-color 300ms;
}

.list-header-menu__item-title {
  display: table-cell;
  vertical-align: middle;
  height: 60px;
  color: inherit;
  background-color: transparent;
  font-size: 15px;
  padding: 0 18px 0 12px;
  -webkit-transition: color 300ms, background-color 300ms;
  -o-transition: color 300ms, background-color 300ms;
  transition: color 300ms, background-color 300ms;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  position: relative;
}

.list-header-menu__item-title:after {
  content: "";
  position: absolute;
  top: 50%;
  right: 3px;
  display: block;
  width: 12px;
  height: 12px;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  background-image: url("../img/icon__caret-down.png");
  background-image: url("../img/icon__caret-down.svg");
  background-repeat: no-repeat;
  -webkit-background-size: 8px 8px;
  background-size: 8px 8px;
  background-position: center;
  -webkit-transition: -webkit-transform 300ms;
  transition: -webkit-transform 300ms;
  -o-transition: transform 300ms;
  transition: transform 300ms;
  transition: transform 300ms, -webkit-transform 300ms;
}

.list-header-menu__item-title:hover,
.list-header-menu__item-title:active,
.list-header-menu__item-title:focus {
  outline: none;
  text-decoration: none;
  background-color: #4472CA;
  color: inherit;
  color: rgba(255, 255, 255, 0.6);
  -webkit-transition: color 300ms, background-color 300ms;
  -o-transition: color 300ms, background-color 300ms;
  transition: color 300ms, background-color 300ms;
}

.list-header-menu__item-title:hover:after,
.list-header-menu__item-title:active:after,
.list-header-menu__item-title:focus:after {
  -webkit-transform: translateY(-70%);
  -ms-transform: translateY(-70%);
  transform: translateY(-70%);
  -webkit-transition: -webkit-transform 300ms;
  transition: -webkit-transform 300ms;
  -o-transition: transform 300ms;
  transition: transform 300ms;
  transition: transform 300ms, -webkit-transform 300ms;
}

.list-header-menu__item--dropdown {
  position: relative;
}

.list-header-menu__item--user {
  display: none;
}

.list-header-menu__item--user .header-user-menu__username {
  display: block;
  font-size: 0;
  max-width: 320px;
  overflow: hidden;
}

.list-header-menu__item--user .header-user-menu__avatar {
  display: inline-block;
  vertical-align: top;
  width: 48px;
  height: 48px;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  margin-right: 4px;
}

.list-header-menu__item--user .header-user-menu__login {
  display: inline-block;
  vertical-align: top;
  font-size: 15px;
  line-height: 48px;
  color: #fff;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  max-width: 230px;
  overflow: hidden;
  white-space: nowrap;
}

.list-header-menu__item--user .header-user-menu__login:hover,
.list-header-menu__item--user .header-user-menu__login:active,
.list-header-menu__item--user .header-user-menu__login:focus {
  text-decoration: none;
  outline: none;
  color: #fff;
}

.list-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  font-size: 12px;
  min-width: 160px;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.175);
  -webkit-border-bottom-left-radius: 4px;
  border-bottom-left-radius: 4px;
  -webkit-border-bottom-right-radius: 4px;
  border-bottom-right-radius: 4px;
  border-top: none;
  -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  padding: 4px 0;
}

.list-dropdown-menu__header {
  color: #717A84;
  font-size: 12px;
  line-height: 14px;
  padding: 6px 8px 0 8px;
}

.list-dropdown-menu__header-title {

}

.list-dropdown-menu__item-divider {
  display: block;
  width: 100%;
  margin: 4px 0;
  border-top: 1px dashed #CED3DC;
}

.list-dropdown-menu__item-link {
  display: block;
  white-space: nowrap;
  padding: 6px 8px;
  font-size: 15px;
  color: #000;
}

.list-dropdown-menu__item-link:hover,
.list-dropdown-menu__item-link:active,
.list-dropdown-menu__item-link:focus {
  text-decoration: none;
  color: #000;
  background-color: #f5f5f5;
}

.header-user-auth {
  float: right;
  width: 230px;
  text-align: right;
}

.header-user-login {
  display: inline-block;
  vertical-align: top;
}

.header-user-registration {
  display: inline-block;
  vertical-align: top;
}

.header-btn {
  display: inline-block;
  vertical-align: top;
  font-size: 15px;
  background-color: transparent;
  border: none;
  outline: none;
  padding: 0 8px;
  font-size: 15px;
  line-height: 60px;
  margin: 0;
  color: inherit;
}

.header-btn:hover,
.header-btn:active,
.header-btn:focus {
  text-decoration: none;
  outline: none;
  color: rbga(255, 255, 255, 0.6);
}

.header-btn--login {
  background-color: #58B4AB;
}

.header-btn--login:hover,
.header-btn--login:active,
.header-btn--login:focus {
  color: #fff;
  background-color: #32B9B5;
}

.header-btn--reg {
  background-color: #E96463;
}

.header-btn--reg:hover,
.header-btn--reg:active,
.header-btn--reg:focus {
  color: #fff;
  background-color: #C2390D;
}

.header-user-notify {
  display: inline-block;
  vertical-align: top;
}

.header-user-notify__item {
  display: inline-block;
  vertical-align: top;
  margin-right: 10px;
  padding-top: 14px;
}

.header-user-notify__item i {
  font-style: normal;
}

.header-user-lamp {
  display: inline-block;
  vertical-align: top;
  width: 30px;
  height: 30px;
  background-image: url("../img/icon__lamp-businka.png");
  background-image: url("../img/icon__lamp-businka.svg");
  -webkit-background-size: 30px 30px;
  background-size: 30px 30px;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  margin-right: 15px;
}

.header-user-lamp a {
  position: absolute;
  top: -8px;
  left: 0;
  display: block;
  min-width: 45px;
  height: 45px;
  font-size: 12px;
  line-height: 18px;
  text-align: right;
  padding: 4px 11px 0 0;
  color: white;

  z-index: 20;
}

.header-user-lamp a:after {
  content: "";
  position: absolute;
  top: 3px;
  right: 7px;
  width: 25px;
  height: 19px;
  background-color: rgba(247, 0, 68, 0.9);
  -webkit-border-radius: 4px;
  border-radius: 4px;
  z-index: -1;
}

.header-user-lamp a:hover,
.header-user-lamp a:active,
.header-user-lamp a:focus {
  outline: none;
  text-decoration: none;
  color: #fff;
}

.header-user-lamp__counter {
  position: absolute;
  top: -4px;
  right: -10px;
  display: block;
  min-width: 25px;
  height: 18px;
  font-size: 12px;
  line-height: 18px;
  background-color: rgba(247, 0, 68, 0.9);
  text-align: center;
  -webkit-border-radius: 4px;
  border-radius: 4px;
}

.header-user-mail {
  display: inline-block;
  vertical-align: top;
  width: 30px;
  height: 30px;
  background-image: url("../img/icon__mail.png");
  background-image: url("../img/icon__mail.svg");
  -webkit-background-size: 30px 30px;
  background-size: 30px 30px;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  margin-right: 15px;
}

.header-user-mail__counter {
  position: absolute;
  top: -4px;
  right: -10px;
  display: block;
  min-width: 25px;
  height: 18px;
  font-size: 12px;
  line-height: 18px;
  background-color: rgba(99, 185, 49, 0.9);
  text-align: center;
  -webkit-border-radius: 4px;
  border-radius: 4px;
}

.header-user-tracker {
  display: inline-block;
  vertical-align: top;
  width: 30px;
  height: 30px;
  background-image: url("../img/icon__tracker.png");
  background-image: url("../img/icon__tracker.svg");
  -webkit-background-size: 30px 30px;
  background-size: 30px 30px;
  background-repeat: no-repeat;
  background-position: center;
}

.header-user-menu {
  display: inline-block;
  vertical-align: top;
  position: relative;
  padding: 18px 18px 18px 10px;
}

.header-user-menu:after {
  content: "";
  position: absolute;
  top: 50%;
  right: 3px;
  display: block;
  width: 12px;
  height: 12px;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  background-image: url("../img/icon__caret-down.png");
  background-image: url("../img/icon__caret-down.svg");
  background-repeat: no-repeat;
  -webkit-background-size: 8px 8px;
  background-size: 8px 8px;
  background-position: center;
  -webkit-transition: -webkit-transform 300ms;
  transition: -webkit-transform 300ms;
  -o-transition: transform 300ms;
  transition: transform 300ms;
  transition: transform 300ms, -webkit-transform 300ms;
}

.header-user-menu:hover {
  outline: none;
  text-decoration: none;
  background-color: #4472CA;
  color: inherit;
  color: rgba(255, 255, 255, 0.6);
  -webkit-transition: color 300ms, background-color 300ms;
  -o-transition: color 300ms, background-color 300ms;
  transition: color 300ms, background-color 300ms;
}

.header-user-menu:hover .list-user-menu {
  display: block;
}

.header-user-menu:hover:after {
  -webkit-transform: translateY(-70%);
  -ms-transform: translateY(-70%);
  transform: translateY(-70%);
  -webkit-transition: -webkit-transform 300ms;
  transition: -webkit-transform 300ms;
  -o-transition: transform 300ms;
  transition: transform 300ms;
  transition: transform 300ms, -webkit-transform 300ms;
}

.header-user-menu__username {
  display: block;
  font-size: 0;
  max-width: 150px;
  overflow: hidden;
}

.header-user-menu__avatar {
  display: inline-block;
  vertical-align: top;
  width: 24px;
  height: 24px;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  margin-right: 4px;
}

.header-user-menu__login {
  display: inline-block;
  vertical-align: top;
  font-size: 12px;
  line-height: 24px;
  color: #fff;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  max-width: 122px;
  overflow: hidden;
  white-space: nowrap;
}

.header-user-menu__login:hover,
.header-user-menu__login:active,
.header-user-menu__login:focus {
  text-decoration: none;
  outline: none;
  color: #fff;
}

.list-user-menu {
  position: absolute;
  top: 100%;
  right: 0;
  display: none;
  font-size: 12px;
  min-width: 120px;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.175);
  -webkit-border-bottom-left-radius: 4px;
  border-bottom-left-radius: 4px;
  -webkit-border-bottom-right-radius: 4px;
  border-bottom-right-radius: 4px;
  border-top: none;
  -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  padding: 4px 0;
}

.list-user-menu__item {
  display: block;
}

.list-user-menu__item-link {
  display: block;
  white-space: nowrap;
  padding: 6px 8px;
  font-size: 15px;
  color: #000;
}

.list-user-menu__item-link:hover,
.list-user-menu__item-link:active,
.list-user-menu__item-link:focus {
  text-decoration: none;
  color: #000;
  background-color: #f5f5f5;
}

@media only screen and (min-width: 1201px) {
  .list-header-menu__item--dropdown:hover .list-dropdown-menu,
  .list-header-menu__item--dropdown:active .list-dropdown-menu,
  .list-header-menu__item--dropdown:focus .list-dropdown-menu {
    display: block;
  }
}

@media only screen and (max-width: 1200px) {
  .test-wrapper-for-header {
    width: 100%;
  }

  .header-default {
    text-align: right;
  }

  .header-logo {
    text-align: left;
    float: left;
  }

  .header-user {
    display: inline-block;
    vertical-align: top;
    float: none;
    width: auto;
  }

  .header-menu {
    width: auto;
    position: relative;
    margin-left: 15px;
  }

  .header-menu-burger__btn {
    position: relative;
    margin-top: 8px;
    margin-bottom: 8px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }

  .header-menu-burger__btn,
  .header-menu-burger__btn::before,
  .header-menu-burger__btn::after {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #fff;
    outline: 1px solid transparent;
    -webkit-transition-property: background-color, -webkit-transform;
    -o-transition-property: background-color, -o-transform;
    transition-property: background-color, -webkit-transform;
    -o-transition-property: background-color, transform;
    transition-property: background-color, transform;
    transition-property: background-color, transform, -webkit-transform;
    -webkit-transition-duration: 0.3s;
    -o-transition-duration: 0.3s;
    transition-duration: 0.3s;
  }

  .header-menu-burger__btn::before,
  .header-menu-burger__btn::after {
    position: absolute;
    content: "";
  }

  .header-menu-burger__btn::before {
    top: -8px;
  }

  .header-menu-burger__btn::after {
    top: 8px;
  }

  .header-menu-burger {
    margin: 6px 0;
    padding: 14px 12px;
    display: inline-block;
    vertical-align: top;
    border-width: 1px;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.2);
    -webkit-transition: border 300ms;
    -o-transition: border 300ms;
    transition: border 300ms;
  }

  .header-menu-burger__title {
    display: inline-block;
    vertical-align: top;
    font-size: 15px;
    margin-right: 8px;
    margin-top: -2px;
  }

  .header-menu-burger__wrapper {
    display: inline-block;
    vertical-align: top;
  }

  .list-header-menu {
    position: absolute;
    top: 60px;
    right: 0;
    min-width: 320px;
    padding-bottom: 15px;
    display: none;
    background-color: #4064a6;
    z-index: 80;
  }

  .list-header-menu__item {
    width: 100%;
    padding: 0 10px;
  }

  .list-header-menu__item-link {
    display: block;
    height: auto;
    font-size: 18px;
    line-height: 1.2em;
    width: 100%;
    padding: 12px 6px;
    text-align: left;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  .list-header-menu__item-title {
    display: block;
    height: auto;
    font-size: 18px;
    line-height: 1.2em;
    width: 100%;
    padding: 12px 6px;
    text-align: left;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  .list-header-menu__item-title:after {
    right: 4px;
  }

  .list-header-menu__item-title:hover,
  .list-header-menu__item-title:active,
  .list-header-menu__item-title:focus {
    background-color: transparent;
  }

  .list-header-menu__item-title.show-dropdown + .list-dropdown-menu {
    display: block;
  }

  .list-header-menu__item--user {
    display: block;
  }

  .list-dropdown-menu {
    position: static;
    background-color: inherit;
    -webkit-box-shadow: none;
    box-shadow: none;
    border: none;
    -webkit-border-radius: none;
    border-radius: none;
    color: inherit;
  }

  .list-dropdown-menu__header {
    font-size: 13px;
    line-height: 15px;
    color: #DADCDB;
    text-align: left;
    padding: 13px 8px 8px 6px;
  }

  .list-dropdown-menu__item-divider {
    display: none;
  }

  .list-header-menu .bg-warning {
    background-color: rgba(251,183,49,0.8);
  }

  .list-header-menu .bg-warning:hover,
  .list-header-menu .bg-warning:active,
  .list-header-menu .bg-warning:focus {
    background-color: rgba(251,183,49,0.92);
  }

  .list-header-menu .bg-info {
    background-color: rgba(157,215,213,0.85);
  }

  .list-header-menu .bg-info:hover,
  .list-header-menu .bg-info:active,
  .list-header-menu .bg-info:focus {
    background-color: rgba(157,215,213,0.74);
  }

  .list-header-menu .bg-success {
    background-color: rgba(126,188,89,1);
  }

  .list-header-menu .bg-success:hover,
  .list-header-menu .bg-success:active,
  .list-header-menu .bg-success:focus {
    background-color: rgba(126,188,89,0.9);
  }

  .list-header-menu .bg-danger {
    background-color: rgba(252,100,83,1);
  }

  .list-header-menu .bg-danger:hover,
  .list-header-menu .bg-danger:active,
  .list-header-menu .bg-danger:focus {
    background-color: rgba(252,100,83,0.9);
  }

  .list-dropdown-menu__item-link {
    color: #fff;
    text-align: left;
    padding: 13px 8px 10px 15px;
    font-size: 16px;
    border-top: 1px dashed rgba(255, 255, 255, 0.2);
  }

  .list-dropdown-menu__item-link:hover,
  .list-dropdown-menu__item-link:active,
  .list-dropdown-menu__item-link:focus {
    background-color: #4472CA;
    color: inherit;
    color: rgba(255, 255, 255, 0.6);
  }

  .header-user-auth {
    float: left;
  }

  .header-user-notify__item {
    width: 60px;
    height: 60px;
    margin-right: 0;
    padding-top: 0;
  }

  .header-user-lamp {
    width: 100%;
    height: 100%;
    -webkit-background-size: 40px 40px;
    background-size: 40px 40px;
    background-position: center;
    margin-right: 0;
  }

  .header-user-lamp a {
    width: 100%;
    height: 100%;
    padding: 10px 10px 0 0;
    top: 0;
  }

  .header-user-lamp a:after {
    top: 10px;
    right: 4px;
  }

  .header-user-lamp__counter {
    top: 10px;
    right: 4px;
  }

  .header-user-mail {
    width: 100%;
    height: 100%;
    -webkit-background-size: 40px 40px;
    background-size: 40px 40px;
    background-position: center;
    margin-right: 0;
  }

  .header-user-mail__counter {
    top: 10px;
    right: 4px;
  }

  .header-user-tracker {
    width: 100%;
    height: 100%;
    -webkit-background-size: 40px 40px;
    background-size: 40px 40px;
    background-position: center;
    margin-right: 0;
  }

  .header-user-menu {
    display: none;
    visibility: hidden;
    opacity: 0;
  }
}

@media only screen and (max-width: 500px) {
  .header-default {
    padding: 0 8px;
  }

  .header-logo {
    width: 60px;
    height: 60px;
  }

  .header-logo__name {
    font-size: 0;
    margin: 0;
    width: 100%;
    height: 100%;
  }

  .header-logo__name-link {
    display: block;
    width: 100%;
    height: 100%;
    -webkit-background-size: 40px 40px;
    background-size: 40px 40px;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url("../img/icon__home.png");
    background-image: url("../img/icon__home.svg");
  }

  .header-menu-burger__title {
    display: none;
  }
}

@media only screen and (max-width: 410px) {
  .header-default {
    padding: 0;
  }

  .header-menu {
    width: auto;
    position: relative;
    padding: 0 8px;
    margin-left: 0;
  }
}

@media only screen and (max-width: 360px) {
  .header-user-auth {
    width: 190px;
  }

  .header-btn {
    padding: 0 5px;
    font-size: 13px;
  }
}
