@charset "utf-8";

a{
    text-decoration: none;
}

.fa, .fas{
    font-size: 1.3125rem;
}

/*loading start*/
.loading-div {
    display: none;
    position: fixed;
    z-index: 1051;
    padding-top: 250px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 12;
}

.loading-div-content {
    margin: auto;
    padding: 20px;
    width: 270px;
    text-align: center;
}
/*loading end*/
input {
    border: #6e6e6e solid 0.1rem;
    border-radius: 0.3rem;
    margin: 4px 0;
    outline:none;
}

input[type="text"] {
    padding: 5px;
    margin: 4px 2px;
}

input[type="text"] + label {
    cursor: pointer;
}

input+label {
	cursor: pointer;
	position: relative;
	margin: 0;
}

input+label>span {
	vertical-align: text-bottom;
	text-indent: 3px;
	margin: 0 0px 0 0;
}

input+label>span {
	text-indent: 3px;
	margin: 0 0px 0 0;
	/*display: inline-block;
	width: calc(100% - 40px);*/
	vertical-align: top;
}

input[type="checkbox"] {
	display: none;
}

input[type="checkbox"]+label:before {
	content: "";
	display: inline-block;
	width: 20px;
	height: 20px;
	border: 2px solid #666;
	border-radius: 4px;
	position: relative;
	top: 4px;
	right: 3px;
	background-color: #fff;
	font-size: 1.25rem;
}

input[type='checkbox']:not([disabled]):not(:checked):hover+label:before {
	border-color: rgba(59, 124, 180, .6);
}

input[type='checkbox']:checked+label:before {
	border-color: #3b7cb4;
}

input[type='checkbox']:not([disabled]):not(:checked):hover+label:after {
	content: "";
	display: inline-block;
	width: 12px;
	height: 12px;
	background-color: rgba(59, 124, 180, .6);
	position: absolute;
	left: 1px;
	top: 8px;
	border-radius: 4px;
}

input[type='checkbox']:checked+label:after {
	content: "";
	display: inline-block;
	width: 12px;
	height: 12px;
	background-color: #3b7cb4;
	position: absolute;
	left: 1px;
	top: 8px;
	border-radius: 4px;
}

input[type="radio"] {
	display: none;
}

input[type="radio"]+label:before {
	content: "";
	display: inline-block;
	width: 20px;
	height: 20px;
	border: 2px solid #666;
	border-radius: 50px;
	position: relative;
	top: 2px;
	right: 3px;
	background-color: #fff;
}

input[type='radio']:not([disabled]):not(:checked):hover+label:before {
	border-color: rgba(59, 124, 180, .6);
}

input[type='radio']:checked+label:before {
	border-color: #3b7cb4;
}

input[type='radio']:not([disabled]):not(:checked):hover+label:after {
	content: "";
	display: inline-block;
	width: 14px;
	height: 14px;
	background-color: rgba(59, 124, 180, .6);
	position: absolute;
	left: 0px;
	top: 5px;
	border-radius: 50px;
}

input[type='radio']:checked+label:after {
	content: "";
	display: inline-block;
	width: 14px;
	height: 14px;
	background-color: #3b7cb4;
	position: absolute;
	left: 0px;
	top: 5px;
	border-radius: 50px;
}

select {
    border: #6e6e6e solid 0.1rem;
    border-radius: 0.3rem;
    padding: 6px 3px;
    margin: 4px 2px;
}

.disable-links {
    pointer-events: none;
    background-color: #999999 !important;
}

.code {
    /* background: url(img/0306.png); */
    font-family: Arial;
    font-style: italic;
    color: blue;
    font-size: 1.625rem;
    border: 0;
    padding: 2px 3px;
    letter-spacing: 3px;
    font-weight: bolder;
    /* float: left; */
    cursor: pointer;
    width: 150px;
    height: 35px;
    line-height: 28px;
    text-align: center;
    vertical-align: middle;
}

