/*go_top*/
#gotop {
    display: none;
    position: fixed;
    right: 20px;
    bottom: 20px;
    padding: 20px 15px;
    font-size: 17px;
    border-radius: 50px;width:100px;height:100px;
    background-color: rgba(0, 96, 176, 0.5);
    color: white;
    text-align:center;
    cursor: pointer;
}


body[data-type="fullpage"]:not(#managehome) #wrap > :not(:last-child) { margin-bottom: 0px; }


body[data-type="fullpage"] #nav {
    font-size: 1rem;
    width: 100%;
}


@media(min-width:1920px){
body[data-type="fullpage"] #footer .container {
    width: 1160px;
 }
}

#header .topnavbar .container {
  padding-left: 60px;
  padding-right: 60px;
  width: 100%;
}


/*回首頁*/
.navbar-nav > li > a {
    color: #fff;
}

.topnavbar .container {
    height: 100%;
    padding-top: 0px;
    padding-bottom: 10px;
    text-align: left;
    font-size: 0;
}

.topnavbar {
  background-color: #fff;
  top:0px;
  position: relative;
  z-index:100;
  width:100%;
  padding: .6rem 0;
  height: 100px;
}



/*nav*/
#nav{margin-top:-35px;float:right;text-align:right;}

#nav ul li a {
    white-space: nowrap;
    color: #333;
    line-height: 1.3;
    font-weight: normal;
    padding: 10px 18px;
    font-size: 95%;
    border-right: 1px #888 dotted;
    transition:all 0.5s;
}

#nav ul li a:hover{
    color: #1580c3;
}

#nav ul li a span{transition:all 0.5s;}

#nav ul li a:hover span{border-top:2px solid #1580c3;padding-top:5px;}

#nav ul li .subnav a span:hover  {
    display: inline-block;
    max-width: 200px;
    border-top: 0px solid;
}


#nav ul li.current a  {
    color: #1580c3;  
}



#nav .subnav {
    position: absolute;
    top: 100%;
    max-width: 200px;
    background-color: rgba(75,75,75,0.55);
} 


#nav ul .subnav li a {
    background-color: rgba(75, 75, 75,0.85);
    color: #fff;
    text-align: left;
    width: 200px;
}

#nav ul li .subnav a span {
    display: inline-block;
    max-width: 200px;
}


#nav li.has-subnav ul li a {
    color: #fff;
    width:200px;
    white-space: pre-line;  
}


/*Banner*/
.swiper-container {
  height: auto !important;
}

.swiper-wrapper, .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(650 / 1920 * 100%); /* 注意圖片高度與寬度要去掉單位 */
}

.swiper-slide {
  width: 100% !important;
}


/*Index_3*/
#bodyinhome .fcol.fcol-3{
  background:url(https://static.iyp.tw/17810/files/fdb928b6-7149-4f1c-82ba-5fb4a2542ba2.png)no-repeat;
  background-position:top center;
}

@media(max-width:414px){
  #bodyinhome .fcol.fcol-3{
  background-size:cover;
  background-position:top center;
 }
}


#ind_ser .imgBox {
    width: 200px;
    height: 200px;
    margin: 0 auto;
}


.imgBorder {
    display: block;
    height: inherit;
    border: 6px solid #fff;
    border-radius: 10px;
}

.w-20 {
    width: 19%;
    display: inline-block;
    margin-right: 10px;
}

@media(max-width:414px){
  .w-20 {
    width: 45%; 
    padding-left: 10px;
  }  
}

.ov-h {
    overflow: hidden;
}

.imgBorder img {
    width: 100%;
    display: block;
    transition: all .3s;
}

.imgBorder:hover img {
    transform: scale(1.2);
}


span.cat-name2 {
    background: #318dc1;
    font-size: 16px;
    width: 120px;
    height: 120px;
    flex: 0 0 140px;
    border: 6px solid #fff;
    padding: 35px 5px;
    float: right;
    border-radius: 99em;
    text-align: center;    
    margin-top: -100px;
    z-index: 99999;
    position: relative;
}


/*Index_4~6*/
#bodyinhome .fcol.fcol-4, .fcol.fcol-5, .fcol.fcol-6{display:none;}


/*h1*/
.h1title{color:#000;border-bottom:1px dashed #000;}


/*Side*/
#side ul li a {
    color: #222;
    display: block;
    padding: 10px 20px;
    transition: .3s;
    border-bottom: 1px dashed #222;
}


/*pd*/
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: #000;
    overflow: hidden;
    padding: 0 16px;
}

body[data-type="fullpage"] .product-list-div h2 a.show-all {
    color: #fff;
    transition-property: left, color;
    background: #59aacb;
    text-shadow: none;
    padding: 0 10px;
}

/*news*/
.news .fcol .news-list li h3, .news .news.main-content li h3 {
    padding-left: 10px;
    width: 82%;
    color: #bc7272;
}


/*form*/
.mark {
    background: none;
   }


/*footer*/
#footer{background:#12a8ad;}

#foot-nav ul li a {
    color: #fff;
    font-size: 1.06em;
}

#foot-nav {
    clear: both;
    padding: 1em 0;
    border-bottom: 1px solid #fff;
}

#footer {
    color:#fff;
}

#contact-info ul li span {
    color: #fff;
}

#copyright, #copyright a{color:#dcdcdc;}


/*
#main h1 {
    font-size: 24px;
}
body {
background:#2fa0cc;
background-repeat:no-repeat;
background-image: url("/templates/cache/18284/images/524155e439d95.jpg");
  background-position:50% 0%;
}

#side .side-top h2 {
    color: #000000;
    font-size: 17px;
}

.column.right {
    background: url("../images/body-bg.png") repeat scroll left top #A2D1E8;
}
*/

#nav {
  margin-top: 1px;
  float: right;
  text-align: right;
}