﻿@charset "UTF-8";
/* 避免 300 delay */
html, body, a, button, .myelements {
    -ms-touch-action: manipulation; /* IE10 */
    touch-action: manipulation; /* IE11 */
}

/* 避免 iphone 無法點擊 */
a, button, .cursor-pointer {
    cursor: pointer;
}

/*body {
    font-family: 'Open Sans', 'Segoe UI', "Microsoft JhengHei", "Apple LiGothic Medium";
    font-size: 14px;
}*/

.page-header .header-title h1 {
    font-size: 24px;
    font-weight: 300;
    line-height: 44px;
}

.databox .databox-text {
    font-size: 13px;
    margin: 4px 0 2px;
    font-weight: 300;
}

.databox .databox-number {
    font-size: 24px;
    line-height: 26px;
    margin: 0px;
}

.orders-container .orders-footer a {
    font-size: 12px;
}

.dashboard-box .box-tabbs .tabbable .nav-tabs li.active a {
    font-size: 16px;
    font-weight: 900;
}

.widget-header > .widget-caption {
    line-height: 34px;
    font-size: 15px;
}

label {
    font-size: 14px;
}

@media screen and (max-width: 768px) {
    input[type="text"] {
        margin-bottom: 10px;
    }
}

.btn {
    margin-bottom: 6px;
}

.modal-footer .btn {
    margin-bottom: 0 !important;
}

input[type="text"] {
    border-radius: 4px !important;
    -webkit-border-radius: 4px !important;
    -moz-border-radius: 4px !important;
}

textarea {
    border-radius: 4px !important;
    -webkit-border-radius: 4px !important;
    -moz-border-radius: 4px !important;
}

.table-scrollable > .table > tbody > tr > td {
    white-space: normal;
}

.wizard.wizard-wired ul li {
    width: 25%;
}

.table-scrollable {
    border: 0px solid #ddd;
}

.table-scrollable > .table-bordered {
    border: 1px solid #ddd;
}

.login-container {
    max-width: 300px;
}

.login-container .loginbox {
    width: 300px !important;
    padding: 30px 0;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.3);
}

.login-container {
    max-width: 400px;
}

.login-container .loginbox {
    width: 400px !important;
}

.orders-container .orders-list .order-item .item-left .item-booker {
    margin: 12px 0;
    font-size: 14px;
}

.orders-container .orders-list .order-item .item-right .item-price {
    font-size: 14px;
    margin: 12px 0;
}

.loaderBar {
    position: fixed;
    z-index: 2000;
    top: 0;
    width: 100%;
    height: 100%;
    display: none;
    background-color: #000;
    opacity: 0.4;
}

.loaderBar img {
    display: initial;
    position: fixed;
    top: 50%;
    left: 50%;
    margin-left: -30px;
    margin-top: -60px;
}

.msg {
    -moz-box-shadow: 2px 5px 9px #444444;
    -webkit-box-shadow: 2px 5px 9px #444444;
    box-shadow: 2px 5px 9px #444444;
    text-shadow: 2px 2px 4px #444444;
    width: 370px;
    height: 40px;
    padding: 0px;
    z-index: 99;
    position: fixed;
    top: 50%;
    left: 50%;
    margin-left: -185px;
    margin-top: -20px;
    background: url(../img/msg_bg.jpg) left top scroll repeat-x;
    color: #FFFFFF;
    border: 1px solid #bb0500;
    letter-spacing: 1.5pt;
    text-align: center;
    font-size: 14px;
    line-height: 40px;
    border-radius: 15px;
    display: none;
}

pre.debug {
    margin-left: 250px;
}

@media (max-width: 768px) {
    .pagination li a {
        padding: 6px 6px;
    }
}

@media (min-width: 768px) {
    .text-right-sm {
        text-align: right;
    }

    .FullCalendar .fc-scroller {
        max-height: 800px;
    }
}

table td, table th {
    /*padding: 3px !important*/;
    word-break: break-all;
    word-wrap: break-word;
}

.color-black {
    color: #000000;
}

.color-gray {
    color: #aaaaaa;
}

input, input:focus, input:active {
    user-select: text;
}