#back-to-top,
#back-to-top_con{
    left: calc(100% - 100px);
    bottom: 0px;
    display: none;
    padding: 8px;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    position: fixed;
    width: 60px;
    height: 40px;
    border-radius: 5px 5px;
    background-color: rgba(99, 177, 65, 0.9);
    border-color: rgba(99, 177, 65, 0.9);
    opacity: .6;
    z-index: 2;
    transition: 0.3s;
    left: calc(100% - 90px);
}

#back-to-top_con{
    z-index: 10;
}

#back-to-top:hover,
#back-to-top_con:hover {
    opacity: 1;
}

#back-to-top>span,
#back-to-top_con>span {
    line-height: 20px;
    font-size: 1.438rem;
}

.tal{
    text-align: left;
}

.w100{
    width: 100px;
}

.promptText {
    color: #ea0000;
}

.tact {
    text-align: center;
}

.little_word{
    margin: 0px 5px;
    white-space: nowrap;
}

.little_word.chkboxlist{
    margin: 8px;
    white-space: nowrap;
    /* display: inline-block; */
}

.content-wrapper{
    margin: 0 30px;
}

.topnavbar{
    color: #fff;
    font-weight: bold;
    min-height: 55px;
    background-color: #62bfbd;
    padding: 0 5px;
}

#topTitLink{
    font-size: 1.125rem;
    font-weight: initial;
}

#topTitLink > a {
    padding: 0 5px;
    color: #fff;
}

#topTitLink > a:hover {
    color: #ffcc01;
}

.content-heading{
    color: #23b7e5;
    font-size: 1.5rem;
    padding: 20px;
    height: 77px;
    background-color: #fafbfc;
    border-bottom: 1px solid #cfdbe2;
    position: sticky;
    top: 0;
    z-index: 3;
}

.wrapper{
    margin: 0 5px;
}

.table_th {
    color: #4cb6ac;
    text-align: right;
    font-weight: bold;
    padding: 0.7rem 0.75rem;
    font-size: 1rem;
}

.table_td {
    color: #3d3d3d;
    padding: 0.7rem 0.75rem;
}

.searchBar{
    height: 40px;
    background-color: #82c882;
    display: flex;
    justify-content: end;
    align-items: center;
}

.titleBar{
    height: 40px;
    color: #fff;
    font-size: 1.25rem;
    font-weight: bold;
    padding: 0 10px;
    background-color: #82c882;
    display: flex;
    justify-content: start;
    align-items: center;
}

.btn-V2 {
    min-width: 120px;
    padding: 4px 3px;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    color: #FFF;
    border-radius: 5px;
    transition: all .3s linear;
    margin: 0 5px;
    font-size: 1rem;
    text-shadow: 0px 0px 0px white;
}

.btn-V3 {
    min-width: 150px;
    padding: 8px 4px;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    color: #FFF;
    border-radius: 5px;
    transition: all .3s linear;
    margin: 0 5px;
    font-size: 1rem;
    text-shadow: 0px 0px 0px white;
}


.btn-V2:hover{
    color: #fff;
}

.btn-V2-green {
    background-color: #389364;
}

.btn-V2-green:not(.fake):hover{
    background-color: #1a6a40;
    color: #fff;
}

.btn-V2-blue {
    background-color: #387e93;
}

.btn-V2-blue:not(.fake):hover{
    background-color: #1a516a;
    color: #fff;
}

.btn-V2-red {
    background-color: #933838;
}

.btn-V2-red:not(.fake):hover{
    background-color: #6a1a1a;
    color: #fff;
}

