@import "/assets/scss/_spacing.scss";
@import "/assets/scss/_reboot.scss";

/*body{*/
/*    font-family:Microsoft JhengHei;*/
/*}*/

/* search */
.searchBlock{
    background: linear-gradient(to top, rgb(247 247 247) 60%,rgb(219 219 219) 100%);
}

/*#region 換頁頁面按鈕 */
.pagination {
    display: inline-block;
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px;
  }
  .pagination > li {
    display: inline;
  }
  .pagination > li > a,
  .pagination > li > span {
    position: relative;
    float: left;
    padding: 6px 12px;
    margin-left: -1px;
    line-height: 1.42857143;
    color: #337ab7;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd;
  }
  .pagination > li:first-child > a,
  .pagination > li:first-child > span {
    margin-left: 0;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
  }
  .pagination > li:last-child > a,
  .pagination > li:last-child > span {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
  }
  .pagination > li > a:hover,
  .pagination > li > span:hover,
  .pagination > li > a:focus,
  .pagination > li > span:focus {
    z-index: 2;
    color: #23527c;
    background-color: #eee;
    border-color: #ddd;
  }
  .pagination > .active > a,
  .pagination > .active > span,
  .pagination > .active > a:hover,
  .pagination > .active > span:hover,
  .pagination > .active > a:focus,
  .pagination > .active > span:focus {
    z-index: 3;
    color: #fff;
    cursor: default;
    background-color: #337ab7;
    border-color: #337ab7;
  }
  .pagination > .disabled > span,
  .pagination > .disabled > span:hover,
  .pagination > .disabled > span:focus,
  .pagination > .disabled > a,
  .pagination > .disabled > a:hover,
  .pagination > .disabled > a:focus {
    color: #777;
    cursor: not-allowed;
    background-color: #fff;
    border-color: #ddd;
  }
  .pagination-lg > li > a,
  .pagination-lg > li > span {
    padding: 10px 16px;
    font-size: 18px;
    line-height: 1.3333333;
  }
  .pagination-lg > li:first-child > a,
  .pagination-lg > li:first-child > span {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
  }
  .pagination-lg > li:last-child > a,
  .pagination-lg > li:last-child > span {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
  }
  .pagination-sm > li > a,
  .pagination-sm > li > span {
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.5;
  }
  .pagination-sm > li:first-child > a,
  .pagination-sm > li:first-child > span {
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
  }
  .pagination-sm > li:last-child > a,
  .pagination-sm > li:last-child > span {
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
  }
/*#endregion 換頁頁面按鈕 */

/*#region 搬移過來的 */
/*Images and Overlays
---------------------------------- */
.overlay-container {
  position: relative;
  display: block;
  text-align: center;
  overflow: hidden;
}

.overlay-bottom,
.overlay-top {
  position: absolute;
  top: auto;
  padding: 15px;
  bottom: 0px;
  left: 0;
  right: 0px;
  background-color: rgba(30, 30, 30, 0.5);
  overflow: hidden;
  opacity: 0;
  filter: alpha(opacity=0);
  -webkit-transition: all ease-in-out 0.25s;
  -o-transition: all ease-in-out 0.25s;
  transition: all ease-in-out 0.25s;
  height: 0;
  color: #ffffff;
  -webkit-backface-visibility: hidden;
  -webkit-transform: translateZ(0) scale(1, 1);
}

.overlay-bottom.links,
.overlay-to-top.links {
  z-index: 11;
}

.overlay-to-top {
  position: absolute;
  top: auto;
  padding: 10px;
  bottom: -30px;
  left: 0;
  right: 0px;
  background-color: rgba(30, 30, 30, 0.5);
  opacity: 0;
  filter: alpha(opacity=0);
  -webkit-transition: all ease-in-out 0.25s;
  -o-transition: all ease-in-out 0.25s;
  transition: all ease-in-out 0.25s;
  color: #ffffff;
}

.overlay-top {
  top: 0;
}

.overlay-visible .overlay-bottom,
.overlay-visible .overlay-top {
  opacity: 1;
  filter: alpha(opacity=100);
  height: auto !important;
  padding-bottom: 20px;
}

.overlay-visible.overlay-container:hover .overlay-bottom:not(.links),
.overlay-visible.overlay-container:hover .overlay-top {
  opacity: 0.5;
  filter: alpha(opacity=50);
}

.overlay-top a,
.overlay-bottom a,
.overlay-to-top a {
  color: #ffffff;
}

.overlay-container .text {
  padding: 0 20px;
  position: relative;
}

.overlay-container .text h3,
.overlay-container .text h3 .small {
  margin-top: 0;
  color: #ffffff;
}

.overlay-container .text a:hover {
  color: #ffffff;
}

.overlay-bottom .btn,
.overlay-top .btn {
  color: #ffffff;
  border-color: #ffffff;
  margin: 0;
}

.overlay-bottom .btn:hover,
.overlay-top .btn:hover {
  color: #777777;
  background-color: #ffffff;
}

