@charset "utf-8"; /* CSS Document */
.contact_l {
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
}

.contact_l,.contact_r {
    width: 48%;
}

.contact_r {
    margin-top: 0;
}

.contact_tip input[type="checkbox"]:checked {
    background-color: #6B0B40;
}

.twzipcode {
    width: 100%;
}

.contact_tip {
    width: 100%;
}
label.uk-form-label{
    /* width: 20vw; */
}
#to_form label {
    display: inline-block;
    margin: 0 4% 5px 0;
    color: #383437;
}
#to_form .uk-form-label {
    display: inline-block;
    font-size: 1em;
}

.form1 li:nth-child(6) input[type="number"] {
    width: calc(100% - 3em);
}

.uk-modal-body {
    font-size: 1.2rem;
}

body#contact .uk-modal-header h2, body#contact .uk-modal-body h4 {
    font-family: ' Microsoft JhengHei', sans-serif;
    color: #333;
    font-weight: bold;
    font-size: 1.7rem;
}

.twzipcode div select option {
    color: #333333;
}

.textarea_name {
    text-indent: 20px;
    font-size: 1rem;
    letter-spacing: 1px;
    padding-bottom: 1%;
    margin-top: 2%;
}

.submit_td input[type="text"] {
    background: transparent;
    color: #383437;
    height: 34px;
    border-bottom: 1px solid #383437;
    box-shadow: none;
    border-radius: 0;
}

.contact_tip a {
    color: #FFF;
}

#map img {
    border-bottom: 4px solid rgba(255,255,255,1);
}

.tip,#my-id {
    font-family: ' Microsoft JhengHei', sans-serif;
}

.form1 li {
    width: 100%;
    margin-bottom: 2%;
    list-style-type: none;
    line-height: 180%;
    font-family: 'Microsoft JhengHei';
    float: left;
    letter-spacing: 0.05vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #383437;
}

.form1 li:nth-child(4) {
}

.form1 li.contact_txt {
    margin-left: 0;
}

.form1 li.contact_txt label {
    color: #231815;
}

.form1 {
    padding-left: 0;
    margin-bottom: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-items: flex-end;
}

.privacy-policy ul {
    padding-left: 30px;
}

.privacy-policy ul li {
    position: relative;
}

.privacy-policy .uk-article-title {
    font-family: ' Microsoft JhengHei', sans-serif;
}

.privacy-policy ul li:before {
    content: '';
    width: 8px;
    height: 8px;
    position: absolute;
    left: -1em;
    background: rgb(50,50,50);
    top: 11px;
}

#map {
    width: 100%;
    max-height: 330px;
    height: 17vw;
    position: relative;
}

.submit_td {
    position: relative;
    text-align: center;
    float: right !important;
}

/*無欄位聯絡表單*/
.submit_td input::placeholder {
    color: #333;
}

input::placeholder {
    color: #231815;
    font-size: 1.2em;
    font-family: ' Microsoft JhengHei', sans-serif;
    letter-spacing: 0.05vw;
}

textarea::placeholder {
    color: #231815;
    font-size: 1.2em;
    font-family: ' Microsoft JhengHei', sans-serif;
    letter-spacing: 0.05vw;
}

.contact {
    width: 88%;
    display: block;
    vertical-align: bottom;
    margin: 0 6% 0 6%;
    color: #231815;
    position: relative;
    padding: 0 0 2% 0;
}

.contact > table {
    width: 100%;
}

.contact > table >tbody > tr {
    width: 100%;
    display: inline-block;
    margin-bottom: 1.5%;
}

.contact > table >tbody > tr > td:first-child {
    background: #f3f3f3;
    font-size: 1em;
    font-family: ' Microsoft JhengHei', sans-serif;
    text-align: center;
    width: 100%;
    display: inline-block;
    margin-right: 1%;
    vertical-align: top;
    min-width: 38px;
    position: relative;
}

.contact > table >tbody > tr > td:nth-child(2) {
    display: inline-block;
    width: 85%;
    position: relative;
}

#authnum2 {
    position: absolute;
    right: 0;
    cursor: pointer;
    height: 36px;
    width: 20%;
}

input[type="text"] ,input[type="number"] ,input[type="email"] ,input[type="tel"],textarea {
    width: calc(100% - 10px);
    border: 0;
    height: 36px;
    color: #231815;
    padding: 7px 0 7px 3%;
    margin-bottom: 3px;
    font-family: ' Microsoft JhengHei', sans-serif;
    letter-spacing: 0.05vw;
    border-radius: 8px;
    /* box-shadow: 0 0 5px rgba(0,0,0,0.5); */
    background: #FFFF;
    -moz-box-shadow: 0 0 5px rgba(0,0,0,0.5);
    /* -webkit-box-shadow: 0 0 5px rgba(0,0,0,0.5); */
    background-clip: padding-box;
    /* Safari fix */
}

.contact > table >tbody > tr:last-child > td > input[type="text"] {
    width: 100%;
}

.con_btn {
    border: 0;
    padding: 1% 0;
    color: #FFFFFF;
    font-family: ' Microsoft JhengHei', sans-serif;
    cursor: pointer;
    font-size: 1.4em;
    font-weight: bold;
    letter-spacing: 0.3em;
    text-indent: 0.6em;
    width: 100%;
    margin-top: 3%;
    border-radius: 10px;
    margin-bottom: 2%;
    background: #6B0B40;
}

.submit_td .con_btn {
    width: 100%;
}

.contact > table >tbody > tr:last-child > td:first-child {
    background: transparent;
}

