/*手機選單*/
 @media only screen and (min-width: 768px) {

    .topnavbar {
      background-color: #034e95; /* 填入想要桌面版型的導覽列顏色 */
    }
  }
  .navbar {
    background-color: #034e95; /* 填入想要手機版型的導覽列想要的顏色 */
  }
  #nav ul li a {
    color: #fff; /* 填入想要桌面版型的導覽選項文字想要的顏色 */
  }

.rwd-navbar-toggle {
    float: right;
  }
  .navbar-nav {
    margin-right: 15px;
  }
  @media only screen and (max-width: 767px) {
    .rwd-side {
      transform: translateX(100%);
    }
  }


/*手機版選單展開的樣式*/
  @media only screen and (max-width: 767px) {
    .rwd-navbar-toggle:before,
    .rwd-side {
      background-color: rgb(9, 49, 130); /* 填入想要手機版型的選單背景顏色 */
    }
    .rwd-side a {
      color: #fff; /* 填入想要手機版型的選單選項的文字顏色 */
    }
    .rwd-side .product-search input[type="text"],
    .rwd-side .product-search input[type="text"]:focus {
      background-color: #fff; /* 填入想要手機版型的搜尋輸入匡的背景顏色 */
     }
    .rwd-side .nav li {
      border-bottom: 1px #ccc solid;
    }
    .rwd-side .language > a {
      padding-left: 0px;
    } 
  }

.rwd-side.menu-open {
  background: #FFF;
 }


.navbar-icon-bar {
    height: 4px;
  }
.navbar-icon-bar:before {
    transform: rotate(180deg);
    top: 0px
  }
.navbar-icon-bar:after {
    transform: rotate(90deg);
    top: 0px
  }
.menu-open .navbar-icon-bar:before {
    transform: rotate(0deg);
  }
.menu-open .navbar-icon-bar:after {
    transform: rotate(0deg);
  }
body[data-type="fullpage"] .navbar-nav>li>a {
    line-height: initial;
  }



/*tl icon*/
.tl{position:fixed;right:0.5%;top:16%;z-index:1000;}

@media only screen and (max-width: 480px) {
  .tl{position:fixed;right:0.5%;top:40%;z-index:1000}
  .line{position:fixed;right:0.5%;top:46%;z-index:1000;}
}


/*body*/
a {
    color: #333;
    text-decoration: none;
}
a:hover {
    color: #034e95;
}

.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 {
    background-color: rgba(0,0,0,0);
}

.topnavbar .container {
  text-align: justify;
  font-size: 0;
  /*text-align: center;*/ 
  padding-top:0px;
}

.topnavbar .container::after {
  content: "";
  display: inline-block;
  width: 100%;
}
/*
@media only screen and (min-width: 768px){
.topnavbar {
  height:100px;
 }
}  
*/
@media(max-width:428px){
.topnavbar .container {
    background-color: #034e95;
  }
}


/*logo*/
#logo a{background:url("https://static.iyp.tw/37659/files/ba738f9d-f0be-4828-a20e-edae7f5430e5.png") no-repeat scroll 0 0 transparent;display:block;text-indent:-9999px;width:300px;height:130px;}

#logo {
   margin-top: -10px;
}

@media(max-width:428px){
  #logo {
  left: 5%;
  height: 120px;  
 }
}  

@media(max-width:767px){
 #logo h1 {
   height: 120px;
 }
} 

@media(max-width:428px){
 #logo h1 {
   height: 120px;
 }
}  

 #logo img {
   padding: 0 16px 16px;
 }


/*nav*/
body[data-type="fullpage"] #nav {
    font-size: 1rem;
    width: 100%;
}


#header .topnavbar .container {
  padding-left: 10%;
  padding-right: 10%;
  width: 100%;
}


@media(min-width:1920px){
body[data-type="fullpage"] #footer .container {
    width: 1160px;
 }
}

#nav{
  padding-bottom: 25px;
  margin-top:-100px;
}

@media(max-width:1024px){
  #nav{
  padding-bottom: 25px;
  margin-top:0px;
  }
}


#nav ul{
  float: right;
}  

#nav ul li a {
    white-space: nowrap;
    color: #fff;
    line-height: 1.3;
    font-weight: normal;
    padding: 15px 12px;
    font-size: 95%;
    border-right: 1px #888 dotted;
    transition:all 0.5s;
    display: inline-block;
}

@media(max-width:1280px){
  #nav ul li a {
    padding: 10px 5px;
  }
}

#nav ul li a:hover{
    color: #FDDF9C;
}

#nav ul li.current a  {
    /*background:#ad0000;*/
    color: #FDDF9C;  
}

#nav .subnav {
    position: absolute;
    top: 100%;
    max-width:200px;
    background-color: #fff;
} 


#nav ul .subnav li a {
    color: #333;
    text-align: left;
    width: 200px;
}

#nav ul li .subnav a span {
    display: inline-block;
    max-width: 200px;
    padding: 7px 5px;
    background:transparent;
   
}

#nav ul li .subnav a span:hover  {
    display: inline-block;
    max-width: 200px;
    border-top: 0px solid;
    background:transparent;
}


#nav li.has-subnav ul li a {
  color: #333;
  width: 200px;
  white-space: pre-line;
  padding: 7px 5px;
  background: transparent;
}

#nav li.has-subnav ul li a:hover {
    color: #FDDF9C;
    background:#3D6579;
 }




