﻿@charset "utf-8";
/*CSS Info ======================================================================
File Name: Ctrl.css
Editor: Rebecca
CreateDate:2024/5/14
Version: 1.0
---------------------------
/*-----------Some Fix From Reset---------------*/
button, label, select, input, textarea {
    font-family: "\5FAE\8EDF\6B63\9ED1\9AD4", Arial, sans-serif; /* 加上 generic fallback (源碼修正) */
}

    button, select, input[type="search"], input[type="password"], textarea {
        min-height: 2em;
        line-height: 2em;
    }

    input[type="text"] {
        min-height: 1.8em;
    }

    input[type="date"], input[type="month"] {
        padding: 4px 5px;
        font-size: 1rem;
        color: #333;
    }

    button, input[type="submit"] {
        /*padding: 10px 18px;*/
    }

select {
    line-height: 2em;
    /*margin:-2px;*/
    padding: 2px 3px;
    /*display: block;*/
    font-size: 1rem;
    color: #333;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    /*vertical-align: top;*/
    min-height: initial;
}

    select + select {
        margin-right: 5px;
    }

label {
    margin: 0 .5em;
}

input[type="checkbox"], input[type="radio"] {
    vertical-align: middle;
    width: 1em;
    height: 1em;
}

@media only screen and (max-width: 47.9735em) {
    select + select {
        margin-left: 0;
        margin-top: 15px;
    }
}

/*input[type="button"], input[type="submit"], input[type="reset"], button {
height: 2.25em;
}*/

/*#endregion */


/**** option style ***/
/*-------控制項樣式--------*/
select, input[type=radio], input[type=checkbox], input[type=text] ,input[type=password]{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    box-sizing: border-box;
    margin: .1rem 0;
}

    input::placeholder {
        color: #D8E2EB;
    }

input[type=radio], input[type=checkbox] {
    background: #ffffff;
    outline: none;
    width: 20px;
    height: 20px;
    position: relative;
    transition: all .3s ease-in-out;
    box-sizing: border-box;
}

input[type=radio] {
    border-radius: 50%;
    padding: 0 3px;
}

input[type=checkbox] {
    border-radius: 2px;
}

input[type=radio]:hover, input[type=radio]:checked, input[type=radio]:focus {
    background: #1C768B;
    border: 1px solid #1C768B;
    /*transform: scale(1.2);*/
    cursor: pointer;
}

        input[type=radio]:checked:before {
            content: '';
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: #FDF8F5;
            position: absolute;
            top: 4px;
            left: 4px;
        }

input[type=checkbox]:hover, input[type=checkbox]:checked {
    background: #1C768B;
    cursor: pointer;
    border: 1px solid #1C768B;
}
input[type=checkbox]:focus{
    
}

input[type=checkbox]:checked:before {
    content: '\f00c';
    color: #FDF8F5;
    font-family: 'Font Awesome 6 Free', sans-serif; /* 加 fallback generic family (源碼修正) */
    font-weight: 900;
    font-size: 1rem;
    text-align: center;
    position: absolute;
    top: 1px;
    left: 3px;
}

input[type=radio] ~ label, input[type=checkbox] ~ label {
    color: #262626;
    font-size: 1.125rem;
    vertical-align: middle;
    padding: 0 2px;
    margin: 0;
    margin-right: 1rem;
}

textarea {
    color: #262626;
    background: #fff;
    border: 1px solid #1C768B;
    line-height: 1.5rem;
    vertical-align: text-top;
    min-height: 1.5rem;
    width: 90%;
    padding: .25rem;
    box-sizing: border-box;
}

    textarea:focus {
        color: #262626;
        background: #FFFFFF;
        border: 1px solid #262626;
    }

    textarea::placeholder {
        color: #D8E2EB;
    }

input[type=text] ,input[type=password] {
    font-size: 1.125rem;
    padding: .5rem .75rem;
}

input[type=number] {
    padding-left: .75rem;
}

