@charset "utf-8";
/* CSS Document */

/*大頭貼*/
.photo-upload {
    width: 70px;
    margin: 0px auto;
}
.photo-wrap {
    width: 70px;
    height: 70px;
}
.photo-wrap img {
    width: 100%;
    height: 100%;
    border-radius: 0%;
    object-fit: cover;
    margin: 0px auto;
    background: no-repeat center center/100% url(../images/profile.jpg);
}
.upload-btn {
    width: auto;
    height: auto;
    font-size: 0.5rem;
    padding: 15px 0px 5px 25px;
    display: block;
    color: #666;
}
.upload-btn input[type="file"] {
    left: 0;
    opacity: 0;
    padding: 10px 0;
    position: absolute;
    top: 0;
    z-index: 5;
    cursor: pointer;
}

/*搜尋列*/
.search {
    display: inline-block;
    position: relative;
    height: 18px;
    width: 18px;
    box-sizing: border-box;
    border: 3px solid #999;
    border-radius: 25px;
    transition: all 1s ease;
    cursor: text;
    top: 4px;
}
.search:after {
    content: "";
    position: absolute;
    width: 3px;
    height: 9px;
    right: -4px;
    top: 11px;
    background: #999;
    border-radius: 3px;
    transform: rotate(-45deg);
    transition: all 0.5s ease;
}
.search.active,
.search:hover {
    width: 150px;
    height: 25px;
    margin-right: 0px;
    top: 4px;
}
.search.active:after,
.search:hover:after {
    height: 0px;
}
.search .input-mask {
    width: 100%;
    height: 25px;
    margin: -2px 0 0 0 ;
    display: block;
    overflow: hidden;
}
.search .input-mask input {
    width: 88%;
    border: none;
    font-size: 15px;
    color: #000;
    margin: 2px 0 0 10px;
    background: transparent;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease;
}
.header-search {
    float: left;
    margin-right: 1rem;
    padding-right:4px;
    overflow: hidden;
}
.header-search-easy {
    display: flex;
    align-items: baseline;
}
.header-search-easy h5 {
    margin-top: 0px;
}
.header-search-easy input {
    width: 20%;
    box-sizing: border-box;
    border: 2px solid #999;
    border-radius: 25px;
    font-size: 15px;
    color: #000;
    margin: 10px 0 0 20px;
    padding-left: 10px;
    background: transparent;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease;
}
.card .card-header .card-header-right {
    display: flex;
}

.addcontrol {
    cursor: pointer;
    color: #000;
    vertical-align: middle;
    margin-left: -3px;
}
.addprint {
    cursor: pointer;
    color: #000;
    vertical-align: middle;
    margin-left: -3px;
}


