/* utility */
.ul-no-style {
    padding-left: 0;
    margin-bottom: 0;
}

.ul-no-style li {
    list-style: none;
}

.form-control:focus {
    color: #495057;
    background-color: #fff;
    outline: 0;
    box-shadow: 0 0 0 0.1rem rgb(30, 60, 114, .8);
}

.fb_btn {
    background: #4267B2 !important;
}

.fb_btn img {
    width: 6%;
}

.google_btn {
    background: #DB4437 !important;
}

.google_btn img {
    width: 6%;
}

.line_btn {
    background: #06C755 !important;
}

.line_btn img {
    width: 6%;
}

.fido_btn {
    background: #f1b33b !important;
}

.fido_btn img {
    width: 6%;
}

a.btn.disabled {
    transition: .1s ease-out;
}

.modal {
    z-index: 9999;
}

.sr-only-focusable:active,
.sr-only-focusable:focus {
    position: absolute;
    top: .625rem;
    left: .625rem;
    color: white;
}
.visually-hidden-focusable:active,
.visually-hidden-focusable:focus {
    position: absolute;
    top: .625rem;
    left: .625rem;
    color: white;
}

.red {
    color: red;
}

a{
    text-decoration: none;
}

:focus,
input:focus+label,
a:focus,
a:active,
a:focus-visible,
.header_list_mobile_menu .checkbox-toggle:focus+.hamburger {
    /* -webkit-box-shadow: 0 0 0 1em #ff0000 !important; */
    box-shadow: none !important;
    outline: .1em dashed #FFAC55 !important;
}

/* utility */
/* sitemap */
.site_tour ul li,
.site_tour ol li {
    line-height: 2.5;
    font-size: 1rem;
    margin-bottom: .5em;
}

.site_tour kbd {
    background: #FFF;
    border-radius: .2em;
    color: #555;
    font-weight: bold;
    display: inline-block;
    padding: .1em .6em;
    font-size: .938em;
    font-family: sans-serif;
    margin-right: .4em;
    margin-left: .4em;
    margin-bottom: .1em;
    vertical-align: middle;
    border-top: .0625rem solid #BBB;
    border-bottom: .1875rem solid #BBB;
    border-left: .125rem solid #BBB;
    border-right: .125rem solid #BBB;
}

/* sitemap */

/* mobile_menu */

.header_list_mobile_menu {
    display: none;
    position: absolute;
    top: 1vh;
    right: 4.375rem;
    z-index: 9999;
}

.header_list_mobile_menu .checkbox-toggle {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    cursor: pointer;
    width: 3.75rem;
    height: 3.75rem;
    opacity: 0;
}

.header_list_mobile_menu .checkbox-toggle:checked+.hamburger>div {
    transform: rotate(135deg);
}

.header_list_mobile_menu .checkbox-toggle:checked+.hamburger>div:before,
.header_list_mobile_menu .checkbox-toggle:checked+.hamburger>div:after {
    top: 0;
    transform: rotate(90deg);
}

.header_list_mobile_menu .checkbox-toggle:checked+.hamburger>div:after {
    opacity: 0;
}

.header_list_mobile_menu .checkbox-toggle:checked~.menu {
    pointer-events: auto;
    visibility: visible;
}

.header_list_mobile_menu .checkbox-toggle:checked~.menu>div {
    transform: scale(1);
    transition-duration: .75s;
}

.header_list_mobile_menu .checkbox-toggle:checked~.menu>div>div {
    opacity: 1;
    transition: opacity .4s ease .4s;
}

.header_list_mobile_menu .checkbox-toggle:hover+.hamburger {
    box-shadow: inset 0 0 0.625rem rgba(0, 0, 0, 0.1);
}

.header_list_mobile_menu .checkbox-toggle:checked:hover+.hamburger>div {
    transform: rotate(225deg);
}

