/***
	for 財政局付款憑單匯款入戶查詢系統
	create 2024/5/24
	author Ding
***/

@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&display=swap");

@keyframes changeFirstCircle {
  0% {
    background-image: url("../img/tainan/circle1-bg1.jpg");
  }

  50% {
    background-image: url("../img/tainan/circle1-bg2.jpg");
  }

  100% {
    background-image: url("../img/tainan/circle1-bg1.jpg");
  }
}

@keyframes changeSecondCircle {
  0% {
    background-image: url("../img/tainan/circle2-bg1.jpg");
  }

  50% {
    background-image: url("../img/tainan/circle2-bg2.jpg");
  }

  100% {
    background-image: url("../img/tainan/circle2-bg1.jpg");
  }
}

body {
  font-family: "Noto Sans TC", sans-serif;
}

.d-none {
  display: none;
}

.d-flex {
  display: flex;
}

.d-inline-block {
  display: inline-block;
}

.d-block {
  display: block;
}

.bg-wrap {
  background: url("../img/bg1.png");
}

.pt-3 {
  padding-top: 1.5rem;
}

.py-3 {
  padding: 1.5rem 0;
}

/* override height of #index  */
.doft-login-style #index {
  height: unset;
  min-height: auto;
  min-height: calc(100vh - 40px);
}

body.doft-login-style {
  font-family: "Noto Sans TC", sans-serif;
}

.doft-login-style #index .box {
  width: 90%;
  max-width: 100%;
  display: flex;
  align-items: end;
  justify-content: end;
  /* padding: 20px 0; */
  /*  margin-bottom: clamp(30px, 3.4vw, 62px);*/
}

.more-announcements-box {
  align-items: center !important;
  justify-content: center !important;
  z-index: 100;
}

.doft-login-style #index .news {
  background: #fff;
  width: clamp(620px, 39vw, 750px);
  padding: 2rem 0;
  margin: 0;
}

.doft-login-style #index .news .news-box {
  margin: auto;
  padding: 0 clamp(20px, 1.8vw, 35px);
}

.doft-login-style #index .news .news-box table {
  width: clamp(580px, 35.4vw, 680px);
  max-width: clamp(580px, 35.4vw, 680px);
}

.doft-login-style #index .news .news-box table tr {
  background-color: transparent;
  border: none;
}

.doft-login-style #index .news .news-box td {
  border: none;
  background: none;
  padding-bottom: 8px;
}

.doft-login-style #index .news .news-box {
  border: none;
}

.doft-login-style #index .news .news-box td:after {
  content: "";
  display: none;
}

.doft-login-style .news .control {
  width: 330px;
  display: flex;
  justify-content: space-around;
  margin: auto;
}

.doft-login-style .news .control .page {
  padding: 0 0 8px 0;
  background-color: transparent;
  border-bottom: 1px solid #fff;
}

.doft-login-style .news .control .page span {
  font-size: 16px;
}

.doft-login-style .news .control .page.active,
.doft-login-style .news .control .page:hover {
  color: #ee637c;
  border-bottom: 1px solid #ee637c;
}

.doft-login-style .news .control .page:nth-child(2),
.doft-login-style .news .control .page:nth-child(3),
.doft-login-style .news .control .page:nth-child(4),
.doft-login-style .news .control .page:nth-child(5),
.doft-login-style .news .control .page:nth-child(6) {
  margin-left: 6px;
}

.doft-login-style .news .control a.btn-prev,
.doft-login-style .news .control a.btn-next {
  background: #ee637c;
  padding: 3px 7px;
  border-radius: 8px;
  color: #fff;
  font-size: 16px;
}

.doft-login-style #index .news .news-box .date {
  font-size: 1.6rem;
  background-color: #7ea6b8;
  border-radius: 100px;
  color: #fff;
  padding: 7px 0;
  width: 112px;
  float: left;
  text-align: center;
  margin-top: 5px;
  margin-left: 0;
}

@media (min-width: 769px) {
  .doft-login-style #index .news .news-box a {
    width: clamp(468px, calc(35.4vw - 112px), 568px);
  }
}

@media (width: 768px) {
  .doft-login-style #index .news .news-box table {
    width: clamp(600px, 86.4vw, 670px);
    max-width: clamp(600px, 86.4vw, 670px);
  }

  .doft-login-style #index .news .news-box a {
    width: clamp(200px, calc(86.4vw - 80px), 630px);
  }
}

