﻿/* header */
.header {
  width: 100%;
  box-sizing: border-box;
}
.header-bg {
  animation: flipInY 2s 0.2s ease both;
  background-color: #9e1d22;
  z-index: 9999;
  position: relative;
}

.head-con {
  position: relative;
  width: 100%;
  /* height: 125px; */
  padding: 20px 0;
}

/* logo */
.head-left {
  display: inline-block;
  /* margin-right: 50px; */
  height: 85px;
}

.head-left img {
  height: 100%;
  user-select: none;
  pointer-events: none;
}

/* search */
.head-right {
  position: absolute;
  right: 0;
  top: 0;
  display: flex;
  align-items: center;
  height: 100%;
}

.head-right .language {
  color: #fff;
  margin-right: 30px;
  font-size: 14px;
}

.head-con .head-right .language span {
  margin: 0 20px;
}

.head-con .head-right .search {
  display: flex;
  background-color: #fff;
  height: 30px;
  border-radius: 3px;
  overflow: hidden;
  font-size: 14px;
}
.search input {
  padding: 0 10px;
}
.search .input-btn {
  height: 30px;
  width: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* navbar */
.navbar-menus {
  width: 100%;
  display: flex;
  justify-content: space-around;
  height: 40px;
  line-height: 40px;
}
.navbar-menus .menus-item {
  cursor: pointer;
}
.navbar-menus .menus-item > a {
  display: block;
  color: #fff;
  transition: color 0.2s;
  position: relative;
  line-height: 40px;
  text-align: center;
}
.m-search,
.m-head-menu {
  display: none;
}

@media (max-width: 576px) {
  .content {
    margin-top: 13vw;
  }
  /* header */
  .header-bg {
    background-image: none;
    animation: none;
    padding: 0;
  }
  .header {
    position: relative;
    background-color: #b40200;
    min-width: 0;
    padding: 0;
    height: 22vw;
    width: 100vw;
  }
  .head-con {
    padding: 0;
  }
  /* logo */
  .head-left {
    width: 100%;
    padding: 2vw;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .head-left img {
    width: 100%;
    height: auto;
  }

  /* search / naber */
  .head-right,
  .navbar {
    display: none;
  }

  .m-search {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    bottom: -13vw;
    width: 100vw;
    padding: 2vw 3vw;
    box-sizing: border-box;
  }
  .m-search-left {
    width: 75vw;
    position: relative;
  }
  .m-search .m-search-left svg {
    position: absolute;
    left: 2vw;
    top: 2vw;
    color: #adadad;
    font-size: 4vw;
  }
  .m-search .m-search-left input {
    width: 96%;
    height: 9vw;
    font-size: 4vw;
    caret-color: black;
    padding: 0 2vw;
    border-radius: 1vw;
    background-color: #f2f2f2;
    padding-left: 8vw;
  }
  .m-search .m-search-left input::placeholder {
    color: #adadad;
  }
  .m-search button {
    width: 19vw;
    height: 6.6vw;
    border-radius: 0.8vw;
    font-size: 4vw;
    color: #b40200;
    padding-left: 7vw;
    position: relative;
    background-color: #fff;
    outline: none;
  }
  .m-search button:first-child {
    margin-bottom: 3vw;
  }
  .m-search button svg {
    position: absolute;
    left: 1.5vw;
    top: 1.2vw;
    font-size: 4.5vw;
    color: #b40200;
  }
  .m-search button:first-child svg {
    font-size: 4.5vw;
    top: 1vw;
  }
  .m-head-menu {
    position: absolute;
    right: 0;
    top: 35vw;
    z-index: 1001;
    background-color: rgba(0, 0, 0, 0.7);
  }
  .m-head-menu ul {
    list-style: none;
    padding: 2vw 0;
    margin: 0;
  }
  .m-head-menu ul li {
    height: 10vw;
    line-height: 10vw;
    /* width: 35vw; */
  }
  .m-head-menu ul li a {
    font-size: 4vw;
    padding: 0 4vw;
    display: block;
    color: #ffffff;
  }
  .m-head-menu ul li a:active {
    background-color: rgba(45, 73, 147, 0.7);
  }
}