* {
    margin:0px;
    padding:0px;
}

body {
    background-color: #F0F0F0;
    font-size: 12px;
}

a {
    color: #157599;
}

#header {
    position:fixed;
    top:0px;
    left:0px;
    width:100%;
    height:60px;
    /* background:#FA594B; */
    background:rgba(66, 231, 176, 0.749);
    text-align:center;
    line-height:60px;
    color:white;
    font-weight:bold;
    z-index: 100;
}

#header table {
    width: 100%;
    height: 60px;
}

#headerLeft {
    padding-left: 10px;
    width: 50px;
    text-align: left;
}

#headerCenter {
    text-align: center;
    font-size: large;
    font-weight: bold;
}

#headerSearch button {
    position: absolute;
    top: 13px;
    right: 60px;
    width: 20px;
    height: 36px;
    border: 0;
    cursor: pointer;
    background: transparent;
    color:gray;
    font-size: 20px;
}

#headerRight {
    padding-right: 10px;
    width: 50px;
    text-align: right;
}

#main {
    position:absolute;
    top:60px;
    left:0px;
    right:0px;
    bottom:0px;
    padding:10px;
    overflow:auto;
}
#main .moduleBlock {
    display:flex;
    margin-bottom:10px;
    padding:10px;
    border-bottom:1px solid #C8C8C8;
    border-radius:4px;
    background:#FFF;
    overflow: hidden;
}

#main .moduleBlock span {
    padding-left:4px;
    line-height:24px;
}
#footer {
    display:flex;
    position:fixed;
    left:0px;
    bottom:0px;
    width:100%;
    height:50px;
    border-top:1px solid gray;
    background:#FAA732;
}
#footer div {
    flex:1;
    text-align:center;
    line-height:50px;
    color:white;
    font-weight:bold;
    border-right:1px solid white;
}
#footer div:nth-child(4) {
    border:none;
}
#footer .active {
    background:#0086FF;
}

/* 顶部消息框 */
.topInfo {
    position: fixed;
    left:0px;
    top:60px;
    width:100%;
    text-align: center;
    color: gray;
}

.topInfo span {
    padding: 10px;
    border: 1px solid #FA594B;
    border-radius:10px;
    background-color: #FFFFFF;
    font-size: large;
    font-weight: bold;
    color: #FA594B;
}
/* END 顶部消息框 */

/* 底部消息框 */
.footInfo {
    position: fixed;
    left:0px;
    bottom:0px;
    width:100%;
    text-align: center;
    color: gray;
}

.footInfo span {
    padding: 10px;
    border: 1px solid grey;
    border-radius:10px;
    background-color: #FFFFFF
}
/* END 底部消息框 */

/* 遮蔽 */
.mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #434343;
    opacity: 0.9;
    filter:alpha(opacity=90); /* 针对 IE8 以及更早的版本 */
    text-align: center;
    z-index: 811;
}

.mask div {
    position: fixed;
    top: 50%;
    left: 0;
    text-align: center;
    height: 50px;
    width: 100%;
    margin: -25px;
    color: white;
    z-index: 812;
}
/* 遮蔽 */

/* 右边滑出菜单 */
.mainMenu {
    position: fixed;
    top: 0;
    right: 0;
    padding: 0;
    width: 60%;
    height: 100%;
    background-color: #fefefe;
    color: #157599;
    display: none;
    overflow-y: auto;
    z-index: 812;
}

.mainMenu a {
    color: #157599;
}

.mainMenu div.menuHeader {
    padding: 20px 10px;
    border-bottom: 1px solid grey;
    font-size: large;
    font-weight: bold;
}

.menuHeader span {
    font-size: smaller;
    font-weight: lighter;
}

.mainMenu ul {
    margin-top: 0;
    padding: 0;
}

.mainMenu li {
    margin: 0;
    padding: 10px;
    /*border-top: 1px solid gainsboro;*/
    border-bottom: 1px solid grey;
    list-style-type: none;
    cursor: pointer;
    overflow: hidden;
}

.mainMenu .submenu {
    padding: 10px;
    border-bottom: 1px solid grey;
}

.mainMenu .submenu li {
    padding: 10px;
    border-bottom-width: 0px;
    display: inline-block;
}

.mainMenu div {
    padding: 20px 10px;
}
/* END 右边滑出菜单 */

/* AfterSaveMsg */
.msg {
    position: fixed;
    top: 50%;
    left: 0;
    text-align: center;
    height: 50px;
    width: 100%;
    margin: -25px;
    z-index: 899;
}

