﻿.head {
  position: absolute;
  top: 0;
  z-index: 999;
  width: 100%;
  background-color: rgba(5, 39, 126, 0.92);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding: 30px 60px 30px;
  min-width: 175px;
}
.logo {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: start;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.logo a {
  cursor: pointer;
}

.logo img {
  display: block;
  -o-object-fit: cover;
  object-fit: cover;
  max-height: 90px;
  -webkit-transform-origin: center center;
  -ms-transform-origin: center center;
  transform-origin: center center;
}
.search-box_img {
  width: 25px;
  height: 25px;
}
.head-li_title {
  font-weight: bold;
  color: #ffffff;
  transition: color 150ms ease-in;
}
.head-li_title:hover {
  color: #e2ca5b;
}

@media screen and (min-width: 960px) {
  .logo img {
    display: block;
    height: 60px;
    width: auto;
  }

  .head-ul {
    top: 30px;
    right: 62px;
    position: absolute;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    border: none;
  }

  .head-ul > li {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    align-items: center;
    list-style: none;
    /* margin: 0 12px; */
    white-space: nowrap;
    cursor: pointer;
    -webkit-transition: color 150ms ease-in;
    -o-transition: color 150ms ease-in;
    transition: color 150ms ease-in;
    position: relative;
  }
  .head-li_title {
    padding-left: 16px;
  }
  .line {
    width: 2px;
    height: 18px;
    margin: 0 16px;
    background-color: #e3e3e3;
  }
  .head-content {
    height: 100%;
  }

  .menuList {
    /* display: block !important; */
    /* display: block; */
    /* width: 100%; */
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin-top: 12px;
  }

  .menu-control {
    display: none;
  }

  .menu-ul {
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    border: solid 1px rgba(255, 255, 255, 0.62);
  }

  .menu-ul > li {
    width: 100%;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    list-style: none;
    /* white-space: nowrap; */
    cursor: pointer;
    color: #ffffff;
    font-weight: bold;
    -webkit-transition: color 150ms ease-in;
    -o-transition: color 150ms ease-in;
    transition: color 150ms ease-in;
    position: relative;
    padding: 20px 4px;
  }
  .menu-ul > li:hover {
    background-color: #012a62;
  }
  .menu-ul > li:hover .sub-menu {
    display: block;
  }

  .menu-ul a {
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }

  .menu-ul > li:hover {
    /* color: rgb(194, 129, 255); */
    /* color: #06c7ff; */
    color: #e2ca5b;
  }

  .sub-menu {
    position: absolute;
    /* overflow: hidden; */
    display: none;
    padding: 18px 0;
    /* background-color: #ffffff; */
    background-color: #012a62;
    color: #ffffff;
    width: 100%;
    /* transform: translateY(90px); */
    left: 0;
    top: 50px;
    /* border-top: #2464fa solid 4px; */
    /* box-shadow: 0px 0xp 10px 10px #1f1f1f; */
    -webkit-box-shadow: 0 0 20px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 20px 2px rgba(0, 0, 0, 0.2);
    /* opacity: 0; */
    -webkit-transition: all 200ms ease;
    -o-transition: all 200ms ease;
    transition: all 200ms ease;
    z-index: 5;
  }

  .sub-menu > ul > li {
    width: 100%;
    font-weight: normal;
    margin: 0;
  }
  .sub-menu li > a {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    text-align: center;
    display: block;
    padding: 12px 4px;
  }

  .sub-menu li > a:hover {
    background-color: #1556b1;
  }

  .circleBox {
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    /* width: 35px;
    height: 35px; */
    /* background-color: rgba(90, 90, 90); */
    /* border-radius: 50%; */
    position: relative;
  }

  .search-box {
    -webkit-transition: all 300ms ease-in;
    -o-transition: all 300ms ease-in;
    transition: all 300ms ease-in;
  }

  .search-box:hover {
    background-color: transparent;
  }

  .search > a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }

  /* .search-box:hover .search {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    opacity: 1;
  } */

  .circleBox img {
    width: 25px;
    height: 25px;
  }

  .search-box img {
    width: 25px;
    height: 25px;
  }

  .search {
    width: 279px;
    height: 42px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0 12px;
    position: absolute;
    overflow: hidden;
    right: 0;
    top: 0;
    -webkit-transform: translate(12.5px, -8.5px);
    -ms-transform: translate(12.5px, -8.5px);
    transform: translate(12.5px, -8.5px);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background-color: #ffffff;
    display: none;
    opacity: 0;
    -webkit-transition: all 300ms ease-in;
    -o-transition: all 300ms ease-in;
    transition: all 300ms ease-in;
  }

  .search-input {
    /* position: absolute;
    transform: translateX(-60%); */
    width: 230px;
    line-height: 34px;
    font-size: 16px;
    height: 36px;
  }

  .search-input:focus {
    border: none;
    -webkit-box-shadow: none;
    box-shadow: none;
  }
}

