﻿body {
    padding-top: 65px;
}

body, html, .body-content {
    height: 100%;
}

.container {
    width: 95%;
}

.disableddiv {
    pointer-events: none;
    opacity: 0.4;
}

/*topmenu*/

.navbar {
    /*background-color: #0f335d;*/
    background-color: #e5e5e5;
}

.navcontainer {
    height: 60px;
    position: relative;
}

.topnav {
    height: 15px;
    background-color:#e5e5e5;
    /*background-color: #15447c;*/
}

.bottomnav {
    height: 3px;
    background-color: #136187;
    /*background-color: #53b7e8;*/
}

.bottomnav2 {
    height: 3px;
    background-color: #e5e5e5;
    /*background-color: #0f335d;*/
}

#logo {
    position: absolute;
    top: -30px;
    left: -10px;
    z-index: 1;
    visibility: visible;
}

#logoRect {
    position: absolute;
    visibility: hidden;
}

#head-menu {
    margin-top: 80px;
    width: 200px;
}

/*menu*/

.navbar-inverse{
    border-width:0px;
}

#navbar-collapse-pills {
    height: 100% !important;
    background: #e5e5e5; /* For browsers that do not support gradients */
    background: -webkit-linear-gradient(white, #e5e5e5); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(white, #e5e5e5); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(white, #e5e5e5); /* For Firefox 3.6 to 15 */
    background: linear-gradient(white, #e5e5e5); /* Standard syntax */
    border-right: 1px solid #e5e5e5;
    /*background: #e0f0fb; /* For browsers that do not support gradients */
    /*background: -webkit-linear-gradient(white, #e0f0fb);*/ /* For Safari 5.1 to 6.0 */
    /*background: -o-linear-gradient(white, #e0f0fb);*/ /* For Opera 11.1 to 12.0 */
    /*background: -moz-linear-gradient(white, #e0f0fb);*/ /* For Firefox 3.6 to 15 */
    /*background: linear-gradient(white, #e0f0fb); /* /* Standard syntax */
   /* border-right: 1px solid #e5e5e5;*/    
    position: fixed;
}

#bodypage {
    margin-left: 265px; /*50px;*/
}

#navbar-collapse-pills ul .sub-menu,
#navbar-collapse-pills li .sub-menu {
    padding-left: 20px;
    padding-top: 5px;
}

#navbar-collapse-pills ul :not(collapsed) .arrow:before,
#navbar-collapse-pills li :not(collapsed) .arrow:before {
    font-family: FontAwesome;
    content: "\f078";
    display: inline-block;
    padding-left: 10px;
    padding-right: 10px;
    vertical-align: middle;
    float: right;
}

.nav-pills > li.active > a, .nav-pills > li.active > a:hover, .nav-pills > li.active > a:focus {
    color: #fff;
    background-color: #136187;
}

#navbar-collapse-pills ul .sub-menu li.active,
#navbar-collapse-pills li .sub-menu li.active {
    color: #fff;
    /*background-color: #337ab7;*/
    background-color: #136187;
    border-radius: 3px;
}

    #navbar-collapse-pills ul .sub-menu li.active a,
    #navbar-collapse-pills li .sub-menu li.active a {
        color: #fff;
        /*background-color: #337ab7;*/
        background-color: #136187;
    }

#navbar-collapse-pills ul .sub-menu li,
#navbar-collapse-pills li .sub-menu li {
    list-style-type: none;
    border: none;
    /*line-height: 35px;*/
    margin-left: 0px;
    padding-left: 10px;
}

    #navbar-collapse-pills ul .sub-menu li:hover,
    #navbar-collapse-pills li .sub-menu li:hover {
        background-color: #eee;
    }

    #navbar-collapse-pills ul .sub-menu li.active:hover,
    #navbar-collapse-pills li .sub-menu li.active:hover {
        /*background-color: #337ab7;*/
        background-color: #136187;
    }

    #navbar-collapse-pills ul .sub-menu li:hover a,
    #navbar-collapse-pills li .sub-menu li:hover a {
        text-decoration: none;
    }

