.header {
  position: relative;
  z-index: 1001;
  height: 50px;
}

.header .block-user {
  float: right;
  padding: 27px 0 0 0;
  transition: .3s
}

.header .block-user a.login {
  text-align: center;
  color: #538894;
  font-size: 12px;
  margin-left: 10px;
  display: block;
  line-height: 1.2
}

.header .block-user a.login .login-button {
  display: block;
  width: 30px;
  height: 30px;
  position: relative;
  border-radius: 100%;
  background-color: #538894;
  line-height: 30px;
  color: #ffffff;
  margin: 0 auto
}

.header .block-user a.login .login-text {
  display: block
}

.header .block-user a.login:hover {
  text-decoration: none
}

.header .block-user a.profile {
  text-align: center;
  color: #538894;
  font-size: 12px;
  margin-left: 10px;
  display: block;
  width: 30px
}

.header .block-user a.profile img {
  width: 30px;
  height: 30px;
  display: block;
  overflow: hidden;
  border-radius: 100%
}

.header .block-user a.profile .profile {
  display: block
}

.header__inner {
  position: fixed;
  width: 100%;
  height: 85px;
  top: 0;
  left: 0;
  background: #fff;
  transition: .3s;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1)
}

@media (max-width: 1139px) {
  .header__inner {
    position: relative;
  }
}

.header .logo {
  position: relative;
  float: left;
  width: 230px;
  height: 85px;
  padding-top: 20px;
  transition: .3s;
}

.header .logo img {
  width: 180px;
  transition: .3s
}

.header .main-menu {
  position: relative;
  float: left;
  margin: 0;
  padding: 0;
  list-style: none;
  height: 85px;
  font-family: "Open Sans", sans-serif
}

.main-menu__item {
  position: relative;
  float: left;
  height: 85px;
  padding-top: 48px;
  transition: .3s
}

.main-menu__item_drop-down:hover > ul {
  display: block
}

.main-menu__item a {
  position: relative;
  font-size: 15px;
  font-weight: 600;
  padding: 0 8px;
  text-decoration: none;
  color: #2dadbe;
}

.main-menu__item a .fas {
  margin-left: 10px;
  font-size: 12px
}

.main-menu__item a:before {
  content: '';
  display: block;
  position: absolute;
  width: calc(100% - 16px);
  height: 2px;
  border-radius: 2px;
  background-color: #2dadbe;
  opacity: 0;
  top: 24px;
  left: 8px;
  transition: .2s
}

.main-menu__item a:hover {
  color: #000
}

.main-menu__drop-down {
  display: none;
  position: absolute;
  float: left;
  margin: 0;
  list-style: none;
  background-color: #fff;
  width: 500px;
  padding: 10px 30px;
  top: 100%;
  left: 8px;
  box-shadow: 25px 25px 25px rgba(0, 0, 0, 0.1)
}

