/* component */
a, a:hover, a:focus, a:active, a.active {
    outline: 0;
}
a, a:hover, a:focus, a:active, a.active {
    text-decoration: none;
}
p, h2, h4, ol {
    margin-bottom: 0;
}
@media (max-width: 768px) {
    ol{
        padding-left: 20px;
    }
}

h1, h2, h3, h4, h5, h6 {
    text-transform: none;
    font-family: Noto Sans TC, Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 700;
}
.fontSize-18{
	font-size: 18px;
}
.fontSize-20{
	font-size: 20px;
}
@media (max-width: 575px) {
    .fontSize-20{
        font-size: 18px;
    }
}

.fontSize-22{
    font-size: 22px;
}
@media (max-width: 768px) {
    .fontSize-22{
        font-size: 20px;
    }
}
@media (max-width: 575px) {
    .fontSize-22{
        font-size: 18px;
    }
}

.fontSize-24{
    font-size: 24px;
}
@media (max-width: 768px) {
    .fontSize-24{
        font-size: 20px;
    }
}
@media (max-width: 575px) {
    .fontSize-24{
        font-size: 18px;
    }
}

.fontSize-30{
	font-size: 30px;
}
@media (max-width: 768px) {
    .fontSize-30{
        font-size: 28px;
    }
}
@media (max-width: 575px) {
    .fontSize-30{
        font-size: 24px;
    }
}
@media (max-width: 480px) {
    .fontSize-30{
        font-size: 22px;
    }
}

.fontSize-48{
    font-size: 48px;
}
@media (max-width: 1200px) {
    .fontSize-48{
        font-size: 40px;
    }
}
@media (max-width: 768px) {
    .fontSize-48{
        font-size: 32px;
    }
}  
@media (max-width: 575px) {
    .fontSize-48{
        font-size: 30px;
    }
}
@media (max-width: 480px) {
    .fontSize-48{
        font-size: 25px;
    }
}

.text-line-green{
    color: #3EA43B;
}
.text-peacock-blue{
    color: #2567A6;
}

.text-dark-gray{
    color: #222;
}

.text-khaki{
    color: #a86917;
}

.text-coffee{
    color: #a56615;
}
.text-coffee:hover{
    color: #815010;
}
.border-peacock-blue{
    border: 1px solid #2567A6;
}

.text-crimson{
    color: #E83663;
}
.text-light-crimson{
    color: #FF6A6E;
}
.text-tangerine{
    color: #F05A37;
}
.bg-pink{
    background: #FFE2EA;
}
.bg-tangerine{
    background: #d94631;
}
.bg-emerald{
    background: #3EA43B;
}
.bg-cream{
    background: #fffbe9;
}
.bg-navy-blue2{
    background-color: #19567F;
}
.bg-peacock-blue{
    background-color: #2567A6;
}
.bg-light-grey{
    background-color: #eee;
}

.mb-6, .my-6 {
    margin-bottom: 4.5rem!important;
}
.pb-6, .py-6 {
    padding-bottom: 4.5rem!important;
}
.rounded-20{
    border-radius: 20px;
}
.text-underline{
    text-decoration: underline;
}

.modal-open {
	padding-right: 0 !important;
}

.absolute-center{
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 99;
}
.list-style-disc{
    list-style-type: disc;
}
button:focus{
    outline: 0 !important;
}

.wrapper {
    max-width: 1360px;
    position: relative;
    margin-left: auto;
    margin-right: auto;
}

.w-18{
    width: 18%;
}
@media (max-width: 768px) {
    .w-18, .w-50{
        width: 100% !important;
    }
}

/* back-to-top */
.back-to-top {
    z-index: 999 !important;
    cursor: pointer;
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    padding: 10px;
    line-height: 0;
    background: #5ec8bc;
}
.back-to-top:hover {
    color: #FFF;

}

