body {
    margin: 0;
}

body.logining {
    position: fixed;
    left: 0;
    width: calc(100% - 16px);
}

.logining .header,
.logining .login_frame,
.logining .branch_campus_frame,
.logining .link_frame {
    padding-right: 16px !important;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.9);
    z-index: 999999;
}

.header img {
    height: 35px;
}

.header + * {
    margin-top: 85px;
}

.header .wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.header_front {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

ul.nav_main {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    top: 730px;
}

ul.nav_main > li {
    position: relative;
    font-size: 18px;
    line-height: 55px;
    font-weight: 400;
}

ul.nav_main > li a {
    cursor: pointer;
}

ul.nav_main > li + li {
    margin-left: 25px;
}

ul.nav_MB {
    display: none;
}

.footer {
    padding: 25px 15px;
    background: #AA0B09;
}

.copyright {
    margin: 0;
    padding: 0px 0px 0px 0px;
    text-align: center;
}

.copyright p {
    font-size: 14px;
    padding: 15px 0px 0px 0px;
    color: #ffffff;
    text-align: center;
}

/**comm**/

input[type="button"]:active {
    outline: none;
    border: none;
}

input, select {
    height: 50px;
    border: 0;
    border-radius: 5px;
    line-height: 50px;
    padding: 0 15px !important;
    background: #f2f2f2;
}

input, select {
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
}


* {
    box-sizing: border-box;
}
 
*:focus {
    outline: 0 !important;
}

a:hover{
    text-decoration: none !important;
}

h2 {
    font-size: 28px;
    line-height: 40px;
    letter-spacing: 0.5px;
}

h3 {
    letter-spacing: 0.5px;
}

p {
    font-size: 18px;
    line-height: 26px;
    text-align: justify;
}

p + p {
    margin-top: 15px;
}

.button {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: center;
    width: 100%;
    height: 40px;
    font-size: 16px;
    line-height: 20px;
    border-radius: 5px;
    color: #fff;
    transition: .3s;
    cursor: pointer;
}

.button.visible:before {
    display: none;
}

.button_radius {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: center; 
    min-width: 150px;
    height: 40px;
    padding: 0 25px;
    font-size: 16px;
    line-height: 20px;
    border-radius: 50px;
    color: #fff;
    transition: .3s;
    cursor: pointer;
    overflow: hidden;
}

.button_content {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.button:before {
    position: absolute;
    top: 0;
    left: 0;
    content: '';
    width: 0;
    height: 100%;
    border-radius: 5px;
    transition: .3s;
}

.button_radius:before {
    position: absolute;
    top: 0;
    left: 0;
    content: '';
    width: 0;
    height: 100%;
    border-radius: 50px;
    transition: .3s;
}

.button:hover:before {
    width: 100%;
}

.button_radius:hover:before {
    width: 100%;
}



input[type='checkbox'], input[type='radio'] {
    display: none;
}

label.point {
    display: inline-block;
    width: 25px;
    height: 25px;
    margin-right: 10px;
    border: #e4e4e4 5px solid;
    border-radius: 20px;
    background: #e4e4e4;
}

input[type='checkbox']:checked + label.point {
    background: #ff954d !important;
}

label.include,.forget>label {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: auto;
    transition: .2s;
}

label.include:hover {
    color: #aaa;
}

    label.include:before, .forget>input[type='checkbox'] + label:before {
        content: '';
        display: block;
        width: 15px;
        height: 15px;
        margin-right: 10px;
        border: #e4e4e4 5px solid;
        border-radius: 20px;
        background: #e4e4e4;
    }

input[type='checkbox']:checked + label.include:before, .forget> input[type='checkbox']:checked + label:before, input[type='radio']:checked + label:before {
    background: #ff954d !important;
}

.step_title_select {
    flex-direction: row;
    justify-content: space-between;
}

.step_title {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.subtitle {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 24px;
    font-weight: 700;
    line-height: 25px;
    padding: 2.5px 0 2.5px 15px;
}

.subtitle:before {
    content: '';
    position: absolute;
    top: 2.5px;
    left: 0px;
    width: 5px;
    height: calc(100% - 2px);
    border-radius: 5px;
    background-color: #B61E57;
}

.step_title select {
    background: url(../images/down2.svg) center right no-repeat;
    background-size: 25px;
    padding-right: 50px !important;
    border: #e4e4e4 1px solid;
}

.button_area {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 50px;
}
    .button_area a + a {
        margin-left: 25px;
    }


/**登入註冊**/

.account_table {
    width: 100%;
}

.show_box_small input, .show_box_small select {
    width: 100%;
    margin-bottom: 15px;
    border-radius: 5px;
    height: 40px;
}



/**show**/

/*.show_area {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
}*/

.back_white {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background: rgba(255,255,255,.75);*/
    z-index: 99999;
}

.show_box_area {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.show_box {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: calc( 100% - 20px );
    padding: 50px;
    margin: 0 10px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 5px rgba(0,0,0,0.25);
    z-index: 9999999;
}

.show_box > img {
    max-width: 100px;
    margin-bottom: 25px;
}

/***2021-01-13更新開始***/

.show_box h2 {
    width: 100%;
    padding: 12.5px;
    text-align: center;
}

/***2021-01-13更新結束***/

.show_box_small h2 {
    color: #ff954d;
    font-weight: 400;
}

.show_box h2 span {
    font-weight: 100;
}

.show_box_small {
    max-width: 450px;
}

.close_button {
    position: absolute;
    top: 20px;
    right: 15px;
    width: 15px;
    cursor: pointer;
}

.show_box_medium {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 650px;
    padding: 25px;
    margin: 0 auto;
    background: #fff;
    z-index: 9999999;
}

.wrapper_crossover .show_box_medium {
    padding: 5px;
    z-index: 1;
}

.wrapper_crossover .show_box_medium .button_area {
    margin: 35px 0px;
}

.show_box_big {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1024px;
    padding: 25px;
    margin: 0 auto;
    background: #fff;
    z-index: 9999999;
}


@media screen and (max-width: 1023px) {

    .logining .header,
    .logining .login_frame,
    .logining .branch_campus_frame,
    .logining .link_frame {
        padding-right: 0px !important;
    }

    .header {
        padding: 17.5px 0;
    }

    .header + * {
        margin-top: 65px;
    }

    .header img {
        height: 30px;
    }

    .header .wrapper {
        justify-content: space-between;
    }

    ul.nav_main {
        position: fixed;
        top: 60px;
        left: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        height: 0;
        padding: 0 25px;
        background: #f2f2f2;
        overflow: scroll;
        transition: .3s;
    }

    ul.nav_main > li {
        width: 100%;
        padding: 0 15px;
        margin: 0 !important;
    }

    ul.nav_main > li + li {
        border-top: #ddd 1px solid;
    }

    .content6_list_area_item:last-child {
        border-top: none;
    }

    ul.nav_main > li .login_button {
        display: flex;
        width: 100%;
        justify-content: center;
        height: 36px;
        line-height: 18px;
        margin-top: 25px;
    }

    ul.nav_main.show {
        top: 55px;
        height: calc(100% - 55px);
        padding: 25px 25px 0;
        border-top: #fff 5px solid;
    }

    ul.nav_MB {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
    }

    ul.nav_MB li {
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        line-height: 50px;
        width: 25px;
    }

    .open {
        position: relative;
        width: 100%;
        height: 24px;
        border-radius: 2px;
        background: #B61E57;
        transition: .3s;
        border-top: #fff 11px solid;
        border-bottom: #fff 11px solid;
    }

    .open.show {
        background: #fff;
    }

    .open:before {
        content: '';
        position: absolute;
        top: -8px;
        width: 100%;
        height: 2px;
        border-radius: 2px;
        background: #B61E57;
        transform: rotate(0deg);
        transition: .3s;
    }

    .open.show:before {
        top: 0;
        transform: rotate(-135deg);
    }

    .open:after {
        content: '';
        position: absolute;
        bottom: -8px;
        width: 100%;
        height: 2px;
        border-radius: 2px;
        background: #B61E57;
        transform: rotate(0deg);
        transition: .3s;
    }

    .open.show:after {
        bottom: 0;
        transform: rotate(135deg);
    }
  
    .footer {
        padding: 25px 0px;
    }

    .copyright {
        text-align: left;
    }

    .copyright p {
        text-align: left;
        font-size: 12px;
        line-height: 20px;
    }

    .step_title {
        flex-direction: column;
        align-items: flex-start;
    }

    .step_title select {
        width: 100%;
        /*margin-top: 10px;*/
    }
}