﻿body {
    font-size: 16px;
}

form {
    padding-bottom: 10px;
}

.top-bar {
    background-color: #0088CC;
    height: 50px;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);
}



.brand {
    background-color: #FFF;
    width: 65px;
    height: 50px;
    display: inline-block;
    padding-top: 6px;
    padding-left: 9px;
    padding-right: 10px;
    border-top-right-radius: 4px;
    margin-top: 4px;
    margin-left: 0;
    float: left;
}

.main-menu {
    float: left;
    margin-top: 0px;
    padding: 5px;
    display: block;
    height: 50px;
    margin-left: 1px;
}

    .main-menu ul {
        margin: 0;
    }

    .main-menu li {
        float: left;
        margin-right: 6px;
        height: 40px;
        vertical-align: middle;
        padding: 0;
    }

        .main-menu li a, .main-menu li a:hover, .main-menu li a:visited, .main-menu li a:active {
            color: #1e2121;
            background-color: #FFF;
        }

        .main-menu li a {
            border-radius: 4px;
            border-width: 1px;
            border-color: pink;
            float: left;
            margin-right: 4px;
            height: 100%;
            width: 100%;
            vertical-align: middle;
            font-size: 16px;
            padding-top: 10px;
            padding-bottom: 10px;
            padding-left: 7px;
            padding-right: 7px;
        }

.page-content {
    padding-left: 4px;
    padding-right: 4px;
    padding-top: 10px;
}

.brand img {
    width: 100%;
}

.navigation {
    width: 100%;
    margin: 0;
    padding: 0;
}

    .navigation li {
        display: block;
        border-radius: 4px;
        background-color: menu;
        border-color: #4cae4c;
        width: 100%;
        list-style-type: none;
        margin: 0;
        box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
        transition: border 0.2s linear 0s, box-shadow 0.2s linear 0s;
        vertical-align: middle;
    }

        .navigation li a {
            padding: 8px;
            display: block;
            margin-top: 4px;
            margin-bottom: 4px;
            color: #000;
            width: 100%;
            height: 100%;
        }

            .navigation li a:hover, .navigation li a:active, .navigation li a:visited {
                color: #000;
                text-decoration: none;
            }

select, .btn, textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input {
    background-color: #ffffff;
    border: 1px solid #dddddd;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
    transition: border 0.2s linear 0s, box-shadow 0.2s linear 0s;
    border-radius: 4px;
    color: #555555;
    display: inline-block;
    font-size: 16px;
    line-height: 16px;
    height: 35px;
    padding-top: 4px;
    padding-bottom: 4px;
    vertical-align: middle;
}


.form-signin {
}

    .form-signin input {
        width: 100%;
        margin-bottom: 8px;
    }

        .form-signin input.btn[type="submit"] {
            width: auto;
            float: right;
        }

input.btn[type="submit"] {
    background-color: #5cb85c;
    background-image: none;
    border-color: #4cae4c;
    color: #ffffff;
    text-shadow: none;
    float: right;
}

    input.btn[type="submit"]:hover, .btn:hover {
        color: white;
    }


#clients .navbar-search {
    display: inline-block;
    width: 100%;
    margin-bottom: 5px;
}

    #clients .navbar-search .search-query {
        float: left;
        width: 77%;
    }

    #clients .navbar-search .btn {
        width: 22%;
        float: right;
    }

#root-menu {
    position: absolute;
    right: 0px;
    left: auto;
    z-index: 80;
    top: 5px;
}

.dl-menu {
    width: 100% !important;
    position: fixed !important;
    right: 0px;
    left: auto;
}



#loading {
    float: left;
    padding-top: 20px;
    padding-left: 20px;
}

    #loading img {
        width: 30px;
    }

.add-inline {
    padding-left: 0 !important;
    margin-bottom: 10px;
}


    .add-inline #txtQuantity {
        margin-top: 0px !important;
        margin-bottom: 0px !important;
        width: 60px;
    }

    .add-inline .btn {
        margin-top: 13px;
    }

    .add-inline #increment, .add-inline #decrement {
        margin-top: 0px !important;
        padding-top: 5px !important;
        height: 40px !important;
        width: 38px !important;
        font-size: 22px;
    }

    .add-inline #decrement {
        padding-top: 3px !important;
    }

.main-container {
    padding: 5px;
    padding-top: 0px;
}