/*修改密碼*/
.password-wrap {
    width: 80%;
    max-width: 420px;
    margin: 30px auto;
    text-align: center;
}
.password-wrap .form-group {
    position: relative;
}
.password-wrap .form-control {
    height: 40px;
    width: 100%;
    border: none;
    border-radius: 0 !important;
    font-size: 1.2em;
    font-weight: 400;
    padding: 0;
    background-color: transparent;
    -webkit-box-shadow: none;
    box-shadow: none;
    border-bottom: 1px solid #ccc;
}
.password-wrap .form-control:focus {
    border-color: transparent;
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.password-wrap .float-label {
    pointer-events: none;
    position: absolute;
    top: 10px;
    left: 0;
    font-size: 15px;
    font-weight: 500;
    color: #b81c22;
    transition: 0.2s ease all;
    -moz-transition: 0.2s ease all;
    -webkit-transition: 0.2s ease all;
}
/*字上移*/
.password-wrap .form-control:focus ~ .float-label, .password-wrap .form-control:valid ~ .float-label {
    top: -25px;
    font-size: 11px;
}
/*字底線*/
.password-wrap .form-bar {
    position: relative;
    display: block;
    width: 100%;
    margin-top: 20px;
}
.password-wrap .form-bar:after, .password-wrap .form-bar:before {
    content: '';
    height: 2px;
    width: 0;
    bottom: 0;
    margin-bottom: 14px;
    position: absolute;
    transition: 0.3s ease all;
    -moz-transition: 0.3s ease all;
    -webkit-transition: 0.3s ease all;
}
.password-wrap .form-bar:before {
    left: 50%;
}
.password-wrap .form-bar:after {
    right: 50%;
}
.password-wrap .form-control:focus ~ .form-bar:after, .password-wrap .form-control:focus ~ .form-bar:before {
    width: 50%;
}
.password-wrap .form-primary .form-control:focus ~ .form-bar:after, .password-wrap .form-primary .form-control:focus ~ .form-bar:before {
    background: #b81c22;
}
/*修改密碼按鈕*/
.sign {
    width: fit-content;
    background-color: #b81c22;
    margin: 30px auto;
    cursor: pointer;
    padding: 7px 40px 5px;
    text-align: center;
    font-size: 1.2em;
}
.sign a {
    color: #FFF;
    text-decoration: none;
}
.sign:hover {
    background-color: #ff000a;
    -webkit-box-shadow: -1px 1px 1px 1px #d2d2d2, 0px 0px 1px 1px rgba(255,255,255,0.2) inset;
    box-shadow: -1px 1px 2px 1px #d2d2d2, 0px 0px 1px 2px rgba(255,255,255,0.2) inset;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    -ms-transition: all 0.3s linear;
    transition: all 0.3s linear;
}
.two_button {
    display: flex;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}
/*多個按鈕*/
.multi {
    width: fit-content;
    background-color: #b81c22;
    margin: 30px 15px 30px 15px;
    cursor: pointer;
    padding: 7px 40px 5px;
    text-align: center;
    font-size: 1.2em;
}
.multi a {
    color: #FFF;
    text-decoration: none;
}
.multi:hover {
    background-color: #ff000a;
    -webkit-box-shadow: -1px 1px 1px 1px #d2d2d2, 0px 0px 1px 1px rgba(255,255,255,0.2) inset;
    box-shadow: -1px 1px 2px 1px #d2d2d2, 0px 0px 1px 2px rgba(255,255,255,0.2) inset;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    -ms-transition: all 0.3s linear;
    transition: all 0.3s linear;
}
/*跳出選單*/
.add-content {
    display: block;
    width: 100%;
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    color: #666;
    overflow: hidden;
    cursor: pointer;
    -webkit-transition: all ease-in 0.2s;
    transition: all ease-in 0.2s;
}
.add-contentopen {
    background: #FFF;
    -webkit-box-shadow: 0 0 35px 0 rgb(0 0 0 / 25%);
    box-shadow: 0 0 35px 0 rgb(0 0 0 / 25%);
    border-radius: 5px;
    opacity: 1;
    position: absolute;
    right: 0;
    visibility: visible;
    width: 30rem;
    height: 40rem;
    display: none;
    transform: translateX(50px) translateY(-110px);
}

/*表格*/
.table-responsive {
    display: inline-block;
    width: 100%;
    overflow-x: auto;
    padding: 12px;
    padding-top: 5px;
}
table {
    width: 100%;
    max-width: 100%;
    background-color: transparent;
    border-collapse: collapse;
}
thead tr {
    border-bottom: 0.5px solid #b81c22;
    text-align: left;
    color: #b81c22;
    line-height: 2rem;
}
th {
    white-space: nowrap;
    width: 5%;
    min-width: 70px;
    padding: 10px 20px 0px 0px;
    text-align: left;
}
.th_title {
    font-size: 1.2rem;
    line-height: 3rem;
}
tr {
}
td {
    white-space: nowrap;
    width: fit-content;
    padding: 8px 20px 0px 0px;
    text-align: left;
}
.tr_br {
    display: table-row;
    vertical-align: top;
}
.td_768 {
    padding: 8px 20px 0 0;
}
@media only screen and (max-width: 768px) {
    .tr_br.br_768 {
        display: grid;
    }
    .th_768 {
        display: none;
    }
    .td_768 {
        width: 100%;
        padding: 10px 0 0 0;
    }
}
@media only screen and (max-width: 580px) {
    .tr_br {
        display: grid;
    }
}
td textarea {
    color: #666;
    padding: 0 5px;
    border: 0.5px solid #ccc;
    border-radius: 3px;
    width: 100%;
    min-height: 60px;
}
td textarea:focus {
    border-color: rgba(255, 0, 10, 0.5);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 5px rgba(255, 0, 10, 0.6);
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 5px rgba(255, 0, 10, 0.6);
    outline: 0 none;
}
td input {
    color: #666;
    height: 26px;
    padding: 0 5px;
    border: 0.5px solid #ccc;
    border-radius: 3px;
    width: 100%;
}
td input:focus {
    border-color: rgba(255, 0, 10, 0.5);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 5px rgba(255, 0, 10, 0.6);
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 5px rgba(255, 0, 10, 0.6);
    outline: 0 none;
}
td select {
    color: #666;
    height: 26px;
    padding: 0 5px;
    border: 0.5px solid #ccc;
    border-radius: 3px;
    width: 100%;
}
td select:focus {
    border-color: rgba(255, 0, 10, 0.5);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 5px rgba(255, 0, 10, 0.6);
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 5px rgba(255, 0, 10, 0.6);
    outline: 0 none;
}

/* 同上 */
.the_same {
    float: right;
    font-weight: 400;
}
@media only screen and (max-width: 768px) {
    .the_same {
        float: none;
    }
}

/* 其他 */
.pcoded-select {
    font-size: 1rem;
    width: 100%;
    max-width: 185px;
    margin: 5px 23px;
    padding: 3px 2px;
    border-radius: 3px;
    text-overflow: ellipsis;
}
.tel_code {
    width: 50px;
}
.tel_number {
    width: 120px;
}
.mobile_width {
    width: 183px;
}
.mail_width {
    min-width: 475px;
}
.calendar_wrap span {
    width: 100%;
    color: #666;
}
.calendar_wrap input {
    width: 30%;
}
.data_wrap {
    width: 100%;
    display: inline-block;
    overflow-x: auto;
}
.data_list {
    width: 100%;
    border-bottom: 1px solid #ccc;
}
.data_list td {
    padding: 8px 40px 8px 0px;
}
.data_list.data_memo {
    background-color: #eee;
}
.message_list {
    width: 100%;
    display: flex;
    font-size: 1rem;
    line-height: 1.2rem;
    white-space: nowrap;
    padding: 6px 20px;
    margin: 3px 0;
    background-color: #eee;
}
@media only screen and (max-width: 580px) {
    .message_list {
        display: block;
    }
    .message_number {
        margin-bottom: 10px;
    }
}
.message_box {
    width: 30%;
    display: flex;
}
.message_number {
    width: 50px;
    font-weight: 600;
    text-align: center;
    margin-right: 30px;
    border-radius: 60px;
    background-color: #FFF;
}
.message_title {
    font-weight: 600;
    margin-right: 20px;
}
.page_wrap {
    width: 100%;
    text-align: center;
}
.page_button {
    width: 100%;
    max-width: 36px;
}
.page_number {
    width: 100%;
    text-align: center;
    padding: 0px 20px 0px 0px;
}
.year_warp {
    width: 100%;
    max-width: 17%;
}
.year_br {
    display: none;
}
@media only screen and (max-width: 768px) {
    .year_warp {
        width: 100%;
        max-width: 30%;
    }
    .year_br {
        display: block;
    }
}
.data_textarea {
    width: 100%;
    padding-right: 0;
}
.data_balance {
    font-size: 1.5rem;
    float: right;
}
.case_memo {
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.3rem;
    color: #FFF;
    background-color: #666;
    padding: 10px 20px;
}
.case_step_wrap {
    width: 100%;
    max-width: 768px;
    text-align: center;
    margin: 0 auto;
    padding: 0px;
    display: table;
}
.case_step {
    display: table-cell;
}
.step_circle {
    width: 100%;
    max-width: 70px;
    height: 70px;
    margin: 0 auto;
    border-radius: 100px;
    background-color: #999;
    transition: 0.5s all;
    position: relative;
}
.step_circle:hover {
    background-color: #b81c22;
}
.step_circle.done {
    background-color: #b81c22;
}
.step_circle span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.case_step p {
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.6rem;
    margin: 0.6rem 0 0;
    color: #999;
}
@media only screen and (max-width: 900px) {
    .case_step_wrap {
        padding: 10px 0;
    }
    .step_circle {
        max-width: 60px;
        height: 60px;
    }
    .case_step p {
        font-size: 1.2rem;
    }
}
.case_step p.done {
    color: #b81c22;
}
.case_welcome {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5rem;
    text-align: center;
    color: #666;
    padding: 10px;
    margin: 10px auto 20px;
}
.case_welcome span {
    color: #212529;
}
.case_welcome input {
    margin: 10px auto;
}
.case_print {
    position: absolute;
    top: 40px;
    right: 50px;
}
a.list_icon {
    color: rgba(0, 0, 0, 0.4);
    margin-left: 50%;
}
a:hover.list_icon {
    color: #666;
}
a.contract_edit {
    color: #FFF;
    background-color: #999;
    border-radius: 6px;
    margin-right: -10px;
    transition: 0.5s all;
}
a:hover.contract_edit {
    background-color: #b81c22;
}
.contract_wrap {
    margin: 30px auto;
}
.contract_title {
    font-size: 1.2rem;
    line-height: 1.8rem;
    color: #b81c22;
}
.card_contract {
    margin-bottom: 10px;
    box-shadow: none;
    background-color: #eee;
    border: 1px solid #ddd;
}
.contract_add {
    padding-bottom: 30px !important;
    background-color: #FFF !important;
    transition: 0.5s all;
}
.contract_add:hover {
    background-color: #eee !important;
}
.contract_add .card-header-right {
    top: 10px !important;
}
.icon-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #666;
    vertical-align: middle;
    cursor: pointer;
}
.contract_content {
    margin: 30px 10px;
}
.contract_content ul {
    list-style: cjk-ideographic;
    padding-left: revert;
    line-height: 2.5rem;
}
.contract_content input {
    line-height: 1.8rem;
    color: #b81c22;
    border: none;
    border-bottom: 0px solid #b81c22;
}
.contract_content input:focus {
    border: 0;
    box-shadow: none;
}
.contract_textarea {
    width: 100%;
}
.contract_date {
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.5rem;
    float: right;
    padding: 30px 0 10px;
}
.contract_date input {
    max-width: 100px;
}
.contract_text {
    width: 50%;
    min-width: 300px;
    white-space: normal;
    padding: 10px 0 !important;
}
.contract_money {
    width: 15%;
    min-width: 100px;
    padding-right: 90px !important;
}
.contract_text input {
    width: 100%;
    max-width: 150px;
}
.contract_money input {
    width: 100%;
    min-width: 100px;
}
.payment_detail {
    display: flex;
    align-items: center;
    line-height: 3rem;
}
.payment_detail input {
    width: 50%;
    min-width: 120px;
}
.payment_detail input[type="checkbox"] {
    width: 30px;
    min-width: auto;
    height: auto;
}
.target_detail {
    white-space: normal;
    line-height: 1.2rem;
}
.target_detail input[type="radio"] {
    width: 20px;
    min-width: auto;
    height: auto;
}
.target_detail input[type="checkbox"] {
    width: fit-content;
    min-width: auto;
    height: auto;
    margin: 0 5px;
}
.target_detail .other_text {
    white-space: nowrap;
}
.target_detail input[type="text"] {
    width: 20%;
    /*min-width: 400px;*/
    /*height: auto;*/
}
.rent_text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #b81c22;
    text-align: right;
    padding: 0 20px;
}

