/*整體文字調整*/
body {
    color: #333;
    font-size: 16px;
    margin: 0;
}

a {
    color: #20b2aa;
    text-decoration: none;
}

.row [class^="col-"] {
  padding:10px;
}

body[data-type="fullpage"]:not(#managehome) #wrap > :not(:last-child) { margin-bottom: 0px; }


/*Banner*/
.swiper-container {
  height: auto !important;
}

.swiper-wrapper, .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(800 / 1920 * 100%); /* 注意圖片高度與寬度要去掉單位 */
}

.swiper-slide {
  width: 100% !important;
}

#bodyinpage #banner{display:none;}


/*logo*/
#logo img {
   padding: 0 16px 16px;
 }


#logo a{
  background:url("https://static.iyp.tw/40864/files/69d7a5a8-d3ce-486c-8826-3e9322afb204.png") no-repeat ;
  display:block;text-indent:-9999px;width:350px;height:95px;
}


@media(max-width:428px){
  #logo a{background:url("https://static.iyp.tw/40864/files/69d7a5a8-d3ce-486c-8826-3e9322afb204.png") no-repeat ;
   display:block;text-indent:-9999px;width:300px;height:80px;
 }
}

@media only screen and (max-width: 428px){
#logo a {
  width: 100%;
  height: auto;
  display: inline-block;
  margin-left: 15px;
}
 }


/*top*/
.navbar-nav > li > a {
    color: #fff;
}

.topnavbar .container {
  text-align: justify;
  font-size: 0;
  /*text-align: center;*/  
  padding-top:0px;
}

.topnavbar .container::after {
  content: "";
  display: inline-block;
  width: 100%;
}

.topnavbar {
  background-color: #fff;
  top:0px;
  position: relative;
  z-index:100;
  width:100%;
  padding: .6rem 0;
  height: 110px;
}


/*nav*/
#nav ul li a {
    white-space: nowrap;
    color: #333;
    line-height: 1.3;
    padding: 10px 8px;
    font-size: 110%;
}
#nav ul li a:hover{
    color:#071d49;
}
#nav ul li.current a {
    color:#071d49;
}
#nav ul li a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0%;
    width: 0;
    height: 100%;
    border-bottom: 2px solid #071d49;
    transition: 0.2s all linear;
}
#nav ul li a:hover::before {
    width: 100%;
    top: 0;
    left: 0;
    transition-delay: 0.1s;
    border-top-color: #071d49;
    z-index: -1;
}

#nav ul .subnav li a {
    background-color: #8cbbf5; 
    color: #fff; /* 白色文字 */
    text-align: left; /* 文字靠左 */
    width: 200px; /* 固定寬度 */
    border-radius: 0px; /* 取消圓角 */
    box-shadow: none; /* 移除陰影 */
}



/*h1*/
.h1title {
    display: none;
}
/*
.h1title {
    color: #071d49;
    font-size: 2rem;
    font-weight: normal;
    border-bottom:1px #071d49 solid;
}
*/

/*side*/
#side ul li a {
    color: #989494;
    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;
   }


/*footer*/
#footer{
  background:#071d49;
}

#foot-nav{
  display:none;
}

.footer-content .contact-icon a {
  display: inline-block;
  vertical-align: middle;
  width: 150px;
  height: 45px;
  border-radius: 50%;
  background-color: transparent;
  margin-left: .5rem;
  margin-right: .5rem;
  
}


.footer-content .contact-icon a i {
    font-size: 1.4rem;
    color: #EA5719;
    line-height: 35px;
    border:1px solid #fff; 
    border-radius: 50%;
    height: 30px;
    width:30px;
 
}




/*gotop*/
#gotop {
    display: none;
    position: fixed;
    right: 20px;
    bottom: 20px;    
    padding: 10px 15px;    
    font-size: 20px;
    background: #f99901;
    color: white;
    cursor: pointer;
}


