@charset "utf-8";
/* CSS Document */
	
/* The webcall (background) */
.webcall {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1050; /* Sit on top */
  padding-top: 0px; /* Location of the box */
  right: 0;
  bottom: 0;
  width: 100%; /* Full width */	
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.6); /* Black w/ opacity */
	
	
}

/* webcall Content */
.webcall-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  border: 1px solid #888;
  width: 35%;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
	transform: translate(80%, 0%);
  -webkit-animation-name: animatebottom;
  -webkit-animation-duration: 0.4s;
  animation-name: animatebottom;
  animation-duration: 0.4s;
	    
}

/* Add Animation */
@keyframes slide-in {
  from {
    translate: 150vw 0;
    scale: 200% 1;
  }

  to {
    translate: 0 0;
    scale: 100% 1;
  }
}

@-webkit-keyframes animatetop {
  from {top:-40%; opacity:0} 
  to {top:0; opacity:1}
}

@keyframes animatetop {
  from {top:-40%; opacity:0}
  to {top:0; opacity:1}
}
@-webkit-keyframes animatebottom {
  from {bottom:-20%; opacity:0} 
  to {bottom:0; opacity:1}
	
}

@keyframes animatebottom {
  from {bottom:-20%; opacity:0}
  to {bottom:0; opacity:1}
}
@keyframes slide-out {
  from {
    transform: translateX(0%);
  }

  to {
    transform: translateX(50%);
  }
}
/* The Close Button */
.webcall-body .close {
  color: black;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.webcall-body .close:hover,
.webcall-body .close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.webcall-header {
  padding: 2px 16px;  
}
.webcall-body {overflow-x: hidden;padding: 0;
    display: block;
    width: 100%;
    float: left;
    background: #fff;}
.webcall .close {
    color: #747475;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 1%;
    right: 1%;
}

.links {
    position: fixed;
    right: 0px;
    top: 47%;
    text-align: center;
    /*background-color: #f8f7f7d4;*/
    /* border: 2px solid rgb(95, 183, 76); */
    transform: translate(0%, -40%);
    border-right: 0;
    border-top-left-radius: 46px;
    border-bottom-left-radius: 10px;
    padding: 1px 1px 5px 1px;
    z-index: 999;
    border-top-right-radius: 46px;
    border-bottom-right-radius: 0px;
}
   
	
	.links  button.links_a{
	   
    text-decoration: none;
    padding: 0;
    font-size: 10px;
    line-height: 1;
    border: 1px solid #c3fab2;
    cursor: pointer;
    /* background: #f8f7f7d4; */
    border-radius: 50%;
}

.links .arrow_t_int {
        width: 0px;
    height: 0px;
    border-width: 10px;
    border-style: solid;
    border-color: transparent transparent #eee transparent;
    position: absolute;
    top: 47px;
    left: 28px;
}
.links .arrow_t_out {
   width: 0px;
    height: 0px;
    border-width: 10px;
    border-style: solid;
    border-color: transparent transparent #fff transparent;
    position: absolute;
    top: 48px;
    left: 28px;
}

	.links  button.links_a:hover,.links  button.links_a:active{
	    
    border: 1px solid #c3fab2;
}

	.links  button.links_a span{	
    font-size: 16px;
		font-weight: 600;
		    display: block;
}
	.links  button.links_a span img{	
       width: 16px;
    /* padding-top: 5px; */
    padding-bottom: 5px;
}
	.links .links_title {
    font-size: 14px;
    color: #5a5a5a;
    font-weight: 600;
    padding: 5px;
    line-height: 1.2;
    border-radius: 8px 0 0 8px;
    margin-top: 0;
    background: none;
    border: 0px solid #eee;
}
.links .links_title span {
   font-size: 16px;
    color: #2d2d2d;
    font-weight: 600;
    display: block;
}

.links  button.links_a p{
     font-size: 9px;
    color: #FFF!important;
    font-weight: 600;
    display: block;
    line-height: 1.2;
    margin: 0!important;
	
    font-family: "Poppins", sans-serif;
}
.links button.links_a img{
	width: 85px;
	height: 85px;
	
}
.links button.links_a img:hover{
	width: 90px;
	height: 90px;
	transition-duration: 0.5s;
transition-duration: 500ms;
	
}





.links button{
	outline: none;
}


.links .linkstextbox {
	background: #73bf61c2;
    height: 28px;
    overflow: hidden;
    position: relative;
    flex: 1;
    text-align: center;
    line-height: 1.8;
    font-size: 16px;
    color: #ffffff;
    font-weight: 500;
    display: block;
    width: 94%;
    margin-top: 8PX;
    margin: -8PX auto;
    border-radius: 6px;
}
.links .linkstext {
  position: absolute;
  height: 100%;
  width: 100%;
}
@keyframes anim1 {
  0% {
    top: 0;
    opacity: 1;
  }
  45% {
    top: 0;
    opacity: 1;
  }
  50% {
    top: -100%;
    opacity: 0;
  }
  51% {
    top: 100%;
    opacity: 0;
  }
  95% {
    top: 100%;
    opacity: 1;
  }
  96% {
    opacity: 1;
  }
  100% {
    top: 0;
    opacity: 1;
  }
}
@keyframes anim2 {
  0% {
    top: 100%;
    opacity: 0;
  }
  45% {
    top: 100%;
    opacity: 0;
  }
  50% {
    top: 0;
    opacity: 1;
  }
  95% {
    top: 0;
    opacity: 1;
  }
  100% {
    top: -100%;
    opacity: 0;
  }
}
.linkstext:nth-child(1) {
  animation: anim1 5s linear infinite;
}
.linkstext:nth-child(2) {
  top: 25px;
  animation: anim2 5s linear infinite;
}

@media only screen and (max-width: 980px) {
  /* webcall Content */
.webcall-content {  width: 100%;}
  
  
}

@media only screen and (max-width: 767px) {
.links {
   display: none;
    right: 60px;
    top: 93%;   
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
  
}
  
}

/* 控制按鈕樣式 (右下角) */
#show-popup-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    z-index: 1001; /* 確保在彈出視窗之上 */
}

/* 彈出視窗基本樣式 (初始隱藏在右下角) */
.popup-container {
       position: fixed;
    bottom: 0px;
    right: 0px;
    max-width: 550PX;
	height: auto;
    transform: translateY(20px) scale(0.9);
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    overflow: hidden;
    z-index: 100000000;
    opacity: 0;
   transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    /*transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out, visibility 0s ease-in-out 0.3s; */  
   max-height: calc(100vh - 0px); /* 設定最大高度為視窗高度減去按鈕高度和一些間距 */
    overflow-y: auto; /* 當內容超過最大高度時顯示垂直滾動條 */
	 visibility: hidden;
}

.popup-container.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    visibility: visible;
    transition-delay: 0s;
}

/* 彈出視窗內容樣式 */
.popup-content {
     padding: 15px 0 0 0;
}

.popup-content h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.2em;
}

.popup-content p {
    margin-bottom: 15px;
    line-height: 1.5;
}

.popup-close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: #555;
    font-size: 1.2em;
    cursor: pointer;
}