.overlay-container:hover .overlay-top,
.overlay-container:hover .overlay-bottom,
.image-box.style-2:hover .overlay-top,
.image-box.style-2:hover .overlay-bottom {
  height: 50%;
  opacity: 1;
  filter: alpha(opacity=100);
  -webkit-backface-visibility: hidden;
  -webkit-transform: translateZ(0) scale(1, 1);
}

.overlay-container:hover .overlay-to-top,
.image-box:hover .overlay-to-top {
  opacity: 1;
  filter: alpha(opacity=100);
  bottom: 0;
  -webkit-backface-visibility: hidden;
  -webkit-transform: translateZ(0) scale(1, 1);
}

.overlay-link {
  position: absolute;
  z-index: 10;
  top: 0;
  padding: 15px;
  bottom: 0px;
  left: 0;
  right: 0px;
  background-color: rgba(30, 30, 30, 0.5);
  overflow: hidden;
  opacity: 0;
  filter: alpha(opacity=0);
  -webkit-transition: all ease-in-out 0.25s;
  -o-transition: all ease-in-out 0.25s;
  transition: all ease-in-out 0.25s;
  color: #ffffff;
}

.overlay-link i {
  -webkit-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  width: 80px;
  height: 80px;
  border: 1px solid #ffffff;
  -webkit-border-radius: 100%;
  -moz-border-radius: 100%;
  border-radius: 100%;
  color: #ffffff;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -40px 0 0 -40px;
  font-size: 32px;
  line-height: 80px;
}

.overlay-link i:hover {
  background-color: #ffffff;
  color: #777777;
}

.overlay-link.small i {
  width: 25px;
  height: 25px;
  margin: -12.5px 0 0 -12.5px;
  font-size: 14px;
  line-height: 25px;
}

.overlay-container:hover .overlay-link {
  height: 100%;
  opacity: 1;
  filter: alpha(opacity=100);
  -webkit-backface-visibility: hidden;
  -webkit-transform: translateZ(0) scale(1, 1);
}

/* Large devices (Large desktops 1200px and up) */
@media (min-width: 1200px) {
  .overlay-container .text {
    top: 30%;
  }
}

/* Extra small devices (phones, less than 480px) */
@media (max-width: 480px) {
  .overlay-container .text {
    top: 30%;
  }

  .overlay-container .text p:not(.mobile-visible) {
    display: none;
  }
}

/* Large and Medium devices (desktops, tablets less than 1199px) */
@media (min-width: 480px) and (max-width: 1199px) {
  .overlay-container:not(.overlay-visible) .overlay-top ~ .overlay-bottom {
    padding-top: 5px;
    padding-bottom: 5px;
  }

  .owl-item .overlay-container:hover .overlay-top {
    height: 71%;
  }

  .owl-item .overlay-container:hover .overlay-bottom {
    height: 29%;
  }
}

/*Video Backgrounds
---------------------------------- */
.video-background,
.video-background-banner {
  position: relative;
  overflow: hidden;
}

/* Responsive iframe
---------------------------------- */
.tp-caption .embed-responsive {
  overflow: visible;
}

/* Audio wrapper
---------------------------------- */
.audio-wrapper iframe {
  width: 100%;
  border: none;
  margin-bottom: 20px;
}

/* Jumbotron
---------------------------------- */
.jumbotron {
  background-color: transparent;
}

/*Carousel
---------------------------------- */
.top.carousel-indicators {
  bottom: auto;
  top: 10px;
}

.bottom.carousel-indicators {
  bottom: 10px;
}

.shadow .carousel-indicators {
  position: absolute;
  z-index: 4;
}

/*Badges
---------------------------------- */
.main-navigation .badge {
  position: absolute;
  top: 13px;
  right: 20px;
  font-size: 12px;
  background-color: transparent;
  color: inherit;
  font-weight: 300;
  padding: 2px 4px;
}


.main-navigation .mega-menu .badge {
  top: 8px;
}

/*#endregion 搬移過來的 */

.h1style{
  font-family: 'Kosugi Maru', sans-serif;
  font-size: 100px;
  color: #120d7c;
  margin: 0 -30px;
  border-radius: 40px;
  border: 1px solid #eee;
  background-color: rgb(255,255,255,0.8);
  box-shadow: 0 0 7px lightgrey;
}

/*Mary*/

 .carouselContainer {
   position: relative;
 }

.carouselText {
  position: absolute;
  top: 50%;
  left: 50%;
  color: #FFF;
  transform: translate(-50%, -50%);
  text-align: center;
}

.carouselText {
  width: 70%;
}

.carouselText h2 {
  font-size: 3rem;
}

.carouselText h3 {
  font-size: 1.5rem;
}

@media (max-width: 1000px) {
  .carouselText h2 {
    font-size: 2rem;
  }

  .carouselText h3 {
    font-size: 1rem;
  }
}

