/**
 * Pristine Warehouse styles
 */
.container-fluid.warehouse-container {
 margin-top: 125px;
 margin-left: 20px;
 margin-right: 20px;
}

div.warehouse-dashboard-section {
    background: #f5f5f5;
    padding: 25px;
    margin: 20px 0px;
}
div.warehouse-dashboard-section:first-of-type {
    margin-top: 0px;
}
div.warehouse-dashboard-section .title {
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: block;
    text-align: left;
    font-weight: bold;
}

.row.controls-row {
    margin-left: -3px;
    margin-right: -3px;
}
.row.controls-row .controls-col {
    padding-left: 3px;
    padding-right: 3px;
}
.controls-btn-text {
    letter-spacing: 0.08px;
    margin-left: 10px;
}

.warehouse-container div.form-group:last-of-type {
    margin-bottom: 0px;
}

div.warehouse-dashboard-section .message {
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: block;
    text-align: left;
    margin-bottom: 10px;
}

div.panel-status {
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-align: left;
    /*max-height: 250px;
    overflow-y: scroll;*/
}
div.panel.panel-status {
    margin-bottom: 0px;
}
div.panel-status span.attribute {
    display: block;
    margin-bottom: 6px;
    clear: both;
}
div.panel-status span.attribute.note {
    margin: 12px 0 12px 0;
    padding: 8px 10px;
    border-radius: 4px;
    border: 1px solid #DDD;
}
div.panel-status span.attribute.note::before {
    /*content: "NOTE ";
    font-weight: 700;*/
}
div.panel-status span.attribute.has-by-line {
    margin-bottom: 0px;
}
div.panel-status span.attribute:last-of-type {
    margin-bottom: 0px;
}
div.panel-status span.attribute>span.name {
    margin-bottom: 6px;
}
div.panel-status span.attribute.has-by-line>span.name {
    margin-bottom: 0px;
}
div.panel-status span.attribute>span.value {
    float: right;
    text-align: right;
    font-weight: 700;
    margin-bottom: 6px;
}
div.panel-status span.attribute.has-by-line>span.value {
    margin-bottom: 0px;
}

.label.tag-label.bin-tag-label {
    font-size: 110%;
    width: 100%;
    padding: .4em .6em .4em;
}
.label.tag-label.bin-tag-label.bin-tag-selected {
    background-color: #555;
    cursor: pointer;
}
.label.tag-label.bin-tag-label.bin-tag-unselected {
    background-color: #888;
    cursor: pointer;
}
.label.tag-label.bin-tag-label .tag-description {
    display: inline-block;
    width: 65%;
    overflow-x: scroll;
    padding: 2px;
}

.label.tag-label.search-bin-tag-label {
    font-size: 12px;
    padding: 4px 6px;
}
.label.tag-label.search-bin-tag-label .tag-description {
    margin-right: 4px;
}

.open-tag-history-modal {
    cursor: pointer;
}

/* Home and Dashboard */
.warehouse-feed {
    overflow-y: scroll;
    max-height: 400px;
}
.warehouse-feed .panel-heading {
    text-transform: uppercase;
    letter-spacing: 0.8px;
    background: none;
}

.warehouse-feed.warehouse-header-feed {
    max-height: none;
    overflow-y: auto;
}
.warehouse-feed.warehouse-header-feed .panel-body {
    max-height: 200px;
    overflow-y: scroll;
    padding-top: 0px;
}

.warehouse-feed .warehouse-feed-item {
    padding-top: 0px;
    padding: 6px;
}
.warehouse-feed .warehouse-feed-item:nth-of-type(2n) {
    background-color: #F8F8F8;
}
.warehouse-feed .warehouse-feed-item .time-ago {
    float: right;
}

.warehouse-search-results {
    max-height: 374px;
    overflow-y: scroll;
}
.warehouse-search-refine {
    margin-top: 4px;
    margin-bottom: 12px;
    text-align: left;
}
.expand-search {
    cursor: pointer;
}
.panel.panel-warehouse-row {
    margin-bottom: 4px;
}
.panel.panel-warehouse-row .panel-body {
    padding: 12px;
}
.panel.panel-warehouse-row:last-of-type {
    margin-bottom: 5px;
}