.addressBtn{
    min-width: 90px;
    padding: 4px 3px;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    color: #FFF;
    border-radius: 5px;
    transition: all .3s linear;
    margin: 0 5px;
    font-size: 1rem;
    text-shadow: 0px 0px 0px white;
    background-color: #e97a31;
 }

 .addressBtn:hover{
    color: white;
    background-color: #eb6309 ;
 }

 .checkPayBtn{
    min-width: 90px;
    padding: 4px 3px;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    color: #FFF;
    border-radius: 5px;
    transition: all .3s linear;
    margin: 0 5px;
    font-size: 1rem;
    text-shadow: 0px 0px 0px white;
    background-color: #317be9;
 }

 .checkPayBtn:hover{
    color: white;
    background-color: #1f68d6 ;
 }

.title {
    padding: 0.5rem;
}

.dr.query, .dr.insert{
    /* display: ruby; */
    display: flex;
    justify-content: left;
    align-items: baseline;
    transition: .3s;
}

#data_grid_div .dr:nth-child(odd) {
    background-color: #ffeaaa;
}

#data_grid_div .dr:nth-child(even) {
    background-color: #fff7c4;
}

.rowBox {
    position: relative;
    min-height: 50px;
}

#data_grid_div .rowBox {
    border-bottom: #fff solid 2px;
}

.form-headup-t {
    font-size: 1.0rem;
    text-align: center;
    background: #c3d3e0;
    color: #413c40;
    padding: 5px;
    border-right: solid 2px #fff;
}

.table_th_2 {
    background-color: #a5d4a6;
    color: #0a4c27;
    padding: 0.7rem 0.75rem;
    font-size: 1.0rem;
    font-weight: bold;
}

.table_td_2 {
    color: #3d3d3d;
    /* text-align: center; */
    padding: 0.5rem 0.2rem;
    /* border: #a4a4a4 solid 0.1rem; */
    border-collapse: collapse;
    font-size: 1.0rem;
}

.table_td_2:not(.tb2):first-child {
    /* border-left: #a4a4a4 solid 1px; */
}

.form-headup-c {
    font-size: 1rem;
    padding: 5px 10px;
    text-align: center;
    border-right: solid 2px #fff;
}

.newCase .form-headup-c {
    border-right: solid 2px #dedede;
}

.form-headup-d{
    padding: 5px 10px;
    text-align: center;
    border-right: solid 2px #a5d4a6;
    border-bottom: solid 2px #a5d4a6;

    min-height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-headup-d:first-child{
    border-left: solid 2px #a5d4a6;
}

.form-headup-hide {
    display: none;
}

.table_th_open {
    display: none;
    min-width: 180px;
    white-space: nowrap;
}

/* BOOK 彈出視窗 start */
.wod{
    margin: 10px 0;
}

.showPage .btnFa{
    color: #777777;
    padding: 8px 0 0 0;
    text-align: right;
    position: sticky;
    top: 0;
    margin-right: -25px;
    background-color: #fff;
}

.showPage  .btnFa .fa{
    font-size: 2.25rem;
    cursor: pointer;
}

.showPage .fa-times-circle-o:hover{
    color: #62bfbd;
}

.showPage .content  .wod.title{
    color: #fff;
    padding: 5px 5px 0;
    font-size: 2rem;
    background-color: #62bfbd;
    position: sticky;
    top: 44px;
    margin: 0px 0 10px 0;
    text-align: center;
}

.wod_C{
    text-indent: -35px;
    margin-left: 35px;
}

.wod_E{
    margin-left: 35px;
}

.note{
    color: red;
    font-size: 1rem;
    margin-left: 35px;
}
/* BOOK 彈出視窗 end */

/* 彈出視窗 start */
.showPage {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .6);
    position: fixed;
    top: 0;
    left: 0;
    /* display: none; */
    z-index: 3;
}

.showPage .content {
    width: calc(100% - 40px);
    height: calc(100% - 60px);
    max-height: 880px;
    padding: 0 30px 15px;
    background-color: #fff;
    border-radius: 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    overflow-y: auto;
}

.showPageNew {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .6);
    position: fixed;
    top: 0;
    left: 0;
    /* display: none; */
    z-index: 3;
}

