/*base setting*/
body {
    font-family: 'Noto Sans TC';
    background-color: #F6F6FA;
}

.iti--allow-dropdown .iti__country-container {
    left: 12px !important;
}

.g-recaptcha > div {
    margin: 0 auto;
}

.hide {
    display: none !important;
}

.mobile {
    display: none;
}

@media screen and (max-width: 960px) {
    .desktop {
        display: none;
    }

    .mobile {
        display: block !important;
    }
}

/*bg theme*/
.bg-primary50 {
    background-color: #F6F6FA;
}

/*typography*/

.subtitle1 {
    font-weight: 500;
    font-size: 19px;
    line-height: 28px;
    letter-spacing: 0.0015em;
}

.subtitle2 {
    font-weight: 500;
    font-size: 16px;
    line-height: 23px;
    letter-spacing: 0.001em;
}

.body1 {
    font-weight: 400;
    font-size: 16px;
    line-height: 23px;
    letter-spacing: 0.005em;
}

.body2 {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.0025em;
}

.caption {
    font-weight: 400;
    font-size: 12px;
    line-height: 17px;
    letter-spacing: 0.004em;
}

.overline {
    font-weight: 400;
    font-size: 10px;
    line-height: 14px;
    letter-spacing: 0.015em;
}

.btn-text {
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.0125em;
}

/*header*/
.header {
    padding: 16px;
    background-color: #ffffff;
}

.navbar-brand {
    width: 160px;
}

.nav-link {
    text-decoration-line: none;
    color: #405DA2;
}

.nav-link:hover {
    text-decoration-line: none;
    color: #405DA2;
    opacity: 80%;
}

.dropdown-top-border {
    margin-top: 4px;
    padding-top: 8px;
    border-top: 1px solid #E5E5E5;
}

.dropdown-item {
    color: #405DA2;
}

.dropdown-item:hover {
    color: #405DA2;
    background-color: #ffffff;
    opacity: 80%;
}

/*footer*/
.footer {
    background-color: #181818;
    color: #FFFFFF;
    width: auto;
    padding: 20px 6vw;
}

.footer__link {
    color: #FFFFFF;
}

.footer__link:hover {
    color: #FFFFFF;
    opacity: 80%;
}

/*btn*/
.btn-line {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 8px 0px;
    gap: 8px;
    border: 1px solid #3A5DAE;
    border-radius: 4px;
    color: #3A5DAE;
}

.btn-line:hover {
    color: #3A5DAE;
    opacity: 80%;
}

.btn-mobile-link {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: #FFFFFF;
    border-bottom: 1px solid #F1F0F6;
    color: #181818;
}

.btn-mobile-link__title {
    margin-top: 24px;
    margin-bottom: 16px;
    color: #606060;
}

.btn-mobile-link:hover {
    color: #181818;
    background: #FAFAFC;
}

@media screen and (max-width: 960px) {
    .btn-mobile-link__title {
        padding-left: 8px;
    }
}

/*popup*/
.popup-mask {
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    display: none;
    z-index: 9999;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
}

.popup {
    max-width: 600px;
    width: 70%;
    position: fixed;
    transform: translate(-50%, -50%);
    left: 50%;
    top: 50%;
    background: #FFFFFF;
    padding: 30px;
    border-radius: 4px;
    text-align: center;
}

.popup__title {
    color: #192464;
    margin-bottom: 16px;
}

.popup__content {
    color: #606060;
    margin-bottom: 16px;
}
