﻿* {
  margin: 0;
  padding: 0;
}

img {
  width: 100%;
  height: 100%;
}
/* Unessential CSS - Just here to make this sample page prettier */
html,
body {
  width: 100%;
  height: 100%;
}

body {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  letter-spacing: 1px;
  color: black;
  /* font-family: PingFangSC-Medium, PingFang SC; */
}

body {
  /* font-family: PingFangSC-Regular, PingFang SC; */
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.5;
}

img {
  max-width: 100%;
}
a:hover,
a:focus {
  color: #45bcf9;
}
/*顶部导航*/
header {
  margin: auto;
  background: #fff;
  /* padding: 0 5%; */
  position: fixed;
  top: 0;
  width: 100%;
  height: 88px;
  z-index: 999;
  /*box-shadow: 0 2px 8px rgba(0,0,0,.1);*/
}
.my-navbar {
  /*padding: 20px 0 0 0;*/
  margin: 0;
  height: 100%;
  transition: background 0.5s ease-in-out, padding 0.5s ease-in-out;
}
.my-navbar .container-fluid {
  max-width: 73%;
  height: 100%;
  margin: 0 auto;
  padding: 0;
}

.my-navbar .nav > li > a {
  color: black;
  background: transparent;
  line-height: 51px;
}
.my-navbar .nav > li > a:hover {
  /* color: #000000; */
  color: #43bfec;
  background: transparent;
  outline: 0;
}
.my-navbar a {
  -webkit-transition: color 0.5s ease-in-out;
  -moz-transition: color 0.5s ease-in-out;
  -o-transition: color 0.5s ease-in-out;
  -ms-transition: color 0.5s ease-in-out;
  transition: color 0.5s ease-in-out;
  font-size: 1.1vw;
}
.navbar-brand {
  padding: 27px 15px 15px 15px;
}
.navbar-brand img {
  max-width: none;
  /* width: 185px; */
  width: 9.6vw;
  /* height: 36px; */
  height: 1.9vw;
}
button.navbar-toggle {
  background-color: #fbfbfb;
  float: left;
}
#download {
  border: 1px solid black;
  padding: 2px 12px 2px;
  border-radius: 41px;
  margin: 17px 10px 12px;
}
#download:hover {
  color: white;
  background: #45bcf9;
  border: 1px solid transparent;
}
/*整个背景都是transparent透明的，会看不到，所以再次覆盖一下*/
button.navbar-toggle > span.icon-bar {
  background-color: #dedede;
}
/*菜单下划线*/
.nav > li > a > div:after {
  content: "";
  /* width: 0; */
  /* height: 2px; */
  /* background: #000000; */
  position: absolute;
  bottom: 0;
  left: 0;
  transition: all 0.5s ease 0s;
}
@media screen and (min-width: 768px) {
  .my-navbar .container-fluid {
    position: relative;
  }
  .navbar-nav > li > a {
    padding: 20px 1.56vw 15px;
  }
  .nav > li > a:hover > div:after {
    width: calc(100% - 40px);
    left: 20px;
  }
}

@media only screen and (max-width: 767px) {
  header {
    padding: 0;
    top: 0;
    left: 0;
    right: 0;
  }
  .navbar-header {
    height: 50px;
  }
  .navbar-brand {
    float: none;
    display: block;
    position: absolute;
    left: calc(50% - 70px);
    height: auto;
    margin-top: 1px;
    padding-top: 11px;
  }
  .nav > li > a > div:after {
    width: 0;
  }
  .my-navbar .nav > li > a:hover {
    background: #45bcf9;
    color: white;
  }

  #download {
    padding: 10px 15px;
    margin: 0;
    border: none;
    border-radius: 0;
  }
  #download:hover {
    color: white;
    background: #45bcf9;
    outline: 0;
  }
}
.navbar-toggle {
  font-size: 2rem;
  text-align: center;
  float: left;
  width: 5rem;
  -webkit-transition: background 0.5s;
  -moz-transition: background 0.5s;
  -o-transition: background 0.5s;
  transition: background 0.5s;
  margin-top: 13px;
}

