/*@import url(https://fonts.googleapis.com/earlyaccess/cwtexyen.css);*/
html,body{
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
    padding: 0;
    margin: 0;
}

body{
    background-color: #d31145;
    font-family: 'Microsoft JhengHei',sans serif;
}

p, div, a, h1, h2, h3, h4, h5, h6, label, select, option, span, input, li, textarea { 
    font-family: 'Microsoft JhengHei', sans serif;
    font-weight: 600;
    padding: 0;
    margin: 0;
}

ol{
    padding-left: 37px;
    margin: 0;
    margin-bottom: 1em;
}

.h1_SEO{
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.grecaptcha-badge{
    display: none;
}

.container{
/*    background: url(../images/bg_color.jpg) repeat;*/
    text-align: center;
    max-width: 1901px;
    margin: 0 auto;
}

.desktop_kv{
    display: none;
    max-width: 1900px;
}
.mobile_kv{
    display: block;
}

.kv>img{
/*
    position: relative;
    left: 50%;
    top: 50%;
    transform: translate(-50%,0);
*/
    margin: 0 auto;
    width: 100%;
}

.main_content{
    width: 90%;
    margin: 0 auto;
    padding-bottom: 2%;
}

.form_title{
    color:#fff;
    font-size: 2.5em;
    padding-top: 1em;
}

.form_position{
    padding-top: 3%;
}

.field_row{
    display: block;
    align-items: center;
}

.field_group {
    width: 100%;
    display: block;
    text-align: left;
    padding-bottom: 2em;
}

.field_group > label {
    width: 100%;
    text-align: right;
    color: #fff;
    font-size: 2em;
    line-height: 1.2;
}

.field_group > input, .field_group > div {
    width: 100%;
    text-align: left;
    padding: 0.6em 0.5em;
    box-sizing: border-box;
    font-size: 2em;
    color: #d31145;
    border: 0 none;
    border-radius: 4px;
    background-color: #fff;
    line-height: 1.5;
}

.field_group textarea {
    width: 100%;
    height: 180px;
    font-size: 1em;
    box-sizing: border-box;
    padding: 0.6em 0.5em;
    color: #d31145;
    border: 0 none;
    border-radius: 4px;
    margin-bottom: 1em;
    background-color: #fff;
    resize: none;
}

.field_group > #upload{
    padding: 0;
}

.field_group > label br {
    display: none;
}

.full_group{
    width: 100%;
}

.full_group > label {
    width: 100%;
}

.full_group > input, .full_group > div {
    width: 100%;
}

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
/*    text-transform: uppercase;*/
    padding-left:2px;
    color: #d31145;
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
/*    text-transform: uppercase;*/
    padding-left:2px;
    color: #d31145;
}

::-ms-input-placeholder { /* Microsoft Edge */
/*    text-transform: uppercase;*/
    padding-left:2px;
    color: #d31145;
}

.nobg{
    color: #fff !important;
    background-color: inherit !important;
    padding: 0 !important;
}


.form_submit_area{
    padding-top: 6%;
}

.btn-submit{
    cursor: pointer;
    display: inline;
    background-color: #fff;
    padding: 0.5em;
    color: #d31145;
    border-radius: 8px;
    font-size: 2.5em;
}

