body {
    background: #f1f4f7;
    padding-top: 50px;
    color: #5f6468;
}

.thumbnail-th img {
	max-width:150px;
}
.thumbnail-th  {
	width:170px !important;
}
.small-link {
	font-size:11px !important;
	margin-left:10px;
}
.small-link .glyphicon {
	font-size:10px !important;
}

label {
    margin-top: 6px
}

.navbar-header .navbar-brand span {
    color: #30a5ff;
}

.label-link {
	margin-top:10px;
	float:right;
	text-transform:uppercase;
	font-size:11px;
	font-weight:bold;
}

.sidebar {
    display: block;
    position: fixed;
    top: 50px;
    bottom: 0;
    left: 0;
    z-index: 1000;
    display: block;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: hidden;
    background-color: #fff;
    box-shadow: 1px 0px 10px rgba(0, 0, 0, .05);
}

.sidebar form {
    padding: 20px 15px 5px 15px;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.sidebar ul.nav .active a, .sidebar ul.nav li.parent a.active, .sidebar ul.nav .active > a:hover, .sidebar ul.nav li.parent a.active:hover, .sidebar ul.nav .active > a:focus, .sidebar ul.nav li.parent a.active:focus {
    color: #fff;
    background-color: #0c2f4a;
}

.sidebar ul.nav ul.children {
    width: auto;
    padding: 0;
    margin: 0;
    background: #f9f9f9;
}

.sidebar ul.nav a:hover, .sidebar ul.nav li.parent ul li a:hover {
    text-decoration: none;
    background-color: #e9ecf2;
}

.sidebar ul.nav li.parent ul li a {
    border: none;
    display: block;
    padding-left: 30px;
    line-height: 40px;
}

.sidebar ul.nav ul.children li a {
    height: 40px;
    background: #f9f9f9;
}

.sidebar ul.nav ul.children li a.active {
    color: #fff
}

.sidebar span {
    margin: 0 10px 0 0;
}

.breadcrumb {
    border-radius: 0;
    padding: 15px;
    background: #e9ecf2;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
    margin: 0;
}

.header {
    margin: 20px 0 20px 20px;
}

.header h2 {
    margin: 0;
}

.header .btn {
    margin-top: 0px
}

.footer {
    text-align: center;
    font-size: 12px;
    margin-bottom: 20px
}

.dashboard .panel {
    margin-bottom: 0px;
    margin-top: 20px;
}

.dashboard .panel a {
    color: #717171
}

.dashboard .panel a:hover {
    text-decoration: none
}

.panel-blue .widget-left {
    background: #30a5ff;
    color: #fff;
    font-size: 3em;
}

.panel-bluer .widget-left {
    background: #2174b3;
    color: #fff;
    font-size: 3em;
}

.panel-bluerer .widget-left {
    background: #18588a;
    color: #fff;
    font-size: 3em;
}

.panel-bluererer .widget-left {
    background: #0c2f4a;
    color: #fff;
    font-size: 3em;
}

.widget-left {
    height: 80px;
    padding-top: 15px;
    text-align: center;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.widget-right {
    text-align: left;
    line-height: 1.6em;
    margin: 0px;
    padding: 22px;
    height: 80px;
    color: #999;
    font-weight: 300;
    background: #fff;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.no-padding {
    padding: 0;
    margin: 0;
}

.large {
    font-size: 2em;
}

.dimensionalrow {
    display: none;
}

@media only screen and (min-width: 767px) AND (max-width: 1350px) {
    .items, .quote {
        overflow-x: auto;
    }
    .itemrow {
        width: 1350px;
        /*margin: 0;*/
    }
    .quoterow {
        min-width: 800px;
    }
    .chosen-container.chosen-with-drop .chosen-drop {
        position: relative;
    }
}
/* Small Devices, Tablets */
@media only screen and (max-width : 767px) {
    .sidebar {
        display: none
    }
}

.panel-with-tabs {
    border-top: none;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px
}

.progress a {
    color: #3a3a3a
}

.progress .progress-bar-info {
    color:  #3a3a3a
}

.form-group .label {
    float: right;
    margin-top: 8px;
    cursor: pointer
}

textarea.form-control {
    height: 80px
}
textarea.salesdescription {
    /*height: 34px;*/
}
.form-group {
    margin-bottom: 5px;
}
.notestext {
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 5px;
}
.printonly {
    display: none;
}
h3 {
    margin-top: 10px;
}
.nav>li>a {
    padding: 5px 10px;
}
.navbar-right>li>a {
    padding: 15px 10px;
}
.smallbox {
    height: 100px;
    width: 100px;
    border: 1px solid gray;
    float: right;
    margin-right: 50px;
    font-size: 70px;
    text-align: center;
}
.printbox, .smallprintbox, .mediumprintbox {
    width: 100%;
    border: 1px solid black;
    padding: 5px;
}
.printbox {
    min-height: 125px;
}
.smallprintbox {
    min-height: 30px;
}
.mediumprintbox {
    min-height: 75px;
}
.printsmalltable th, .printsmalltable td,
.printrowstable th {
    text-align: center;
}
.tempcustomerdiv, .tempjobdiv, .newjobdiv {
    margin-top: 5px;
    display: none;
}
.whitelink {
    color: #FFF !important;
}
.nav-pills>li>a {
    padding: 7px 14px;
}
.pull-left .nav-pills {
    margin-left: 20px;
}
.pastdue {
    background-color: #FF4D4D;
    color: #FFF;
}
.itemrow hr {
    border-top: 1px solid #000;
}
.modal .modal-dialog .modal-content .modal-body .chosen-container-single {
    width: 100% !important;
}
.shipperheadingrow hr {
    margin: 5px 0;
    border-top: 1px solid #000;
}
.redtext {
    color: red;
}
@media print
{  
    .noprint, .noprint *
    {
        display: none !important;
    }
    .main {
        width: 100%;
        margin: 0;
    }
    .panel-body, .panel-default {
        border: 0;
        margin: 0;
        padding: 0;
    }
    .form-control {
        border: 0;
        padding: 0;
    }
    .chosen-container-single, .chosen-single {
        border: none !important;
        display: block;
        padding: 0 !important;
        margin: 0;
    }
    textarea.form-control {
        height: auto;
    }
    hr {
        display: none;
    }
    body {
        padding-top: 10px;
        font-size: 13px;
        zoom: 80%;
    }
    .printonly {
        display: block;
    }
    label {
        display: block;
    }
    .itemrow {
        page-break-inside: avoid;
    }
    input::-webkit-outer-spin-button,
    input::-webkit-inner-spin-button {
        /* display: none; <- Crashes Chrome on hover */
        -webkit-appearance: none;
        margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
    }
    .endtext {
        page-break-before: always;
        page-break-inside: avoid;
    }
}