.doft-login-style #index .news h2 {
  color: #429ed8;
  font-weight: 600;
  font-family: "Noto Sans TC", sans-serif;
  font-size: 3.6rem;
}

.doft-login-style #index .box .login {
  background-color: #ffffffd9;
  border-radius: 0;
  padding: clamp(20px, 1.5%, 35px) clamp(10px, 1.5%, 30px);
  margin-right: clamp(100px, 8.9vw, 170px);
  min-height: 860px;
  box-shadow: 0px 21px 21px rgba(0, 0, 0, 0.25);
  height: calc(100vh - 40px);
  align-items: center;
}

.doft-login-style #index .box .announcement {
  display: block;
  z-index: 5;
  background-color: #ffffffd9;
  border-radius: 0;
  padding: clamp(20px, 1.5%, 35px) clamp(10px, 1.5%, 30px);
  margin-right: 30px;
  margin-bottom: 95px;
  box-shadow: 0px 21px 21px rgba(0, 0, 0, 0.25);
  align-items: center;
}

.doft-login-style #index .box .announcement .cus-tab {
  width: 444px;
  margin: auto;
}

.announcement-title {
  color: #5a5c5c;
  font-size: 3rem;
  letter-spacing: 3px;
  font-weight: 700;
}

.more-announcements-login {
  margin-right: 0 !important;
  min-height: auto !important;
  height: auto !important;
}

.login-announcement {
  display: none;
}

.doft-login-style #index .box .login .cus-tab {
  width: 444px;
  margin: auto;
  /* min-width: 410px; */
}

.more-announcements-cus-tab {
  width: 1150px !important;
}

@media screen and (max-width: 1600px) {
  .more-announcements-cus-tab {
    width: 1150px !important;
  }

  .more-announcements-login {
    margin-left: 0 !important;
  }
}

@media screen and (max-width: 1240px) {
  .more-announcements-cus-tab {
    width: 100% !important;
  }

  .more-announcements-login {
    margin-left: 0 !important;
  }

  .more-announcements-logo {
    width: 100px;
    top: auto !important;
    bottom: 30px;
  }
}

@media screen and (max-width: 768px) {
  .more-announcements-logo {
    display: none;
  }
}

.doft-login-style #index .box .login .login-logo {
  width: clamp(50px, 100%, 158px);
}

.doft-login-style .login .btn {
  background-color: #c21630;
  color: #fff;
  border-radius: 100px;
  letter-spacing: 5px;
  font-size: clamp(20px, 0.815217391vw, 24px);
  transition: all ease 0.5s;
}

.doft-login-style .login .btn:hover {
  background-color: #ee637c;
}

.doft-login-style .login .nav.nav-pills {
  border: none;
  align-items: center;
  justify-content: center;
  margin-bottom: clamp(20px, 1.188858695vw, 35px);
}

.doft-login-style .login .nav.nav-pills li {
  width: 33%;
}

@media (max-width: 1240px) {
  .doft-login-style .login .nav.nav-pills {
    display: none;
  }
}

.doft-login-style .login label {
  padding-left: 2.8rem;
  width: 100%;
  color: #595959;
  font-size: 2.4rem;
  font-size: clamp(20px, 0.815217391vw, 24px);
  position: relative;
  font-weight: 500;
  letter-spacing: 5px;
}

.doft-login-style .login .input-desc {
  color: #595959;
  font-size: clamp(1.6rem, 1.1vw, 1.8rem);
  font-weight: 600;
  /* max-width: 443px; */
}

/* for verification label */
.doft-login-style .login label.d-flex {
  align-items: center;
}

.doft-login-style .login .radio {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.doft-login-style .login label.d-flex .question-text {
  padding: 0 0 0 15px;
  align-items: center;
}

.doft-login-style .login label .question-text svg {
  margin: 3px 0 0 0;
}

.doft-login-style .login .question-text {
  color: #999999;
  font-size: 1.8rem;
  letter-spacing: 3px;
  padding: 1.1rem 0;
  align-items: center;
  justify-content: end;
}

/* override index background image */
.doft-login-style #index {
  background-image: url("../img/tainan/bg1.jpg");
  transition: all ease 0.6s;
  animation: changeBg 14s infinite;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.doft-login-style #index .box .login .question {
  color: #999999;
  margin-left: 25px;
}

