﻿.g{width:100%;position:relative;display:table;border-collapse:collapse;}
.g>.col{display:table-cell;vertical-align:top}

.page {
    width: 100%;
}

h2 {
    margin-bottom: 25px;
}

fieldset {
    width: 300px;
    margin: 0 auto;
}
select:focus{
    border:#3CA4D9 1px solid;
}
#TopMenu {
    display: inline-block;
    position: absolute;
    right: 20px;
    top: 30px;
}

    #TopMenu a {
        font-size: 15px;
    }

#Menu {
    width: 800px;
    margin: 0 auto;
}

    #Menu button {
        width: 120px;
        height: 120px;
        display: inline-block;
        border: 0;
        float: left;
        margin: 5px;
        text-align: center;
        line-height: 120px;
        font-size: 22px;
        color: #fff;
        cursor: pointer;
        position:relative;
    }

        #Menu button:focus {
            border: 1px solid #fff;
        }

    #Menu .large {
        width: 250px;
    }

    #Menu button:disabled {
        background-color: #e8e8e8;
        color:#999;
    }
    #Menu button .shortcut{
        font-size:8px;
        position:absolute;
        left:5px;
        top:-45px;
        height:30px;
        display:block;
    }
    #Menu:after {
        clear: both;
    }

.c1 {
    background: #2D59A1;
}

.c2 {
    background: #3CA4D9;
}

.c3 {
    background: #734481;
}

.c4 {
    background: #34BDAB;
}

.c5 {
    background: #C62B60;
}

.c6{
    background:#2cd168;
}
#ExportSearch > div,#ImportSearch > div {
    margin: 0px auto;
    margin-top: 0px;
    text-align: center;
    width: 800px;
}

#ExportSearch input,#ExportSearch select,#ImportSearch input,#ImportSearch select {
    display: block;
    margin-top: 10px;
    margin-bottom: 0px;
}

#ExportSearch #Status,#ImportSearch #Status {
    font-size: 12px;
    width: 300px;
    color: #ff6a00;
    display: none;
}


table tbody td.error{
    border-color:#ff6a00;
}
#ImportDetail tr td:nth-child(5) input, #ImportDetail tr td:nth-child(4) input {
    text-align: right;
}

#ImportDetail tr td:nth-child(4), #ImportDetail tr td:nth-child(5) {
    width: 100px;
}

#ImportDetail tr td:nth-child(1), #ImportDetail tr td:nth-child(2) {
    width: 150px;
}
#Import .SubTotal{
    text-align:right;
    padding-right:5px;
}
#Import p {
    width: 95%;
    text-align: right;
    margin: 0 auto;
}

#Import fieldset {
    width: 95%;
    margin: 0 auto;
}
#Export p {
    width: 95%;
    text-align: right;
    margin: 0 auto;
}

#Export fieldset {
    width: 95%;
    margin: 0 auto;
}
#ExportDetail tr td:last-child input, #ExportDetail tr td:nth-child(4) input {
    text-align: right;
}

#ExportDetail tr td:nth-child(4), #ExportDetail tr td:nth-child(5) {
    width: 100px;
}

#ExportDetail tr td:nth-child(1), #ExportDetail tr td:nth-child(2) {
    width: 150px;
}
#Authorize{
    display:none;
    position:absolute;
    border:1px solid #efefef;
    padding:10px 30px;
    width:140px;
    background:#fff;
}
#Authorize input{
    width:50px; margin-right:10px;
}
 .tag {
    padding: 8px 15px;
    margin-right: 15px;
    margin-bottom: 10px;
    border: 1px solid #efefef;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    width: 150px;
    background: #fff;
    color: #000;
    position:relative;
}
.tag span {
        font-size:8px;
        display:block;
        position:absolute;
        left:4px;
        top:4px;
        color: #000;
    }
.selected {
    background-color: #34BDAB;
    color: #fff;
}
.selected span{
    color: #fff;
}
#User p {
    text-align: right;
}

#User .Access {
    clear: both;
    text-align: left;
}

#User {
    width: 400px;
    margin: 0px auto;
}

    #User .field-validation-error {
        display: block;
    }

#UserList tbody tr, #UserList tbody td {
    cursor: pointer;
    min-height: 27px;
}

#User p input {
    float: right;
    margin-right: 100px;
}

input[type="submit"], input[type="button"], button, .button, .button:link, .button:visited , .button:hover {
    background-color: #2D59A1;
    border: 1px solid #2D59A1;
    color: #fff;
    text-decoration:none;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: 600;
    margin-right: 8px;
    padding: 7px;
    width: auto;
}

#Delete {
    display: block;
    float: left;
    background-color: #C62B60;
    border: 1px solid #C62B60;
    color: #fff;
    margin-top: 5px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: 600;
    text-decoration: none;
    padding: 7px;
    width: auto;
}

