/* 
╔════════════════════════════════════════╗
║title:main CSS                        　║
╚════════════════════════════════════════╝
*/

html,
body {
    margin: 0px;
    padding: 0px;
    height: 100%;
    font-family: '微軟正黑體', '標楷體', serif, sans-serif;
    font-size: 12px;
}

div {
    /* border: 1px solid #0000ff; */
    padding: 0px;
    margin: 0px;
}

.bor-red {
    border: 1px solid #ff0000;
}

.main {
    width: 100%;
    padding: 10px;
    vertical-align: top;
    display: inline-block;
    /* border: 1px solid #ff0000; */
}

.row {
    padding: 0px;
    margin: 0px;
}

.body {
    background-image: url("../images/bg.gif");
    background-repeat: repeat;
}

label {
    font-weight: bold;
    font-size: 16px;
    padding: 0px 2px;
}

.span {
    display: inline-block;
    padding: 2px;
}

button,
.button {
    margin: 5px;
    font-weight: bolder;
    font-size: 14px;
}

.addBut {
    color: #389bff;
    font-size: 16px;
}

.addBut:hover {
    color: #134e88;
}

.sortBut {
    width: 200px;
}

select {
    margin: 5px;
}

.input {
    height: 22px;
    width: 130px;
    margin: 5px;
}

.input_4 {
    width: 50px;
    height: 22px;
}

.input_2 {
    width: 30px;
    height: 22px;
}

.input_80 {
    width: 80px;
}

.input_90p {
    height: 22px;
    width: 90%;
    margin: 5px;
}

.input_130 {
    width: 130px;
}

.input_180 {
    width: 180px;
}

.input_250 {
    width: 250px;
}

.input_100p {
    width: 100%;
}

/*placeholder*/

/*webkit瀏覽器專用*/

input::-webkit-input-placeholder {
    color: rgb(200, 200, 200);
    font-size: 10px;
}

/*Firefox 4-18瀏覽器專用*/

input::-moz-placeholder {
    color: rgb(200, 200, 200);
    font-size: 10px;
}

/*Firefox 19+瀏覽器專用*/

input::-moz-placeholder {
    color: rgb(200, 200, 200);
    font-size: 10px;
}

/*IE10瀏覽器專用*/

input:-ms-input-placeholder {
    color: rgb(200, 200, 200);
    font-size: 10px;
}

/*color*/

.red {
    color: #FF0000;
}

.blue {
    color: #0000FF;
}

/*nav*/

.nav_box {
    padding: 0px;
    margin: 0px;
    vertical-align: middle;
    height: 40px;
}

.logo {
    width: auto;
    padding: 0px 5px;
    float: left;
    position: relative;
    z-index: 1;
}

.logo img {
    height: 40px;
}

.web_title {
    width: 100%;
    text-align: center;
    float: left;
    position: absolute;
    z-index: 2;
}

.web_title a {
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 5px;
    color: #389bff;
}

.web_title a:hover {
    color: #134e88;
}

.acc_box {
    text-align: right;
    width: auto;
    padding: 0px 5px;
    float: right;
    position: relative;
    z-index: 3;
}

.acc_span {
    display: inline-block;
}

/*選單CSS*/

.menu {
    margin: 5px 0px;
    padding: 5px 0px 0px 0px;
    width: 100%;
    text-align: center;
    box-shadow: 0px 0px 4px 0px rgb(83, 83, 83);
    vertical-align: middle;
    background-color: #fff;
}

ul {
    margin: 0px;
    padding: 0px;
    list-style: none;
}

ul.drop-down-menu {
    display: inline-block;
    font-size: 16px;
    font-weight: bold;
}

ul.drop-down-menu li {
    position: relative;
    white-space: nowrap;
}

ul.drop-down-menu > li:last-child {
    border-right: none;
}

ul.drop-down-menu > li {
    float: left;
}

