/*2022的粽子節*/
/*logo*/
.festival-logo{
	width: 179px;
    height: auto !important;
    margin-top: 3%;
}
#aboutMeLogoImg{
	height: 70px;
}
#dragonService-girl{
	z-index: 10; width: 178px;
}
/*loading pc*/
.dot-loading-wrapper {
  font-size: 18px;
  width: 10.5em;
}
.demo {
  width: 90px;
  height: 90px;
  position: absolute;
  top: 20%;
  animation: logo_gogo 5s linear infinite;
}

.laborDay_img{
  width: 100%;
  height: 100%;
}

.loading_animation {
  position: absolute;
  left: 353px;
  top: 449px;
}
@keyframes logo_gogo {
  0% {
    transform: rotateY(0);
  }
  50% {
      transform: rotateY(180deg);
  }
  100% {
      transform: rotateY(360deg);
  }
  }
.demo_boat img{
	width: 100%;
    height: auto;
}
.demo-firework{
  width: 165px;
  height: auto;
  position: absolute;
  top: 10%;
}

.demo-firework-ball {
  width: 7%;
    position: absolute;
    top: 57%;
    left: 44%;
}
.demo-flag2{
  width: 70%;
  height: 100%;
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-154%, -130%);
}
@keyframes rotateImage {
0% {
      transform-origin: right bottom; /* 以左下角为旋转中心 */
  transform: rotate(0deg);
}
50% {
      transform-origin: right bottom; /* 以左下角为旋转中心 */
  transform: rotate(5deg);
}
100% {
      transform-origin: right bottom; /* 以左下角为旋转中心 */
  transform: rotate(0deg);
}
}

.flag2_go {
  animation: rotateImage 1s linear infinite;
  position: absolute;
  top: 10%;
  right: -35%;
}

.firework-ball {
  position: relative;
  top: -8px;
  right: -27%;
  animation: flag1_span 1s linear infinite;
}
.flag2_span2 {
  position: absolute;
  top: 66px;
  right: -13%;
  animation: flag1_span 1s linear infinite;
}

.demo-flag1{
  width: 70%;
  height: auto;
  position: relative;
  right: 38%;
  top: 50%;
  left: 50%;
  transform: translate(-16%, -173%);
}

.flag1_span {
  height: auto;
  position: absolute;
  right: 5%;
  bottom: -50%;
  animation: flag1_span 1s linear infinite;
}

@keyframes flag1_span {
  0% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(5deg) scale(1.2);
  }
  100% {
    transform: rotate(0deg) scale(1);
  }
}

@keyframes rotateImage_flag1 {
0% {
      transform-origin: left bottom; /* 以左下角为旋转中心 */
  transform: rotate(0deg);
}
50% {
      transform-origin: left bottom; /* 以左下角为旋转中心 */
  transform: rotate(-5deg);
}
100% {
      transform-origin: left bottom; /* 以左下角为旋转中心 */
  transform: rotate(0deg);
}
}

.flag1_go {
animation: rotateImage_flag1 1s linear infinite;
/* 2s表示动画持续时间，可以根据需要调整 */
}




/*loading 手機*/
.demo1 {
  width: 100%;
  height: 60%;
  position: absolute;
  top: -9px;
  left: 5px;
}
.dot-loading-wrapper-rwd{
  font-size: 14px;
  width: 11em;
}
.demo1-firework{
  width: 60%;
  height: 79%;
  position: absolute;
  top: -29px;
  left: 59px;
}
.img-firework{
  width: 64%;
    height: auto;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
}
.demo1-flag2{
  width: 13%;
  height: 79%;
  position: absolute;
  top: 17px;
  left: 100px;
}
.img-flag2{
  width: 16%;
    height: auto;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    transform: rotate(345deg);
}
.demo1-flag1{
  width: 27%;
  height: 79%;
  position: absolute;
  top: 26px;
  left: 155px;
}
.img-flag1{
  width: 16%;
    height: auto;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    transform: rotate(20deg);
}

.flag1_span_rwd {
  height: auto;
    position: absolute;
    right: 5%;
    bottom: 56%;
    animation: flag1_span 1s linear infinite;
}

.firework-ball-rwd {
  position: absolute;
  top: 10px;
  right: -27%;
  animation: flag1_span 1s linear infinite;
}
.dragon.img {
  width: 57px;
    height: auto;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    animation: logo_gogo 1s linear infinite;
}
/*飄粽子特效*/
#dropingElement-con {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  pointer-events: none;
}

