#google_translate_element {
    display: inline-block;
    vertical-align: top;
    margin-left: 10px;
    margin-right: 10px;
}

[v-cloak] {
    display: none;
}

html, body {
    font-family: 'Calibri Light';
    font-size: 15px;
    background: #e3e8ee;
    height: auto;
    /*overflow-x: hidden;*/
}

.TaskContentTable td {
    border: 1px solid #ccc;
    padding: 5px;
}

.AddTaskTable td {
    padding: 10px;
}

.InlineDIV {
    display: inline-block;
    vertical-align: top;
}


#MainSaleDashboard {
    text-align: left;
    padding-left: 0px;
    padding-bottom: 20px;
    border: 1px solid #ddd;
    background: #ddd;
    color: #ccc;
    border-radius: 5px;
    text-align: center;
    width: 180px;
    margin-bottom: 5px;
    display: none;
}

.DashboardItemIconBlock {
    display: inline-block;
    width: 20px;
    height: 20px;
    text-align: left;
    vertical-align: top;
}

.DashboardItem {
    display: inline-block;
    padding: 5px;
    text-align: left;
    width: 70px;
}

.DashboardItem span {
    display: inline-block;
    margin-left: 0px;
}


i {
    cursor: pointer;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    -webkit-border-radius: 10px;
    border-radius: 10px;
    margin: 0px 0 5px 0;
}

::-webkit-scrollbar-thumb {
    -webkit-border-radius: 4px;
    border-radius: 4px;
    background: rgb(219, 219, 219);
}

a {
    text-decoration: none;
    color: #333;
}

a:hover {
    text-decoration: none;
}

li {

    list-style-type: none;
}

.ui-dialog-titlebar /*jquery 跳出視窗 title */
{
    background: #444;
    text-align: right;
    padding: 5px;
}

.ui-dialog-title {
    position: absolute;
    left: 5px;
    color: #fff;
}

.ui-dialog-titlebar-close {
    user-select: none;
    background: #444;
    border: 0px;
    color: #fff;
}

.OMSPopWindowElement {
    display: none;
}

.OMSPopDialogTopAction {
    padding-right: 10px;
    background: #000;
    color: #ffffff;
    height: 30px;
    position: relative;
}

.OMSPopDialogTopActionButton {
    position: absolute;
    top: 2px;
    right: 3px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.OMSPopDialogTopActionButton:hover {
    color: #b09955;
}

.OMSPopDialogBackLayer {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100vw;
    height: 100vh;
    background: #000000;
    z-index: 111;
    opacity: 0.5;
}

.OMSPopDialog {
    position: fixed;
    top: 50%;
    left: 50%;
    margin-top: -175px;
    margin-left: -175px;
    background: #ffffff;
    z-index: 222;
}

.ButtonUI {
    cursor: pointer;
    opacity: 0.85;
    text-align: center;
    padding: 5px;
    border-radius: 3px;
    user-select: none;
}

.ButtonUI:hover {
    opacity: 1;
}

button:focus {
    outline: 0;
}

.FontPlayfairDisplay {
    font-family: "Playfair Display";
}

input:focus {
    outline: none !important;
    border: 0px solid #fff;
    box-shadow: 0 0 0px #719ECE;
}

.UserDashboardParent {
    position: fixed;
    width: 100%;
    min-height: 100%;
    height: auto;
    background: transparent;
    left: 0px;
    top: 0px;
}

.UserDashboard {
    position: relative;
    top: 0px;
    right: 0px;
    display: block;
    padding-top: 5px;
    padding-right: 55px;
    width: 100%;
    background: transparent;
    text-align: right;
    height: auto;
    padding-bottom: 10px;
}

.UserInfo {
    text-align: left;
    display: block;
    width: 200px;
    height: 120px;
    position: absolute;
    right: 25px;
    margin-top: 5px;
    background: #fff;
    padding-top: 10px;
    padding-bottom: 10px;
    border-radius: 5px;
    border: 1px solid #eee;
    -webkit-box-shadow: -1px 1px 1px 1px #ddd;
    -moz-box-shadow: -1px 1px 1px 1px #ddd;
    box-shadow: -1px 1px 1px 1px #ddd;
    z-index: 100;
}

.UserInfo::after {
    content: " ";
    position: absolute;
    top: -10px;
    left: 170px;
    margin-left: -10px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent #FFF transparent;
}

/* Remove default bullets */
ul, #MenuUL {
    list-style-type: none;
}

