﻿.contact-box{
  margin-bottom: 100px;
}
.contact-info-box{
  width: 860px;
  max-width: 100%;
  display: block;
  margin: 0 auto;
  font-size: 0;
}
.contact-info-box .about-logo{
  text-align: center;
}
.contact-info-form{
  width: 750px;
  max-width: 100%;
  display: inline-block;
  vertical-align: top;
}

.contact-info-form> li,
.contact-form-box2-left li{
  width: 360px;
  max-width: 100%;
  border: 1px solid #0ba39b;
  box-sizing: border-box;
  display: inline-block;
  margin-bottom: 33px;
}
.contact-info-form> li:nth-child(2),
.contact-info-form> li:nth-child(4),
.contact-file{
  margin-left: 30px;
}
.contact-form-box2{
  width: 100%;
  display: block;
}
.contact-form-box2-left{
  width: 360px;
  max-width: 100%;
  display: inline-block;
  vertical-align: top;
}
.contact-info-form{
  font-size: 0;
}
.contact-file{
  width: 360px;
  max-width: 100%;
  display: inline-block;
  vertical-align: top;
}
.contact-input-text{
  width: 100%;
  border: 0;
  height: 38px;
  line-height: 38px;
  padding-left: 10px;
  box-sizing: border-box;
  letter-spacing: 2px;
}
::-webkit-input-placeholder { font-size: 14px ;color: #555;font-family: "Microsoft JhengHei";}
:-moz-placeholder { font-size: 14px ;color: #555; font-family: "Microsoft JhengHei";}
::-moz-placeholder { font-size: 14px ;color: #555; font-family: "Microsoft JhengHei";}
:-ms-input-placeholder { font-size: 14px ;color: #555; font-family: "Microsoft JhengHei";}

.contact-select{
  position: relative;
  font-size: 14px;
}
.contact-select:after{
  content: 'none';
  font-size: 0;
  width: 0px;
  height: 0px;
  margin: 0 auto;
  border-right: 7px solid transparent;
  border-top: 10px solid #0ba39b;
  border-left: 7px solid transparent;
  display: block;
  position: absolute;
  bottom: 13px;
  right: 12px;
  pointer-events: none;
}
.contact-select:before{
  content: 'none';
  font-size: 0;
  width: 40px;
  height: 38px;
  display: block;
  position: absolute;
  right: 0;
  top: 0;
  border-left: 1px solid #0ba39b;
  pointer-events: none;
}
.contact-select select{
  width: 100%;
  border: 0;
  height: 38px;
  line-height: 38px;
  padding-left: 10px;
  box-sizing: border-box;
  letter-spacing: 2px;
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  font-size: 14px ;
  color: #555; 
  font-family: "Microsoft JhengHei";
  background-color: #FFF;
  cursor: pointer;
  outline: none;
}

.contact-drop{
  width: 100%;
  height: 187px;
  display: block;
  border: 5px dashed #0ba39b;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  padding-top: 20px;
  box-sizing: border-box;
}
.contact-drop-info-box{
  position: relative;
  z-index: 1;
  pointer-events: none;
}
.drop-file{
  width: 100px;
  height: 30px;
  max-width: 100%;
  display: block;
  margin: 0 auto;
  box-sizing: border-box;
  opacity: 0;
  font-size: 0;
  left: calc(50% - 50px);
}
.contact-drop-ifno-box{
  width: 100px;
  height: 30px;
  display: block;
  margin: 0 auto;
  max-width: 100%;
  border: 1px solid #0ba39b;
  line-height: 28px;
  font-size: 15px;
  letter-spacing: 2px;
  text-align: center;
  color: #0ba39b;
  pointer-events: none;
  margin-bottom: 20px;
}
.contact-drop-info-p{
  font-size: 12px;
  color: #555;
  letter-spacing: 2px;
  display: block;
  text-align: center;
  padding-bottom: 10px;
}
.contact-drop-info-p2{
  color: red;
}
.contact-drop-mask{
  width: calc(360px - 2px);
  height: calc(187px - 2px);
  background-color: #FFF;
  display: block;
  position: absolute;
  top: -4px;
  left: -4px;
}
.contact-drop> input{
  position: absolute;
  z-index: 1;
}
.contact-info-pic-box{
  width: calc(100% - 750px);
  text-align: right;
  display: inline-block;
  vertical-align: top;
}
.contact-no-pic .contact-info-pic-box{
  display: none;
}
.contact-info-pic{
  width: 80px;
  height: 80px;
  max-width: 100%;
  display: block;
  margin-bottom: 20px;
  background-color: #555;
  margin-left: 20px;
  
  position: relative;
}
.contact-info-pic span{
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  display: block;
  position: relative;
}
.contact-info-out{
  width: 20px;
  height: 20px;
  line-height: 20px;
  display: block;
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  text-align: center;
  color: #ff0000;
  font-size: 12px;
  background-color: #bfbfbf;
  cursor: pointer;
}
.contact-button{
  width: 160px;
  max-width: 100%;
  display: block;
  margin: 0 auto;
  text-align: center;
  line-height: 40px;
  height: 40px;
  font-size: 16px;
  letter-spacing: 2px;
  border: 0;
  background-color:#0ba39b;
  color: #FFF; 
  font-family: "Microsoft JhengHei";
  margin-top: 40px;
  transition: all .3s linear;
  cursor: pointer;
}
#contact .about-logo{
  padding-bottom: 20px;
}

#contact #contact_form{
  text-align: center;
}
.contact-info-title{
  font-size: 20px;
  font-weight: bold;
  color: #0ba39b;
  letter-spacing: 2px;
  text-align: center;
  padding-bottom: 20px;
}
/*表單送出*/
.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: #0ba39b;
  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,
.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;
}
.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(1){
    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);
}