.modal {
    display: block;
    bottom: auto;
}

.dataTables_length {
    display: none;
}

.dataTables_filter {
    float: left !important;
}

table.custom {
    width: 100%;
}

    table.custom td {
        padding: 4px;
    }

    table.custom tr:nth-child(odd) {
        background-color: #fff;
    }

    table.custom tr:nth-child(even) {
        background-color: #f9f9f9;
    }

.error {
    border-color: red !important;
}

@media (max-width: 767px) {
    body {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

table.header {
    font-size: 12px;
}


    table.header td:nth-child(odd) {
        font-weight: bold;
    }

.dataTables_filter {
    width: 100%;
}

    .dataTables_filter input {
        width: 97% !important;
        margin-left: 0 !important;
    }

.bottom {
    margin-top: 10px;
}

#add-order-line {
    margin-top: 5px;
    margin-bottom: 15px;
    width: 100%;
    font-weight: bold;
}

#decrement {
    margin-right: -5px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

#increment {
    margin-left: -6px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

#decrement, #increment {
    width: 48%;
    font-weight: bold;
    margin-top: 1px;
}

.add-inline input {
    width: 100%;
}

.add-inline .producttitle-element {
    margin-bottom: 5px;
}

.add-inline .ean-element {
    width: 150px;
    float: left;
    margin-left: 4px;
    height: 40px;
}

.add-inline .quantity-element {
    float: left;
    margin-left: 0px;
    width: auto;
    display: inline-block;
    padding: 0px !important;
}

.add-inline #AddOrderLineButton {
    width: 48px;
    display: inline-block;
    text-align: center;
    padding: 0;
    margin: 0px;
    float: none;
    margin-left: 4px;
    height: 40px;
}


#txtEAN, #txtProductTitle {
}

#txtEAN, #txtQuantity {
    text-align: left;
}

#txtQuantity {
    border-radius: 0;
    height: 40px;
}

.increment, .decrement {
    font-weight: bold;
}

.quantity {
    border-radius: 5px;
    margin-left: 3px;
    margin-right: 3px;
    width: 40px;
    text-align: center;
    height: 45px;
}

#confirmYesBtn {
    color: white;
}

.dataTable {
    border: 1px solid #dddddd !important;
    border-radius: 4px;
}

    .dataTable thead {
        background-color: #f9f9f9 !important;
    }



    .dataTable th, .dataTable {
        border-color: #dddddd !important;
    }

        .dataTable th, .dataTable td {
            padding: 8px !important;
        }

        .dataTable th {
            color: #0088cc;
            padding-top: 10px !important;
        }


        .dataTable .sorting_1 {
            background-color: transparent !important;
        }

        .dataTable .odd {
            background-color: transparent !important;
        }

        .dataTable .even {
            background-color: #f9f9f9 !important;
        }

        .dataTable input {
            border: 1px solid #dddddd;
            box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
            transition: border 0.2s linear 0s, box-shadow 0.2s linear 0s;
            border-radius: 4px;
            border-color: 1px solid #dddddd !important;
            height: 40px !important;
            width: 50px;
            font-size: 16px;
        }

        .dataTable .increment, .dataTable .decrement {
            padding-top: 3px !important;
            height: 40px !important;
            width: 40px !important;
            font-size: 22px;
        }

        .dataTable .decrement {
            padding-top: 1px !important;
        }

.control-label {
    float: left;
    width: 40%;
    padding-top: 6px;
}

.control-value {
    float: left;
    width: 60%;
}


.pull-left {
    float: left;
}


.button-bar {
    margin-top: 8px;
    margin-bottom: 8px;
    height: 20px;
}


#CustomerOverviewTable td:nth-child(3), #CustomerOverviewTable th:nth-child(3) {
    display: none;
}

#dialog-block .close, #dialog-block a[data-dismiss="modal"] {
    display: none;
}

#SaveOrder, #SaveOrderTop {
    display: none;
}

.row-holder {
    display: inline-block;
    text-align: right;
    width: 100%;
}

#SaveOrderTop {
    margin-left: 5px;
}

#orderline-loader {
    height: 25px;
    width: 100%;
    text-align: center;
    float: right;
}

    #orderline-loader span {
        background-image: url('../images/ajax-loader.gif');
        background-repeat: no-repeat;
        background-position: left center;
        padding-left: 25px;
        display: block;
        float: left;
        height: 25px;
    }