.doft-login-style #index .box .login .question #question {
  color: red;
}

/* for verification radio checked */
.doft-login-style #index .box .login .radio .radio-item label {
  border: 2px solid transparent;
}

.doft-login-style #index .box .login .radio .radio-item input[type="radio"]:checked+label {
  border: 2px solid #ff9c00;
  border-radius: 0.8rem;
}

.doft-login-style .login .question-text span {
  margin-left: 5px;
}

.doft-login-style .login .question-text:hover {
  color: #a4116b;
}

.doft-login-style .login .question-text:hover svg {
  fill: #a4116b;
}

.doft-login-style .login label.list-label:before {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  left: 1.3rem;
  top: 1.4rem;
  border-radius: 100px;
  background-color: #595959;
}

.doft-login-style .login input {
  width: 100%;
  padding: 12px 20px;
  padding: clamp(10px, 0.407608695vw, 12px) 20px;
  display: block;
  border: 3px solid #c9920a;
  border-radius: 100px;
  font-size: 1.8rem;
  font-size: clamp(16px, 0.611413043vw, 18px);
}

.doft-login-style .login .nav.nav-pills .active a {
  background-color: #c9920a;
  border: 2px solid #c9920a;
  color: #fff;
  transition: all ease 0.6s;
}

.doft-login-style .login .nav.nav-pills a:hover {
  background-color: #c9920a;
  color: #fff;
}

.doft-login-style .login .nav.nav-pills a {
  font-size: clamp(20px, 0.815217391vw, 24px);
  padding: 8px 0;
  background-color: #fff;
  border: 2px solid #c9920a;
  color: #c9920a;
  transition: all ease 0.6s;
  border-radius: 100px;
  letter-spacing: 2px;
  line-height: 1;
}

.doft-login-style .login h1 {
  margin: 4.9rem 0 2.5rem 0;
  margin: clamp(25px, 1.698369565vw, 50px) 0 clamp(12px, 0.849184782vw, 25px);
  padding-bottom: 0.5rem;
  color: #c9920a;
  font-weight: bold;
  letter-spacing: 1px;
  font-size: clamp(2.8rem, 1.222826086vw, 36px);
  text-wrap: nowrap;
}

.doft-login-style .login svg {
  fill: #b5b5b5;
}

.doft-login-style footer {
  background: #5e2020;
  color: #fff;
  padding: 10px 0;
  font-size: 14px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.doft-login-style .modal-header {
  border: none;
  position: relative;
}

.doft-login-style .close {
  position: absolute;
  right: 0;
  top: -33px;
  color: #fff;
  opacity: 1;
  font-size: 30px;
}

.doft-login-style .modal-title {
  font-size: clamp(2.6rem, 5%, 3.2rem);
}

.doft-login-style .modal-header:after {
  content: "";
  position: absolute;
  background-color: #d8ad47;
  height: 2px;
  width: 90%;
  left: 5%;
  bottom: 0;
}

.modal-dialog {
  max-width: 90%;
  margin: 35px auto 0 auto;
  font-size: 1.6rem;
}

/* below 1600px device */
@media screen and (max-width: 1600px) {
  .doft-login-style #index .box {
    width: 96%;
  }

  .doft-login-style #index .news .news-box {
    padding: 0 clamp(10px, 1.8vw, 20px);
  }

  .doft-login-style #index .box .login {
    /* margin-left: clamp(50px, 6vw, 100px); */
  }
}

@media screen and (max-width: 1240px) {
  .doft-login-style #index .box .announcement {
    display: none;
  }

  .login-announcement {
    display: block;
  }

  .tainan-text {
    display: none;
  }

  .cloud1 {
    display: none;
  }

  .cloud2 {
    display: none;
  }

  .first-circle {
    display: none;
  }

  .second-circle {
    display: none;
  }

  .doft-login-style #index .box {
    /* padding-top: clamp(25px, 5%, 45px); */
    flex-direction: column;
    align-items: center;
  }

  .doft-login-style #index .box .login {
    margin-right: 0;
    margin-left: 0;
    /* margin-top: 20px; */
    width: clamp(620px, 39vw, 750px);
    /* min-height: auto; */
  }

  .doft-login-style .login h1 {
    margin: 3.4rem 0 2.5rem 0;
  }
}