.msg span {
    padding: 10px;
    border: 1px solid grey;
    border-radius:10px;
    background-color: #FFFFFF;
}

.adminHomeUl {
    padding: 5px 5px;
}

.adminHomeUl .adminHomeLi {
    padding: 5px;
}

.adminHomeLiText {
    padding: 5px;
    padding-right: 0;
    text-align: center;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    -moz-border-radius-topleft:10px;
    -moz-border-radius-bottomleft:10px;
    background-color: white;
    width: 100%;
    height: 100px;
    line-height: 100px;
    cursor: pointer;
}

.adminHomeLiText:hover {
    color: #FA594B;
    font-weight: bold;
}

.adminHomeLiChild {
    padding: 5px;
    padding-left: 0;
    text-align: center;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    -moz-border-radius-topright:10px;
    -moz-border-radius-bottomright:10px;
    background-color: #cccccc;
    width: 100%;
    height: 100px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
}

.adminHomeLiChildBtn {
    margin: 5px;
    border: 1px solid #aaaaaa;
    padding: 5px;
    cursor: pointer;
}

.adminHomeLiChildBtn:hover {
    background-color: #aaaaaa;
}

.adminHomeLiBtn {
    padding: 5px;
    padding-right: 0;
    text-align: center;
    border-radius: 10px;
    -moz-border-radius:10px;
    background-color: white;
    width: 100%;
    height: 100px;
    line-height: 100px;
    cursor: pointer;
}

.adminHomeLiBtn:hover {
    color: #FA594B;
    font-weight: bold;
}

.listShotImg {
    padding: 0px;
    width: 60px;
    height: 60px;
    text-align: center;
    overflow: hidden;
}

.listShotImg img {
    height: 60px !important;
}

.listShotText {
    padding: 0 10px;
    overflow: hidden;
}

.listShotPrice {
    padding: 0px;
    width: 60px;
    height: 60px;
    text-align: center;
}

.netto {
    color: #52c526;
}

.brutto {
    /*color: #FA594B;*/
    color: black;
}

.brutto .menge {
    width: 50px;
    text-align: center;
}


.uvp {
    color: #a0a0a0;
    text-decoration: line-through;
}

.listShotPrice .btn {

}

.articlePicture {
    margin: 10px;
    padding: 10px;
    border-radius:5px;
    background-color: white;
}

.articlePicture img {
    max-width: 100%;
    max-height: 80px;
}

.articleTitle {
    font-weight: bold;
}

.articleDetail {
    margin: 10px;
    padding: 10px;
    border-radius:5px;
    background-color: white;
    min-height: 300px;
}

/*button {*/
    /*margin: 10px;*/
    /*font-size: 16px !important;*/
    /*padding: 10px 20px !important;*/
    /*color: white;*/
    /*background-color: #FA594B;*/
 /*}*/

.cartBtn {
    padding: 10px;
    text-align: center;
}

.ui-flex {
    display: -webkit-box !important;
    display: -webkit-flex !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap
}

.ui-flex, .ui-flex *, .ui-flex :after, .ui-flex :before {
    box-sizing: border-box
}

.ui-flex.justify-center {
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center
}
.ui-flex.center {
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center
}

#imageViewer {
    position: fixed;
    width: 100%;
    height: 100%;
    text-align: center;
    display: table;
    z-index: 812;
}

#imageViewer .closeBtn {
    position: fixed;
    padding: 10px;
    display: inline-flex;
    top: 5px;
    right: 5px;
    font-size: 20px;
    color: grey;
    background-color: white;
    border: 1px solid grey;
    z-index: 813;
}

#imageViewer .imgSpan {
    display: table-cell;
    vertical-align: middle;
}

#imageViewer img {
    max-width: 100%;
    max-height: 100%;
    display: inline-block;
}

.quantity {
    width: 50px;
    padding: 5px 2px;
    border-radius:2px;
}

.errorMsg {
    color: #FA594B;
}

.fielderror {
    padding-left: 20px;
    font-size: smaller;
    color: #FA594B;
}

#list_box div, #list_box2 div {
    clear: both;
    float: left;
    width: 100% !important;
}

.userInfo {
    width: 100%;
}

.userInfo td {
    padding: 5px;
}

.list_box table {
    width: 100%;
}

.list_box th {
    margin: 10px 5px;
    border-bottom:  1px #ccc solid;
}

