/* 

    header\footer\menu…等模块的样式及其媒体查询
    2023.10.23
*/

/* header-start */

header {
  position: relative;
  padding-top: 45px;
  padding-bottom:15px;
}

header nav {
  margin-left: 310px;
}

header nav ul {
  font-size: 0;
}

header nav li {
  display: inline-block;
}

header nav li a {
	font-weight:bold;
  position: relative;
  display: block;
  line-height: 58px;
  font-size: 16px;
  padding: 0 30px;
  transition: all 0.4s;
  color: white;
}

header nav li a:hover {
  background-color: var(--themaBlack);
}

header .leftLogo {
  display: none;
}

header.fixHead {
  position: fixed;
  width: 100%;
  /* max-width: 1920px; */
  top: 0;
  left: 50%;
  z-index: 107;
  transition: all .5s;
  transform: translateX(-50%);
}

header.black {
  background-color: var(--themaBlack);
}

header.black li a:hover {
  color: var(--themaBlack);
  background-color: white;
}

header.fixHead.themaBlack li a {
  color: var(--themaBlack);
}

header.fixHead.themaBlack li a:hover {
  color: white;
  background-color: var(--themaBlack);
}

header.fixHead.themaBlack.black li a {
  color: white;
}

header.fixHead.themaBlack.black li a:hover {
  color: var(--themaBlack);
  background-color: white;
}

/* header-end */

/* footer */

footer {
  padding-bottom: 165px;
}

footer .twoBigLink {
  font-size: 100px;
}

footer .twoBigLink a {
  display: block;
  line-height: 254px;
  font-size: 80px;
  padding-left: 0;
  transition: all .66s;
  border-bottom: 1px solid #000;
}

footer .twoBigLink a:first-child {
  border-top: 1px solid #000;
}

footer .twoBigLink a:hover {
  padding-left: 20px;
}

footer .btm {
  padding: 60px 0;
  line-height: 60px;
}

footer .btm .contact a {
  display: inline-block;
  margin-right: 100px;
  vertical-align: middle;
  font-size: 18px;
  color: var(--themaBlack);
}

footer .btm .copyRight {
  font-size: 18px;
}

footer .btm .copyRight a {
  font-size: 18px;
}

footer .btm a:hover {
  text-decoration: underline;
}

footer .topTxt {
  position: relative;
  max-width: 1200px;
  margin: 300px 0 290px;
  font-size: 65px;
  line-height: 90px;
  /* text-align: right; */
}

footer span {
  display: inline-block;
  font-size: 20px;
  line-height: 20px;
}


/* footer-end */

/* menu-start */

/* 菜单 */

