
/* ======================================================================================= 
/* 首頁banner carousel
/* ======================================================================================= */
#carousel-banner .carousel-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-bottom:70px;
}
#carousel-banner .carousel-inner {
    padding-bottom:70px;
}
#carousel-banner .carousel-indicators {
    opacity: 0;
}
#carousel-banner .carousel-control-next, #carousel-banner .carousel-control-prev {
   padding-bottom:70px;
   width: 5%;
}
#carousel-banner .carousel-caption {
    bottom: -70px;
    color: #333;
    right:0;
    left:0;
    border-bottom:1px solid #d3d3d3;
}
#carousel-banner .carousel-caption h3{
   font-size:1.1rem;
}
#carousel-banner .carousel-item img{
   height:auto;
  }  
#carousel-banner .carousel-item iframe{
   min-height:210px;
   height:auto;
   margin:0;
   padding:0;
   border:none;
}

@media (min-width: 768px) { 
#carousel-banner .carousel-item iframe{
   min-height:379px;
  }
}
@media (min-width: 992px) {
#carousel-banner .carousel-inner {
    padding-bottom:100px;
  }
#carousel-banner .carousel-indicators {
    bottom: 100px;
    opacity: 1;
  }
#carousel-banner .carousel-caption {
    bottom: -80px;
  }
#carousel-banner .carousel-control-next, #carousel-banner .carousel-control-prev {
    padding-bottom:100px;
  }
#carousel-banner .carousel-caption h3{
   font-size:1.75rem;
  } 
#carousel-banner .carousel-item iframe{
   min-height:489px;
  }
}

@media (min-width: 1025px) {
#carousel-banner .carousel-inner {
    padding-bottom:100px;
  }
#carousel-banner .carousel-indicators {
    bottom: 100px;
    opacity: 1;
  }
#carousel-banner .carousel-caption {
    bottom: -80px;
  }
#carousel-banner .carousel-control-next, #carousel-banner .carousel-control-prev {
    padding-bottom:100px;
  }
#carousel-banner .carousel-caption h3{
   font-size:1.75rem;
  }
#carousel-banner .carousel-item iframe{
   min-height:594px;
  }
}

/*--banner 插圖--*/
.area-banner{
  overflow: hidden;
}
.banner_kid{
   display: none;
}
@media (min-width: 1200px) {
  .banner_kid{
     display: block;
     position: absolute;
     z-index: -1;
     right:-100px;
     bottom:100px;
  }
  .banner_kid{
    width:auto;
  }
}


/* ======================================================================================= 
/* 首頁最新消息
/* ======================================================================================= */
.idx-title{
  margin:1rem 0;
}
.hvrbox{
  position: relative;
  display: inline-block;
  overflow: hidden;
  width: 100%;
  height:auto;
}
.hvrbox a{
  color:#333;
}
.under-box{
   position: absolute;
   z-index: 10;
   background: #333333;
   color:#fff;
   font-size:0.875rem;
   padding:.5rem;
   text-align: center;
  -moz-transition: all 0.4s ease-in-out 0s;
  -webkit-transition: all 0.4s ease-in-out 0s;
  -ms-transition: all 0.4s ease-in-out 0s;
  transition: all 0.4s ease-in-out 0s;
}
.hvrbox img {
  width: 100%;
}
.hvrbox-body{
  display:none;
}
.hvrbox-text i{
  display:none;
}

@media (min-width: 992px) {
.idx-title{
  margin:2rem 0;
}
.hvrbox{
  position: relative;
  display: inline-block;
  overflow: hidden;
  width: 100%;
  height:auto;
  min-height: 290px;
  margin-bottom:1.5rem;
}
.hvrbox .hvrbox-bottom {
  display: block;
}
.hvrbox .hvrbox-header{
  font-size:18px;
}
.hvrbox .hvrbox-text {
  opacity: 1;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 50px;
  width: 100%;
  height: 100%;
  -moz-transition: all 0.4s ease-in-out 0s;
  -webkit-transition: all 0.4s ease-in-out 0s;
  -ms-transition: all 0.4s ease-in-out 0s;
  transition: all 0.4s ease-in-out 0s;
  -moz-transform: translateY(100%);
  -webkit-transform: translateY(100%);
  -ms-transform: translateY(100%);
  transform: translateY(100%);
}
.hvrbox-body{
  display:block;
}
.hvrbox:hover .hvrbox-header{
  font-weight: bold;
}
.hvrbox:hover .hvrbox-text{
  opacity: 1;
  bottom: 0;
  background: #f9d71b;
  padding: 20px;
  padding-top:50px;
  -moz-transform: translateY(0);
  -webkit-transform: translateY(0);
  -ms-transform: translateY(0);
  transform: translateY(0);
}
.hvrbox:hover .under-box{
  opacity: 0;
}
.hvrbox-text i{
  display:block;
  text-align: right;
  font-size:1.2rem;
}
}

