:root {
    --primary-red: #ED1B2E;
    --primary-black: #000000;
    --primary-white: #FFFFFF;
    --primary-blue-gray: #E5EAEF;
    --primary-light-gray: #F7F7F7;
    --primary-medium-gray: #EEEEEE;
    --secondary-prudential-gray: #68737A;
    --secondary-dark-blue: #1B365D;
    --secondary-beige: #A89968;
    --secondary-silver: #8D9093;
    --secondary-gold: #A18B6B;
    --secondary-dark-grey: #D8D8D8;
    --secondary-gainsboro: #DDDDDD;
    --secondary-spanish-gray: #999999;
    /*--secondary-prudential-gray: #DDDDDD;*/
    --secondary-philippine-silver: #B4B4B4;
    --secondary-sonic-silver: #757575;
    --secondary-eerie-black: #1F1F1F;
    --secondary-red-gradient: linear-gradient(270deg, #FF9892 0%, #FF5F59 100%);
    --secondary-cultured: #F5F5F5;
    --secondary-gray-gradient: linear-gradient(0deg, #E9E9E9 0%, #F5F5F5 100%);
    --secondary-orange: #E87722;
    --secondary-yellow: #F2C75C;
    --secondary-peach: #ECC3B2;
    --secondary-coral: #F09491;
    --secondary-teal-green: #5CB8B2;
    --secondary-sky-blue: #009CBD;
    --secondary-light-blue: #8DB9CA;
}

:root body,
:root body a,
:root body label,
:root body span,
:root body div,
h1,
h2,
h3,
p,
div,
a,
:root body h1,
:root body h2,
:root body h3,
:root body h4,
:root body h5,
:root body h6 {
    font-family: "Open Sans";
    color: var(--primary-black);
    text-transform: unset;
}

html:lang(zh):root body,
html:lang(zh):root body a,
html:lang(zh):root body label,
html:lang(zh):root body span,
html:lang(zh):root body div,
html:lang(zh) h1,
html:lang(zh) h2,
html:lang(zh) h3,
html:lang(zh) p,
html:lang(zh) div,
html:lang(zh) a,
html:lang(zh):root body h1,
html:lang(zh):root body h2,
html:lang(zh):root body h3,
html:lang(zh):root body h4,
html:lang(zh):root body h5,
html:lang(zh):root body h6{
    font-family: 'Noto Sans TC';
}

body,
:root body {
    padding-bottom: env(safe-area-inset-bottom);
}

body.freeze {
    height: 100%;
    position: fixed !important;
;
    overflow-y: scroll !important;
;
}

.desktop-only {
    display: none;
}

h1 {
    font-weight: 300;
    font-size: 36px;
    line-height: 48px;
}

h2 {
    font-weight: 300;
    font-size: 28px;
    line-height: 36px;
}

h3 {
    font-weight: 300;
    font-size: 24px;
    line-height: 32px;
}

h4 {
    font-weight: 300;
    font-size: 20px;
    line-height: 28px;
}

h5 {
    font-weight: 300;
    font-size: 18px;
    line-height: 28px;
}

.inline-desktop {
    display: inline;
}

.font-bold {
    font-weight: 700;
}

.font-weight-600 {
    font-weight: 600 !important;
}

.font-weight-500 {
    font-weight: 500 !important;
}

.font-weight-400 {
    font-weight: 400 !important;
}

.font-regular-large {
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
}

.font-regular-small {
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
}

.font-regular-x-small {
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
}

.font-semi-bold-small {
    font-weight: 600;
    font-size: 14px;
    line-height: 24px;
}

.font-semi-bold-regular {
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
}

.font-regular-medium {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
}

.font-regular {
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
}

.font-semi-bold-large {
    font-weight: 600;
    font-size: 18px;
    line-height: 28px;
}

html:lang(zh) [class^="font-semi-bold-"],
html:lang(zh) [class*=" font-semi-bold-"] {
    font-weight: 500;
}

.font-red {
    color: var(--primary-red) !important;
}

html:lang(en) .en-font-italic {
    font-style: italic;
}

.font-italic {
    font-style: italic;
}

.text-nowrap {
    white-space: nowrap !important;
}

.text-wrap-break-line {
    word-break: break-all;
}

.text-right {
    text-align: right !important;
}

.text-color-black {
    color: var(--primary-black) !important;
}

.text-dark-blue {
    color: var(--secondary-dark-blue) !important;
}

.text-secondary-gray {
    color: var(--secondary-prudential-gray, #68737A) !important;
}

.text-secondary-coral {
    color: var(--secondary-coral) !important;
}

.bg-secondary-coral {
    background-color: var(--secondary-coral) !important;
}

.text-secondary-teal-green {
    color: var(--secondary-teal-green) !important;
}

.bg-secondary-teal-green {
    background-color: var(--secondary-teal-green) !important;
}

.text-secondary-sky-blue {
    color: var(--secondary-sky-blue) !important;
}

.bg-secondary-sky-blue {
    background-color: var(--secondary-sky-blue) !important;
}

.text-secondary-spanish-gray,
.text-disabled {
    color: var(--secondary-spanish-gray) !important;
}

.primary_button {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 12px 24px;
    gap: 10px;
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 28px;
    text-align: center;
    background: var(--primary-red) !important;
    color: var(--primary-white) !important;
    border-radius: 52px;
    border: none;
    cursor: pointer;
    transition: all .2s ease-in-out;
}

.primary_button:hover {
    color: var(--primary-white);
    text-decoration: none;
    box-shadow: 0px 12px 24px rgba(0, 0, 0, 0.24);
    transform: scale(1.02);
}

.primary_button:disabled {
    background: var(--secondary-gainsboro) !important;
    color: var(--secondary-spanish-gray) !important;
}

.primary_button_inline {
    padding: 6px 24px;
    border-radius: 36px;
    font-size: 12px;
    line-height: 18px;
}

.secondary_button {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 12px 24px;
    gap: 10px;
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 28px;
    text-align: center;
    background: var(--primary-white);
    color: var(--primary-red)!important;
    border: 2px solid var(--primary-red);
    border-radius: 52px;
    cursor: pointer;
}

.secondary_button:hover {
    box-shadow: 0px 12px 24px rgba(0, 0, 0, 0.24);
}

.secondary_button:disabled {
    background: var(--secondary-gainsboro);
    color: var(--secondary-spanish-gray);
}

.secondary_button_filled {
    color: var(--primary-white)!important;
    background-color: var(--primary-red);
}

.primary_button, .secondary_button {
    min-width: 240px;
    min-height: 52px;
    max-width: 30%;
    text-wrap: pretty;
}

.primary_link {
    color: var(--primary-black);
    font-weight: 600;
    font-size: 18px;
    line-height: 28px;
}

.primary_link:after {
    color: var(--primary-red);
    font-family: 'icomoon';
    content: "\e91d";
}

.text_links {
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: var(--primary-red);
}

.text_links:hover {
    text-decoration-line: underline;
}

input[type="radio"] {
    position: relative;
    -webkit-appearance: none;
    appearance: none;
    background-color: var(--primary-white);
    margin: 0;
    font: inherit;
    color: currentColor;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.05);
    width: 24px;
    height: 24px;
    margin-right: 10px;
    display: grid;
    place-content: center;
}

input[type="radio"]::before {
    display: block;
    position: absolute;
    content: "";
    width: 60%;
    height: 60%;
    border-radius: 50%;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    box-shadow: inset 24px 24px var(--primary-red);
    left: 20%;
    top: 20%;
}

input[type="radio"]:checked::before {
    transform: scale(1);
}

input[type="radio"]:focus {
    border: 2px solid rgba(0, 0, 0, 0.5);
}

.input-wrapper .parsley-error>div:first-child {
    border: 2px solid var(--primary-red);
}

.input-wrapper>div:first-child {
    position: relative;
    padding: 0 24px;
}

.input-wrapper>div:first-child>div:first-child {
    position: absolute;
    top: 0;
    left: 0;
    background-color: white;
    border-radius: 8px;
    height: 70px;
    width: 100%;
    box-shadow: 0px 26px 30px rgba(0, 0, 0, 0.05);
}

.input-wrapper input {
    border: none !important;
}

.input-wrapper .mt-form__input-line:after {
    border: none !important;
}

.input-wrapper .mt-form {
    height: 70px;
    padding-top: 33px !important;
}

.input-wrapper .mt-form input {
    font-weight: 300;
    height: 28px !important;
    font-size: 20px !important;
    line-height: 28px !important;
}

.form-group.form-group--lg .input-wrapper .mt-form .form-control~label {
    color: var(--primary-black);
    font-weight: 300;
    font-size: 18px;
    line-height: 28px;
}

.input-wrapper .mt-form__iconbtn {
    padding-bottom: 15px !important;
}

.input-wrapper input,
.input-wrapper input:focus {
    color: var(--primary-black);
}

.parsley-errors-list.filled {
    margin-top: 10px;
    font-weight: 600;
    font-size: 14px;
    line-height: 22px;
}

.input-wrapper .input-tips:nth-child(2) {
    margin-top: 10px;
}

.input-wrapper .input-tips {
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
}

.input-wrapper .parsley-errors-list.filled:before {
    font-family: 'icomoon' !important;
    content: "\e918";
    position: absolute;
    left: 0;
}

.select-wrapper {
    position: relative;
    text-wrap: nowrap;
}

.select-wrapper>a {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.select-wrapper>a.active~.select-wrapper-popup {
    display: unset !important;
    padding-bottom: 70px;
    position: absolute;
    z-index: 3;
    width: fit-content;
    min-width: 200px;
    top: calc(100% + 2px);
}

.select-wrapper-options {
    /*position: absolute;*/
    background-color: var(--primary-white);
    /*z-index: 3;*/
    /*width: fit-content;*/
    /*min-width: 150px;*/
    /*top: calc(100% + 2px);*/
    border-radius: 10px;
    box-shadow: 0px 0px 80px 0px rgba(0, 0, 0, 0.08);
}

.select-wrapper-options:not(:last-child) {
    border-bottom: 1px solid var(--secondary-gainsboro);
}

.select-wrapper-options>option,
.select-wrapper-options>div {
    cursor: pointer;
    padding: 8px 20px 8px 20px !important;
    font-size: 0.75rem;
    line-height: 1.5;
}

.select-wrapper-options>option:hover,
.select-wrapper-options>div:hover {
    color: var(--primary-white);
    background-color: var(--primary-blue-gray);
}

.form-group.form-group--lg .mt-form.mt-form--notempty .form-control~label,
.form-group.form-group--lg .mt-form.mt-form--labelfixed .form-control~label,
.form-group.form-group--lg .mt-form .form-control:focus:not(:disabled)~label,
.form-group.form-group--lg .mt-form select.form-control~label {
    font-weight: 300;
    font-size: 22px;
    line-height: 24px;
    margin-top: 9px;
}

.form-group.form-group--lg .mt-form input.form-control:focus:not(:disabled)~label,
.form-group.form-group--lg .mt-form select.form-control:focus:not(:disabled)~label {
    color: var(--primary-black);
}

.mt-form.mt-form--hasicon .form-control~button.mt-form__iconbtn:hover,
.mt-form.mt-form--hasicon .form-control~button.mt-form__iconbtn:focus,
.mt-form.mt-form--hasicon .form-control~button.mt-form__iconbtn.focus {
    color: var(--primary-black);
}

.mt-form.mt-form--hasicon .form-control~button.mt-form__iconbtn:not(:disabled):not(.disabled):active,
.mt-form.mt-form--hasicon .form-control~button.mt-form__iconbtn:not(:disabled):not(.disabled).active {
    color: var(--primary-black);
}

.flex-center {
    display: flex;
    justify-content: center;
}

.flex-space-between {
    display: flex;
    justify-content: space-between;
}

.flex-vertical-center {
    align-items: center;
}

.container-fluid-center {
    padding-left: 26px;
    padding-right: 26px;
    margin-left: auto;
    margin-right: auto;
}

#site-header a.utility-panel__content-btn.current {
    border-color: var(--primary-red);
}

#site-header a.utility-panel__content-btn:focus {
    outline: none;
}

#site-header a.utility-panel__content-btn:hover {
    text-decoration: none;
}