.carousel-inner img {
  object-fit: cover;
  object-position: center;
  height: 100%;
}

#carouselExampleIndicators .carousel-item {
  height: 40vw;
}

@media (max-width: 1000px) {
  #carouselExampleIndicators .carousel-item {
    height: 50vw;
  }
}

.blackBg {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.40);
  position: absolute;
  top: 0;
  left: 0;
}

#link a, #parkInfo a {
  text-align: center;
  color: #111;
  line-height: 2;
}

#announcement a {
  color: #333;
  display: contents;
}

.list-item {
  border: 1px solid #EEE;
  background: #FFF;
  margin-bottom: 0.7rem;
  box-shadow: 0px 0px 7px lightgray;
  padding: 1.2rem;
  border-radius: 1.25rem;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  position: relative;
  height: 120px;
  line-height: 35px;
  vertical-align: middle;
}

.list-item:nth-child(2n) {
  background: #aed8cf;
}

.list-item:hover {
  /*background: #F9F3DF;*/
  background: #fff7d1;
  box-shadow: 6px 6px 3px #EEE;
}

@media (min-width:768px) {
  .list-item {
    max-width: 76%;
    margin: 15px 12%;
  }
}

.list-item:hover {
  cursor: pointer;
}

.list-item h4 {
  font-weight: 700;
  margin: 9px 0px 0px;
  letter-spacing: 1.5px;
  color: #363636;
  padding-left: 75px;
  padding-right: 36px;
}

@media (max-width:500px) {
  .list-item h4 {
    font-size: 19px;
    margin-top: 13px;
    letter-spacing: 0.5px;
  }
}

.list-item p {
  padding-left: 75px;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 4px;
  color: #7a7a7a;
  font-family: monospace;
}

.rwd100 {
  width: 100%;
}

@media (min-width:1025px) {
  .rwd100 {
    width: 75%;
  }
}

/*.carousel-inner {*/
/*  height: 450px;*/
/*}*/

@media (max-width:1023px) {
  .carousel-inner {
    height: 100%;
  }
}

.activity-section {
  background-image: url(../Images/YUDE/background/bg5.png);
  background-size: cover;
}

.activity-section .card-footer {
  background-color: #F3F0D7;
  color: #333;
}

.activity-section .card-footer:hover {
  background: #E5890A;
  color: #fff;
  cursor: pointer;
  font-weight: 600;
}

.news-section {
  /*background:url(../Images/YUDE/background/bg3.png) top center no-repeat;*/
  background-color: #f6f1e4;
  background-size: cover;
}

.news-flower {
  width: 46px;
  margin: 16px 5% 0px 1%;
  position: absolute;
}

.news-viewMore {
  width: 40px;
  height: 40px;
  font-size: 19px;
  border-radius: 100%;
  background: #ffffffeb;
  position: absolute;
  top: 38px;
  right: 4%;
  padding: 3px 0px 0px 16px;
}

.list-item:nth-child(2n+1) .news-viewMore {
  background: #c3e1db;
}

.volunteer-section {
  background: url(/storage/img/background/bg4.png) center center no-repeat;
  background-size: cover;
  background-attachment: fixed;
  color: #fff;
}

.news-viewMore {
  color: white;
}
.h1style {
  background-color: #ffffffa6;
  letter-spacing: 3px;
  text-shadow: 2px 2px #7e6034;
  color: #ffba1e;
  box-shadow: unset;
  border-radius: unset;
  font-size: 40px;
  padding: 5px;
}

@media (min-width: 960px){
  .h1style{
    font-size:60px;
  }
}

@media (min-width: 1200px){
  .h1style{
    font-size: 70px;
  }
}


@media (min-width: 1500px){
  .h1style{
    font-size: 90px;
  }
}

.containerBG {
  padding-bottom: 120px !important;
}

.page-item.active .page-link{
  background-color: #ffa500 !important;
  border: 1px solid #ffa500 !important;
}

.navbar-light .navbar-nav .active>.nav-link, .navbar-light .navbar-nav .nav-link.active, .navbar-light .navbar-nav .nav-link.show, .navbar-light .navbar-nav .show>.nav-link{
  border-radius: 30px;
  color: #f9ae06;
  font-weight: 700;
}

.dropdown-item.active, .dropdown-item:active{
  background-color: #f8c03f;
}

#banner #bannerText h1 {
  font-weight: 700!important;
  background: #f9ae06bf;
  padding: 3px 13px 2px 15px;
  color: white;
  border-radius: 5px;
  font-size: 0.75em;
}
.btn-green {
  background-color: #ffc107 !important;
  color: white;
}
.borderTitleGrey {
  border-bottom: 4px solid #ffc107 !important;
  margin-bottom: 2rem;
}
.btn-outline-green{
  border: white;
}
.btn-outline-green:hover{
  background-color: #ffc107;
  border: 1px solid #ffc107;
}
.red{
  color: #e11b1b;
}
