﻿@charset "UTF-8";
/* 預設桌機導覽列高度 */
#mainContent {
  scroll-margin-top: 83px;
}
@media (max-width: 1399px) {
  #mainContent {
    scroll-margin-top: 83px;
  }
}
@media (max-width: 1199px) {
  #mainContent {
    scroll-margin-top: 65px;
  }
}
@media (max-width: 767px) {
  #mainContent {
    scroll-margin-top: 65px;
  }
}
@media (max-width: 420px) {
  #mainContent {
    scroll-margin-top: 55px;
  }
}

.banner-top {
  margin-top: 83px;
}
@media (max-width: 1399px) {
  .banner-top {
    margin-top: 83px;
  }
}
@media (max-width: 1199px) {
  .banner-top {
    margin-top: 65px;
  }
}
@media (max-width: 767px) {
  .banner-top {
    margin-top: 65px;
  }
}
@media (max-width: 420px) {
  .banner-top {
    margin-top: 55px;
  }
}

.banner {
  position: relative;
}
.banner .editor {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
@media (max-width: 991px) {
  .banner .editor {
    position: relative;
    pointer-events: auto;
  }
}
.banner .editor .btn-link {
  position: absolute;
  right: 2%;
  bottom: 8%;
  background: #F2542D;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 30px;
  color: #fff;
  font-weight: bold;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
}
@media (max-width: 991px) {
  .banner .editor .btn-link {
    position: relative;
    right: auto;
    bottom: auto;
    border-radius: 0;
  }
}
.banner .carousel-caption {
  position: initial;
  color: #000;
  padding: 0;
}
.banner .carousel-caption .banner_pic {
  display: block;
}
.banner .carousel-control-next,
.banner .carousel-control-prev {
  width: 7%;
}
.banner .carousel-indicators {
  bottom: 50px;
  margin-bottom: 0;
}
.banner .carousel-indicators [data-bs-target] {
  background-color: var(--bs-white);
  opacity: 1;
  border: 1px solid var(--bs-white);
}
.banner .carousel-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 0 10px;
  text-indent: -9999px;
}
.banner .carousel-indicators button.active {
  background-color: var(--colorMain);
}

.banner .carousel-control-prev,
.banner .carousel-control-next {
  display: none;
}

.banner .carousel-item .ban_txt {
  position: absolute;
  right: 8%;
  top: 80%;
  transform: translateY(-50%);
  opacity: 0;
}

.banner .carousel-item .ban_txt.sontype {
  position: absolute;
  right: inherit;
  left: 50%;
  top: 45%;
  transform: translate(-50%, -50%);
  opacity: 1;
}

.banner .carousel-item.active .ban_txt.aos-animate {
  top: 50%;
  opacity: 1;
}

.banner .carousel-item .ban_txt p {
  text-align: left;
  font-size: 20px;
}

.banner .carousel-item .ban_txt .ban_h1 {
  font-size: 3.75rem;
  color: #070707;
  font-weight: bold;
  text-align: left;
}

body:not(.home) .banner .carousel-item .ban_txt .ban_h1 span {
  display: none;
}

.banner .more_x {
  width: fit-content;
  padding: 27px 30px;
  background-color: #fff;
  border-radius: 50px;
  font-size: 24px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 8%;
  box-shadow: 0 0 10px rgba(183, 183, 183, 0.32);
  transition: color 0.5s;
  position: relative;
  overflow: hidden;
}

.banner .more_x::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background-color: #676993;
  transition: width 0.5s ease;
  z-index: 0;
  border-radius: inherit;
}

.banner .more_x span,
.banner .more_x {
  position: relative;
  z-index: 1;
}

.banner .more_x:hover {
  color: #fff;
}

.banner .more_x:hover::before {
  width: 100%;
}

.more_x .more_2 {
  background: url(../../../../images/all/banner_more.svg) no-repeat center #222344;
  width: 33px;
  height: 33px;
  border-radius: 50%;
  margin-left: 10px;
}

body:not(.home) .ban_rg {
  transform: scale(0.63);
  white-space: nowrap;
}

body:not(.home) .banner .carousel-item .ban_txt .ban_h1 {
  text-align: center;
  letter-spacing: 2px;
  opacity: 0;
  animation: SonFadeUp 0.6s ease-out 0.1s forwards;
}

body:not(.home) .banner .carousel-item .ban_txt p {
  font-size: 28px;
  margin: 5px 0 35px;
  opacity: 0;
  animation: SonFadeUp 0.6s ease-out 0.3s forwards;
}

body:not(.home) .banner .more_x {
  margin-top: 35px;
  padding: 25px 35px;
  font-size: 29px;
  margin: 0 auto;
  opacity: 0;
  animation: SonFadeUp 0.6s ease-out 0.5s forwards;
}

@keyframes SonFadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes SonFadeUp2 {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(25px);
  }
}
body:not(.home) .banner .carousel-item.active .ban_txt.aos-animate {
  top: 42%;
  right: inherit;
  left: 50%;
  transform: translate(-50%, -50%);
}

body:not(.home) .banner {
  margin-top: 89px;
}