ul.drop-down-menu a {
    color: #333;
    display: block;
    padding: 0px 15px;
    text-decoration: none;
    line-height: 30px;
}

ul.drop-down-menu a:hover {
    background-color: #ffffff;
    color: #FF7575;
}

ul.drop-down-menu li:hover > a {
    background-color: #ffffff;
    color: #FF7575;
}

ul.drop-down-menu ul {
    display: none;
    border: #ccc 1px solid;
    position: absolute;
    z-index: 99;
    left: -1px;
    top: 100%;
    min-width: 100px;
    left: 99999px;
    opacity: 0;
    -webkit-transition: opacity 0.3s;
    transition: opacity 0.3s;
}

ul.drop-down-menu ul li {
    border-bottom: #ccc 1px solid;
    border-right: #ccc 1px solid;
    background-color: #fff;
}

ul.drop-down-menu ul li:last-child {
    border-bottom: none;
}

ul.drop-down-menu ul ul {
    z-index: 999;
    top: -1.5px;
    margin-left: 10px;
    /* left: 90%; */
}

ul.drop-down-menu li:hover > ul {
    display: block;
    opacity: 1;
    -webkit-transition: opacity 0.3s;
    transition: opacity 0.3s;
    left: -1px;
    border-right: 5px;
}

ul.drop-down-menu li:hover > ul ul {
    left: 99999px;
}

ul.drop-down-menu ul li:hover > ul {
    left: 90%;
}

.fas {
    font-size: 12px;
    padding-left: 5px;
}

/*mobile menu*/

.menu_mobile {
    width: auto;
    height: 40px;
    position: relative;
    z-index: 3;
    float: right;
    display: none;
}

.menu_label {
    display: block;
    color: #000;
    font-size: 24px;
    font-weight: bold;
    text-align: right;
}

#burger {
    display: none;
}

#burger:checked + .menu_ul {
    display: block;
}

.menu_ul {
    display: none;
    width: 150px;
    margin: 0px;
    padding: 0px;
    vertical-align: top;
}

.menu_ul a {
    text-decoration: none;
    color: #333;
}

.menu_ul a:hover {
    color: #FF7575;
}

.acc_box_m {
    background-color: #fff;
    margin: 0px;
    padding: 5px;
    text-align: right;
    border-left: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    border-top: 1px solid #ccc;
}

.m_menu_title {
    cursor: pointer;
    background-color: #fff;
    margin: 0px;
    padding: 5px;
    text-align: center;
    border-left: 1px solid #ccc;
    border-bottom: 1px dashed #ccc;
    font-weight: bold;
    font-size: 16px;
}

.m_menu_title_sub {
    cursor: pointer;
    background-color: #fff;
    margin: 0px;
    padding: 5px;
    text-align: center;
    border-left: 1px solid #ccc;
    border-bottom: 1px dashed #ccc;
    font-weight: bold;
    font-size: 14px;
}

.m_menu_con {
    cursor: pointer;
    background-color: #fff;
    margin: 0px;
    padding: 5px;
    text-align: center;
    border-left: 1px solid #ccc;
    border-bottom: 1px dashed #ccc;
}

.flip-1,
.flip-2,
.flip-2-1,
.flip-2-2,
.flip-3,
.flip-3-1 {
    /* margin: 0px;
  padding: 0px; */
    /* text-align: center; */
    /* background: #E09697; */
    cursor: pointer;
}

.panel-1,
.panel-2,
.panel-2-1,
.panel-2-2,
.panel-3,
.panel-3-1 {
    /* margin: 0px;
  padding: 0px; */
    /* text-align: center; */
    /* background: #e5eecc; */
    /* border: solid 1px #c3c3c3; */
    display: none;
}

/*表單列表*/

/* table, th, tr, td {
  border: 1px solid #000000;
  border-collapse: separate;
  border-spacing: 1px;
} */

table {
    border: 1px solid #000000;
    border-spacing: 1px;
}