#leftFallingElement,
#rightFallingElement {
position: absolute;
height: 100vh;
width: 5vw;
z-index: -1;
}

#leftFallingElement {
left: 5em;
animation: FallAnimation 40s linear infinite;
}

#rightFallingElement {
right: 5em;
animation: FallAnimation 41s linear infinite;
}

@keyframes FallAnimation {
0% {
  top: -442rem;
}
100% {
  top: 60rem;
}
}

.fallingElement {
position: absolute;
background-size: 100% 100%;
pointer-events: auto;
}

.zongzi {
height: 60px;
width: auto;
animation: rotateElement 5s linear infinite;
}

.angpao {
height: 150px;
width: auto;
animation: rotateElement 4.5s linear infinite;
}


@keyframes rotateElement {
0% {
    transform: rotate(0deg);
}
100% {
    transform: rotate(360deg);
}
}
/* ----------start of the responsiveness of mobile in each screen------------ */
@media screen and (max-width: 912px){
#leftFallingElement {
  left: 1em;
}

#rightFallingElement {
  right: 3em;
}

.zongzi, .angpao {
  pointer-events: none;
}
}

@media screen and (max-width: 912px){
#leftFallingElement {
  left: 1em;
}

#rightFallingElement {
  right: 3em;
}
}

@media screen and (max-width: 820px){
#leftFallingElement {
  left: 1em;
}

#rightFallingElement {
  right: 3em;
}

.angpao {
  height: 87px;
} 

.zongzi {
  height: 44px;
}
}

@media screen and (max-width: 540px){
#leftFallingElement {
  left: 0em;
}

#rightFallingElement {
  right: 2em;
}
}

@media screen and (max-width: 430px){
#leftFallingElement {
  left: -1em;
}
}

@media screen and (min-width: 414px){
  .demo1_span {
    top: 20px;
  }
  .demo1 {
    top: 5px;
  }

  .flag1_span_rwd {
    bottom: 47%;
  }
}

@media screen and (max-width: 375px){
  .demo1_span {
    top: 25px;
  }
  .demo1 {
    top: 5px;
  }

  .flag1_span_rwd {
    bottom: 47%;
  }

  .demo1-flag1 {
    left: 135px;
  }
  .demo1-flag2 {
    left: 77px;
  }
}


/*登入框*/
.fb_login_img{
	z-index: 2;
}
.mobile-eye, .christmas-i-color{
	color: #084422 !important;
}
.homepage_login_right{
  width: 35%;
  position: absolute;
  left: -22px;
  top: -33px;
  z-index: 98;
}
.homepage_login_left{
  width: 43%;
  position: absolute;
  right: -33px;
  bottom: -30px;
  z-index: 98;
}
.homepage_login_top{
	background: url(../images/dragon/dragonboat_desktop-bg.png);
    width: 98%;
    height: 98%;
    position: absolute;
    top: 7px;
    left: 3px;
    z-index: 1;
}

.homepage_login_bg {
  border-radius: 10px;
  background-image: url(../images/dragon/texture-bg.jpg);
  background-position: top;
  background-size: cover;
  border-radius: 10px;
}