.main-menu__drop-down:before {
  content: '';
  height: 3px;
  background: linear-gradient(#2dadbe, #fff);
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%
}

.main-menu__drop-down_right {
  left: initial;
  right: 8px
}

.main-menu__drop-down-item {
  position: relative;
  float: left;
  width: 50%
}

.main-menu__drop-down-item a {
  display: block;
  font-family: "Gotham Pro", sans-serif;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 0;
  color: #272727
}

.main-menu__drop-down-item a:before {
  display: none
}

.main-menu__drop-down-item a:hover {
  color: #ec2f55;
  text-decoration: underline
}

.main-menu-button {
  display: none;
  position: absolute;
  padding: 15px;
  left: 0;
  top: 16px;
  cursor: pointer;
  transition: .3s
}

.main-menu-button > div {
  width: 33px;
  height: 3px;
  border-radius: 1px;
  background-color: #ec2f55
}

.main-menu-button > div:nth-of-type(2) {
  opacity: .5;
  margin: 7px 0;
  width: 25px
}

.main-menu-mobile-wrapper {
  z-index: 1001;
  position: fixed;
  width: 100%;
  height: auto;
  max-height: calc(100% - 85px);
  overflow-y: auto;
  top: 85px;
  background-color: #f0f0f0;
  transition: top .3s;
}

@media (max-width: 1139px) {
  .main-menu-mobile-wrapper {
    position: absolute;
  }
}

.main-menu-mobile-wrapper_mini {
  max-height: calc(100% - 50px);
  top: 50px
}

.main-menu-mobile {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0
}

.main-menu-mobile li {
  text-align: center
}

.main-menu-mobile li a {
  display: block;
  font-size: 16px;
  font-weight: 400;
  padding: 10px 0;
  text-decoration: none;
  color: #2dadbe;
}

.main-menu-mobile li a:hover, .main-menu-mobile li a.active {
  color: #000;
  background-color: #fff
}

.main-menu-mobile__drop-down {
  display: none;
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0
}

.header__inner_mini {
  height: 50px;
  box-shadow: 0 4px 30px -15px
}

.header__inner_mini .logo {
  height: 50px;
  padding-top: 5px
}

.header__inner_mini .logo img {
  width: 140px
}

.header__inner_mini .block-user {
  padding-top: 9px
}

.header__inner_mini .main-menu {
  height: 50px
}

.header__inner_mini .main-menu__item {
  height: 50px;
  padding-top: 14px
}

.header__inner_mini .search {
  height: 50px;
  padding-top: 9px
}

.header__inner_mini .search input[type='text'] {
  height: 32px
}

.header__inner_mini .search input[type='submit'] {
  display: none
}

.header__inner_mini .search .fas {
  top: 20px
}

.header__inner_mini .social-menu {
  height: 50px;
  padding: 9px 0 0 0
}

.header__inner_mini .main-menu-button {
  top: 0px;
  padding: 14px 15px
}

.header__inner_mini .search-button {
  margin-top: 9px
}

.header-spacer {
  position: relative;
  clear: both;
  height: 40px;
  width: 100%
}

@media (max-width: 575px) {
  .header-spacer {
    height: 20px
  }
}

@media (min-width: 1200px) {
  .main-menu {
    display: block !important
  }

  .main-menu-mobile-wrapper {
    display: none !important
  }
}

@media (max-width: 1499px) {
  .header__inner_mini {
    height: 50px
  }

  .header__inner_mini .search-button {
    margin-top: 9px
  }
}

@media (max-width: 1334px) {
  ul.social-menu {
    display: none !important
  }
}

@media (max-width: 1199px) {
  .main-menu {
    display: none
  }

  ul.social-menu {
    display: block !important
  }

  .main-menu-mobile-wrapper {
    display: none
  }

  .main-menu-button {
    display: block
  }

  .logo {
    left: 75px
  }
}

@media (max-width: 767px) {
  .header__inner {
    height: 50px
  }

  .header__inner .logo {
    height: 50px;
    padding-top: 5px
  }

  .header__inner .logo img {
    width: 140px
  }

  .header__inner .main-menu {
    height: 50px
  }

  .header__inner .main-menu__item {
    height: 50px;
    padding-top: 14px
  }

  .header__inner .search {
    height: 50px;
    padding-top: 9px;
    top: 50px
  }

  .header__inner .search input[type='text'] {
    height: 32px
  }

  .header__inner .search input[type='submit'] {
    display: none
  }

  .header__inner .search .fas {
    top: 20px
  }

  .header__inner .block-user {
    padding: 9px 0 0 0
  }

  .header__inner .social-menu {
    height: 50px;
    padding: 9px 0 0 0
  }

  .header__inner .main-menu-button {
    top: 0px;
    padding: 14px 15px
  }

  .header__inner .search-button {
    margin-top: 9px
  }

  .main-menu-mobile-wrapper {
    max-height: calc(100% - 50px);
    top: 50px
  }
}

@media (max-width: 575px) {
  ul.social-menu {
    display: none !important
  }

  .header__inner .logo {
    height: auto;
    width: 140px;
    float: none;
    position: absolute;
    left: calc(50% - 70px)
  }

  .main-menu-mobile-wrapper > .container {
    padding: 0
  }
}
