/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v7.0.29,
* Autoprefixer: v9.7.6
* Browsers: last 4 version
*/

.contact-header-img{
  aspect-ratio: 330 / 280;
  width: 100%;
  height: 100%;
  /* object-fit: cover;
  object-position: 50% 25%; */
  background-attachment: fixed;
  background-position: 55% 20%;
  background-repeat: no-repeat;
  background-size: auto 60%;
  background-image: url("../img/Contact Page/88b7c9b5ba3f12c147c0cf728b83e04f.jpg");
  transition: all .5s;
  transform: none!important;
}

.membership .content{
    width: 100%;
    margin: auto;
}

.membership .content p{
    width: 90%;
    margin: auto;
    margin-bottom:50px;
    text-align: center;
}

.membership .banner{
    width: 90%;
    margin: auto;
    aspect-ratio: 349/604;
    height: 100%;
    margin-bottom: 30px;
    cursor: pointer;
}

.membership .banner .imgDiv{
    width: 100%;
    height: 100%;
}

.membership .banner .imgDiv img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.membership .banner .imgContent{
    position: absolute;
    top:0;
    bottom:0;
    left: 0;
    right:0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    transition: all .5s;

}

.membership .banner .imgContent >div{
    /* padding: 0 30px; */
    width: 85%;

}

.membership .banner .imgContent .title{
  margin-top: calc(100vw* 604 / 346 / 40);
}

.membership .banner .imgContent .desc p{
    width: 100%;
    font-size: .9em;
    line-height: 1.6;
    margin-right: 0;
    /* margin-top: 25px; */
    transition: all .5s;
}

.membership .banner .imgContent h1{
    color:#fff;
    text-align: left;
    letter-spacing: 8px;
    font-size: 2.4em;
    font-weight: 100;
    transition: all .5s;
}

.membership .banner .imgContent p{
    color:#fdfdfd;
    text-align: left;
    
}

.membership .banner .imgHint{
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    
    /* bottom:30px; */
    bottom: calc(100vw* 604 / 346 / 40);
    
}
.membership .banner .imgHint p{
    color:#fdfdfd;
    margin-bottom: 0;
    letter-spacing: 4px;
    font-size: .8em;
    font-weight: 100;
}

.form-flex-box{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-flow: column nowrap;
            flex-flow: column nowrap;

    width: 100%;
    margin: auto;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
}

.form-flex-box .form-con{
    /* background: lightblue; */
    width:90%;
    padding: 5px;
    margin: 30px auto;
    margin-top:0px;
}


.form-flex-box .form-con .text-input{
    height: 40px;
    width: 100%;
    padding: 4px 15px;
    margin: auto;
    margin-bottom: 15px;

    font-size: 12px;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;

    border: 1px solid #B8B8B8;
    border-radius: 5px;
    color: #434343;
}

.form-flex-box .form-con .select-outter{
    border: 1px solid #B8B8B8;
    border-radius: 5px;
    width: 100%;
    height: 40px;
    margin-bottom: 15px;
}

.form-flex-box .form-con select.text-input{
    border: none;
    border-right: 16px solid transparent;
}

.form-flex-box .form-con textarea.text-input{
    height: 200px;
    resize: none;

}

.form-flex-box .form-con .input-prefix {
  position: absolute;
  padding: 12.5px 15px;
  color: #2B2B2B;
  font-size: 12px;
}

:lang(zh) .form-flex-box .form-con .input-prefix {
  padding: 12px 15px;
}

.form-flex-box .form-con #form-phone {
  padding-left: 65px;
}

.form-flex-box .form-con .text-input::-webkit-input-placeholder, .form-flex-box .form-con textarea::-webkit-input-placeholder
{
    opacity: .67;
    font-size: 12px;
    color: #828282;
}

.form-flex-box .form-con .text-input::-moz-placeholder, .form-flex-box .form-con textarea::-moz-placeholder
{
    opacity: .67;
    font-size: 12px;
    color: #828282;
}

