body {
    background-color: #EEE;
    font-family: sans-serif;
    padding-top: 50px;
}

.well {
    background: #fff;
}

.top_most_div {
    position: fixed;
    background: #0b5b97;
    height: 50px;
    top: 0;
    right: 0;
    left: 0;
    z-index: 2030;
}

.navbar-inverse {
    /*background: #5f5f5f;
    border-color: #5f5f5f;*/
    background: #0b5b97;
    border-color: #0b5b97;
}

.navbar-collapse {
    padding-right: 0px;
    padding-left: 0px;
}

.navbar-inverse .navbar-toggle {
    border-color: #fff;
}

.navbar-inverse .navbar-collapse {
    border: 0;
}

.navbar-inverse .navbar-nav > li > a:focus, .navbar-inverse .navbar-nav > li > a:hover {
    color: #fff;
    background-color: #0b5b97;
    border-top: 1px solid;
}

.navbar-inverse .navbar-nav > .active > a, .navbar-inverse .navbar-nav > .active > a:focus, .navbar-inverse .navbar-nav > .active > a:hover {
    color: #fff;
    background-color: #0b5b97;
    border-top: 1px solid;
}

.navbar-fixed-bottom, .navbar-fixed-top {
    z-index: 2030;
}


@media (max-width: 768px) {

    body {
        padding-top: 0px;
    }

    .navbar-fixed-top {
        display: none;
    }

    .navbar-inverse .navbar-brand:focus, .navbar-inverse .navbar-brand:hover {
        color: #9d9d9d;
        background-color: #0b5b97;
    }

    .navbar-nav .open .dropdown-menu {
        position: static;
        float: none;
        width: auto;
        margin-top: 0;
        background-color: transparent;
        border: 0;
        -webkit-box-shadow: none;
        box-shadow: none;
    }

    .navbar-nav > li > a span:not(.badge),
    .navbar-nav > li > a .icon-submenu {
        display: inline-block;
        top: 0;
    }

    .navbar-nav .open .dropdown-menu > li > a {
        padding-left: 25px;
    }


    .caret {
        display: inline-block;
        width: 0;
        height: 0;
        margin-left: 0px;
        vertical-align: middle;
        border-top: 4px dashed;
        border-top: 4px solid \9;
        border-right: 4px solid transparent;
        border-left: 4px solid transparent;
    }


    .navbar-inverse .navbar-nav > .open > a, .navbar-inverse .navbar-nav > .open > a:focus, .navbar-inverse .navbar-nav > .open > a:hover {
        color: #fff;
        background-color: #0b5b97;
        border-top: 1px solid;
    }


    .navbar-inverse .navbar-nav .open .dropdown-menu > li:focus, .navbar-inverse .navbar-nav .open .dropdown-menu > li:hover {
        color: #fff;
        background-color: #5f5f5f;
        border-top: 1px solid;
    }
}



.sidebar > li > a {
    padding-top: 15px;
    padding-left: 15px;
    padding-right: 15px;
    margin-right: 2px;
}

.slimScrollBar{
    background:  #aaa !important;
}

.dropdown-menu .divider {
    height: 1px;
    margin: 2px 0;
    overflow: hidden;
    background-color: #e5e5e5
}

#outter_wrapper {
    width: 970px;
    margin: auto;
    min-height: 700px;
    background: none repeat scroll 0% 0%;
    text-shadow: none;
    border: 1px solid #020202;
    margin-top: 0px;
    margin-bottom: 2px;
}

.separate_nav_logo {
    display: inline-block;
}

.navbar-brand-part-2 {
    display: inline-block;
}

@media (max-width: 1280px) {
    .separate_nav_logo {
        display: none;
    }
}

@media (max-width: 1250px) {
    .navbar-brand-part-2 {
        display: none;
    }
}

@media (max-width: 1350px) {
    .nav-right-tools_help {
        display: none;
    }
}

