img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

hr {
    margin-top: 10px;
    margin-bottom: 10px;
    border: 0;
    border-top: 1px solid #eee;
}

.btn-link,
.btn-link:visited,
.btn-link:active {
    color: #cccccc;
}

.btn-link:hover {
    color: #ffffff;
}

.btn-wide {
    padding: 10px 0;
    margin: 15px 0;
    font-size: 14px;
    text-transform: uppercase;
}

/* btn horizontal group half */
.btn-horizontal-group-half {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 15px 0;
}
.btn-horizontal-group-half .btn {
    width: 100%;
    margin: 0 5px;
}
/* end btn horizontal group half */

.vcenter {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.h-space-between {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin: 6px;
}

.fixed-block {
    position: fixed;
    margin-top: -15px;
    z-index: 999;
}

.fixed-block>a {
    margin-right: 20px;
}

.wrap > .container {
    padding: 70px 15px 20px;
}

.wrap .is-bottom-menu ~ .container {
    padding: 115px 15px 20px;
}

#home {
    color: #fff;
}

a#save-order {
    font-size: 18px;
    color: #17e045;
}
a#save-order:hover {
    color: #28a745;
}

a#add-in-order {
    font-size: 18px;
    color: #ffc107;
}
a#add-in-order:hover {
    color: #a07d0d;
}

a#list-order {
    font-size: 18px;
    color: #09d4f1;
}
a#list-order:hover {
    color: #17a2b8;
}

a#edit-order {
    font-size: 18px;
    color: #de86ea;
}
a#edit-order:hover {
    color: #e209f1;
}

.navbar-buyer {
    position: relative;
}

.navbar-buyer>.attention:after {
    content: '';
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #ff0101;
    top: 5px;
    left: -10px;
}

.order-info {
    padding: 5px 0;
    border-top: 1px solid #404040;
}
.navbar-buyer, .navbar-order-info, .exhibition-name {
    color: #9e9e9e;
    font-size: 12px;
}
.exhibition-name > .empty {
    color: #ea8686;
}
.product-item-wrapper.adding .thumbnail {
    border: 1px solid #4cae4c;
}
.save-order-table {
    font-size: 11px;
}
.save-order-table td:first-child {
    width: 40%;
}
.product-category-wrapper .panel-body {
    padding: 7px 10px;
}
.product-category-wrapper .panel-title a {
    color: #333333;
}
.footer {
    background-color: #000;
    color: #9e9e9e;
}
.left-menu .list-group-item.active, .list-group-item.active:hover, .list-group-item.active:focus {
    z-index: 2;
    color: #31708f;
    background-color: #d9edf7;
    border-color: #bce8f1;
}
.list-empty {
    font-size: 14px;
    text-align: center;
    color: #d9534f;
    font-weight: 600;
}
ul.pagination {
    display: flex;
    flex-direction: row;
    justify-content: center;
}
.upbtn {
    z-index: 9999;
    width: 100%;
    height: 10px;
    color: #FFF;
    position: fixed;
    bottom: -80px;
    cursor: pointer;
    background: #337AB7;
    transition: all .3s ease-in-out;
}
.upbtn:before {
    content: "";
    transition: all .3s ease-in-out;
    z-index: 9999;

    width: 100px;
    height: 100px;
    border: 16px solid #337AB7;
    position:relative;
    bottom:10px;
    left: 50%;
    margin-left: -50px;
    cursor: pointer;
    display:block;
    transform: rotate(45deg);
    background: #FFF;
}
.upbtn:hover {
    height: 15px;
}
.upbtn:hover:before {
    bottom:14px;
}
.order-search-item a, .order-search-item a:hover {
    text-decoration: none;
}
#interactive.viewport {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    text-align: center;
}
#interactive.viewport > canvas, #interactive.viewport > video {
    max-width: 100%;
    width: 100%;
}
canvas.drawing, canvas.drawingBuffer {
    position: absolute;
    left: 0;
    top: 0;
}
.wrapper-header {
    text-align: right;
}
.slider-modal .close {
    float: none;
}
.first-photo {
    position: relative;
}
.first-photo>a {
    position: absolute;
    left: 0;
    bottom: 0;
    color: #e5e5e5;
    font-size: 30px;
}
.carousel-control .icon-next, .carousel-control .glyphicon-chevron-right {
    right: -15px;
    margin-right: 0;
}
.carousel-control .icon-prev, .carousel-control .glyphicon-chevron-left {
    left: -15px;
    margin-left: 0;
}
.carousel-control {
    font-size: 40px;
    color: #ccc;
}
.carousel-caption {
    bottom: -10px;
}
.slide-caption {
    background: rgb(0 0 0 / 35%);
    padding: 2px;
    font-size: 12px;
    border-radius: 5px;
}
.order-actions {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.processed-order label {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 700!important;
    color: #333333;
}
.print-order a {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 700;
    color: #333333;
    text-align: right;
}

.print-order a:hover {
    text-decoration: underline;
}

.list-group-item {
    color: #333333;
}

.title-search-text {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: baseline;
}

.btn-clear {
    color: #337ab7;
    border-bottom: 1px solid #337ab7;
}

.btn-clear:hover {
    color: #204d74;
    border-bottom: 1px solid #204d74;
    text-decoration: none;
}

.search-product-wrap {
    margin-top: 20px;
}

.search-barcode-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 20px;
    margin-top: 15px;
}

.search-vendorcode-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 20px;
}
.search-vendorcode-wrapper div:first-child {
    flex-grow: 0;
}
.search-vendorcode-wrapper div:last-child {
    flex-grow: 1;
}

#form-product-search-vendor-code {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
}

#form-product-search-vendor-code div:first-child {
    flex-grow: 1;
}
#form-product-search-vendor-code div:last-child {
    flex-grow: 0;
}

.field-productsearch-vendor_code {
    margin-bottom: 0;
}

.open-modal-barcode {
    width: 50px;
}

.vendor-code-search {
    width: 50px!important;
    height: 34px;
    padding: 0;
    margin: 0;
}

.search-vendorcode-wrapper {
    padding: 10px 10px 0 10px;
}
.search-barcode-wrapper {
    padding: 5px 10px;
}

.modal-barcode-reader .modal-body {
    min-height: 200px;
}
.open-modal-product-link {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}