﻿
.bg-app{background-image: linear-gradient(to bottom,rgba(0,0,0,1)10%, rgba(6,54,136,1) 50%,rgba(0,0,0,1) 100%);}

.top.main-area{background: #fff;}
.product-arera{ padding:50px 0px 0px 0px;  width: 100%; display: flex; flex-wrap: wrap;}
.product-arera .main-content {width:calc(100% - 300px);  padding-left:40px; position: relative;  padding:30px 60px; margin-top: -70px; margin-bottom: 30px; border-radius: 20px; background: #fff;  box-shadow: 0 0 30px hsla(0,0%,46.7%,.2); }
.bg{background-image: linear-gradient(to top, #fff 0%, #fbfdf6 90% ,#fff 100%);}
@media (min-width: 992px) and (max-width: 1199.98px) { 
.product-arera{  padding:0px;}
.product-arera .main-content {width:calc(100% - 240px);  padding-left:30px; margin-top: -40px; }
}
 @media (max-width: 992px) {
 .product-arera .main-content {width:100%;  padding-left:0px;  padding-right: 0px;  margin-top: 0px;  box-shadow: none;  }
}
@media (max-width: 840px) {
.product-arera{  padding:0px;}
}
@media (max-width: 767.98px) {
.product-arera{  padding:0px;}
.product-arera .main-content {width:100%;  padding:0px;}
}
 
.product { width:100%; margin:0px auto;  padding: 50px 0px; display: flex; flex-wrap: wrap; align-self: flex-start; position: relative;z-index: 0;}
.product li { width: 100%;  height: auto; margin:10px auto 30px auto; transition: all 0.3s linear 0s;list-style: none;  position: relative;}
.product li .item{width: 100%; display: flex; flex-wrap: wrap; align-items: center;  position: relative;}
.product li:nth-child(even) .item{flex-direction: row-reverse; }
.product li .item:after { opacity: .15; content: "";  position: absolute; left:0; top:50%; width:60%; height: 100%; background-image: linear-gradient(to top, #9b001c 0%,#4e010f 100%); z-index: -1; pointer-events: none;  transform: skewX(70deg);;
animation: inner-v 0.8s 0s linear forwards}
.product li:nth-child(even) .item:after { content: "";  position: absolute; right:0; top:50%; width:60%; height: 100%; background-image: linear-gradient(to top, #9b001c 0%,#4e010f 100%); z-index: -1; pointer-events: none;  transform: skewX(-70deg)}


.product li h3 {  width: 100%;    color:#fff;  margin-bottom:30px;font-size: 2rem; font-weight: 900;   }
.product li h3 a{ color:#fff;  }
.product li h3 span{  display: block; margin-top: 10px; font-size: 1.125rem; color: #2F3E47;    }

/*----------------------------------------/ 
產品總覽頁Product
---------------------------------------- */
.photo { width: 45%; margin:0px; padding:20px 20px 20px 0px; height: auto; overflow: hidden; position: relative; z-index: 9; background-color: #f5f5f5;  border-radius:0px 50% 50% 0px; box-shadow: 0px 10px 10px rgba(0,0,0,.2) }
.photo::before { content: ""; position: absolute; top:-20px;  width:calc(100% + 20px);  height:calc(100% + 40px); z-index: 1; background-image: linear-gradient(to top, #cc0327 0%,#580917 100%);transition: 0.5s;}
.photo figure{ width: 100%; padding:100% 0px 0px 0px; height: 0;overflow: hidden; position: relative;   transition: all 0.5s ease 0s; border-radius:0px 50% 50% 0px; }
.photo figure img{ width: 100%;  display: block; }
 
.product li:nth-child(even) .photo {  padding:20px 0px 20px 20px;   border-radius:50% 0px 0px 50%  }
.product li:nth-child(even) .photo figure{  border-radius:50% 0px 0px 50%  }
.product li:nth-child(even) .photo::before {left:-20px;  background-image:linear-gradient(to top, #04a2ff 0%, #003b80 100%);  }
.product li .inner-box {width:65%;  margin:auto -15%; padding:100px 0px 100px 20%;position: relative; z-index: 0; transition: all .4s ease;   background-image:linear-gradient(to top, #002148 0%, #003b80 100%); -moz-animation: inner 0.6s 0s linear forwards; -webkit-animation: inner 0.6s 0s linear forwards; animation: inner 0.6s 0s linear forwards }
.product li:nth-child(even) .inner-box { padding-right: 20%; background-image:linear-gradient(to top, #500714 0%,#98001b 100%);  }


.product li .inner-box .inner-txt{  width: 100%; max-width: 500px; min-height:240px;   margin: 20px 0px;  }
.product li .inner-box .desc {margin-bottom: 40px; font-size: 1.125rem; font-weight: 700;   color: #fff;overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow-wrap: break-word; transition: 375ms cubic-bezier(0.7, 0, 0.3, 1);}

@media (max-width:1200px) {
.product li .inner-box { padding:50px 0px 50px 20%;  }   
.product li:nth-child(even) .inner-box {  padding-left: 10%;  }
}

@media (max-width:1024px) {
.product { margin-top: 10%;   }
}

@media (max-width:840px) {
.product { padding: 0px;  }
.product li .inner-box { padding:20px 20px 20px 20%; } 
.product li:nth-child(even) .inner-box { padding-right: 20%; }
.product li h3 {  font-size: 1.75rem;   }
.product li .inner-box .desc { font-size:1rem;  }
}
@media (max-width:768px) {
 .product li .inner-box { padding:10px 20px 10px 20%;  } 
.product li:nth-child(even) .inner-box { padding-right: 20%; }   
}

@media (max-width:767.98px) {
.product li:nth-child(even) .item{flex-direction:column; }
.product li .item{width: 100%; max-width: 100%!important;   margin:10px auto 30px auto;  flex-wrap: wrap;   flex-direction: column;}
.product li .inner-box { width: 100%;padding: 20px;  } 
.product li:nth-child(even) .inner-box { padding-right: 20px; }   
.product li .photo{ width:100%;  }
.product li .inner-box .inner-txt{  width: 100%; max-width: 100%!important; min-height: auto; margin: auto; padding:20px 0px;   }
 .product li .inner-box .desc { margin-bottom: 10px; }
}
 

@media (min-width:768px) {
@-webkit-keyframes inner {
  0% { width: 0%}
  100% { width: 70% }
}
@-moz-keyframes inner {
  0% { width: 0%}
  100% { width: 70% }
}
@-ms-keyframes inner {
  0% { width: 0%}
  100% { width: 70% }
}
@keyframes inner {
  0% { width: 0%}
  100% { width: 70% }
}
}
@-webkit-keyframes inner-v {
  0% { height: 0%}
  100% { height: 100% }
}
@-moz-keyframes inner-v {
  0% { height: 0%}
  100% { height: 100% }
}
@-ms-keyframes inner-v {
  0% { height: 0%}
  100% { height: 100% }
}
@keyframes inner-v {
  0% { height: 0%}
  100% { height: 100% }
}
 
 /*----------------------------------------/
自訂編輯區塊
----------------------------------------*/
.edit{width: 100%; max-width: 1160px; padding:15px 5px; margin: auto;}
.edit h4 img{display: block; width: 100%; max-width:600px;  margin: 15px auto!important;}
.edit .description{display: block; width: 100%; max-width:680px;  margin: 15px auto!important;}
.imgEditor { width:100%; height: auto; margin: auto; display: flex; flex-wrap: wrap;  justify-content: center;} 
.w5{ width: 50%; display: flex; flex-wrap: wrap; align-items: center;}
.w-list{ width: 100%; margin: auto; padding: 0px 20px;}
.w-list li{ width: 100%; margin: 5% auto; padding: 0px; }
@media (max-width:767.98px) {
.w5{ width: 100%; display: flex; flex-wrap: wrap; align-items: center;}
}
 /*table css*/
:root { --stickyBackground: #eee; --borderColor: #C9D1DC;}
.table-wrapper { width: auto; height: auto;  margin: 0px auto 30px 0px;  }
@media (max-width: 991.98px) {
.table-wrapper { width: 100%; height: 320px; border: 1px solid var(--borderColor); overflow: auto;}
}
.datatable { width: 100%; border-spacing: 0; margin: auto; border: 1px solid var(--borderColor); font-family: 'Poppins', sans-serif;}
@media (max-width: 991.98px) {
.datatable { width: 100%;}
}

.datatable thead { font-size: 12px; line-height: 16px; letter-spacing: 0.05em; font-weight: 700; text-transform: uppercase;}
.datatable tbody { font-size: 1rem;}
.datatable th, .datatable td { font-size: 1rem; padding:10px 15px; white-space: nowrap;  border-bottom: 1px solid var(--borderColor);  border-right: 1px solid var(--borderColor);}
.datatable thead td{ color: #053688;  font-weight: 700; }
/*.datatable tr:last-child td { border-bottom: none; border-right:none;}
*/
.datatable tr:nth-child(even) {background-color: #f5f5f5; }
/*STICKY ROW Normal css box-shadow works for the header as it is a single html element*/
.datatable tr.sticky { color: #053688;  font-weight: 700; position: sticky;  top: 0;  z-index: 1;border-bottom: solid 2px #053688;background: var(--stickyBackground); box-shadow: 0 0 6px rgba(0,0,0,0.25);}
/*STICKY COLUMN Avoid undesirable overlapping shadows by creating a faux shadow on the ::after psudo-element instead of using the css box-shadow property.*/
.datatable th.sticky,.datatable td.sticky {  color: #000;  font-weight: 700;  position: sticky; left: 0; background: var(--stickyBackground);}
.datatable th.sticky::after,.datatable td.sticky::after {  content: ""; position: absolute; right: -6px; top: 0; bottom: -1px;  width: 5px; border-left: 1px solid var(--borderColor); background: linear-gradient(90deg, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0) 100%);}
.datatable th.sticky::before,.datatable td.sticky::before { content: ""; position: absolute; left: -6px; top: 0; bottom: -1px;  width: 5px; border-right: 1px solid var(--borderColor); background: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.08) 100%);}
@media (max-width:320px) {
.datatable tr.sticky {   position: relative;  }
.datatable th.sticky,.datatable td.sticky {  position: relative; }
}

 