@media screen and (min-width: 1025px) {}

@media screen and (max-width: 768px) {
  .doft-login-style #index .news {
    width: clamp(300px, 90vw, 750px);
  }

  .doft-login-style #index .box .login {
    width: clamp(300px, 90vw, 750px);
  }

  .doft-login-style #index .box .login .cus-tab {
    width: 400px;
  }

  .doft-login-style .login label {
    font-size: 2rem;
  }

  .doft-login-style .login .question-text {
    font-size: 1.5rem;
    letter-spacing: 2px;
    padding: clamp(0.9rem, 3vw, 1.1rem) 0;
  }

  .doft-login-style #index .news .news-box .date {
    width: 80px;
    padding: 5px 0;
  }

  .doft-login-style footer {
    height: auto;
  }

  .d-sm-block {
    display: block;
  }

  .d-sm-none {
    display: none;
  }
}

@media (min-width: 768px) {
  .modal-dialog {
    margin: 50px auto 0 auto;
  }
}

@media (max-width: 575px) {
  .doft-login-style #index .box {
    padding-top: 0;
  }

  .doft-login-style #index .box .login .login-logo {
    width: clamp(50px, 100%, 158px);
  }

  .doft-login-style #index .box .login .cus-tab {
    width: 310px;
  }

  .doft-login-style .login h1 {
    font-size: clamp(2.42rem, 3vw, 3rem);
  }

  .doft-login-style .login input {
    font-size: clamp(1.4rem, 2.8vw, 1.6rem);
  }
}

@media screen and (max-width: 419px) {
  #index .news .news-box .date {
    margin-left: 0;
  }

  #index .news .news-box a {
    width: clamp(220px, 62vw, 240px);
  }
}

@media (max-width: 350px) {

  .doft-login-style #index .box .login .cus-tab,
  .doft-login-style .news .control {
    width: 270px;
  }

  #index .news .news-box a {
    width: 190px;
  }

  .doft-login-style .news .control {
    margin-top: 10px;
  }

  .doft-login-style .login h1 {
    font-size: 2rem;
  }

  .doft-login-style .login label {
    font-size: 1.8rem;
    letter-spacing: 3px;
  }

  .doft-login-style .login .nav.nav-pills a {
    font-size: 1.5rem;
  }

  .doft-login-style .news .control a.btn-prev,
  .doft-login-style .news .control a.btn-next {
    font-size: 14px;
  }
}

.text-end {
  text-align: end;
}

.login-header {
  display: flex;
  border-bottom: 2px solid #7c6755;
  align-items: flex-end;
}

.more-announcements-login-header {
  position: relative !important;
}

.more-announcements-logo {
  position: absolute;
  top: 0;
  right: 0;
}