/*Index_2*/
#bodyinhome .fcol.fcol-2{
  background:url(https://static.iyp.tw/37659/files/594b63f6-a82d-46f7-b5f2-3329c182212c.jpg)no-repeat;
  background-size:cover;
  background-position:top center;
  min-height: 400px;
  background-attachment:fixed;
}

#bodyinhome .fcol.fcol-2 .container{
   padding:60px 20px;
}


/*Title*/
.titleBox{
writing-mode: vertical-rl;
padding-right: 20px;
}

.titleBox .titleTw {
  font-size: 35px;
  font-weight: 500;
  line-height: 1.5;
  color: #000;
  padding-right: 10px;
}


.titleBox .titleEn {
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  color: #c3a15f;
  padding-right: 5px;
}


#bodyinhome .fcol.fcol-1 .ab_txt{
  padding: 55px 45px 30px 45px;
  margin-left: -85px;
  box-shadow: 0 5px 5px rgba(44,44,44,0.1);
}

@media(max-width:428px){
  #bodyinhome .fcol.fcol-1 .ab_txt{
  padding: 55px 45px 30px 45px;
  margin-left: 0px;
  box-shadow: 0 5px 5px rgba(44,44,44,0.1);
 }
}



/*service*/
.service_img {
  position: relative;
  box-shadow: 0 5px 5px rgba(44,44,44,0.1);
  padding: 5px 5px 0;
  border: 3px solid #FDDF9C;
  border-radius: 0.1em;
}

.service_text {
  position: absolute;
  display: table-cell;
  z-index: 999;
  text-align: center;
  vertical-align: middle;
  width: 100%;
  height: 100%;
  color: #fff;
  top: 0px;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0 15px 15px 15px;
  background: rgba(0, 0, 0, 0);
  text-shadow: black 0.1em 0.1em 0.2em;
  border-radius: 0.1em;
}

.service_text:hover {
  position: absolute;
  display: table-cell;
  z-index: 999;
  text-align: center;
  vertical-align: middle;
  width: 100%;
  height: 100%;
  color: #fff;
  top: 0px;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0 15px 15px 15px;
  background-color: rgba(0,0,0,0.55);
  transition: 0.5s;
}

.service_text div {
  font-size: 180%;
  line-height: 25px;
  position: relative;
  top: 50%;
  font-weight: bold;
}

@media (max-width: 768px) {
  .service_text div {
    font-size: 36px;
    line-height: 30px;
    position: relative;
    top: 40%;
  }
}

.service_img img{
  border-radius: 0.1em;
}


/*Index_3*/
#bodyinhome .fcol.fcol-3{
  background:url(https://static.iyp.tw/37659/files/d2446433-a64c-498f-8d49-89a4275ed239.png)no-repeat;
  background-size:cover;
  background-position:top center;
  min-height: 400px;
}

#bodyinhome .fcol.fcol-3 .container{
   padding:60px 20px;
}


/*Index_4*/
/*
#bodyinhome .fcol.fcol-4{
  background:url(https://static.iyp.tw/37659/files/d2446433-a64c-498f-8d49-89a4275ed239.png)no-repeat;
  background-size:cover;
  background-position:top center;
  min-height: 400px;
}

#bodyinhome .fcol.fcol-4 .container{
   padding:60px 20px;
}

/*Index_4 5 6*/
#bodyinhome .fcol.fcol-4, .fcol.fcol-5, .fcol.fcol-6{
  display:none;
}


/*h1*/
.h1title{
  color:#3b6679;
  text-align:center
}


/*side*/
#side ul li a {
    color: #555;
    display: block;
    padding: 10px 20px;
    transition: .3s;
    border-bottom: 1px dashed #555;
}  


#side ul li.current > div a {
  background:#ccc;
  color: #fff;
}


/*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: #333;
    overflow: hidden;
    padding: 0 16px;
}

body[data-type="fullpage"] .product-list-div h2 a.show-all {
    color: #fff;
    transition-property: left, color;
    background: #3b6679;
    text-shadow: none;
    padding: 0 10px;
}


/*隱藏詳細介紹*/
ul.product-list li .desc {
    display: none;
   }


/*form*/
.mark{background:none;}


/*footer*/
#footer{
  background:url(https://static.iyp.tw/37659/files/f9d2a528-90b8-4889-ad83-34b8c65e3ca9.jpg)no-repeat;
  background-size:cover;
  background-position:top center;
  background:#3b6679;
}

#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;}




/*櫥窗圖庫語法_輪播*/
.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%;
}
.owl-carousel.owl-theme .owl-dots {
    display: none;
}/*隱藏點點*/



/*body*/
#wrap{background:url(https://static.iyp.tw/37659/files/ef8c28f3-5c79-4d95-94ab-5c4656769bf7.jpg)no-repeat;
background-position:bottom left;background-attachment:fixed;}

body[data-type="fullpage"] #main-wrap .container {
    background: rgba(255,255,255,0);
}


/*google icon*/
#google_translate_element {
    border-radius: 3px;
    display: block;
    right: 6%;
    padding: 10px;
    position: fixed;
    top: 0px;
    z-index: 400;
    width: 50px;
}

@media(max-width:414px){
  
#google_translate_element {
    border-radius: 3px;
    display: block;
    right: 1%;
    padding: 1px;
    position: fixed;
    top: 0px;
    z-index: 400;
    width: 1px;
}

}