/*more*/
.intro {
	-webkit-animation-delay: 1.5s;
}
.intro a {
	overflow: hidden;
	position: relative;
	padding: 5px 20px;
	border: 1px #071d49 solid;
	display: inline-block;
	font-size: 16px;
	color: #071d49;
  	background: transparent;
}
.intro a:hover {
	color: #fff;
	background: #071d49;
	transition: all 0.4s ease;
}
.intro a:hover:after {
	left: 0;
}


/*more2*/
.intro2 {
	-webkit-animation-delay: 1.5s;
}
.intro2 a {
	overflow: hidden;
	position: relative;
	padding: 5px 20px;
	border: 1px #20b2aa solid;
	display: inline-block;
	font-size: 16px;
	color: #20b2aa;
  	background: transparent;
    font-weight:bold;
}
.intro2 a:hover {
	color: #fff;
	background: #20b2aa;
	transition: all 0.4s ease;
}
.intro2 a:hover:after {
	left: 0;
}


/*more3*/
.intro3 {
	-webkit-animation-delay: 1.5s;
}
.intro3 a {
	overflow: hidden;
	position: relative;
	padding: 5px 20px;
	border: 1px #fff solid;
	display: inline-block;
	font-size: 120%;
	color: #fff;
  	background: transparent;
}
.intro3 a:hover {
	color: #fff;
	background: #071d49;
	transition: all 0.4s ease;
}
.intro3 a:hover:after {
	left: 0;
}


/*語系選擇*/
/*
body[data-type="fullpage"] .navbar-nav>li>a {
    line-height: 1;
    font-size: 16px;
    display: none;
}
*/

/*Index_1*/
#bodyinhome .fcol.fcol-1{
  min-height: 300px;
}

#bodyinhome .fcol.fcol-1 .container{
   padding:20px 20px;
}


/*Index_2*/
#bodyinhome .fcol.fcol-2{
   background:#1cbec2;
   padding:15px; 
}
#bodyinhome .fcol.fcol-2 .container{
   padding:20px 20px;
}


/*Index_3*/
#bodyinhome .fcol.fcol-3{
  min-height: 300px;
}
#bodyinhome .fcol.fcol-3 .container{
   padding:20px 20px;
}


/*Index_3~6*/
#bodyinhome .fcol.fcol-4,
#bodyinhome .fcol.fcol-5,
#bodyinhome .fcol.fcol-6{
  display:none;
}


/*圖片*/
.row [class^="col-"] img{
  opacity:3;
    transition:0.7s
}
.row [class^="col-"] {
  padding:10px;
}
.block {
   display: block;
   text-align: center;
   width: 100%;
   min-height:100px
   padding-bottom: 100%;
   background: #fff;
   overflow: hidden;
   position: relative;
   padding:20px 15px;
   box-shadow: 0 0 0 1px rgba(63,63,68,.05),0 1px 6px 0 rgba(69,79,91,.18);
}


/*底線*/
.text-5 { 
border-bottom: 1px #20b2aa solid; 
padding-bottom: 5px; 
}

.text-6 { 
border-bottom: 1px #fff solid; 
padding-bottom: 5px; 
}



/*櫥窗圖庫語法_輪播*/
.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;
}/*隱藏點點*/



/*文字框語法*/
.product-link .row .col-1 > a{
  border:0px solid #ccc;
  width:100%;
  display:inline-block;
  width:100%; 
  background-color: #eee;
  height:50px;
  line-height: 50px;
   font-size:130%;
  text-align: center;
}
.product-link .row .col-1 > a:hover {
 color:#39c;
 background:#cce7fc;
}



/**/
.block {
    display: block;
    text-align: CENTER;
    width: 100%;
    height:auto;
    padding-bottom:auto;
    padding-top: 5%;
    padding-left: 5%;
    padding-right: 5%;
    /*background: #cccccc;*/
    overflow: hidden;
    position: relative;
    transition:all 0.5s;
}
.block:hover {
    transform:scale(1.2);
}