@media (max-width: 1218px) {
    .nav-right-username {
        display: none;
    }
}

@media (max-width: 1177px) {
    .nav-right-username {
        display: none;
    }
}

@media (max-width: 1127px) {
    .nav-right-sign-in {
        display: none;
    }
}

.margin-controller {
    /*width: 1070px;*/
    width: 970px;
    padding-left: 0px;
    padding-right: 0px;
}

@media (max-width: 767px) {
    .margin-controller {
        width: auto;
    }
}

/* Set height of the grid so .sidenav can be 100% (adjust as needed) */
.row.content {
    height: 550px
}

/* On small screens, set height to 'auto' for the grid */
@media screen and (max-width: 767px) {
    .row.content {
        height: auto;
    }
}

.nav > li > a{
    padding-left: 5px;
    padding-right: 0px;
    padding-top: 15px;
    margin-right: 2px;
}

@media (min-width: 767px) {

    .navbar-nav > li {
        padding-left: 0px;
        padding-right: 5px;
    }
}

@media (min-width: 800px) {

    .navbar-nav > li {
        padding-left: 5px;
        padding-right: 5px;
    }
}

@media (min-width: 850px) {

    .navbar-nav > li {
        padding-left: 5px;
        padding-right: 10px;
    }
}

@media (min-width: 900px) {

    .navbar-nav > li {
        padding-left: 5px;
        padding-right: 15px;
    }
}

@media (min-width: 950px) {

    .navbar-nav > li {
        padding-left: 5px;
        padding-right: 20px;
    }
}

@media (min-width: 1050px) {

    .navbar-nav > li {
        padding-left: 5px;
        padding-right: 25px;
    }
}

@media (min-width: 1150px) {

    .navbar-nav > li {
        padding-left: 5px;
        padding-right: 30px;
    }
}

@media (min-width: 1250px) {

    .navbar-nav > li {
        padding-left: 5px;
        padding-right: 35px;
    }
}

@media (min-width: 1300px) {

    .navbar-nav > li {
        padding-left: 5px;
        padding-right: 40px;
    }
}

@media (min-width: 1350px) {

    .navbar-nav > li {
        padding-left: 5px;
        padding-right: 45px;
    }
}

@media (min-width: 1400px) {

    .navbar-nav > li {
        padding-left: 5px;
        padding-right: 50px;
    }
}

@media (min-width: 1500px) {

    .navbar-nav > li {
        padding-left: 5px;
        padding-right: 60px;
    }
}

@media (min-width: 1600px) {

    .navbar-nav > li {
        padding-left: 5px;
        padding-right: 70px;
    }
}

@media (min-width: 1750px) {

    .navbar-nav > li {
        padding-left: 5px;
        padding-right: 80px;
    }
}

@media (min-width: 1750px) {

    .navbar-nav > li {
        padding-left: 5px;
        padding-right: 80px;
    }
}

@media (max-width: 1200px) {
    .btn-logout-top-right {
        display: none;
    }
}


.topsearch_form-control {
    width: 250px;
    height: 30px;
    background-image: url("../5images/search_icon.png");
    background-repeat: no-repeat;
    background-position: right center;
}

#top_search_results {
    display: none;
    position: absolute;
    z-index: 1001;
    width: 265px;
    min-height: 60px;
    background-color: #EEE;
    color: #003;
    padding: 0px;
    border: #666 2px solid;
    max-height: 570px;
    overflow: scroll;
    overflow-x: hidden;
}

.the_search_results a {
    color: #036;
    font-weight: normal;
    text-decoration: none;
}

.the_search_results a:hover {
    text-decoration: none;
}

.close_search {
    display: none;
    padding-top: 7px;
    padding-bottom: 5px;
    padding-left: 5px;
    padding-right: 5px;
    position: absolute;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
}

.home_search_wrapper_div{
    position: relative;
    display: inline-block;
    width: 100%;
}