/* TAB */
.tab-content {
    margin: 30px auto;
}
.tabs {
    background: #FFF;
    position: relative;
}
.tabs > input,
.tabs > span {
    /* width: 20%; */
    width: 16.66%;
    height: 40px;
    line-height: 2.8rem;
    position: absolute;
    top: 0;
}
.tabs > input {
    cursor: pointer;
    filter: alpha(opacity=0);
    opacity: 0;
    position: absolute;
    z-index: 99;
}
.tabs > span {
    background: #b81c22;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    color: #FFF;
    overflow: hidden;
    border-right: 1px solid #FFF;
}
.tabs > span i,
.tabs > span {
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}
.tabs > input:hover + span {
    background: rgba(255,255,255,.1);
}
.tabs > input:checked + span {
    background: #FFF;
    color: #b81c22;
}
.tabs > input:checked:hover + span {
    background: #FFF;
}
.tabs > input:hover + span {
    background-color: #ff000a;
}
#tab-1, #tab-1 + span {
    left: 0;
}
#tab-2, #tab-2 + span {
    /* left: 20%; */
    left: 16.66%;
}
#tab-3, #tab-3 + span {
    /* left: 40%; */
    left: 33.32%;
}
#tab-4, #tab-4 + span {
    /* left: 60%; */
    left: 49.98%;
}
#tab-5, #tab-5 + span {
    left: 66.64%;
}
#tab-6, #tab-6 + span {
    left: 83.3%;
}
.tab-content {
    padding: 60px 30px 30px;
    width: 100%;
}
.tab-content section {
    width: 100%;
    display: none;
}
.tab-content section h1 {
    margin-top: 15px;
    font-size: 100px;
    font-weight: 100;
    text-align: center;
}
#tab-1:checked ~ .tab-content #tab-item-1  {
    display: block;
}
#tab-2:checked ~ .tab-content #tab-item-2  {
    display: block;
}
#tab-3:checked ~ .tab-content #tab-item-3  {
    display: block;
}
#tab-4:checked ~ .tab-content #tab-item-4  {
    display: block;
}
#tab-5:checked ~ .tab-content #tab-item-5  {
    display: block;
}
#tab-6:checked ~ .tab-content #tab-item-6  {
    display: block;
}

