.banner {
  height: 40px;
  width: 100%;
  text-align: center;
  background-color: #309a80;
  display: none;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 15px;
}
.banner.active {
  display: flex;
}

.banner a {
  color: #ffffff;
  font-weight: 400;
  font-size: 18px;
  line-height: 130%;
  font-family: 'pragmatica';
  margin: 0;
  cursor: pointer;
}
.banner.active a {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  align-content: center;
  justify-content: center;
  align-items: center;
  width: 950px;
  padding: 0 10px 0 0;
}
.banner.banner-en.active a{
  width: 915px;
  padding: 0 45px 0 0;
}
.banner a:hover {
  text-decoration: none;
  text-transform: none;
}

.banner span{
  color: #ffffff;
}
.banner span:nth-child(1){
  width: 70%;
  text-align: left;
}
.banner span:nth-child(2){
  width: 30%;
  text-align: right;
}

.banner__close {
  position: absolute;
  top: 11px;
  right: 33px;
  cursor: pointer;
  transition: opacity 0.3s;
}
.banner__close svg {
  transition: transform 0.3s;
}
.banner__close:hover {
  opacity: 0.8;
}
.banner span img {
  vertical-align: middle;
}
.banner.banner-cn.active span:nth-child(1) {
    width: 55%;
    text-align: right;
}
.banner.banner-cn.active span:nth-child(2) {
    width: 45%;
}

.banner.banner-cn.active a {
    width: 820px;
}
@media screen and (max-width: 1200px){
  .banner.active a {
    padding: 0 80px 0 30px;
  }
  .banner__close {
    right: 30px;
  }
  .banner.active a {
    width: 100%;
  }
}
@media screen and (max-width: 940px){
  .banner.banner-cn .banner__close,
  .banner.banner-en .banner__close {
    top: 28px;
  }
  .banner.active a {
    flex-direction: column;
    padding: 0 30px 0 15px;
  }
  .banner__close {
    top: 28px;
    right: 30px;
  }
  .banner.active {
    height: auto;
    padding: 10px 0;
  }
  .banner span:nth-child(1),
  .banner.banner-cn.active span:nth-child(1) {
    width:100%;
    margin-bottom: 5px;
    text-align: center;
  }
  .banner span:nth-child(2),
  .banner.banner-cn.active span:nth-child(2) {
    width:100%;
    text-align: center;
  }
}
@media (max-width: 767px) {,
  .banner.banner-en .banner__close {
    top: 28px;
  }
  .banner.banner-cn .banner__close {
    top: 20px;
  }
  .banner.active a {
    flex-direction: column;
    max-width: 300px;
  }
  .banner {
    margin: 0;
  }
  .banner span {
    max-width: 100%;
    font-weight: 400;
    font-size: 14px;
    line-height: 115%;
  }
  .banner a span img{
    width: 12px;
    height: 12px;
  }
  .banner__close svg {
    width: 14px;
  }
}
@media (max-width: 370px) {
  .banner__text {
    max-width: 245px;
    font-weight: 400;
    font-size: 13px;
  }
}

/* 
menu */
.menu-arrow {
  display: none;
}
@media (max-width: 767px) {
  .menu-relative {
    position: relative !important;
  }
  .menu-arrow {
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    background: #eaeaea;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .menu-arrow img {
    width: 10px;
  }
}

.has-sub.open > .menu-arrow img {
  transform: rotate(180deg);
}

.menu-arrow_min {
  background: #ffffff;
  top: 4px;
}