/* ======================================================================================= 
/* 不當的媒體報導
/* ======================================================================================= */
  .section-article{
    margin-top:3rem;
  }
  .section-article h1{
    font-size: 2rem;
    margin-bottom:1rem;
    text-align: center;
  }
  .section-article h2{
    font-size: 1.8rem;
    font-weight: normal;
    margin-bottom:1rem;
    text-align: center;
  }
  .section-article span{
    display:inline-block;
  }
  .section-article p{
    font-size:1rem;
  }
  .section-article img{
    max-width: 100%;
    width:auto;
  }
  .circle-area{
    display: flex;
    align-items: center;
    justify-content:center;
  }
  .circle-area img{
    margin:0 10px;
    width:50px;
  }
  .circle-icon{
    width:150px;
    height:150px;
    border-radius: 99em;
    transition: background-color 0.5s ease;
    background: #46a3c6;
    color:#fff;
    text-align: center;
    font-size:1.5rem;
    font-weight: bold;
    line-height: 1.5rem;
  }
  .circle-icon:hover{
    background: #58b6d9;
  }
  .circle-icon.pink{
    background: #e67089;
  }
    .circle-icon.pink:hover{
    background: #f3839a;
  }
  .circle-icon span{
    display: block;
    padding-top:50px;
  }
@media (min-width: 992px) {
  .section-article{
    margin-top:3rem;
  }
  .section-article h1{
    font-size: 3rem;
    text-align: left;
  }
  .section-article h2{
    font-size: 2.6rem;
    font-weight: normal;
    margin-bottom:2rem;
    text-align: left;
  }
  .section-article span{
    display:block;
  }
  .section-article p{
    font-size:1.25rem;
    line-height: 2rem;
  }
  .circle-icon{
    width:180px;
    height:180px;
    border-radius: 99em;
    font-size:1.8rem;
    font-weight: bold;
    line-height: 1.8rem;
  }
  .circle-icon span{
    display: block;
    padding-top:50px;
  }
  .circle-area img{
    margin:0 30px;
    width:75px;
    height:75px;
  }
}
@media (min-width: 1200px) {
  .section-article{
    margin-top:3rem;
  }
  .section-article h1{
    font-size: 3.4rem;
    text-align: left;
  }
  .section-article h2{
    font-size: 2.9rem;
    font-weight: normal;
    margin-bottom:2rem;
    text-align: left;
  }
}



/* ======================================================================================= 
/* Link 
/* ======================================================================================= */
.link-bg{
  background: url(../images/bg_footer.png) no-repeat center bottom;
  
}
.link-area{
  margin-top:4rem;
  padding-bottom:2rem;
}
.link-area img{
  width:200px;
  height: auto;
}

/* owl carousel*/
.owl-theme .owl-nav {
    margin-top: 10px;
    text-align: center;
}
.owl-carousel .owl-nav button.owl-next, .owl-carousel .owl-nav button.owl-prev{
    position: absolute;
    z-index: 1000;
    top:0;
    font-size:50px;
    width:40px;
}
.owl-carousel .owl-nav button.owl-next span, .owl-carousel .owl-nav button.owl-prev span{
    display: block;
}
.owl-carousel .owl-nav button.owl-prev{
    left:-30px;
}
.owl-carousel .owl-nav button.owl-next{
    right:-30px;
}
.owl-theme .owl-nav [class*='owl-']:hover {
    background: none;
    color: #f3d00e;
    text-decoration: none;
}
.owl-theme .owl-nav .disabled {
    opacity: 0;
    cursor: default;
}
@media (min-width: 768px) {
  .owl-carousel .owl-nav button.owl-prev{
      left:-40px;
  }
  .owl-carousel .owl-nav button.owl-next{
      right:-40px;
  }
}