textarea {
    background: #FFFF;
    width: calc(100% - 4px);
    font-family: Microsoft JhengHei, sans-serif;
    max-width: 100%;
    min-height: 120px;
    color: #231815;
    padding-top: 10px;
    margin-top: -4%;
}

.SelectStyle select,.SelectStyle2 select,.twzipcode div select {
    width: 100%;
    height: 50px;
    overflow: hidden;
    background: url(../images/btn_list.png) no-repeat right #FFFF;
    display: inline-block;
    margin-bottom: 3%;
    font-size: 1rem;
    padding: 7px 0 7px 2%;
}

.SelectStyle select {
    margin-bottom: 0;
}

.SelectStyle {
    width: 100%;
}

.SelectStyle select,.SelectStyle2 select,.twzipcode select {
    line-height: 1;
    border: 0;
    -webkit-appearance: none;
    cursor: pointer;
    letter-spacing: 1px;
    text-indent: 0.35em;
    font-family: ' Microsoft JhengHei', sans-serif;
    color: #231815;
    border-radius: 8px;
    /* box-shadow: 0 0 5px rgba(0,0,0,0.5); */
}

.SelectStyle select option {
    color: #707070;
}

li.tip {
    color: #fff !important;
    font-size: 18px;
    text-align: left;
    margin-left: 20px;
    margin-top: 1%;
    margin-bottom: 4%;
    letter-spacing: 1px;
}

.tip a {
    color: #e2ba70;
    display: inline-block;
    position: static;
    padding: 0;
    opacity: 1;
    background: transparent;
    vertical-align: bottom;
}

.roseparty {
    background: #5fbeb8;
    padding: 15px 0 15px 0;
}

.roseparty a {
    display: inline-block;
    width: 100%;
}

.roseparty a img {
    height: 21px;
    display: block;
    margin: 0 auto;
}

.uk-form input[type=checkbox]:not(:disabled), .uk-form input[type=radio]:not(:disabled) {
    cursor: pointer;
}

.uk-form input[type=checkbox], .uk-form input[type=radio] {
    display: inline-block;
    height: 20px;
    width: 20px;
    border: 1px solid #aaa;
    overflow: hidden;
    margin-top: -4px;
    vertical-align: middle;
    -webkit-appearance: none;
    outline: 0;
    background: #FFF;
    margin-right: 9px;
}

.uk-form input[type=checkbox], .uk-form input[type=radio] {
    padding: 0;
}

.uk-form input, .uk-form select, .uk-form textarea {
    box-sizing: border-box;
    margin: 0;
    border-radius: 0;
    font: inherit;
    color: inherit;
}

.uk-form input[type=checkbox]:checked:before, .uk-form input[type=checkbox]:indeterminate:before {
    content: "\f00c";
    font-family: ' Microsoft JhengHei', sans-serif;
    font-size: 12px;
    -webkit-font-smoothing: antialiased;
    text-align: center;
    line-height: 20px;
    color: #00a8e6;
}

.uk-form input[type=checkbox]:before, .uk-form input[type=radio]:before {
    display: block;
}

input[type="checkbox"],input[type="radio"] {
    margin-right: 0.5em;
    box-shadow: 0 0 2px rgba(0,0,0,0.5);
    width: 16px;
    height: 16px;
    background: #ffff;
    border-radius: 20%;
}

@media (max-width: 960px) {
    .contact_l, .contact_r {
        width: 100%;
    }
    .con_btn {
        margin-bottom: 6%;
    }
    .contact {
        width: 82%;
        margin: 0 9% 0 9%;
    }
    .contact_r li:first-child {
        padding-bottom: 3%;
    }

    .form1 {
        display: inline-block;
    }

    .contact_txt,input::placeholder,textarea::placeholder,#to_form .uk-form-label,#to_form .uk-form-label,input[type="text"],textarea,#to_form label {
        font-size: 3vw;
        letter-spacing: 0.1vw;
    }

    .SelectStyle select, .SelectStyle2 select, .twzipcode select {
        font-size: 2.7vw;
        text-indent: 6px;
        letter-spacing: 0.2vw;
    }

    #contact #ds2 ul.inf {
        margin: 20px 0;
    }

    #contact #ds2 .inf li:nth-child(1),#contact #ds2 .inf li:nth-child(2),#contact #ds2 ul.inf {
        width: 100%;
    }

    .form1 li {
        width: 100%;
        letter-spacing: 0.2vw;
    }

    .form1 li:nth-child(even) {
        margin-left: 0;
    }

    #map {
        width: 100%;
        margin: 0 auto;
        max-height: 310px;
        height: 32vw;
    }

    .twzipcode div select,.SelectStyle select {
        font-size: 3vw;
    }

    .contact {
        margin: 0 9% 0 9%;
    }

    textarea {
        width: calc(100% - 8px);
        padding: 15px 0 7px 3%;
        height: 24vw;
    }
}

@media (max-width: 690px) {
    .contact_r li:first-child {
        padding-bottom: 2%;
    }

    .SelectStyle select, .SelectStyle2 select {
        height: 43px;
    }

    .con_btn {
        font-size: 3.7vw;
        padding: 2% 0;
    }

    input[type="text"], input[type="number"], input[type="email"], input[type="tel"] {
        padding: 1% 0 1% 3%;
    }

    textarea {
        padding: 3% 0 1% 3%;
    }

    .twzipcode div select {
        padding: 1% 0 1% 1%;
    }

    .SelectStyle, .SelectStyle2, .twzipcode div select {
        height: 43px;
    }
}

@media (max-width: 480px) {
    .map {
        height: 300px;
    }
}
