
/*footer 網站地圖*/
ul.map1 li a {
  display: block;
    color: #000;
    /*font-size: 14px;*/
    margin:5px 0px;
    padding: 3px 10px;
  border-radius: 20px;
    background-color: #2a69d0;
    display: flex;
   justify-content: center;
}

ul.c {
  list-style-type: disc;/*disc實心 ecimal 數字*/
  margin-left: 1.5em;
  font-size: 15px;
}

ul.c a {
  color: #000;
}


/*標題-裝飾線*/
.decorate-line {
    width: 100%;
    height: 1px;
    margin: 0 0 10px 70px;
    background-color: #989898;
    transform: rotate(-45deg);
}

/*套用google font字型Noto Serif TC明體*/
#t-500{
  font-family: 'Noto Serif TC', serif;
  font-weight: 500;
    color: #2a69d0;
  font-size: clamp(22px, 2vw, 40px);
  line-height: 40px;
}

.topnavbar {
 /* background-color: Transparent;*/
    background-color: #e6e6e8;/*頁籤底圖顏色;background-color: rgba(255,255,255,0);透明Transparent*/
    position: relative;/*relative 頁籤&banner分開不重疊;頂置 fixed;*/
    line-height: 0;
    padding: 0;/*頁籤間距*/
}

.topnavbar .container {
  text-align: justify;
  padding: 10px 0 0 0;
}

.topnavbar .container::after {
  display: inline-block;
  width: 100%;
}

#logo h1 {
    height: 70px;
}


a {
    color: #00b7ee;/*連結顏色*/
    text-decoration: none;
}

.swiper-container {
  height: auto !important; /* 將容器預設的高拿掉 */
}

.swiper-wrapper, .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(700 / 1920 * 100%); /* 自定響應式圖片高度 */
}

.swiper-slide {
  width: 100% !important; /* 強制圖片寬度隨容器變更 */
}


/*nav*/
#nav {
    vertical-align: bottom;
}

/*nav*/
#nav ul li a {

    font-size: 1.0rem;/*頁籤文字大小*/
    color: #353535;/*頁籤文字顏色*/
    padding: 10px 11px;/*頁籤文字間隔;padding:2px 16px 2px 16px;*/
    line-height: 1.3;
    transition: .3s;
}

#nav ul li a:hover  {
    color: #ff5011;/*頁籤滑過文字顏色*/
}

#nav ul li a:hover::before { 
    content: '';
    display: block;
    height: 1.5rem;
    width: 1.5rem;
    background-color: #ffcda6;
    border-radius: 100%;
    margin-left: -10px;
    margin-bottom: -1.5rem;

}


#nav ul li.current a {
    color: #ff5011;/*頁籤按下後文字顏色*/
    font-weight: 500;
}


/*次頁籤文字顏色*/ 
#nav .subnav {
    text-align: left;
    background-color: #ffffff;/*次頁籤底色*/
}
#nav .subnav a { font-size: 14px; }

#nav li.has-subnav ul li a:hover {
   color: #fff;/*次頁籤滑過後文字顏色*/   
    background-color: #ea5d4c; /*次頁籤滑過底圖顏色*/
}

#nav li.has-subnav ul li a:hover::before { display:none;}

#nav li.has-subnav ul li.current a {
   color: #f7ce3e;/*次頁籤按下後文字顏色*/    
}

#bodyinhome .fcol.fcol-1 .container {padding: 0px;}

/*要寫在編輯頁，如果加#bodyinhome .fcol.fcol-2會破版*/ 
#bodyinhome .fcol.fcol-1:before {
    position: absolute;
    display: block;
    content: '';
    width: 60%;
    height: 50%;
    right: 0;
    background-image: url(https://static.iyp.tw/409788/files/3cde92b7-e8dd-4587-8698-17d7e9830a89.png);
    background-repeat: no-repeat;
    background-position: right top;
    background-size: contain;
    z-index: -1;
}

@media only screen and (max-width: 400px){
#bodyinhome .fcol.fcol-2 h4 {margin-bottom: 20px;}
}