.results_div {
    /*border-top:#666 solid 1px;
    margin-top: 4px;
    padding-top: 4px;  */
    
}

.results_div_search_form {
    margin: 0px;
    border: 0.1px solid #DDD;
}

.button-on-search {
    height: 25px;
    padding: 2px;
    margin: 2px;
}

.search_result_name_button {
    width: 350px;
    height: 30px;
    text-align: left;
}

.search_results_link_div {
    width: 99.5%;
    min-height: 30px;
    border-top: #666 solid 1px;
    vertical-align: middle;
    font-size: 16px;
    line-height: 20px;
    padding-left: 7px;
    font-weight: bold;
    padding-top: 4px;
    /*//background: #FFB900;*/
    background: #DDD;
    color: #006;
    /*//color: #333;*/
    font-family: Tahoma, Helvetica, sans-serif;
    margin-bottom: 10px;
}

.search_results_link_div:hover {
    background: #666;
    color: #FFF;
}

.home_search {
    background-image: url("../5images/search_icon.png");
    background-repeat: no-repeat;
    background-position: right center;
    width: 100%;
    border: 1px solid #BBB;

}

#home_search_results {
    display: none;
    position: absolute;
    z-index: 1001;
    width: 99%;
    min-height: 60px;
    background-color: #EEE;
    color: #003;
    padding: 1px;
    border: #666 2.5px solid;
    max-height: 500px;
    overflow: scroll;
    overflow-x: hidden;
}

.home_search_results {
    display: none;
    position: absolute;
    z-index: 1001;
    width: 99%;
    min-height: 60px;
    background-color: #EEE;
    color: #003;
    padding: 1px;
    border: #666 2.5px solid;
    max-height: 500px;
    overflow: scroll;
    overflow-x: hidden;
}

a.home_search_link:hover {
    text-decoration: none;
    color: blue;
    font-weight: bolder;
}

/* Set gray background color and 100% height */
.side_navigation_menu {
    background-color: #fff;
    height: 93%;
    /* width: 275px;  */
    width: 275px;
    border-left: 1px solid #bbb;
    margin-right: -1px;
    position: fixed;
    overflow: hidden;
}

#main_logo {
    width: 100%;
    height: 90px;
    margin-bottom: 0px;
}

.sidenav_menu {
    padding-left: 0;
    margin-bottom: 0;
    list-style: none
}

.sidenav_menu > li {
    position: relative;
    display: block
}

.sidenav_menu > li > a {
    position: relative;
    display: block;
    padding: 5px 10px;
    color: #000;
    font-family: Tahoma, Helvetica, sans-serif;
}

.sidenav_menu > li > a:focus, .sidenav_menu > li > a:hover {
    text-decoration: none;
    background-color: #666;
    color: #fff
}

#main_div {
    border: 1px solid #bbb;
    margin-left: 240px;
    border-bottom: none;
    margin-bottom: -20px;
    margin-top: 50px;
    background: #fff;

}


@media (max-width: 767px) {
    #main_div {
        margin-left: auto;
    }

    /* THIS SHOULD APPLY FOR THIS SYSTEM ONLY*/
    /*.col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3XXX, .col-sm-4, .col-sm-5, .col-sm-6XX, .col-sm-7, .col-sm-8, .col-sm-9 {
        float: left;
    } */
    /*This Is for hiding Homepage Header */
    .homepage_header_title {
        display: none;
    }

    .dataTables_length {
        display: none;
    }

    .dataTables_filter {
        display: none;
    }


}


@media (min-width: 767px) {

    #main_div {
        /*//width: 71.89%;*/
    }


    .table-responsive {
        overflow: hidden;
    }


}


/* Set black background color, white text and some padding */
#footer {
    /*background-color: #555;*/
    background-color: #5f5f5f;
    color: white;
    height: 100%;
    width: 100%;
}


#footer a {
    color: #FFFFFF;
}

