.bootiq-item-search-label {
    width: 300px;
}

.bootiq-item-label {
    width: 150px;
}

.bootiq-item-input-label {
    width: 150px;
}


.bootiq-item-wide-input {
    min-width: 400px;
}


.bootiq-item-quantity-input-label {
    width: 75px;
}


.bootiq-item-list-title {
  display: block;
  margin: 2px 4px 2px 4px;
  padding: 2px 4px 2px 4px;
  background-color: #cccccc;
}




/* Vignettes */
.bootiq-item-vignette-list {
    display: flex;
    flex-direction: row;
    gap: 20px;
    flex-wrap: wrap;
}


.bootiq-item-vignette {
    position: relative;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-style: solid;
    border-width: 1px;
    border-radius: 4px;
}

.bootiq-item-vignette-drag {
    opacity: .2;
}

.bootiq-item-vignette-drag-start {
    cursor: grabbing;
}

.bootiq-item-vignette-drag-target * {
    pointer-events: none;
}

.bootiq-item-vignette-drag-target {
    box-shadow: 0 2px 2px -3px rgba(80,160,80,.6), 0 4px 5px 1px rgba(80,160,80,.52), 0 2px 7px 2px rgba(80,160,80,.72);
}

.bootiq-item-vignette-drag-enter {
    box-shadow: 0 2px 2px -3px rgba(0,0,0,.6), 0 4px 5px 1px rgba(0,0,0,.52), 0 2px 7px 2px rgba(0,0,0,.72);
}




.bootiq-item-vignette-remove {
    color: red;
    position: absolute;
    top: 10px;
    right: 10px;
}

.bootiq-item-vignette-field-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bootiq-item-vignette-field-block-horizontal {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}





#unitList {
    width: min-content;
}


/* Relations */
.bootiq-item-relation-list-type-block {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.bootiq-item-relation-list-type {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bootiq-item-relation-header {
    padding: 10px;
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
    background-color: #cccccc;
}

.bootiq-item-relation-title {
    font-size: 1.2em;
    font-weight: bold;
}

.bootiq-item-relation-add-relation {
    cursor: pointer;
}

/* Units */
.bootiq-item-unit-label {
    width: 120px;
}

.bootiq-item-unit-delivery-shipping-list {
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bootiq-item-unit-delivery-shipping-block {
    display: flex;
    flex-direction: row;
    gap: 5px;
}


/* Suppliers */
.bootiq-item-supplier-label {
    width: 120px;
}

.bootiq-item-supplier-price-compare-positive {
    color: green;
}

.bootiq-item-supplier-price-compare-negative {
    color: red;
}


/* Documents */
#documentContainer {
    display: flex;
    flex-direction: row;
    gap: 20px;
    flex-wrap: wrap;
}

.bootiq-item-document-item {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 30px 20px;
    background-color: #666666;
    color: white;
}


.bootiq-item-document-selection-reduced-label {
    display: block;
    padding: 4px 10px 4px 0;
    text-align: left;
    color: white;
    cursor: pointer;
}


.bootiq-item-document-line {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
}

.bootiq-item-document-label {
    width: 100px;
    color: white;
}


.bootiq-item-document-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    padding: 4px;
    color: white;
    cursor: pointer;
    z-index: 9;
}



/* Categories */
.bootiq-item-category-list {
    max-height: 2000px;
    overflow-y: auto;
}

.bootiq-item-category-block {
  display: block;
  padding: 2px 0 2px 24px;
}

.bootiq-item-category-block-0 {
  padding: 0;
}

.bootiq-item-category-block-1 {
  padding: 4px 0;

}

.bootiq-item-category-item {

}

.bootiq-item-category-item-selectable {
    cursor: pointer;
}


.bootiq-item-category-check {
  display: inline-block;
}


.bootiq-item-category-label {
  display: inline-block;
  margin-left: 8px;
}



/* Selected categories */
#bootiq-item-selected-category-list {
  padding: 2px;
}

.bootiq-item-selected-category-item {
    padding: 2px;

}


.bootiq-item-selected-category-check {
  display: inline-block;
}


.bootiq-item-selected-category-label {
  display: inline-block;
  margin-left: 8px;
}



/* 
 * Quantities
 */

.bootiq-item-input-order-quantity-block {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.bootiq-item-quantity-input-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}


/*
 * Inventory
 */