.navbar-toggle span {
  position: absolute;
  left: calc((100% - 2rem) / 2);
  top: calc((100% - 1px) / 2);
  width: 2.3rem;
  height: 2px;
  background-color: #000;
}
.navbar-toggle span:nth-child(2) {
  transform: translateY(5px) rotate(0deg);
}
.navbar-toggle span:nth-child(3) {
  transform: translateY(-5px) rotate(0deg);
}

.mobile-inner-header-icon-click span:nth-child(2) {
  animation-duration: 0.5s;
  animation-fill-mode: both;
  animation-name: clickfirst;
}
.mobile-inner-header-icon-click span:nth-child(3) {
  animation-duration: 0.5s;
  animation-fill-mode: both;
  animation-name: clicksecond;
}

@keyframes clickfirst {
  0% {
    transform: translateY(5px) rotate(0deg);
  }

  100% {
    transform: translateY(0) rotate(45deg);
  }
}

@keyframes clicksecond {
  0% {
    transform: translateY(-5px) rotate(0deg);
  }

  100% {
    transform: translateY(0) rotate(-45deg);
  }
}

.mobile-inner-header-icon-out span:nth-child(2) {
  animation-duration: 0.5s;
  animation-fill-mode: both;
  animation-name: outfirst;
}
.mobile-inner-header-icon-out span:nth-child(3) {
  animation-duration: 0.5s;
  animation-fill-mode: both;
  animation-name: outsecond;
}

@keyframes outfirst {
  0% {
    transform: translateY(0) rotate(-45deg);
  }
  100% {
    transform: translateY(-5px) rotate(0deg);
  }
}
@keyframes outsecond {
  0% {
    transform: translateY(0) rotate(45deg);
  }
  100% {
    transform: translateY(5px) rotate(0deg);
  }
}
/*正文*/
.content {
  padding-top: 88px;
  /* -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box; */
  /* box-sizing: border-box;
    zoom: 1;
    max-width: calc(1600px + 10%);
    margin: 55px auto 0 auto;
    padding-left: calc(5% + 15px);
    padding-right: calc(5% + 15px); */
}

@media screen and (max-width: 1083px) {
  .content {
    padding: 0;
  }
}
@media only screen and (max-width: 767px) {
  .content {
    margin: 50px auto 0 auto;
  }
}

/*
* 底部
*/
#foot {
  position: relative;
  width: 100%;
  height: 500px;
  background: #1e1e26;
}
#foot .contain {
  display: flex;
}

#foot .contain .dianmei-logo {
  /* flex: 1; */
  margin-left: 5.2vw;
  display: flex;
  justify-content: center;
  /* align-items: center; */
}

#foot .contain .dianmei-logo img {
  width: 9.6vw;
  height: 1.8vw;
  display: block;
  margin: 0 auto;
}

#foot .contain .about-dianmei {
  /* flex: 1; */
  margin-left: 5.2vw;
}
.contact-us {
  margin-left: 5.2vw;
}

#foot .about-title {
  font-weight: 400;
  color: #ffffff;
  line-height: 30px;
  font-size: 1.2vw;
  margin-top: 5.8vw;
}

#foot .about-contain {
  margin-top: 23px;
  font: 18px;
  font-weight: 400;
  color: #aaaaaa;
  line-height: 32px;
}

.div {
  flex: 1;
}

#foot .footer {
  position: absolute;
  bottom: 2.8vw;
  left: 50%;
  transform: translate(-50%, 0);
  font-size: 1.2vw;
  text-align: center;
  width: 80%;
  color: #878787;
  line-height: 22px;
}

.my-navbar .nav > .active a {
  color: #43bfec;
}