.text-ellipsis {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rounded-red-label {
  background-color: #c21630;
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  display: inline-block;
  font-size: 1.6rem;
  font-weight: bold;
  text-align: center;
}

.rounded-yellow-link {
  background-color: #c9920a;
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  display: inline-block;
  font-size: 1.6rem;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  letter-spacing: 2px;
}

.rounded-yellow-link:hover {
  background-color: #c9920a;
  color: white;
}

.rounded-yellow-link:focus {
  background-color: #c9920a;
  color: white;
}

.black-link {
  padding: 10px 0;
  font-size: 16px;
  color: #000;
}

.more-link {
  padding: 10px 0;
  font-size: 16px;
  color: #20aee4;
  text-decoration: underline;
  text-underline-offset: 8px;
}

.more-link:hover {
  /* color: #20aee4; */
  text-decoration: underline;
  text-underline-offset: 8px;
}

.tainan-text {
  position: absolute;
  bottom: 0;
  left: 50px;
}

.cloud1 {
  position: absolute;
  top: 550px;
  left: 100px;
}

.cloud2 {
  position: absolute;
  top: 275px;
  left: 600px;
}

.first-circle {
  background-image: url("../img/tainan/circle1-bg1.jpg");
  animation: changeFirstCircle 14s infinite;
  position: absolute;
  top: 100px;
  left: 100px;
  width: 480px;
}

.second-circle {
  background-image: url("../img/tainan/circle2-bg1.jpg");
  animation: changeSecondCircle 14s infinite;
  position: absolute;
  top: 350px;
  left: 450px;
  width: 300px;
}

.circle-container {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 50%;
  border: 10px solid #fff;
}

@media screen and (max-width: 1450px) {
  .cloud1 {
    top: 420px;
    left: 80px;
    width: 150px;
  }

  .cloud2 {
    top: 200px;
    left: 460px;
    width: 150px;
  }

  .first-circle {
    top: 50px;
    left: 50px;
    width: 400px;
  }

  .second-circle {
    top: 275px;
    left: 300px;
    width: 250px;
  }
}

.more-announcements-control {
  width: 330px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: auto;
}

@media screen and (max-width: 400px) {
  .more-announcements-control {
    width: 280px;
  }
}

.more-announcements-btn-prev,
.more-announcements-btn-next {
  background: #c21630;
  padding: 3px 7px;
  border-radius: 8px;
  color: #fff;
  font-size: 16px;
}

.more-announcements-page {
  padding: 0;
  background-color: transparent;
}

.more-announcements-page span {
  font-weight: bold;
  font-size: 16px;
}

.more-announcements-page.active,
.more-announcements-page:hover {
  color: #c21630;
}

.more-announcements-page:nth-child(2),
.more-announcements-page:nth-child(3),
.more-announcements-page:nth-child(4),
.more-announcements-page:nth-child(5),
.more-announcements-page:nth-child(6) {
  margin-left: 8px;
}

.col-auto {
  flex: 0 0 auto;
}

.col {
  flex: 1 1 0;
  overflow-wrap: break-word;
  min-width: 0;
}

.mt-0 {
  margin-top: 0 !important;
}

.mt-1 {
  margin-top: 0.25rem !important;
}

.mt-2 {
  margin-top: 0.5rem !important;
}

.mt-3 {
  margin-top: 1rem !important;
}

.mt-4 {
  margin-top: 1.5rem !important;
}

.mt-5 {
  margin-top: 3rem !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mb-1 {
  margin-bottom: 0.25rem !important;
}

.mb-2 {
  margin-bottom: 0.5rem !important;
}

.mb-3 {
  margin-bottom: 1rem !important;
}

.mb-4 {
  margin-bottom: 1.5rem !important;
}

.mb-5 {
  margin-bottom: 3rem !important;
}

.ms-0 {
  margin-left: 0 !important;
}

.ms-1 {
  margin-left: 0.25rem !important;
}

.ms-2 {
  margin-left: 0.5rem !important;
}

.ms-3 {
  margin-left: 1rem !important;
}

.ms-4 {
  margin-left: 1.5rem !important;
}

.ms-5 {
  margin-left: 3rem !important;
}

.me-0 {
  margin-right: 0 !important;
}

.me-1 {
  margin-right: 0.25rem !important;
}

.me-2 {
  margin-right: 0.5rem !important;
}

.me-3 {
  margin-right: 1rem !important;
}

.me-4 {
  margin-right: 1.5rem !important;
}

.me-5 {
  margin-right: 3rem !important;
}

/* For margin on both sides (mx) */
.mx-0 {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.mx-1 {
  margin-left: 0.25rem !important;
  margin-right: 0.25rem !important;
}

.mx-2 {
  margin-left: 0.5rem !important;
  margin-right: 0.5rem !important;
}

.mx-3 {
  margin-left: 1rem !important;
  margin-right: 1rem !important;
}

.mx-4 {
  margin-left: 1.5rem !important;
  margin-right: 1.5rem !important;
}

.mx-5 {
  margin-left: 3rem !important;
  margin-right: 3rem !important;
}

/* For margin on both top and bottom (my) */
.my-0 {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.my-1 {
  margin-top: 0.25rem !important;
  margin-bottom: 0.25rem !important;
}

.my-2 {
  margin-top: 0.5rem !important;
  margin-bottom: 0.5rem !important;
}

.my-3 {
  margin-top: 1rem !important;
  margin-bottom: 1rem !important;
}

.my-4 {
  margin-top: 1.5rem !important;
  margin-bottom: 1.5rem !important;
}

.my-5 {
  margin-top: 3rem !important;
  margin-bottom: 3rem !important;
}

.w-100 {
  width: 100%;
}

.justify-content-between {
  justify-content: space-between;
}
.btn-youtube{
  background-image: url(../img/template/youtube.png);
}