.utility-panel-close-btn {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 2rem;
    min-width: 2rem;
    height: 2rem;
    background-color: var(--primary-light-gray);
    border: none;
    border-radius: 50%;
    text-decoration: none;
    cursor: pointer;
    color: var(--primary-black);
    margin-left: 6rem;
    margin-top: 0.4rem;
}

.utility-panel-close-btn:focus {
    outline: none;
}

.utility-panel-toggle-btn.active,
.utility-panel-toggle-btn.active>span,
.utility-panel-toggle-btn.active>span>span {
    color: var(--primary-red) !important;
}

.utility-panel-toggle-btn {
    display: flex;
    align-items: center;
}

.flyout-overlay {
    content: '';
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    height: 100vh;
    background-color: var(--primary-white);
;
    opacity: .9;
    z-index: 2;
}

.utility-panel {
    display: none;
}

.utility-panel__title {
    padding-right: 50px;
    color: var(--primary-black);
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
}

.utility-panel__content {
    flex-grow: 1;
    display: flex;
}

#site-header a.utility-panel__content-btn {
    display: block;
    outline: none;
    min-width: 1rem;
    margin-right: 0.4rem;
    background: white;
    cursor: pointer;
    text-align: center;
    color: var(--primary-black);
    font-weight: 500;
    font-size: 16px;
    line-height: 28px;
    border: 2px solid var(--primary-blue-gray);
    border-radius: 52px;
    padding: 8px 24px;
}

