/* header */
.header_p {
  width: 100%;
  background: #004394;
}

.header {
  position: relative;
  width: 1400px;
  height: 150px;
  margin: 0 auto;
  clear: both;
  background: url(../images/top.jpg) no-repeat;
  background-size: 100% 100%;
}

.header .logo {
  float: left;
  position: absolute;
  bottom: 10px;
  left: 40px;
}

.header .search {
  width: 355px;
  float: right;
  position: absolute;
  top: 16px;
  right: -5px;
}

.search_text {
  float: left;
  border: none;
  border-radius: 16px 0 0 16px;
  width: 268px;
  height: 32px;
  line-height: 32px;
  color: #fff;
  text-indent: 10px;
  font-size: 16px;
  background-color: rgba(255, 255, 255, 0.7);
  padding: 1px 0;
}

.search_sub {
  float: left;
  width: 32px;
  /* line-height: 32px; */
  height: 34px;
  background: url(../images/搜索.png) left no-repeat #fff;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 0px 16px 16px 0;
  border: none;
  color: #fff;
  cursor: pointer;
}

/* .search_text::input-placeholder{
	color:red;
} */
input::input-placeholder {
  color: #fff;
}

input::-webkit-input-placeholder {
  color: #fff;
}

input::-moz-placeholder {
  color: #fff;
}

input::-moz-placeholder {
  color: #fff;
}

input::-ms-input-placeholder {
  color: #fff;
}

/* 导航 */
.nav {
  /* width: 1140px; */
  height: 46px;
  float: right;
  position: absolute;
  bottom: 10px;
  right: 50px;
  /* margin: 0 auto 20px; */
  /* border-bottom: 2px solid #094e7f; */
}

.nav li {
  text-align: center;
  float: left;
  width: 120px;
  height: 46px;
  line-height: 46px;
  margin-right: 1px;
  font-size: 20px;
  font-weight: bold;
}

.nav li a {
  display: block;
  width: 100%;
  height: 100%;
  color: #fff;
}

.nav li a:hover {
  border-radius: 6px;
  background-color: #0064b6;
}


.nav li a {
  background-position: 30px center;
}

.nav li.current a {
  color: #fff;
}


/**login-view**/
.modal {
  display: none;
  position: fixed;
  z-index: 4;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
}

.modal-content {
  width: 600px;
  position: relative;
  z-index: 4;
  background-color: #ffffff;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  text-align: center;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  margin-right: 10px;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
}

.modal-content form {
  height: 300px;
  width: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.form-group {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  width: 85%;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 5px;
}

.form-group label {
  width: 75px;
  text-align: right;
  margin-right: 10px;
  font-size: 18px;
  padding: 10px;
  background-color: #f9f9f9;
  border-right: 1px solid #ccc;
}

.modal-content input[type="text"],
input[type="password"] {
  width: 100%;
  padding: 10px;
  border: none;
  font-size: 18px;
  height: 52px;
}

.modal-content input:-webkit-autofill {
  box-shadow: 0 0 0px 1000px #fff inset !important;
}

.separator {
  width: 100%;
  height: 1px;
  background-color: #ccc;
  margin: 20px 0;
}

.button-group {
  display: flex;
  justify-content: space-around;
  width: 600px;
  /* width: 100%; */
}

.button-group button {
  height: 50px;
  width: 160px;
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 18px;
  cursor: pointer;
  margin-left: 5px;
  margin-right: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease-in-out;
}

.button-group button:hover {
  background-color: #0056b3;
}

.tooltip {
  position: relative;
  display: inline-block;
  cursor: default;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 8px;
  padding: 8px;
  position: absolute;
  z-index: 1;
  top: 100%;
  left: 50%;
  margin-top: 5px;
  margin-left: -60px;
  opacity: 0;
  transition: opacity 0.3s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent #333 transparent;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

h2 {
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: normal;
}

/* ----------- */

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 20px;
}

.user-icon {
  height: 32px;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: right;
}

.user-info {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  padding: 8px;
  min-width: 150px;
  z-index: 1;
}

.user-info a {
  display: block;
  padding: 8px;
  text-decoration: none;
  color: #333;
}

.user-info a:hover {
  background-color: #f0f0f0;
}

.user-icon .userlogin {
  height: 26px;
  width: 26px;
}


.user-icon .active {
  pointer-events: none;
}

.user-info .hover-active {
  display: block;
}

.popOutBg {
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0;
  top: 0;
  background: rgba(0, 0, 0, .6);
  display: none;
  z-index: 4;
}