.datepicker {
    z-index: 1600;
}

#edit-date-modal {
    height: 180px;
}

.modal-content {
}

.main-menu a.active {
    background-color: #F60 !important;
    color: white !important;
    border-radius: 4px;
    border-width: 1px;
}

#GoToClient {
    margin-right: 5px;
}

.page-content #loader {
    width: 100%;
    text-align: center;
}

    .page-content #loader span {
        background-image: url('../images/ajax-loader.gif');
        background-repeat: no-repeat;
        background-position: left center;
        padding-left: 25px;
        display: inline-block;
    }


#display-historical {
    margin: 10px;
    margin-top: 8px;
}

#franco-warning {
    border-radius: 4px;
    border: 2px solid #F60;
    background-color: #FFF;
    padding: 6px;
    text-align: center;
    color: #F60;
    margin-bottom: 10px;
    width: 68%;
    display: inline-block;
}

#order-detail {
    max-width: 351px;
}

    #order-detail .error-summary .error-message {
        border: 2px solid red;
        border-radius: 4px;
        color: red;
        padding: 10px;
        margin-bottom: 15px;
        height: 75px;
    }

    #order-detail .error-summary .close-button {
        float: right;
        cursor: pointer;
        position: absolute;
        right: 16px;
    }

    #order-detail .order-header {
        margin-bottom: 5px;
        max-width: 340px;
    }

        #order-detail .order-header td {
            border: none;
            padding-left: 5px;
            padding-right: 5px;
            padding-top: 3px;
            padding-bottom: 3px;
        }

        #order-detail .order-header tr.even {
            background-color: #f9f9f9 !important;
        }

#company-info #company-name {
    padding-bottom: 6px;
}

#company-info #company-address {
    width: 60%;
    float: left;
    padding-right: 6px;
}

#company-info #company-distributor-codes {
    width: 40%;
    float: left;
}


.add-inline textarea {
    height: 300px;
}

#order-lines {
    border: 1px solid #dddddd;
    border-bottom: none;
    border-radius: 4px;
}

    #order-lines .increment, #order-lines .decrement {
        height: 40px !important;
        width: 40px !important;
        font-size: 22px;
    }

    #order-lines .order-line {
        border-bottom: 1px solid #dddddd;
    }

    #order-lines .product-title {
        width: 100%;
        padding: 4px;
    }

    #order-lines .order-line-remove {
        float: left;
        height: 40px;
        margin-left: 4px;
        margin-right: 20px;
    }

        #order-lines .order-line-remove a {
            height: 40px;
            padding-top: 10px !important;
        }

    #order-lines .product-pvp {
        width: auto;
        display: inline;
        font-size: 18px;
        float: left;
        height: 40px;
        line-height: 40px;
        padding-left: 4px;
    }

    #order-lines .order-line-quantity {
        width: 100%;
        text-align: right;
        margin-bottom: 4px;
    }

    #order-lines .quantity {
        height: 40px;
        width: 50px;
        padding: 0;
        margin: 0;
        margin-left: 4px;
        margin-right: 4px;
    }

        #order-lines .quantity.placeholder {
            background: menu;
            font-weight: normal;
            color: GrayText;
        }

        #order-lines .quantity.realvalue {
            background: #5CB85C;
            font-weight: normal;
            color: white;
        }

#ReferenceTextBox:disabled {
    background-color: #eeeeee;
    color: #555555;
}

.increment:focus, .increment:active .decrement:focus, .decrement.active, .increment:hover, .decrement:hover {
    font-weight: bold;
    color: #555555 !important;
}

.overlay {
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    z-index: 10;
    top: 0;
    left: 0;
    padding-top: 10%;
    position: fixed;
    text-align: center;
    font-size: 18px;
    color: black;
}

.debug-console {
    border: 1px solid red;
    min-height: 30px;
    width: 100%;
    display: inline-block;
    display: none;
}