td {
    vertical-align: middle;
}

.table > tbody > tr > td {
    padding-top: 2.5px;
    padding-bottom: 2.5px;
}


.receipt-table {
    border-spacing: 0;
    border-collapse: collapse;
    border-collapse: collapse !important;
    border: 1px solid #ddd !important;
    width: 440px;
    border: 1px solid #000000;
    margin-bottom: 10px;
    padding: 18px;
    line-height: 1.42857143;
    vertical-align: top;
}

.receipt-table td, .receipt-table th {
    background-color: #fff !important
}

.receipt-table > thead > tr > th {
    vertical-align: bottom;
    border-bottom: 2px solid #ddd
}

thead {
    border-bottom: 2px solid #aaa;
}

.heading_top {
    text-align: center;
    font-size: 18px;
}


@media (max-width: 767px) {
    .heading_top {
        margin-top: 20px;
    }


}


.height-min {
    min-height: 750px;
    background-color: #fff;
}

.button-top-corner {
    position: absolute;
    top: 15px;
    height: 22px;
    padding-top: 1px;
    padding-bottom: 1px;
    right: 5px;
}

.button-header-middle {
    height: 22px;
    padding-top: 1px;
    padding-bottom: 1px;
    right: 5px;
    border-radius: 0px;
}


.management_menu {
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

.management_menu_header {
    background: #FFB900;
    color: #fff;
    font-weight: bold;
}

.management_menu > li {
    position: relative;
    display: block
}

.management_menu > li > a {
    position: relative;
    display: block;
    padding: 5px 10px;
    color: #006;
    font-family: Tahoma, Helvetica, sans-serif;
}

.management_menu > li > a:focus, .management_menu > li > a:hover {
    text-decoration: none;
    background-color: #666;
    color: #fff
}

.management_menu_header a:hover {
    background-color: #FFB900;
    color: #fff;
}

.button-edit-item {
    position: absolute;
    top: 5px;
    height: 25px;
    padding: 3px;
    padding-left: 6px;
    padding-right: 6px;
    right: 5px;
}

@media (max-width: 550px) {
    .button-edit-item {
        display: none;
    }
}

.dataTables_filter input[type="search"] {
    display: block;
    height: 30px;
    padding: 6px 1px;
    font-size: 16px;
    line-height: 1.42857;
    color: #555;
    background-color: #FFF;
    background-image: none;
    border: 1px solid #CCC;
    border-radius: 4px;
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.075) inset;
    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
    margin-right: 2px;
    margin-top: 5px;
    font-weight: normal;

    /* position: -webkit-sticky;
     position: sticky;
     top: 100px;*/

    /*position: fixed;
    left: 700px;*/

}


.dataTables_length select {
    margin-left: 5px;
    margin-top: 5px;
    height: 30px;
    font-size: 16px;
    line-height: 1.42857;
    color: #555;
    background-color: #FFF;
    background-image: none;
    border: 1px solid #CCC;
    border-radius: 4px;
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.075) inset;
    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
    font-weight: normal;
}


.forum_login_dialog {
    display: none;
    z-index: 2040;
    position: fixed;
    width: 380px;
    min-height: 200px;
    top: inherit;
    left: 50%;
    margin-left: -190px;
    margin-top: 0px;
    background-color: #FFF;
    border: 2px solid #336699;
    padding: 0px;
    font-family: Verdana;
    font-size: 10pt;
}

.forum_login_dialog_overlay {
    z-index: 999;
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    background: none repeat scroll 0% 0% #000;
    opacity: .7;
    filter: alpha(opacity=15);
    -moz-opacity: .15;
}

.login_dialog {
    display: none;
    z-index: 2035;
    position: fixed;
    width: 380px;
    min-height: 200px;
    top: inherit;
    left: 50%;
    margin-left: -190px;
    margin-top: 0px;
    background-color: #FFF;
    border: 2px solid #336699;
    padding: 0px;
    font-family: Verdana;
    font-size: 10pt;
}

