﻿.contact-box{
  width: 100%;
  display: block;
}
.contact-info-box{
  width: 1200px;
  max-width: 100%;
  display: block;
  margin: 0 auto;
  font-size: 0;
  box-sizing: border-box;
  padding-top: 50px;
}
.contact-info-form,
.contact-info-right
{
  width: 50%;
  display: inline-block;
  vertical-align: top;
}
.contact-info-form-title{
  font-size: 20px;
  color: #2c4e8b;
  letter-spacing: 1px;
  margin-bottom: 20px;
  font-weight: bold;
  font-family: "Acme";
}
.contact-info-form-title> span{
  font-size: 14px;
  color: #555;
}
.contact-info-form-title> span> span{
  color: #ba0404;
}
.contact-list{
  width: 280px;
  max-width: 100%;
  display: inline-block;
  position: relative;
  vertical-align: top;
  margin-bottom: 10px;
}

.contact-list-title{
    font-size: 16px;
    color: #555;
    display: block;
    font-weight: bold;
    letter-spacing: 1px;
}
.contact-list-title span{
  color: #ba0404;
}
.contact-list> input{
  width: 100%;
  height: 30px;
  border: 1px solid #d1d1d1;
  display: block;
  box-sizing: border-box;
  margin-top: 5px;
  padding-left: 10px;
  box-sizing: border-box;
}

.contact-list-icon{
  width: 30px;
  max-width: 100%;
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
  text-align: center;
  color: #d1d1d1;
  font-size: 14px;
  height: 30px;
  line-height: 30px;
  border-left: 1px solid #d1d1d1;
  font-family: "微軟正黑體";
}

.contact-list:nth-child(even){
  margin-left: 20px;
}
.contact-list2 .contact-list-title{
  margin-bottom: 10px;
}
.contact-list-label{
  display: inline-block;
  vertical-align: top;
  margin-bottom: 10px;
  position: relative;
  margin-right: 20px;
}

.contact-list-label> input{
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  opacity: 0;
}

.contact-list-label> span{
  padding-left: 30px;
  position: relative;
  display: block;
  font-size: 16px;
}
.contact-list-label> span:after{
  content: 'none';
  font-size: 0;
  width: 20px;
  height: 20px;
  display: block;
  border: 1px solid #d1d1d1;
  position: absolute;
  top: 0;
  left: 0;
  background-repeat: no-repeat;
  background-size: 80%;
  background-position: center;
}
.contact-list-label input:checked + span:after{
 background-image: url(../img/checked.png);
}
.contact-textarea {
  position: relative;
}
.contact-textarea textarea{
  width: 100%;
  height: 150px;
  border: 0;
  border: 1px solid #d1d1d1;
  margin-top: 5px;
  outline: none;
  resize: none;
  box-sizing: border-box;
  padding-right: 31px;
  margin-bottom: 10px;
}
.contact-textarea-icon{
      font-size: 16px;
    width: 30px;
    max-width: 100%;
    display: block;
    position: absolute;
    right: 0;
    top: 31px;
    text-align: center;
    color: #d1d1d1;
    font-size: 14px;
    height: 30px;
    line-height: 38px;
    box-sizing: border-box;
    border-left: 1px solid #d1d1d1;
    border-bottom: 1px solid #d1d1d1;
}
.file-up{
  position: relative;
  z-index: 1;
  margin-top: 5px;
}
.file-up> input{
  width: 100%;
  height: 30px;
  display: block;
  opacity: 0;
  cursor: pointer;
}
.file-up> span{
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  font-size: 16px;
  color: #2c4e8b;
  text-align: center;
  pointer-events: none;
  line-height: 35px;
  background-color: #FFF;
}
.file-border{
    width: calc(100% + 4px);
    height: 34px;
    position: absolute;
    bottom: -2px;
    left: -2px;
    border: 2px dashed #2c4e8b;
    box-sizing: border-box;
}
.contact-checkbox{
  width: 100%;
  font-size: 0;
  margin-top: 5px;
}
.contact-checkbox input{
  width: calc(100% - 100px);
  display: inline-block;
  vertical-align: top;      
  font-size: 16px;
  box-sizing: border-box;
  height: 34px;
  border: 1px solid #d1d1d1;
  padding-left: 5px;
  box-sizing: border-box;
}
.contact-checkbox-password{
  width: 100px;
  height: 34px;
  line-height: 34px;
  text-align: center;
  display: inline-block;
  vertical-align: top;
  font-size: 16px;
  border: 1px solid #d1d1d1;
  border-left: 0;
  box-sizing: border-box;
}