/* and (min-width: 480px) */
@media screen and (max-width: 960px) {
  .head {
    position: fixed;
    padding: 0 2%;
    background-color: #01307e;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }

  .menuList {
    background-color: #01307e;
  }

  .menu-control {
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-right: 6px;
  }

  .menu-expand,
  .menu-close {
    cursor: pointer;
  }

  .menu-expand div {
    width: 28px;
    height: 2px;
    background-color: #ffffff;
    margin: 7px 0;
  }

  .menu-close {
    display: none;
    /* height: 28px; */
  }

  .menu-close div {
    width: 28px;
    height: 3px;
    margin: 7px 0;
    background-color: #ffffff;
    /* margin: 7px 0; */
    /* transform-origin: center center; */
    /* top: 50%;
    right: 50px;
    transform: translate(-50%, -50%); */
    /* transform: translateX(50px); */
  }

  .menu-close div:nth-child(1) {
    -webkit-transform: translateY(5px) rotate(44deg);
    -ms-transform: translateY(5px) rotate(44deg);
    transform: translateY(5px) rotate(44deg);
  }

  .menu-close div:nth-child(2) {
    -webkit-transform: translateY(-5px) rotate(-44deg);
    -ms-transform: translateY(-5px) rotate(-44deg);
    transform: translateY(-5px) rotate(-44deg);
  }

  #menu-search-img {
    display: none;
  }

  #search-img {
    width: 30px;
    height: 30px;
    cursor: pointer;
  }
  .head-ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
  }
  .head-ul > li {
    width: 100%;
  }
  .english {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 15px 5px 5px;
  }
  .head-li_title > a {
    display: block;
    padding: 8px 14px;
    background-color: #777c8b;
    border-radius: 8px;
  }

  .search {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    opacity: 1 !important;
    margin: 4px;
    border-radius: 4px;
    padding: 4px 8px 4px 16px;
    background-color: #ffffff;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
  }

  .search > a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }

  .search-input {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
  }
}

@media screen and (max-width: 960px) and (min-width: 480px) {
  .head {
    height: 75px;
  }
  .logo img {
    height: 45px;
    max-height: 75px;
  }
  .head-content {
    height: 100%;
    /* position: relative; */
  }
  .head-ul {
    padding-bottom: 90px;
  }
  .menuList {
    display: none;
    position: fixed;
    /* margin-top: 75px; */
    top: 75px;
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    left: 0;
    padding-bottom: 90px;
    /* padding: 0px 20px; */
    /* background-color: #848a9a; */
    opacity: 1;
    color: #ffffff;
  }

  .menu-ul {
    /* padding: 0px 40px; */
    /* height: 100%; */
    /* overflow-y: scroll; */
    padding-bottom: 20px;
  }

  /* .menu-ul li {} */

  .menu-ul > li > a {
    display: block;
    height: 100%;
    width: 100%;
    font-weight: bold;
    width: 100%;
    padding: 17px 40px;
    cursor: pointer;
  }

  .menu-ul > li > a:hover {
    /* background-color: #4f535c; */
    background-color: #5f87bf;
  }

  .sub-menu {
    display: block !important;
    opacity: 1 !important;
  }

  .sub-menu > ul {
    /* margin-top: 6px; */
    padding-left: 100px;
    width: 100%;
    /* display: none; */
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    border-top: #6b6b6b solid 1px;
  }

  .sub-menu > ul > li {
    width: 50%;
  }

  .sub-menu > ul > li > a {
    display: block;
    /* padding: 14px 8px 0; */
    padding: 14px 0 14px 8px;
    width: 100%;
    height: 100%;
  }

  .sub-menu > ul > li > a:hover {
    /* background-color: #6a6e7b; */
    background-color: #5f87bf;
  }
}

@media screen and (max-width: 480px) {
  .head {
    height: 65px;
  }

  .logo img {
    height: 30px;
    max-height: 65px;
  }

  .head-content {
    height: 100%;
    /* position: relative; */
  }
  .head-ul {
    padding-bottom: 90px;
  }
  .menuList {
    display: none;
    position: fixed;
    top: 65px;
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    left: 0;
    padding-bottom: 90px;
    /* padding: 0px 20px; */
    /* background-color: #848a9a; */
    opacity: 1;
    color: #ffffff;
  }

  .menu-ul {
    /* padding: 0px 40px; */
    /* height: 100%;
    overflow-y: scroll;
    padding-bottom: 60px; */
    color: #ffffff;
  }

  .menu-ul > li {
    position: relative;
  }
  .menu-ul > li::after {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    border-bottom: #6b6b6b solid 1px;
  }

  /* .menu-ul > li > a:active {
    color: #06c7ff;
  } */

  .menu-ul > li > a {
    box-sizing: content-box;
    display: block;
    height: 100%;
    width: 100%;
    font-weight: bold;
    width: 100%;
    padding: 17px 40px;
    cursor: pointer;
    /* background-color: #848a9a; */
    /* background-color: #274d82; */
  }

  .menu-ul > li > a:hover {
    /* background-color: #4f535c; */
    /* background-color: #5c616c; */
    background-color: #5f87bf;
  }

  .sub-menu {
    display: none;
    /* display: block !important; */
    /* opacity: 1 !important; */
    -webkit-transition: all 300ms ease-in;
    -o-transition: all 300ms ease-in;
    transition: all 300ms ease-in;
    overflow: hidden;
  }

  .sub-menu > ul > li > a {
    display: block;
    /* padding-left: 60px; */
    padding: 12px 0 12px 60px;
  }

  .sub-menu > ul > li > a:hover {
    background-color: #5f87bf;
  }
  .head-li_title {
    font-size: 15px;
  }
  .search-li {
    border: none !important;
  }

  .english {
    border: none !important;
  }
}