#synchronization-dialog-block {
    font-size: 14px;
}

    #synchronization-dialog-block .media-body {
        padding-left: 45px;
    }

    #synchronization-dialog-block .modal-footer {
        display: none;
    }

    #synchronization-dialog-block .sync-image {
        background-image: url('../images/reload.gif');
        background-repeat: no-repeat;
        background-position: left center;
        background-size: 30px;
        padding-left: 45px;
        height: 30px;
        left: 15px;
        top: 27px;
        position: absolute;
    }

        #synchronization-dialog-block .sync-image.finished {
            background-image: url('../images/finished.png');
        }

    #synchronization-dialog-block h4 {
        font-size: 18px;
        font-weight: normal;
    }

    #synchronization-dialog-block h5 {
        font-size: 17px;
        font-weight: normal;
        margin-top: 5px;
        margin-bottom: -9px;
    }

    #synchronization-dialog-block .btn {
        padding: 10px 12px;
    }

    #synchronization-dialog-block .percentage {
        font-weight: bold;
        float: right;
    }

    #synchronization-dialog-block .icon-4x {
        display: none;
    }

#OrderDetailSlimElement {
    max-width: 351px;
}

    #OrderDetailSlimElement .error-summary .error-message {
        border: 2px solid red;
        border-radius: 4px;
        color: red;
        padding: 10px;
        margin-bottom: 15px;
        height: 75px;
        position: relative;
    }

    #OrderDetailSlimElement .error-summary .close-button {
        cursor: pointer;
        position: absolute;
        right: 16px;
        top: 50px;
    }

    #OrderDetailSlimElement .order-header {
        margin-bottom: 5px;
        max-width: 340px;
    }

        #OrderDetailSlimElement .order-header td {
            border: none;
            padding-left: 5px;
            padding-right: 5px;
            padding-top: 3px;
            padding-bottom: 3px;
        }

        #OrderDetailSlimElement .order-header tr.even {
            background-color: #f9f9f9 !important;
        }


    #OrderDetailSlimElement .paging {
        margin-top: 8px;
        margin-bottom: 4px;
    }

        #OrderDetailSlimElement .paging a.page-nav {
            background-color: #5cb85c;
            border-color: #4cae4c;
            color: #555555;
            text-shadow: none;
            padding: 7px !important;
            padding-top: 10px !important;
            padding-bottom: 10px !important;
            margin-right: 4px;
            min-width: 26px;
            display: inline-block;
            text-align: center;
            background-color: #ffffff;
            border: 1px solid #dddddd;
            box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
            transition: border 0.2s linear 0s, box-shadow 0.2s linear 0s;
            background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
            background-repeat: repeat-x;
            border-radius: 4px;
            width: 40px;
            height: 40px;
        }

            #OrderDetailSlimElement .paging a.page-nav[disabled] {
                opacity: 0.6;
                cursor: pointer;
            }

    #OrderDetailSlimElement #CurrentPageSpan {
        float: right;
        padding-top: 11px;
        padding-top: 11px;
        padding-right: 18px;
    }

    #OrderDetailSlimElement #PreviousPageLink {
        width: 58px;
    }

    #OrderDetailSlimElement #NextPageLink {
        width: 58px;
    }

    #OrderDetailSlimElement #LastPageLink {
    }

#smooth-dialog-block {
    font-size: 14px;
}

    #smooth-dialog-block .modal {
        border: none;
    }

    #smooth-dialog-block .media-body {
        padding-left: 45px !important;
    }

    #smooth-dialog-block .modal-footer {
        display: none;
    }

    #smooth-dialog-block .modal-header {
        display: none;
    }

    #smooth-dialog-block .sync-image {
        background-image: url('../images/reload.gif');
        background-repeat: no-repeat;
        background-position: left center;
        background-size: 30px;
        padding-left: 45px;
        height: 30px;
        left: 15px;
        top: 17px;
        position: absolute;
    }

    #smooth-dialog-block .icon-4x {
        display: none;
    }


    #smooth-dialog-block h4 {
        font-size: 18px;
        font-weight: normal;
    }

    #smooth-dialog-block h5 {
        font-size: 17px;
        font-weight: normal;
        margin-top: 5px;
        margin-bottom: -9px;
    }

.smooth-backdrop {
    background-color: white;
    opacity: 0.9 !important;
}

.order-line.last-processed {
    opacity: 0.9;
    background-color: rgba(248, 148, 6, 0.23);
    border-top: 2px solid #f89406 !important;
    border-bottom: 2px solid #f89406 !important;
    border-radius: 4px;
}

.typeahead.dropdown-menu {
    overflow-y: scroll;
    height: 125px;
    display: block;

    /* position:sticky;  textbox? */
}