.MenuParent {
    width: 280px;
    min-height: 100%;
    height: auto;
    background: #e3e8ee;
    position: absolute;
    top: 0px;
    margin-bottom: 80px;
}

.Menu {
    position: absolute;
    right: 0%;
    width: 250px;
    margin-right: 0px;
    padding-left: 35px;
    padding-right: 35px;
    padding-top: 20px;
    top: 0px;
    color: #1a1f36;
    font-size: 14px;
    font-weight: 400;
    font-family: 'Roboto', sans-serif;
    background: #e3e8ee;
}

.Menu li {
    margin-top: 2px;
}

.MenuIcon {
    margin-left: 10px;
    width: 20px;
    display: inline-block;
    padding-right: 5px;
    font-size: 12px;
}

.FontMouseOver {
    opacity: 0.7;
    color: #fff;
    background: #0ac;
    cursor: pointer;
    user-select: none;
}

.FontMouseOver:hover {
    opacity: 1;
}

.Active {
    opacity: 1;
    color: #000;
}

.TextBold {
    font-weight: bolder;
}

.TextColorCCC {
    color: #CCC;
}

.TextColor999 {
    color: #999;
}

.TextColor333 {
    color: #333;
}

.MouseOverEffect {
    padding: 5px;
    border-radius: 5px;
    opacity: 0.7;
    color: #fff;
    background: #0ac;
    text-align: center;
    cursor: pointer;
    user-select: none;
}

.MouseOverEffect:hover {
    opacity: 1.0;
}

.ChildrenField {
    padding-left: 10px;
}


/* Remove margins and padding from the parent ul */
#MenuUL {
    margin: 0;
    padding: 0;
}

/* Style the caret/arrow */
.caret {
    cursor: pointer;
    user-select: none; /* Prevent text selection */
}

.nested {
    display: none;
}

.nested li {
    margin-left: -5px;
}

#MenuUL ul {
    margin-top: 5px;
    margin-bottom: 5px;
}

.caret:hover {
    color: #5549c4;
}

/* Show the nested list when the user clicks on the caret/arrow (with JavaScript) */
.MenuActive {
    display: block;
}

.ActiveMenu a {
    color: #5549c4;
    font-weight: bolder;
}

.ModuleContent {
    display: block;
    background: #FFF;
    min-height: 500px;
    margin-left: 285px;
    margin-right: 50px;
    margin-bottom: 20px;
    margin-top: 40px;
    padding-bottom: 20px;
    border-radius: 5px;
    min-width: 1024px;
}

.drop-shadow {
    -webkit-box-shadow: -1px 1px 2px 1px #bbb;
    -moz-box-shadow: -1px 1px 2px 1px #bbb;
    box-shadow: -1px 1px 2px 1px #bbb;
}

.form_tables {
    width: 100%;
    font-family: 'Calibri Light', 'Roboto', sans-serif;
}

.TableHeadBtn {
    font-family: 'Calibri Light', 'Roboto', sans-serif;
    border: 1px solid #ddd;
    width: 70px;
    padding: 4px;
    color: #000;
    font-weight: normal;
    font-size: 10px;
    border-radius: 3px;
    cursor: pointer;
    font-weight: normal;
    user-select: none;
    opacity: 0.7;
}

.TableHeadBtn i {
    color: #000;
}

.TableHeadBtn:hover {
    opacity: 1;
}

.ListHead td {
    background: #f7fafc;
    border: 1px solid #f3f8fe;
    padding: 5px;
    padding-top: 10px;
    padding-bottom: 10px;
    color: #000;

}

.form_tables tbody tr {
    height: 40px;
    cursor: pointer;
    color: #444;
}

.form_tables td {
    padding-left: 20px;
}

.form_tables tbody tr:hover .OrderTailAction {
    visibility: visible;
}

.TableCatalog {
    color: #999;
    height: 100%;
    text-align: center;
    cursor: pointer;
}

.TableCatalog:hover {
    color: #333;
}

.TableCatalogActive {
    color: #333;
}