/* button */
.btn-style{
    border-radius: 50px;
    font-size: 24px;
    font-weight: bolder;
    padding: 8px 40px;
}
@media (max-width: 575px) {
    .btn-style {
        margin: 0 0 15px;
        font-size: 20px;
        width: 100%;
    }
}

.btn-color2-1{
    border: 2px solid #E83663;
    color: #E83663;
}
.btn-color2-1:hover{
    border: 2px solid #E83663;
    color: #E83663;
    background: #ffebf1;
}
.btn-color2-2{
    border: 2px solid #E83663;
    color: #FFF;
    background: #E83663;
}
.btn-color2-2:hover{
    border: 2px solid #E83663;
    color: #FFF;
    background: #c02249;
}

.btn-color3-1{
    border: 2px solid #F05A37;
    color: #F05A37;
}
.btn-color3-1:hover{
    border: 2px solid #F05A37;
    color: #F05A37;
    background: #ffeae5;
}
.btn-color3-2{
    border: 2px solid #F05A37;
    color: #FFF;
    background: #F05A37;
}
.btn-color3-2:hover{
    border: 2px solid #F05A37;
    color: #FFF;
    background: #d73c19;
}

.btn-color4-1{
    border: 2px solid #FF6A6E;
    color: #FF6A6E;
}
.btn-color4-1:hover{
    border: 2px solid #FF6A6E;
    color: #FF6A6E;
    background: #ffe0e1;
}
.btn-color4-2{
    border: 2px solid #FF6A6E;
    color: #FFF;
    background: #FF6A6E;
}
.btn-color4-2:hover{
    border: 2px solid #FF6A6E;
    color: #FFF;
    background: #ee353b;
}

.btn-color5-2{
    border: 2px solid #5ec8bc;
    color: #FFF;
    background: #5ec8bc;
}
.btn-color5-2:hover{
    border: 2px solid #5ec8bc;
    color: #FFF;
    background: #31aea0;
}


.btnBox {
    text-align: center;
    margin: 20px 0 10px 0;
}

/* header */
.header-style .navbar{
	padding: 0;
}
.header-style .navbar-light .navbar-nav .nav-link{
	color:#333 !important;
}
.header-style .navbar-light .navbar-toggler{
	background-color: #FFF  !important;
}
.header-style .navbar .navbar-collapse{
	justify-content: flex-end !important;
}


.header-style {
  position: relative;
  width: 100%;
  padding: 8px 18px;
}
@media (max-width: 575px) {
    .header-style {
        padding: 6px;
      }
}

.header-style nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.header-style nav ul li {
    display: inline-block;
}
.header-style nav ul li a {
    font-size: 22px;
    font-weight: bold;
    letter-spacing: 0;
    color: #222;
    padding: 10px;
    cursor: pointer;
	vertical-align: middle;
}
@media (max-width: 575px) {
    .header-style nav ul li a {
        font-size: 18px;
    }
}
@media (max-width: 480px) {
    .header-style nav ul li a {
        font-size: 13px;
        padding: 5px;
    }
}

.header-style nav ul li a:hover {
    text-decoration: underline ;
    color: #333;
}
@media (max-width: 575px) {
    .header-style div a img{
        max-width: 150px;
        vertical-align: text-top;
    }
}
@media (max-width: 480px) {
    .header-style div a img{
        max-width: 100px;
    }
}

/* footer */
footer {
    position: relative;
    width: 100%;
    padding: 20px 0;
    background: #E83663;
    color: #fff;
}
footer .reserved {
    padding-top: 5px;
    letter-spacing: 1px;
}
footer .h4-copyright {
    font-size: 1rem;
    font-weight: lighter;
    letter-spacing: 0px;
    display: inline-block;
    margin: 0 10px 0 0;
}
.float-copyright{
	float: right;
}
@media (max-width: 768px) {
    .float-copyright{
		float: left;
	}
}
footer address {
    display: inline-block;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .box-copyright{
        margin-top: 20px;
    }
}