.showPageNew .content {
    width: 1500px;
    height: calc(100% - 60px);
    max-height: 880px;
    padding: 0 30px 15px;
    background-color: #fff;
    border-radius: 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    overflow-y: auto;
}

@media (max-width: 768px) {
    .showPageNew .content {
        width: 90%; 
        padding: 0 20px; 
    }
}

.showPage .content.odd {
    overflow: auto;
}

.showPage.bmsbase .content {
    max-width: 500px;
    height: 350px;
}

.showPage .content.lttlesize {
    max-width: 500px;
    height: auto;
    max-height: 350px;
    overflow-y: auto;
}


.showPage .content.mediansize {
    max-width: 800px;
    height: auto;
    max-height: 750px;
    overflow-y: auto;
}

.showPage .content.spsize {
    max-width: 840px;
    height: auto;
    max-height: 600px;
    overflow-y: auto;
}

.showPage .content.smsize {
    max-width: 525px;
    height: auto;
    max-height: 200px;
    overflow-y: auto;
}

.showPage .content.squsize {
    max-width: 1050px;
    height: auto;
    max-height: 900px;
    min-height: 600px;
    /* transform: translatex(0); */
    overflow-y: auto;
}

.showPage .content .titcon {
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: end;
    background-color: #fff;
    position: sticky;
    top: 0;
    z-index: 5;
}

.showPage .content .titcon+div.nav {
    position: sticky;
    top: 80px;
    z-index: 5;
    background-color: #fff;
    padding-bottom: 10px;
}

.showPage .content .titcon2 {
    height: 50px;
    display: flex;
    /* justify-content: center; */
    /* align-items: end; */
    background-color: #fff;
    /* position: sticky; */
    /* top: 0; */
    /* z-index: 5; */

}

.showPage .content .title {
    color: #008bbe;
    font-size: 1.375rem;
    font-weight: bold;
}

/* 彈出視窗 end */

/* 訊息框 star */
.BG, .copyBG {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 20px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
}

.checkbox, .copyitemBox {
    font-size: 1.3rem;
    color: #3b7cb4;
    color: #000;
    font-weight: bold;
    width: 600px !important;
    max-width: 100%;
    /* height: 160px; */
    height: auto;
    min-height: 200px;
    background-color: #ffffff;
    top: 50%;
    left: 50%;
    position: fixed;
    border-radius: 5px;
    box-shadow: 1px 1px 3px #636363;
    text-align: center;
    z-index: 99913;
    padding: 6px;
    border: 0px;
    transform: translate(-50%, -50%);
}

.checkbox>*, .copyitemBox>* {
    position: relative;
    z-index: 2;
}

.checkbox .msg, .copyitemBox .msg {
    min-height: 40px;
    padding: 10px 0px;
    text-shadow: 0px 0px 5px white;
    text-align: center;
    word-wrap: break-word;
}

input[type="button"][value="確定"], input[type="button"][value="取消"], input[type="button"][value="複製代碼"] {
    font-size: 2rem;
    color: #fff;
    border: none;
    border-radius: 5px;
    background-color: #00a5cf;
    width: 90px;
    text-align: center;
    cursor: pointer;
    font-size: 1.125rem;
    margin: 20px 10px 0;
}

input[type="button"][value="取消"] {
    background-color: #959595;
    /* display: none; */
}


/* 訊息框 end */

/* 雜項 star*/
#data_grid_div .dr.newCase{
    background-color: #fff;
    border: 2px solid red;
}

.showPage .btnApply {
    color: #777777;
    padding: 0px 0 0 0;
    text-align: right;
    position: absolute;
    top: 10px;
    right: 20px;
    background-color: #fff;
    cursor: pointer;
}

.showPageNew .btnApply {
    color: #777777;
    padding: 0px 0 0 0;
    text-align: right;
    position: absolute;
    top: 10px;
    right: 20px;
    background-color: #fff;
    cursor: pointer;
}

/* 雜項 end*/

