/*整體文字調整*/
body {
    color: #333;
    font-size: 16px;
    margin: 0;
}
a {
    color: #fff;
  
    text-decoration: none;
}
a:hover {
    color: #00bfff;
}
.row [class^="col-"] {
  padding:10px;
}

body[data-type="fullpage"]:not(#managehome) #wrap > :not(:last-child) { margin-bottom: 0px; }


/*logo*/

 #logo img {
   padding: 0 16px 16px;
 }


/*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: #222;
  top:0px;
  position: relative;
  z-index:100;
  width:100%;
  padding:0;
  border-bottom:4px solid #00b7ee;
  height:100px;
}


/*nav*/
#nav ul li a:hover{
    color: #4682b4;
}


/*Banner*/
.swiper-container {
  height: auto !important;
}

.swiper-wrapper, .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(750 / 1920 * 100%); /* 注意圖片高度與寬度要去掉單位 */
}

.swiper-slide {
  width: 100% !important;
}


/*h1*/
.h1title h1{
   color:#015fa6;
}


/*Index_1*/
#bodyinhome .fcol.fcol-1{
  background:#00b7ee;
}



/*Index_2*/
#bodyinhome .fcol.fcol-2{
  background:url(https://static.iyp.tw/37386/files/1aa344e1-fa0a-48a5-95ea-31f9fd83dc19.jpg)no-repeat;
  background-position:center center;
  background-size:cover;
  min-height:400px;
}


#bodyinhome .fcol.fcol-2 .container{
   padding:40px 20px;
}

/*Index_3*/
#bodyinhome .fcol.fcol-3{
  background:url(https://static.iyp.tw/37386/files/ef017f36-8482-4a8d-bc63-395a99cbe195.png)no-repeat;
  background-position:top center;
  background-size:cover;
  min-height:400px;
}


#bodyinhome .fcol.fcol-2 .container{
   padding:40px 20px;
}


/*Index_4*/
#bodyinhome .fcol.fcol-4{
  background:url(https://static.iyp.tw/37386/files/b036ee21-868d-4043-acfc-bfa1acc2020e.jpg)no-repeat; 
  background-position:center center;
  background-size:cover;
  min-height:400px;
}

#bodyinhome .fcol.fcol-4 .container{
   padding:40px 20px;
}

/*Index_4~6*/
/*#bodyinhome .fcol.fcol-4,*/
#bodyinhome .fcol.fcol-5,
#bodyinhome .fcol.fcol-6{
  display:none;
}



/*service*/
#service .list article {
  background: #fff;
  width: 90%;
  margin: 0%;
  box-shadow: 0px 5px 15px rgba(0,0,0,0.16);
  border: 1px #e5810c solid;
  padding: 15px 15px 15px 15px;
  text-align: left;
  height: 250px;
}

@media screen and (max-width: 767px) {
  #service .list article {
    height: 250px;
  }
}

#service .list article a {
  display: block;
}

#service .list article .image_hover {
  height: 100%;
  display: flex;
  align-items: top;
}


#service p {
  font-size: 100%;
  padding: 10px 10px;
  color: #777;
}

#service p span {
  padding: 10px 10px;
  color: #333;
}

.image_hover {
  width: 100%;
  height: auto;
  position: relative;
  overflow: hidden;
}

.image_hover img {
  margin: auto;
  transition: transform 0.6s ease;
}

.image_hover:hover img {
  transform: scale(1.2);
}

.project .dfd-folio-categories .byline.category {
  display: inline-block;
  overflow: hidden;
  margin-bottom: 10px;
}

span.cat-name {
  background: #71a543;
  padding: 5px 5px;
  float: right;
  margin-top: -15px;
}



/*TEL按鈕*/
#call a.more-btn {
  position: relative;
  margin-top: 0px;
  padding: 12px 15px;
  border: solid 1px #fff;
  color: #fff;
  font-size: 25px;
  border-radius: 99em;
  display: inline-block;
  z-index: 9999;
  width: 80%;
}

@media(max-width:428px){
#call a.more-btn {
  position: relative;
  margin-top: 0px;
  padding: 10px 12px;
  border: solid 1px #fff;
  color: #fff;
  font-size: 22px;
  border-radius: 99em;
  display: inline-block;
  z-index: 9999;
   width: 100%;
 }
}  

#call a.more-btn span {
    color: #004d7d;
    text-shadow: 0px 0px 6px rgba(248, 255, 51, 0.76);
}

#call a.more-btn:hover{
    color: #004d7d;
    text-decoration: none;
}

#call a.more-btn::before {
  content: "";
  position: absolute;
  z-index: -1;
  background-color: #004d7d;
  left: 0px;
  top: 0px;
  bottom: 0px;
  width: 0px;
  border-radius: 99em;
}


#call a.more-btn:hover:before {
    right: 0px;
    width: 100%;
    border-radius: 99em;
}

#call a.more-btn:before {
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}


#call a.more-btn span {
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}







/*櫥窗圖庫語法_輪播*/
.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;
}/*隱藏點點*/

