﻿.contact-info-box{
  width: 1000px;
  max-width: 100%;
  display: block;
  margin: 0 auto;
}
.contact-info-title-box{
  width: 100%;
  position: relative;
  background-color: #252532;
  text-align: center;
  display: -webkit-flex;
  display:         flex;
  align-items: center;
  -webkit-align-items: center;
  justify-content: center;
  -webkit-justify-content: center;
  align-content:space-around;
  flex-direction:column;
  margin-top: 70px;
  margin-bottom: 40px;
  padding: 20px 0;
}
.contact-line{
  color: #FFF;
  margin-right: 20px;
  transition: all .5s ease;
}
.contact-line:hover{
  color: #008cd6;
}
.contact-line:last-child{
  margin-right: 0;
}
.contact-info-title{
  font-size: 36px;
  font-weight: bold;
  color: #FFF;
  letter-spacing: 5px;
  margin-bottom: 10px;
}

.contact-info-p{
  font-size: 14px;
  color: #FFF;
  letter-spacing: 2px;
  padding-bottom: 10px;
}
.contact-line-box{
  padding-bottom: 10px;
}
.contact-info-p:last-child{
  padding-bottom: 0;
}

.contact-lable{
  width: 100%;
  display: block;
  letter-spacing: 2px;
  font-size: 14px;
  color: #555;
  margin:15px 0;
}
.contact-red{
  color: #dd0000;
}
.contact-input{
  width: 100%;
  border: 0;
  font-size: 12px;
  letter-spacing: 2px;
  padding-bottom: 10px;
}
.contact-info-form-list{
  border-bottom: 1px solid #aaa;
}

.contact-placeholder::-webkit-input-placeholder { font-family: "Microsoft JhengHei";}
.contact-placeholder:-moz-placeholder { font-family: "Microsoft JhengHei"; }
.contact-placeholder::-moz-placeholder { font-family: "Microsoft JhengHei"; }
.contact-placeholder:-ms-input-placeholder {  font-family: "Microsoft JhengHei"; }

.contact-textarea{
  width: 100%;
  border: 0;
  resize: none;
  box-sizing: border-box;
  height: 150px;
  outline: none;
}

.button button{
  width: 200px;
  height: 46px;
  max-width: 100%;
  display: block;
  margin: 50px auto;
  transition: all .5s ease;
  border: 1px solid  #d1d1d1;
  box-sizing: border-box;
  background-color: transparent;
  font-size: 16px;
  color: #252532;
  font-family: "Microsoft JhengHei";
  letter-spacing: 2px;
  outline: none;
  cursor: pointer;
}
.contact-map{
  width: 100%;
  height: 300px;
  display: block;
}
/*表單送出*/
.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: #252532;
  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;
}
.alert-out{
  z-index: 6;
}
.alert-info{
  color: #FFF;
}
.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(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);
}




@media only screen and (min-width: 1000px){
  .button button:hover{
    background-color: #008cd6;
    color: #FFF;
  }
}


@media only screen and (max-width: 1200px){
    .contact-info-box{
      width: 95%;
    }
}

@media only screen and (max-width: 750px){

    .contact-info-title{
        font-size: 26px;
    }
}
@media only screen and (max-width: 550px){
    .contact-line{
      display: block;
      margin: 0;
      margin-bottom: 10px;
    }
    .contact-line:last-child{
      margin-bottom: 0;
    }
    .contact-info-p a{
      display: inline-block;
    }
}