/* input */
.label-ml {
    margin-left: 30px;
    text-align: left;
}
.fieldset-style table{
    font-size: 22px;
    font-weight: bold;
}
@media (max-width: 575px) {
    .fieldset-style table{
        font-size: 20px;
    }
}

.fieldset-style label{
    font-size: 20px;
    font-weight: bold;
    color: #212529;
    line-height: 22px;
    margin-right: 20px;
}
@media (max-width: 575px) {
    .fieldset-style label{
        font-size: 18px;
        margin-bottom: 0.8rem;
    }
}

.fieldset-style input{
    margin-right: 8px;
}
.labelStyle {
    width: 1rem;
    height: 1rem;
}
.form-label {
  position: relative;
  padding-left: 30px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.form-label input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
.checkMark {
  position: absolute;
  top: 0;
  left: 0;
  height: 22px;
  width: 22px;
  background-color: #eee;
  border: 1px solid #2567A6;
  border-radius: 50%;
}
.form-label input:checked ~ .checkMark {
  background-color: #2567A6;
}
.checkMark:after {
  content: "";
  position: absolute;
  display: none;
}
.form-label input:checked ~ .checkMark:after {
  display: block;
}
.form-label .checkMark:after{
  top: 50%;  
  left: 50%;
  width: 8px;
  height: 8px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: white;
}
form label.error2 {
    color: #dc3545 !important;
}
form label.error {
    color: #dc3545 !important;
}
@media (max-width: 575px) {
    form label.error {
        display: block;
    }
}

.form-label input:checked ~ .checkError, .checkError{
    border: 1px solid #dc3545;
    background-color: #dc3545;
}

.form-label input:checked ~ .checkCorrectly, .checkCorrectly{
	border: 1px solid #2567A6;
	background-color: #2567A6;
}
.form-label input:not(:checked) ~ .checkError:after, .form-label input:not(:checked) ~ .checkCorrectly:after  {
    display: inherit !important;
}

/* 隱藏 */
.hideNone{
    display: none;
}

/* Loading */
.Loading-bg {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.5);
}
.Loading-bg .Loading{
    z-index: 99;
    margin: 40px 0 80px 0;
    padding: 140px 0 240px 0;
}
.Loading-bg .loader {
    height: 20px;
    width: 250px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}
.Loading-bg .loader-dot {
    animation-name: loader;
    animation-timing-function: ease-in-out;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    height: 20px;
    width: 20px;
    border-radius: 100%;
    background-color: black;
    position: absolute;
    border: 2px solid white;
}
.Loading-bg .loader-dot:first-child {
    background-color: #5ec8bc;
    animation-delay: 0.5s;
}
.Loading-bg .loader-dot:nth-child(2) {
    background-color: #5ec8bc;
    animation-delay: 0.4s;
}
.Loading-bg .loader-dot:nth-child(3) {
    background-color: #5ec8bc;
    animation-delay: 0.3s;
}
.Loading-bg .loader-dot:nth-child(4) {
    background-color: #5ec8bc;
    animation-delay: 0.2s;
}
.Loading-bg .loader-dot:nth-child(5) {
    background-color: #2dc6b5;
    animation-delay: 0.1s;
}
.Loading-bg .loader-dot:nth-child(6) {
    background-color: #2dc6b5;
    animation-delay: 0s;
}
.Loading-bg .loader-text {
    position: absolute;
    top: 200%;
    left: 0;
    right: 0;
    width: 4rem;
    margin: auto;
}
.Loading-bg .loader-text:after {
    content: "載入中";
    font-weight: bold;
    color: #FFF;
    animation-name: loading-text;
    animation-duration: 3s;
    animation-iteration-count: infinite;
}
@keyframes loader {
15% {transform: translateX(0);}
45% {transform: translateX(230px);}
65% {transform: translateX(230px);}
95% {transform: translateX(0);}
}
@keyframes loading-text {
0% {content: "載入中";}
25% {content: "載入中.";}
50% {content: "載入中..";}
75% {content: "載入中...";}
}