select, input[type=text], input[type=number], input[type=password]{
    color: #262626;
    background: #fff;
    border: 1px solid #1C768B;
    border-radius: 5px;
    height: 34px;
}

    select:focus, input[type=text]:focus, input[type=number]:focus {
        color: #262626;
        background: #FFFFFF;
        border: 1px solid #262626;
    }

select {
    color: #262626;
    font-size: 1rem;
    line-height: 1rem;
    min-width: 14rem;
    padding: 0 2.5rem 0 .5rem;
    margin-bottom: .5rem;
    background-image: linear-gradient(45deg, transparent 50%, #1C768B 50%), linear-gradient(135deg, #1C768B 50%, transparent 50%), linear-gradient(to right, #1C768B, #1C768B);
    background-position: calc(100% - 16px) calc(.75em + 2px), calc(100% - 10px) calc(.75em + 2px), calc(100% - 2.15em) 0.3em;
    background-size: 6px 6px, 6px 6px, 1px 1.5em;
    background-repeat: no-repeat;
}

    select:focus {
        background-image: linear-gradient(45deg, #1C768B 50%, transparent 50%), linear-gradient(135deg, transparent 50%, #1C768B 50%), linear-gradient(to right, #1C768B, #1C768B);
        background-position: calc(100% - 10px) .85rem, calc(100% - 16px) .85rem, calc(100% - 2.15em) 0.3em;
        background-size: 6px 6px, 6px 6px, 1px 1.5em;
        background-repeat: no-repeat;
    }

section option {
    color: #262626;
}

/* disabled setting */
input[type=radio]:disabled, input[type=checkbox]:disabled {
    background-color: #cecece;
    cursor: not-allowed;
}

    input[type=radio]:disabled:before {
        background: #969696;
    }

    input[type=checkbox]:disabled:before, input[type=radio]:disabled ~ label, input[type=checkbox]:disabled ~ label {
        color: #969696;
    }

select:disabled, textarea:disabled, input[type=text]:disabled, input[type=number]:disabled {
    color: #777;
    background-color: #eee;
    border: 1px solid #ccc;
    cursor: not-allowed;
}

/**** small interval ****/
.thin select, .thin input[type="text"], .thin input[type="number"] {
    height: 34px;
    margin: .125rem;
}

/*IE 修正*/

select::-ms-expand {
    display: none;
}

/*===============================================================================
                           Button setting 
=================================================================================*/
.btn {
    font-family: "\5FAE\8EDF\6B63\9ED1\9AD4", Arial, sans-serif; /* 加上 fallback generic family (源碼修正) */
    color: #fff;
    font-size: 1.25rem;
    font-weight: bold;
    text-align: center;
    text-decoration: none !important;
    background-color: #1C768B;
    border: 2px solid #E0F1EE;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    padding: .5rem 1.5rem;
    margin: .25rem;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
    display: inline-block;
    cursor: pointer;
    zoom: 1;
    overflow: visible; /* the overflow property removes extra width in IE */
}

table .btn {
    font-size: 1.125rem;
    padding: .35rem 1.125rem;
    margin: 0 .25rem;
}

table.thin .btn {
    font-size: 1rem;
    padding: .25rem .75rem;
}

.btn:hover, .btn:focus {
    border: 2px solid #1C768B;
    background-color: #ffffff;
    color: #262626;
}

.btnImp {
    background-color: #E05F62;
    border: 2px solid #F7E3E4;
}

    .btnImp:hover, .btnImp:focus {
        background-color: #ffffff;
        border: 2px solid #E05F62;
    }

.btnPoint {
    background-color: #7EB44C;
    border: 2px solid #E8EDDB;
}

    .btnPoint:hover, .btnPoint:focus {
        background-color: #ffffff;
        border: 2px solid #7EB44C;
    }

.logfoot {
    background-color: #AFCBBF;
    border: none;
}

    .logfoot:hover {
        background-color: #688978;
        border: none;
    }

.btn:disabled {
    cursor: not-allowed;
    color: #bbb;
    background-color: #efefef;
}

/**** 步驟返回按鈕樣式 ***/
.btn.stepbtn, .btn.backbtn {
    color: #262626;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 20px;
    background-color: #F9BF75;
    box-shadow: 1px 1px 3px #E9EAE2;
    padding: .45rem 2rem;
}

    .btn.stepbtn:hover, .btn.backbtn:hover {
        border: none;
        background-color: #EE931F;
        box-shadow: 1px 1px 3px #92C6E4;
    }

/**** 一般按鈕區 ***/
.CommandArea {
    text-align: center;
    margin: 10px 5px 30px 5px;
}

    .CommandArea.txtLeft {
        text-align: left;
    }

/**** 搜尋按鈕區 ***/
.MyQueryArea .CommandArea {
    margin: .75rem 0;
    text-align: center;
    min-height: 60px;
    box-sizing: border-box;
}

    .MyQueryArea .CommandArea .btn {
        color: #fff;
        font-size: 1.25rem;
        border: 2px solid #E0F1EE;
        background-color: #1C768B;
        padding: .5rem 1.5rem;
        margin: .25rem 1.25rem;
        -webkit-transition: all .3s ease;
        -moz-transition: all .3s ease;
        -o-transition: all .3s ease;
        transition: all .3s ease;
    }

        .MyQueryArea .CommandArea .btn:hover, .MyQueryArea .CommandArea .btn:focus {
            color: #262626;
            background-color: #fff;
            border: 2px solid #1C768B;
            box-shadow: 0 3px 6px rgba(0, 0, 0, .3);
        }

/**** 返回步驟按鈕區 ***/
.btnGrp {
    text-align: center;
    min-height: 40px;
    margin: 1.25rem 0 1.5rem;
    position: relative;
}

    .btnGrp.fixdown {
        width: 100%;
        height: auto;
        background-color: rgba(0, 0, 0, .35);
        box-sizing: border-box;
        margin:0;
        z-index: 5;
        position: fixed;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
    }

        .btnGrp.fixdown input {
            margin-top: 1.5rem;
            margin-bottom: 1rem;
        }

    .btnGrp .btn.stepbtn, .btnGrp .btn.backbtn {
        position: absolute;
        top: 7px;
    }

    .btnGrp .btn.stepbtn {
        right: 0;
    }

    .btnGrp .btn.backbtn {
        left: 0;
    }

/**** 類別按鈕選項 ***/
.itembtn {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

    .itembtn div {
        text-align: center;
        border: 3px solid #CCC3B6;
        min-width: 32%;
        padding: 16px;
        margin: 10px 0;
        box-sizing: border-box;
        -webkit-font-smoothing: antialiased;
        -webkit-transition: all .3s ease;
        -o-transition: all .3s ease;
        transition: all .3s ease;
    }

    .itembtn p {
        font-size: 1.25rem;
        line-height: 1.5rem;
        min-width: 7.5rem;
        margin: 0 auto;
        position: relative;
        -webkit-font-smoothing: antialiased;
        -webkit-transition: all .3s ease;
        -o-transition: all .3s ease;
        transition: all .3s ease;
    }

    .itembtn div:hover, .itembtn div.mark {
        background-image: url(../images/cloud-meatball.png);
        background-position: center left +40px;
        background-repeat: no-repeat;
        background-size: 32px;
        border: 3px solid #BCDDC4;
        box-shadow: 0 3px 6px rgba(0, 0, 0, .16);
        cursor: pointer;
    }

        .itembtn div:hover p, .itembtn div.mark p {
            transform: translateX(18px);
        }

    .itembtn.txtrow div {
        min-width: 202px;
    }

    .itembtn.txtrow p {
        width: 7.5rem;
    }

    .itembtn.txtrow div:hover, .itembtn.txtrow div.mark {
        background-position: center left +10px;
    }


    .btnArea{
        text-align: right;
    }
    .moreBtn{
        display: inline-block;
        text-align: left;
        padding: 0.7em 1rem;
        width: 5.5rem;
        font-size: 1.2rem;
        background-color: var(--mainColor2);
        color: #fff;
        position: relative;
        transition: .2s;
    }
    .moreBtn::after{
        display: inline-block;
        content: '';
        width:30px ;
        height: 8px;
        background-image: url(../../images/moreBtn_icon.svg);
        background-repeat: no-repeat;
        text-align: right;
        position: absolute;
        right: 1rem;
        top: 0;
        bottom: 0;
        margin: auto;
        transition: .2s;
    }
        .moreBtn:hover {
            box-shadow: #DFEEFF 0 0 0 2px, var(--mainColor2) 0 0 0 4px;
            font-weight: bold;
        }
    .moreBtn:hover::after{
        right: 0.5rem;
    }

   /* switch切換鈕
------------------------------*/

span.switchBtn {
    vertical-align: middle;
}

    span.switchBtn input[type="checkbox"] {
        display: none;
    }

        span.switchBtn input[type="checkbox"] + label {
            display: block;
            line-height: 1.5em;
            height: 1.5em;
            width: 2.5em;
            border-radius: 50px;
            background: #ccc;
            margin: 0;
            margin-left: 0.35rem;
            position: relative;
        }

            span.switchBtn input[type="checkbox"] + label > span {
                display: block;
                padding: 0;
                width: 1.2rem;
                height: 1.2rem;
                border: none;
                border-radius: 50%;
                background: #fff;
                position: absolute;
                left: 0.3rem;
                margin: 0.25rem 0;
            }

        span.switchBtn input[type="checkbox"]:checked + label {
            background: #C18B5D;
        }

            span.switchBtn input[type="checkbox"]:checked + label > span {
                left: 1.4em;
            }

        span.switchBtn input[type="checkbox"] + label:hover {
            opacity: 0.7;
        }

        span.switchBtn input[type="checkbox"]:checked + label:hover {
            opacity: 0.7;
        }


    /*-----------------修正jQuery UI-----------------*/
.ui-datepicker select.ui-datepicker-month {
    width: 30%;
}

.ui-datepicker select.ui-datepicker-year {
    width: 40%;
}

.radioBtnArea {
    width: 100%;
    box-sizing: border-box;
    border-top: 3px solid #F6EDE6;
    border-bottom: 1px solid #F6EDE6;
    background-color: #FFFCFA;
    padding: 1rem 1.25rem;
}

.card_radioList {
}

.card_radioList input {
    opacity: 0;
    margin: 0;
    margin-left: 24px;
    padding: 0;
}

    .card_radioList input[type="radio"] ~ label {
        vertical-align: baseline;
        margin-left: -32px;
        margin-right: 1rem;
        margin-top: 1rem;
        margin-bottom: 1rem;
        color: #B08D80;
        width: 19%;
        display: inline-block;
        padding: 1rem 0;
        padding-left: .75rem;
        padding-right: 1.75rem;
        border-radius: 5px;
        border: 2px dashed #F1DBD0;
        background-color: rgba(255, 255, 255, .8);
    }

    .card_radioList input[type="radio"]:hover + label::before {
        background-color: #EC9F81;
        transition: all .3s ease-in-out;
    }

    .card_radioList input:not(input:checked):hover, .card_radioList input[type="radio"]:not(input:checked):hover + label:not(label:checked) {
        transform: translateY(-10px);
        transition-duration: .3s;
    }

    .card_radioList input[type="radio"]:checked + label::before {
        background-color: #EC9F81;
    }

    .card_radioList input[type="radio"]:checked + label {
        background-color: #FAEEE6;
        border: 2px solid #F1DBD0;
        transition: all .1s ease-in-out;
    }

    .card_radioList label::before {
        content: " ";
        width: 16px;
        height: 16px;
        display: inline-block;
        border-radius: 50%;
        background-color: #ffffff;
        border: 2px solid #EFCCBA;
        vertical-align: middle;
        margin-right: 5px;
    }

    /*.card_radioList label::after {
        content: " ";
        width: 19%;
        display: inline-block;
        padding: 1.5rem 1rem;
        border-radius: 5px;
        background-color: rgba(255, 255, 255, .8);
        border: 2px dashed #F1DBD0;
    }*/



    /*radio button特殊樣式*/
.MyGroupControls.pageBtnArea input[type=radio]:checked + label, .MyGroupControls.pageBtnArea label:hover {
    color: #FFF;
    background-color: #267DAE;
}

.MyGroupControls input {
    position: absolute;
    left: -999px;
}

.MyGroupControls label {
    font-size: 1rem;
    display: inline-block;
    text-align: center;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    margin: 0;
    transition: all .35s ease-out;
}

    .MyGroupControls label:last-child {
        margin-right: 0;
    }

.MyGroupControls.pageBtnArea {
    font-size: 0;
    display: inline-block;
    vertical-align: middle;
}

    .MyGroupControls.pageBtnArea:focus {
        outline: #FFCAB8 dotted 2px;
    }

    .MyGroupControls.pageBtnArea label {
        font-size: 1.25rem;
        font-weight: bold;
        border: 1px solid #7ABDE2;
        padding: 12px 40px;
        margin: 0 2px 2px 0;
    }

    .MyGroupControls.pageBtnArea label {
        -webkit-border-top-left-radius: 10px;
        -webkit-border-top-right-radius: 10px;
        -moz-border-radius-topleft: 10px;
        -moz-border-radius-topright: 10px;
        border-top-left-radius: 10px;
        /*border-top-left-radius: 10px;*/ /* 重覆與前一行相同 (源碼修正) */
    }

            .MyGroupControls.pageBtnArea label:hover, .MyGroupControls.pageBtnArea label:focus {
                -webkit-box-shadow: 0 1px 4px 0 rgba(0,0,0,.14);
                box-shadow: 0 1px 4px 0 rgba(0,0,0,.14);
            }

    /*------換顏色---------*/
        .MyGroupControls.pageBtnArea label {
            color: #262626;
            border-color: #E0F1EE;
            background-color: #E0F1EE;
        }

            .MyGroupControls.pageBtnArea label:hover, .MyGroupControls.pageBtnArea label:focus {
                background-color: #ffffff;
                color: #262626;
                border-color: #1C768B;
            }

        .MyGroupControls.pageBtnArea input[type=radio]:checked + label {
            background-color: #1C768B;
            color: #ffffff;
            border-color: #1C768B;
        }

        .MyGroupControls.pageBtnArea input[type=radio]:disabled + label {
            background-color: #F9F9F9;
            color: #C0B7B2;
            border-color: #F9F9F9;
        }

/*----------------- scrollbar style -----------------*/

.GridViewCont::-webkit-scrollbar {
    height: 8px;
}

.GridViewCont::-webkit-scrollbar-track {
    background: #C0B7B2;
    border-radius: 15px;
}

/* Handle */
.GridViewCont::-webkit-scrollbar-thumb {
    background: #262626;
    border-radius: 20px;
    border-color: #262626;
}

    /* Handle on hover */
    .GridViewCont::-webkit-scrollbar-thumb:hover {
        background: #262626;
    }



/* #Media Queries Templet
================================================== */
/* Smaller than standard 960 (devices and browsers) */
@media only screen and (max-width: 59.9375em) {
}

/* Tablet Portrait size to standard 960 (devices and browsers) */
@media only screen and (min-width: 48em) and (max-width: 59.9375em) {
}

/* All Mobile Sizes (devices and browser) */
@media only screen and (max-width: 47.9375em) {
    .btnGrp {
        height: 7rem;
    }
    .btnGrp .btn.stepbtn, .btnGrp .btn.backbtn {
        position: absolute;
        top: unset;
        bottom: 0;
    }
}

/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
@media only screen and (min-width: 30em) and (max-width: 47.9375em) {
}

/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
@media only screen and (max-width: 29.9375em) {
}

