﻿/*Two Column Layout*/
.LayoutColumnBasic {
    float: left;
}

.Layout20 {
    width: 20%;
}

.Layout40 {
    width: 40%;
}

.Layout60 {
    width: 60%;
}

.LayoutMax {
    max-width: 100%;
}

.LayoutRow:after {
    content: "";
    display: table;
    clear: both;
}

/*Home*/
.homeInfo {
    width: 80%;
    background-color: #dee2e6;
    border: 4px solid #a1aeba;
    border-radius: 5px;
    padding: 0.2em;
    margin: 0 auto;
}

    .homeInfo a:hover {
        background-color: #a1aeba;
    }


/*Form Active*/
.divInput200{
    width: 13em;
}

.divInput400 {
    width: 26em;
}

@media (max-width: 720px) {
    .divInput400 {
        width: auto !important;
    }
}

.divInput600 {
    width: 39em;
}

.divInputMax {
    width: 100%;
}

.elemInput{
    margin-bottom: 0px;
    padding: 1px 10px;
    width: 100%;
}

.elemInputRow{
    display: flex;
}

.elemGroup2 {
    width: 50%;
    padding-right: 5px;
    display: table-cell
    /*    float: left;
*/
}

.elemInputError{
    font-size: 0.8em;
    color: red;
}

.elemInputInfo {
    font-size: 0.6em;
    color: green;
}

.elemInput label{
    line-height: 150%;
    font-size: 1em;
    font-weight: bold;
    width: auto;
    margin-top: 8px;
    text-align: left;
    position: relative;
    display: block;
    float: none;
}

    .elemInput input[type=checkbox]{
        width: 36px;
    }

.elemInput input {
    background: none repeat scroll 0 0 #eee;
    border: 1px solid #aaa;
    padding: 5px;
    font-size: 1.2em;
    width: 100%;
    height: 1.8em;
    line-height: 1.8em;
    border-radius: 5px;
    text-align: left;
}

    .elemInput input[type="file"] {
        height: 2.2em;
    }

.elemInput textarea {
    background: none repeat scroll 0 0 #eee;
    border: 1px solid #aaa;
    padding: 5px;
    font-size: 1.2em;
    width: 100%;
    height: auto;
    line-height: 1.8em;
    border-radius: 5px;
    text-align: left;
}

.elemInput select {
    background: none repeat scroll 0 0 #eee;
    border: 1px solid #aaa;
    font-size: 1.2em;
    width: 100%;
    height: 1.8em;
    line-height: 1.8em;
    border-radius: 5px;
    text-align: left;
}

        .elemInput input:hover, select:hover {
            border-color: #55b6fc;
            border-width: 2px;
            box-shadow: inset 0 1px 1px rgba(85, 182, 252, 0.6);
        }

        .elemInput input:focus, select:hover {
            border-color: #55b6fc;
            border-width: 2px;
            box-shadow: inset 0 1px 1px rgba(85, 182, 252, 0.6);
            background-color: white;
            outline-width: 0;
        }

/*Table*/
.divTable {
    display: table;
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
}

.divTableAutoWidth {
    display: table;
    max-width: 100%;
}

.divTableScrollX{
    display: block;
    overflow-x: scroll;
}

.divTableLarge {
    display: table;
    width: 75%;
}

.divTableMedium{
    display:table;
    width:50%;
}

.divTableSmall {
    display: table;
    width: 30%;
    padding-top: 10px;
}

.divTableCenter {
    margin: 0 auto;
}

.divTableAddressField {
    display: table;
    width: 40%;
    padding-top: 50px;
    padding-bottom: 150px;
}

/*Rows*/
.divRow {
    display: table-row;
}

.divRowBlank {
    display: table-row;
    height: 25px;
}

.divRowContent {
    display: table-row;
    text-align: center;
}

    .divRowContent:nth-child(odd) {
        background-color: #fff;
    }

    .divRowContent:nth-child(even) {
        background-color: rgba(128, 128, 128, 0.20);
    }

.divRowSum {
    display: table-row;
    text-align: center;
    background-color: rgba(128, 128, 128, 0.50);
    font-weight: bold;
}

.divRowForm{
    display: inline-flex;
}

/*Cells*/
.divCell {
    display: table-cell;
    padding: 3px 5px;
    vertical-align: middle;
}

.divCellColorHexa{
    width: 40px;
}

.divCellTextSmall{
    font-size: 10px;
}

.divCellTextMini {
    font-size: 8px;
}

.divCellFontAddress{
    font-size:18px;
}

.divNocontent{
    font-size: 1em;
    color: rgba(255, 0, 0, 0.60)
}

.divCell_7 {
    display: table-cell;
    padding: 3px 5px;
    vertical-align: middle;
    background-color: #67ce69;
}

