.br_red {
  border: 2px solid red;
}

.bold {
  font-weight: bold;
}

.div_reverse {
  flex-direction: row-reverse;
}

.desktop_none {
  display: none;
}

.txt_center {
  text-align: center !important;
}

.col_rev {
  flex-direction: column-reverse;
}

/* 圖說 */
.img_info {
  position: absolute;
  right: 10px;
  bottom: 5px;
  color: #eeeeee;
  letter-spacing: 0;
  font-weight: bold;
  font-size: 1rem;
  /* text-shadow: 1px 1px 1px #000; */
}

/* video */
.video {
  padding: 0;
}

.video .center_content {
  margin-top: -5px;
  padding: 5% 4% 1%;
}

.right_tel {
  display: none;
}

/* slick */
.slick-next:before,
.slick-prev:before {
  color: #0a496c;
  font-size: 36px;
  opacity: 1;
}

.slick-dots {
  bottom: -15px;
}

.slick-prev {
  left: -10px;
  z-index: 500;
}

.slick-next {
  /* right: 0px; */
  z-index: 500;
}

@media (max-width: 768px) {
  .mb_none {
    display: none !important;
  }

  .desktop_none {
    display: block;
  }

  .slick-prev,
  .slick-next {
    /* display: none !important; */
  }

  .youtube iframe {
    max-height: 300px;
    height: 60vh;
  }

  .video .center_content {
    padding-top: 10%;
    padding-bottom: 10%;
  }

  /* 圖說 */
  .img_info {
    font-size: 0.8rem;
  }
}

/*banner*/
/* .bannerBox {
    background-image: url(../images/top_line.png?ver=1);
    background-color: #0A496C;
    background-position: center;
    background-size: cover;
} */

.bannerBox img {
  width: 100%;
}

.top_title_wrap1 {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
}

.top_title_wrap2 {
  position: absolute;
  top: 33%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
}

.updown {
  animation: updown 2s infinite ease-in;
}

@media (max-width: 1300px) {
  .fp-section.fp-table {
    /* height: 100vh !important; */
    height: auto !important;
  }

  .fp-tableCell {
    height: auto !important;
  }
}

.single_img_wrap {
  position: relative;
}

.single_img_wrap img {
  width: 100%;
}

.img_title_wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 5;
  transform: translate(-50%, -50%);
}

/* slide */
.floorplan_6_wrap {
  position: absolute;
  top: 65%;
  left: 50%;
  display: flex;
  justify-content: space-between;
  width: 85%;
  transform: translate(-50%, -50%);
}

.sectionB .floorplan_6_wrap {
  top: 50%;
}

.floorplan_6_wrap img {
  flex: 1;
  margin: 0 10px;
  width: 10%;
}

.floorplan_mb_wrap .your-class {
  position: absolute;
  top: 26%;
  left: 20%;
  margin: auto;
  width: 60%;
}

.sectionB.floorplan_mb_wrap .your-class {
  top: 10%;
  left: 22.5%;
  width: 55%;
}

.footer_img_wrap .img_title_wrap {
  position: absolute;
  top: unset;
  bottom: 4%;
  left: 50%;
  width: 70%;
  transform: translate(-50%, 0%);
}

/*footer*/
.FOOTER {
  padding: 10% 0;
  /* background-color: #BE9460; */
  border-top: 3px solid #0a496c;
  background-image: url(../images/footer_bg.jpg?ver=1);
  background-position: center;
  background-size: cover;
  color: #0a496c;
  text-align: center;
}

.form-control {
  border: 1px solid #555555;
}

@media (min-width: 768px) {
  .FOOTER {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .FOOTER .container {
    width: 48%;
  }

  .FOOTER .container_form_desktop {
    width: 40%;
  }

  #contact-form {
    display: block !important;
    width: 85% !important;
  }

  #contact-form hr {
    display: none;
  }

  #contact-form .form-group {
    text-align: left;
  }

  #contact-form label {
    font-size: 1.2rem;
  }
}

.FOOTER .logoBox {
  margin: auto;
  padding: 0 5%;
  width: 90%;
}

.footer_info {
  text-align: left;
  font-size: 1.2rem;
}

.footer_info_slogen {
  margin: 5% 0;
  padding: 2%;
  border: 2px solid #75b5e1;
  text-align: center;
}

.footer_info_slogen p {
  font-weight: bold;
  font-size: 1.4rem;
  /* color: #fff; */
}