#Setting {
    width: 400px;
    margin: 0px auto;
}

#ClientList tbody tr {
    cursor: pointer;
}

#Client p input {
    float: right;
}

ul.ac {
    position: absolute;
    z-index: 9999;
    border: 1px #efefef solid;
    width: 200px;
    background: #fff;
    margin: 0;
    padding: 0;
}

    ul.ac li {
        height: 35px;
        line-height: 35px;
        border-bottom: 1px solid #efefef;
        cursor: pointer;
        list-style: none;
        margin: 0;
        padding-left: 40px;
        position:relative;
    }
    ul.ac li span{
        position:absolute;
        height:35px;
        width:35px;
        left:0;top:0;
        line-height:35px;
        text-align:center;
        background:#34BDAB;
    }
        ul.ac li:hover {
            background: #efefef;
        }

#SupplierList tbody tr, #SupplierList tbody td {
    cursor: pointer;
    min-height: 27px;
}

#Supplier p input {
    float: right;
    margin-right: 0px;
}

#ProductList tbody tr, #ProductList tbody td {
    cursor: pointer;
    min-height: 27px;
}

#Product p input {
    float: right;
    margin-right: 0px;
}

.Pager {
    margin: 10px auto;
    width: 95%;
}

    .Pager ul {
        float: right;
    }

    .Pager li {
        display: block;
        padding: 0;
        min-height: 25px;
        min-width: 30px;
        line-height: 25px;
        text-align: center;
        float: left;
        position: relative;
        margin: 3px;
        border: 1px solid #e8e8e8;
        list-style: none;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }

    .Pager a {
        display: block;
        text-align: center;
        text-decoration: none;
        width: 100%;
        height: 100%;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }

    .Pager ul:after {
        clear: both;
    }
.Pager .Current{
    background:#efefef;
}
.Upload{
    width:400px;
    margin:0 auto;
}
#UploadAction{
    width:95%;
    margin:0 auto;
    text-align:center
}

#UploadAction button:last-child{
    margin-left:80px;
}

.gcol2{width:95%;margin:0 auto;}
.gcol2>.col{width:50%;padding:20px;}
.gcol3{width:95%;margin:0 auto;}
.gcol3>.col{width:33%;padding:20px;}
.gcol4{width:95%;margin:0 auto;}
.gcol4>.col{width:25%;padding:10px;}
.gcol5{width:95%;margin:0 auto;}
.gcol5>.col{width:20%;padding:10px;}
.gcol6{width:95%;margin:0 auto;}
.gcol6>.col{width:16.6%;padding:10px;}
select{padding:5px;margin:5px 0 6px}


table tbody tr.hightlight td,table tbody tr.hightlight td:nth-child(even),table tbody tr.hightlight td:nth-child(odd),
table tbody tr:hover td,table tbody tr:hover td:nth-child(even),table tbody tr:hover td:nth-child(odd), 
table tbody tr td:nth-child(odd).controlhightlight,table tbody tr td:nth-child(even).controlhightlight{
    background:#ffd800;
}
table tbody input.control{
    width:10px
}
table tbody td.control{
    width:10px
}

table tbody td.Quantity div{
    position:relative;
    display:block;
    width:80px;
    margin-right:5px;
}
table tbody td.Quantity div input{
    margin-right:5px;
    width:60px
}

table tbody td.Quantity span{
    position:absolute;
    right:-35px;
    top:10px;
}
table tbody td.SubTotal, table tbody td.Price input{
    text-align:right;
}
table tbody td:nth-child(odd).error,table tbody td:nth-child(even).error{
    background:#C62B60;
    color:#fff
}
table tbody td:nth-child(odd).error input,table tbody td:nth-child(even).error input{
    color:#fff
}
.QuantityStatus{
    display:none;
    position:absolute;
    width:150px;
    background:#3CA4D9;
    color:#fff;
    padding:5px;
}
.PriceStatus{
    display:none;
    position:absolute;
    width:150px;
    background:#3CA4D9;
    color:#fff;
    padding:5px;
}
.tr{text-align:right}
.ExportFilter{
    text-align:center;
}
.ExportFilter .tag{
    width:90px;
}
fieldset.stretch{
    width:95%
}
a.button{
    display:inline-block;
    margin-bottom:10px;
}
#Import fieldset input,#Import fieldset input{
    width:180px
}
#Export fieldset input,#Export fieldset input{
    width:180px
}
.ToURL{
    cursor:pointer
}

table tbody td.Share{width:100px}
table tbody td.Share div{
    position:relative;
    display:block;
    width:100px;
    margin-right:5px;
}
table tbody td.Share div input{
    margin-right:5px;
    width:80px;
    text-align:right
}
#AppleReportShop tfoot td{cursor:pointer;text-align:left}
p.rgt{width:95%;text-align:right}
#AppleReportProduct td.Share{text-align:right}