@media only screen and (max-width: 768px) {
    .tabs > span {
        height: 60px;
        line-height: 1.8rem;
    }
}
/*新增&修改選單*/
.addmenu {
    width: 100%;
    height: 100%;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.3);
    position: fixed;
    right: -100%;
    top: 0;
    opacity: 1;
    z-index: 9999;
}
.halfmenu {
    width: 90%;
    max-width: 600px;
    padding: 40px;
    margin: 0 auto;
    background-color: #FFF;
    border-radius: 0.25rem;
    border: solid 1px rgba(0,0,0,0.1);
    box-shadow: 0px 8px 8px 2px rgba(0,0,0,0.06);
    /*絕對置中*/
    position: absolute;
    top:50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #b81c22;
    overflow-y: auto;
}
.halfmenu.ask {
    width: 90%;
    max-width: 320px;
    height: 90%;
    max-height: 240px;
    background-color: #666;
    color: #FFF;
    text-align: center;
    padding: 30px 20px 0px;
}
.open .addmenu {
    right: 0;
    -webkit-transition: opacity 0.5s linear;
    transition: opacity 0.5s linear;
}
.addmenu:hover {
    overflow-y: auto;
}
.form-group.account {
    display: flex;
}
.form-1, .form-2, .form-3 {
    width: 100%;
}
.form-1 {
    margin-bottom: 30px;
    margin-right: 2rem;
}
.form-1.account {
    margin: 0 30px 0 0;
}
.form-3 {
    margin-right: 0px;
    line-height: 2rem;
    position: relative;
    display: grid;
    padding-top: 0.4rem;
}
.form-1 p, .form-2 p, .form-3 p {
    border-radius: 0px;
    color: #b81c22;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    border: 2px solid #b81c22;
}
.form-content {
    padding: 0.4rem 0rem;
}
.form-content input {
    width: 100%;
    font-size: 0.5rem;
    border: 0.5px solid #ccc;
    padding-left: 1rem;
    border-radius: 0px;
    display: block;
}
.form-content .form-box {
    width: 100%;
    font-size: 0.5rem;
    white-space: initial;
    display: block;
}
.form-box label {
    color: #707070;
    font-size: 0.9rem;
    letter-spacing: 0.07rem;
    display: inline-block;
}
.form-content input:hover {
    border: 0.5px solid #b81c22;
}
.form-content select {
    width: 100%;
    font-size: 0.5rem;
    border: 0.5px solid #ccc;
    padding: 0.5rem 1rem;
    border-radius: 0px;
    display: block;
}
.form-content select:hover {
    border: 0.5px solid #b81c22;
}
.form-btn {
    padding: 1rem 0 0;
    text-align: center;
}
.ask .form-btn {
    float: none;
    padding: 0.5rem;
}
.form-btn button {
    background-color: #b81c22;
    border-radius: 0px;
    color: #FFF;
    border: 0;
    padding: 0.35rem 3rem;
    margin: 0.5rem;
    cursor: pointer;
}
.form-btn button:hover {
    background-color: #ff5252;
    -webkit-box-shadow: -1px 1px 1px 1px #d2d2d2, 0px 0px 1px 1px rgba(255,255,255,0.2) inset;
    box-shadow: -1px 1px 2px 1px #d2d2d2, 0px 0px 1px 2px rgba(255,255,255,0.2) inset;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    -ms-transition: all 0.3s linear;
    transition: all 0.3s linear;
}
.form-btn button.preview {
    background-color: #2F3DA0;
}
.form-btn button.cancel {
    background-color: #c24242;
}
.form-btn button.cancel2 {
    background-color: #888888;
}
.form-btn button.cancel:hover {
    background-color: #000;
}
.ask .form-btn button {
    background-color: #b81c22;
    border-radius: 0px;
    color: #FFF;
    border: 0;
    padding: 0.35rem 2.5rem;
    margin: 0.5rem;
    cursor: pointer;
}
.ask .form-btn button:hover {
    background-color: #ff5252;
    box-shadow: none;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    -ms-transition: all 0.3s linear;
    transition: all 0.3s linear;
    transform: translate(0px, 2px);
}
.ask .form-btn button.cancel {
    background-color: #c24242;
}
.ask .form-btn button.cancel:hover {
    background-color: #000;
}