.height-32 {
    height: 32px;
}

/* biscuit Add */
.modal-footer .btn {
    margin-bottom: 0 !important;
}

.btn-xs {
    padding: 1px 5px;
}

.table-sm th, .table-sm td {
    padding: 4px !important;
}

mark.highlight {
    background: #ffaa30;
}

.tab-content > .table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
    padding: 5px 8px;
    /*text-align: center;*/
}

.tab-content .table tbody li {
    text-align: left !important;
}

.dropzone {
    min-height: 40px;
    width: 100%;
}

.max-w-h-100 {
    max-height: 100px;
    max-width: 100px;
}

.max-w-h-150 {
    max-height: 150px;
    max-width: 150px;
}

.max-w-h-200 {
    max-height: 200px;
    max-width: 200px;
}

.max-w-h-250 {
    max-height: 250px;
    max-width: 250px;
}

.max-w-h-300 {
    max-height: 300px;
    max-width: 300px;
}

@media (max-width: 1200px) {
    .table-responsive > .table > tbody > tr > th,
    .table-responsive > .table > tfoot > tr > th,
    .table-responsive > .table > thead > tr > th {
        white-space: nowrap;
        word-break: keep-all;
        max-width: 300px;
    }

    .table-responsive > .table > tbody > tr > td,
    .table-responsive > .table > tfoot > tr > td,
    .table-responsive > .table > thead > tr > td {
        white-space: normal;
        word-break: keep-all;
        max-width: 300px;
    }

    .table-responsive > .table {
        min-width: 500px;
    }

    .text-nowrap {
        white-space: nowrap !important;
    }

    .table-responsive > .table td form {
        max-width: 500px;
        max-width: -moz-calc(100vw - 52px);
        max-width: -webkit-calc(100vw - 52px);
        max-width: calc(100vw - 52px);
    }

    .page-body > .row > .col-xs-12 {
        padding-right: 5px;
        padding-left: 5px;
    }

    .FullCalendar .fc-scroller {
        max-height: 500px;
    }
}

/* 鎖定表頭使用 */
table .header-fixed {
    position: fixed;
    top: 0px;
    /* 10 less than .navbar-fixed to prevent any overlap */
    z-index: 1020;
    border-bottom: 1px solid #d5d5d5;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    -webkit-box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0, 0, 0, 0.1);
    box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0, 0, 0, 0.1);
    /* IE6-9 */
    filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
}

input[type=checkbox].checkbox-slider {
    left: auto;
}

.FullCalendar {
    max-width: 1000px;
    margin: 0 auto;
}

.FullCalendar tbody {
    background-color: transparent !important;
}

.FullCalendar table td, .FullCalendar table th {
    padding: 3px !important;
    word-break: break-all;
    word-wrap: break-word;
}

.FullCalendar .fc-scroller {
    min-height: 300px;
    /*max-height: 800px;*/
    /*overflow: visible !important;*/
    height: auto !important;
}

.jSignature {
    border: 1px solid #999;
    background-color: #ccc;
    color: #111;
}

.signature-img {
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: contain !important;
    border: 1px solid #999;
    /*vertical-align: middle;*/
}

.min-h-40 {
    min-height: 40px;
}

.old_markImg {
    display: inline-block;
}

/*
.signature-img2 {
    display: inline-block;
    width: 100%;
    background: green;
    position: relative;
    vertical-align: middle;
}

.signature-img2:before {
    content: "";
    display: inline-block;
    padding-bottom: 100%;
    vertical-align: middle;
}

.signature-img2 img {
    max-height: 100%;
    max-width: 100%;
}

.img_div{
    float:left;
    overflow:hidden !important;
    width:500px !important;
    height:400px !important;
    border:1px solid #999 !important;
    text-align:center  !important;
    line-height:110px !important;
    -moz-background-size:cover !important;
    -webkit-background-size:cover !important;
    -o-background-size:cover !important;
    background-size:cover !important;
    background-position:center center !important;
    background-repeat:no-repeat !important;
    cursor:pointer !important;
    margin:0px auto;
}

.img_div div img{
    border:0px none;
}
*/

.right-memo {
    height: 20px;
    line-height: 20px;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    float: right !important;
}

