/*浮動按鈕外觀*/
#phone {
    width: 55px;
    right: 18px;
    z-index: 999;
    bottom: 205px;
    position: fixed;
}

#phone2 {
    width: 55px;
    right: 18px;
    z-index: 999;
    bottom: 275px;
    position: fixed;
}

#fb {
    width: 55px;
    right: 18px;
    z-index: 999;
    bottom: 345px;
    position: fixed;
}

#gotop {
    display: none;
    position: fixed;
    right: 20px;
    bottom: 20px;
    padding: 9px 16px;
    font-size: 15px;
    border-radius: 50%;
    background-color: hsla(240, 0%, 50%, 0.5) ;
    color: white;
    cursor: pointer;
}

/*手機板banner縮放*/
.swiper-container {
  height: auto !important;
}

.swiper-wrapper, .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(800 / 1920 * 100%); /* 注意圖片高度與寬度要去掉單位 */
}

.swiper-slide {
  width: 100% !important;
}

/* 內頁 */
#bodyinpage .swiper-wrapper, #bodyinpage .swiper-slide {
  padding-bottom: calc(400 / 1920 * 100%); /* 內頁 banner 大小 */
}

/*iphone手機顯示調整*/
@media only screen and (max-width: 576px) {
.rwd-wrapper .col-2 {
-webkit-flex:0 0 100%;
-ms-flex: 0 0 100%;
flex: 0 0 100%;
max-width: 100%}
}

@media only screen and (max-width: 576px){
.topnavbar {
     text-align: center;
     background-color: Transparent;/*底色*/
     padding: 0;/*頁籤間距*/
}
.topnavbar .container {
  text-align: justify;
  font-size: 0;
  background-color: rgb(255, 255, 255);
}}
  
.topnavbar {
    text-align: center;
    background-color: Transparent;/*頁籤底圖顏色;background-color: rgba(255,255,255,0);透明Transparent*/
    padding: 0;/*頁籤間距*/
}

.topnavbar .container {
  text-align: justify;
  font-size: 0;
}

.topnavbar .container::after {
  content: "";
  display: inline-block;
  width: 100%;
}

#nav ul li a {
    color: #fff;/*頁籤文字顏色*/
    font-size:16px;/*頁籤文字大小*/
    padding: 10px 20px;/*頁籤文字間隔;padding:2px 16px 2px 16px;*/
    line-height: 1.5;
    transition: .3s;
    letter-spacing: 1px;
    text-shadow: 0px 0px 4px #000;
    font-family: "Noto Sans TC", sans-serif;
    font-weight: 500;
  
}
#nav ul li a:hover {
    color: #c9c9c9;/*頁籤滑過文字顏色*/
}
#nav ul li.current a {
    color: #c9c9c9;/*頁籤按下後文字顏色*/
    font-weight: bold;
    font-weight: 600;
}
#nav .subnav {
    background-color: #fff;/*次頁籤底色*/
    max-width: 400px;/*次頁籤背景最大寬度*/
}
#nav li.has-subnav ul li a {
    color: #000;
}
#nav li.has-subnav ul li a:hover {
    color: #fff;
    background:#c9c9c9;/*次頁籤背景滑過顏色*/
}
#nav li.has-subnav ul li.has-subnav>div a::after, #nav>ul>li.has-subnav>a::after {
    padding-left: 2px;/*下拉選單箭頭距離*/
}

#logo {
    min-height: 50px;
    text-align: center;
}

body {
    background-color: #fff;/*背景底色*/
}

/*大標隱藏*/
.h1title { display:none;}

/*內文字型大小顏色*/
#product-header, .fcol.fcol-1, .fcol.fcol-2, .fcol.fcol-3,  .fcol.fcol-4, .fcol.fcol-5, .fcol.fcol-6 {
  line-height: 2;
  letter-spacing: 0.05em;
}

/*首頁*/
body.index .fcol-1 {
    line-height: 2.5;
    background-color: #eee;
    width: 100%;
    margin-top: -3rem;
    padding: 5rem 0;
    background-attachment: scroll; /*fixed固定背景; scroll捲動背景*/
    background-repeat: no-repeat;
    background-position:top;
    background-size: cover;/*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
    background-image: -webkit-linear-gradient(top, rgb(255 255 255 / 100%) 30%, rgb(255 255 255 / 60%) 70%), url(https://static.iyp.tw/409639/files/c13aed3b-8cd8-4566-82cd-6aea75d7d7de.png)  ;
}

body.index .fcol-2 {
    background-color: #eee;}

body.index .fcol-3 {
    background-color: #eee;
    width: 100%;
    padding: 5rem 0;
    background-attachment: scroll; /*fixed固定背景; scroll捲動背景*/
    background-repeat: no-repeat;
    background-position:top;
    background-size: cover;/*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
    background-image: -webkit-linear-gradient(top, rgb(238 238 238 / 100%) 30%, rgb(238 238 238 / 60%) 70%), url(https://static.iyp.tw/409639/files/b9291e7c-fd40-41b7-8455-abd0bbe0ba2c.png)  ;
}

body.index .fcol-5 {display:none;}
body.index .fcol-6 {display:none;}

/*頁尾*/
#footer {
    margin-top: -2rem;
    background-color: #ccc;
    color: #1b1b1b;
}
#footer a {
    color: #1a1a1a;
}
#foot-nav {
    clear: both;
    padding: 1em 0;
    border-bottom: 0px solid #444;
}

