header {
    border-bottom: 1px solid #ddd;
    margin-bottom: 1em;
    box-shadow: 0px 0px 35px 0px rgb(154 161 171 / 15%);
}
img {
    max-width: 100%;
    height: auto;
}
.c-col,
.c-col-header,
.col-prod {
    background: #ffffff;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 0.25em;
    box-shadow: 0px 0px 35px 0px rgb(154 161 171 / 15%);
    border: 1px solid #eff1f8;
}
.c-col-dark {
    background: #212529;
    color: #fff;   
}
.c-col-header {
    padding: 30px 0;
    text-align: center;
    text-transform: uppercase;
}
.c-col-header h3 {
    font-weight: bold;
}
.c-col-mar-none {
    margin-bottom: 0;
}
.c-col h4 {
    margin-bottom: 0;
    text-align: center;
    text-transform: uppercase;
}



.items-groups .item-group {
    border: 1px solid #ddd;
    border-radius: 0.25em;
    margin-bottom: 15px;
}
.items-groups .item-group .item-group-row {
    padding: 5px 15px;
    border-bottom: 1px dashed #ddd;
}
.items-groups .item-group .item-group-row:first-child {
    padding-top: 15px;
}
.items-groups .item-group .item-group-row:last-child {
    padding-bottom: 15px;
    border-bottom: 0;
}




/*
.items-groups .item-group .item-group-row:first-child {
    padding: 15px 15px 5px 15px;
}
.items-groups .item-group .item-group-row:only-child,
.items-groups .item-group .item-group-row:last-child {
    padding: 15px 15px 15px 15px;
}


.items-groups .item-group .item-group-body {
    border-top: 1px solid #ddd;
    padding: 5px 15px 15px 15px;
}
*/
.items-groups .item-group.c-col {
    padding: 0;
}




.items .items-head, {
    font-weight: bold; 
    text-transform: uppercase;
    border-bottom: 2px solid;
}

.items .items-body .item:nth-child(2n) {
    background: #EBECF3 !important;
}
.items .items-body .item.item-no-bg {
    background: unset !important;
}

.items .items-body .item{
    padding: 1em 0;
    border-bottom: 1px dashed #d3d4da;
}
.items .items-body .item:last-child {
    border: 0;
}
/*
.items .items-body .items-sub {
    border-top: 1px dashed #ddd;
}
*/
.items .items-body .items-sub .item-sub {
    border-bottom: 1px dotted #ddd;   
}
.items .items-body .items-sub .item-sub:last-child {
    border-bottom: 0px;
}




.input-group select:has(option[value=""]:checked) ~ [data-abs-clear] {
    display: none;
}

.input-group > select:has(option[value=""]:checked):nth-last-child(2),
.input-group select:has(option[value=""]:checked) ~ [data-abs-sides="abd"] {
    border-top-right-radius: var(--bs-border-radius-sm) !important;
    border-bottom-right-radius: var(--bs-border-radius-sm) !important;
}

.edge-icon {
    display: inline-block;
    width: 12px;
    height: 12px;
    vertical-align: middle;

    /* Neaktívne hrany */
    border: 2px solid #dee2e6;
}

/* A = horná */
[data-abs-sides*="a"] .edge-icon {
    border-top-color: #0d6efd;
}

/* B = pravá */
[data-abs-sides*="b"] .edge-icon {
    border-right-color: #0d6efd;
}

/* C = spodná */
[data-abs-sides*="c"] .edge-icon {
    border-bottom-color: #0d6efd;
}

/* D = ľavá */
[data-abs-sides*="d"] .edge-icon {
    border-left-color: #0d6efd;
}


/*
*** POREZ
*/
.orderItem.item {
    padding: 0.5em 0;
    margin: 0.25em 0;
    border: 1px solid #fff;
}
.orderItem.item:nth-child(2n) {
    background: #eee;
}
.orderItem.item:hover {
    border-color: #a3a3a3;
}
.orderItem.item .items-sub .item-sub {
    padding-bottom: 0.3em;
}
.orderItem.item .items-sub .item-sub:hover {
    background: #fff;
}


.bootstrap-select.dropdown  {
    width: 100% !important;
    max-width: 1200px;
}
.bootstrap-select .dropdown-menu {
    max-width: -webkit-fill-available;
}
.bootstrap-select .dropdown-toggle {
  height: calc(1.5em + 1rem + 2px);
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.8;
  border-radius: 0.3rem;
  border: 1px solid #ced4da;
  background-color: #fff;
  color: #212529;
  box-shadow: none;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.bootstrap-select .dropdown-toggle:focus {
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgb(13 110 253 / 0.25);
}

.dselect-wrapper.dselect-invalid .form-select {
    border-color: #dc3545;
    box-shadow: 0 0 0 .25rem rgba(220, 53, 69, .25);
}
.dselect-wrapper.dselect-invalid::after {
    content: 'Vyberte hodnotu.';
    display: block;
    color: #dc3545;
    font-size: .875em;
    margin-top: .25rem;
}

.barcode-box img { 
    display: block; 
    width: 100%; 
    height: 100%; 
    object-fit: contain; 
    object-position: right center; 
}