.fc-BatchAdd-button {
    background-image: none !important;
    background-color: #53a93f !important;
    border-color: #53a93f !important;
    color: #ffffff !important;
}

.fc-BatchDel-button {
    background-image: none !important;
    background-color: #d73d32 !important;
    border-color: #d73d32 !important;
    color: #ffffff !important;
}

/*#region sort-grid css*/
.imgfile-grid.sort-grid, .file-grid.sort-grid {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.imgfile-grid.sort-grid span {
    line-height: 100px;
    margin: 0 3px 3px 0;
    padding: 1px;
    float: left;
    width: 160px;
    height: 110px;
    border: 2px dashed #2dc3e8;
    background-color: #fff;
    border-radius: 5px;
}

.file-grid.sort-grid span {
    line-height: 55px;
    margin: 0 3px 3px 0;
    padding: 1px;
    float: left;
    height: 55px;
    border: 2px dashed #2dc3e8;
    background-color: #fff;
    border-radius: 5px;
}

.imgfile-grid.sort-grid a.img {
    padding: 1px;
    margin: 0;
}

.imgfile-grid.sort-grid a.attDel {
    float: right;
    top: 40px;
}

/*#endregion sort-grid css*/

.overlay-container {
    position: relative;
    display: block;
    text-align: center;
    overflow: hidden;
}

.overlay-container:hover img {
    -webkit-transform: scale(1.2);
    -ms-transform: scale(1.2);
    -o-transform: scale(1.2);
    transform: scale(1.2);
    -webkit-transition: all 0.7s ease-in-out 0s;
    -moz-transition: all 0.7s ease-in-out 0s;
    transition: all 0.7s ease-in-out 0s;
}

.overlay-container img {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
    -webkit-transition: all 0.35s ease-in-out;
    -moz-transition: all 0.35s ease-in-out;
    transition: all 0.35s ease-in-out;
    margin: 0 auto;
}

.ProductImg {
    display: block;
    width: 100% !important;
    height: 0 !important;
    padding-top: 100% !important;
    overflow: hidden;
    border-radius: 4px;
}

.ProductImg img {
    float: none !important;
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    object-fit: cover;
    position: absolute;
    top: -9999px;
    right: -9999px;
    bottom: -9999px;
    left: -9999px;
    margin: auto !important;
}

.PaneBox {
    width: 50%;
    margin: 0;
}

.PaneBox > div > div.row > div {
    border-right: white solid 1px;
    border-bottom: white solid 1px;
}

.PaneBox div div {
    padding: 0px !important;
}

.PaneBox .col-xs-4 {
    width: 33.33333332% !important;
    height: 33.33333332% !important;
}

.PaneBox .col-xs-8 {
    width: 66.66666665% !important;
    height: 66.66666665% !important;
}

.TagSn {
    position: absolute;
    background-color: red;
    color: white;
    width: 30px;
    height: 30px;
    line-height: 30px;
    z-index: 10;
    font-size: 20px;
    font-weight: 700;
    border-radius: 100px;
    text-align: center;
}

img.emoji {
    height: 1em;
    width: 1em;
    margin: 0 .05em 0 .1em;
    vertical-align: -0.1em;
    display: inline-block;
}

.has-head {
    display: inline-block;
    position: relative;
    width: 100%;
}

.has-head > select, .has-head > .select2, .has-head > input {
    padding-left: 36px;
    padding-right: 6px;
}

.has-head label {
    background-color: #c7ac56;
    color: #fff;
    z-index: 2;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 34px;
    height: 100%;
    display: inline-block;
    text-align: center;
    padding-top: 3px;
    zoom: 1;
    border-radius: 5px 0 0 5px;
    line-height: 30px;
    font-size: 20px;
    filter: alpha(opacity=100);
    -webkit-opacity: 1;
    -moz-opacity: 1;
    opacity: 1;
}

.ph-15 {
    padding-left: 15px;
    padding-right: 15px;
}

.zi-1 {
    z-index: 1 !important;
}

.QueryCategory .tab-content .panel {
    height: 200px;
    overflow-x: hidden;
    overflow-y: auto;
}