
.owl-carousel .owl-controls .owl-page.active span,
.owl-theme .owl-controls .owl-page.active span,
.owl-carousel .owl-controls.clickable .owl-page:hover span,
.owl-theme .owl-controls.clickable .owl-page:hover span {
  background: #38a7bb;
}
.owl-carousel .owl-controls .owl-buttons,
.owl-theme .owl-controls .owl-buttons {
  position: absolute;
  bottom: -15px;/*top: -20px;*/
  right: 0;margin: 0 20px 0 0;
}
.owl-carousel .owl-controls .owl-buttons div,
.owl-theme .owl-controls .owl-buttons div {
  width: 26px;
  height: 26px;
  line-height: 25px;
  margin: 0 5px 0 0;
  font-size: 18px;
  color: #38a7bb;
  padding: 0;
  /*background: #fff;*/
  border-radius: 13px;
  vertical-align: middle;
  text-align: center;
  opacity: 1;
  filter: alpha(opacity=100);
	/*box-shadow: 1px 3px 0px rgba(0, 0, 0, 0.5);*/
}
.home-carousel {
  position: relative;
  background: url('../img/photogrid.jpg') center center repeat;
  background-size: cover;
  -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
}
.home-carousel .dark-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /*background: #00b0cf;/*38a7bb*
  opacity: 0.9;
  filter: alpha(opacity=90);*/
}
.home-carousel .owl-carousel {
  padding-top: 40px;
  padding-bottom: 0px;/*20*/
}
.home-carousel .owl-theme .owl-controls .owl-page span {
  background: #666;
}
.home-carousel .owl-theme .owl-controls .owl-page.active span {
  background: #fff;
}
.home-carousel .owl-theme .owl-controls .owl-page:hover span {
  background: #fff;
}
@media (max-width: 767px) {
  .home-carousel {
    text-align: center !important;
  }
}
@media (min-width: 992px) {
  .home-carousel .right {
    text-align: right;
  }
}
.home-carousel h1,
.home-carousel h2,
.home-carousel h3,
.home-carousel p,
.home-carousel ul {
  color: #fff;
}
.home-carousel h1 {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 46px;
  letter-spacing: 0.08em;
}

@media (max-width: 991px) {
  .home-carousel ul,
  .home-carousel p {
    font-size: 15px;
  }
}
.home-carousel ul li {
  margin-bottom: 10px;
}
.customers {
  padding: 0;
  margin-bottom: 0px;/*40px*/
}
.customers .item {
  list-style-type: none;
  text-align: center;
  margin: 0 20px;
}
.customers .item img {
  display: inline-block;
  /*filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");*/
  /* Firefox 10+, Firefox on Android */
  /*filter: gray;*/
  /* IE6-9 */
  /*-webkit-filter: grayscale(100%);*/
  /* Chrome 19+, Safari 6+, Safari 6+ iOS */
  -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
}
.customers .item img:hover {
  max-width: auto;
  /*filter: none;
  -webkit-filter: none;*/
}
.products {
  padding: 0;
  margin-bottom: 0px;/*40px*/
}
.products .item {
  list-style-type: none;
  text-align: center;
  margin: 0 20px;
}
.products .item img {
  display: inline-block;
  /* Chrome 19+, Safari 6+, Safari 6+ iOS */
  -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
}
.products .item img:hover {
  max-width: auto;
  
}
@media (min-width: 992px) {
.box-intomv {
  margin: 30px 0 30px 0;
}
}

    .item img, .item .caption {
    	margin: 0px 0px 4px 0px;/*上右下左*/
    }
    .item .caption {
        position: absolute;
    	width: 100%;
        height: 52px;/*一開始只顯示一半(圖高為100px)52*/
        /*background: url(../images/demo02.png) no-repeat;底圖色*/
    	background: rgba(56,167,187,0.5);/*CSS3 可用透明色*/
		background: #000;
        opacity: 0.60;filter: alpha(opacity="60");
        bottom: 0px;/*置底*/
		padding: 12px 18px 12px 18px;
    }
	.item .caption span.title{/*文字樣式*/
        font-size: 18px;
		text-align:left;
    	color: #fff;	 
		font-weight: normal;
    }
    .item .caption p {/*文字樣式*/
        font-size: 16px;
		text-align:left;
    	color: #d1d1d1;
		line-height: 22px;
    }