.homepage_login_bg::before {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 15px; 
  background: linear-gradient(to bottom, #E1FBA5, #4AA935);
  z-index: -1; 
}
.homepage_login_cancel img {
	width: 65px;
}
.homepage_login_cancel{
  width: 60px;
  height: 55px;
  border: 0px solid;
  border-radius: 50%;
  background: #9A3E00;
  top: -26px;
  right: -31px;
}
.homepage_login_span{
	position: absolute;
  top: 5px;
  right: 15px;
  font-size: 38px;
  color: #ffffff;
}
.homepage_login_span:hover {
  color: #ffffff;
}
.homepage_login_bg .nav-tabs>li>a.active{
	color: #ffff !important;
  background-color: #4AA935!important;
}
.homepage_login_bg .tab-content{
  background: linear-gradient(to bottom, #4AA935, #FFF8E0)!important;
}
.bookmark_type {
    background-color: #125B31 !important;
    color: #fff!important;
    z-index: 2;
}
.login-input{
	background-color: #ffff !important;
    border: none !important;
    color: #7b6e46 !important;
}

.festival-span-color{
	    color: #084422 !important;
}
.dragon-span-color{
	    color: #084422 !important;
}
.login-btn{
	background-color: #FE6600;
    border-color: #FE6600;
    color: #ffff;
}
.btn-primary:focus, .btn-primary:hover {
  background-color: #FE6600!important;
    border-color: #FE6600!important;
    color: #ffff!important;
}
.prompt{
  background-color: #4AA935 !important;
  border-color: #4AA935 !important;
  color: #ffff !important;
}
.checkbox i{
	background-color: rgb(255, 255, 255);
}
body, html {
  /*overflow: hidden;*/
  
  height: 100%;
}

.homepage_login_bottom{
  width: 60%;
  position: absolute;
  left: -20%;
  bottom: -4%;
  z-index: 100;
}

/*手機設定*/
/*手機板登入頁*/
.festival-titile-color{
  /* 设置描边宽度及颜色 */
  text-stroke: 2px #FFFF;
  /* 兼容Webkit(Chrome/Safari)内核浏览器的写法 */
  -webkit-text-stroke: 2px #FFFF;
}
[data-content]::before {
  content: attr(data-content);
  position: absolute;
  -webkit-text-stroke: 0;
  background: #084422;
  background: #084422;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  }


.festival-indexRwd-bg{
	background: url(../images/dragon/dragonboat_desktop-bg_m.png);
	background-repeat: no-repeat;
  	background-size: cover;
}
.loginPage-circle{
	display: none;
}
.loginPage-bg_2{
	border-style: none;
	background: rgba(255, 255, 255, 0);
	box-shadow: none;
		margin-top: 37px !important;
}
.loginPage-logo{
  margin-top: 21px;
  border-width: 0;
  border-color: transparent;
  border-style: none;
  height: 96px;
  width: 96px;
  background-color: transparent;
  box-shadow: none;
}
.loginPageBg {
  position: absolute;
  left: 50%;
  transform: translate(-50%, 20%);
}
.login_div_lock{
  color: #ffff;
  background: #4AA935;
  text-shadow: 0.1em 0.1em 0.2em hwb(0deg 0% 100% / 38%);
}
.login_div_2-left {
  border-top-left-radius: 14px;
  border-bottom-left-radius: 14px;
}
.login_div_2-right {
  border-top-right-radius: 14px;
  border-bottom-right-radius: 14px;
}
.login_div_no_lock{
  background-color: #125B31;
  color: #fff;
  font-weight: bold;
}
.loginPage-icon-1, .mobil-eye{
	color: #084422;
}
.dragon-span-color{
	color: #084422 !important;
}
.loginPage-span-2{
	color: #084422 !important;
  text-shadow: -1px -1px 0 #ffff, 1px -1px 0 #ffff, -1px 1px 0 #ffff, 1px 1px 0 #ffff;
}
.loginPage-span-2-a{
	color: #084422 !important;
}
.loginPage_input{
	color: #084422 !important;
}
.dragon-span-color-rwd{
	color: #084422 !important;
}
/* webkit 瀏覽器*/ 
.loginPage_input::-webkit-input-placeholder { 
	color: #084422 !important;
	letter-spacing: 1px;
	font-size: 16px;
}
/* 火狐瀏覽器 */ 
.loginPage_input::-moz-placeholder { 
	color: #084422 !important;
	letter-spacing: 1px;
	font-size: 16px;
}
.loginPage_login_btn{
  color: #ffff;
  background: #FE6600 !important;
  text-shadow: 0.1em 0.1em 0.2em hwb(0deg 0% 100% / 38%);
  border-radius: 17px;
}

.flexslider{
	z-index: 0;
}
.RecentGm2020 .RecentGmBox{
	z-index: 0;
}


.login-input::placeholder { /* CSS 3 標準 */
	  color: #7b6e46 !important;
	}
	.login-input::-webkit-input-placeholder { /* Chrome, Safari */
	  color: #7b6e46 !important;
	}
	
	.login-input:-ms-input-placeholder { /* IE 10+ */
	  color: #7b6e46 !important;
	}
	
	.login-input::-moz-placeholder { /* Firefox 19+ */
	 color: #7b6e46 !important;
	}
.conversation-style{
	bottom: 161px;
}
/*開場動畫*/
.opening-bg {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    overflow: hidden;
    position: fixed;
    background: rgb(0 0 0 / 75%);
  }
  #opening {
    height: 100%;
    overflow: hidden;
    position: relative;
  }
  /*電腦版*/
  .img-building {
    width: 100%;
    height: auto;
	animation: go-building 1s ease-in-out;
	animation-fill-mode: forwards;
  }
  
  .demo-building {
    width: 45%;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 10%);
  }

  @keyframes go-building {
    from {
		opacity: 0;
      transform: scale(0); /* 初始縮小為原來的 0.5 倍 */
    }
    to {
		opacity: 1;
      transform: scale(1); /* 最終放大為原來的 1 倍 */
    }
  }

  .demo-boat {
    width: 30%;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 125%);
  }
  .img-building1 {
    width: 100%;
    height: auto;
	opacity: 0;
	animation: go-building 1s ease-in-out 0s,go-building1 1s ease-in-out 0.8s;
  animation-delay: 1s;
	animation-fill-mode: forwards;
  }

  @keyframes go-building1 {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.2); }
    100% { transform: scale(1); }
  }
  .demo-boat2 {
    width: 32px;
    height: auto;
    position: absolute;
    top: 353px;
    left: 967px;
  }
  .img-building2 {
    width: 470%;
    height: 293%;
	opacity: 0;
	animation: go-building 0.8s ease-in-out;
	animation-delay: 1.2s;
	animation-fill-mode: forwards;
  }
  .demo-boat3 {
    width: 32px;
    height: auto;
    position: absolute;
    top: 510px;
    left: 899px;
  }
  .img-building3 {
    width: 470%;
    height: 293%;
	opacity: 0;
	animation: go-building 0.8s ease-in-out;
	animation-delay: 1.4s;
	animation-fill-mode: forwards;
  }
  
  .loading_animation_list {
    top: 60%;
    position: absolute;
    left: 50%;
    transform: translate(-95%, 35%);
  }
  /*手機板*/
  .demo-building-rwd{
    width: 100%;
    height: 60%;
    position: absolute;
    top: 0px;
    left: 0;
  }
  .img-building-rwd{
    width: 135%;
    height: auto;
    position: absolute;
    top: 0px;
    right: 0%;
    bottom: 0;
    left: -21%;
    margin: auto;
    animation: go-building 1s ease-in-out;
  }
  .img-boat-rwd{
	width: 100%;
    height: auto;
	opacity: 0;
	animation: go-building 1s ease-in-out 0s, go-building1 0.8s ease-in-out 0.8s;
	/* animation-delay: 1s; */
	animation-fill-mode: forwards;
  }
  .img-boat-rwd2{
	width: 19%;
    height: auto;
    position: absolute;
    top: 8vh;
    right: 0%;
    bottom: 111px;
    left: 85%;
    margin: auto;
	opacity: 0;
	animation: go-building 0.8s ease-in-out;
	animation-delay: 1.2s;
	animation-fill-mode: forwards;
  }
  .img-boat-rwd3{
	width: 19%;
    height: auto;
    position: absolute;
    top: 112px;
    right: 0%;
    bottom: -2vh;
    left: 70%;
	margin: auto;
	opacity: 0;
	animation: go-building 0.8s ease-in-out;
	animation-delay: 1.4s;
	animation-fill-mode: forwards;
  }
  
	.dot-loading {
    box-shadow: 1em 0 transparent, 2em 0 #0AD615, 3em 0 transparent, 4em 0 #0AD615, 5em 0 transparent, 6em 0 #0AD615, 7em 0 transparent, 8em 0 #0AD615, 9em 0 transparent, 10em 0 #0AD615;
    -webkit-animation: dots infinite 1s;
    animation: dots infinite 1s;
  }
	
  @-webkit-keyframes dots {
    20% {
      box-shadow: 
        1em 0 transparent, 
        2em 0 0 -4px rgba(10, 214, 21, 0.2), 
        3em 0 transparent, 
        4em 0 rgba(10, 214, 21, 0), 
        5em 0 transparent, 
        6em 0 rgba(10, 214, 21, 0.2), 
        7em 0 transparent, 
        8em 0 rgba(10, 214, 21, 0.4), 
        9em 0 transparent, 
        10em 0 rgba(10, 214, 21, 0.6);
    }
    40% {
      box-shadow: 
        1em 0 transparent, 
        2em 0 rgba(10, 214, 21, 0.4), 
        3em 0 transparent, 
        4em 0 0 -4px rgba(10, 214, 21, 0.2), 
        5em 0 transparent, 
        6em 0 rgba(10, 214, 21, 0), 
        7em 0 transparent, 
        8em 0 rgba(10, 214, 21, 0.2), 
        9em 0 transparent, 
        10em 0 rgba(10, 214, 21, 0.4);
    }
    60% {
      box-shadow: 
        1em 0 transparent, 
        2em 0 rgba(10, 214, 21, 0.6), 
        3em 0 transparent, 
        4em 0 rgba(10, 214, 21, 0.4), 
        5em 0 transparent, 
        6em 0 0 -4px rgba(10, 214, 21, 0.2), 
        7em 0 transparent, 
        8em 0 rgba(10, 214, 21, 0), 
        9em 0 transparent, 
        10em 0 rgba(10, 214, 21, 0.2);
    }
    80% {
      box-shadow: 
        1em 0 transparent, 
        2em 0 rgba(10, 214, 21, 0.8), 
        3em 0 transparent, 
        4em 0 rgba(10, 214, 21, 0.6), 
        5em 0 transparent, 
        6em 0 rgba(10, 214, 21, 0.4), 
        7em 0 transparent, 
        8em 0 0 -4px rgba(10, 214, 21, 0.2), 
        9em 0 transparent, 
        10em 0 rgba(10, 214, 21, 0);
    }
  }
  
  @keyframes dots {
    20% {
      box-shadow: 
        1em 0 transparent, 
        2em 0 0 -4px rgba(10, 214, 21, 0.2), 
        3em 0 transparent, 
        4em 0 rgba(10, 214, 21, 0), 
        5em 0 transparent, 
        6em 0 rgba(10, 214, 21, 0.2), 
        7em 0 transparent, 
        8em 0 rgba(10, 214, 21, 0.4), 
        9em 0 transparent, 
        10em 0 rgba(10, 214, 21, 0.6);
    }
    40% {
      box-shadow: 
        1em 0 transparent, 
        2em 0 rgba(10, 214, 21, 0.4), 
        3em 0 transparent, 
        4em 0 0 -4px rgba(10, 214, 21, 0.2), 
        5em 0 transparent, 
        6em 0 rgba(10, 214, 21, 0), 
        7em 0 transparent, 
        8em 0 rgba(10, 214, 21, 0.2), 
        9em 0 transparent, 
        10em 0 rgba(10, 214, 21, 0.4);
    }
    60% {
      box-shadow: 
        1em 0 transparent, 
        2em 0 rgba(10, 214, 21, 0.6), 
        3em 0 transparent, 
        4em 0 rgba(10, 214, 21, 0.4), 
        5em 0 transparent, 
        6em 0 0 -4px rgba(10, 214, 21, 0.2), 
        7em 0 transparent, 
        8em 0 rgba(10, 214, 21, 0), 
        9em 0 transparent, 
        10em 0 rgba(10, 214, 21, 0.2);
    }
    80% {
      box-shadow: 
        1em 0 transparent, 
        2em 0 rgba(10, 214, 21, 0.8), 
        3em 0 transparent, 
        4em 0 rgba(10, 214, 21, 0.6), 
        5em 0 transparent, 
        6em 0 rgba(10, 214, 21, 0.4), 
        7em 0 transparent, 
        8em 0 0 -4px rgba(10, 214, 21, 0.2), 
        9em 0 transparent, 
        10em 0 rgba(10, 214, 21, 0);
    }
  }
    
  .loading_animation_rwd {
    width: 105%;
      height: 100%;
      position: absolute;
      top: 100%;
      right: 0;
      bottom: 0;
      left: 0;
      margin: auto;
  }
  
  .loading_animation_rwd > div, .demo1_loading_list > div {
    width: 120px;
    margin: 0px 0px;
    display: inline-block;
  }

  .demo1_loading_list {
    width: 100%;
    height: 36px;
    position: absolute;
    top: 100px;
    right: 0;
    bottom: 0;
    left: -17px;
    margin: auto;
  }

  .demo_logo {
    width: 146px;
    height: auto;
    position: absolute;
    top: 60%;
    transform: translate(-50%, -81%);
    left: 50%;
  }