.phone{position:fixed;right:0%;top:40%;z-index:1000}
.line{position:fixed;right:0%;top:52%;z-index:1000}
.fb{position:fixed;right:0%;top:64%;z-index:1000}
.ig{position:fixed;right:0%;top:76%;z-index:1000}
.map{position:fixed;right:0%;top:88%;z-index:1000}

.topnavbar .container {
  text-align: center;
  background-image: url(https://static.iyp.tw/40963/files/1b070556-9e67-4e26-98eb-d2f7e1017c7b.jpg);
}

.topnavbar .container::after {
  display: inline-block;
  width: 100%;
}

body {
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position:top;
    background-image: url(https://static.iyp.tw/40963/files/1b070556-9e67-4e26-98eb-d2f7e1017c7b.jpg);
    background-color: #fff;/*背景底色*/
}

@media only screen and (min-width: 768px) {
#nav > ul > li:nth-child(-n+4) {
    z-index: 1;
}}
/*次頁籤層級上移
雙排頁籤文字時上排次頁籤會被下排壓住*/

@media only screen and (min-width: 768px){
.topnavbar {
    background-image: url(https://static.iyp.tw/40963/files/1b070556-9e67-4e26-98eb-d2f7e1017c7b.jpg);
    background-color: #fff;/*頁籤底圖顏色;background-color: rgba(0,0,0,0);透明*/
    position: relative;/*頁籤&banner分開不重疊*/
    /*height: 100px;/*頁籤底圖高度*/
    padding: 0;/*頁籤間距*/
}}

body[data-type="fullpage"] #nav {
    font-size: 1.0rem;/*頁籤文字大小*/
}

#nav ul li a {
    white-space: nowrap;
    overflow: hidden;
    -ms-text-overflow: ellipsis;
    text-overflow: ellipsis;
    display: block;
    color: #333333;/*頁籤文字顏色*/
    padding: 10px 20px;/*頁籤文字間隔;padding:2px 16px 2px 16px;*/
    line-height: 1.3;
    transition: .3s;
}

#nav ul li a:hover  {
    color: #7e0a10;/*頁籤滑過文字顏色*/
}
#nav ul li.current a {
    color: #7e0a10;/*頁籤按下後文字顏色*/
}

#nav .subnav {
    background-color: #fff;/*次頁籤底色*/
}

ul.product-list li a {
    color: #2276d2;/*產品格文字顏色*/
    background-color: #ddd;/*產品格底色*/
}
ul.product-list li a:hover {
    color: #2276d2;/*產品格滑過文字顏色*/
}


/*title文字顏色*/
.h1title {
    color: #333333;
}

a {
    color: #1c9c96;/*連結顏色*/
    text-decoration: none;
}

.swiper-container {
  height: auto !important; /* 將容器預設的高拿掉 */
}

.swiper-wrapper, .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(750 / 1920 * 100%); /* 自定響應式圖片高度 */
}

.swiper-slide {
  width: 100% !important; /* 強制圖片寬度隨容器變更 */
}

/* 首頁各層編輯欄背景*/
#bodyinhome .fcol.fcol-4 {
   width: 100%;
   background-attachment: fixed;
   background-repeat: no-repeat;
   background-position:top;
   background-image: url(https://static.iyp.tw/40963/files/a20ae5a9-a708-4dc1-abf8-d3a4c00569f0.jpg);
   background-color: #333333;
}
#bodyinhome .fcol.fcol-5 {
   width: 100%;
   background-attachment: fixed;
   background-repeat: no-repeat;
   background-position:top;
   background-image: url(https://static.iyp.tw/40963/files/a20ae5a9-a708-4dc1-abf8-d3a4c00569f0.jpg);
   background-color: #333333;
}
body[data-type="fullpage"]:not(#managehome) #wrap>*:not(:last-child) {
    margin-bottom: 0px;
}

#footer {
    color: #ffffff;
    background-color: #7e0a10;
}


/*圖片特效圓角矩形變圓*/
.menu [class^="col-"] img:hover {
  border-radius: 50px;
}
.menu [class^="col-"] img {
  transition:0.7s;
  border-radius: 0px;
  border: 1px #dddddd solid;
  padding:5px;
  background-color:#fff;
}
/*圖片特效-透明度*/
.row [class^="col-"] img{
  opacity:3;
  transition:0.7s
}
.row [class^="col-"] img:hover {
    opacity:0.55;
}
.row [class^="col-"] {
  padding:10px;
}


/*表格按鈕-文字底色變化特效*/
button1 {
    margin: 20px;
}
.btn-1 {
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    border: 1px solid #ccc;/*表格按鈕框線樣式*/
    color: #666;
}
.btn-1:hover{
    background-color: #333; /* 當滑鼠經過時按鈕表格底色變化 */
    color: #fff;/* 當滑鼠經過時按鈕表格文字變化 */
}
.custom-btn {
    padding: 10px 35px;
    font-family: Arial,微軟正黑體; 
    font-weight: 500;
    background: transparent;
    outline: none !important;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}/*表格按鈕-文字底色變化特效*/

/*#frame img {
	height: 160px;
	width: 100%;
}*/