#NLLink {
    padding: 15px 3px;
    font-weight: bold;
    font-size: 1.2em;
    color: #136187;
}

#FRLink {
    padding: 15px 3px;
    font-weight: bold;
    font-size: 1.2em;
    color: #136187;
}

#logOff {
    color: #136187;
}

#hello {
    color: #136187;
    font-weight:bold;
}

a {
    color: #136187;
}

    /* to collapse the menu when the screenwidth is smaller then xl = 1200px */
    /* bootstrap 4 can use class="navbar-expand-xl"*/
    /* https://stackoverflow.com/questions/19827605/change-bootstrap-navbar-collapse-breakpoint-without-using-less */
    /*@@media (max-width: 991px) {*/
    /*@@media (max-width: 768px) {*/
    @media (max-width: 1200px) {
        .navbar-header {
            float: none;
        }

        .navbar-left {
            float: none !important;
        }

        .navbar-right {
            float: none !important;
        }

        .navbar-toggle {
            display: inline-table;
            float: none;
        }

        .navbar-inverse .navbar-toggle {
            border-width: 0;
        }

            .navbar-inverse .navbar-toggle:hover, .navbar-inverse .navbar-toggle:focus {
                background-color: white;
            }

        .icon-bar {
            background-color: #136187 !important;
        }

        .navbar-collapse {
            border-top: 1px solid transparent;
            box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
        }

        .navbar-fixed-top {
            top: 0;
            /*border-width: 0 0 1px;*/
        }

        .navbar-collapse.collapse {
            display: none !important;
        }

        .navbar-nav {
            float: none !important;
            margin-top: 7.5px;
        }

            .navbar-nav > li {
                float: none;
            }

                .navbar-nav > li > a {
                    padding-top: 10px;
                    padding-bottom: 10px;
                }        

        .collapse.in {
            display: block !important;
            overflow-y: auto !important; /*shows scrollbar when management is opened*/
        }

        #head-menu {
            margin-top: 20px;
            /*width:100%;*/
        }

        #navbar-collapse-pills {
            height: 360px !important;
            max-height: 360px;
            width: 100%;
        }

        #logo {
            position: absolute;
            top: -30px;
            left: -10px;
            z-index: 1;
            visibility: hidden;
        }

        #logoRect {
            z-index: 1;
            visibility: visible;
            /*height: 95px;*/
            height: 85px;
            position: absolute;
            top: -25px;
            right: 0px;
        }

        #logOff {
            /*float: right;*/
            margin-right: 20px;
            color: #136187;
            /*color: #9d9d9d;*/
            padding-top: 15px;
        }

        #NLLink {
            color: #136187;
            /*color: #9d9d9d;*/
            padding-top: 15px;
        }

        #FRLink {
            margin-right: 20px;
            color: #136187;
            /*color: #9d9d9d;*/
            padding-top: 15px;
        }

        #bodypage {
            margin-left: 10px;
            padding-left: 0px !important;
            padding-right: 0px !important;
        }

        .bottomnav {
            /*background-color: #e0f0fb;*/
            background-color: #136187;
        }

        .navbar {
            /*border:none;*/
        }
    }

    @media (max-width: 435px) {
        #logoRect {
            left: -5px;
        }

        #bodypage {
            margin-left: 0px;
            padding-left: 0px !important;
            padding-right: 0px !important;
        }

        #logoRect {
            visibility: hidden;
        }
    }
    /*general*/
    .title {
    margin-top: 80px;
    margin-bottom: 20px;
}

.trash {
    color: red;
    margin-right: 10px;
}

.pencil {
    color: green;
}

.alignRight {
    text-align: right;
}

.addGroup {
    max-width: 320px;
}

.searchGroup {
    max-width: 320px;
}

.fileGroup {
    max-width: 460px;
}

.multiline {
    height: 150px !important;
    max-width: 500px !important;
}

.noPaddingLeft {
    padding-left: 0
}