.box-intomv:hover {
	border: solid 5px #078fa7;
}
.box-image {
  position: relative;
  overflow: hidden;
  text-align: center;
  margin: 15px 0;
}
.box-image .bg {
  position: absolute;
  top: auto;
  bottom: 4px;
  width: 100%;
  height: 100%;
  opacity: 0;
  filter: alpha(opacity=0);
  background: #38a7bb;
}
.box-image .name {
  position: absolute;
  width: 100%;
  height: 50%;
  bottom: 0;
  -webkit-transform: translate(0, 100%);
  -ms-transform: translate(0, 100%);
  -o-transform: translate(0, 100%);
  transform: translate(0, 100%);
  -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
  color: #fff;
  padding: 0 20px;
}
.box-image .name h2 {
  color: #fff;
  text-transform: uppercase;
  font-size: 28px;
  letter-spacing: 0.08em;
}
.box-image .name h2 a {
  color: #fff;
  text-decoration: none;
}
.box-image .name h3 {
  color: #fff;
  text-transform: uppercase;
  font-size: 18px;
  letter-spacing: 0.08em;
}
.box-image .name h3 a {
  color: #fff;
  text-decoration: none;
}
.box-image .text {
  position: absolute;
  width: 100%;
  height: 40%;
  top: 0;
  -webkit-transform: translate(0, -150%);
  -ms-transform: translate(0, -150%);
  -o-transform: translate(0, -150%);
  transform: translate(0, -150%);
  -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
  color: #fff;
  padding: 10px 20px;
}
.box-image .text p{
	line-height: 1.4em;
	font-size: 16px;
	margin-top: -50px;
}
.box-image:hover .bg {
  opacity: 0.7;
  filter: alpha(opacity=70);
}
.box-image:hover .name {
  position: absolute;
  -webkit-transform: translate(0, -75%);
  -ms-transform: translate(0, -75%);
  -o-transform: translate(0, -75%);
  transform: translate(0, -75%);
}
.box-image:hover .text {
  position: absolute;
  -webkit-transform: translate(0, 100%);
  -ms-transform: translate(0, 100%);
  -o-transform: translate(0, 100%);
  transform: translate(0, 100%);
}
.box-image-text {
  position: relative;
  overflow: hidden;
  text-align: center;
  margin: 15px 0;
}
.box-image-text .top {
  position: relative;
  margin-bottom: 10px;
}
.box-image-text .top .bg {
  position: absolute;
  top: auto;
  bottom: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  filter: alpha(opacity=0);
  background: #38a7bb;
}
.box-image-text .top .name {
  position: absolute;
  width: 100%;
  height: 50%;
  bottom: 0;
  -webkit-transform: translate(0, 100%);
  -ms-transform: translate(0, 100%);
  -o-transform: translate(0, 100%);
  transform: translate(0, 100%);
  -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
  color: #fff;
  padding: 0 20px;
}
.box-image-text .top .name h3 {
  color: #fff;
  text-transform: uppercase;
  font-size: 18px;
  letter-spacing: 0.08em;
}
.box-image-text .top .name h3 a {
  color: #fff;
  text-decoration: none;
}
.box-image-text .top .text {
  position: absolute;
  width: 100%;
  height: 50%;
  top: 0;
  -webkit-transform: translate(0, -150%);
  -ms-transform: translate(0, -150%);
  -o-transform: translate(0, -150%);
  transform: translate(0, -150%);
  -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
  color: #fff;
  padding: 0 20px;
}
.box-image-text .content h3,
.box-image-text .content h4 {
  text-transform: uppercase;
  line-height: 1.5;
  color: #555555;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.box-image-text .content p {
  color: #999999;
}
.box-image-text:hover .bg {
  opacity: 0.7;
  filter: alpha(opacity=70);
}
.box-image-text:hover .name {
  position: absolute;
  -webkit-transform: translate(0, -75%);
  -ms-transform: translate(0, -75%);
  -o-transform: translate(0, -75%);
  transform: translate(0, -75%);
}
.box-image-text:hover .text {
  position: absolute;
  -webkit-transform: translate(0, 100%);
  -ms-transform: translate(0, 100%);
  -o-transform: translate(0, 100%);
  transform: translate(0, 100%);
}

/*logo path*/
.path{
	width: 100%;
	height: 86px;
	 background: #fff url('../images/adlogo.svg') center center no-repeat;
  background-size: 90%;
	/*background-color: #1e90ff;*/
	-webkit-clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
 }