span.bin-history-action {
    display: block;
    margin-bottom: 2px;
}
span.item-history-action, span.collection-history-action {
    display: block;
    margin-bottom: 2px;
}

div.sort-component,
div.refine-component {
    display: inline-block;
}
div.refine-options,
div.sort-options {
    display: block;
    position: absolute;
    z-index: 100;
}

div.sort-component .sort-option-list,
div.refine-component .refine-option-list {
    list-style-type: none;
    background: #fff;
    padding: 10px 15px;
    border-radius: 4px;
    margin-top: 2px;
    border: 1px solid #ddd;
    max-height: 200px;
    overflow-y: scroll;
}

div.sort-component .sort-option-list li button,
div.refine-component .refine-option-list li button {
    width: 100%;
    text-align: left;
}

div.warehouse-search-refine {
    margin-top: 8px;
}
div.warehouse-search-refine input.date-range-picker.input-sm {
    width: 170px;
    text-align: center;
}

div#bin-tag-search-display {
    display: inline-block;
}

span.toggle-sign {
    float: right;
    font-size: 150%;
    line-height: 1;
    margin-top: -3px;
}

div.search-string {
    font-style: italic;
    margin-bottom: 15px;
}

div#item-move-activity {
    margin-top: 14px;
    border: 1px solid #F0F0F0;
    max-height: 500px;
    overflow-y: scroll
}
div.item-move-record:nth-of-type(2n) {
    background-color: #F8F8F8;
}
div.item-move-record {
    background: #FFF;
    padding: 8px 10px;
}

button.warehouse-search-resubmit {
    margin-top: 4px;
    border: 1px solid rgba(0, 0, 0, 0);
}
button.warehouse-search-resubmit:hover,
button.warehouse-search-resubmit:focus {
    border: 1px solid #333;
}

/* /admin/warehouse/manage-locations */
div#wms-location-sort {}
div#wms-location-sort div.ui-sortable.location div.panel-body.success {
    background-color: #dff0d8;
}
div#wms-location-sort div.ui-sortable.location div.panel-body.danger {
    background-color: #f2dede;
}
div#wms-location-sort span.sort-handle {
    border: rgba(255, 255, 255, 0) 1px solid;
    border-radius: 2px;
    padding: 6px 8px 4px 8px;
}
div#wms-location-sort span.sort-handle:hover {
    border: #ccc 1px solid;
    cursor: grab;
    cursor: -webkit-grab;
}
div#wms-location-sort span.sort-handle:active {
    cursor: grabbing;
    cursor: -webkit-grabbing;
}

span.bulk-move-expand {
    cursor: pointer;
}

#collection-history span.history-date-picker {
    margin-right: 15px;
    cursor: pointer;
}

#collection-history div.history-date-picker-group {
    margin-bottom: 10px;
}

.bin-priority-dropdown .text-warning {
    color: #F0AD4E;
}

.bin-priority-dropdown .text-danger {
    color: #D9534F;
}

.label[data-bin-priority = "standard"],
.badge[data-bin-priority = "standard"] {
    background-color: #777;
}

.label[data-bin-priority = "high"],
.badge[data-bin-priority = "high"] {
    background-color: #F0AD4E;
}

.label[data-bin-priority = "urgent"],
.badge[data-bin-priority = "urgent"] {
    background-color: #D9534F;
}


@media (max-width:767px) {
    .container-fluid.warehouse-container {
        margin-top: 110px;
        margin-left: 4px;
        margin-right: 4px;
    }
    div.warehouse-dashboard-section {
        padding: 12px;
        margin: 10px 0px;
    }
    div.warehouse-dashboard-section .message {
        margin-bottom: 6px;
    }
}

#post-location-form .location-group-panel.panel {
    margin: 10px !important;
}