.button button{
  display: block;
  float: right;
  width: 160px;
  height: 40px;
  max-width: 100%;
  line-height: 40px;
  font-size: 18px;
  background-color: #2c4e8b;
  color: #FFF;
  border: 0;
  font-family: "Acme";
  letter-spacing: 2px;
  
  margin-bottom: 20px;
}
.button:after{
  content: 'no';
  font-size: 0;
  display: block;
  clear: both;
 
}


.contact-info-right{
  padding-left: 30px;
  padding-right: 15px;
  box-sizing: border-box;
}
.contact-info-form{
  padding-left: 20px;
  box-sizing: border-box;
}
.contact-info-list{
  width: 100%;
  display: block;
  margin-bottom: 71px;
}
.contact-info-list:last-child{
  margin-bottom: 0;
}
.contact-info-title{
  font-size: 20px;
  letter-spacing: 2px;
  color: #2c4e8b;
  font-weight: bold;
  font-family: "Acme";
}
.cotact-info-article{
  font-size: 16px;
  color: #777;
  letter-spacing: 1px;
  text-align: justify;
}
.contact-info-office{
  font-size: 18px;
  color: #000;
  line-height: 1.6;
  letter-spacing: 1px;
}
.contact-info-office a{
  color: #777; 
}
.contact-info-office li{
  margin-bottom: 5px;
  color:#777;
}
.map-box{
  width: 100%;
  height: 300px;
  display: block;
  margin-top: 20px;
}
.contact-change-verification{
  font-size: 16px;
  margin-top: 10px;

}
#myCanvas{
  cursor: pointer;
}
.file-up-block{
  width: 100%;
  position: relative;
}
.contact-info-pic{
  font-size: 12px;
  position: relative;
  display: block;
  margin-top: 10px;
}
.contact-info-pic span{
  position: relative;
  padding-right: 10px;

}
.contact-info-out{
  position: absolute;
  font-size: 11px;
  color: red;
  top: -6px;
  right: 0;
  cursor: pointer;
}

.contact-info-office li> span{
  width: 50px;
  max-width: 100%;
  display: inline-block;
  vertical-align: middle;
  color: #000;
}
/*表單送出*/
.contact-thanks-box,
.alert-box{
  width: 100%;
  height: 100vh;
  display: none;
  position: fixed;
  z-index: 9;
  top: 0;
  left: 0;
}
.contact-thanks-box.active,
.alert-box.active{
  -webkit-align-items: center;
          align-items: center;
    -webkit-justify-content: center;
          justify-content: center;
    display: -webkit-flex;
    display:         flex;
}
.contact-thanks,
.alert-info{
  background-color: #2c4e8b;
  position: relative;
  padding: 80px;
  border-radius: 20px;
  z-index: 6;
}
.alert-info-box{
  position: relative;
}
.contact-thanks-p{
  font-size: 26px;
  line-height: 1.6;
  letter-spacing: 2px;
  font-weight: bold;
  color: #FFF;
  display: block;
}
.contact-out,
.alert-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,
.alert-out span{
  width: 15px;
  height: 1px;
  background-color: #FFF;
  display: block;
  margin: 0 auto;
  position: relative;
}
.alert-out{
  z-index: 6;
}
.contact-out span:nth-child(1),
.alert-out span:nth-child(1){
  top: 9px;
    left: 0.5px;
    transform: rotate(45deg);
}
.contact-out span:nth-child(2),
.alert-out span:nth-child(2){
    top: 8px;
    left: 0.5px;
    transform: rotate(-45deg);
}
.contact-thanks-mask,
.alert-mask{
  width: 100%;
  height: 100vh;
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.3);
}