.SelectAllLabel {
    display: inline-block;
    position: relative;
    padding-top: 10px;
    padding-left: 10px;
    cursor: pointer;
    user-select: none;
}

.SelectAllLabel Input {
    position: absolute;
    top: 15px;
    left: -10px;
}

.OrderTailAction {
    margin: 5px;
    margin-right: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    float: right;
}

.Invisible {
    visibility: hidden;
}

.OrderTailActionItem {
    text-align: center;
    line-height: 16px;
    padding: 4px;
    width: 35px;
    height: 24px;
    border-right: 1px solid #ddd;
    float: right;
    color: #999;
}

.OrderTailActionItem:hover {
    background: #666;
    color: #ddd;
}

.TableBottomBorder tbody td {
    border-bottom: 1px solid #eee;
}

.TableBottomBorder tbody tr:hover {
    color: #993322;
    /* background: #f7fafc;*/
}


.OrderListExceled td /*以下載過excel 設定*/
{
    color: #aaa;
}

.ListActionBtn {
    padding: 5px;
    border: 1px #eee solid;
    border-radius: 3px;
    background: #eee;
    color: #666;
    display: inline-block;
}

.ListActionBtn:hover {
    background: #333;
    color: #fff;
}

.TableActionIcon {
    display: inline-block;
    cursor: pointer;
    opacity: 0.7;
    padding-right: 3px;
    padding-left: 3px;
    color: #0099EE;
}

.TableActionIcon:hover {
    opacity: 1;
}

/* 大detail視窗 */
.DashBoard {
    font-family: 'Calibri Light';
    height: 600px;
    width: 1024px;
    border: 1px solid #aaa;
    position: fixed;
    top: 50%;
    margin-top: -300px;
    left: 50%;
    margin-left: -512px;
    padding: 0px;
    border-radius: 5px;
    background: #FFF;
    z-index: 9999;
}

.DashboardTop {
    height: 30px;
    width: 100%;
    background: #333;
    color: #fff;
}

.DashboardTitle {
    float: left;
    width: 80%;
    height: 30px;
    line-height: 30px;
    padding-left: 10px;
    font-size: 16px;
}

.DashboardCloseBtn {
    cursor: pointer;
    padding: 5px;
    float: left;
    width: 20%;
    height: 30px;
    padding-right: 10px;
}

.DashboardLoading .lds-dual-ring {
    width: 100%;
    height: 500px;
}

.DashboardLoading .lds-dual-ring:after {
    position: absolute;
    left: 50%;
    top: 50%;
    content: " ";
    display: block;
    width: 180px;
    height: 180px;
    margin-left: -120px;
    margin-top: -120px;
    border-radius: 50%;
    border: 6px solid #f00;
    border-color: #0DA transparent #0AE transparent;
    opacity: 0.8;
    animation: lds-dual-ring 0.8s linear infinite;
}

.DashboardContent {
    padding: 10px;
    height: 550px;
    overflow-y: scroll;
    background: #fff;
}

.DashboardDivButton {
    cursor: pointer;
    color: #ccc;
    font-weight: 400;
    background: #666;
    border-radius: 3px;
    padding: 3px;
}

/* */

.FullScreenLoading {
    z-index: 99999;
    background: #000;
    opacity: 0.5;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    display: none;
}
.naviMenuBtn,.MenuParentNaviMenuBtn
{
    display: none;
}

@media screen and (max-width: 1300px) {
    .MenuParent {
        display: none;
        z-index: 999999;
        width: 260px;
        min-height: 100vh;
        box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;

        .Menu {
            left: 5px;
            opacity: 1;
            background: #fff;
            min-height: 100vh;
        }
    }
    .MenuParentNaviMenuBtn
    {
        display: block;
        margin-bottom: 20px;
        margin-left: 10px;
    }
    .naviMenuBtn
    {
        display: block;
        position: fixed;
        top: 20px;
        left: 30px;
        font-size: 16px;
        color: #000;
        font-weight: bold;
    }

    .ModuleContentParent {
        width: calc(100% - 10px);

    }

    .ModuleContent {
        position: relative;
        margin: 20px;
        margin-top: 20px;
        min-width: auto;
        margin-bottom: 160px;
    }
}
