﻿/*#region RESET CSS*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

    blockquote:before, blockquote:after,
    q:before, q:after {
        content: '';
        content: none;
    }

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/*#endregion*/

body {
    color: #00264d;
    font-family: Verdana, Arial, Helvetica, sans-serif;
}

a, a:link, a:hover, a:active {
    text-decoration: none;
    color: #00264d
}

    a.disabled {
        color: #9e9e9e !important;
    }


#toTop {
    text-decoration: none;
    position: fixed;
    bottom: 16px;
    right: 22px;
    overflow: hidden;
    width: 40px;
    height: 50px;
    border: none;
    text-indent: 100%;
    background: url(/images/ArrowUp.png) no-repeat;
    background-size: 40px;
    z-index: 1001;
}


#toTopHover {
    display: block;
    overflow: hidden;
    float: left;
    opacity: 0;
    filter: alpha(opacity=0);
}

.logo {
    vertical-align: bottom;
    width: 300px;
}

    .logo img {
        width: 280px;
        height: 52px;
    }

.logoBarUnder {
    background-repeat: no-repeat;
    background-color: rgb(153, 204, 255);
    overflow: hidden;
    height: 20px;
}

.navbutton {
    margin-bottom: 10px;
    background-color: #00264d;
    border: none;
    color: white;
    height: 30px;
    line-height: 28px;
    border: 1px solid #00264d;
}

    .navbutton.disabled {
        background-color: white;
        color: #555;
        border: 1px solid #555;
    }

.invalidInputField {
    border: 1px solid red !important;
}

.validationMessage {
    display: none;
}

.select2-hidden-accessible.invalidInputField + .select2-container--default .select2-selection--single {
    border: 1px solid red !important;
}

.CodeEditor input {
    width: 240px;
    text-align: center;
    height: 32px;
    border: 1px solid #aaa;
    border-radius: 4px;
}
/*#endregion*/
/*#region EDITOR*/
.working {
    position: absolute;
    left: 0px;
    top: 0px;
    bottom: 0px;
    right: 0px;
    margin-top: 92px;
    background-color: #ececec;
}

    .working .label {
        position: relative;
        display: block;
        height: 80px;
        width: 310px;
        margin: 0 auto;
        margin-top: 50px;
        background-color: #ececec;
    }

        .working .label IMG {
            position: absolute;
            top: 8px;
            left: 20px;
        }

        .working .label .message {
            font-size: 18px;
            font-weight: 500;
            color: #555;
            position: absolute;
            left: 100px;
            top: 28px;
            width: 190px;
            overflow: hidden;
            height: 40px;
            vertical-align: middle;
        }


.editor, .prime {
    max-width: 1200px;
    padding-top: 20px;
    margin: 0 auto;
    /*padding-left: 10px;
    padding-right: 10px;*/
}

.editor {
    display: none;
}

/*#endregion*/
/*#region DASHBOARD*/
.quickLink {
    border: 1px solid #dee2e6;
    color: #00264d !important;
    padding: 1rem !important;
    position: relative !important;
    overflow: hidden !important;
    border-radius: 4px !important;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin-bottom: 10px;
    text-decoration: none;
}

    .quickLink h3, .quickLink h3:hover {
        font-weight: 800 !important;
        line-height: normal;
        margin: 0 !important;
        display: block !important;
        font-size: 1rem;
        text-decoration: none;
    }

    .quickLink small, .quickLink small:hover {
        line-height: normal;
        margin: 0 !important;
        font-size: 1rem;
        font-weight: 300;
        display: block;
        text-decoration: none;
    }

    .quickLink i {
        font-size: 6rem;
        opacity: 0.05;
        bottom: 0px;
        right: 0px;
        position: absolute;
        margin-bottom: -0.25rem !important;
        margin-right: -0.25rem !important;
    }

.dashItem {
    border: 1px solid;
    background-color: #a1a8ae;
    color: #fff !important;
    padding: 1rem !important;
    position: relative !important;
    overflow: hidden !important;
    border-radius: 4px !important;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin-bottom: 10px;
    min-height: 120px;
}

    .dashItem h3 {
        font-weight: 500 !important;
        line-height: normal;
        margin: 0 !important;
        display: block !important;
        font-size: 2.5rem;
    }

    .dashItem small {
        line-height: normal;
        margin: 0 !important;
        font-size: 0.9375rem;
        font-weight: 300;
        display: block;
    }

    .dashItem i {
        font-size: 6rem;
        opacity: 0.15;
        bottom: 0px;
        right: 0px;
        position: absolute;
        margin-bottom: -0.25rem !important;
        margin-right: -0.25rem !important;
    }

/*#endregion*/
/*#region ELEMENTS*/
.textbox {
    border: none;
    border-bottom: 1px solid #adb5bd;
    width: 300px;
    padding: 4px;
}

.button {
    background-color: #00264d;
    width: 300px;
    height: 40px;
    padding: 4px;
    color: white;
    border: 1px solid #1f4164;
}

    .button:hover {
        background-color: #28609b);
    }

    .button:active {
        background-color: #28609b;
    }