.table_box {
    width: 100%;
    margin: 10px auto;
}

.table_box_alarm {
    width: 100%;
    margin: 10px auto;
    border: 0px solid #fff;
}

.table_box_90 {
    width: 90%;
    margin: 10px auto;
}

.table_box_20 {
    width: 20%;
    margin: 10px;
}

.table_box_380px {
    width: 380px;
    border: 1px solid #000000;
}

.table_title {
    background-color: #2B2B2B;
    color: rgb(255, 255, 255);
    text-align: center;
    font-size: 16px;
    letter-spacing: 5px;
}

.tr_title {
    background-color: rgb(230, 230, 230);
    text-align: center;
    font-weight: bold;
    font-size: 14px;
}

.tr_A {
    background-color: rgba(255, 255, 255, 0);
    text-align: center;
}

.tr_B {
    background-color: #EEF8FF;
    text-align: center;
}

.tr_C {
    background-color: rgb(255, 252, 217);
}

.td_A {
    background-color: #EEF8FF;
    font-weight: bold;
    width: 90px;
}

.td_min100px {
    min-width: 100px;
}

.td_5 {
    width: 5%;
}

.td_8 {
    width: 8%;
}

.td_9 {
    width: 9%;
}

.td_10 {
    width: 10%;
}

.td_15 {
    width: 15%;
}

.td_20 {
    width: 20%;
}

.td_25 {
    width: 25%;
}

.td_30 {
    width: 30%;
}

.td_35 {
    width: 35%;
}

.td_40 {
    width: 40%;
}

.td_50 {
    width: 50%;
}

.td_60 {
    width: 60%;
}

.td_70 {
    width: 70%;
}

.td_75 {
    width: 75%;
}

.td_80 {
    width: 80%;
}

.td_lab {
    font-weight: bold;
    min-width: 50px;
}

.mobile_box {
    display: none;
    width: 100%;
    padding-bottom: 40px;
}

.web_box {
    display: block;
    width: 100%;
}

/*div table*/

.div_lab_170 {
    font-weight: bold;
    width: 170px;
    display: inline-block;
    text-align: right;
    vertical-align: top;
}

.middle {
    vertical-align: middle;
}

.div_lab_120 {
    font-weight: bold;
    width: 120px;
    display: inline-block;
    text-align: right;
    vertical-align: top;
}

.div_lab_80 {
    font-weight: bold;
    width: 80px;
    display: inline-block;
    text-align: right;
    vertical-align: top;
}

.div_lab_65 {
    font-weight: bold;
    width: 65px;
    display: inline-block;
    text-align: right;
    vertical-align: top;
}

.div_box {
    width: 100%;
    margin: 10px auto;
    border: 1px solid rgb(0, 0, 0);
}

.div_box_90 {
    width: 90%;
    margin: 10px auto;
    border: 1px solid rgb(0, 0, 0);
}

.div_title {
    background-color: #2B2B2B;
    color: rgb(255, 255, 255);
    text-align: center;
    font-size: 16px;
    letter-spacing: 5px;
    width: 100%;
}

.div_lab_A {
    background-color: #EEF8FF;
    font-weight: bold;
    display: inline-block;
    height: 22px;
    line-height: 22px;
    text-align: center;
}

.div_lab_B {
    background-color: #fcffd3;
    font-weight: bold;
    display: inline-block;
    height: 22px;
    line-height: 22px;
    text-align: center;
}

.div_100 {
    width: 100%;
    vertical-align: middle;
    padding: 5px;
}

.div_dataTotal {
    width: 30%;
    vertical-align: middle;
    display: inline-block;
}

.div_count {
    width: 70%;
    vertical-align: middle;
    display: inline-block;
}

.div_65px {
    width: 65px;
    display: inline-block;
    vertical-align: middle;
}

.div_90px {
    width: 90px;
    display: inline-block;
    vertical-align: middle;
}

.height_44 {
    height: 44px;
}