@media (max-width: 991px) {
    .form-headup-ro {
        display: none;
    }

    .form-headup-hide {
        display: inline;
        font-weight: bold;
        float: left;
        text-align: right;
        height: 100%;
    }

    .table_td_2 {
        border: none;
        padding: 0px;
        text-align: left;
        display: flex;

        border: solid 2px #a5d4a6;
        border-bottom: 0px;
    }

    .table_td_2:last-child{
        border-bottom: solid 2px #a5d4a6;
    }

    .table_td_2 > div{
        padding: 5px;
    }

    .table_th_open{        
        border-bottom: 2px solid #fff;
        background-color: #a5d4a6;
    }

    .form-headup-d {
        min-height: auto;
        justify-content: left;
        align-items: normal;
    }
}

/*-------------------------------------*/
/*-------- 滿意度調查 -----------#36C2B9*/
/*-------------------------------------*/
.satisfaction{

}

.satisfaction input[type="checkbox"], input[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}

.satisfaction input {
    line-height: normal;
    display: none;
}

.satisfaction input[type="radio"]+label:before {
    content: "";
    display: inline-block;
    width: 0px;
    height: 0px;
    border: 0px solid #666;
    border-radius: 50px;
    position: relative;
    top: 0px;
    right: 0px;
}

.satisfaction input[type='radio']:checked+label:after {
    content: "";
    display: inline-block;
    width: 0px;
    height: 0px;
    background-color: rgba(0,0,0,0);
    position: absolute;
    left: 0px;
    top: 0px;
    border-radius: 50px;
}

.satisfaction input[type='radio']:hover+label:after {
    content: "";
    display: inline-block;
    width: 0px;
    height: 0px;
    background-color: rgba(0, 0, 0, 0);
    position: absolute;
    left: 0px;
    top: 0px;
    border-radius: 50px;
}

.satisfaction .area-form.vote .ct .fieldset label {
    display: inline-block;
    vertical-align: middle;
    width: 40px;
    height: 40px;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url(/images/star-select.png);
    transition: 150ms;
    color: transparent;
    background-size: contain;
    margin: 0 14px;
    cursor: pointer;
}
.base-module-area .area-form.vote .ct .fieldset label {
    display: inline-block;
    vertical-align: middle;
    width: 40px;
    height: 40px;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url(/images/star-select.png);
    transition: 150ms;
    cursor: pointer;
}

.satisfaction .area-form.vote .ct .fieldset label.People,
.base-module-area .area-form.vote .ct .fieldset label.People{
    cursor:pointer;
}

.satisfaction .area-form.vote .ct .fieldset input[type="radio"]:checked+label ~ label {    
    background-image: url(/images/star-null.png);
}
.base-module-area .area-form.vote .ct .fieldset input[type="radio"]:checked+label ~ label {
    background-image: url(/images/star-null.png);
}
.satisfaction .area-form.vote .ct .fieldset label:hover ~ label.People {
    opacity: 0.3;
}
.base-module-area .area-form.vote .ct .fieldset label:hover ~ label.People {
    opacity: 0.3;
}

.fieldset input[type='radio']:not([disabled]):not(:checked):hover+label:after{
    width: 0px;
}

/*-------------------------------------*/
/*-------- 滿意度調查 END--------#36C2B9*/
/*-------------------------------------*/

.grayscale{
    filter: grayscale(100%) blur(2px);
}

.btnlink{
    font-weight: bold; 
    min-width: 106px;
    padding: 1px 3px;
}

.msgboxcon{
    width: 400px;
    margin: auto;
    text-align: left;
    text-indent: -104px;
    margin-left: 144px;
}

#felxmas{
    position: absolute;
    top: 1390px; /*1460*/
    height: 70px;
    padding: 0 310px;
    font-size: 3rem;
    font-weight: bold;
    color: red;
    display: none;
    background-color: #fff;
}

@media (max-width: 768px) {
    .table_th {
        text-align: left;
        padding: 0.7rem 0.75rem 0rem;
    }
}