.link {
    color: #2d3b3c;
    text-decoration: none;
}
/*#endregion*/
/*#region #ORDER*/



.order {
    overflow: hidden;
    border-bottom: 3px solid #555;
    margin: 2px;
}

    .order .predefined {
        font-size: 14px;
        background-color: #ccc;
        -moz-border-radius: 3px 3px 3px 3px;
        -webkit-border-radius: 3px 3px 3px 3px;
        border-radius: 3px 3px 3px 3px;
        padding: 4px;
    }

    .order .wizard .stepview {
        width: 100%;
    }

        .order .wizard .stepview div {
            height: 30px !important;
            width: 20%;
            line-height: 30px;
        }

    .order .stepview .passed {
        background-color: #ccc;
    }

    .order .stepview .live {
        background-color: #bcc8df;
        font-weight: bold;
    }

    .order .progress {
        height: 30px;
        line-height: 30px;
        margin-bottom: 10px;
        vertical-align: middle;
    }

    .order .progress-bar {
        height: 30px;
        line-height: 30px;
    }

    .order .wizard {
        text-align: center;
    }

    .order .navigation {
        height: 50px;
        padding: 2px;
        max-width: 1280px;
        margin: 0 auto;
    }

        .order .navigation .disabled {
            opacity: 0.5;
        }

    .order .wizard .step {
        padding: 20px;
        overflow: hidden;
        min-height: 150px;
    }

        .order .wizard .step select {
            font-size: 20px;
            width: 200px;
        }

    .order .wizard .progress-bar {
        text-align: center;
    }

    .order .wizard .navbutton {
        min-width: 150px;
    }

    .order .header {
        border-bottom: 3px solid #00264d;
        color: #00264d;
        padding: 5px;
        max-width: 1280px;
        margin: 0 auto;
    }

    .order table.data.desktop {
        width: 100%;
        max-width: 1280px;
        margin: 0 auto;
    }

        .order table.data.desktop tr {
            height: 40px;
        }

            .order table.data.desktop tr td {
                font-size: 14px;
                line-height: 30px;
                vertical-align: middle;
                padding-left: 5px;
                padding-right: 5px;
            }

    .order label {
        font-size: 18px;
        line-height: 18px;
        font-weight: normal;
    }

    .order .ordertype, .order .select2 {
        width: 180px;
    }

        .order .select2.datepick {
            margin: 0 auto;
            width: 280px;
            text-align: center;
            -moz-border-radius: 3px 3px 3px 3px;
            -webkit-border-radius: 3px 3px 3px 3px;
            border-radius: 3px 3px 3px 3px;
            border: 1px solid #aaa;
            height: 34px;
            text-align: center;
            line-height: 26px;
        }

    .order .ordertype_mob {
        display: none;
    }

    .order .infotitle, .order .ordertypetitle {
        height: 28px;
        line-height: 25px;
        text-align: left;
    }

    .order .orderinfo {
        height: 40px;
        line-height: 25px;
    }

    .order .container {
        max-width: 1280px;
        width: auto;
    }

    .order .datainput, .order select, .order textarea {
        color: #444;
        padding: 2px;
        border: none;
        -moz-border-radius: 3px 3px 3px 3px;
        -webkit-border-radius: 3px 3px 3px 3px;
        border-radius: 3px 3px 3px 3px;
    }

    .order .wizard input[type="date"].mobile.hasDatepicker {
        margin: 0 auto;
        width: 280px;
        text-align: center;
        -moz-border-radius: 3px 3px 3px 3px;
        -webkit-border-radius: 3px 3px 3px 3px;
        border-radius: 3px 3px 3px 3px;
        border: 1px solid #aaa;
        height: 34px;
    }

    .order .wizard input[type="number"].weightpick {
        margin: 0 auto;
        width: 280px;
        text-align: center;
        -moz-border-radius: 3px 3px 3px 3px;
        -webkit-border-radius: 3px 3px 3px 3px;
        border-radius: 3px 3px 3px 3px;
        border: 1px solid #aaa;
        height: 34px;
        text-align: center;
        line-height: 26px;
    }


    .order textarea {
        margin-top: 8px;
        padding: 2px;
        min-width: 200px;
        max-width: 500px;
        width: 100%;
        height: 70px;
        margin-bottom: 5px;
        border: 1px solid #ccc;
        -moz-border-radius: 3px 3px 3px 3px;
        -webkit-border-radius: 3px 3px 3px 3px;
        border-radius: 3px 3px 3px 3px;
    }

    .order table.data.desktop {
        text-align: left;
    }

        .order table.data.desktop .addproduct {
            text-align: center;
            padding-right: 10px;
            height: 45px;
            position: relative;
        }

        .order table.data.desktop thead th, .order table.data.desktop thead td {
            padding: 5px 5px;
            border-right: 1px solid #ccc;
            border-bottom: 1px solid #ccc;
        }

        .order table.data.desktop thead th {
            font-size: 14px;
            font-weight: bold;
        }

        .order table.data.desktop .datainput {
            width: 100%;
            height: 34px;
            font-size: 14px;
            line-height: 18px;
        }

        .order table.data.desktop .select2-container--default .select2-selection--single {
            border-color: white;
        }

        .order table.data.desktop thead th, .order table.data.desktop tbody tr td {
            line-height: 24px;
            vertical-align: middle;
        }

            .order table.data.desktop thead th:first-child, .order table.data.desktop thead td:first-child {
                border-left: 1px solid #ddd;
            }

            .order table.data.desktop thead th.head0, .order table.data.desktop thead td.head0 {
                text-align: left;
                height: 15px;
            }

        .order table.data.desktop tbody tr td {
            padding-right: 1px;
            padding-left: 2px;
            padding-top: 2px;
            padding-bottom: 2px;
            border-right: 1px solid #eee;
            border-bottom: 1px solid #eee;
            background-clip: padding-box;
            font-size: 14px;
        }

        .order table.data.desktop tbody tr:last-child td {
            border-bottom: 1px solid #ccc;
        }

        .order table.data.desktop tbody tr td:first-child {
            border-left: 1px solid #ddd;
        }

        .order table.data.desktop tbody tr td:last-child {
            border-right: 1px solid #ddd;
        }

        .order table.data.desktop tbody tr:hover > td, .order table.data.desktop tbody tr.selected > td {
            background: #c9def7;
            color: #333;
        }

            .order table.data.desktop tbody tr:hover > td.nohover, .order table.data.desktop tbody tr.selected > td.nohover {
                background: white;
            }