.login_dialog_table {
    width: 100%;
    border: 0px;
}

.login_dialog_title {
    border-bottom: solid 2px #336699;
    background-color: #336699;
    padding: 4px;
    color: White;
    font-weight: bold;
}

.align_right a {
    text-align: right;
    color: White;
    text-decoration: none;
}

#login_dialog_email {
    padding-left: 10px;
    border: 1px solid #00F;
    height: 30px;
    width: 300px;
    box-shadow: inset 0 1px 0 #eee, #fff 0 1px 0;
    padding: 4px;
    margin: 0;
    outline: 0;
    background-color: #fff;
    border-radius: 5px;
    position: absolute;
    left: 15px;
}

#login_dialog_password {
    padding-left: 10px;
    border: 1px solid #00F;
    height: 30px;
    width: 300px;
    box-shadow: inset 0 1px 0 #eee, #fff 0 1px 0;
    padding: 4px;
    margin: 0;
    outline: 0;
    background-color: #fff;
    border-radius: 5px;
    position: absolute;
    left: 15px;
}

#login_dialog_submit {
    background-color: #55acee;
    color: #FFF;
    width: 100px;
}


.switch-input {
    display: none;
}

.switch-label {
    position: relative;
    display: inline-block;
    /*min-width: 112px;*/
    cursor: pointer;
    font-weight: 500;
    text-align: left;
    margin: 0px;
    padding: 0px 0 0px 44px;
}

.switch-label:before, .switch-label:after {
    content: "";
    position: absolute;
    margin: 0;
    outline: 0;
    top: 50%;
    -ms-transform: translate(0, -50%);
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.switch-label:before {
    left: 1px;
    width: 34px;
    height: 14px;
    background-color: #9E9E9E;
    border-radius: 8px;
}

.switch-label:after {
    left: 0;
    width: 20px;
    height: 20px;
    background-color: #FAFAFA;
    border-radius: 50%;
    box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.14), 0 2px 2px 0 rgba(0, 0, 0, 0.098), 0 1px 5px 0 rgba(0, 0, 0, 0.084);
}

.switch-label .toggle--on {
    display: none;
}

.switch-label .toggle--off {
    display: inline-block;
}

.switch-input:checked + .switch-label:before {
    background-color: #A5D6A7;
}

.switch-input:checked + .switch-label:after {
    background-color: #4CAF50;
    -ms-transform: translate(80%, -50%);
    -webkit-transform: translate(80%, -50%);
    transform: translate(80%, -50%);
}

.switch-input:checked + .switch-label .toggle--on {
    display: inline-block;
}

.switch-input:checked + .switch-label .toggle--off {
    display: none;
}

input[readonly] {
    border-color: darkgrey;
    border-style: solid;
    border-width: 1px;
    background-color: rgb(240, 240, 240);

}

.chosen-disabled {
    color: #000;
    border-width: 1px;
    background-color: #fff;

}

.chosen-container {
    width: 100% !important;
}

.top_button_container {
    position: absolute;
    top: 3px;
    height: 22px;
    padding-top: 1px;
    padding-bottom: 1px;
    right: 20px;
    margin-right: 70px;
    color: #fff;
    padding: 0px;

}

.top_button_fixed {
    position: fixed;
    z-index: 1100;
    height: 22px;
    padding-top: 1px;
    padding-bottom: 1px;
    margin-top: 10px;

}

.save_top_button_container {
    position: absolute;
    top: 3px;
    height: 22px;
    padding-top: 1px;
    padding-bottom: 1px;
    right: 5px;
    margin-right: 70px;
    color: #fff;
    padding: 0px;

}

.save_top_button_fixed {
    position: fixed;
    z-index: 1100;
    height: 22px;
    padding-top: 1px;
    padding-bottom: 1px;
    margin-top: 10px;

}