.form-flex-box .form-con .text-input:-ms-input-placeholder, .form-flex-box .form-con textarea:-ms-input-placeholder
{
    opacity: .67;
    font-size: 12px;
    color: #828282;
}

.form-flex-box .form-con .text-input::-ms-input-placeholder, .form-flex-box .form-con textarea::-ms-input-placeholder
{
    opacity: .67;
    font-size: 12px;
    color: #828282;
}

.form-flex-box .form-con .text-input::placeholder,
.form-flex-box .form-con textarea::placeholder
{
    opacity: .67;
    font-size: 12px;
    color: #828282;
}

/* = = checkbox = = */
.checkbox-con{
    display: block;
    position: relative;
    cursor: pointer;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
    margin: auto auto 10px 10px;

    text-align: left;
    padding-left: 30px;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    line-height: 1.5;
}

.checkbox-con input{
    display: none;
}

.checkbox-con .checkmark{
    position: absolute;
    top: 5px;
    left: 0;
    height: 20px;
    width: 20px;
    border-radius: 2.5px;
    background-color: white;
    -webkit-box-shadow: 0 1px 2px rgba( 0, 0, 0, .5 );
            box-shadow: 0 1px 2px rgba( 0, 0, 0, .5 );
}

.checkbox-con:hover .checkmark{
    background-color: #eee;
}

.checkbox-con .checkmark:after{
    content: "";
    position: absolute;
    display: none;

    left: 6px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid #002849;
    border-width: 0 2px 2px 0;

    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.checkbox-con input:checked + .checkmark:after{
    display: block;
}


#errorMsg{
    color: red;
}

.enquiry .title-con{
    width: 90%!important;
    margin: auto;
    
}

.enquiry .title-con h1{
    text-align: left;
}

.enquiry .desc-p{
    text-align: left;
    margin: 20px 0;
    width: 100%;
}

.form-con button {
    /* max-width: 175px; */
    max-width: 100%;
    width: 100%;
}

.form-con button.disable{
    opacity: .6;
    pointer-events: none;
}

.form-con button.pending{
    opacity: .6;
    pointer-events: none;
}

.form-con .contact-group{
    display: flex;
    align-items: center;
    flex-direction: column;
}

.form-con .contact-group .left{
    flex:auto;
}

.form-con .contact-group .seperator{
    margin:0 7px;
    margin-bottom: 15px;
    flex:1;
    color:#828282;
}

.form-con .contact-group .right{
    flex:1;
    width: 100%;
}

.form-flex-box .info-con{
    width: 100%;
    text-align: left;
    
    /* background: pink; */
}

.form-flex-box .info-con p{
    line-height: 2;
    width: 90%;
}

.infield-dropdown{
  position: absolute;
  border: none;
  height: 40px;
  width: 60px;
  background-color: transparent;
  padding-left: 15px;
  font-size: 12px;
  color:#222222;
  appearance: none;
  background: url("../icon/arrow-down.svg");
  background-repeat: no-repeat;
  background-position-x: 90%;
  background-position-y: 16px;

}

select.text-input.text{
  color:#222222;
  appearance: none;
  background: url("../icon/arrow-down.svg");
  background-repeat: no-repeat;
  background-position-x: 98%;
  background-position-y: 16px;
}