.bootiq-item-inventory-block {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bootiq-item-inventory-location-block {
    padding: 20px 0;
    border-style: solid none;
    border-width: 1px;
}

.bootiq-item-inventory-location-label {
    width: 120px;
}

.bootiq-item-inventory-location-quantity-block {
    gap: 15px;
}

.bootiq-item-inventory-location-quantity-label {
    width: 120px;
}


/*
 * Detail
 */
#bootiq-item-detail-empty {
    display: block;
    margin: 5px 20px 5px 20px;
    font-size: 8pt;
    font-weight: bold;
}


.bootiq-item-custom-field-input-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}


.bootiq-item-line-block {

}

.bootiq-item-line-block-cf {
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: solid;
    border-width: 1px;
    border-color: #F6A54F;
}


.bootiq-item-line-block-cf:last-child {
    border-bottom: none;
}


.bootiq-item-line {
  display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.bootiq-item-line-level-1 {
}

.bootiq-item-item-line-level-2 {
}

.bootiq-item-line-level-3 {
}

.bootiq-item-line-cf {
    display: inline-block;
    padding: 10px 0 5px 0;
}

.bootiq-item-editable-label,
.bootiq-item-editable-label-level-1,
.bootiq-item-editable-label-level-2,
.bootiq-item-editable-label-level-3,
.bootiq-item-general-editable-label {
    text-align: left;
}

.bootiq-item-general-editable-label {
    width: 150px;
    font-size: 12pt;
}

.bootiq-item-editable-label {
    width: 150px;
    font-size: 10pt;
}

.bootiq-item-editable-label-level-1,
.bootiq-item-editable-label-level-2,
.bootiq-item-editable-label-level-3 {
    width: 80px;
    font-size: 9pt;
}

.bootiq-item-field-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-grow: 1;
    max-width: 600px;
}


.bootiq-item-field-input {
    flex-grow: 1;
}


.bootiq-bootiq-item-remove-element {
    display: inline-block;
    padding: 20px;    
    font-size: 8pt;
    color: #F6A54F;
    cursor: pointer;
}

.bootiq-item-add-element {
    color: #F6A54F;
    padding: 20px;
    cursor: pointer;
}






.bootiq-item-contributor-role-block {
    padding: 2px 0;
    display: flex;
    flex-direction: row;
    gap: 10px;
    border-style: solid none;
    border-width: 1px;
    border-color: #aaaaaa;
}

.bootiq-item-contributor-role-header {
    flex-grow: 1;
    flex-basis: 100px;
    display: flex;
    flex-direction: row;
    background-color: #cccccc;
    gap: 20px;
    padding: 10px;
}


.bootiq-item-contributor-role-name {
    flex-grow: 1;
    font-weight: bold;
}

.bootiq-item-contributor-add-contributor {
    width: 20px;
    padding: 10px 0;
    text-align: center;
    cursor: pointer;
}


.bootiq-item-contributor-role-list {
    flex-grow: 1;
    flex-basis: 400px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}







.bootiq-item-description-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.bootiq-item-description-language-section {
    display: flex;
    flex-direction: row;
    align-self: flex-start;
}

.bootiq-item-description-language {
    padding: 20px;
    cursor: pointer;
    background-color: #fefefe;
    color: #444444;
    flex-grow: 1;
}

.bootiq-item-description-language-selected {
    background-color: #666666;
    color: #fefefe;
}


.bootiq-item-description-block {
    position: relative;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bootiq-item-description-block-level-0 {
    background-color: #666666;
}

.bootiq-item-description-block-level-1 {
    background-color: #777777;
}

.bootiq-item-description-block-level-2 {
    background-color: #888888;
}

.bootiq-item-description-block-level-3 {
    background-color: #999999;
}

.bootiq-item-description-block-level-4 {
    background-color: #aaaaaa;
}

.bootiq-item-description-block-level-5 {
    background-color: #bbbbbb;
}

.bootiq-item-description-list {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
}


.bootiq-item-description {
    position: relative;
    padding: 20px;
    display: flex;
    flex-direction: row;
}


.bootiq-item-description-text-block {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.bootiq-item-description-text {
    padding: 10px;
    height: 50px;
    width: 500px;
}

.bootiq-item-description-tag {
    padding: 5px;
    align-self: flex-end;
}

.bootiq-item-description-block-add {
    position: absolute;
    bottom: 2px;
    right: 2px;
}


.bootiq-item-description-control-block {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
