/*Body*/
.row [class^="col-"] {
  padding:10px;
}


body[data-type="fullpage"]:not(#managehome) #wrap > :not(:last-child) { margin-bottom: 0px; }


/*Logo*/
@media only screen and (max-width: 767px) {
    body[data-type="fullpage"] .topnavbar {
        background-color: #1367bd;
    }
}


#logo {
  margin-top: -10px;
}


@media only screen and (max-width: 767px) {
  #logo {
  margin-top: 10px;
   }
}


/*Top*/
@media only screen and (min-width: 768px) {
  .topnavbar {
    position: absolute;
    left: 0;
    z-index: 100;
    width: 100%;
    padding: .6rem 0;
    height: 90px;
  }
}

.topnavbar .container {
  padding-top:0
}


/*nav*/
#nav ul li a {
    white-space: nowrap;
    color: #fff;
    line-height: 1.3;
    font-weight: normal;
    padding: 10px 18px;
    font-size: 100%;
    transition:all 0.5s;
}

#nav ul li a:hover{
    color: #f2d50f;
}


#nav ul li.current a  {
    color: #f2d50f;  
}



/*Banner*/
.swiper-container {
  height: auto !important;
}

.swiper-wrapper, .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(800 / 1920 * 100%); /* 注意圖片高度與寬度要去掉單位 */
}

.swiper-slide {
  width: 100% !important;
}



/*About_1*/
#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-header {
  display:none;
}

#bodyinpage.rwd-collapse.viewmode.default.about-us .h1title {
  display:none;
}

#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-1{
  background:url(https://static.iyp.tw/409716/files/7cc058b5-7ae8-4d42-84c0-3a89136c7dfb.jpg)no-repeat;
  background-position:top center;
  background-size:cover;
  min-height:500px;
  display: flex;
  align-items: center;
  justify-content: center;  
}

#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-1 .container{
  padding:60px 20px;
}

@media(max-width:600px){
  .ab.row .col-2{
    flex:0 0 100%;
    max-width:100%;
  }
}



/*About_2*/
#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-2{
  background:#efefef;
}


#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-2 .container{
   padding:60px 20px;
}


/*owl*/
.owl-carousel.owl-theme {
  padding: 0 1rem 2rem;
}
.owl-carousel.owl-theme .owl-nav {
  top: 50%;
  margin: 0;
  transform: translateY(-50%);
}
.owl-carousel.owl-theme .owl-dots {
  bottom: 0;
}
.owl-carousel.owl-theme button:focus {
  outline: none;
}
.owl-carousel.owl-theme .owl-nav,
.owl-carousel.owl-theme .owl-dots {
  position: absolute;
  left: 0;
  right: 0;
}
.owl-carousel.owl-theme .owl-nav .owl-prev {
  float: left;
  transform: translateX(-100%);
}
.owl-carousel.owl-theme .owl-nav .owl-next {
  float: right;
  transform: translateX(100%);
}
.owl-carousel.owl-theme .owl-nav .owl-prev:hover,
.owl-carousel.owl-theme .owl-nav .owl-next:hover{
  background: none;
  color: inherit;
}
.owl-carousel.owl-theme .owl-nav .fa{
  font-size: 3em; /*箭頭大小*/
}

.editmode .owl-carousel.owl-loaded {
  display: flex;
  flex-wrap: wrap;
}
.editmode .owl-carousel > div {
  flex: 0 0 25%;
  max-width: 25%;
}



/*About_3*/
#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-3{
  background:url(https://static.iyp.tw/409716/files/c4e95337-75f7-482d-bbaa-460b3d7f2c7a.jpg)no-repeat;
  background-position:top center;
  background-size:cover;
  display: flex;
  align-items: center;
  justify-content: center; 
  min-height:600px;
}


#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-3 .container{
  background:url(https://static.iyp.tw/409716/files/6dd1e266-f136-4f22-983e-c52afa1de6ba.png)no-repeat;
  background-position:top center;
  background-size:cover;
  padding:100px 20px;
}

@media(max-width:767px){
  #bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-3 .container .ct.row{
    background:rgba(255,255,255,0.75);
    border-radius:25px;
  }
}


.button {
  background:#31a0d9;
  border:1px solid transparent;
  color:#fff !important;
  padding:10px;
  border-radius:50px;
  width:100%;
  height:60px;
  line-height: 40px;
  font-size:16px;  
}

.button a{
  color:#fff;
}


/*About_4~6*/
#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-4,
#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-5,
#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-6{
  display:none;
}

/*Contact*/
@media(max-width:767px){
  .ma.row .col-2{
    flex:0 0 100%;
    max-width:100%;
  }
}




/*h1*/
.h1title h1{
  color:#0c86c5;
  text-align:center;
}

.h1title h1 span::after {
    content: "";
    display: inline-block;
    font-family: monospace;
    background: #f4950e;
    width: 25px;
    height: 5px;
    display: block;
    margin: .5em auto 1em;
}




/*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: inherit;
  overflow: hidden;
  padding: 0 16px;
  color: #195fad;
}



/*Form*/
.mark{
  background:none;
}



/*foott*/
#foot-nav{
  display:none;
}



/*Break_word*/
@media(max-width:480px){
.mobile-br:before { 
    content: ' '; 
    display: block;
 }
}



/*map*/
.responsive-16by9 {
    display: block;
    position: relative;
    height: 0;
    overflow: hidden;
    padding: 0;
    padding-bottom: 75%;
}
.responsive-16by9 iframe {
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
}

#gotop {
    display: none;
    position: fixed;
    right: 20px;
    bottom: 20px;
    padding: 20px 15px;
    font-size: 17px;
    border-radius: 50px;width:70px;height:70px;
    background-color: rgba(162, 17, 17, 0.5);
    color: white;
    text-align:center;
    cursor: pointer;
}

/*產品格四邊留白*/
ul.product-list div.img img {
	max-width: 90%;
    max-height: 90%;
}

.rwd-navbar-toggle .label {
    color: #ffffff;background:#ec8710;padding:1px;border-radius:2px}


.navbar-icon-bar {
background-color: #ec8710;}

.navbar-icon-bar:before, .navbar-icon-bar:after{background-color: #ec8710;}

/*icon*/
.line {position: fixed; right: 0.5%; top: 60%; z-index: 1000;transform:scale(0.9);}
.TEL {position: fixed; right: 0.5%; top: 50%; z-index: 1000;transform:scale(0.9);}
}

@media(max-width:767px){
.line {position: fixed; right: 0.5%; top: 80%; z-index: 1000;transform:scale(0.9);}
.TEL {position: fixed; right: 0.5%; top: 73%; z-index: 1000;transform:scale(0.9);}
}

