﻿.contact-info-box{
    display:block;
    position: relative;
    padding-top: 40px;
  }
  .contact-info-all{
    width: 800px;
    max-width: 100%;
    font-size: 0;
    margin: 0 auto;
    z-index: 5;
  }
  .contact-info-title-box{
    width: 100%;
    text-align: left;
    margin: 30px 0;
  }
  .contact-info-title-en{
    font-size: 28px;
    font-family: "comfortaa";
    color: #008ea6;
    display: inline-block;
    vertical-align: bottom;
    line-height: 1;
    letter-spacing: 1px;
  }
  .contact-info-title-ch{
    font-size: 24px;
    font-family: "微軟正黑體";
    display: inline-block;
    letter-spacing: 1px;
    color: #000;
  }
  .contact-info-title-text{
    font-size: 16px;
    font-family: "微軟正黑體";
    color: #555;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
  }
  .contact-info-title-warning{
    font-size: 12px;
    font-family: "微軟正黑體";
    color: #e71f19;
  }
  /*--------contact共用-----------*/
  .contact-form-list{
    width: 47.5%;
    display: inline-block;
    margin-right: 2.5%;
    margin-top: 25px;
  }
  .contact-form-service{
      width: 100%;
  }
  .contact-form-list:nth-child(even){
    margin-left: 2.5%;
    margin-right: 0;
  }
  .contact-form-list-title{
    font-size: 16px;
    font-family: "微軟正黑體";
    color: #555;
    line-height: 40px;
  }
  .contact-form-list-title span{
    font-size: 16px;
    font-family: "微軟正黑體";
    color: #e71f19;
  }
  .contact-form-text{
    width: 100%;
    height: 46px;
    border: none;
    background-color: #ddeaf9;
    font-size: 12px;
    padding: 5px 10px;
    box-sizing: border-box;
    color: #888;
    font-family: "微軟正黑體";
    letter-spacing: 1.5px;
  }

  .contact-form-select{
    width: 100%;
    height: 46px;
    box-sizing: border-box;
    border: none;
    display: block;
    letter-spacing: 2px;
    padding-left: 10px;
    color: #888;
    font-size: 14px;
    position: relative;
    -webkit-appearance: none; /*Chrome*/
    -moz-appearance: none; /*FF*/
    appearance: none;/*CSS3*/
    background-color: #ddeaf9;
    cursor: pointer;
  }
  .contact-form-select option{
      line-height:30px;
      height:30px;
      margin:5px auto;
  }
  .contact-form-select-box{
    position: relative;
  }
  .contact-form-select-box:after{
    content: 'none';
    font-size: 0;
    width: 0px;
    height: 0px;
    margin: 0 auto;
    border-right: 5px solid transparent;
    border-top: 6px solid #888;
    border-left: 5px solid transparent;
    display: block;
    position: absolute;
    right: 15px;
    top: 20px;
    pointer-events: none;
  }
  .contact-form-list-textarea-box{
    width: 100%;
    display: block;
    margin-top: 25px;
  }
  .contact-form-list-textarea{
    width: 100%;
    height: 150px;
    background-color: #ddeaf9;
    resize : none;
    border: none;
    font-size: 12px;
    padding: 10px;
    box-sizing: border-box;
    color: #888;
    font-family: "微軟正黑體";
    letter-spacing: 1.5px;
  }
  .contact-checkbox-lable input:checked + span:before{
    background-image: url(../img/front/checked.png);
    background-repeat: no-repeat;
    background-size: 80%;
    background-position: center;
  }
  .contact-checkbox-lable input:checked + span:before{
    background-image: url(../img/front/checked.png);
    background-size: 70%;
  }
  .button{
    width: 360px;
    max-width: 100%;
    text-align: center;
    margin: 50px auto;
  }
  .button button{
    font-family: "微軟正黑體","Microsoft JhengHei";
    width: 100%;
    height: 60px;
    background-color: #fff;
    border-style: solid;
    border-width: 1px;
    border-color: #004ea2;
    font-size: 18px;
    font-weight: lighter;
    color: #004ea2;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all .2s linear;
    font-weight: bold;

  }
  .contact-info-map-box{
    width: 100%;
    height: 300px;
  }
  /*表單送出*/