@media (max-width: 1570px) {
  body.home .ban_rg {
    transform: scale(0.8);
  }
  body.home .banner .more_x {
    margin-top: 50px;
  }
}
@media (max-width: 1399px) {
  body:not(.home) .banner {
    margin-top: 69px;
  }
}
@media (max-width: 1199px) {
  .banner .carousel-item .ban_txt .ban_h1 {
    font-size: 3rem;
  }
  .banner .carousel-item .ban_txt p {
    font-size: 16px;
  }
  body.home .banner .more_x {
    padding: 20px 25px;
  }
}
@media (max-width: 992px) {
  body:not(.home) .banner .carousel-item .ban_txt .ban_h1 {
    animation: SonFadeUp2 0.6s ease-out 0.1s forwards;
  }
  body:not(.home) .banner .carousel-item .ban_txt p {
    animation: SonFadeUp2 0.6s ease-out 0.3s forwards;
  }
  .banner .carousel-item .ban_txt .ban_h1 {
    font-size: 2rem;
  }
  .banner .carousel-item .ban_txt p {
    font-size: 14px;
  }
  body.home .banner .more_x {
    padding: 10px 20px;
    font-size: 18px;
    margin-top: 20px;
  }
}
@media (max-width: 767px) {
  body:not(.home) .ban_rg {
    transform: scale(1);
  }
  body:not(.home) .banner {
    margin-top: 0px;
  }
  body:not(.home) .banner .carousel-item .ban_txt .ban_h1 {
    color: #FFF;
    font-size: 21px;
    margin-top: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  body:not(.home) .banner .carousel-item .ban_txt .ban_h1 span {
    display: block;
    padding: 0 10px;
    font-weight: 300;
    font-size: 1.5rem;
  }
  body:not(.home) .banner .carousel-item .ban_txt p {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4392156863);
    margin: 0px 0 40px;
  }
  .banner .more_x {
    width: 290px;
    padding: 11px 10px;
    font-size: 16px;
    margin: 0 auto;
  }
  .banner .carousel-item .ban_txt p {
    text-align: center;
    width: 80%;
    margin: 0 auto 20px;
  }
  .banner .carousel-item .ban_txt .ban_h1 {
    font-size: 1.8rem;
    text-align: center;
  }
  .banner .carousel-item .ban_txt {
    right: 0;
  }
}

/*# sourceMappingURL=data:application/json;charset=utf-8,%7B%22version%22:3,%22sourceRoot%22:%22%22,%22sources%22:%5B%22file:///D:/E/%25E5%25B0%2588%25E6%25A1%2588/C115050EZW_%25E6%25B0%25B8%25E9%2588%25A6%25E6%25B0%25A3%25E9%25AB%2594/yungtai-gas_core/EZWeb/wwwroot/css/Templates/BannerTemplates/TH003/BannerTemplatesTH003.scss%22%5D,%22names%22:%5B%5D,%22mappings%22:%22;AAAC;AACD;EACI;;AAEA;EAHJ;IAIQ;;;AAGJ;EAPJ;IAQQ;;;AAGJ;EAXJ;IAYQ;;;AAGJ;EAfJ;IAgBQ;;;;AAIR;EACI;;AAEA;EAHJ;IAIQ;;;AAGJ;EAPJ;IAQQ;;;AAGJ;EAXJ;IAYQ;;;AAGJ;EAfJ;IAgBQ;;;;AAIR;EACI;;AAEA;EACI;EACA;EACA;;AAEA;EALJ;IAMQ;IACA;;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EAZJ;IAcY;IACA;IACA;IACA;;;AAMhB;EACI;EACA;EACA;;AAEA;EACI;;AAIR;AAAA;EAEI;;AAGJ;EACI;EACA;;AAEA;EACI;EACA;EACA;;AAGJ;EACI;EACA;EACA;EACA;EACA;;AAEA;EACI;;;AAMZ;AAAA;EAEI;;;AAGJ;EACI;EACA;EACA;EACA;EACA;;;AAGA;EACI;EACA;EACA;EACA;EACA;EACA;;;AAKR;EACI;EACA;;;AAGJ;EACI;EACA;;;AAGJ;EACI;EACA;EACA;EACA;;;AAGR;EACI;;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGA;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGJ;AAAA;EAEI;EACA;;;AAGA;EACI;;;AAIA;EACI;;;AAIhB;EACI;EACA;EACA;EACA;EACA;;;AAGJ;EACI;EACA;;;AAGJ;EACI;EACA;EACA;EACA;;;AAGJ;EACI;EACA;EACA;EACA;;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;;;AAGJ;EACI;IACI;IACA;;EAGJ;IACI;IACA;;;AAIR;EACI;IACI;IACA;;EAGJ;IACI;IACA;;;AAKR;EACI;EACA;EACA;EACA;;;AAGJ;EACI;;;AAKJ;EAEI;IACI;;EAGJ;IACI;;;AAIR;EACI;IACI;;;AAIR;EACI;IACI;;EAGJ;IACI;;EAGJ;IACI;;;AAIR;EACI;IACI;;EAGJ;IACI;;EAGJ;IACI;;EAGJ;IACI;;EAGJ;IACI;IACA;IACA;;;AAIR;EAEI;IACI;;EAGJ;IACI;;EAGA;IACI;IACA;IACA;IACA;IACA;IACA;;EAGA;IACI;IACA;IACA;IACA;;EAGR;IACI;IACA;IACA;;EAGR;IACI;IACA;IACA;IACA;;EAGJ;IACI;IACA;IACA;;EAGJ;IACI;IACA;;EAGJ;IACI%22%7D */