.divCell_8 {
    display: table-cell;
    padding: 3px 5px;
    vertical-align: middle;
    background-color: #55b6fc;
}

/*Cells for Partslist*/
.divCellPartsList {
    width: 15%;
    height: 20%;
    max-height: 20%;
    border: 1px solid #000;
    border-radius: 5px;
    text-align: center;
}

.divCellPartsListItem {
    width: 15%;
    height: 20%;
    max-height: 20%;
    border: 5px solid #3c763d;
    border-radius: 5px;
    text-align: center;
}

.divCellPartsListEmpty {
    width: 15%;
    text-align: center;
}

/*Working status*/
.divCellDone {
    background-color: rgba(11, 152, 5, 0.60);
    padding: 0 4px 0 4px;
}

.divCellMissing {
    background-color: rgba(255, 106, 0, 0.75);
    padding: 0 4px 0 4px;
}

.divCellHighlight {
    background-color: yellow;
    padding: 0 4px 0 4px;
}

/*Head*/
.divCellHead {
    display: table-cell;
    /*padding: 3px 5px;*/
    font-weight: bold;
    border-bottom: 2px solid #000;
    vertical-align: middle;
    background-color: rgba(128, 128, 128, 0.50);
    text-align: center;
    font-size: 13px;
}

.divCellHead-1000{
    width: 1000px;
}

.divCellFontLarge {
    display: table-cell;
    padding: 3px 5px;
    vertical-align: middle;
    background-color: white;
    font: bold 13px;
}

.divCellTitle{
    display: table-cell;
    width: 50%;
    max-width: 100%;
    height: 40px;
    font: bold 18px arial;
    padding: 3px 5px;
    text-align: center;
    border-radius: 5px;
}

/*Image*/
.divCellImage{
    width: 80px;
}

/*Overview Left+right*/
.divCellLeft {
    display: table-cell;
    padding: 0px 10px;text-align: right;
    /*font-weight: bold;*/
    max-width: 40%;
    vertical-align: middle;
}

.divCellLeft_7 {
    background-color: #67ce69;
    text-align: right;
    font-weight: bold;
    vertical-align: middle;
}

.divCellLeft_8 {
    background-color: #55b6fc;
    text-align: right;
    font-weight: bold;
    vertical-align: middle;
}

.divCellRight {
    display: table-cell;
    padding: 0px 10px;
    text-align: left;
    vertical-align: middle;
}


/*Border*/
.divBorder {
    border: 1px solid black;
}

.divBorderBottom {
    border-bottom: 2px solid #000;
}

.divBorderLeft {
    border-left: 2px solid #000;
}

.divBorderRight {
    border-right: 2px solid #000;
}
.divBorderRight-thin {
    border-right: 1px solid #000;
}

.divBorderTop {
    border-top: 2px solid #000;
}

.divBorderTop-thin {
    border-top: 1px solid #000;
}

/*Change*/
.divChange {
    background-color: rgba(255, 216, 0, 0.30) !important;
}

.divChangeFail {
    background-color: rgba(255, 0, 0, 0.30) !important;
    border-bottom: 2px solid rgba(255, 0, 0, 0.60) !important;
}

.divChangeSuccess {
    background-color: rgba(11, 152, 5, 0.30) !important;
}


/*Input and button*/
.inputbutton{
    display:flex;
}

.divInputInteger{
    width:50px;
}

.inputMax{
    width:100%;
    text-align:center;
}

/*Order*/
.order-string1 {
    background-image: url(../../../../images/sort_asc.png);
    background-repeat: no-repeat;
    background-position: right;
    padding-right: 20px;
}

.order-string0 {
    background-image: url(../../../../images/sort_desc.png);
    background-repeat: no-repeat;
    background-position: right;
    padding-right: 20px;
}

.order-string {
    background-image: url(../../../../images/sort_both.png);
    background-repeat: no-repeat;
    background-position: right;
    padding-right: 20px;
}

.orderlink{
    color:inherit;
    text-decoration:none;
}

    .orderlink:hover
    .orderlink:active {
        color: rgba(128, 128, 128, 0.80);
        text-decoration: underline;
        text-decoration-color: rgba(128, 128, 128, 0.80);
    }


/*Hidden*/
.divHidden{
    display: none !important;
}

/*Frame*/
.divFrame{
    width: 100%;
    /*max-height: 600px;*/
    overflow-y: scroll;
    height: 400px;
}

.divFrameMax{
    width: 100%;
    height: 100%;
}

.divFrameImageAdd {
    /*    width: 100%;
    min-height: 500px;*/
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 2;
    width: 100%;
    height: 100%;
    border-radius: 5px;
    border: 5px solid black;
}
}

