﻿@charset "utf-8";
/* CSS Document */
/* 全域設定 */
* {
    margin: 0;
    padding: 0;
}
body {
    margin: 0;
    padding: 0;
    font-family: 'Microsoft JhengHei', '微軟正黑體', 'Microsoft YaHei', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    box-sizing: content-box;
}

:root {
    --font-Gray: #737373;
    --font-Blue: #005BAC;
    --font-LightBlue: #076ED7;
    --font-black: #000;
    --LightBlue: #076ED7;
}

h1, h2, p, div, a {
    margin: 0;
    padding: 0;
}

    a, a:hover {
        text-decoration: none;
        color: inherit;
    }

h1 {
    color: var(--font-Blue);
    font-weight: 600;
    line-height: 22px; /* 122.222% */
    font-size: 18px;
}

.web {
    display: block;
}

.mobile {
    display: none;
}

.container-literacy {
    flex-direction: row; /* 桌機版 */
}

.item {
    flex-basis: 25%; /* 平板版三欄 */
}

.input-wrapper {
    display: inline-flex;
    justify-content: space-between;
    position: relative;
    margin: 16px 0;
    margin-inline: auto;
    width: 100%;
}

    .input-wrapper input[type="text"] {
        width: calc(100% - 75px);
        padding: 12px 12px 12px 16px;
        height: 48px;
        color: var(--text-icon-primary, #323232);
        border: none;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

.input-literacy {
    position: relative;
    font-size: 16px;
    line-height: 16px;
    width: calc(100% - 75px);
    padding: 12px 12px 12px 16px;
    padding-right: 30px;
    color: rgba(146, 146, 146, 1);
    border: none;
    transition: border-color 250ms;
    background-color: rgba(240, 240, 240, 1);
    border-radius: 8px;
    box-sizing: content-box;
}

    .input-literacy:focus {
        outline: 2px solid rgba(7, 110, 215, 1);
    }

    .input-literacy::placeholder {
        color: rgba(146, 146, 146, 1);
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 24px; /* 150% */
        letter-spacing: 0.1em;
    }

.clear {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    position: absolute;
    top: 15px;
    right: 80px;
    background: none;
    border: none;
    border-radius: 50%;
    color: #777;
    transition: color 250ms;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .clear:hover, .clear:focus {
        color: #333;
    }

.input-literacy:placeholder-shown + .label + .clear {
    display: none;
}

a button.query {
    border-radius: 8px;
    background-color: var(--font-LightBlue);
    width: 64px;
    height: 48px;
    text-align: center;
    align-items: center;
    font-size: 16px;
    border: none;
    color: #fff;
}

a button.query:hover {
    cursor: pointer;
    background-color: var(--font-Blue);
}

a button.queryDisabled {
    border-radius: 8px;
    background-color: #6c757d;
    border-color: #6c757d;
    width: 64px;
    height: 48px;
    text-align: center;
    align-items: center;
    font-size: 16px;
    border: none;
    color: #fff;
}

a button.queryDisabled:hover {
    cursor: not-allowed;
    background-color: #5c636a;
    border-color: #565e64
}

.container-literacy_Outer {
    position: relative;
    padding: 0;
    max-width: 936px;
    height: auto;
    margin: 40px auto 0 auto;
    display: block;
}

.container-literacy_Title {
    color: #b48749;
    font-weight: 600;
    line-height: 24px;
    font-size: 20px;
    padding-left: 13px;
}

    .container-literacy_Title::before {
        content: "";
        position: absolute;
        display: block;
        left: 7px;
        top: 2px;
        margin-right: 15px;
        width: 5px;
        height: 20px;
        background-color: #b48749;
    }

.container-literacy {
    position: relative;
    display: flex;
    flex-wrap: wrap; /* 允許項目換行 */
    background-color: #FFFFFF;
    padding: 20px 40px;
    max-width: 936px;
    margin: 0 10px;
}

.main-block {
    position: relative;
    padding: 0 0 40px 0;
    width: 100%;
}

    .main-block ul.list {
        padding: 0;
        margin: 0;
        list-style-type: none;
    }

        .main-block ul.list li {
            color: var(--font-Gray);
            background-image: url("/eYuanta/Content/SourceSphere/img/icon_03.svg");
            background-position: 0 2px;
            background-repeat: no-repeat;
            background-size: 20px 20px;
            text-align: justify;
            padding-bottom: 8px;
            padding-left: 1.5em;
        }

            .main-block ul.list li a span {
                color: var(--font-LightBlue);
                text-decoration: none;
            }

                .main-block ul.list li a span:hover {
                    font-weight: 550;
                    color: var(--font-LightBlue);
                }

    .main-block:last-child {
        position: relative;
        padding: 0 0 0 0;
    }

    .main-block .check-link {
        display: block;
        height: 20px;
        position: relative;
        padding-right: 20px;
        right: 0;
        float: right;
        font-weight: 400;
        font-size: 16px;
        color: var(--font-LightBlue);
    }

        .main-block .check-link::after {
            content: " ";
            background-image: url("/eYuanta/Content/SourceSphere/img/right_arrow.svg");
            background-size: 16px 16px;
            position: absolute;
            right: 0;
            top: 3px;
            display: inline-block;
            width: 16px;
            height: 16px;
        }

.block {
    display: flex;
    background-color: #FFFFFF;
    flex-direction: row;
    border-radius: 8px;
    padding: 24px;
    margin: 16px 0;
    box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.20);
}

    .block p {
        font-weight: 550;
        line-height: normal;
        color: var(--font-Gray);
    }

.item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    height: 106px;
}

    .item img {
        width: auto;
        height: 60px;
    }
/** pop-up window **/
#toggle {
    display: none;
}
/*.container {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  position: fixed;
  background-color: #fff;
  display: flex;
  width: 616px;
  padding: 24px;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  border-radius: 16px;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}*/