/*切換按鈕*/
.checkme {
    display: flex;
    margin: 1.2rem 0 0;
}
.checkme p {
    margin: 5px 10px 5px 0px;
    font-size: 1rem;
}
.switchshow {
    display: none;
}
.switchshow+label {
    display: inline-block;
    width: 62px;
    height: 25px;
    background: #eee;
    color: transparent;
    cursor: pointer;
    -webkit-box-shadow: -1px 1px 1px 1px #d2d2d2 inset;
    box-shadow: -1px 1px 1px 1px #d2d2d2 inset;
    border-radius: 15px;
    overflow: hidden;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    position: relative;
}
.switchshow+label:before {
    content: "";
    display: inline-block;
    height: 19px;
    width: 19px;
    background-color: #fdfdfd;
    background-image: -webkit-linear-gradient(top, transparent 0%, rgba(0,0,0,0.2) 100%);
    background-image: -moz-linear-gradient(top, transparent 0%, rgba(0,0,0,0.2) 100%);
    background-image: -o-linear-gradient(top, transparent 0%, rgba(0,0,0,0.2) 100%);
    background-image: -ms-linear-gradient(top, transparent 0%, rgba(0,0,0,0.2) 100%);
    background-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.2) 100%);
    border: 1px solid #bababa;
    border-radius: 50%;
    -webkit-box-shadow: -1px 1px 1px 1px #d2d2d2, 0px 0px 1px 1px rgba(255,255,255,0.2) inset;
    box-shadow: -1px 1px 1px 1px #d2d2d2, 0px 0px 1px 1px rgba(255,255,255,0.2) inset;
    z-index: 3;
    position: absolute;
    top: 3px;
    left: 4px;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    -ms-transition: all 0.3s linear;
    transition: all 0.3s linear;
}
.switchshow+label:after {
    content: attr(data-off);
    font-size: 10px;
    font-weight: 700;
    color: #333;
    z-index: 2;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    position: absolute;
    top: 6px;
    left: 28px;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    -ms-transition: all 0.3s linear;
    transition: all 0.3s linear;
}
.switchshow:checked+label:before {
    background-color: #b81c22;
    border: 1px solid #b81c22;
    left: 39px;
}
.switchshow:checked+label:after {
    content: attr(data-on);
    left: 9px;
}
.switchshow:disabled+label:after,
.switchshow:checked:disabled+label:after {
    color: #999;
}
.switchshow:checked:disabled+label:before {
    border: 1px solid #b81c22;
}