#back {
    border: none;
    background-color: white;
    color: #136187;
    /*color: #337ab7;*/
}

input[type="button"].btnActionlink, input[type="button"]:focus.btnActionlink, input[type="button"]:active.btnActionlink,
button.btnActionlink, button:focus.btnActionlink, button:active.btnActionlink {
    background: none !important;
    color: inherit;
    border: none;
    padding: 0 !important;
    font: inherit;
}

.error {
    color: red;
}

/*Users*/
#btnResetPassword {
    float: right;
}

@media (max-width: 768px) {
    #btnResetPassword {
        float: none;
    }
}

/*Search*/

.titleWithSearch {
    margin-top: 60px;
    margin-bottom: 0px;
}


.search {
    max-width: 320px;
    min-width: 150px;
    width: 100%;
}

.searchOption {
    width: 150px;
}

#productSearch {
    margin-top: 20px;
    margin-bottom: 10px;
}

#distributionSearch {
    margin-top: 20px;
    margin-bottom: 10px;
}

#typeSearch {
    margin-top: 20px;
    margin-bottom: 10px;
}

#distributionSearch2 {
    margin-bottom: 10px;
}

.noPadding {
    padding: 0;
}

.distribLabel {
    width: 150px;
}

.distribOptions {
    /*margin-right:40px;*/
    max-width: 280px;
    min-width: 150px;
    width: 100%;
}

.titleNameSearch {
    margin-bottom: 20px;
}

@media (max-width: 1200px) {
    .titleWithSearch {
        margin-top: 30px;
        margin-bottom: 0px;
    }
}


@media (max-width: 768px) {
    #distributionSearch {
        float: none !important;
        padding-left: 15px;
    }

    #typeSearch {
        float: none !important;
        padding-left: 15px;
    }

    #distributionSearch2 {
        float: none !important;
        padding-left: 15px;
    }

    #stockSearch {
        float: none !important;
        padding-left: 15px;
    }

    #productSearch {
        float: none !important;       
    }

    #logSearch {
        float: none !important;
        padding-left: 15px;
    }

    #statusSearch {
        float: none !important;
        padding-left: 15px;
    }

    #roleSearch {
        float: none !important;
        padding-left: 15px;
    }

    #moduleSearch {
        float: none !important;
        padding-left: 15px;
    }

    #loggingDates .distribLabel {
        float: none !important;
    }

    #loggingDates .search .dateBox {
        padding-left: 0px;
        margin-left: 0px !important;
    }

    .titleWithSearch {
        margin-top: 0px;
        margin-bottom: 10px;
    }
}

/*Warehouse*/
.titleWarehouse {
    margin-top: 60px;
    margin-bottom: 0px;
}

.searchWarehouse {
    margin-top: 80px;
    margin-bottom: 0px;
}

@media (max-width: 1200px) {
    .searchWarehouse {
        margin-top: 80px;
        margin-bottom: 20px;
    }
}


@media (max-width: 768px) {
    .searchWarehouse {
        margin-top: 20px;
        margin-bottom: 20px;
    }
}

.stockItem {
    height: 320px;
}

@media (max-width: 576px) {
    .stockItem {
        width: 100%;
        max-width: 180px;
        height: auto;
        float: none;
        padding-bottom: 20px;
    }
}

.stockItemThumb {
    position: relative;
    background-color: transparent;
    min-height: 200px;
}

.stockItemThumbHover {
    background-color: white;
    border: 1px solid #eee;
    box-shadow: 0px 3px 10px rgba(0,0,0,0.15);
    margin-bottom: 20px;
    min-height: 320px;
    width: 110%;
    height: 102%;
    position: absolute;
    right: -20px;
    top: -5px;
    display: none;
}