#bodyinhome .fcol.fcol-3 .container {
    width: 100%;
    padding: 0px;
}


#bodyinhome .fcol.fcol-3 {
    background: linear-gradient(0deg, #fff 40%, transparent 60%);
}
#bodyinhome .fcol.fcol-4  {
    background-color: #fff;
}

#bodyinhome .fcol.fcol-5 .container {
  width: 100%;
  background-color: #fff;
  padding: 0px;
}

@media only screen and (min-width: 700px){
/*影片字*/
.movie { 
  writing-mode: vertical-lr; 
  position: absolute; 
  letter-spacing: 3px;}
}

/*改內文標題顏色*/
h1, h2, h3, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: inherit;
    font-weight: 500;
    line-height: inherit;
    color: #000;
}

ul.product-list li a.focus h3, ul.product-list li a:hover h3 {
    color: #082453;
}
ul.product-list li h3 {
    flex: 1 0 auto;
    max-height: 3.15rem;
    margin: 0.7rem 0;
    font-size: 1.05rem;
    line-height: 1.5;
    color: #082453;
    overflow: hidden;
    padding: 0 16px;
}

#side ul li a {
    color: #222;
   font-size: 16px;
}

.product-list-div h2 a {
    color: #2a69d0;
    text-decoration: none;
    display: inline-block;
}

.product-list-div h2 {text-shadow: 0 0px 0 #fff;}

body[data-type="fullpage"] .product-list-div h2 a.show-all {
    color: #fff;
    transition-property: left, color;
  padding: 0px 20px;
    background-color: #2a69d0;
}

body[data-type="fullpage"] .product-list-div h2 a.show-all:hover {
    color: #fff;
}


body[data-type="fullpage"]:not(#managehome) #wrap>*:not(:last-child) {
    margin-bottom: 0px;
}

body[data-type="fullpage"] #product-header.main {
      min-height: auto;/*產品-編輯框不設定高*/
}

#foot-nav { display:none;}

#main-wrap .container {
    font-size: clamp(16px, 2vw, 18px);
  line-height:30px;
  color: #2d2d2d;
}

/*footer*/
#footer {
    background-color: #e6e6e8;
}

body {
    background-color: #e6e6e8;/*背景底色*/
    font-family: 'Noto Sans TC', sans-serif;/*套用google font字型Noto Sans TC黑體*/
}