.flex-100 {
    flex-basis: 100px !important;
}

.flex-150 {
    flex-basis: 150px !important;
}

.flex-200 {
    flex-basis: 200px !important;
}

.flex-250 {
    flex-basis: 250px !important;
}

.flex-300 {
    flex-basis: 300px !important;
}

.flex-550 {
    flex-basis: 550px !important;
}

.flex-gap {
    gap: 10px;
}

.flex-gap2 {
    gap: 20px;
}

.flex-gap-30 {
    gap: 30px;
}

.flex-gap-40 {
    gap: 40px;
}

.flex-gap-40-20 {
    gap: 40px 20px;
}

.w-100 {
    width: 100% !important;
}

.pointer {
    cursor: pointer;
}

.accNewView_item {
    padding: 8px 20px 8px 20px !important;
    font-size: 0.75rem;
    line-height: 1.5;
}

/** pagination **/

#site-main .pagination a.btn {
    margin: 0px 8px;
    padding: 10px;
    height: 40px;
    line-height: 20px;
    font-size: 18px;
    min-width: 40px;
    border-radius: 8px;
    border: 1px solid var(--secondary-philippine-silver);
    background-color: var(--primary-white);
}

#site-main .pagination a.btn,
#site-main .pagination a.btn>span {
    color: var(--secondary-prudential-gray);
}