.contact-thanks-box{
    width: 100%;
    height: 100vh;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    display: none;
}
.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{
    max-width: 500px;
    min-width: 200px;
    width: 400px;
    padding: 40px 30px;
    box-sizing: border-box;
    background-color: #fff;
    position: relative;
    z-index: 1;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.4);
}
.contact-thanks-p{
    font-size: 16px;
    color: #555;
    transform: scaleY(1.05);
    letter-spacing:  1px;
    line-height: 2;
}
.contact-out{
    width: 21px;
    height: 21px;
    max-width: 100%;
    display: block;
    position: absolute;
    border-radius: 50%;
    top: 5px;
    right: 5px;
    cursor: pointer;
}
.contact-out span{
    width: 15px;
    height: 1px;
    background-color: #888;
    display: block;
    margin: 0 auto;
    position: relative;
}
.contact-out span:nth-child(1){
    top: 10px;
    left: 0px;
    transform: rotate(45deg);
}
.contact-out span:nth-child(2){
    top: 9px;
    left: 0px;
    transform: rotate(-45deg);
}

.confirm-block {
    width: 100%;
    height: 100vh;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    display: -webkit-flex;
    display: flex;
}
.confirm-box {
    min-width: 300px;
    max-width: 100%;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 0 10px #555;
}
.confirm-info-box {
    position: relative;
}
.contact-thanks, .confirm-info {
    position: relative;
    padding: 20px;
    border-radius: 5px;
    z-index: 6;
    color: #000;
}
.confirm-status {
    text-align: center;
    padding-bottom: 20px;
}
.confirm-status-save{
    padding: 5px 15px;
    box-sizing: border-box;
    background-color: #004ea2;
    border: none;
    border-radius: 5px;
    outline: none;
    color: #fff;
    margin-right: 10px;
    cursor: pointer;
}
.confirm-status-no {
    padding: 5px 15px;
    box-sizing: border-box;
    background-color: #004ea2;
    border: none;
    border-radius: 5px;
    outline: none;
    color: #fff;
    cursor: pointer;
}
  .button button:hover{
    background-color: #004ea2;
    color: #fff;
  }
  @media only screen and (max-width: 840px){
    .contact-info-all{
      width: 840px;
      padding: 0 20px;
      box-sizing: border-box;
    }
    .contact-info-title-text{
      font-size: 14px;
    }
  }
  @media only screen and (max-width: 750px){
    .contact-info-title-text{
      font-size: 12px;
      text-align: justify;
      letter-spacing: 0;
    }
    .contact-form-list{
      width: 100%;
      margin: 0;
    }
    .contact-form-list:nth-child(even){
      margin: 0;
    }
    .contact-form-list-textarea-box{
      margin: 0;
    }
    .contact-thanks, .alert-info {
      background-color: #008cc7;
      position: relative;
      padding: 30px;
      border-radius: 5px;
      z-index: 6;

    }
    .contact-thanks-p{
      font-size: 20px;
    }
  }

  /*<--------------------------animation------------------------------>*/

  @keyframes topentershake{
    0%{
      transform: translateY(40px);
    }
    to{
      transform: translateY(0px);
    }
  }
  @keyframes fedenter{
    0%{
      opacity: 0;
    }
    to{
      opacity: 1;
    }
  }
  @keyframes upfedenter{
    0% {
      transform:  translateY(40px);
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }
  @media only screen and (min-width: 1000px){
    .contact-info-title-en{
      animation: topentershake 1s cubic-bezier(0.18, 0.89, 0.32, 1.28)  ;
    }
    .contact-info-title-ch{
      opacity: 0;
      animation: fedenter 1.3s ease  0.6s both;
    }
    .contact-form-list-textarea-box,
    .contact-info-map-box,
    .button{
      /* opacity: 0; */
    }
    .contact-form-list-textarea-box.active,
    .contact-info-map-box.active,
    .button.active{
      animation: upfedenter 1s ease  both;
    }
    .contact-info-form,
    .contact-info-title-warning,
    .contact-info-title-text{
      animation: upfedenter 1s ease;
    }
  }