.thumbName {
    font-weight: bold;
    font-size: 1.4em;
    text-align: center;
    margin-top: 10px;
    height: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.thumbArticleNr {
    font-weight: bold;
    font-size: 1.2em;
    text-align: center;
}

.thumbConfig {
    font-weight: bold;
    font-size: 0.7em;
    text-align: center;
}

.thumbConfigID {
    font-weight: 900;
    font-size: 0.8em;
    text-align: center;
}

.thumbAmount {
    font-size: 1.6em;
    font-weight: bold;
    text-align: center;
    color: white;
    width: 75px;
    height: 75px;
    line-height: 75px;
    vertical-align: middle;
    background-image: url('../Images/smallball.png');
    background-size: 75px 75px;
    background-repeat: no-repeat;
    position: absolute;
    right: -30px;
    top: 100px;
}

.thumbZink {
    position: absolute;
    left: 0px;
    top: 0px;
}

.ralColor {
    border-radius: 60px;
    position: absolute;
    right: 0px; /*-30px;*/
    top: 60px; /*99px;*/
    width: 75px;
    height: 75px;
    color: white;
    text-align: center;
    line-height: 75px
}

.thumbDivImage img {
    position: relative;
    width: 100%;
    height: 180px;
    object-fit: cover;
    object-position: left;
    overflow: hidden;
}

.compat-object-fit {
    background-size: cover;
    background-position: left;
}

.categoryMenu {
    margin-left: 0px;
    margin-right: 5px;
    padding: 5px 0px 5px 0px;
    /*background: #f7fafe;*/
    background: #f7f7f7;
}

.btnCategory {
    background-color: transparent;
    /*color: #337ab7;*/
    color: #136187;
    text-decoration: none;
}

    .btnCategory:hover {
        background-color: transparent;
        /*color: #337ab7;*/
        color: #136187;
        text-decoration: underline;
    }

.btnSelectCategory {
    background-color: #136187;
    /*background-color: #337ab7;*/
    color: white;
    font-weight: bold;
    text-decoration: none;
}

    .btnSelectCategory:hover {
        background-color: transparent;
        /*color: #337ab7;*/
        color: #136187;
        font-weight: bold;
        text-decoration: underline;
        /*border: solid 1px #337ab7;*/
        border: solid 1px #136187;
    }

@media (max-width: 768px) and (min-width: 576px) {
    .stockItemThumb {
        position: relative;
        margin-bottom: 20px;
    }
}

/*Warehouse Edit*/
.warehouseName {
    margin-top: 80px;
    margin-bottom: 20px;
}

#stockItemEditText {
    margin-top: 0px; /*120px*/
    display: inline-block;
}

#floatRight {
    float: right !important;
}

#stockItemEditAmount {
    font-size: 1.6em;
    font-weight: bold;
    text-align: center;
    color: white;
    width: 75px;
    height: 75px;
    line-height: 75px;
    vertical-align: middle;
    background-image: url('../Images/smallball.png');
    background-size: 75px 75px;
    background-repeat: no-repeat;
    display: inline-block;
}

#ralColor {
    border-radius: 60px;
    position: absolute;
    right: -30px;
    top: 99px;
    width: 75px;
    height: 75px;
    z-index: -1;
    color: white;
    text-align: center;
    line-height: 75px
}

.btn-huge {
    width: 100px !important;
    height: 100px !important;
    font-size: 3em;
}

.btn-big {
    width: 48px !important;
    height: 48px !important;
    font-size: 1.5em;
}

#divImage {
    text-align: center;
}

#button {
    text-align: right;
}

.number-spinner button {
    height: 100px;
    width: 100px;
}

.number-spinner input {
    height: 100px;
    font-size: 1.6em;
    font-weight: bold;
    background-color: white !important;
}

/*.stockItemEditButtons #motivation {
    margin-top: 10px;
    font-size: 1.3em;
    height: 2.3em;
}*/

@media (max-width: 576px) {
    .warehouseName {
        margin-top: 0px;
        margin-bottom: 20px;
    }

    #stockItemEditText {
        margin-top: 0px;
    }

    #stockItemEditAmount {
        margin-top: 0px;
    }

    #leftTitle {
        float: none;
        width: 100%
    }

    #rightTitle {
        width: 100%;
    }
}