.header_list_mobile_menu .hamburger {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 3.75rem;
    height: 3.75rem;
    padding: .5em 1em;
    border-radius: .12em;
    cursor: pointer;
    transition: box-shadow .4s ease;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header_list_mobile_menu .hamburger>div {
    position: relative;
    flex: none;
    width: 100%;
    height: 0.125rem;
    background: #FEFEFE;
    transition: all .4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header_list_mobile_menu .hamburger>div:before,
.header_list_mobile_menu .hamburger>div:after {
    content: '';
    position: absolute;
    z-index: 1;
    top: -0.625rem;
    left: 0;
    width: 100%;
    height: 0.125rem;
    background: inherit;
    transition: all .4s ease;
}

.header_list_mobile_menu .hamburger>div:after {
    top: 0.625rem;
}

.header_list_mobile_menu .menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    visibility: hidden;
    overflow: hidden;
    backface-visibility: hidden;
    outline: 0.0625rem solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header_list_mobile_menu .menu>div {
    width: 250vw;
    height: 250vw;
    color: #FEFEFE;
    background: #00315c;
    border-radius: 50%;
    transition: all .4s ease;
    flex: none;
    transform: scale(0);
    backface-visibility: hidden;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header_list_mobile_menu .menu>div>div {
    text-align: center;
    max-width: 90vw;
    max-height: 100vh;
    opacity: 0;
    transition: opacity .4s ease;
    overflow-y: auto;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header_list_mobile_menu .menu>div>div>ul {
    list-style: none;
    padding: 0 1em;
    margin: 0;
    display: block;
    max-height: 100vh;
}

.header_list_mobile_menu .menu>div>div>ul>li {
    padding: 0;
    margin: 1em;
    font-size: 1.5rem;
    display: block;
}

.header_list_mobile_menu .menu>div>div>ul>li>a {
    position: relative;
    display: inline;
    color: white;
    cursor: pointer;
    transition: color .4s ease;
}

.header_list_mobile_menu .menu>div>div>ul>li>a:hover {
    color: #e5e5e5;
}

.header_list_mobile_menu .menu>div>div>ul>li>a:hover:after {
    width: 100%;
}

.header_list_mobile_menu .menu>div>div>ul>li>a:after {
    content: '';
    position: absolute;
    z-index: 1;
    bottom: -0.15em;
    left: 0;
    width: 0;
    height: 0.125rem;
    background: #e5e5e5;
    transition: width .4s ease;
}

.header_list_mobile_menu .menu>div>div>ul>li>a.active:after {
    width: 100%;
}

/* mobile_menu */

/* loading */
.showbox {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    z-index: 9999;
}

.showbox::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.5);
}

.loader {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 5rem;
}

.loader::before {
    content: "";
    display: block;
    padding-top: 100%;
}

.circular {
    animation: rotate 2s linear infinite;
    height: 100%;
    transform-origin: center center;
    width: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.path {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
    animation: dash 1.5s ease-in-out infinite, color 6s ease-in-out infinite;
    stroke-linecap: round;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes dash {
    0% {
        stroke-dasharray: 1, 200;
        stroke-dashoffset: 0;
    }

    50% {
        stroke-dasharray: 89, 200;
        stroke-dashoffset: -2.1875rem;
    }

    100% {
        stroke-dasharray: 899, 200;
        stroke-dashoffset: -7.75rem;
    }
}

@keyframes color {
    0% {
        stroke: #4285F4;
    }

    25% {
        stroke: #DE3E35;
    }

    50% {
        stroke: #F7C223;
    }

    75% {
        stroke: #1B9A59;
    }

    100% {
        stroke: #4285F4;
    }
}

/* loading */





/* main */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

header {
    width: 100%;
    background-image: url(../images/header-bg.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    /* filter: brightness(100%); */
}

header h1 {
    display: inline-block;
    font-size: 0;
    width: 3.5635rem;
    height: 4.125rem;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    margin: 1.5rem 0 0 3rem;
}

header h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: white;
    margin: 2rem 0;
}

.header_list li {
    margin: 0 1.5rem;
}

.header_list a {
    color: #54b3fa;
    font-size: 1.25rem;
    font-weight: 600;
    transition: color .3s;
}

.header_list a:hover {
    text-decoration: none;
    color: white;
}

.header_list a img {
    width: 2rem;
    margin: 0 0.5rem;
    padding: 0.3125rem;
    border: .0625rem solid #326388;
    border-radius: 50%;
    position: relative;
}

.header_list li.active {
    margin-bottom: 0;
    padding: 1.5rem 0;
    position: relative;
}

.header_list li.active::before {
    content: '';
    position: absolute;
    bottom: 0.0625rem;
    left: 0;
    width: 100%;
    height: 0.375rem;
    background-color: #54b3fa;
    border-top-left-radius: 3.125rem;
    border-top-right-radius: 3.125rem;
}

.header_list li.active a{
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 500;
    cursor: default;
}

.header_list li.active a img {
    border: .0625rem solid #ffffff;
    background-color: white;
}

.input-group-prepend{
    display: flex;
}
.content_input {
    max-width: 40%;
    margin-top: 3rem;
}

.content_input .form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.content_input .form-group label {
    position: absolute;
    top: 50%;
    left: 2.1875rem;
    transform: translate(-50%, -50%);
    font-size: 1.125rem;
    color: #979B9F;
}

.content_input .form-group input {
    width: 100%;
    padding: .8rem 0 .8rem 4.6875rem;
    border: .0625rem solid #D2D6DA;
    border-radius: 0.75rem;
}

.content_input .form-check label {
    font-size: 0.875rem;
}

.content_input .form-group::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto 0;
    left: 3.75rem;
    width: 0.0625rem;
    height: 40%;
    background-color: #D2D6DA;
}

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

.verify .verify_input {
    width: 65%;
    margin-bottom: 0.5rem;
}

.verify .verify_img {
    width: 28%;
}

.verify .verify_img img {
    width: 100%;
    height: auto;
}

.verify .verify_change {
    width: 100%;
    display: flex;
    justify-content: end;
    align-items: center;
    margin-bottom: 0.75rem;
}

.verify .verify_change a {
    display: inline-block;
    color: #979B9F;
    font-size: 0.875rem;
    text-align: end;
}

.content_input .send_btn {
    font-size: 1rem;
    color: white;
    border-radius: 0.75rem;
    padding: 0.75rem 0;
    margin: 1rem 0 1.5rem;
    border: .0625rem solid white;
    background: linear-gradient(180deg, #1e3c72 0%, #2a5298 100%);
    background: -moz-linear-gradient(180deg, #1e3c72 0%, #2a5298 100%);
    background: -webkit-linear-gradient(180deg, #1e3c72 0%, #2a5298 100%);
    background: -o-linear-gradient(180deg, #1e3c72 0%, #2a5298 100%);
    position: relative;
    overflow: hidden;
}

.content_input .send_btn:focus {
    outline: none;
}

.content_input .send_btn::before {
    content: "";
    position: absolute;
    height: 15rem;
    width: 2rem;
    background: rgba(255, 255, 255, 1);
    left: -50%;
    top: -70px;
    transform: rotate(30deg);
    transition: all .4s ease-out;
    opacity: 0.2;
}

.content_input .send_btn:hover:before {
    left: 110%;
    opacity: 0.1;
}

.info_btn .dropdown a {
    font-size: 0.875rem;
    color: #5D5D5D;
}

.info_btn .dropdown-item:active {
    background-color: #d3ddf1;
}

.info_btn .dropdown-menu a {
    font-size: 0.875rem;
    color: #5D5D5D;
}

.bulletin {
    margin: 1.25rem 0;
}

.bulletin .swiper-pagination {
    position: static;
}

.bulletin .item {
    color: #000;
}

.item-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: .5rem 0 1rem .5rem;
}

.item-title>span {
    font-size: 0.875rem;
    color: #979B9F;
}

.item-title a {
    display: flex;
    align-items: center;
    font-size: 1rem;
    color: #1e3c72;
    font-weight: 800;
}

.item-title a span {
    margin-right: 0.5rem;
    padding-top: .3em;
}

.item-content p {
    font-size: 1rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    line-height: 1.5;
}

.item-content .item-content-more {
    text-align: right;
    padding: 0.25rem 0;
    border-radius: 1.25rem;
}

.swiper-pagination-bullet-active {
    background-color: #335086;
    width: 1.5rem;
    border-radius: 0.75rem;
    transition: .2s;
}

.password-vision {
    position: absolute;
    top: 5px;
    bottom: 0;
    margin: auto 0;
    right: 0;
    color: #979B9F;
}

.password-vision:focus {
    outline: none !important;
}

/*modal */
.modal .modal-content {
    border-radius: 1.5rem;
}

.modal .btn-agree {
    color: #fff;
    background: -webkit-linear-gradient(180deg, #1e3c72 0%, #2a5298 100%);
    transition: all .1s ease;
}

.modal .btn-agree:hover {
    filter: brightness(.9);
}

.modal .modal-header {
    background: -webkit-linear-gradient(180deg, #1e3c72 0%, #2a5298 100%);
    border-radius: 1rem 1rem 0 0;
}

.modal .modal-header .close {
    color: white;
    font-size: larger;
    background-color: transparent;
    border: none;
}

.modal .modal-title {
    color: white;
    font-weight: 900;
    font-size: 18px;
}

.modal .read-carefully {
    color: #dc3545;
    margin: 10px !important;
}

/* 密碼強度樣式 */
.progress-bar_wrap {
    width: 100%;
    height: 5px;
    background: #F6F6FA;
    display: inline-block;
    vertical-align: middle;
    overflow: hidden;
    border-radius: 5px;
}

.progress-bar_item {
    display: inline-block;
    height: 100%;
    width: 33.33%;
    float: left;
    visibility: hidden;
    -webkit-transition: background-color .5s, visisility .5s;
    transition: background-color .5s, visisility .5s;
}

.ps-progress .active {
    visibility: visible;
}

.progress-bar_title {
    font-size: 14px;
    font-weight: 800;

}

.progress-bar_text {
    display: flex;
    align-items: center;
    justify-content: end;
    text-align: end;
    font-size: 14px;
    color: #8b8b8b;
}

.progress-bar_text i {
    font-size: 24px;
    margin-left: 4px;
}

.a-state {
    padding-bottom: 3px;
    background: linear-gradient(to bottom, #AA6500 0%, #AA6500 100%);
    background-position: 0 100%;
    background-repeat: repeat-x;
    background-size: 1px 1px;
    color: #AA6500;
    text-decoration: none;
    font-size: 1.25rem;
}

.a-state:hover {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg id='squiggle-link' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:ev='http://www.w3.org/2001/xml-events' viewBox='0 0 20 4'%3E%3Cstyle type='text/css'%3E.squiggle{animation:shift .5s linear infinite;}@keyframes shift {from {transform:translateX(0);}to {transform:translateX(-20px);}}%3C/style%3E%3Cpath fill='none' stroke='%23AA6500' stroke-width='1' class='squiggle' d='M0,3.5 c 5,0,5,-3,10,-3 s 5,3,10,3 c 5,0,5,-3,10,-3 s 5,3,10,3'/%3E%3C/svg%3E");
    background-position: 0 100%;
    background-size: auto 4px;
    background-repeat: repeat-x;
    text-decoration: none;
    color: #814D00;
}

/* main */






/* rwd */
@media (max-width:75rem) {
    .content_input {
        max-width: 50%;
    }

    .header_list li {
        margin: 0;
    }

    .header_list a {
        font-size: 1.25rem;
        margin: 0 1.25rem;
    }
}

@media (max-width:62rem) {
    header h1 {
        width: 3.5635rem;
        height: 4.125rem;
        margin: 1rem 0 0 1rem;
    }

    header h2 {
        font-size: 1.75rem;
        margin: 2rem 0 0.5rem;
    }

    .header_list a {
        display: none !important;
    }

    .header_list .active {
        width: 60%;
        display: flex;
        justify-content: center;
    }

    .header_list a.active {
        display: inline-block !important;
        width: 100%;
        text-align: center;
        font-size: 1.125rem;
        margin: 0;
    }

    .header_list li {
        width: 100%;
    }

    .header_list_mobile_menu {
        display: block;
    }

    .content_input {
        max-width: 60%;
        margin-top: 3rem;
    }
}

@media (max-width:48rem) {
    a[href="#C"] {
        display: none;
    }

    .content_input {
        max-width: 100%;
        margin-top: 2rem;
    }
}

/* rwd */

/*modal */
.modal .modal-content {
    border-radius: 1.5rem;
}
.modal .btn-agree {
    color: #fff;
    background: -webkit-linear-gradient(180deg, #1e3c72 0%, #2a5298 100%);
    transition: all .1s ease;
}
.modal .btn-agree:hover {
    filter: brightness(.9);
}
.modal .modal-header {
    background: -webkit-linear-gradient(180deg, #1e3c72 0%, #2a5298 100%);
    border-radius: 1rem 1rem 0 0;
}
.modal .modal-header .close {
    color: white;
}
.modal .modal-title {
    color: white;
    font-weight: 900;
    font-size: 18px;
}