/*勾選*/
.form-box input[type="checkbox"] {
    display: none;
} /* to hide the checkbox itself */
.form-box input[type="checkbox"] + label:before {
    font-family: 'Material Icons';
    font-size: 26px;
    display: inline-block;
    vertical-align: middle;
    padding-bottom: 4px;
    padding-right: 4px;
    white-space: nowrap;
}
.form-box input[type="checkbox"]:checked + label.permission-have:before {
    content: "\e834";
} /* checked icon */
.form-box input[type="checkbox"] + label.permission-have:before {
    content: "\e835";
    color: #b81c22;
} /* unchecked icon */
.form-box input[type="checkbox"] + label.permission-denied:before {
    content: "\e835";
    color: #707070;
} /* unchecked icon */

/*眼睛*/
.eyecode {
    position: absolute;
    right: 0%;
    top: 73%;
    transform: translate(-50%, -40%);
}
.eyecode:hover {
    right: 0%; top: 75%;
}

/*捲軸*/
/*捲軸底色*/
#scrollme::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.2);
}
/*/捲軸寬度*/
#scrollme::-webkit-scrollbar {
    width: 10px;
}
/*捲軸本體顏色*/
#scrollme::-webkit-scrollbar-thumb {
    border-radius: 0px;
    background-color: #999;
    -webkit-box-shadow: -1px 1px 1px 1px #d2d2d2, 0px 0px 1px 1px rgba(255,255,255,0.2) inset;
    box-shadow: -1px 1px 1px 1px #d2d2d2, 0px 0px 1px 1px rgba(255,255,255,0.2) inset;
}

