/*下立選單往左*/
#nav li.has-subnav ul ul {
  top: 0;
  left: -100%;
  -webkit-transform: rotateY(75deg);
  transform: rotateY(75deg);
}


/*body*/
.row [class^="col-"] {
  padding:10px;
}


body[data-type="fullpage"]:not(#managehome) #wrap > :not(:last-child) { margin-bottom: 0px; }


/*top*/
.navbar-nav > li > a {
    color: #fff;
}

.topnavbar .container {
  text-align: justify;
  font-size: 0;
  text-align: center;  
}

.topnavbar .container::after {
  content: "";
  display: inline-block;
  width: 100%;
}

.topnavbar {
  background-color: #f8d205;
  top:0px;
  position: relative;
  z-index:100;
  width:100%;
  padding: .6rem 0;
  height: 100px;
}


/*fall*/
body[data-type="fullpage"] #nav {
    font-size: 1rem;
     width: 100%;
}

body[data-type="fullpage"] #nav .container {
    font-size: 1rem;
     width: 80%;
}


#header .topnavbar .container {
    padding-left: 0px;
    padding-right:0px;
    width: 100%;
}


@media(min-width:1920px){
body[data-type="fullpage"] #footer .container {
    width: 1160px;
 }
}


/*nav*/
#nav{background:rgba(255,255,255, 0.75);margin-top:-10px;}

#nav ul li a {
    white-space: nowrap;
    color: #222;
    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: #1a6e70;
}

#nav ul li a span{transition:all 0.5s;}

#nav ul li a:hover span{border-top:2px solid #1a6e70;padding-top:5px;}


#nav ul li.current a  {
    color: #1a6e70;  
}


#nav .subnav {
    position: absolute;
    top: 100%;
    max-width: 200px;
    background-color: rgba(75,75,75,0.55);
} 


#nav ul .subnav li a {
    background-color: #1a6e70;
    color: #fff;
    text-align: left;
    width: 200px;
}

#nav ul li .subnav a span {
    display: inline-block;
    max-width: 200px;
    padding: 0px 5px;
    border-top:0px;
}

#nav ul li .subnav a span:hover  {
    display: inline-block;
    max-width: 200px;
    border-top: 0px solid;
    padding: 0px 5px;
    border-top:0px;
}

#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*/
#bodyinhome .fcol.fcol-4, #bodyinhome .fcol.fcol-5, #bodyinhome .fcol.fcol-6{
  display:none;
} 


/*h1*/
.h1title{color:#000;border-bottom:1px dashed #000;}


/*side*/
#side ul li a {
    color: #555;
    display: block;
    padding: 10px 20px;
    transition: .3s;
    border-bottom: 1px dashed #555;
}  

/*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;
}


/*form*/
.mark {
    background: none;
   }

#contact-info {display:none;}

.contact-row {
    padding: 0em 0 0em;
    line-height: 1.6;
}

#footer.container .col-md-5 {
    margin-top: -45px;
}

.contact-row h5 {
    display: none;
}

body[data-type="fullpage"] #function{
    margin-top: -45px;
    padding-left: 30%;  
}
