/*Go_top*/
#gotop {
    position: fixed;
    line-height: 1rem;
    right: 20px;
    bottom: 20px;
    padding: 20px 15px;
    font-size: 17px;
    border-radius: 5px;width:50px;height:50px;
    background-color: rgba(24, 137, 223, 0.75);
    color: white;
    text-align:center;
    cursor: pointer;
}




/*body*/
.row [class^="col-"] {
  padding:10px;
}


body[data-type="fullpage"]:not(#managehome) #wrap > :not(:last-child) { margin-bottom: 0px; }



/*full_nav*/
body[data-type="fullpage"] #nav {
    font-size: 1rem;
    width: 100%;
}


@media(min-width:1920px){
body[data-type="fullpage"] #footer .container {
    width: 1160px;
 }
}

#header .topnavbar .container {
  padding-left: 100px;
  padding-right: 100px;
  width: 100%;
}

@media(max-width:900px){
#header .topnavbar .container {
  padding-left: 0px;
  padding-right: 0px;
  width: 100%;
 }
}



#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-header{
  display:none;
}


/*logo*/

 #logo img {
   padding: 0 16px 16px;
 }

@media only screen and (max-width: 767px) {
  #logo a img {
    margin: 0 auto;
  }
}

@media only screen and (max-width: 767px) {
    body[data-type="fullpage"] .topnavbar {
        background-color: rgba(0, 0, 0, 0.4);
    }
}



/*top*/
.topnavbar {
  background: linear-gradient(-60deg, rgba(0,0,0,0.4) 90%, #0e5dc0 0) no-repeat;
  background-size: auto;
  background-size: 100%;
  height: 90px;
  padding-top: 0px;
}



/*Banner*/
.swiper-container {
  height: auto !important;
}

.swiper-wrapper, .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(800 / 1920 * 100%); 
}

.swiper-slide {
  width: 100% !important;
}



/*nav*/
#nav{
  margin-top:-5%;
}

#nav ul{
  float:right;
}

#nav ul li a:hover{
    color: #1580c3;
}

#nav ul li a::before {
  content:"";
  border-top:1px solid #1580c3;
  width:0;
  position:absolute;
  left:0;
  right:0;
  top:5px;
  margin:0 auto;
  transition:.3s all ease
}

#nav ul li a:hover::before {
 width:50%;
}

#nav ul li.current a::before  {
  content:"";
  border-top:1px solid #33a6d8;
  width:50%;
  position:absolute;
  top:5px;
  margin:0 auto;
}

#nav ul li.current a  {
    color: #33a6d8;  
}


@media(max-width:1024px){
#nav{
  margin-top:-10%;
 }
}


/*About_1*/
.machine-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: -5%;
  position: relative;
  z-index: 99999;
}

.machine-card {
  position: relative;
  border-radius: 10px;
  padding: 20px 20px 28px;
  text-align: center;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 10px 26px rgba(0,0,0,0.08);
  overflow: visible;
  transition: all .35s ease;
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
}

.machine-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.15);
  background: linear-gradient(135deg, #35a4d3, #2563eb);
}


/* 圖片超出卡片 */
.img-wrap {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 85%;
}

.img-wrap img {
  width: 100%;
  height: 170px;
  object-fit: contain;
}

/* 標題 */
.machine-card h3 {
  margin-top: 30px;
  font-size: 22px;
  font-weight: 700;
}

/* 底部 more */
.meta {
  margin-top: 10px;
  font-size: 14px;
  color: #4b5563;
  display: flex;
  justify-content: center;
  gap: 6px;
  align-items: center;
}

.meta .icon {
  font-size: 16px;
}

/* Hover 顯示文字 */
.hover-text {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  opacity: 0;
  transition: opacity .3s ease;
  border-radius: 10px;
}

.machine-card:hover .hover-text {
  opacity: 1;
}

/* 重點卡 */
.machine-card.highlight {
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  color: #fff;
}

.machine-card.highlight:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.15);
  background: linear-gradient(135deg, #35a4d3, #2563eb);
}

.machine-card.highlight .meta {
  color: #e5e7eb;
}

/* RWD */
@media(max-width:1440px){
.machine-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 4%;
 }
}


@media (max-width: 992px) {
  .machine-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 576px) {
  .machine-grid {
    grid-template-columns: 2 2fr;
  }
}

@media (max-width: 480px) {
.machine-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 0%;
  padding: 0px 20px 28px;
  }
}