/*Radio 勾選*/
.form-box input[type="radio"] {
    display: none;
} /* to hide the checkbox itself */
.form-box input[type="radio"] + label:before {
    font-family: 'Material Icons';
    font-size: 26px;
    display: inline-block;
    vertical-align: middle;
    padding-bottom: 4px;
    padding-right: 4px;
    white-space: nowrap;
}
.form-box input[type="radio"]:checked + label.permission-have:before {
    content: "\e834";
} /* checked icon */
.form-box input[type="radio"] + label.permission-have:before {
    content: "\e835";
    color: #b81c22;
} /* unchecked icon */
.form-box input[type="radio"] + label.permission-denied:before {
    content: "\e835";
    color: #707070;
} /* unchecked icon */

/*/日期選擇器 重新設定th最小長度 避免跑版*/
.ui-datepicker select.ui-datepicker-month,
.ui-datepicker select.ui-datepicker-year {
    width: 35%;
}
.ui-datepicker-calendar th {
    white-space: nowrap;
    width: 5%;
    min-width: 0px;
    padding: 10px 20px 0px 0px;
    text-align: left;
}

.dashed-line-with-text {
    display: flex;
    align-items: center;
    margin: 1rem 0;
    color: #999;
    font-weight: bold;
}

.dashed-line-with-text::before,
.dashed-line-with-text::after {
    content: '';
    flex: 1;
    border-top: 1px dashed currentColor;
    margin: 0 0.5rem;
}
