body{
   background-color: #fff;
 
 }
.ser-line {

    background: #fff;
    width: 25px;
    height: 3px;
    display: block;
    margin: 1em auto 1em;

}
.topnavbar .container {
  text-align: center;
}
.frame {
	float: left;
	background-image: url(/templates/cache/17747/images/5238183448020.png);
	background-repeat: no-repeat;
	height: 237px;
	width: 273px;
	padding-top: 15px;
	padding-right: 15px;
	padding-bottom: 15px;
	padding-left: 12px;
    margin-left:15px;
}
.frame img{
	height: 150px;
}
#nav ul li a {
    white-space: nowrap;
    overflow: hidden;
    -ms-text-overflow: ellipsis;
    text-overflow: ellipsis;
    display: block;
    font-size:15px;
    padding: 5px 10px;/*頁籤文字間隔;padding:2px 16px 2px 16px;*/
    line-height: 1.3;
    transition: .3s;
  letter-spacing:3px

}
@media only screen and (min-width: 768px) {
.topnavbar {
    background-color: #fff;/*頁籤底圖顏色;background-color: rgba(0,0,0,0);透明*/
    position: relative;/*頁籤&banner分開不重疊*/
    height: 140px;/*頁籤底圖高度*/
    padding: 0;/*頁籤間距*/
  
    border: 1px solid transparent;
    border-width: 0 0 40px 0;
    border-image: linear-gradient(to right, #333 0%, #000 100%);
    border-image-slice: 1;
}}
#nav ul li a {
    white-space: nowrap;
    overflow: hidden;
    -ms-text-overflow: ellipsis;
    text-overflow: ellipsis;
    display: block;
    color: #ffffff;/*頁籤文字顏色*/
    padding: 10px 20px;/*頁籤文字間隔;padding:2px 16px 2px 16px;*/
    line-height: 1.3;
    transition: .3s;
}

#nav ul li a:hover  {
    color: #ffffff;/*頁籤滑過文字顏色*/
    background: #1d448d;
}
#nav ul li.current a {
    color: #ffffff;/*頁籤按下後文字顏色*/
    background: #1d448d;
}
body[data-type="fullpage"]:not(#managehome) #wrap>*:not(:last-child) {
    margin-bottom: 0px;
}

#bodyinhome .fcol.fcol-1 {
       background-image: -webkit-linear-gradient(left, #910000 0%,#a70000 50%, #300c01 100%);/*頁籤底色漸層*/
   background-color: #fff;
}

#bodyinhome .fcol.fcol-2 {
    background-color: #25242c;
}

#bodyinhome .fcol.fcol-3 {
    background-image: url(https://static.iyp.tw/17342/files/172a7b90-dcb3-49c3-aed3-db119b3ceedd.jpg);
	background-repeat: no-repeat;
}

.fcol.fcol-4 {
   display: none;
}
.fcol.fcol-5 {
   display: none;
}
.fcol.fcol-6 {
   display: none;
}

#nav li.certificate ul.subnav{
    display: none;
}

#nav .subnav {
    background-color: #2e2e2e;
    word-wrap:break-word
}
.swiper-container {
  height: auto !important; /* 將容器預設的高拿掉 */
}

.swiper-wrapper, .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(800 / 1920 * 100%); /* 自定響應式圖片高度 */
}

.swiper-slide {
  width: 100% !important; /* 強制圖片寬度隨容器變更 */
}
/*圖片疊文字*/
#DIV_BIG{
    width:320px;

   position:relative;
  margin-left: auto; margin-right: auto;"
}

#DIV_SMALL{
	width:320px;
	height: 60px;
	background: rgba(28, 28, 28, 0.8); 
	position: absolute;
	bottom: 0px;
	left: 0px;
	text-align:center;
	color: #FFF;
	transition:0.7s;
  margin-left: auto; margin-right: auto;"
}

#DIV_SMALL:hover{
	 width:320px;
	background: rgba(28, 28, 28, 0.8); 
	position: absolute;
	bottom: 0px;
	left: 0px;
	margin-top: 160px;/*相加等於高*/
	color: #FFF;
	transition:0.7s;
	text-align:center;

  margin-left: auto; margin-right: auto;"
}