.submit_top_button_fixed {
    position: fixed;
    z-index: 1100;
    height: 22px;
    padding-top: 1px;
    padding-bottom: 1px;
    margin-top: 10px;
}

@media (max-width: 767px) {

    .modal-backdrop {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        /*z-index:1;*/
        background-color: #000;
        /*display: none; */
    }

    .condensed_column {
        width: auto;
    }


}


@media (min-width: 768px) {

    .condensed_column {
        width: 400px;
    }


}


.cart_item_list_link_span {
    min-width: 30px;
    border: 0px solid;
    display: block;
}

.smaller_view_button {
    height: 20px;
    padding-top: 1px;
}


.modal {
    z-index: 2050;
}


.multipay-payment_amount {
    margin-top: 10px;
    margin-bottom: 10px;
}

.multipay-payment_cheque {
    margin-top: 10px;
    margin-bottom: 0px;
}

@media print {
    table, table tr, table td {
        border-top: #000 solid 1px;
        border-bottom: #000 solid 1px;
        border-left: #000 solid 1px;
        border-right: #000 solid 1px;
    }
}


.item_search_avail_width {
    min-width: 120px;
    display: inline-block;
    margin-right: 2px;
}

.item_search_price_width {
    min-width: 75px;
    display: inline-block;
    margin-right: 2px;
}

.item_search_vat_width {
    min-width: 70px;
    display: inline-block;
    margin-right: 2px;
}




@media (max-width: 1030px) {
    /* .sidebar {
     display: none; }*/
}

#main_div .well {
    padding-top: 20px;
}


#main_div {
    margin-left: 220px;
    /*z-index: 100; */
    border-left: 0px;
}


.height-min {
/ / padding-left: 5 px;
}


@media (min-width: 1215px) {

    #main_div {
        width: 71.89%;
    }
}


@media (min-width: 1100px) {

    #main_div {
        width: 73%;
    }
}

@media (min-width: 970px) {

    #main_div {
        width: 78%;
    }


}

@media (max-width: 969px) {

    #main_div {
        width: 72%;
    }
}


@media (max-width: 940px) {

    #main_div {
        width: 72%;
    }
}


@media (max-width: 768px) {

    #wrapper {
        /*//top: 0px;*/
        padding-top: 0px;
    }

    #main_div {
        margin-left: 5px;
        width: 98%;
        margin-top: 0;
    }

    .top_most_div {
        display: none;
    }

}


.item_search_avail_width {
    min-width: 120px;
    display: inline-block;
    margin-right: 2px;
}

.item_search_price_width {
    min-width: 75px;
    display: inline-block;
    margin-right: 2px;
}

.item_search_vat_width {
    min-width: 70px;
    display: inline-block;
    margin-right: 2px;
}

.extended-div {
    background: #fff;
    min-width: 720px !important;
}

.sidebar .nav > li > a:hover {
    /*background-color: #252c35;*/
    background-color: #0b5b97;
    border-left-color: #00AAFF;
}

.sidebar .nav > li > a:focus, .sidebar .nav > li > a.active {
    background-color: #0b5b97;
    border-left-color: #00AAFF;
}

.sidebar .nav > li > a:hover i, .sidebar .nav > li > a:focus i, .sidebar .nav > li > a.active i {
/ / color: #00AAFF;
    color: #FFF;
}

.my-input-search {
    font-weight: normal;
}

th.dpass, td.dpass {
    display: none;
}

.cart_quantity{
    width: 60px;
}

.cart_price{
    width: 70px;
}

.cart_total{
    width: 70px;
}


.item_batch_balancing tbody tr td {
    border-top: none !important;
}

.selected-batch-row {
    background-color: #d9edf7 !important;
    font-weight: 600;
}

.selected-batch-row td {
    border-top: 2px solid #337ab7 !important;
    border-bottom: 2px solid #337ab7 !important;
}