.div_ctrl span {
    padding: 5px;
}

.div_ctrl_per {
    width: 50%;
}

.div_ctrl_per span {
    padding: 5px;
}

/*圖片按鈕*/

.img-but {
    width: 20px;
}

/*位置*/

.center {
    text-align: center;
}

.left {
    text-align: left;
}

.right {
    text-align: right;
}

/* 動態視窗 */

.dymod {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0);
    visibility: hidden;
    opacity: 0;
    text-align: left;
    overflow: auto;
}

.dymod:target {
    visibility: visible;
    opacity: 1;
}

.mod_data {
    margin: 120px auto;
    padding: 20px;
    background: rgb(255, 255, 255);
    border-radius: 10px;
    -webkit-border-radius: 10;
    -moz-border-radius: 10;
    width: 350px;
    position: relative;
    box-shadow: 2px 2px 30px 1px rgb(194, 194, 194);
}

.mod_data h3 {
    font-weight: bold;
}

.mod_data hr {
    border: 0;
    height: 1px;
    background-color: rgb(143, 143, 143);
}

.close {
    position: absolute;
    top: 0px;
    right: 10px;
    transition: all 200ms;
    font-size: 30px;
    font-weight: bold;
    text-decoration: none;
    color: rgb(32, 32, 32);
}

.close:hover {
    color: #000000;
    text-decoration: none;
}

.mod_con {
    overflow: auto;
}

/*動態視窗_外加*/

.dymod_content_box {
    padding: 0px;
}

/*div_排列*/

.display-block {
    display: block;
}

.display-none {
    display: none;
}

.inline-block {
    display: inline-block;
}

.id_msg {
    font-size: 10px;
    -webkit-transform: scale(0.83);
    color: red;
    margin-left: 5px;
}

/*載入圖示*/

.loader {
    border: 16px solid #f3f3f3;
    /* Light grey */
    border-top: 16px solid #3498db;
    /* Blue */
    border-radius: 50%;
    width: 100px;
    height: 100px;
    animation: spin 2s linear infinite;
    display: none;
    float: right;
    position: absolute;
    left: 45%;
    top: 40%;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/*TOP按鈕*/

.toTop-arrow {
    width: 3rem;
    height: 3rem;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 100%;
    opacity: 0.6;
    background: #000;
    cursor: pointer;
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    display: none;
}

.toTop-arrow::before,
.toTop-arrow::after {
    width: 18px;
    height: 5px;
    border-radius: 3px;
    background: #f90;
    position: absolute;
    content: "";
}

.toTop-arrow::before {
    transform: rotate(-45deg) translate(0, -50%);
    left: 0.5rem;
}

.toTop-arrow::after {
    transform: rotate(45deg) translate(0, -50%);
    right: 0.5rem;
}

.toTop-arrow:focus {
    outline: none;
}

/*------ index -----*/

.login-body {
    background-color: rgb(0, 0, 0);
    background: #fff url("../images/login-bg.jpg") center center fixed no-repeat;
    background-size: cover;
    height: 100%;
}

.login-bg {
    text-align: center;
    width: 40%;
    margin-left: 10%;
}

.login-logo {
    width: 250px;
    padding: 50px 0px 30px 0px;
}

.login-box {
    width: 230px;
    margin: 0px auto;
}

.loginAcc {
    width: 300px;
    height: 50px;
}

.loginCaptcha {
    width: 300px;
    height: 100px;
}

.loginAcc img,
.loginCaptcha img,
.loginBut img {
    width: 100%;
    height: 100%;
}

.loginAccInp {
    position: relative;
    z-index: 2;
    top: -37px;
    left: 15px;
    height: 30px;
    width: 150px;
    border: 0;
    font-size: 20px;
}

.loginCaptchaInp {
    position: relative;
    z-index: 2;
    top: -85px;
    left: 15px;
    height: 30px;
    width: 150px;
    border: 0;
    font-size: 20px;
}

.captchaRow {
    height: 110px;
}

.captchaBox {
    position: relative;
    z-index: 2;
    top: -43px;
    left: 45px;
    height: 30px;
    width: 180px;
}

.loginBut {
    width: 100px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0);
    border: 0;
}