#foot-nav ul li a {
    display: block;
    color: #1b1b1b;
}
#foot-nav ul li.current a, #foot-nav ul li a:hover {
    color: #454545;
}
.contact-row h5 {
    color: #1b1b1b;
    padding: .5em 0 1em;
    width: 100%;
}
#contact-info ul li span {
    color: #1b1b1b;
}

/*關於艾德分別*/
body.about-us .fcol-3 {display:none;}
body.about-us .fcol-4 {display:none;}
body.about-us .fcol-5 {display:none;}
body.about-us .fcol-6 {display:none;}

/*贊助賽事分別*/
body.event .fcol-2 {display:none;}
body.event .fcol-3 {display:none;}

/*產品格*/
body.product .fcol-1 .container {width: 80%;}
body.product .fcol-2 {display:none;}
body.product .fcol-3 {display:none;}

ul.product-list li a{color: #ffffff; background-color: rgba(88, 88, 88, 0.8);text-align: center;}
ul.product-list li a.focus, ul.product-list li a:hover {color: #1b1b1b;}

.news .fcol .news-list li a:hover, .news .news.main-content li a:hover {color: #1b1b1b;}

a {color: #1b1b1b;}
.news .fcol .news-list li a:hover, .news .news.main-content li a:hover {color: #c9c9c9;}

ul.product-list li h3 {
    flex: 1 0 auto;
    max-height: 3.15rem;
    margin: 0.7rem 0;
    font-size: 1rem;
    line-height: 1.5;
    color: inherit;
    overflow: hidden;
    padding: 5px;
}

/* 透明漸變分隔線 */
hr.style-two {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(27,27,27,0), rgba(27,27,27,0.75), rgba(27,27,27,0));
}

/*圖片放大透明*/
.picc { 
    opacity: 1; /* 透明度100% FireFox 的寫法 */ 
    filter: Alpha(Opacity=100); /* 透明度100% IE 的寫法 */ 
    margin:0 auto;
    overflow: hidden;
} 
.picc img { 
    opacity: 1; 
    filter: Alpha(Opacity=100); 
  margin:0 auto;
  -webkit-transform: scale(1);
  -webkit-transition: 1s;
} 
.picc img:hover { 
  opacity: .5; /* 透明度50% FireFox 的寫法 */ 
  filter: Alpha(Opacity=50); /* 透明度50% IE 的寫法 */ 
  -webkit-transform: scale(1.05);
}

/*首頁三格*/
.snip1576 {
  background-color: #fff;
  color: #444;
  display: inline-block;
  font-family: 'Roboto', sans-serif;
  font-size: 24px;
  margin: 8px;
  max-width: 315px;
  min-width: 230px;
  overflow: hidden;
  position: relative;
  text-align: center;
  width: 100%;
}

.snip1576 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.45s ease;
  transition: all 0.45s ease;
}

.snip1576:after {
  background-color: #1b1b1b;
  height: 150%;
  bottom: -145%;
  content: '';
  left: 0;
  right: 0;
  position: absolute;
  -webkit-transition: all 0.5s linear;
  transition: all 0.5s linear;
}

.snip1576 img {
  vertical-align: top;
  max-width: 100%;
  backface-visibility: hidden;
}

.snip1576 figcaption {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  align-items: center;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.1em;
  opacity: 0;
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
}

.snip1576 h3 {
  font-size: 1em;
  font-weight: 400;
  letter-spacing: 1px;
  margin: 0;
  text-transform: uppercase;
}

.snip1576 h3 span {
  display: block;
  font-weight: 700;
}

.snip1576 a {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
}

.snip1576:hover > img,
.snip1576.hover > img {
  opacity: 0.1;
}

.snip1576:hover:after,
.snip1576.hover:after {
  bottom: 95%;
}

.snip1576:hover figcaption,
.snip1576.hover figcaption {
  opacity: 1;
  -webkit-transition-delay: 0.4s;
  transition-delay: 0.4s;
}