.box-path {
  position: relative;
  overflow: hidden;
  text-align: center;
  margin: 0px 0px 0px 0px;
}
@media (min-width: 768px) {

.pathitem .box-path .image img{
	width: 100%;
	max-width: 300px; 
	max-height: 130px;
	margin: 0px 0px 0px 0px;
}
  .path-caption {
    	margin: 0px 0px 0px 0px;
	  padding: 0px 0px 0px 0px;
    }
.pathitem .path-caption {
        position: absolute;
    	width: 100%;
        height: 100px;
	min-height: 70px;
	max-width: 300px; 
	max-height: 130px!important;
        background: url(../images/adlogo.svg) no-repeat;/*底圖色*/
	background-size: 99%;
    	/*background: rgba(56,167,187,0.5);CSS3 可用透明色*/
		/*background: #000;*/
        /*opacity: 0.60;filter: alpha(opacity="60");*/
        top: 0px;/*置底*/
		/*padding: 12px 18px 12px 18px;*/
	background-position: center 4px; 
    }
.pathitem .path-caption2 {
        position: absolute;
    	width: 100%;
        height: 100px;
	min-height: 70px;
	max-width: 300px; 
	max-height: 130px!important;
        background: url(../images/adlogo2.svg) no-repeat;/*底圖色*/
	background-size: 96%;
    	/*background: rgba(56,167,187,0.5);CSS3 可用透明色*/
		/*background: #000;*/
        /*opacity: 0.60;filter: alpha(opacity="60");*/
        top: 0px;/*置底*/
		/*padding: 12px 18px 12px 18px;*/
	background-position: center 4px; 
    } 
}
@media (max-width: 768px) {
.pathitem .box-path .image img{
	width: 100%;
	max-width: 300px; 
	max-height: 130px;
	margin: 0px 0px 0px 0px;
}
  .path-caption {
    	margin: 0px 0px 0px 0px;
	  padding: 0px 0px 0px 0px;
    }
.pathitem .path-caption {
        position: absolute;
    	width: 100%;
        height: 80px;
	min-height: 80px!important;
	max-width: 300px; 
	max-height: 130px!important;
        background: url(../images/adlogo.svg) no-repeat;/*底圖色*/
	background-size: 96%;
    	/*background: rgba(56,167,187,0.5);CSS3 可用透明色*/
		/*background: #000;*/
        /*opacity: 0.60;filter: alpha(opacity="60");*/
        top: 0px;/*置底*/
		/*padding: 12px 18px 12px 18px;*/
	background-position: center 4px; 
    }
.pathitem .path-caption2 {
        position: absolute;
    	width: 100%;
        height: 84px;
	min-height: 84px!important;
	max-width: 300px; 
	max-height: 130px!important;
        background: url(../images/adlogo2.svg) no-repeat;/*底圖色*/
	background-size: 83%;
    	/*background: rgba(56,167,187,0.5);CSS3 可用透明色*/
		/*background: #000;*/
        /*opacity: 0.60;filter: alpha(opacity="60");*/
        top: 0px;/*置底*/
		/*padding: 12px 18px 12px 18px;*/
	background-position: center 4px; 
    } 
}
@media (max-width: 420px) {
.pathitem .box-path .image img{
	width: 100%;
	max-width: 300px; 
	max-height: 130px;
	margin: 0px 0px 0px 0px;
}
.path-caption {
    	margin: 0px 0px 0px 0px;
	  padding: 0px 0px 0px 0px;
    }
.pathitem .path-caption {
        position: absolute;
    	width: 100%;
        height: 70px!important;
	min-height: 70px!important;
	max-width: 300px; 
	max-height: 130px!important;
        background: url(../images/adlogo.svg) no-repeat;/*底圖色*/
	background-size: 96%;
    	/*background: rgba(56,167,187,0.5);CSS3 可用透明色*/
		/*background: #000;*/
        /*opacity: 0.60;filter: alpha(opacity="60");*/
        top: 0px;/*置底*/
		/*padding: 12px 18px 12px 18px;*/
	background-position: center 4px; 
    }
.pathitem .path-caption2 {
        position: absolute;
    	width: 100%;
        height: 70px!important;
	min-height: 70px!important;
	max-width: 300px; 
	max-height: 130px!important;
        background: url(../images/adlogo2.svg) no-repeat;/*底圖色*/
	background-size: 95%;
    	/*background: rgba(56,167,187,0.5);CSS3 可用透明色*/
		/*background: #000;*/
        /*opacity: 0.60;filter: alpha(opacity="60");*/
        top: 0px;/*置底*/
		/*padding: 12px 18px 12px 18px;*/
	background-position: center 4px; 
    } 
}
