/*--------------------------------------------------------------
# Common css 
--------------------------------------------------------------*/
html, body {
	height: 100%;
}

#main {
	min-height: calc(100% - 10%);
	background: linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.3)), url('../img/bg.png');
	background-color: #FAF5F4;
	background-size: cover;
	background-position: left top, right bottom, center center;
	/*減去footer高度*/
}
section {
	overflow: hidden;
	padding: 130px 0 0 0;
}
/* 手機以下 (max-width: 767px) 的樣式 */
@media (max-width: 767.98px) {
  section {
    padding: 110px 0 0 0;
  }
}
.text-scarlet{
	color:#ce1212;
}
.text-hollygreen{
	color:#0da07b;
}
.text-trueblue{
	color:#2D68C4;
}
.text-deepgray{
	color:#606266;
}
.bg-hollygreen{
	background: #0da07b;
}

.bg-gray{
	background: #f6f6f6;
}

.page-current{
	border-color: #6c757d !important; 
	background-color: #6c757d !important;
}

.card{
	background-color: #ffffffe0;
}
.card-shadow{
	border-radius: 30px;
	border: 1px solid rgb(219, 219, 219);
	box-shadow:5px 5px 4px rgb(0 0 0 / 10%);
}
.input-size {
	border-radius: 12px;
	padding:8px 16px;
}
/* dropdown box,dropdown :hover */
.bootstrap-select>.dropdown-toggle,
.bootstrap-select>.dropdown-toggle:hover {
	color: #212529;
	background-color: white;
	border: 1px solid #ced4da !important;
	outline: 0px !important;
	height: 100%;
	box-shadow: none;
	border-radius: 12px !important;
	padding:8px 16px !important;
}
/* dropdown :focus, .dropdown-toggle.show*/
.bootstrap-select>.dropdown-toggle:focus,
.bootstrap-select >.dropdown-toggle.show  {
    color: #212529;
    background-color: #fff;
    border-color: #86b7fe !important;
    outline: 0px !important;
    box-shadow: 0 0 0 .25rem rgba(13,110,253,.25) !important;
    height: 100%;
	border-radius: 12px !important;
	padding:8px 16px !important;
}
#agree {
	display: inline-block;
 	width:20px; 
 	height:20px;
}

.my-5{
	margin-top:2rem!important;
	margin-bottom:2rem!important;
}

.py-5{
	padding-top:2rem!important;
	padding-bottom:2rem!important;
}

.form-check-input.is-invalid~.form-check-label, .was-validated .form-check-input:invalid~.form-check-label{
	color:black ;
}
.form-check-input.is-invalid, .was-validated .form-check-input:invalid {
    border-color:  rgba(0, 0, 0, .25) ;
}
.form-check-input.is-invalid:checked, .was-validated .form-check-input:invalid:checked {
	border-color: #0d6efd ;
    background-color: #0d6efd;
}
.form-check-input.is-invalid:focus, .was-validated .form-check-invalid:valid:focus {
    box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);
}


.form-control.is-invalid, .was-validated .form-control:invalid {
    background-image: none;
    
}

.bootstrap-select.is-invalid .dropdown-toggle {
	border-color: #dc3545 !important ;
	
}
.bootstrap-select.is-invalid>.dropdown-toggle:focus, .bootstrap-select.is-invalid >.dropdown-toggle.show  {
    border-color: #dc3545 !important ;
    box-shadow: 0 0 0 .25rem rgba(220, 53, 69, .25) !important ;
}

.error-message{
	color:#dc3545;
}

#captcha{
  height: 41.65px;    /* 高度設為父容器的 100% */
  object-fit: cover; /* 保持圖片長寬比並填滿容器 */
  margin-right:1rem;
}

/*--------------------------------------------------------------
# buttons
--------------------------------------------------------------*/
.btn-goback {
	padding: 14px 60px;
	border-radius: 10px;
	background-color: #08a4a7;
	color: white;
	font-weight: 600;
}

.btn-goback:hover {
	background-color: rgb(6, 131, 134);
	color: white;
}

.btn-submit, .btn-refill{
	padding: 14px 60px;
	border-radius: 10px;
	/*background: linear-gradient(45deg, #ff8800e0, #ff4b23af, #ff004c8c, #ff2323cc) !important;*/
	background: linear-gradient(45deg, #FF6565, #FF7AAF, #FF9491, #FF8159) !important;
	color:white;
	font-weight: 600;
}

.btn-submit:hover, .btn-refill:hover{
	color:white;
	background: linear-gradient(0deg, #B82B22 100%, #B82B22 100%)!important;
}	

.btn-clear{
	padding: 14px 60px;
	border-radius: 10px;
	background: #FF5D2B;	
	color:white;
	font-weight: 600;
}

.btn-clear:hover{
	color:white;
	background: linear-gradient(0deg, #B82B22 100%, #B82B22 100%)!important;
}

.btn-regenerate{
	border-radius: 10px;
	background-color: rgb(0, 128, 192);
	color: white;
	font-weight: 600;
	height:41.65px;
}

.btn-regenerate:hover{
	background-color: rgb(0, 156, 232);
	color: white;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.header {
	background: #fff;
	transition: all 0.5s;
	z-index: 997;
	height: 90px;
	border-bottom: 1px solid #f0f0f0;
}


.header a{
	text-decoration: none;
}

#header-logoImg {
	max-height:35px;
	margin-right: 6px;
}

#header-logoName {
	font-size: 28px;
	font-weight: 700;
	color: #000;
	margin: 0;
}

#header-title{
	margin-left:46px;
	margin-bottom:0px;
    font-size: 1.25rem;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
	font-size: 14px;
	min-height:10%;
	background-color: #1f1f24;
	padding: 50px 0;
	color: rgba(255, 255, 255, 1);
}

.footer .icon {
	margin-right: 15px;
	font-size: 24px;
	line-height: 0;
}

.footer h4 {
	font-size: 16px;
	font-weight: bold;
	position: relative;
	padding-bottom: 5px;
	color: #fff;
}
.footer-text{
	color: rgba(255, 255, 255, 0.8);
}


@media(max-width:767.98px){

	.footer-content{
		width:80%;
		margin-left:10%;
	}
}
/*--------------------------------------------------------------
# Scroll Top Button  回到頂部按鈕
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: #08a4a7;
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: aliceblue;
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, aliceblue, transparent 20%);
}
.scroll-top:hover  i {
  color: #08a4a7;
}
.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}