.footer_info p {
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.footer_info b {
  margin-right: 20px;
  color: #9ed8ff;
  font-size: 1.4rem;
}

.footer_info .hq {
  display: flex;
  justify-content: flex-start;
}

.footer_info a {
  margin-right: 15px;
  color: #333333;
  text-decoration: underline;
}

.footer_info a:hover {
  color: #f4e829;
}

.FOOTER iframe {
  width: 100%;
  /* height: 30vh; */
}

.infoBox {
  text-align: center;
}

img.map_img {
  width: 100%;
  /*padding-top: 10%;*/
}

.icon_JUT {
  margin: 0 auto;
  padding-top: 10%;
  padding-bottom: 5%;
  width: 10%;
}

.infoBox {
  padding-top: 3rem;
  padding-bottom: 1rem;
}

.infoBox a {
  display: block;
  padding-left: 5.5rem;
  color: #0a496c;
  text-align: left;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2rem;
}

.infoBox a b {
  position: absolute;
  left: 0;
  padding-right: 1rem;
  color: #0a496c;
}

.infoBox a span:before {
  content: "‧";
}

.infoBox a.btn {
  display: inline-block;
  padding: 5px 10px;
  width: calc(100% / 2);
  border-radius: 0;
  text-align: center;
  font-size: 14px;
}

.infoBox a.btn:nth-child(n + 2) {
  border-left: 0;
}

.btn-secondary {
  border-color: #ffffff;
  background-color: #0a496c;
  color: #ffffff !important;
}

.btn-secondary:hover {
  border-color: #ffffff;
  background-color: #ffffff;
  color: #0a496c !important;
}

.contacBox {
  position: fixed;
  bottom: 0%;
  left: 0%;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  width: 100%;
}

.contacBox a {
  display: inline-block;
  margin: 0;
  padding: 0;
  padding: 5px;
  width: calc(100% / 2);
  border: none;
  border-top: 1px solid #888888;
  background-color: #222222;
  color: #eeeeee !important;
  font-size: 14px;
}

.contacBox a + a {
  border-left: 1px solid #888888;
}

.fp-viewing-firstPage .contacBox,
.fp-viewing-InfoPage .contacBox {
  display: none;
}

@media (min-width: 1000px) {
  .div_reverse .Txt {
    padding-left: 10%;
    /* color: #333; */
  }

  .video .pb-5 {
    text-align: center;
    text-align: left;
  }
}

@media (max-width: 1366px) {
  body {
    font-size: 0.8rem;
  }

  .FOOTER .content {
    /*padding: 0 6%;*/
  }

  .infoBox a {
    font-size: 0.8rem;
  }
}

@media (max-width: 768px) {
  .slick-prev {
    left: -55px;
    z-index: 500;
  }

  .slick-next {
    right: -40px;
    z-index: 500;
  }

  header {
    padding-bottom: 10%;
    background: -webkit-linear-gradient(
      top,
      rgba(0, 166, 186, 0) 0%,
      #828991 80%
    );
    background: -o-linear-gradient(top, rgba(0, 166, 186, 0) 0%, #828991 80%);
    background: linear-gradient(to top, rgba(0, 166, 186, 0) 0%, #828991 80%);
  }

  .single_img_wrap.still_img img {
    margin-top: -6px;
  }

  body {
    font-size: 16px;
  }

  .fancybox-content {
    padding: 35px 20px;
  }

  .icon-plus {
    background-image: url(../images/icon-plus_gray.svg);
  }

  .btn-outline-dark {
    margin-bottom: 1rem;
    text-transform: unset;
    font-size: 14px;
  }

  .fancybox-content {
    text-align: justify;
    font-size: 1rem;
  }

  /* .bannerBox {
        background-image: url(../images/top_mb.jpg);
    } */

  .bannerBox:after {
    position: absolute;
    bottom: 8%;
    left: 50%;
    color: #d3edff;
    content: "";
    font-size: 10px;
    transform: translateX(-50%);
  }

  .FOOTER {
    padding-bottom: 20%;
  }

  .FOOTER .content {
    padding: 0 5% 10%;
  }

  .FOOTER .logoBox {
    padding: 9px 5% 5%;
  }

  .footer_info_slogen p {
    font-size: 1rem;
  }

  .infoBox a span {
    display: block;
  }

  .infoBox a span:before {
    content: "";
  }

  .infoBox a.btn {
    padding: 6px 0;
  }

  .icon_JUT {
    padding-top: 20px;
    padding-bottom: 8px;
  }

  img.map_img {
    padding-top: 15px;
    width: 100%;
  }

  .infoBox {
    padding-top: 0;
    padding-bottom: 15px;
  }

  .btn-group {
    margin-bottom: 10px;
  }

  /* 手機版置右電話按鈕 */
  .right_tel {
    position: fixed;
    right: 2%;
    bottom: 5rem;
    width: 60px;
    height: 60px;
    border: 2px solid #f4e829;
    border-radius: 50%;
    background-color: #136372;
  }

  .right_tel a {
    position: absolute;
    top: 49%;
    left: 50%;
    color: #ffffff;
    font-size: 30px;
    transform: translate(-50%, -50%);
  }
}

@media (max-width: 420px) {
  .footer_info {
    font-size: 1rem;
  }

  .footer_info p {
    margin-bottom: 0.3rem;
  }

  .footer_info b {
    font-size: 1.2rem;
  }
}

@media (max-width: 380px) {
  .footer_info {
    font-size: 0.9rem;
  }

  .footer_info b {
    font-size: 1rem;
  }
}

@media (max-width: 320px) {
  .footer_info {
    font-size: 0.7rem;
  }

  .footer_info b {
    font-size: 0.9rem;
  }

  .footer_info_slogen p {
    font-size: 0.8rem;
  }
}

/* ipad pro */
@media (width: 1024px) and (height: 1366px) {
  .bannerBox {
    background-position: 60%;
  }
}
