@charset "utf-8";

/* home banner */
        .banner-container {
            position: relative;
            width: 100%;
            height: 600px;
            overflow: hidden;
            background-color: #000;
        }
        .slide {
            position: absolute;
            top: 0; left: 0; 
            width: 100%; height: 100%;
            opacity: 0;
            transition: opacity 1.2s ease-in-out; 
            z-index: 1;
        }
        .slide.active { opacity: 1; z-index: 2; }
        .slide img { 
            width: 100%; height: 100%; 
            object-fit: cover; 
        }
        .fixed-content {
            position: absolute;
            top: 38%; left: 50%;
            transform: translate(-50%, -50%);
            z-index: 20;
            text-align: center;
            color: white;
            width: 80%; 
        }
        .fixed-content h1 { 
            font-size: 2.4rem; 
            letter-spacing: 2px;
            text-shadow: 0 5px 15px rgba(0,0,0,0.3); 
        }
        .overlay {
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0, 0, 0, 0.2);
            z-index: 10;
        }
        .dots-container {
            position: absolute;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 30;
            display: flex;
            gap: 15px;
        }
        .dot {
            width: 10px;
            height: 10px;
            background: rgba(255, 255, 255, 0.4);
            border-radius: 50%;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        .dot.active {
            background: #fff;
            transform: scale(1.3);
            box-shadow: 0 0 10px rgba(255,255,255,0.8);
        }

/* Responsive */

@media (max-width: 992px) {
  #nav.nav.clearfix,.topline .top-right,.promiddle .right,.flash .prev,.flash .next,.sphtext p,.middle .left { display: none !important;} 
  .header .logo {margin-top: 15px;}
  .container,.promiddle .left,.proshow .text,.partspage .partsintro img {width:100%!important;}
  .foot-statement {line-height: 24px; padding: 10px 0; margin-top:20px;}
  .footer2 {padding:20px;}
  .tabBar .hd ul {height:45px;border-bottom:none; margin-top:20px;}
  .tabBar .hd li {width: 25%; padding-top:10px;margin-left:8px;height:45px;background-size: auto 100%;}
  .tabBar .hd li.on {height:47px;margin-top:4px;}
  .flash .bd img {min-height:80px;}
  .proshow .text h1 { font-size: 20px; padding: 25px 10px 15px;}
  .showtabBar .hd li {width:20%;padding: 14px 5px 0;line-height: 14px; height: 38px; background-size: auto 100%;}
  .showtabBar .hd li.on {width:20%;margin-top: 4px; padding-top: 14px;line-height: 14px;}
  .showtabBar .hd ul {border-bottom:none;}
  .propt .text p {margin-left: 10px; }
  .propt .text .intro {padding:0 10px;}
  .showtabBar .bd p img,.partspage .firstimg img,.infotext img {width:100%!important; height:100%!important;}
  .bd .showtabBarl {clear:both;}
  .showtabBarl .hd ul li.on,.showtabBarl .hd ul li {width:45%; margin:10px 0 10px 10px;}
  .sphtext h1 {margin-top: 40px;    line-height: 50px;}
  .infos .infolist dl {min-height:230px;}
  .infos .infolist dt,.infos .infolist img {width:100%; height:100%;}
  .infos .infolist img {padding:none; border:none;} 
  .infos .infolist dd {width:100%; margin: 20px 0 30px;}
  .infotext table {width:100%!important;}
  .tabsolutions .hd li.on, .tabcase .hd li.on,.tabsolutions .hd li,.tabcase .hd li {width:40%;}
  .contactimg {background-size:100% 100%!important;}
}

nav.dmroad {
  display: none;
}

@media (max-width: 768px) {
  nav.dmroad {
    display: block;
    position: absolute;
    top: 7px;
    right: 0;
    z-index: 99999;
    background-color: #FFF;
  }
  
  nav.dmroad .dmroad-mobile-menu {background-color: #FFF;}
}

.dmroad-menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 24px;
  cursor: pointer;
  padding: 15px;
  margin-right: 10px;
  margin-top: 10px;
}

.dmroad-menu-btn span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #333;
  transition: all 0.3s ease;
}