.header__nav {
  display: flex;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: calc(100vw - 168px);
  height: 100vh;
  padding: 12rem 0 10rem 4rem;
  background-color: #ededed;
  color: #333;
  z-index: -1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease 0.8s;
  overflow: hidden;
  transform: translateZ(1px);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.header__nav__wrapper {
  scroll-behavior: smooth;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.header__nav__wrapper a {
  display: inline-block;
  padding: 0.8rem 0;
  font-size: 13.33333333vh;
  line-height: 0.93;
  letter-spacing: 0.01em;
  font-weight: 500;
  overflow: hidden;
  color: #333;
  transform: translateX(-3rem);
  opacity: 0;
  transition: 0.5s cubic-bezier(0.47, 0, 0.745, 0.715) 0ms;
  transition-property: opacity, transform;
}

.header__nav__wrapper img {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  transform: translateX(2rem);
  height: auto;
  z-index: -1;
  -o-object-fit: cover;
  object-fit: cover;
}

.header__nav__wrapper img.portrait {
  width: 41.7rem;
  height: 56.7rem;
}

.header__nav__wrapper img[data-img-id="0"] {
  top: 0;
  right: 14.8rem;
}

.header__links {
  width: calc(100% - 8rem);
  display: flex;
  position: absolute;
  left: 4rem;
  bottom: 3rem;
  z-index: 9;
}

.header__links__item {
  font-size: 1.3rem;
  color: #a5a5a5;
}

.header__links a {
  color: #333;
  transition: color 0.2s linear;
}

.header__lang {
  margin-left: auto;
  display: flex;
  list-style: none;
}

.header__lang .lang-item {
  margin-left: 1rem;
  text-transform: uppercase;
}

.header__lang .lang-item a {
  color: #a5a5a5;
  font-size: 1.4rem;
}

.header__lang .lang-item.current-lang a,
.no-touchevents .header__lang .lang-item a:hover {
  color: #333;
}

.menu-open .header__nav {
  opacity: 1;
  pointer-events: all;
  transition-duration: 0.8s;
  transition-delay: 0.2s;
  z-index: 10;
}

.menu-open .header__nav__wrapper a {
  opacity: 1;
  transform: none;
  transition: 1s cubic-bezier(0.19, 1, 0.22, 1) 0ms;
}

.header__nav__wrapper a:first-of-type {
  transition-delay: 0.2s;
}

.header__nav img {
  opacity: 0;
  transform: translate(0px, 0px);
}

/* menu-end */

/* banner-start */

.banner {
  height: 400px;
}

.banner .ctMain {
  position: absolute;
  top: 50%;
  left: 50%;
  color: white;
  text-align: center;
  transform: translate(-50%, -50%);
}

/* banner-end */

/* menu */

.dialog_menu {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  z-index: -5;
  opacity: 0;
  transition: all 0.55s;
  background-color: rgba(0, 0, 0, 0);
}

.dialog_menu.active {
  z-index: 1000;
  opacity: 1;
  background-color: rgba(0, 0, 0, 0.5);
}

.dialog_menu .dialog_wrapper {
  position: relative;
 top: 50%;
 left: 50%;
 max-width: 1366px;
 width: 100%;
 padding-top: 50px;
 padding-bottom: 225px;
 padding-left: 100px;
 border-radius: 30px;
 transform: translate(-50%,-50%);
 background-color: white;
  -moz-user-select: -moz-none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
    -webkit-overflow-scrolling: touch!important;
    overflow-y: auto;
}

.dialog_menu .close {
  width: 58px;
  line-height: 58px;
  margin-left: auto;
  margin-right: 50px;
  font-size: 30px;
  text-align: center;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  background-color: var(--themaBlack);
}

.dialog_menu .title {
	font-weight:bold;
  margin-bottom: 70px;
  font-size: 30px;
}

.dialog_menu ul {
  font-size: 0;
}

.dialog_menu li {
  vertical-align: top;
  margin-bottom:50px;
}

.dialog_menu li:not(:nth-last-child(1)) {
  margin-right: 95px;
}

.dialog_menu dt {
	font-weight:bold;
  max-width: 150px;
  margin-bottom: 35px;
  font-size: 25px;
  line-height: 30px;
}

.dialog_menu a {
  display: block;
  font-size: 18px;
  line-height: 30px;
}

.dialog_menu a:hover {
  text-decoration: underline;
}


/* menu-end */

header .menu{ display:none;}
header .menu img{ height:35px;}

.bg.open {
    opacity:1;
    z-index: 551;
}


.bg {
    position: fixed;
    width: 100%;
    height: 100%;
	opacity:0;
	top:0;
	-webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    left: 0;
    z-index: -5;
    transition: all .44s;
}

.bg .bgg{
    position: fixed;
    width: 100%;
    height: 100%;
	top:0;
	z-index:1;
    background-color: rgba(0,0,0,.8);
}

.bg .close{ position:absolute; right:5%;}

.bg nav.open {
  display: block;
}

.bg nav {
	z-index:1;
  display: none;
  text-align:right;
  position: fixed;
  max-width: 400px;
  width:100%;
  height: 100%;
  padding-right: 160px;
  color:#fff;
  padding-top: 28px;
  top: 0;
  left: 0;
  -moz-user-select: -moz-none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
    -webkit-overflow-scrolling: touch!important;
    overflow-y: auto;
  background-color: var(--themaBlack);
}

.bg nav p{ font-size:20px; margin-top:50px;}

.bg nav a{ color:#fff}

.bg nav ul {
  margin-top: 80px;
}

.bg nav ul li{ display:block}

.bg nav ul a {
  display: block;
  line-height: 80px;
  font-size: 34px;
  font-weight: bold;
  transition:  all .55s;
  color:#fff
}




@media (max-width:1024px) {
header .df{justify-content: space-between;}
header nav{ margin-left:0;}
footer .twoBigLink a{ font-size:60px; line-height:160px;}
footer span{ position:absolute; top:30px; right:0; font-size:16px;}
footer .topTxt{font-size:50px; line-height:60px; margin:20% 0; padding-right:15%}
footer .btm{ display:block; line-height:30px;}
footer{ padding-bottom:20%;}
footer .btm .copyRight{ margin-top:5%;}

}

@media (max-width:768px) {
header nav{ display:none}
header .menu{ display:block}
header .putLogo img{ height:60px;}
.bg nav{padding-left: 10%;padding-right: 0; max-width:inherit;text-align: left; width:70%;}
.dialog_menu .dialog_wrapper{ left:0; top:0; transform:none; height:100%}
}


@media (max-width:640px) {
footer .twoBigLink a{ font-size:45px;}
footer .topTxt{font-size:35px; line-height:50px;}
footer span{top:70px;}
.bg nav{ width:85%;}
.bg nav ul a{ font-size:28px;}
}





