/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 2020年10月7日, 上午10:49:33
    Author     : Joan
*/

body {
    font-family: Arial, "Microsoft JhengHei", sans-serif;
    line-height: 1.5rem;
    font-size: 1rem;
    color: #212121;
    background-color: #f5f5f5;
}

a {
    text-decoration: none;
    color: #212121;
}

a:hover {
    color: #00508f;
}

ul {
    list-style: none;
}

input::placeholder {
    color: #bdbdbd;
}

.wrap {
    /*    width: 1366px;
        margin: auto;*/
    padding-left: 1rem;
    padding-right: 1rem;
}

.header {
    position: relative;
}

.top-outer {
    background-color: hsla(0, 0%, 100%, 0.6);
    box-shadow: 0px 0px 4px #bdbdbd;
    margin-bottom: 1rem;
}

.top-area {

}

.top-area::after, .mobile-form::after {
    content: '';
    display: block;
    clear: both;
}

.logo {
    float: left;
    margin-top: 0.625rem;
    margin-bottom: 0.625rem;
}

.logo__img {
    display: none;
}

.header-right {
    float: right;
    color: #757575;
    padding: 0.625rem 0;
}

.hamburger-area {
    line-height: 90px;
}

.hamburger-btn {
    border: none;
    background-color: transparent;
    font-size: 2rem;
    color: #212121;
}

.menu-area {
    display: none;
}

.menu {
    /*padding-left: 1rem;*/
    font-size: 1.25rem;
    font-weight: bold;
    /*    margin-top: 0;*/
    margin-bottom: 0;
}

.menu__item {
    display: inline-block;
    margin-right: 2rem;
    text-align: center;
}

.menu__item:last-child {
    margin-right: 0;
}

.mobile-menu-area {
    /*    position: absolute;
        top: 110px;*/
    background-color: #ffffff;
    width: 100%;
    /*box-shadow: 0 4px 4px hsla(0, 0%, 50%, 40%);*/
    padding: 1rem;
    box-sizing: border-box;
    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;
}

.mobile-menu {
    padding-left: 0;
    font-size: 1.25rem;
    font-weight: bold;
}

.mobile-menu__item {
    margin-bottom: 1rem;
    line-height: 2.625rem;
}

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

.mobile-left-block {
    float: left;
    max-width: 50%;
}

.mobile-right-block {
    float: right;
    line-height: 1rem;
    text-align: center;
}