/* 下排浮動頁籤連結 */
#wrap-fmenu{
   max-width:1920px;
    width:100%;
    margin:0px auto;
    display:block;
}
.fMenu{
   background-color:#441506;
   display:block;
   position:fixed;
   width:100%;
   margin:0 auto;
   z-index:100;
   color:#FFF;
   left:0;
   bottom:0;
}
.fMenu ul li{
    letter-spacing:1.5px;
    float:left;
    width:50%;
    border-left:1px solid #fff;
    box-sizing:border-box;
    color:#FFF;
    min-height: 90px; /*最小高度*/
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.fMenu ul li:first-child{
	border:none;
}
.fMenu ul li a{
    display:block;
    padding: 10px 10px 0 10px;
    font-size: clamp(12px, 2vw, 16px);
    color:#FFF;
    text-align:center;
    box-sizing:border-box;
    letter-spacing:0px;
    line-height: 1.2;
}
.fMenu ul li a i{
    display:block;
    font-size: clamp(20px, 3vw, 24px);
    color:#FFF;
}

/*圖文連結特效*/
@import url(https://fonts.googleapis.com/css?family=Raleway:400,500,800);
figure.snip1084 {
  color: #fff;
  position: relative;
  overflow: hidden;
  margin: 0 auto 0;
  min-width: 220px;
  max-width: 100%;
  max-height: 300px;
  width: 100%;
  background: #000000;
  text-align: center;
}

figure.snip1084 * {
  -webkit-box-sizing: padding-box;
  box-sizing: padding-box;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

figure.snip1084 img {
  opacity: 2;
  width: 100%;
   object-fit: cover; 
  height: 400px; /*高度*/
}

figure.snip1084 figcaption {
  top: 50%;
  left: 40px;
  right: 40px;
  position: absolute;
  -webkit-transform: translateY(-75%);
  transform: translateY(-75%);
}

figure.snip1084 figcaption h2 {
  position: relative; 
  font-weight: 300;
  font-weight:bold;
  color: #fff;
  text-transform: uppercase;
  margin: 0;
  -webkit-transform: translateY(50%);
  transform: translateY(50%);
  text-shadow: black 0.1em 0.1em 0.2em;
}

figure.snip1084 figcaption h2 span {
  font-weight: 300;
  font-size: 2.0em;
}

figure.snip1084 figcaption p {
  font-size: 0.9em;
  font-weight: 500;
  opacity: 0;
  margin: 0;
  color: #fff;
}

figure.snip1084:before,
figure.snip1084:after {
  position: absolute;
  top: 20px;
  right: 20px;
  bottom: 20px;
  left: 20px;
  content: '';
  opacity: 0;
  -webkit-transition: opacity 0.6s, -webkit-transform 0.6s;
  transition: opacity 0.6s, -webkit-transform 0.6s, -moz-transform 0.6s, -o-transform 0.6s, transform 0.6s;
}

figure.snip1084:before {
  border-top: 1px double #fff;
  border-bottom: 1px double #fff;
  -webkit-transform: scale(0, 1);
  transform: scale(0, 1);
}

figure.snip1084:after {
  border-right: 1px double #fff;
  border-left: 1px double #fff;
  -webkit-transform: scale(1, 0);
  transform: scale(1, 0);
}

figure.snip1084 a {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  position: absolute;
  z-index: 1;
}

figure.snip1084.blue {
  background: #0a212f;
}

figure.snip1084.red {
  background: #1176bd;
}

figure.snip1084.yellow {
  background: #ff9b52;
}

figure.snip1084:hover img,
figure.snip1084.hover img {
  opacity: 0.2;
  -webkit-filter: blur(5px);
  filter: blur(5px);
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

figure.snip1084:hover figcaption h2,
figure.snip1084.hover figcaption h2,
figure.snip1084:hover figcaption p,
figure.snip1084.hover figcaption p {
  opacity: 1;
  border-color: rgba(17, 118, 189, 0.5);
  -webkit-transition-delay: 0.2s;
  transition-delay: 0.2s;
  -webkit-transform: translateY(0);
  transform: translateY(0);
}

figure.snip1084:hover figcaption p,
figure.snip1084.hover figcaption p {
  -webkit-transition-delay: 0.3s;
  transition-delay: 0.3s;
}

figure.snip1084:hover:before,
figure.snip1084.hover:before,
figure.snip1084:hover:after,
figure.snip1084.hover:after {
  opacity: 0.8;
  -webkit-transform: scale(1);
  transform: scale(1);
}

/*產品介紹-特效*/
figure.snip1249 {
  position: relative;
  overflow: hidden;
  margin: 0 auto 0;
  width: 100%;
  height: 100%;
  display: inline-block;
  font-family: 'Noto Sans TC', sans-serif;
}

figure.snip1249 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.35s ease-in-out;
  transition: all 0.35s ease-in-out;
}
figure.snip1249 img{
  position: relative;
  width: 100%;
  height: 250px; 
  object-fit: cover;  /*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
  transform:scale(1,1);
}

figure.snip1249:hover img{
  opacity: 0.7;
  transform:scale(1.1,1.1);
}

figure.snip1249 h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
  margin-top: 20px;
}

@media only screen and (max-width: 700px){
figure.snip1249 h3 {margin-bottom: 20px;}
}

figure.snip1249 p {
    text-align: right;
}


figure.snip1249 p span {
  padding: 5px 20px;
 background-color: #2a69d0;
   border-radius: 30px;
 font-size: 16px;
  color: #ffffff;
  text-align: right;
}

figure.snip1249 figcaption a {color: #ffffff;}

figure.snip1249 figcaption {
  color: #000000;
  position: relative;
  font-size: 0.9em;
  width: 100%;

}


/*避免遮到footer版權服務文字*/
body[data-type="fullpage"] .container #footer-service { padding: 15px 15px 100px 15px; }