.login-label {
    font-weight: bold;
    font-size: 16px;
    padding: 0px 2px;
    display: inline-block;
    width: 60px;
    text-align: right;
}

.img-refresh {
    width: 20px;
}

/*--- opps ---*/

.opps-content {
    width: 30%;
    padding: 10px 0px;
    border: 1px solid #000;
    background: rgba(255, 255, 255, 0.8);
    -webkit-border-radius: 10;
    -moz-border-radius: 10;
    border-radius: 10px;
    color: rgb(0, 0, 0);
    text-align: center;
    margin: 10px auto;
}

.opps-mag {
    color: #FF0000;
}

/*--- set_sys ---*/

.div_lab_sys {
    display: inline-block;
    vertical-align: top;
    width: 60px;
}

.textarea_sys {
    width: 240px;
}

/*--- set_area ---*/

.div_lab_area {
    display: inline-block;
    vertical-align: top;
    width: 100px;
}

.textarea_stf {
    width: 90%;
    margin: 5px;
}

.div_row_area {
    width: 100%;
    padding: 5px;
    display: inline-block;
}

/*--- add_staff---*/

#stfAccBox {
    display: none;
}

/*--- set_dealers/add_dealers ---*/

.div_row_deal,
.div_row_deal_space {
    width: 33%;
    padding: 5px;
    display: inline-block;
}

.div_input_deal {
    width: 60%;
    display: inline-block;
    vertical-align: middle;
}

#dealAccBox {
    display: none;
}

.noteMsg {
    width: 100%;
    color: #0000FF;
    padding: 5px 10px;
}

/*--- set_clients ---*/

.div_row_clt {
    width: 49%;
    padding: 5px;
    display: inline-block;
}

#cltAccBox {
    display: none;
}

/*--- edit_staff_permit---*/

.div_permit_list {
    display: inline-block;
    vertical-align: top;
    width: 34%;
    padding: 5px;
}

.div_permit_box {
    display: inline-block;
    vertical-align: top;
    width: 65%;
    padding: 5px;
}

/*--- mac_manage---*/

.div_input_mac {
    display: inline-block;
    vertical-align: middle;
}

/*--- mac_canvas---*/

.canvasBox {
    display: inline-block;
    vertical-align: top;
    width: 100%;
    padding: 5px 10px;
}

.macCanvasBoxMsg {
    display: none;
}

.macCanvasMsgTitle {
    font-size: 14px;
    font-weight: bold;
}

/*--- add_clt_mac---*/

.div_row_move {
    width: 45%;
    padding: 5px;
    display: inline-block;
}

/*----- mobile -----*/

@media (max-width: 768px) {
    .menu {
        display: none;
    }

    .menu_mobile {
        display: block;
    }

    .acc_box {
        display: none;
    }

    .mobile_box {
        display: block;
    }

    .web_box {
        display: none;
    }

    .div_row_deal {
        width: 100%;
    }

    .div_input_deal {
        width: 70%;
    }

    .div_lab_A {
        text-align: right;
        padding-right: 5px;
    }

    .div_row_deal_space {
        display: none;
    }

    .div_row_clt {
        width: 100%;
    }

    .div_permit_list {
        width: 100%;
    }

    .div_permit_box {
        width: 100%;
    }

    .div_row_move {
        display: block;
        width: 90%;
    }

    /* .canvasBox {
    width: 100%;
  } */
    .login-bg {
        text-align: center;
        width: 100%;
        margin-left: 0px;
    }
}

@media (max-width: 550px) {
    body {
        min-width: 400px;
    }

    .nav_box {
        height: 80px;
    }

    .web_title {
        left: 85px;
        width: 300px;
    }
}