/*Menu*/
.divMenu {
    display: table-cell;
    padding: 3px 5px;
    vertical-align: middle;
    border: 2px solid rgba(128, 128, 128, 0.80);
    border-radius: 4px;
    text-align: left;
    overflow-y: scroll;
    max-height: 80vh;
}

.divMenuCatTopKind {
    font-size: 14px;
    background-color: rgba(0, 148, 255, 0.30);
    border: 1.5px solid rgba(128, 128, 128, 0.50);
    border-radius: 4px;
    padding-left: 3px;
}

.divMenuCatTopKindActive {
    font-weight: 700;
    background-color: rgba(0, 148, 255, 0.60);
}

.divMenuCatTop {
    font-size: 12px;
    background-color: rgba(255, 216, 0, 0.10);
    border: 1.5px solid rgba(128, 128, 128, 0.50);
    border-radius: 4px;
    padding-left: 3px;
    margin-left:4px;
}

.divMenuCatTopActive {
    font-weight: 700;
    background-color: rgba(255, 216, 0, 0.50);
}

.divMenuCatSub {
    font-size: 12px;
    background-color: rgba(60, 118, 61, 0.30);
    border: 1.5px solid rgba(128, 128, 128, 0.30);
    border-radius: 4px;
    padding-left: 3px;
    margin-left: 8px;
}

.divMenuCatSubActive {
    font-weight: 700;
    background-color: rgba(60, 118, 61, 0.60);
}

.divOverviewContent {
    border: 1.5px solid rgba(128, 128, 128, 0.50);
    border-radius: 5px;
    text-align: left;
}

.divOverviewCell {
    width:20%;
    height: 30px;
    border: 1.5px solid rgba(128, 128, 128, 0.50);
    border-radius: 5px;
    text-align: center;
}

.divOverviewCellContent {
    width: 100%;
    float: right;
}

.divOverviewCellEmpty {
    border: none;
    width: 32.8px;
}

    .divOverviewCellEmpty:hover {
        background-color: transparent !important;
        cursor: default !important;
    }

    .divOverviewCell a:link {
        text-decoration: none;
        color: black;
    }


    .divMenuCatTopKind:hover,
    .divMenuCatTop:hover, 
    .divMenuCatSub:hover,
    .divOverviewCell:hover {
        background-color: rgba(0, 0, 0, 0.20);
        color: rgba(128, 128, 128, 0.90);
        border-radius: 4px;
        cursor: pointer;
    }

.divRowOverviewPart {
    display: table;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 0 2px 0;
}

.divCellOverviewPart {
    display: table-cell;
    padding: 0 2px 0 0;
    vertical-align: middle;
}


/*Form*/
.formRight{
    float: right;
}


/*Purchase*/
.divPurchase {
    font-size: 80px;
    font-weight: bold;
    text-align:center;
}

.divPurchase0{
    /*width:30%;*/
    height: 300px;
    background-color: red;
}

.divPurchase1 {
    /*width: 50%;*/
    height: 300px;
    background-color: orange;
}

.divPurchase2 {
    /*width: 50%;*/
    height: 300px;
    background-color: green;
}

.divPurchase3 {
    /*width: 50%;*/
    height: 300px;
    background-color: blue;
}

.divPurchaseRow {
    display: table-row;
    height: 400px;
}

/*Invoices*/
.divInvoiceHeader {
    padding-top: 5px;
    /*text-align: center;*/
    border-bottom: 2px solid #000;
}

.divInvoiceHeaderLeft{
    float:left;
    width: 50%;
}

.divInvoiceHeaderRight {
    float: right;
    width: 50%;
}

.divInvoiceCellHead {
    display: table-cell;
    padding: 3px 5px;
    font-weight: bold;
    border-bottom: 1.5px solid #000;
    vertical-align: middle;
    background-color: #b0b0b0;
    text-align: center;
}

.divInvoiceOrderLeft {
    float: left;
    width: 60%;
}

.divInvoiceOrderLeftSmall {
    float: left;
    width: 40%;
}

.divInvoiceOrderRight {
    float: right;
    width: 40%;
}

.divInvoiceBackGroundDark {
    background-color: #b0b0b0;
}

.divInvoicePartSummary {
    display: table-cell;
    padding: 3px 5px;
    vertical-align: middle;
    background-color: #b0b0b0;
    text-align: center;
    font-weight: bold;
}

.divInvoiceRowContent {
    display: table-row;
    text-align: center;
}

.divInvoiceTextSmall{
    font-weight: normal;
    font-size: 8px;
}

.divInvoiceTextNormal {
    font-weight: normal;
    font-size: 12px;
}

.divInvoiceTextLarge{
    font-weight: normal;
    font-size: 20px;
}

.divInvoiceTextBold{
    font-weight: bold;
}

/*Text*/
.text-center{
    text-align: center;
}