#site-main .pagination a.btn.disabled {
    border-color: var(--secondary-dark-grey);
    background-color: var(--secondary-cultured);
}

#site-main .pagination a.btn.disabled,
#site-main .pagination a.btn.disabled>span {
    color: var(--secondary-dark-grey);
}

.pagination span {
    margin: 0;
}

.pagination input.form-control {
    margin: 0;
    padding: 8px 15px;
    width: 40px;
    height: 40px;
    text-align: center;
    color: var(--primary-black);
    display: inline-block;
    border-radius: 8px;
    border: 1px solid var(--secondary-philippine-silver);
}

/** dropdown **/

.dropDownList .dropDownListHeader {
    height: 70px;
    padding: 23px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1 0 0;
    background: var(--primary-white);
    border: none;
    border-radius: 8px;
    box-shadow: 0px 26px 30px 0px rgba(0, 0, 0, 0.05);
}

.dropDownListHeader .text {
    font-size: 20px;
    font-weight: 300;
    line-height: 28px;
}

.dropDownListHeader .icon {
    color: var(--secondary-dark-blue);
}

.dropDownList.active .dropDownListHeader {
    display: flex;
    border: none !important;
    border-radius: 8px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    background: var(--primary-white);
}

.dropDownList .dropDownContent {
    border: none !important;
    border-radius: 0 0 8px 8px;
    background: var(--primary-white);
    z-index: 998;
    position: absolute;
    width: 100%;
    top: 70px;
    box-sizing: border-box;
    overflow: hidden;
    box-shadow: 0px 0px 80px 0px rgba(0, 0, 0, 0.08);
}