@media (max-width: 670px) {
    .stockItemEditButtons {
        float: none;
        width: 100%;
        margin-bottom: 10px;
        text-align: center;
    }

    #button {
        text-align: center;
    }
}
/*CreateStockItem*/

.searchProduct {
    max-width: 310px;
    min-width: 150px;
    width: 100%;
}

.selectedRow {
    background-color: orange !important;
}

#subItems {
    text-align: left !important;
}

@media (max-width: 768px) {
    #addSubItems #plus {
        margin-left: 15px;
    }
}
/*SelectUser*/

.profileDiv {
    background-color: black;
    height: 80px;
    width: 80px;
    margin-left: auto;
    margin-right: auto;
}

.profileImg {
    max-height: 100%;
    max-width: 100%;
}

.profileText {
    text-align: center
}

.btnSelect {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
}

@media (max-width: 576px) {
    .btnSelect {
        text-align: center;
        float: none !important;
        width: auto !important;
    }
}

.deletebtnInTable {
    text-align: right;
}

/*Logging*/


#loggingDates {
    /*padding-right: 15px;*/
}

.dateBox {
    min-width: 145px;
    max-width: 200px;
    z-index: 3;
}

.standardDateBox {
    min-width: 145px;
    max-width: 200px;
    z-index: 3;
}

#loggingDates .input-group .form-control:last-child, #loggingDates .input-group-addon:last-child, #loggingDates .input-group-btn:last-child > .btn, #loggingDates .input-group-btn:last-child > .btn-group > .btn,
#loggingDates .input-group-btn:last-child > .dropdown-toggle, #loggingDates .input-group-btn:first-child > .btn:not(:first-child), #loggingDates .input-group-btn:first-child > .btn-group:not(:first-child) > .btn {
    border-radius: 3px;
}

#distributionSearch .input-group .form-control:first-child, #distributionSearch .input-group-addon:first-child, #distributionSearch .input-group-btn:first-child > .btn, #distributionSearch .input-group-btn:first-child > .btn-group > .btn,
#distributionSearch .input-group-btn:first-child > .dropdown-toggle, #distributionSearch .input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle), #distributionSearch .input-group-btn:last-child > .btn-group:not(:last-child) > .btn {
    border-radius: 3px;
}

@media (max-width: 768px) {
    #loggingDates {
        float: none !important;
        padding-left: 15px;
    }

    .dateBox {
        margin-left: 20px !important;
    }
}

/*Shipment*/

#searchProdInShipment {
    float: left !important;
}

.quantity {
    min-width: 50px;
    max-width: 150px;
}

@media (max-width: 768px) {
    .quantitydiv {
        margin-left: 0px;
        padding-left: 0px;
    }
}


/*Delivery*/
.multilineTextbox {
    max-width: 2000px !important;
}

/*table td {
    width: 30px;
    overflow: hidden;
    display: inline-block;
    white-space: nowrap;
}*/

/*StockModel*/
.alignCenter {
    text-align: center;
}

/*Product Edit*/
.productImage {
    max-width: 250px;
    max-height: 150px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 100px;
    display: block;
}

@media (max-width: 991px) {
    .productImage {
        margin-top: 250px;
    }
}

@media (max-width: 768px) {
    .productImage {
        margin-top: 0px;
    }
}

#imageNameSearch {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/*settings*/
.normalLabel {
    font-weight: normal;
}

.endGroup {
    margin-bottom: 20px;
}

.colEven {
    background-color: #f4f9fe;
}

.centerLabel {
    padding-top: 8px;
}

/*Pincode*/
.pin {
    float: left;
}

.pinImg {
    width: 30px;
}

.digitImg {
    width: 80px;
}

.pinGroup {
    clear: both;
    margin: auto;
    width: 50%;
    text-align: center;
}

@media (min-width: 768px) {
    .modal-xl {
        width: 90%;
        max-width: 1200px;
    }
}

.borderless td, .borderless th {
    border: none;
}