@media (max-width: 428px) {
.machine-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 28px;
  margin-top: 0%;
  padding: 0px 20px 28px;
  }
}


@media (max-width: 480px) {
.machine-card {
  position: relative;
  border-radius: 10px;
  padding: 0px 20px 28px;
  text-align: center;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 10px 26px rgba(0,0,0,0.08);
  overflow: visible;
  transition: all .35s ease;
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  }
}



/*About_2*/
#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-2{
  margin-top:3%;
}

#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-2 .container{
  max-width:100%;
  width:100%;
  padding:0;
}


.ab.row .col-2{
  padding:0 40px;
}



@media(max-width:768px){
  .ab.row .col-2{
    flex: 0 0 100%;
    max-width: 100%;
    padding: 40px 100px;
  }
}

@media(max-width:480px){
  .ab.row .col-2{
    flex: 0 0 100%;
    max-width: 100%;
    padding: 40px 40px;

  }
}



/*About_3*/
.lo.row {
  margin-top:2%; 
}

.brand{
  padding:15px;
  box-shadow: 0 5px 5px rgba(44,44,44,0.25);
  border:2px solid #d5d5d5;
  transition: all .35s ease;
}


.brand:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.15);
  border:2px solid #033f76;
}

.lo.row img{  
  transform:scale(0.8);
}

@media(max-width:1440px){
 .lo.row {
   margin-top:0%; 
 }
}



/*About_4*/
#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-4{
  background:url(https://static.iyp.tw/409866/files/c53547ab-437d-4468-9b13-48a6d7d7a475.png)no-repeat;
  background-position:top center; 
  background-size:cover;
  margin-top:2%;
}


.ct.row .col-md-7{
  display:grid; align-content: center; justify-content: center;  
}

.ct.row img{
  margin-top:30%;
  position:relative;
  z-index:9999;
}

@media(max-width:768px){
  #bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-4{
  background:url(https://static.iyp.tw/409866/files/c03778ac-0132-47e4-bc36-af29cb5918eb.jpg)no-repeat;
  background-position:top center; 
  background-size:cover;
  margin-top:2%;
  }
}

@media(max-width:768px){
.ct.row img{
  margin-top:-20%;
  transform: scale(0.6);
  }
}

@media(max-width:428px){
.ct.row img{
  margin-top:-20%;
  transform: scale(0.8);
  }
}



/*About_6*/
#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-6{
   display:none;
}




#bodyinpage.rwd-collapse.viewmode.default.about-us .h1title{
  display:none;
}


/*news*/
#bodyinpage.rwd-collapse.viewmode.news.certifications .fcol.fcol-2{
  display:none;
}




