﻿@charset "utf-8";

/* header */
.jrs-head {
  position: fixed;
  width: 100%;
  left: 0;
  top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.20);
  
  z-index: 999;
}

.white-bg .jrs-head {
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
}

.header_n {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  width: 154px;
}

.menu {
  flex: 1;
  max-width: 1300px;
}

.menu ul {
  display: flex;
  justify-content: flex-end;
}

.menu>ul>li {
  position: relative;
  padding-left: 16px;
  padding-right: 16px;
}
.menu>ul>li:last-child {
  padding-right: 0;
}
.menu>ul>li>a {
  position: relative;
  display: block;
  padding: 34px 0;
  color: var(--white-color);
  font-size: 20px;
  font-weight: 400;
  line-height: 30px;
}

.menu>ul>li>a::before {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  left: 50%;
  bottom: 0px;
  transform: translateX(-50%);
  background-color: var(--main-color);
  opacity: 0;
  transition: all 0.5s ease;
}

.menu>ul>li>a:hover,
.menu>ul>li.active>a {
  color: var(--main-color);
}

.menu>ul>li>a:hover:before,
.menu>ul>li.active>a::before {
  opacity: 1;
  width: 100%;
}

.head_link {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.head_link a {
  position: relative;
  display: block;
  padding: 10px 20px;
  color: var(--white-color);
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 28px;
  border-radius: 16px;
  background: linear-gradient(131deg, #68B82E 19.19%, #FCD57F 146.81%);
  z-index: 1;
}

/* .head_link a::before {
  content: '';
  z-index: -1;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  border-radius: 70px;
  background-color: var(--main-color);
  width: 0;
  transition: transform 0.25s ease-in-out;
} */

@media (min-width:768px) {

  /* .head_link a:hover {
    color: var(--dark-color);
  } */

  /* .head_link a:hover::before {
    width: 100%;
  } */

}

@media (max-width:768px) {

  /* .head_link.active a {
    color: var(--dark-color);
  } */

  .head_link.active a::before {
    width: 100%;
  }

}

.email_eject {
  width: 162px;
  padding: 24px;
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  margin-left: -81px;
  transform: translateY(20px);
  opacity: 0;
  border-radius: 12px;
  background: #FFF;
  -webkit-transition: all 0.4s;
  -moz-transition: all 0.4s;
  -ms-transition: all 0.4s;
  -o-transition: all 0.4s;
  transition: all 0.4s;
  z-index: -99;
}

.email_eject:before {
  border: solid transparent;
  content: ' ';
  height: 0;
  position: absolute;
  width: 0;
  border-width: 10px;
  border-bottom-color: #fff;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
}
.email_eject span {
  display: inline-block;
  border-radius: 2.28px;
  border: 1px solid #E3E3E3;
  width: 114px;
}
.email_eject p {
  margin-top: 8px;
  color: #333;
text-align: center;
font-size: 18px;
font-style: normal;
font-weight: 500;
line-height: 26px; 
text-transform: uppercase;
}
.head_link:hover {
  overflow: visible;
}

.head_link .email_eject.m_show {
  opacity: 1;
  transform: translateY(0);
  z-index: 99;
}




/* 移动端导航 */
.menu_r_line {
  display: none;
}

.menu_r_line i {
  display: block;
  width: 36px;
  height: 36px;
  background-image: url(../images/blact_menu.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 36px 36px;
  cursor: pointer;
}

.header_n.active .menu_r_line i {
  background-image: url(../images/close_grey.svg);
}

  .menu {
    padding-right: 48px;
  }

@media screen and (max-width:1439px) {

  .menu>ul>li {
    padding-left: 12px;
    padding-right: 12px;
  }


}

@media screen and (max-width:1365px) {
  .menu>ul>li {
    padding-left: 10px;
    padding-right: 10px;
  }
  .menu>ul>li>a {
    font-size: 18px;
}
}

@media screen and (max-width:1280px) {
  .menu>ul>li {
    padding-left: 8px;
    padding-right: 8px;
  }

}

@media screen and (max-width:1200px) {
  .logo {
    width: 130px;
  }

}

@media screen and (max-width:1170px) {
  .menu>ul>li {
    padding-left: 6px;
    padding-right: 6px;
  }
}

@media screen and (max-width:1150px) {
  .jrs-head {
    padding: 15px 0;
  }

  .menu {
    display: none !important;
  }

}

@media screen and (max-width:767px) {
  .head_link a {
    padding: 8px 12px;
    font-size: 16px;
    line-height: 26px;
    font-style: normal;
    font-weight: 400;
  }
  .email_eject {
    width: 162px;
    padding: 24px;
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    margin-left: -101px;
    transform: translateY(2px);
}
.email_eject:before {
display: none;
}
}