.rsvp{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.thankyou_container{
    display: none;
}

.thankyou_bg_horizontal{
    display: flex;
    justify-content: center;
}

.thankyou_bg_vertical{
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.thankyou_btn{
    position: absolute;
    width: 100%;
    text-align: center;
    bottom: 13.5%;
    cursor: pointer;
}

.endmsg{
    font-size: 1.4em;
    color:#396598;
}

.mobilehide{
    display: none;
}

.tnc-wrap{
    line-height: 2;
}

.tnc-wrap a{
    color:#fff;
}

.dd-wrap { position: relative; width: 100%; box-sizing: border-box; border-radius: 4px;}
.dd-display { width: 100%; background-color: #FFFFFF; position: relative; z-index: 2; color: #d31145; box-sizing: border-box; border-radius: 4px; font-size: 1em;}
.dd-btn {top: 0; left: 0;  width: 100%; display: block; position: absolute; z-index: 10; text-align: right;}
.dd-btn i {background-color: #FFFFFF; line-height: 74px; padding: 0 0.3em; color: #d31145; border-radius: 0 4px 4px 0;}
.dd-list {position: absolute; left: 0px; top: 74px; color: #d31145; z-index: 60; display: none; width: 100%; }
.dd-list ul {margin: 0; padding: 0; list-style: none; background-color: #FFFFFF; box-shadow: 2px 12px 15px 1px rgba(60,60,60,0.5);}
.dd-list ul li {padding: 5px 10px; display: block; cursor: pointer; color: #d31145; font-size: 1em;}
.dd-list ul li.disable {cursor: default; background-color: #eeeeee;}
.dd-list ul li:hover {background-color: #eae9e1;}
.dd-list ul li.disable:hover {background-color: #eeeeee;}

.uploadWrap {position: relative; width: 100%; overflow: hidden; box-sizing: border-box; border-radius: 4px;}
.uploadWrap span {display: block; float: left; color: #fff; font-size: 1em;}
.uploadWrap .txt_filename {color: #d31145; width: 100%; float: left; overflow: hidden; font-size: 1em; white-space: nowrap; text-overflow: ellipsis; display: inline-block; padding: 0 0.5em; background-color: #fff; margin: 0; line-height: 74px; box-sizing: border-box;}

.uploadWrap .btn_upload {display: block; width: 100px; height: 74px; cursor: pointer; float: right; margin: 0; position: absolute; right: 0;}
.uploadWrap .btn_upload .btn-browse {width: 100%; height: 100%; line-height: 74px; text-align: center; color: #d31145; background-color: #ececec;}
.uploadWrap .btn_upload input {position: absolute; top: 0; left: 0; margin: 0; opacity: 0; filter:alpha(opacity=0); width: 100%; height: 100%; z-index: 5; direction: ltr; cursor: pointer;}

.popup-wrap {
    display: none;
    max-width: 90%;
    max-height: 80%;
    border-top: 10px solid #d31145;
    border-bottom: 10px solid #d31145;
    background-color: #ffffff;
    color: #d31145;
    transform: translateY(-50px);
    transition: all .33s;
    font-size: 1.5em;
}

.sub_hide{
    display: none !important;
}
.sub_show{
    display: inherit;
}

.footer{
    margin-top: 4em;
    line-height: 1.4;
}

.footer a{
    color: #fff;
    text-decoration: underline;
    margin: 0 1%;
}

.footer_link{
    padding: 2%;
}

.copyright{
    color: #fff;
    text-align: center;
    font-size: 1em;
}

.sortarea{
    padding: 0 !important;
    background-color: unset !important;
}

.sortdata_list{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.sortdata_list>div{
    padding: 0.6em 0.5em;
    background-color:#fff;
    border-radius: 5px;
    cursor: pointer;
    min-width: 43%;
    text-align: center;
    margin-bottom: 1%;
}

.opt_btn{
    position: relative;
}

.mask{
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 5px;
    background-color: rgba(60,60,60,0.8);
    color: #fff;
}

.mask.show{
    display: block;
}

.mask>div{
    padding: 5px 9px;
    font-size: 1.2em;
    border: 1px solid #fff0;
    background-color: #dedcdcbf;
    color: #ffffff;
    display: inline-block;
    border-radius: 4px;
    margin: 10px;
}

.swal2-modal .swal2-title {
    font-size: 3em;
}

.swal2-modal .swal2-content{
    font-size: 1.5em;
}

.swal2-modal .swal2-styled {
    font-size: 2em;
}

.label_top{
    align-items: flex-start !important;
}

.small_label{
    font-size: 1em;
}

@media screen and (min-width: 751px) {
    
    .desktop_kv{display: block;}
    .mobile_kv{display: none;}
    
    .main_content{width: 96%;max-width: 1000px;}
    
    .field_row{
        display: flex;
        align-items: center;
    }

    .field_group {
        width: 50%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 1em;
    }
    
    .field_group > label {
        width: 34%;
        text-align: right;
        color: #fff;
        font-size: 16px;
        line-height: 1.2;
    }

    .field_group > input, .field_group > div {
        width: 65%;
        text-align: left;
        padding: 0.6em 0.5em;
        box-sizing: border-box;
        font-size: 16px;
        color: #d31145;
        border: 0 none;
        border-radius: 4px;
        background-color: #fff;
    }

    .field_group textarea {
        width: 100%;
        height: 100px;
        font-size: 16px;
        box-sizing: border-box;
        padding: 0.6em 0.5em;
        color: #d31145;
        border: 0 none;
        border-radius: 4px;
        margin-bottom: 1em;
        background-color: #fff;
        resize: none;
    }

    .field_group > #upload{padding: 0;}
    .full_group{width: 100%;}
    .full_group > label {width: 17%;}
    .full_group > input, .full_group > div {width: 82.5%;}
    .field_group > label br {display: block;}
    .btn-submit{font-size: 24px;}
    
    .dd-display {font-size: 16px;}
    .dd-btn i {line-height: 37px;}
    .dd-list {top: 37px;}
    .dd-list ul li {font-size: 16px;}
    .uploadWrap span {font-size: 16px;}
    .uploadWrap .txt_filename {font-size: 16px;line-height: 37px;}
    .uploadWrap .btn_upload { height: 37px; width: 65px;}
    .uploadWrap .btn_upload .btn-browse {line-height: 37px;}
    
    ol {padding-left: 20px;}
    
    .sortdata_list>div {min-width: 19%;}
    .mask>div{margin: 3px;}
    
    .mobilehide{display: block;}
    .small_label{font-size: 14px;}
}

@media screen and (min-width: 1000px) { 
    .sortdata_list>div {min-width: 10%;}
    .mask>div{margin: 3px;}
}


@media screen and (min-width: 1901px) { 
    body{background-size: 1901px auto;}
    .main_content{width: 96%;max-width: 1000px;}
    .desktop_kv{display: block;}
    .mobile_kv{display: none;}   
    .field_group > label br {display: block;}
    .btn-submit{font-size: 24px;}
    
    .dd-display {font-size: 16px;}
    .dd-btn i {line-height: 37px;}
    .dd-list {top: 37px;}
    .dd-list ul li {font-size: 16px;}
    .uploadWrap span {font-size: 16px;}
    .uploadWrap .txt_filename {font-size: 16px;line-height: 37px;}
    .uploadWrap .btn_upload { height: 37px; width: 65px;}
    .uploadWrap .btn_upload .btn-browse {line-height: 37px;}
    
    ol {padding-left: 20px;}
    .mask>div{margin: 3px;}
    .mobilehide{display: block;}
    .small_label{font-size: 14px;}
}