﻿
.contact-box{
  width: 700px;
  max-width: 100%;
  display:block;
  margin: 20px auto;
  position: relative;
  padding: 20px 0;

}
.contact-border-top1{
  width: 50px;
  height: 1px;
  background-color: #39add0;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}
.contact-border-top2{
  width: 50px;
  height: 1px;
  background-color: #39add0;
  display: block;
  position: absolute;
  top: 0;
  right: 0;
}
.contact-border-left1{
  width: 1px;
  height: 50px;
  background-color: #39add0;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}
.contact-border-left2{
  width: 1px;
  height: 50px;
  background-color: #39add0;
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
}
.contact-border-right1{
  width: 1px;
  height: 50px;
  background-color: #39add0;
  display: block;
  position: absolute;
  top: 0;
  right: 0;
}
.contact-border-right2{
  width: 1px;
  height: 50px;
  background-color: #39add0;
  display: block;
  position: absolute;
  bottom: 0;
  right: 0;
}
.contact-border-bottom1{
  width: 50px;
  height: 1px;
  background-color: #39add0;
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
}
.contact-border-bottom2{
  width: 50px;
  height: 1px;
  background-color: #39add0;
  display: block;
  position: absolute;
  bottom: 0;
  right: 0;
}
.contact-info-form{
  width: 600px;
  max-width: 100%;
  display: block;
  margin: 0 auto;
}
.contact-info-form li{
  list-style: none;
}
.contact-info-form> li{
  width: 100%;
  display: block;
}
.contact-lable{
  font-size: 16px;
  letter-spacing: 2px;
  padding: 10px 0;
}
.contact-lable span{
  font-size: 12px;
  color: #FFF;
  background-color:#e60012;
  padding: 0 5px;
  border-radius: 5px;
  margin-left: 5px;
}
.en .contact-lable span{
  background-color: transparent;
  color: #e60012;
  font-size: 20px;
}
.contact-info-text input{
  width: 100%;
  height: 36px;
  line-height: 36px;
  border: 1px solid  #39add0;
  box-sizing: border-box;
  margin-bottom: 5px;
}
.contact-radio-box li{
  width: 100%;
  display: block;
  font-size: 0;
  margin-bottom: 10px;
}
.contact-radio-label{
  width: 100%;
  display: block;
  vertical-align: top;
  border: 1px solid #39add0;
}
.contact-radio-title{
  font-size: 16px;
  color: #39add0;
  width: 200px;
  max-width: 100%;
  text-align: center;
  display: inline-block;
  vertical-align: top;
  height: 36px;
  line-height: 36px;
  letter-spacing: 3px;
  border-right: 1px solid #39add0;
  box-sizing: border-box;
}
.contact-radio-border-box{
  width: 36px;
  height: 36px;
  border-right: 1px solid #39add0;
  box-sizing: border-box;
  display: inline-block;
  vertical-align: top;
  position: relative;

}
.contact-checkbox{
  opacity: 0;
  position: absolute;
  
}
.contact-radio-border-box:after{
  content: 'normal';
  width: 16px;
  height: 16px;
  display: block;
  position: absolute;
  border: 1px solid #39add0;
  top: calc(50% - 8px);
  left: calc(50% - 8px);
}
.contact-checkbox:checked ~ .contact-radio-border-box:after{
  background-color:  #39add0;
}
.contact-checkbox-text{
  width: calc(100% - 236px);
  display: inline-block;
  padding-left: 10px;
  box-sizing: border-box;
  height: 36px;
  line-height: 36px;
  border: 0;
}
.contact-radio-title2{
  font-size: 16px;
    
  width: calc(100% - 36px);
  max-width: 100%;
  text-align: center;
  display: inline-block;
  vertical-align: top;
  height: 36px;
  line-height: 36px;
  letter-spacing: 3px;
  color: #39add0;
  box-sizing: border-box;
}
.contact-info-textarea{
  width: 100%;
  height: 150px;
  resize: none;
  border: 1px solid  #39add0;
  box-sizing: border-box;
}
.button{
  width: 200px;
  height: 40px;
  display: block;
  margin: 0 auto;
  margin-top: 30px;
  margin-bottom: 20px;
}

.button input{
  width: 100%;
  display: block;
  color: #FFF;
  background-color:  #39add0;
  border: 0;
  letter-spacing: 3px;
  font-family: "微軟正黑體";
  height: 100%;
  font-size: 16px;
  cursor: pointer;
  transition: all .3s linear;
}

.map-box{
  width: 100%;
  height: 400px;
  display: block;
}



/*表單送出*/
.contact-thanks-box{
  width: 100%;
  height: 100vh;
  display: none;
  position: fixed;
  z-index: 9;
  top: 0;
  left: 0;
}
.contact-thanks-box.active{
  -webkit-align-items: center;
          align-items: center;
    -webkit-justify-content: center;
          justify-content: center;
    display: -webkit-flex;
    display:         flex;
}
.contact-thanks{
  background-color: #39add0;
  position: relative;
  padding: 80px;
  border-radius: 20px;
  z-index: 6;
}
.contact-thanks-p{
  font-size: 26px;
  line-height: 1.6;
  letter-spacing: 2px;
  font-weight: bold;
  color: #FFF;
  display: block;
}
.contact-out{
  width: 20px;
  height: 20px;
  max-width: 100%;
  display: block;
  position: absolute;
  border-radius: 50%;
  border: 1px solid #FFF;
  top: 4%;
  right: 4%;
  cursor: pointer;
}
.contact-out span{
  width: 15px;
  height: 1px;
  background-color: #FFF;
  display: block;
  margin: 0 auto;
  position: relative;
}
.contact-out span:nth-child(1){
  top: 9px;
    left: 0.5px;
    transform: rotate(45deg);
}
.contact-out span:nth-child(2){
    top: 8px;
    left: 0.5px;
    transform: rotate(-45deg);
}
.contact-thanks-mask{
  width: 100%;
  height: 100vh;
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.3);
}