.mobile-menu-block {
    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.mobile-links {
    /*    border-top: 1px solid #eeeeee;
        padding-top: 1rem;*/
    margin-top: 0;
    margin-bottom: 0;
    padding-left: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.mobile-links__item {
    line-height: 1rem;
    text-align: center;
    padding: 0 0.5rem;
}

.mobile-en {
    font-size: 0.875rem;
    color: #bdbdbd;
}

.mobile-submenu {
    font-size: 1.125rem;
}

.submenu-outer {
    display: none;
}

.submenu-area {
    padding: 1rem 2rem 0;
}

.container {
    padding: 1rem;
}

.submenu-area, .container {
    background-color: #ffffff;
    border-radius: 10px;
    box-sizing: border-box;
}

.heading {
    border-left: 4px solid #28bfb8;
    padding-left: 0.375rem;
    margin: 0;
}


.heading2 {
    text-align: center;
}

.heading-en, .heading2-en {
    font-size: 1.25rem;
}


.submenu {
    list-style-type: disc;
    overflow: hidden;
    padding-left: 0;
    font-size: 1.125rem;
    margin: 1rem 0 0;
}

.submenu__item {
    float: left;
    margin: 0 1rem 0.625rem 2rem;
}

footer {
    color: #757575;
    text-align: right;
}

footer a {
    color: #757575;
}

.links {
    display: none;
}

.links__item {
    display: inline-block;
    border-left: 1px solid #bdbdbd;
    padding: 0 0.375rem;
    margin-bottom: 0.375rem;
}

.links__item:first-child {
    border-left: none;
}

/* basic page */
/*.basic-wrap {
    width: 60%;
    margin: auto;
}*/

.basic-container {
    /*    width: 50%;
        margin: auto;*/
}

.en {
    color: #757575;
    font-size: 0.875rem;
}

.en a, .en a:hover {
    color: #757575;
}

/* terms page & privacyPolicy page */
.terms-area ul, .privacy-area ul {
    list-style: disc;
}

.terms-area li, .privacy-area li, .login-area__news li {
    margin-bottom: 1rem;
}

.terms-area ul ol, .terms-area ul ul, .terms-area ol ul,
.privacy-area ul ol, .privacy-area ul ul, .privacy-area ol ul {
    margin-top: 0.625rem;
}

.login-wrap {
    padding: 1rem;
}

.toggle-btn-area {
    text-align: right;
    display: none;
}

.news-toggle-btn {
    border: 1px solid #bdbdbd;
    color: #757575;
    border-radius: 5px;
    padding: 0.3125rem;
    background-color: #f5f5f5;
    margin-bottom: 1rem;
}

.login-area__news, .login-area__field {
    box-sizing: border-box;
}

.login-area__news a {
    color: #00508f;
    word-break: break-word;
}

.login-area__news-block {
    /*display: none;*/
}

.login-area__news_open .login-area__news-block {
    display: block;
}

.r-search__item {
    margin-bottom: 0.625rem;
}

.r-search__item:last-child {
    text-align: center;
}

.r-search__input, .r-search__btn .ui-button-text {
    line-height: 1.5rem;
}

.r-search__input {
    width: 100%;
    box-sizing: border-box;

}

.r-search__btn .ui-button-text {
    padding: 0.5rem 1rem;
}

.r-tab {
    text-align: center;
    padding: 1rem 0;
}

.r-tab__link {
    padding: 0.5rem;
    border-radius: 5px;
    display: inline-block;
    background-color: #eeeeee;
    margin-bottom: 0.5rem;
}

.r-tab__link:hover {
    background-color: #9e9e9e;
    color: #ffffff;
}

.calendar {
    margin: 2rem 0 4rem;
}

.calendar__title-text {
    background: linear-gradient(to top, #b0e2e0 50%, transparent 50%);
}

.calendar__month {
    background-color: #f5f5f5;
    padding: 0.625rem 1rem;
    overflow: hidden;
    margin-bottom: 1rem;
    margin-top: 1rem;
    font-weight: bold;
}

.calendar__month-link {
    width: 100%;
    display: block;
}

.calendar__month-link:hover {
    color: #212121;
}

.calendar__month-icon {
    float: right;
    line-height: 1.5rem;
}

.calendar__toolbar {
    margin-top: 1rem;
    text-align: right;
}

.calendar__toolbar .ui-state-hover {
    background-color: #9e9e9e;
    color: #ffffff;
    border: 1px solid #9e9e9e;
}

.calendar__last-month, .calendar__current-month {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    margin-right: -1px;
}

.calendar__next-month, .calendar__two-weeks {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;

}

.calendar__next-month {
    margin-right: 0.3125rem;
}

.timeline-desc {
    padding-left: 0;
    font-size: 0.875rem;
    padding: 0.5rem;
    text-align: right;
    display: none;
}

.mob-timeline-desc {
    padding-left: 0;
    font-size: 0.875rem;
    border: 2px solid #f5f5f5;
    border-radius: 5px;
    padding: 0.5rem;
}

.timeline-desc__item, .mob-timeline-desc__item {
    display: inline-block;
    padding-right: 1rem;
}

.timeline-desc__item::before {
    content: "";
    display: inline-block;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 25%;
    box-sizing: border-box;
    margin-right: 0.3125rem;
}

.timeline-desc__item_cold::before {
    background-color: #daf1f0;
}

.timeline-desc__item_sinica::before {
    background-color: #cce2f3;
}

.timeline-desc__item_non-sinica::before {
    background-color: #f0d4f5;
}

.timeline-desc__item_group::before {
    background-color: #c4e5bf;
}

.timeline-desc__item_no-open::before {
    background-color: #e7e7e7;
}

.calendar__date {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    margin-top: 1rem;
}

.calendar__week {
    font-weight: bold;
}

.calendar__week, .calendar__day {
    flex: 0 0 calc(100% / 7);
    max-width: calc(100% / 7);
    text-align: center;
    box-sizing: border-box;
}

.calendar__day {
    padding-bottom: 0.625rem;
}

.calendar__day-item {
    display: none;
}

.mob-calendar__day-link, .calendar__day-text {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    line-height: 2rem;
}

.mob-calendar__day-link:hover {
    color: #212121;
}

.calendar__selected-date {
    background-color: #00508f;
    color: #ffffff;
    border-radius: 50%;
}

.calendar__selected-date:hover {
    color: #ffffff;
}

.mob-timeline-desc__item::before {
    content: "";
    display: inline-block;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    box-sizing: border-box;
    margin-right: 0.3125rem;
}

.mob-timeline-desc__item_cold::before, .mob-timeline__identity_cold::before {
    border: 3px solid #daf1f0;
}

.mob-timeline-desc__item_sinica::before, .mob-timeline__identity_sinica::before {
    border: 3px solid #cce2f3;
}

.mob-timeline-desc__item_non-sinica::before, .mob-timeline__identity_non-sinica::before {
    border: 3px solid #f0d4f5;
}

.mob-timeline-desc__item_group::before, .mob-timeline__identity_group::before {
    border: 3px solid #c4e5bf;
}

.mob-timeline-desc__item_no-open::before, .mob-timeline__identity_no-open::before {
    border: 3px solid #e7e7e7;
}

.mob-timeline {
    padding-left: 0;
}

.mob-timeline__item {
    display: flex;
    flex-wrap: wrap;
}

.mob-timeline__time {
    flex: 0 0 24%;
    max-width: 24%;
}

.mob-timeline__content {
    flex: 0 0 76%;
    max-width: 76%;
    border-left: 2px solid #e0e0e0;
    position: relative;
    box-sizing: border-box;
    padding-left: 1.25rem;
    padding-bottom: 1rem;
}

.mob-timeline__identity::before {
    content: "";
    position: absolute;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background-color: #ffffff;
    display: block;
    left: -0.5rem;
    box-sizing: border-box;
    top: 0.1875rem;
}

.calendar__detail {
    padding-left: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}

.calendar__detail-item {
    box-sizing: border-box;
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0.125rem 0.3125rem;
    white-space: nowrap;
}


.timeline__identity {
    /*display: inline-block;*/
    width: 100%;
    border-radius: 3px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.timeline__identity_cold {
    background-color: #daf1f0;
}

.timeline__identity_no-open {
    background-color: #e7e7e7;
}

.timeline__identity_group {
    background-color: #c4e5bf;
}
.timeline__identity_non-sinica {
    background-color: #f0d4f5;
}
.timeline__identity_sinica {
    background-color: #cce2f3;
}

.timeline__rez-link {
    width: 100%;
    display: block;
}

.timeline__rez-link:hover {
    color: #212121;
}

.res-ins__left-block {
    border-bottom: 1px dashed #e0e0e0;
}

.res-ins__left-block_com {
    display: none;
}

.res-ins__item/*, .res-com__item */{
    margin-bottom: 1rem;
    min-height: 4rem;
}

.res-ins__item_text p {
    margin: 0;
}

.res-ins__item_text ul {
    list-style-type: disc;
    margin: 0.25rem 0;
}

.res-ins__item_text ol {
    margin: 0.25rem 0;
}

.res-ins__tilde {
    line-height: 2.5rem;
    padding-right: 0.375rem;
    padding-left: 0.125rem;
}

.res-date-list {
    list-style-type: disc;
}

.res-date-list__item {
    margin-bottom: 0.625rem;
}



.rtable__thead {
    display: none;
}

.rtable__tr {
    margin-bottom: 1rem;
    border: 1px solid #f5f5f5;
    padding: 0.5rem;
    box-shadow: 0 0 6px #f5f5f5;
}

.rtable__td {
    padding-bottom: 0.5rem;
}

.rtable__td::before {
    content: attr(data-title);
    display: block;
    font-weight: bold;
    color: #00508f;
    /*font-size: 1.125rem;*/
}

.rtable__list {
    margin: 0;
    padding-left: 0;
}

.title-en {
    font-size: 0.875em;
    /*color: #757575;*/
    color: #bdbdbd;
}

.form-label {
    font-weight: bold;
}

.form-label .en {
    font-weight: normal;
}

.form-value {
    margin-top: 0.5rem;
}

.my-clock {
    color: #757575;
}

.flex-col-sm {
    flex: 0 0 100%;
    max-width: 100%;
}

/* 688px */
@media (min-width: 43em) {
    .container {
        padding: 1rem 2rem;
    }

    /*    .r-search {
            max-width: 800px;
            margin: auto;
        }
    
        .r-search__item {
            display: inline-block;
        }
    
        .r-search__item:first-child {
            vertical-align: top;
        }
    
        .r-search__item:not(:last-child) {
            margin-right: 1rem;
        }*/
}

/* 992px */
@media (min-width: 62em) {
    .container {
        padding: 1rem 2rem;
    }

    .login-wrap, .wrap {
        padding-left: 3rem;
        padding-right: 3rem;
    }

    .login-area {
        display: flex;
        flex-wrap: wrap;
    }

    .login-area__news {
        padding-right: 2rem;
        flex: 0 0 60%;
        max-width: 60%;
    }

    .login-area__field {
        flex: 0 0 40%;
        max-width: 40%;
    }

    .toggle-btn-area {
        display: none;
    }

    .login-area__news-block {
        /*display: block;*/
    }

    .logo__img {
        display: inline;
    }

    .logo__mobile-img, .hamburger-area, .mobile-menu-area {
        display: none;
    }

    .menu-area, .links, .submenu-outer {
        display: block;
    }

    .r-search-wrap {
        display: flex;
        justify-content: center;
    }

    .r-search {
        /*        max-width: 900px;
                margin: auto;*/
    }

    .r-search__item {
        display: inline-block;
    }

    .r-search__item:first-child {
        vertical-align: top;
    }

    .r-search__item:not(:last-child) {
        margin-right: 1rem;
    }

    .timeline-desc, .calendar__day-item {
        display: block;
    }

    .mob-calendar__detail, .mob-calendar__day-item {
        display: none;
    }

    .calendar__week {
        background-color: #eeeeee;
    }

    .calendar__week, .calendar__day {
        border: 1px solid #e0e0e0;
        margin: -1px 0 0 -1px;
    }

    .calendar__day {
        padding-top: 0.625rem;
    }

    .res-ins {
        display: flex;
        flex-wrap: wrap;
    }

    .res-ins__left-block {
        max-width: 50%;
        flex: 0 0 50%;
        border-bottom: none;
        padding-right: 4rem;
        box-sizing: border-box;
    }

    .res-ins__right-block {
        max-width: 50%;
        flex: 0 0 50%;
    }

    .res-ins__left-block_com {
        display: block;
    }

    .rtable {
        display: flex;
        flex-wrap: wrap;
    }

    .rtable__thead {
        display: block;
        background-color: #E0E0E0;
        width: 100%;
        font-weight: bold;
        text-align: center;
    }

    .rtable__tr {
        display: flex;
        margin-bottom: 0;
        border: none;
        padding: 0;
        box-shadow: none;
    }

    .rtable__tr:nth-child(even) {
        background-color: #f5f5f5;
    }

    .rtable__align {
        text-align: center;
    }

    .rtable__td {
        box-sizing: border-box;
        flex-grow: 1;
        padding: 0.625rem;
    }

    .rtable__td::before {
        display: none;
    }

    .rtable__tbody {
        width: 100%;
    }



    /* Table column sizing */
    .rtable__col5 {
        width: 5%;
    }

    .rtable__col10 {
        width: 10%;
    }

    .rtable__col15 {
        width: 15%;
    }

    .rtable__col20 {
        width: 20%;
    }

    .rtable__col25 {
        width: 25%;
    }

    .rtable__col30 {
        width: 30%;
    }

    .rtable__col35 {
        width: 35%;
    }

    .rtable__col40 {
        width: 40%;
    }

    .rtable__col45 {
        width: 45%;
    }

    .rtable__col50 {
        width: 50%;
    }

    .rtable__col55 {
        width: 55%;
    }

    .rtable__col60 {
        width: 60%;
    }

    .rtable__col65 {
        width: 65%;
    }

    .rtable__col70 {
        width: 70%;
    }

    .rtable__col75 {
        width: 75%;
    }

    .rtable__col80 {
        width: 80%;
    }

    .rtable__col85 {
        width: 85%;
    }

    .rtable__col90 {
        width: 90%;
    }
}

/* 1312px */
@media (min-width: 82em) {
    .container {
        padding: 1rem 2rem;
    }

    .login-wrap, .wrap {
        padding-left: 10%;
        padding-right: 10%;
    }

    .login-area {
        display: flex;
        flex-wrap: wrap;
    }

    .login-area__news {
        padding-right: 4rem;
        flex: 0 0 66%;
        max-width: 66%;
    }

    .login-area__field {
        flex: 0 0 34%;
        max-width: 34%;
    }

    .toggle-btn-area {
        display: none;
    }

    .login-area__news-block {
        /*display: block;*/
    }

    .basic-container {
        width: 50%;
        margin: auto;
    }

    .logo__img {
        display: inline;
    }

    .logo__mobile-img, .hamburger-area, .mobile-menu-area {
        display: none;
    }

    .menu-area, .links, .submenu-outer {
        display: block;
    }

    .r-search-wrap {
        display: flex;
        justify-content: center;
    }

    .r-search {
        /*        max-width: 900px;
                margin: auto;*/
    }

    .r-search__item {
        display: inline-block;
    }

    .r-search__item:first-child {
        vertical-align: top;
    }

    .r-search__item:not(:last-child) {
        margin-right: 1rem;
    }

    .timeline-desc, .calendar__day-item {
        display: block;
    }

    .mob-calendar__detail, .mob-calendar__day-item {
        display: none;
    }

    .calendar__week {
        background-color: #eeeeee;
    }

    .calendar__week, .calendar__day {
        border: 1px solid #e0e0e0;
        margin: -1px 0 0 -1px;
    }

    .calendar__day {
        padding-top: 0.625rem;
    }

    .res-ins {
        display: flex;
        flex-wrap: wrap;
    }

    .res-ins__left-block {
        max-width: 50%;
        flex: 0 0 50%;
        border-bottom: none;
        padding-right: 4rem;
        box-sizing: border-box;
    }

    .res-ins__right-block {
        max-width: 50%;
        flex: 0 0 50%;
    }

    .res-ins__left-block_com {
        display: block;
    }

    /*    .res-com {
            margin: auto;
            width: 60%;
        }
    
        .res-com__item-wrap {
            display: flex;
            flex-wrap: wrap;
        }
    
        .res-com__item {
            flex: 0 0 50%;
            max-width: 50%;
            padding-right: 1rem;
            box-sizing: border-box;
        }*/

    .rtable {
        display: flex;
        flex-wrap: wrap;
    }

    .rtable__thead {
        display: block;
        background-color: #E0E0E0;
        width: 100%;
        font-weight: bold;
        text-align: center;
    }

    .rtable__tr {
        display: flex;
        margin-bottom: 0;
        border: none;
        padding: 0;
        box-shadow: none;
    }

    .rtable__tr:nth-child(even) {
        background-color: #f5f5f5;
    }

    .rtable__align {
        text-align: center;
    }

    .rtable__td {
        box-sizing: border-box;
        flex-grow: 1;
        padding: 0.625rem;
    }

    .rtable__td::before {
        display: none;
    }

    .rtable__tbody {
        width: 100%;
    }

    .flex-col-sm {
        flex: 0 1 auto;
    }

    /* Table column sizing */
    .rtable__col5 {
        width: 5%;
    }

    .rtable__col10 {
        width: 10%;
    }

    .rtable__col15 {
        width: 15%;
    }

    .rtable__col20 {
        width: 20%;
    }

    .rtable__col25 {
        width: 25%;
    }

    .rtable__col30 {
        width: 30%;
    }

    .rtable__col35 {
        width: 35%;
    }

    .rtable__col40 {
        width: 40%;
    }

    .rtable__col45 {
        width: 45%;
    }

    .rtable__col50 {
        width: 50%;
    }

    .rtable__col55 {
        width: 55%;
    }

    .rtable__col60 {
        width: 60%;
    }

    .rtable__col65 {
        width: 65%;
    }

    .rtable__col70 {
        width: 70%;
    }

    .rtable__col75 {
        width: 75%;
    }

    .rtable__col80 {
        width: 80%;
    }

    .rtable__col85 {
        width: 85%;
    }

    .rtable__col90 {
        width: 90%;
    }
}
