@import url(./nav_menu.css);
html, body{
    height: auto;
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: Microsoft JhengHei, 微軟正黑體;
}
header{
    width: 100%;
    height: 80px;
    background-color: #FFF;
    position: fixed;
    top: 0;
    left: 0;
    text-align: center;
    z-index: 100;
}
header.fixed{
    bottom:auto;
    top:0;
    margin-top: 0;
}
header .container{
    position: relative;
    height: 100%;
    max-width: 980px;
    margin: 0 auto;
}
header a.logo{
    margin-top: 1.5em;
    display: inline-block;
}
header a.logo img{
    max-width: 135.6px;
}
header .menu-btn{
    position: absolute;
    bottom: 1em;
    right: 1em;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
header nav.menu {
    width: 100%;
    background-color: #EBF4FD;
    overflow: hidden;
    height: 0;
}
header nav.menu.active{
    height: auto;
    overflow: visible;
}
.banner{
    width: 100%;
    height: 770px;
    background-image: url(../img/contact/banner.jpg);
    background-size: cover;
    background-position: center center;
    margin-top: 80px;
}
main{
    padding-top: 5em;
}
main section .wrapper{
    position: relative;
    height: 100%;
    max-width: 980px;
    width: 100%;
    margin: 0 auto;
    display: table;
}
.wrapper ul{
    margin: 0;
    padding: 0;
    list-style: none;
}
.wrapper .contact-way,
.wrapper .contact-form{
    position: relative;
    display: table-cell;
}
.wrapper .contact-way{
    width: 45%;
}
.wrapper .contact-form{
    width: 55%;
    padding-left: 2em;
}
.contact-way li{
    margin-bottom: 1.5em;
}
.contact-way a {
    display: inline-block;
    position: relative;
}
.contact-way a .icon, .contact-way a .text{
    display: inline-block;
}
.contact-way a.text{
}
.address a.text{
    top: 25px;
    left: 1em;
}
.address a.map{
    margin-left: 60px;
    top: 2.5em;
}
.map img {
    max-width: 293px;
}
.contact-way .phone{
    margin-top: 4em;
}
.contact-way .phone .text,
.contact-way .line .text,
.contact-way .wechat .text{
    top: -13px;
    left: 1em;
}
.line .qrcode, .wechat .qrcode{
    left: 60px;
}
.line .qrcode  img, .wechat .qrcode  img{
    max-width: 99px;
}
.employment-agency .text{
    position: absolute;
    left: 53px;
}
.contact-form li{
    margin-top: 1.5em;
}
.list-item{
    position: relative;
}
.list-item::before{
    content: '';
    display: block;
    position: absolute;
    bottom: -1px;
    width: 100%;
    height: 25px;
    background-color: #20aee5;
    border-radius: 10px;
    pointer-events: none;
}
.list-item .item input[type=text],
.list-item.category select,
.list-item.content textarea {
    background-position: left center;
    background-repeat: no-repeat;
    border: none;
    width: 100%;
    line-height: 100%;
    font-family: Microsoft JhengHei, 微軟正黑體;
}
.list-item.category select{
    background-image: url(../img/contact/title_1.png);
}
.list-item.category select.selected{
    background-image: none;
}
.list-item.name input[type=text]{
    background-image: url(../img/contact/title_2.png);
}
.list-item.desc input[type=text]{
    background-image: url(../img/contact/title_6.png);
}
.list-item.phone input[type=text]{
    background-image: url(../img/contact/title_3.png);
}
.list-item.email input[type=text]{
    background-image: url(../img/contact/title_4.png);
}
.list-item.content textarea{
    background-image: url(../img/contact/title_5.png);
    background-position: 3px 3px;
}
.item{
    background-color: white;
    position: relative;
    border-radius: 10px;
    padding: .5em 3em;
}
.item label:not(:last-child){
    margin-right: 1em;
}
.item label:last-child{
    margin-bottom: 1em;
}
.item input[type=text],
.list-item.content textarea{
    font-size: 16px;
}
.item input[type=text].inputted{
    background: none;
}
.item textarea.inputted{
    font-family: inital;
    background: none;
}
.item input[type=text]:focus,
.item textarea:focus{
    outline: none;
    overflow: hidden;
}
.item textarea{
    resize: none;
}
.submit-area{
    text-align: center;
}
.verify{
    display: inline-block;
    margin-bottom: 1em;
}
.captcha{
    float: left;
    margin-right: 1em;
    padding: 10px 27.5px 6px 27.5px;
    float: left;
    margin-right: 1em;
    background-color: #A0A0A0;
    border-radius: 5px;
}
.verify input{
    background: url(../img/contact/verify_text.png) 15px center no-repeat;
    padding: 9px 1em 7px 1.5em;
    width: 130px;
    font-size: 20px;
    line-height: 100%;
    list-style: none;
    box-sizing: border-box;
    border-radius: 5px;
    border: 1px solid #0097e0;
    background-color: #7cbfea;
    color: white;
    letter-spacing: 8px;
    text-align: center;
}
.verify input:focus{
    outline: none;
}
.verify:after{
    clear: both;
    content: '';
    display: table;
}
.verify input.inputted{
    background-image: none;
}
.submit-container{
    position: relative;
}
#submitBtn img{
    max-width: 149px;
}
.empty-msg{
    position: absolute;
    top: 6em;
    left: 9em;
    opacity: 1;
    display: block;
}
.empty-msg.hidden{
    display: none;
    opacity: 0;
}
footer .wrapper{
    height: 174.4px;
    text-align: center;
    position: relative;
}
footer .wrapper img{
    position: absolute;
    bottom: 2em;
    width: 205.6px;
    left: 0;
    right: 0;
    margin: 0 auto;
}
/*
    for select js
*/
.select-target.select-theme-default{
    width: 100%;
    border: none;
    padding: 10px;
    background-color: transparent;
    background-image: url(../img/contact/title_1.png);
    background-position: left center;
    background-repeat: no-repeat;
}
a.select-target.select-theme-default.selected{
    padding: 0;
    background-image: none;
}
.select-target.select-theme-default b{
    display: none;
}
.select.select-theme-default .select-content{
    box-shadow: none;
    max-width: 20rem;
}
.select.select-theme-default .select-options{
    background-color: #f3fafe;
    padding: 20px;
}
.select.select-theme-default .select-options .select-option {
    padding: 0;
    min-width: 16rem;
    color: transparent;
}
.select.select-theme-default .select-options .select-option:not(:last-child){
    margin-bottom: 1em;
}
.select.select-theme-default .select-options .select-option:before,
.select.select-theme-default .select-options .select-option.select-option-selected:before{
    content: '';
    background: url(../img/contact/option_point.png) center center no-repeat;
    width: 10px;
    height: 10px;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    margin: auto;
}
.select.select-theme-default .select-options .select-option:first-child{
    display: none;
}
.select.select-theme-default .select-options .select-option:nth-child(2){
    background: url(../img/contact/option_1.png) 20px center no-repeat;
}
.select.select-theme-default .select-options .select-option:nth-child(3){
    background: url(../img/contact/option_2.png) 20px center no-repeat;
}
.select.select-theme-default .select-options .select-option:nth-child(4){
    background: url(../img/contact/option_3.png) 20px center no-repeat;
}
.select.select-theme-default .select-options .select-option:nth-child(5){
    background: url(../img/contact/option_4.png) 20px center no-repeat;
}
.select.select-theme-default .select-options .select-option:hover,
.select.select-theme-default .select-options .select-option.select-option-highlight{
    background-color: transparent;
    color: transparent;
}
.select.select-theme-default .select-options .select-option.select-option-selected:before,
.select.select-theme-default .select-options .select-option:hover.select-option-selected:before, .select.select-theme-default .select-options .select-option.select-option-highlight.select-option-selected:before{
    content: '';
}
.select-element{
    opacity: 0;
    /*transition: opacity .5s;*/
}
.select-element.select-open{
    opacity: 1;
}
li.hidden{
    display: none;
}
select > .placeholder {
  display: none;
}
@media screen and (min-width: 768px) and (max-width: 979px) {

}
@media screen and (max-width: 767px){
    main{
        padding-top: 0;
    }
    main section .wrapper{
        display: inline-block;
    }
    .wrapper .contact-way, .wrapper .contact-form{
        width: 100%;
        float: left;
        box-sizing: border-box;
    }
    .wrapper .contact-form *{
        outline: none;
    }
    .banner {
        width: 100%;
        height: 300px;
        background-image: url(../img/contact/banner.jpg);
        background-repeat: no-repeat;
        background-size: cover;
        background-position: top;
    }
    .wrapper .contact-way{
        padding: 1em;
        margin-top: 5em;
    }
    .wrapper .contact-way:after{
        content: '';
        display: table;
        clear: both;
    }
    .contact-way .phone .text,
    .contact-way .line .text,
    .contact-way .wechat .text{
        left: 0;
    }
    .wrapper .contact-form{
        padding: 1em;
    }
    .employment-agency .text{
        left: 4.5em;
    }
    .address{
        width: 100%;
    }
    .address a.text {
        top: 0;
        left: 0;
    }
    .address a.map {
        margin: 0;
        top: 0;
    }
    .address .map-container{
        text-align: center;
    }
    .icon{
        float: none;
        width: 15%;
        max-width: 41px;
    }
    a.text{
        margin-left: 4%;
        width: 80%;
    }
    .address a.text{
        max-width: 290px;
    }
    .phone a.text{
        max-width: 146px;
    }
    .line a.text{
        max-width: 170px;
    }
    .wechat a.text{
        max-width: 198px;
    }
    .employment-agency a.text{
        max-width: 164px;
    }
    a.text img{
        width: 100%;
    }
    .contact-way .phone div{
        position: relative;
    }
    .contact-way .phone div:after{
        content: '';
        display: table;
        clear: both;
    }
    .address .text-container{
        position: relative;
        width: 100%;
    }
    .wrapper .contact-form{
        width: 100%;
    }
    .captcha{
        float: none;
        margin-right: 0;
        margin-bottom: .5em;
    }
}
@media all and (-ms-high-contrast:none){
    /* for ie 11 */
    .banner{
        margin-bottom: 5em;
    }
    main{
        margin-top: 0;
    }
}
@media screen and (max-device-width: 480px){
    header {
        -webkit-transition: none;
        -moz-transition: none;
          -o-transition: none;
             transition: none;
        -webkit-transform: none;
        transform: none;
    }
    header{
        position: relative;
    }
    header.fixed{
        position: fixed;
        z-index: 1000;
    }
    main{
        padding-top: 0;
    }
    .banner{
        margin-top: 0;
    }
    .item{
        padding: .5em 2em;
    }
    #categorySelect{
        height: 16px;
    }
    .employment-agency .text {
        left: 53px;
    }
    .empty-msg {
        top: 4.5em;
        left: 10%;
        -webkit-transform: scale(.7);
        transform: scale(.7);
    }
    .select-target.select-theme-default{
        background-image: url(../img/contact/min/title_1.png);
        background-repeat: no-repeat;
        background-size: 56px 15px;
        pointer-events: none;
    }
    .list-item.category select{
        display: block;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        background-color: white;
        background-image: url(../img/contact/min/title_1.png);
        background-repeat: no-repeat;
        background-size: 56px 15px;
    }
    .list-item.name input[type=text]{
        background-image: url(../img/contact/min/title_2.png);
        background-repeat: no-repeat;
        background-size: 56px 15px;
    }
    .list-item.desc input[type=text]{
        background-image: url(../img/contact/min/title_6.png);
        background-repeat: no-repeat;
        background-size: 56px 15px;
    }
    .list-item.phone input[type=text]{
        background-image: url(../img/contact/min/title_3.png);
        background-repeat: no-repeat;
        background-size: 56px 15px;
    }
    .list-item.email input[type=text]{
        background-image: url(../img/contact/min/title_4.png);
        background-repeat: no-repeat;
        background-size: 56px 15px;
    }
    .list-item.content textarea{
        background-image: url(../img/contact/min/title_5.png);
        background-size: 56px 15px;
        background-position: 3px 3px;
    }
    .verify input{
        background-image: url(../img/contact/min/verify_text.png);
        background-repeat: no-repeat;
        background-size: 97px 16px;
        background-position: 15px center;
    }
    .item input[type=text].inputted{
        background: none;
    }
    .item textarea.inputted{
        background: none;
    }
    footer .wrapper img{
        width: 128.5px;
    }
    footer .wrapper{
        height: 109px;
    }
}
@media (device-height: 568px) and (device-width: 320px) and (-webkit-min-device-pixel-ratio: 2){
    /* iphone 5 */
    .empty-msg {
      top: 4.5em;
      left: 0;
      -webkit-transform: scale(.7);
      transform: scale(.7);
    }
}
/* ----------- iPad 1 and 2 ----------- */
/* Portrait and Landscape */
@media only screen
and (min-device-width: 768px)
and (max-device-width: 1024px)
and (-webkit-min-device-pixel-ratio: 1){
    .banner {
        width: 100%;
        height: 450px;
    }
}