label {
    cursor: pointer;
}

.modal {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: fixed;
    background-color: #fff;
    display: flex;
    width: 616px;
    max-width: 1024px;
    padding: 24px;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    border-radius: 16px;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

    .modal label {
        position: absolute;
        top: 0;
        right: 0;
    }

    .modal div {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

        .modal div h1 {
            color: var(--font-LightBlue);
            text-align: center;
            font-size: 21px;
            font-style: normal;
            font-weight: 600;
            line-height: 28px; /* 133.333% */
            padding: 24px 0;
        }

        .modal div p {
            color: var(--font-black);
            text-align: center;
            font-size: 18px;
            font-style: normal;
            font-weight: 400;
            line-height: 27px; /* 150% */
            padding-bottom: 12px;
        }

    .modal .pop-box {
        padding: 16px 0;
        background-color: #F6F7F8;
        border-radius: 16px;
        display: flex;
        width: 100%;
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

        .modal .pop-box span {
            color: var(--font-black);
            font-size: 18px;
            font-weight: 600;
            padding-bottom: 8px;
        }

        .modal .pop-box p {
            color: var(--font-black);
            text-align: center;
            font-size: 18px;
            font-style: normal;
            padding-bottom: 0;
        }

    .modal button {
        border-radius: 8px;
        background-color: var(--LightBlue);
        width: 100%;
        height: 48px;
        text-align: center;
        align-items: center;
        font-size: 16px;
        border: none;
        color: #fff;
        margin-top: 40px;
    }

    .modal div.button-flex {
        width: 100%;
        display: inline-flex;
        flex-direction: row;
        justify-content: space-between;
    }

        .modal div.button-flex button.button-50 {
            border-radius: 8px;
            width: 100%;
            height: 48px;
            text-align: center;
            align-items: center;
            font-size: 16px;
            border: none;
            color: #fff;
            margin: 40px 5px 0 5px;
        }

        .modal div.button-flex button.button-50-border {
            border-radius: 8px;
            width: 100%;
            height: 48px;
            text-align: center;
            align-items: center;
            font-size: 16px;
            border: 1px solid #076ED7;
            background-color: #FFFFFF;
            color: var(--font-Blue);
            margin: 40px 5px 0 5px;
        }

    .modal button:hover, .modal button.button-w50 .button-50, .modal button.button-w50 .button-50-border {
        cursor: pointer;
    }

#toggle:checked ~ .overlay, #toggle:checked ~ .overlay > .modal {
    display: block;
}

#SuccessRegion, #ErrorRegion1, #ErrorRegion2 {
    display: none;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.50);
    z-index: 999;
}
/** mobile **/
@media (max-width: 768px) {
    .web {
        display: none;
    }

    .mobile {
        display: block;
    }

    .container-literacy {
        display: flex;
        align-items: flex-start;
        flex-wrap: wrap; /* 允許項目換行 */
        flex-direction: column; /* 手機版單欄 */
        background-color: #FFFFFF;
        margin: 0 10px;
        padding: 16px;
        /*gap: 40px;*/
        align-self: stretch;
    }
    .container-literacy_Title {
        color: #b48749;
        font-weight: 600;
        line-height: 24px;
        font-size: 20px;
        padding: 0 13px 1em 20px;
    }

    .container-literacy_Title::before {
        content: "";
        position: absolute;
        display: block;
        left: 10px;
        top: 2px;
        margin-right: 15px;
        width: 5px;
        height: 20px;
        background-color: #b48749;
    } 

    .block {
        display: flex;
        background-color: #FFFFFF;
        flex-direction: column;
        border-radius: 8px;
        padding: 24px;
        margin: 16px 0;
        box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.20);
    }

    .item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
        margin-bottom: 29px;
    }

        .item:last-child {
            margin-bottom: 0;
        }

    .input-wrapper {
        display: flex;
        flex-direction: column;
        position: relative;
        margin: 16px 0;
        margin-inline: auto;
        width: 100%;
    }

        .input-wrapper input[type="text"] {
            width: 100%;
        }

    .input-literacy {
        position: relative;
        font-size: 16px;
        line-height: 16px;
        width: auto;
        padding: 12px 12px 12px 16px;
        padding-right: 0px;
        color: rgba(146, 146, 146, 1);
        border: none;
        transition: border-color 250ms;
        background-color: rgba(240, 240, 240, 1);
        border-radius: 8px;
        margin-bottom: 10px;
        box-sizing: content-box;
    }

    .clear {
        cursor: pointer;
        appearance: none;
        -webkit-appearance: none;
        position: absolute;
        top: 15px;
        right: 12px;
        background: none;
        border: none;
        border-radius: 50%;
        color: #777;
        transition: color 250ms;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    a button.query {
        border-radius: 8px;
        background-color: var(--LightBlue);
        width: 100%;
        height: 48px;
        text-align: center;
        align-items: center;
        font-size: 16px;
        border: none;
        color: #fff;
    }

    .modal {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        position: fixed;
        background-color: #fff;
        display: flex;
        width: 82%;
        padding: 24px;
        flex-direction: column;
        align-items: center;
        flex-shrink: 0;
        border-radius: 16px;
        box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    }
}
