.header {
  position: relative;
  display: block;
  margin: auto;
  padding-top: 10px;
  padding-bottom: 30px;
  max-width: 1135px;
  width: 90%;
}

@media only screen and (max-width: 767px) {
  .header {
    width: 100%;
    padding-left: 5%;
    padding-right: 5%;
    z-index: 1000;
  }
}
@media only screen and (max-width: 767px) {
  .header__nav {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
  }
}

.header__btn-menu {
  position: absolute;
  top: 35px;
  right: 20px;
  display: none;
  z-index: 100;
  height: 30px;
  width: 30px;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  outline: none;
  color: #000;
  font-size: 2rem;
  font-weight: bold !important;
  box-sizing: border-box;
}
@media only screen and (max-width: 767px) {
  .header__btn-menu {
    display: block;
  }
}
.header__btn-menu:hover,
.header__btn-menu:active,
.header__btn-menu:focus {
  border: none;
  outline: none;
}
.header__links {
  text-align: right;
  list-style: none;
  margin: 0;
  padding-top: 33px;
  box-sizing: border-box;
}

@media only screen and (min-width: 1025px) {
  .header__links {
    padding-top: 38px;
  }
}

@media only screen and (max-width: 767px) {
  .header__links {
    position: absolute;
    z-index: 100;
    left: -1px;
    height: 1000px;
    width: 80%;
    top: 0;
    background: #393939;
    overflow: hidden;
    padding: 2rem 2%;
    -webkit-transition: all 0.7s;
    -moz-transition: all 0.7s;
    -ms-transition: all 0.7s;
    -o-transition: all 0.7s;
    transition: all 0.7s;
    -webkit-transform: translate3d(-100%, 0, 0);
    -moz-transform: translate3d(-100%, 0, 0);
    -ms-transform: translate3d(-100%, 0, 0);
    -o-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }
  .header__links.opened {
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}
.header__link-item {
  display: inline-block;
  margin-right: 20px;
}
@media only screen and (max-width: 1024px) and (min-width: 768px) {
  .header__link-item {
    margin-right: 10px;
  }
}
@media only screen and (max-width: 767px) {
  .header__link-item {
    display: block;
    margin-right: 0;
  }
}
.header__link-item:last-child {
  margin-right: 0;
}
@media only screen and (max-width: 767px) {
  .header__link-item:last-child .header__link {
    border: none;
  }
}
.header__link {
  display: block;
  font-size: 2.3rem;
  color: #000;
  text-decoration: none;
}
.header__link:hover,
.header__link:visited,
.header__link:active {
  color: #000;
  text-decoration: none;
}
@media screen and (max-width: 1800px) {
  .header__link {
    font-size: 1.9rem;
  }
}
@media only screen and (max-width: 1024px) and (min-width: 768px) {
  .header__link {
    font-size: 1.8rem;
  }
}
@media screen and (max-width: 900px) {
  .header__link {
    font-size: 1.6rem;
  }
}
@media only screen and (max-width: 767px) {
  .header__link {
    font-size: 2rem;
    text-align: left;
    margin: 0;
    border-bottom: 1px solid #32353a;
    padding: 1.5rem 2rem;
    color: #aaa !important;
  }
  .donate-link { 
    color: #fff !important;
  }
}
.header__logo-item {
  position: absolute;
  left: 0;
  top: 27px;
}
@media only screen and (max-width: 767px) {
  .header__logo-item {
    left: 20px;
  }
}
.header__logo {
  display: inline-block;
  text-decoration: none;
  margin-top: 10px;
}

.header__title {
  display: inline-block;
  height: 80px;
  width: auto;
  text-align: center;
  vertical-align: top;
}
@media only screen and (max-width: 1024px) and (min-width: 768px) {
  .header__title {
    height: 65px;
  }
}
@media only screen and (max-width: 767px) {
  .header__title {
    height: 45px;
  }
}
.header__title-delimiter {
  display: none;
}
@media screen and (max-width: 380px) {
  .header__title-delimiter {
    display: block;
  }
}

/* dropdown */
.sub-menu,
.sub-menu li,
.sub-menu a {
  list-style: none;
  text-decoration: none;
}

.dropdown-click .sub-menu-wrap {
  display: none;
}

.dropdown-click:hover > .sub-menu-wrap {
  display: block;
}

.sub-menu li:hover {
  background: #e6f0c5;
}

.arrow {
  border: solid #000;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 2px;
  vertical-align: middle;
}

.down {
  margin: 0 0 3px 6px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

@media only screen and (min-width: 768px) {
  .sub-menu-wrap {
    position: absolute;
    padding-top: 10px;
  }

  .sub-menu {
    padding: 0;
    background: #fff;
    border-radius: 3px;
    -webkit-box-shadow: 0px 0px 10px -2px #707070b0;
    -moz-box-shadow: 0px 0px 10px -2px #707070b0;
    box-shadow: 0px 0px 10px -2px #707070b0;
  }

  .sub-menu a {
    color: #000 !important;
    padding: 0px 9px;
    font-size: 14px;
  }

  .sub-menu li {
    padding: 9px 0px;
    text-align: left;
    align-items: center;
  }

  .sub-menu li:hover {
    border-radius: 3px;
  }
}

@media only screen and (max-width: 767px) {
  .sub-menu li {
    padding: 0px !important;
  }

  .sub-menu a {
    color: #aaa !important;
    font-size: 14px;
  }

  .arrow {
    border: solid #aaa;
    border-width: 0 2px 2px 0;
  }
}
@media screen and (max-width: 900px) and (min-width: 768px) {
  .hidden-small-tablet {
    display: none;
  }
}