.back-top {
  display: none;
  position: fixed;
  right: 7.5vw;
  bottom: 10.4vw;
  width: 4.5vw;
  height: 4.5vw;
  background: #ffffff;
  border-radius: 50%;
  z-index: 9;
  box-shadow: 0px 2px 23px 0px rgba(0, 0, 0, 0.14);
}
.back-top img {
  width: 90%;
  height: 90%;
  margin: 5%;
}
.br {
  width: 0;
  height: 0;
  display: none;
}
@media only screen and (max-width: 767px) {
  .my-navbar a {
    font-size: 14px;
  }
  .navbar-header {
    background: #fff;
  }
  .my-navbar .container-fluid {
    max-width: 100%;
    margin-top: -3px;
  }
  button.navbar-toggle {
    margin-left: 20px;
  }
  .navbar-brand {
    max-width: none;
    width: 114.5px;
    height: 22.5px;
    padding: 0;
    margin: 13px auto 12px 25px;
  }
  .navbar-brand img {
    width: 100%;
    height: 100%;
  }

  .nav > li {
    padding-left: 20px;
  }

  .back-top {
    position: fixed;
    right: 20px;
    bottom: 100px;
    width: 50px;
    height: 50px;
    background: #ffffff;
    border-radius: 50%;
    z-index: 9;
    box-shadow: 0px 2px 23px 0px rgba(0, 0, 0, 0.14);
  }

  #foot {
    height: 400px;
  }

  #foot .contain {
    display: flex;
    padding: 0 20px;
    flex-direction: column;
  }
  .dianmei-logo {
    display: none;
  }
  #foot .about-title {
    font-size: 16px;
  }
  #foot .about-contain {
    margin-top: 0px;
  }
  #foot .about-contain p {
    margin: 0;
  }
  #foot .about-contain .address {
    display: flex;
  }
  #foot .about-contain .address-text {
    width: 55px;
  }
  
  #foot .footer {
    padding: 0 20px;
    width: 100%;
    /* width: 90%; */
    font-size: 11px;
    text-align: center;
  }
  .br {
    display: block;
  }
  #foot .contain .dianmei-logo img {
    width: 114.5px;
    height: 22.5px;
    margin: 34px 0 0 0;
  }
  .contact-us .about-title {
    margin-top: 16px !important;
  }
}
@media only screen and (min-width: 768px) and (max-width: 1200px) {
  header {
    height: 50px;
    padding: 0 9px;
  }
  .my-navbar a {
    font-size: 12px;
  }
  .my-navbar .container-fluid {
    min-width: 90%;
  }
  .my-navbar .nav > li > a {
    line-height: 50px;
    padding: 0px 16px 15px;
  }
  .navbar-brand {
    display: flex;
    align-items: center;
    padding: 0;
    padding-left: 20px;
  }
  .dianmei-logo embed {
    width: 9.6vw;
    height: 1.8vw;
    margin-top: 6.3vw;
  }
  #foot {
    height: 26vw;
  }
  #foot .about-contain {
    margin-top: 5px;
  }
  #foot .about-contain p {
    margin: 0;
  }
  #foot .footer {
    width: 100%;
    text-align: center;
  }
  #foot .about-title {
    font-size: 16px;
  }
  .back-top {
    position: fixed;
    right: 30px;
    bottom: 100px;
    width: 60px;
    height: 60px;
    background: #ffffff;
    border-radius: 50%;
    z-index: 9;
    box-shadow: 0px 2px 23px 0px rgba(0, 0, 0, 0.14);
  }
}
@media only screen and (min-width: 1200px) {
  #foot .contain .dianmei-logo img {
    margin-top: 5.8vw;
  }
  #foot .about-title {
    font-weight: 550;
  }
  #foot .about-contain {
    font-size: 0.93vw;
  }
  #foot .footer {
    font-size: 0.83vw;
  }
  .join-us .jobs :hover .jobs-item {
    cursor: pointer;
    box-shadow: 0px 0px 13px 7px #f8f9f9;
  }
  /* .my-navbar a {
    font-size: 0.9vw;
    line-height: 24px;
  } */
  #foot .contain .about-dianmei {
    margin-left: 11.4vw;
  }
  .contact-us {
    margin-left: 11.4vw;
  }
  .about-contain {
    cursor: pointer;
  }
}