/*pd*/
.pd.row{
   background:url(https://static.iyp.tw/409866/files/31ede001-6fa5-4ca2-9000-cfcd8c1f4e73.png)no-repeat;
   background-position:top center;
   background-size:cover;
   min-height:550px;
}


.content{
     margin-left: auto;
     margin-right: auto;
     width: 100%;
        }

.content h1{
    font-size: 3.5vw;
    font-weight: 600;
    color: #13337A;
    margin-bottom: 15px;
}


.content h2{
    width: 100%;
    color:#7e0c52;
    font-size: 1.7vw;
    font-weight: 600;
    margin-bottom: 15px;
    margin-top: 30px;
    border-bottom: 2px solid #7e0c52;
}
.content p{
    width: 60%;
    margin-bottom: 10px;
    font-size: 1.5vw;
}

.products{
    max-width:1200px ;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.products div{
    width: 250px;
    height: 270px;
    border: 1px solid gray;
    margin-top: 20px;
    position:relative;
    text-align: center;
}
.products img{
    width: 100%;
}
.products div a{
    display: block;
    background-color: #13337A;
    color: #FFF;
    position:absolute;
    bottom: 0%;
    width: 100%;
    height: 30px;
    line-height: 30px;
}

.product_detail {
  width: 100%;
  padding: 10px;
  border-bottom: 1px solid #bcbcbc;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom:2%;
}


.product_detail table tr:last-child td {
            border-bottom: none;
         }

        .product_detail table{
            width: 60%;
            border: 1px solid #bcbcbc;
            margin-right: 0;
        }

        .product_detail  th {
            text-align: left;
            background-color: #e9e9e9;
            width: 20%;
            border-bottom: 0px solid white;
            padding: 2px;
        }

        .product_detail  td {
            border-bottom: 1px solid #bcbcbc;
            padding: 5px;
        }

        .product_detail  tr:last-child th, td{
            border-bottom: 0px;
        }
        
        .product_detail p{
            font-size: 1em;
        }
        .product_detail td ul{
            margin-left: 30px;
        }
        .product_detail td ul li {
            list-style-type: square;
        }
        .twoTable{
            margin-right:0; 
            width: 60%;
        }

        @media screen and (max-width:1200px){
        .product_detail {
                position: initial;
                width: 100%;
                padding-right:0;
        }
        .product_detail table{
                position: initial;
                width: 50%;
        }
        
        .content h2{
            width: 100%;
            font-size: 26px;
        }
        .product_detail img{
            display: block;
            max-width: 300px;
            margin-left: auto;
            margin-right: auto;
        }
        }
        @media screen and (max-width: 768px) {
        .product_detail {
            padding: 45px 0;
            border-bottom: 1px solid #bcbcbc;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        .product_detail table{
            width: 100%;
            font-size: 4vw;
        }

        .twoTable{
            margin-right:0; 
            width: 100%;         
        }
        .product_detail  th {
           border-bottom: 0px solid white;
           padding: 6px;
        }
       .product_detail  td {
           padding:6px 20px;
        }
       }


@media(max-width:768px){
#bodyinpage.rwd-collapse.viewmode.product .fcol.fcol-3 .col-md-7{
 flex:0 0 100%;
 max-width:100%; 
 }
}



/*h1*/
.h1title h1{
   color:#0054a2;
}


/*Contact*/
.bd-highlight {
  padding: 0px 8px;
}

.justify-content-center {
  justify-content: center !important;
}

.d-flex {
  display: flex !important;
}

.mb-2 {
  margin-bottom: 1rem !important;
}

.cont.row{
  display: flex;
  align-items: center;
  justify-content: center;
}  

.cont.row h3 span{
   border-bottom: 1px solid #333; padding-bottom: 6px;
   
}

@media(max-width:368px){
  .cont.row h3{
    text-align: center;
  }
}

@media(max-width:368px){
.cont.row h3 span{
   border-bottom: 0px solid #333; padding-bottom: 6px;
 }
}




/*form*/
.mark{
  background:none;
}



/*footer*/
#footer{
  background:#fbfbfb;
  border-top:1px solid #444;
}



#foot-nav {
  display:none;
}

#footer .container{
  padding:15px 20px;
}


.pro-table{
  width:100%;
  border-collapse:collapse;
  border:1px solid #cfd6dd;
  font-family:Arial, Helvetica, sans-serif;
}

/* 左圖 */
.img-cell{
  width:45%;
  text-align:center;
  vertical-align:middle;
  padding:30px;
  border-right:1px solid #cfd6dd;
  background:#fafafa;
}

.img-cell img{
  max-width:260px;
}

/* 右資訊 */
.info-cell{
  padding:15px 20px;
  vertical-align:top;
}

/* 規格表 */
.spec-table{
  width:100%;
  border-collapse:collapse;
  margin-bottom:15px;
}

.spec-table th,
.spec-table td{
  border:1px solid #d9dfe6;
  padding:8px 10px;
  font-size:13px;
}

.spec-table .model{
  text-align:left;
  font-size:16px;
  background:#f0f5fc;
  color:#1f4e79;
  font-weight:700;
}

.spec-table .desc{
  background:#f0f1f2;
  font-weight:600;
  color:#555;
}

.spec-table .label{
  width:120px;
  background:#e6f1fc;
  font-weight:600;
  color:#666;
}


/* 說明 */
.feature {
  margin: 0;
  padding-left: 20px; /* 預留圓點空間 */
  color: #555;
  line-height: 1.7;
  list-style-type: disc; /* 統一顯示圓點 */
}

.feature li {
  margin-bottom: 5px;
}

/* 針對最後一項的多行排版 */
.multi-row {
  display: list-item; /* 核心：維持清單身份才有圓點 */
}


.multi-row .bid {
  display: inline-block;
  vertical-align: top;
  width: 135px; /* 根據文字長度調整，確保冒號位置整齊 */
}

.multi-row .value {
  display: inline-block;
  vertical-align: top;
  width: calc(100% - 145px); /* 扣除標籤寬度後的剩餘空間 */
}

@media(max-width:368px){
 .multi-row .value {
  display: block;
  width: calc(100% - 0px);
  }
}