.dmroad-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.dmroad-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.dmroad-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.dmroad-mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  height: 100%;
  background-color: #fff;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  overflow-y: auto;
}

.dmroad-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  z-index: 10;
}

.dmroad-close-btn span {
  display: block;
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #666;
  transform: rotate(45deg);
}

.dmroad-close-btn span:nth-child(2) {
  transform: rotate(-45deg);
}

.dmroad-close-btn:hover span {
  background-color: #333;
}

.dmroad-mobile-menu.active {
  display: block;
  animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

.dmroad-mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dmroad-nav-item {
  border-bottom: 1px solid #eee;
}

.dmroad-nav-item a,
.dmroad-nav-item span {
  display: block;
  padding: 15px 20px;
  color: #333;
  text-decoration: none;
  font-size: 16px;
  cursor: pointer;
}

.dmroad-nav-item a:hover,
.dmroad-nav-item span:hover {
  background-color: #f5f5f5;
}

.dmroad-has-sub {
  position: relative;
}

.dmroad-has-sub > span::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
}

.dmroad-has-sub.active > span::after {
  content: '-';
  top:23px;
}

.dmroad-submenu {
  display: none;
  background-color: #f9f9f9;
}

.dmroad-submenu.active {
  display: block;
}

.dmroad-submenu li {
  border-bottom: 1px solid #eee;
}

.dmroad-submenu li:last-child {
  border-bottom: none;
}

.dmroad-submenu li a {
  padding: 12px 20px 12px 40px;
  font-size: 14px;
}

.dmroad-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9997;
}

.dmroad-overlay.active {
  display: block;
}

@media (max-width: 768px) {
  .center {
    width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
  }
  
  .header {
    position: relative;
    z-index: 100;
  }
  
  .header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 10px;
  }
  
  .logo {
    width: 150px;
  }
  
  .logo img {
    width: 100%;
    height: auto;
  }
  
/* .header.sticky .logo {    width: 120px;  } */
}

@media (max-width: 768px) {
  .middle {
    display: flex;
    flex-direction: column;
  }
  
  .middle .left,
  .middle .right {
    width: 100%;
    float: none;
  }
  
  
  .iprotj {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .iprotj .cl {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  
  .iprotj .boxgrid {
    width: 100%;
    max-width: 280px;
    height: 234px;
    margin: 10px 0;
    float: none;
    box-sizing: border-box;
    text-align: center;
  }
  
  .iprotj .boxgrid dt {width:280px;height:194px;}
  
  .iprotj .boxgrid img {width:260px;height:186px;}
  .iprotj .boxgrid dd {width:268px;}
  
  .boxgrid {
    width: 48%;
    margin: 1%;
    float: left;
    box-sizing: border-box;
  }
  
  .boxgrid img {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 768px) {
  .banner-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
  }
  
  .banner-container .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
  }
  
  .banner-container .slide.active {
    display: block;
  }
  
  .banner-container .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .banner-container .fixed-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
  }
  
  .banner-container .fixed-content h1 {
    font-size: 18px;
    color: #fff;
    margin: 0;
    padding: 0 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  }
  
  .banner-container .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.3);
    z-index: 5;
  }
  
  .banner-container .dots-container {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
  }
  
  .banner-container .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    display: inline-block;
    margin: 0 5px;
    cursor: pointer;
  }
  
  .banner-container .dot.active {
    background-color: #fff;
  }
}

@media (max-width: 768px) {
  .foot-navigation {
    display: flex;
    flex-direction: column;
  }
  
  .foot-navigation dl,
  .foot-contact {
    width: 100%;
    margin-bottom: 20px;
  }
}