/* 水平置中 */
.table-fixed {
    display: table;
    table-layout: fixed;
    margin: 0 auto;
}
.table-cell-middle{
    display: table-cell;
    vertical-align: middle;
    float: none;
}
@media (max-width: 768px) {
    .table-fixed {
        display: block;
        text-align: center;
    }
    .table-fixed:last-child {
        margin: 20px 20px 0 20px;
    }
    .table-cell-middle{
        display: inline-block;
    }
}


/* main */
section{
    position: relative;
}
.S1-title {
    text-align: center;
    font-weight: 700;
}
.S1-content{
    font-weight: 700;
    font-size: 27px;
}
@media (max-width: 1280px) {
    .S1-content{
        font-size: 24px;
        text-align: center;
    }
    .mb-10{
        margin-bottom: 10px;
    }
}
@media (max-width: 768px) {
    .S1-content{
        font-size: 20px;
    }
}

.align-justify{
    text-align: justify;
}
.h2-title{
    text-align: center;
    position: relative;
    z-index: 99;
}
.sectionBox{
    text-align: center;
    background: #FFF;
    border-radius: 40px;
    margin: -40px 0 0 0;
    padding: 50px 60px 30px 60px;
    font-weight: 700;
    position: relative;  
}
@media (max-width: 768px) {
    .sectionBox{
        padding: 50px 20px 30px 20px;

    }
}

.sectionBox p{
    font-weight: 700;
}

.record{
    text-align: end;
    padding-bottom: 20px;
}
.record button{
    font-size: 30px 
}
@media (max-width: 768px){
    .record{
        text-align: center;
    }
    .record button{
        font-size: 28px 
    }
}
@media (max-width: 575px){
    .record button{
        font-size: 22px;
    }
}

.form-control {
    font-size: 1.2rem;
}

.border-crimson-5{border: 5px solid #E83663;}
.border-tangerine-5{border: 5px solid #F05A37;}
.border-light-crimson-5{border: 5px solid #FF6A6E;}

.border-crimson-3:focus{
    border-color: #E83663;
    box-shadow: 0 0 0 0.2rem rgba(255, 0, 102, 0.25);
}
.border-crimson-3{border: 3px solid #E83663;}
.border-crimson-3:focus{
    border-color: #E83663;
    box-shadow: 0 0 0 0.2rem rgba(255, 0, 102, 0.25);
}

.border-tangerine-3{border: 3px solid #F05A37;}
.border-tangerine-3:focus{
    border-color: #F05A37;
    box-shadow: 0 0 0 0.2rem rgba(255, 89, 0, 0.25);
}

.border-light-crimson-3{border: 3px solid #FF6A6E;}
.border-light-crimson-3:focus{
    border-color: #FF6A6E;
    box-shadow: 0 0 0 0.2rem rgba(255, 0, 34, 0.25);
}

.bg-img-1 {top: 140px; left: 0;}
.bg-img-3-1 {top: 200px; left: 0;}
.bg-img-3-2 {top: 240px; right:0; transform: rotateY(180deg) rotateX(180deg);}
.bg-img-4 {top: 130px; left: -143px;}
.bg-img-6-1 {top: 420px; left: 0px;}
.bg-img-5 {top: 480px; right:0;}
.bg-img-6-2 {top: 800px; right:0; transform: rotateY(180deg)}
.bg-img-2{bottom: 260px; left: 0;}
.bg-img-7 {bottom: 0px; right:0;}

@media (max-width: 1280px) {
    .bg-img-1, .bg-img-3-1, .bg-img-3-2, .bg-img-4, .bg-img-6-1, .bg-img-5, .bg-img-6-2, .bg-img-2, .bg-img-7, .img2-2, .img3-2, .img4-2 {
        display: none;
}
}

.modal-body{
    font-size: 30px;
    font-weight: 700;
    color: #E83663;
}
.form-dialog{
    background: #eee;
    border: 1px solid #EEE;
}
.line-height-dialog{
	display: inherit;
	line-height: 28px;
}