@media (min-width: 576px){

    .contact-header-img{
      aspect-ratio: 1920 / 445;
      width: 100%;
      height: 100%;
      /* object-fit: cover;
      object-position: 50% 25%; */
      background-attachment: fixed;
      background-position: 50% 10%;
      background-repeat: no-repeat;
      background-size: 100% auto;
      background-image: url("../img/Contact Page/88b7c9b5ba3f12c147c0cf728b83e04f.jpg");
    }

    .membership .content{
        width: 90%;
        margin: auto;
    }
    
    .membership .banner{
        width: 90%;
        margin: auto;
        aspect-ratio: 1336/500;
        height: 100%;
        margin-bottom: 30px;
        cursor: pointer;
    }
    
    .membership .banner .imgDiv{
        width: 100%;
        height: 100%;
    }
    
    .membership .banner .imgDiv img{
        width: 100%;
        height: 100%;
    }
    
    .membership .banner .imgContent{
        position: absolute;
        top:0;
        bottom:0;
        left: 0;
        right:0;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        padding: 0 5%
    
    }
    
    .membership .banner .imgContent >div{
        padding: 0;
        flex:1;
    }

    .membership .banner .imgContent .title{
      margin-top:0;
    }
    
    .membership .banner .imgContent .desc p{
        width: 80%;
        font-size: .6em;
        line-height: 1.2;
        margin-right: 0;
        /* margin-top: 25px; */
        margin: auto 0 auto auto;
    }
    
    .membership .banner .imgContent h1{
        color:#fff;
        text-align: left;
        letter-spacing: 8px;
        font-size: 2em;
        font-weight: 100;
        
    }
    
    .membership .banner .imgContent p{
        color:#fdfdfd;
        text-align: left;
        
    }
    
    .membership .banner .imgHint{
        position: absolute;
        left: 0;
        right: 0;
        margin: auto;
        
        bottom: calc(100vw* 500 / 1336 / 20);
        
    }
    .membership .banner .imgHint p{
        color:#fdfdfd;
        margin-bottom: 0;
        letter-spacing: 4px;
        font-size: .6em;
        font-weight: 100;
    }

    .form-con .contact-group{
      display: flex;
      align-items: center;
      flex-direction: row;
    }
    
    .form-con .contact-group .left{
        flex:35;
    }
    
    .form-con .contact-group .seperator{
        margin:0 7px;
        margin-bottom: 15px;
        flex:2;
        color:#828282;
    }
    
    .form-con .contact-group .right{
        flex:43;
    }

  main#contact-main section .inner-con {
      width: 60%;
      transition: all .5s;
  }

  .form-flex-box{
      width: 80%;
      -webkit-box-orient: horizontal;
      -webkit-box-direction: normal;
          -ms-flex-flow: row nowrap;
              flex-flow: row nowrap;
      /* width: 95%; */
  }

  .form-flex-box .form-con,
  .form-flex-box .info-con p{
      margin: 0 20px;
  }

  .form-flex-box .form-con{
      width: 70%;
  }

  .form-flex-box .info-con{
      width: 40%;
  }

  .checkbox-con{
      margin-left: 5px;
  }

  .form-con button {
    /* max-width: 175px; */
    max-width: 275px;
    width: 70%;
  }
  .enquiry .title-con{
    width: calc( 85% - 100px)!important;
    margin: auto;
    
  }

  .enquiry .title-con h1{
      text-align: left;
  }

  .enquiry .desc-p{
      text-align: left;
      margin: 20px 0;
      width: 100%;
  }
}

@media (min-width: 768px){
  /* .form-flex-box{
      width: 80%;
  } */
  .membership .banner{
    width: 80%;
  }

  .membership .banner .imgContent .desc p{
    width: 80%;
    line-height: 1.2;
    font-size: 0.7em;
  }
  .membership .banner .imgHint p{
    font-size: 0.7em;
  }
}

@media (min-width: 992px){
  .membership .banner{
    aspect-ratio: 1336/500;
  }
  .membership .banner .imgContent{
    padding: 0 5%;
  }
  .membership .banner .imgContent .desc p{
    width: 70%;
    line-height: 1.6;
    font-size: 0.8em;
  }
  .membership .banner .imgHint p{
    font-size: 0.8em;
  }
  .membership .banner .imgContent h1{
    font-size: 2.4em;
  }
  main#contact-main section .inner-con {
      width: 50%;
  }
}

@media (min-width: 1200px){
  .membership .banner{
    aspect-ratio: 1336/500;
  }
    .membership .banner .imgContent{
      padding: 0 10%;
    }
    .membership .banner .imgContent .desc p{
      width: 78%;
      line-height: 1.8;
      font-size:0.9em
    }
    .membership .banner .imgHint p{
      font-size: 0.9em;
    }
    main#contact-main section .inner-con {
        width: 50%;
    }

}
