.block-title {
    color: #07355C;
    position: relative;
}

.block-title>div:first-child {
    font-weight: 200;
    font-size: 36px;
    letter-spacing: 3px;
    line-height: 40px;
}

.block-title>div:first-child span {
    font-weight: 600;
}

.block-title>div:nth-child(2) {
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.block-title>div:last-child {
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 2px;
    color: #BD0000;
    position: absolute;
    bottom: 0px;
    left: 250px;
}

@media (min-width: 992px) {
    .block-title>div:first-child {
        font-size: 48px;
        line-height: 57px;
    }

    .block-title>div:nth-child(2) {
        font-size: 20px;
        letter-spacing: 5px;
    }
}

.contactus-thanks {
    padding-top: 0px;
    padding-bottom: 30px;
}

.contactus-thanks>div:first-child {
    font-weight: 700;
    font-size: 24px;
    letter-spacing: 3px;
    padding-bottom: 10px;
}

.contactus-thanks>div:last-child {
    font-size: 14px;
}


#contactus-form {
    padding-top: 30px;
    padding-bottom: 100px;
}

.warning-text {
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 3px;
    color: #BD0000;
}

.warning-text>div {
    display: none;
    height: 70px;
    align-items: center;
    justify-content: center;
}

.warning-required.show {
    display: flex;
}

.warning-format.show {
    display: flex;
}

.label-text {
    color: #C3772E;
    font-weight: 700;
    font-size: 14px;
    width: 65px;
    text-align: justify;
    text-justify: inter-ideograph;
    text-align-last: justify;
    position: relative;
}

.label-text.required::after {
    content: '*';
    position: absolute;
    top: -3px;
    right: -13px;
    color: #BD0000;
    font-weight: 700;
    font-size: 16px;
}

.height-border {
    height: 54px;
    border-bottom: 1px solid #777878;
    display: flex;
    align-items: center;
    justify-content: center;
}

.inputs input,
.textarea textarea,
.inputs select {
    width: 100%;
    font-size: 14px;
    font-weight: 500;
    color: #777878;
    letter-spacing: 1px;
}

.inputs input,
.inputs select {
    border: none;
    background-color: transparent;
}

.inputs input:focus,
.inputs select:focus,
.textarea textarea:focus {
    border: none;
    background-color: transparent;
}

.inputs input::placeholder,
.textarea textarea::placeholder {
    color: #BDC0BA;
}

.inputs input::-webkit-input-placeholder,
.textarea textarea::-webkit-input-placeholder {
    color: #BDC0BA;
}

.inputs input::-moz-placeholder,
.textarea textarea::-moz-placeholder {
    color: #BDC0BA;
    opacity: 1;
}

.inputs input:-ms-input-placeholder,
.textarea textarea:-ms-input-placeholder {
    color: #BDC0BA;
}

.textarea textarea {
    height: 280px;
    border-radius: 20px;
    border: 1px solid #777878;
    background-color: rgba(255, 255, 255, 0.33);
    padding: 15px 25px;
}

.agree {
    font-size: 12px;
    color: #07355C;
    padding: 20px 0 50px 50px;
    display: flex;
    align-items: flex-start;
}

.agree input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid #777878;
    border-radius: 4px;
    background-color: transparent;
    cursor: pointer;
    position: relative;
    margin: 0;
    margin-top: 4px;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.agree input[type="checkbox"]:hover {
    border-color: #07355C;
    background-color: rgba(7, 53, 92, 0.05);
}

.agree input[type="checkbox"]:checked {
    border-color: #07355C;
}

.agree input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid #07355C;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.agree input[type="checkbox"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(7, 53, 92, 0.1);
}

.agree.warning-icon input[type="checkbox"]::before {
    content: '* 必填';
    position: absolute;
    left: -50px;
    top: -5px;
    color: #BD0000;
    font-weight: 700;
    font-size: 12px;
    width: 60px;
    letter-spacing: 2px;
}

.submit-btn {
    width: 130px;
    height: 35px;
    border-radius: 20px;
    border: 1px solid #07355C;
    color: #07355C;
    margin: auto;
    line-height: 31px;
    transition: all 0.3s ease;
    font-size: 12px;
    font-weight: 700;
    background-color: transparent;
}

.submit-btn:hover {
    background-color: #07355C;
    color: #eae2d1;
}
.warning-icon {
    position: relative;
}
.warning-icon::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 19px;
    background-image: url('../images/svg/icon_warning.svg');
    background-repeat: no-repeat;
    width: 17px;
    height: 17px;
}
.agree.warning-icon::before {
    left: 25px;
    top: 25px;
}

@media (max-width: 991px) {
    .height-border-none {
        border-bottom: 0px;
    }

    .agree.warning-icon input[type="checkbox"]::before {
        display: none;
    }
}

@media (min-width: 992px) {
    .contactus-thanks {
        padding-top: 55px;
        padding-bottom: 100px;
    }

    .contactus-thanks>div:first-child {
        padding-bottom: 20px;
    }

    .contactus-thanks>div:last-child {
        font-size: 16px;
    }

    #contactus-form {
        padding-top: 150px;
        padding-bottom: 100px;
    }

    .label-text {
        font-size: 16px;
        width: 65px;
    }

    .height-border {
        height: 69px;
    }

    .inputs input,
    .textarea textarea,
    .inputs select {
        font-size: 18px;
        letter-spacing: 3px;
    }

    .textarea {
        padding-top: 30px;
    }

    .submit-btn {
        width: 150px;
        height: 40px;
        line-height: 36px;
        font-size: 14px;
    }
    .warning-icon::before {
        display: none;
    }
}
#contactus-success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease;
    z-index: 999;
}

#contactus-success-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

#contactus-success {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 380px;
    height: 257px;
    box-shadow: 0px 4px 26.9px 0px rgba(0, 0, 0, 0.39);
    background-color: #FFFFFF;
    border-radius: 30px;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.6s ease;
    z-index: 1000;
}
#contactus-success.show {
    opacity: 1;
    pointer-events: auto;
}

#contactus-success>div:first-child {
    padding: 50px 0 20px;
}

#contactus-success>div:nth-child(2) {
    font-weight: 600;
    font-size: 32px;
    letter-spacing: 3px;
    padding-bottom: 20px;
}