.dropDownList .dropDownContent ul {
    padding-left: 0;
}

.dropDownList .dropDownContent ul li {
    font-size: 16px;
    line-height: 24px;
    border-top: 1px solid var(--secondary-gainsboro);
}

.dropDownList .dropDownContent ul li a {
    padding: 20px 24px;
    color: var(--parimary-black) !important;
}

@media only screen and (min-width: 992px) {
    #site-header a.utility-panel__content-btn {
        margin-right: 32px;
    }

    .mobile-only {
        display: none;
    }

    .desktop-only {
        display: block;
    }

    h1 {
        font-weight: 300;
        font-size: 48px;
        line-height: 60px;
    }

    h2 {
        font-weight: 300;
        font-size: 38px;
        line-height: 48px;
    }

    h3 {
        font-weight: 300;
        font-size: 30px;
        line-height: 40px;
    }

    h4 {
        font-weight: 300;
        font-size: 24px;
        line-height: 34px;
    }

    h5 {
        font-weight: 300;
        font-size: 20px;
        line-height: 28px;
    }

    .font-regular-large {
        font-weight: 400;
        font-size: 18px;
        line-height: 28px;
    }

    .font-semi-bold-small {
        font-weight: 600;
        font-size: 14px;
        line-height: 22px;
    }

    .container-fluid-center {
        max-width: 1200px;
        padding-left: 17px;
        padding-right: 17px;
    }

    .utility-panel {
        display: flex;
        overflow: hidden;
        font-size: 20px;
        padding: 0 20px;
    }

    .utility-panel-container,
    .nav-panel-container {
        display: none;
        position: absolute;
        background-color: white;
        -webkit-box-shadow: 0 0 16rem rgba(0, 0, 0, .1);
        box-shadow: 0 0 16rem rgba(0, 0, 0, .1);
        border-top: 0.1rem solid var(--primary-blue-gray);
        width: 100%;
        z-index: 3;
        top: 100%;
    }

    .flex-desktop {
        display: flex;
    }
}

/*@media only screen and (min-width: 1300px) {*/

/*    .container-fluid-center {*/

/*        max-width: 1200px;*/

/*        margin-left: auto;*/

/*        margin-right: auto;*/

/*    }*/

/*}*/

@media only screen and (max-width: 991px) {
    .inline-desktop {
        display: block;
    }

    .desktop-only {
        display: none !important;
    }

    .font-semi-bold-regular-mobile {
        font-size: 16px;
        font-weight: 600;
        line-height: 24px;
    }

    .font-regular-medium-mobile {
        font-size: 16px;
        font-weight: 400;
        line-height: 24px;
    }

    .font-regular-small-mobile {
        font-size: 14px;
        font-weight: 400;
        line-height: 22px;
    }

    .font-regular-x-small-mobile {
        font-size: 12px;
        font-weight: 400;
        line-height: 18px;
    }

    .font-bold-large-mobile {
        font-size: 18px;
        font-weight: 700 !important;
        line-height: 28px;
    }

    .text-right-mobile {
        text-align: right;
    }

    .align-self-end-mobile {
        align-self: end;
    }

    .flex-full-mobile {
        flex-basis: 100% !important;
    }

    .flex-half-mobile {
        flex-basis: calc(50% - 10px) !important;
    }

    .flex-none-mobile {
        flex-basis: 0 !important;
    }

    .flex-mobile {
        display: flex;
    }

    .flex-column-mobile {
        flex-direction: column;
    }

    .flex-column-reverse-mobile {
        flex-direction: column-reverse;
    }

    .primary_button_inline_mobile {
        padding: 6px 24px;
        border-radius: 36px;
        font-size: 12px;
        line-height: 18px;
    }

    .primary_button, .secondary_button {
        width: 100%;
        height: auto;
        font-size: 12px;
        line-height: 18px;
        padding: 6px 24px;
        min-width: unset;
        min-height: unset;
        max-width: unset;
    }
}