.floatLeft {
    clear: left;
    float: left;
}

.floatRight {
    clear: right;
    float: right;
}

.sumPrice {
    padding-top: 20px;
    font-weight: bold;
    text-align: right;
}

.orderArticleImg {
    padding-right: 20px;
    width: 40px;
    height: 40px;
    text-align: center;
    overflow: hidden;
}

.orderArticleImg img {
    height: 40px !important;
}

.orderArticleTable {
    padding: 10px 0;
    border-bottom:  1px #ccc solid;
    width: 100%;
}

.orderArticleTable td {
    overflow: hidden;
}

.tabs {
    margin-bottom: 10px;
    padding: 0;
    border-bottom: 1px #ccc solid;
    width: 100%;
    font-weight: bold;
    font-size: large;
}

.tabs div {
    padding: 10px;
    border: 1px #ccc solid;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    -moz-border-radius-topleft: 10px;
    -moz-border-radius-topright: 10px;
    display: inline-block;
    color: #000;
}

.tabs a {
    color: #999;
}

.tabs .selectedTab {
    background-color: #ccc;
}

.greenbox {
    background-color: #52c526;
}

.redbox {
    background-color: #FA594B;
}

.inactive {
    background-color: #cccccc !important;
}

.supper {
    vertical-align: text-top;
}

.headerSupper {
    position: absolute;
    z-index: 100;
    right: 8px;
    top: 33px;
    /*width: 20px;*/
    border: 2px solid white;
    border-radius: 10px;
    -moz-border-radius: 10px;
}

.deliveryInfoTable {
    width: 100%;
}

.deliveryInfoTable tr {
    padding: 5px;
}

.deliveryInfoTable .label {
    padding: 5px;
    text-align: right;
    width: 100px;
    font-weight: bold;
}

.deliveryInfoTable .value {
    padding: 5px;
}

@media (min-width: 768px) {
    .col-md-2 {
        max-width: 100% !important;
    }
}

.addressTable {
    width: 100%;
}

.addressTable td {
    padding: 5px;
    vertical-align: top;
}

.textCenter {
    text-align: center;
}

.textHotRed {
    color: #9b2509;
}

.textRed {
    color: red;
}

.textSeagreen {
    color: forestgreen;
}

.textGreen {
    color: green;
}

.textYellow {
    color: yellow;
}

.textGrey {
    color: grey;
}

.textBlue {
    color: blue;
}

.textOrange {
    color: orange;
}

.textGold {
    color: goldenrod;
}

.textPink {
    color: hotpink;
}

.textBlack {
    color: black;
}

.textWhite {
    color: white;
}

.pointer {
    cursor: pointer;
}

.searchPanel {
    padding: 10px;
    line-height: 20px;
}

.searchPanel .searchField {
    padding: 5px;
    display: flex;
    align-items: stretch;
}

.searchLabel {
    padding: 2px 5px;
}

.search-field {
     flex-grow: 1;
 }

.editPanel {
    margin: 10px;
    padding: 20px;
    border: 1px solid grey;
    border-radius: 10px;
    -moz-border-radius: 10px;
}

.btn-primary {
    background-color: #FA594B;
    border-color: #FA594B;
}

.btn-primary:hover {
    background-color: #d64c40;
    border-color: #d64c40;
}

.editableSelect {
    background-color: #ffffff !important;
}

.editableSelectError {
    background-color: #FEBEB3 !important;
}

.editableSelect:disabled {
    background-color: #e9ecef !important;
}

.note-editable {
    background-color: white;
}

.scannBox {
    padding: 10px;
    font-size: large;
    text-align: center;
}

.scannBox:focus {
    background-color: rgba(255, 22, 8, 0.25);
    color: #9E2424;
}

.widget {
    margin: 10px;
    padding: 20px;
    border: 1px solid grey;
    border-radius: 10px;
    -moz-border-radius: 10px;
}

.actionLink {
    margin: 5px 0;
}

.module-select-panel {
    padding: 10px;
    border: 1px solid #000000;
    background-color: #ffffff;
    max-height: calc(100vh - 260px);
    overflow: auto;
}

.wms-customer-no {
    text-transform: uppercase;
}

.detailBox {
    padding: 20px;
    position: absolute;
    top: 55px;
    left: 10px;
    width: calc(100vw - 20px);
    height: calc(100vh - 140px);
    background-color: white;
    opacity: 0;
    overflow: auto;
    display: none;
}

.fixed-table-body {
    min-height: 200px;
}