.gridnav {
    font-size: 14px;
    margin-top: 5px;
    margin-bottom: 5px;
}

table.historydet thead th:hover td, table.historydet thead th.selected td {
    background-color: white;
}

table.historydet tbody tr:hover td, table.historydet tbody tr.selected td {
    background: #ddd;
}

.order table.data tbody tr.togglerow td {
    background: #fff;
}

.order table.data tbody tr.togglerow:hover td {
    background: #fff;
}

.order table.data tbody tr.hiderow {
    display: none;
}

.historydatamob {
    display: none;
}

.order table.data .navbutton.delete {
    min-width: 80px;
    width: 80px;
    font-size: 14px;
    padding: 2px;
}

.order .dataentry {
    height: 32px;
    border: 1px solid #ccc;
    -moz-border-radius: 3px 3px 3px 3px;
    -webkit-border-radius: 3px 3px 3px 3px;
    border-radius: 3px 3px 3px 3px;
}

.order table.delivery {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

    .order table.delivery .hasDatepicker {
        height: 32px;
        border: 1px solid #ccc;
        -moz-border-radius: 3px 3px 3px 3px;
        -webkit-border-radius: 3px 3px 3px 3px;
        border-radius: 3px 3px 3px 3px;
    }

    .order table.delivery td {
        height: 36px;
    }

    .order table.delivery .datepick, .order table.delivery .weightpick {
        width: 180px;
        border: 1px solid #ccc;
        border: 1px solid #ccc;
        -moz-border-radius: 3px 3px 3px 3px;
        -webkit-border-radius: 3px 3px 3px 3px;
        border-radius: 3px 3px 3px 3px;
        height: 32px;
        padding-left: 6px;
    }

.order .history:hover {
    background-color: white !important;
}



.order .wizard table.tablemobile tr.head0 {
    text-align: left;
    font-size: 14px;
}

.order .wizard .tablemobile .orderdetail .head0 {
    text-align: left;
    width: 90px;
}

.order .wizard .tablemobile .orderdetail td {
    height: 30px;
}

.order .wizard .tablemobile .orderdetail input {
    border: 1px solid silver;
    height: 28px;
    line-height: 28px;
}

.order .wizard select.mobile {
    width: 250px;
    margin: 0 auto;
    background-color: #fff;
    border: 1px solid #aaa;
    border-radius: 4px;
    color: #444;
    line-height: 28px;
    text-align: center;
    font-size: 16px;
    height: 35px;
}

    .order .wizard select.mobile.material, .order .codes select.mobile.material {
        height: 35px;
        background-color: #00264d;
        font-weight: bold;
        border: 1px solid #00264d;
        border-radius: 0px;
        color: white;
    }

.order .wizard table.tablemobile.orderdetail {
    width: 100%;
}
/*#endregion*/


.tooltip {
    background: white;
    border: 1px solid white;
}

.tooltip {
    /*pointer-events: none;*/
    opacity: 0;
    display: none;
    position: absolute;
    padding: 0px 0px;
    color: silver;
    border-radius: 2px;
    margin-top: 2px;
    text-align: center;
    font: bold 14px "Helvetica Neue", Sans-Serif;
    font-stretch: condensed;
    text-decoration: none;
    box-shadow: 0 0 7px #aaa;
}

    .tooltip.active {
        display: block;
        opacity: 1;
        margin-top: 5px;
        transition: all 0.2s ease;
    }

    .tooltip.out {
        display: none;
        opacity: 0;
        margin-top: -20px;
    }

.odd-row {
    background-color: #eee;
}
