html,
body {
    height: 100%;
}

hr {
    margin-top: 15px;
    margin-bottom: 15px;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

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

.break{
    word-break: break-all;
}

.small{
    font-size: .9em !important;
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
  }

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {

}

.grid-view th a.asc,
.grid-view th a.desc
{
    padding-right: 20px;
    position: relative
}

.grid-view th a.asc:after,
.grid-view th a.desc:after{
    right: 0px;
    bottom: 3px;
    top: auto;
    position: absolute;
}

.text-muted{
    color: #cccccc !important;
}
.text-bold{
    font-weight: bold;
}

/* Agreement Tab */
.agreement-body {
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 10px;
}

.agreement-actions {
    margin-top: 15px;
    text-align: right;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

.error-summary ul{
    margin-bottom: 5px;
}

.cursor-pointer{
    cursor: pointer;
}

/* Brown status label, matches the brown status color used in models */
.label-brown{
    background-color: #fbe9d0;
    color: #333;
}

/* Compact alert variant with reduced paddings for inline use */
.alert-sm{
    padding: 5px 10px;
    margin-bottom: 0;
}

/* Spacing between inline footer buttons in Shipping details panel */
#fulfilled-footer .footer-buttons{
    gap: 5px;
}

.multiselect-container>li>a{
  padding: 0;
}
.multiselect-container>li>a>label {
  margin: 0;
  height: 100%;
  cursor: pointer;
  font-weight: 400;
  padding: 3px 20px 3px 40px;
}

.ui-datepicker {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  float: left;
  display: none;
  min-width: 160px;
  list-style: none;
  background-color: #ffffff;
  border: 1px solid #ccc;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  -webkit-background-clip: padding-box;
  -moz-background-clip: padding;
  background-clip: padding-box;
  *border-right-width: 2px;
  *border-bottom-width: 2px;
  color: #333333;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 13px;
  line-height: 1.428571429;
}
.ui-datepicker{
  box-shadow: 5px 5px rgba(102, 102, 102, 0.1);
  border: 1px solid #efefef;

  -webkit-border-radius: 0;
     -moz-border-radius: 0;
          border-radius: 0;
}
.ui-datepicker th,
.ui-datepicker td{
  padding: 0px 5px;
}
.ui-datepicker:before {
  content: '';
  display: inline-block;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 7px solid #ccc;
  border-top: 0;
  border-bottom-color: rgba(0, 0, 0, 0.2);
  position: absolute;
}
.ui-datepicker:after {
  content: '';
  display: inline-block;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #fff;
  border-top: 0;
  position: absolute;
}
.ui-datepicker:before {
  top: -7px;
}
.ui-datepicker:after {
  top: -6px;
}
.ui-datepicker table {
  margin: 0;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.ui-datepicker table tr td,
.ui-datepicker table tr th {
  text-align: center;
  width: 30px;
  height: 30px;
  border-radius: 4px !important;
  border: none !important;
}
.ui-datepicker table tr td a,
.ui-datepicker table tr th {
  background-color: transparent !important;
  border: none !important;
}
.ui-datepicker table tr td:hover,
.ui-datepicker table tr td.focused {
  background: #eeeeee !important;
  cursor: pointer;
}
.ui-datepicker table tr td.old,
.ui-datepicker table tr td.new {
  color: #999999;
}
.ui-datepicker table tr td.ui-datepicker-current-day{
  background-color: #ffdb99 !important;
  border-color: #ffb733 !important;
}
.ui-datepicker table tr td.ui-datepicker-current-day a{
  color: #000000;
}
.ui-datepicker table td.ui-state-disabled .ui-state-default{
    border: none;
    background: none;
}
.ui-widget-header{
  background: none;
  border: none
}
.ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover{
  top: 2px
}
.ui-datepicker .ui-datepicker-prev-hover{
  left: 2px
}
.ui-datepicker .ui-datepicker-next-hover{
  right: 2px
}

html.error{
  height: auto !important
}

.has-error input, .has-error textarea, .has-error select{
    border: #bf6464 2px dashed !important;
    background-color: #fdfbfb !important;
    -webkit-transition: all 0.2s ease-in;
    -moz-transition: all 0.2s ease-in;
    -o-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in;
}

form .required label.control-label:after{
    content:" * ";
    color:red;
}

select.input-inline{
  display: inline-block;
  width: auto
}

.form-control[disabled] + .input-group-addon,
.form-control[readonly] + .input-group-addon{
    background-color: #eee;
}

.margin-top-5{
    margin-top: 5px
}
.margin-top-25{
    margin-top: 25px;
}
.margin-top-33{
    margin-top: 33px;
}
.margin-bottom-0{
  margin-bottom: 0
}
.margin-bottom-5{
    margin-bottom: 5px !important;
}
.margin-bottom-15{
  margin-bottom: 15px !important
}
.margin-right-5{
    margin-right: 5px;
}
.margin-negative-top-20{
  margin-top: -20px
}
.margin-negative-top-30{
  margin-top: -30px
}

.padding-top-24{
    padding-top: 24px
}
.mb-0{
    margin-bottom: 0 !important;
}
.mb-30{
    margin-bottom: .3em !important;
}
.mb-50{
    margin-bottom: .5em !important;
}
.mb-1{
    margin-bottom: 1em !important;
}
.mb-2{
    margin-bottom: 2em !important;
}
.my-0{
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
.my-30{
    margin-top: .3em !important;
    margin-bottom: .3em !important;
}
.my-1{
    margin-top: 1em !important;
    margin-bottom: 1em !important;
}
.mt-0{
    margin-top: 0 !important;
}
.mt-1{
    margin-top: 1em !important;
}
.me-0{
    margin-right: 0 !important;
}
.me-30{
    margin-right: .3em !important;
}
.me-1 {
    margin-right: 1rem !important;
}
.pe-0 {
    padding-right: 0 !important;
}
.ps-1{
    padding-left: 1em !important;
}
.pe-50{
    padding-right: .5em !important;
}
.pe-1{
    padding-right: 1em !important;
}
.px-50{
    padding-left: .5em !important;
    padding-right: .5em !important;
}
.px-1{
    padding-left: 1em;
    padding-right: 1em;
}
.px-2{
    padding-left: 2em;
    padding-right: 2em;
}

.brown{
    background-color: #fbe9d0 !important;
}
.brown:hover{
    background-color: #f9deb9 !important;
}

.h-100{
    height: 100%
}

td.td-sm{
    width: 20%;
}

.checkbox input:disabled + i{
    background: #f5f5f5;
    border-color: #efefef;
}

.select-multiple-items-label{
  margin: 0;
  padding-left: 20px;
  display: block
}
.select-multiple-items-label i{
  top: 0
}

#middle div.panel-heading {
    height: auto;
}
#middle div.panel-heading form .form-control{
  height: 34px;
  width: 100%
}
#middle div.panel-heading form label{
  margin-right: 10px
}
#middle div.panel-heading form .btn:not(.btn-xs){
  height: 34px
}

#orderFilters label{
  white-space: nowrap
}

table form{
  margin-bottom: 0
}

@media (max-width: 991px){
    table.table-responsive{
        border: none
    }
    table.table-responsive thead {
        border: none;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }

  table.table-responsive .select-multiple-items-label{
    margin-bottom: 20px
  }

    table.table-responsive tr {
        border: 1px solid #ccc;
        margin-bottom: 20px;
        display: block;
    }

    table.table-responsive td {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
    }

    table.table-responsive td::before {
        content: attr(data-label);
        display: block;
        font-weight: bold;
        text-transform: uppercase;
        font-size: .8em;
        text-align: left;
    }

  #middle div.panel-heading{
    height: auto
  }
  #middle div.panel-heading form{
    margin: 0
  }
  #middle div.panel-heading form .form-group{
    margin: 0
  }
  #orderViewWrapper .date,
  #orderViewWrapper .invoice,
  #orderViewWrapper .status,
  #orderViewWrapper .update,
  #orderViewWrapper .shelf,
  #orderViewWrapper .label-button{
    height: 39px;
    line-height: 33px;
  }
}

.input-group .form-control{
  border-right: 0
}
.input-group .form-control:focus ~div{
  border-color: #c6c6c6;
}
.input-group-addon{
  border: #ddd 2px solid;
  background: #fff
}
/* Read-only text before the input */
.input-group-prefix .input-group-addon{
  background-color: #eee;
}
.input-group-prefix .form-control{
  border-left: 0;
  border-right: #ddd 2px solid;
}
.input-group-prefix .form-control:focus{
  border-right-color: #c6c6c6;
}

.input-sm {
    height: 30px;
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}

.auto-height{
  height: auto !important
}

.reset-line-height{
    line-height: unset;
}

.panel-body .table.detail-view tr:first-child th,
.panel-body .table.detail-view tr:first-child td{
  border-top: none
}

.select2-container{
  width: 100% !important
}
.select2-container .select2-selection--multiple{
  padding-top: 4px;
  padding-bottom: 4px;
  border-radius: 3px;
  border: #ddd 2px solid
}
.select2-container--default.select2-container--focus .select2-selection--multiple{
  border: #c6c6c6 2px solid
}

.panel-danger>.panel-heading,
.panel-success>.panel-heading{
  padding: 15px 15px;
}

.users-date-filter{
  white-space: nowrap
}
.users-date-filter input{
  max-width: 100px
}

.label-iframe{
  width: 100%;
  min-height: 400px
}

#parcelsGrid .field-parcels-width,
#parcelsGrid .field-parcels-length,
#parcelsGrid .field-parcels-height,
#parcelsGrid .field-parcels-weight{
  max-width: 80px
}

#searchForm{
  width: 500px
}
#searchForm .select2-container--default .select2-selection--single{
  background: transparent;
  padding: 0;
  border: 0;
  margin: 0;
  -webkit-box-shadow: none !important;
  -moz-box-shadow: none !important;
  box-shadow: none !important;
  height: 50px;
}
#searchForm .select2-container--default .select2-selection--single .select2-selection__rendered{
  color: #999;
  height: 50px;
  line-height: 50px;
}
#searchForm .select2-selection__arrow{
  display: none
}

#ordersFooterForm .field-orders-netcost label,
#ordersFooterForm .field-orders-vat label,
#ordersFooterForm .field-orders-comment_admin label{
  font-weight: bold
}

#page-header .title-wrapper h1{
    padding: 0;
    color: #666;
    display: inline-block;
    font-weight: 300;
    text-shadow: #fff 0 1px;
    font-size: 22px;
    line-height: 22px;
    margin: 7px 0;
}
.title-wrapper{
  display: flex;
  align-items: center
}
.title-wrapper .title_suffix{
  margin-left: 20px
}

#middle #orderViewWrapper div.panel-heading,
#middle #stock-view-wrapper div.panel-heading{
  height: auto;
}

.has-error .select2-container .select2-selection--single{
  border: #bf6464 2px dashed !important;
  background-color: #fdfbfb !important;
  -webkit-transition: all 0.2s ease-in;
  -moz-transition: all 0.2s ease-in;
  -o-transition: all 0.2s ease-in;
  transition: all 0.2s ease-in;
}

#selectedAlert{
  display: none
}

.flex-wrapper{
  display: flex !important;
  align-items: center
}
.flex-justify-space{
    justify-content: space-between;
}
.flex-align-top{
    align-items: start !important;
}
.flex-wrap{
    flex-wrap: wrap;
}

@media (max-width: 991px){
  #panel-1  div.panel-heading form{
    margin-top: 0;
  }
}

@media (max-width: 786px){
  #panel-1  div.panel-heading form{
    margin-top: 10px;
  }
}

#parcelSaveForm{
  margin-right: 20px
}

.align-items-end{
  align-items: flex-end;
}
.justify-space-between{
  justify-content: space-between;
}

#ordersFooterForm .field-orders-files{
  flex-basis: 100%
}

#orderWebcamModal .form-group{
  margin-bottom: 0;
  overflow: hidden
}

form .pjax > div.row{
  margin-bottom: 0
}
#parcelPhotosForm{
  margin-bottom: 0
}

#parcelPhotosForm .field-parcels-files2{
  flex-basis: 100%;
}

.modal-body.disabled{
    opacity: 0.2;
}

.text-left{
    text-align: left;
}

#invoicesBulkForm .btn{
    margin-left: 8px
}

.create-mf-filters-form .form-group{
    display: flex;
    margin-bottom: 0;
    align-items: center;
}
.create-mf-filters-form .form-group label{
    margin-bottom: 0;
    white-space: nowrap;
}

.user-details-print .user-avatar{
    width: 250px;
}
.user-details-print .user-passport{
    max-width: 100%;
}

#order-scan-form .btn{
    margin-bottom: 3px;
}
#order-scan-form{
    margin-bottom: 15px;
}

#parcelOrdersWrapper .panel-heading{
    padding: 15px 15px;
}

.scan-box.scanned{
    animation: shake 1s infinite;
    -webkit-animation: shake 1s infinite;
    -moz-animation: shake 1s infinite;
    -o-animation: shake 1s infinite;
}
.scan-box.scanned .modal-header{
    background: #dff0d8;
}

@keyframes shake {
    10%, 90% {
        transform: translate3d(0, -1px, 0);
    }

    20%, 80% {
        transform: translate3d(0, 2px, 0);
    }

    30%, 50%, 70% {
        transform: translate3d(0, -4px, 0);
    }

    40%, 60% {
        transform: translate3d(0, 4px, 0);
    }
}

.inventory-item-form,
.stock-lot-form,
.product-form{
    margin-left: -15px;
    margin-right: -15px;
}
.inventory-item-form .item-background,
.stock-lot-form .item-background,
.product-form .item-background{
    position: absolute;
    left: 0;
    top: -21px;
    width: 100%;
    height: calc(100% + 42px);
    z-index: 0;
    opacity: .2;
}
.inventory-item-form:last-child,
.stock-lot-form:last-child,
.product-form:last-child{
    margin-bottom: 0
}
.inventory-item-form .item,
.stock-lot-form .item,
.product-form .item{
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    position: relative;
    padding-right: 25px;
    padding-left: 15px;
}

.inventory-item-form .group,
.stock-lot-form .group,
.product-form .group{
    width: 8%;
    min-width: 170px;
    position: relative;
}
.inventory-item-form .group:not(:last-child),
.stock-lot-form .group:not(:last-child),
.product-form .group:not(:last-child){
    margin-right: 0.5%;
}
.inventory-item-form .group-delete,
.stock-lot-form .group-delete,
.product-form .group-delete{
    position: absolute;
    top: calc(50% - 10px);
    right: 15px;
}
.inventory-item-form .control-label,
.stock-lot-form .control-label,
.product-form .control-label{
    text-align: left;
    font-size: 12px;
}

.sky-form .btn:first-child{
    margin-left: 0;
}
.login-box > .sky-form {
    background-color: #fff;
}

.login_content{
    padding: 35px 20px 36px 20px;
}
.login_content .sozial-btn {
    display: inline-block;
    max-width: 430px;
    width: 100%;
    color: #fff;
    border-radius: 3px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin: auto;
    margin-bottom: 15px;
}

.login_content .sozial-btn--fb {
    background-color: #3b5997;
}

.login_content .sozial-btn--vk {
    background-color: #4c75a3;
}

.login_content .sozial-btn--go {
    background-color: #dd4e41;
}

.login_content .sozial-btn--pp {
    background-color: #006caf;
}
.login_content .sozial-btn{
    max-width: 190px;
}

.login_content .google-button {
    height: 40px;
    border: none;
    background: #4285F4;
    color: white;
    border-radius: 2px;
    white-space: nowrap;
    box-shadow: 1px 1px 0px 0 rgba(0,0,0,.1);
    transition-property: background-color, box-shadow;
    transition-duration: 150ms;
    transition-timing-function: ease-in-out;
    padding: 0;
    display: flex;
    align-items: center;
    width: 190px;
    margin: 0 auto
}

.login_content .google-button:focus,
.login_content .google-button:hover {
    background-color: #4285f4;
    box-shadow: none;
    color: white;
    text-decoration: none;
}

.login_content .google-button:active {
    background-color: #3367d6;
    box-shadow: none;
    transition-duration: 10ms;
    text-decoration: none;
}

.login_content .google-button__icon {
    margin: 1px;
    width: 38px;
    height: 38px;
    box-sizing: border-box;
    background: url('../images/btn_google_dark_normal_ios.svg') no-repeat center center;
    border-radius: 1px;
}

.login_content .google-button__text {
    width: 150px;
    padding: 0;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    font-family: 'Roboto',arial,sans-serif;
}
.login_content .left-icon {
    width: 35px;
    height: 35px;
    border-right: 1px solid #355089;
    text-align: center;
    padding-top: 7px;
}

.login_content .name {
    width: calc(100% - 35px);
    padding: 10px 15px;
}

#inventory-view-wrapper .panel-heading{
    height: auto !important;
}

.pay-invoice-wrapper .total-info_line{
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    align-items: center;
}
.pay-invoice-wrapper .total-info_line.amount .txt-1{
    min-width: 60px;
}
.pay-invoice-wrapper .field-payment-currency{
    min-width: 70px;
}
.pay-invoice-wrapper .total-info_line:not(:last-child){
    border-bottom: 1px solid #efefef;
}
.pay-invoice-wrapper .total-info .txt-2{
    color: #1d1d1d;
    font-size: 18px;
}
.pay-invoice-wrapper .total-info .txt-3 {
    color: #6a6a6a;
    font-size: 13px;
}
.pay-invoice-wrapper .total-info .txt-4 {
    color: #5a5959;
    text-transform: uppercase;
    font-size: 15px;
    font-weight: 600;
}
.pay-invoice-wrapper .total-info .txt-5 {
    color: #2bb3b8;
    font-weight: lighter;
    font-size: 30px;
    line-height: 1;
    white-space: nowrap;
}
.pay-invoice-wrapper .payment-method{
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80px;
    border: 1px solid transparent;
}
.pay-invoice-wrapper .payment-method:not(:last-child){
    margin-bottom: 10px;
}
.pay-invoice-wrapper .payment-method .logo{
    width: 25%;
}
.pay-invoice-wrapper .payment-method .logo img{
    max-width: 100%;
}
.pay-invoice-wrapper .payment-method .text-block{
    width: 45%;
}
.pay-invoice-wrapper .title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 5px;
}
.pay-invoice-wrapper .desc {
    font-size: 15px;
    color: #202020;
}
.pay-invoice-wrapper .radio-wrap{
    position: relative;
    width: 16px;
    height: 16px;
    margin-left: 20px;
}
.pay-invoice-wrapper .radio{
    width: 16px;
    height: 16px;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 0;
    left: 0;
}
.pay-invoice-wrapper .radio .radio-elem{
    display: inline-flex;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid #ccc;
    box-sizing: border-box;
    position: absolute;
    top: 0;
    left: 0;
}
.pay-invoice-wrapper .radio input:checked + .radio-elem::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin: auto;
    border-radius: 50%;
    background-color: #78b553;
    box-sizing: border-box;
}
.pay-invoice-wrapper .payment-method.check {
    border: 1px solid #efefef;
}
#header .logo a{
    display: flex;
    width: 100%;
    height: 100%;
}

#header .logo img{
    max-width: 120px;
}

#items-grid table tfoot td,
.box-items-grid table tfoot td{
    font-weight: 700;
}

.message-widget-button {
    display: flex;
    align-items: center;
    height: 100%;
    padding-bottom: 5px;
}

#log-grid tr td{
    border: none;
    padding-top: 10px;
    padding-bottom: 10px;
}
#log-grid tr td:first-child{
    border-right: 2px solid #efefef;
    position: relative;
    padding-right: 20px;
}
@media (min-width: 1100px){
    #log-grid tr td:first-child{
        width: 126px;
    }
}
@media (min-width: 860px) and (max-width: 992px){
    #log-grid tr td:first-child{
        width: 126px;
    }
}
@media (min-width: 430px) and (max-width: 767px){
    #log-grid tr td:first-child{
        width: 126px;
    }
}
#log-grid tr td:first-child:after{
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 10px;
    position: absolute;
    background: #00CC00;
    right: -6px;
    z-index: 1;
    top: 16px;
}
#log-grid tr td:nth-child(2){
    padding-left: 20px
}

.help-desk p{
    margin-bottom: 5px;
}
.help-desk p:not(:last-child):after{
    content: '---';
    display: block;
}

.box-title .icon{
    position: absolute;
    top: 10px;
    right: 0;
    max-width: 50%;
    max-height: calc(75% - 10px);
    font-size: 70px;
    opacity: .6;
}

.billing-balance-box{
    padding: 5px 10px;
}
.billing-balance-box .balance:not(:last-child):after{
    content: '|';
    margin-left: 5px;
}
.billing-balance-box .box-title{
    padding-top: 0;
    padding-bottom: 5px;
}
.billing-balance-box .box-title i.fa{
    font-size: 40px;
}

.stock-shop-icon{
    width: 16px;
}

.cookies-notification{
    background: #333 !important;
    color: white;
}
.cookies-notification a:not(.button-delete){
    color: #0d95e8 !important;
}
.cookies-notification .button-delete{
    padding-top: 0;
    padding-bottom: 0;
}

.pallet-box-box-form .item{
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    position: relative;
    padding-right: 20px;
}

.pallet-box-box-form .group{
    width: 8%;
    min-width: 170px;
}

.pallet-box-box-form .group:not(:last-child){
    margin-right: 0.5%;
}
.pallet-box-box-form .group-delete{
    min-width: 30px;
    margin-right: -40px;
}
.pallet-box-box-form .control-label{
    text-align: left;
    font-size: 12px;
}

.pallet-box-bar,
.pallet-bar,
.returned-bar,
.removal-bar{
    position: fixed;
    bottom: 0;
    margin: 0;
    background-color: #fcf8e3;
    border: 1px solid #faebcc;
    border-left: 5px solid rgba(0,0,0,.1);
    width: 100%;
    z-index: 1000;
    left: 0;
    padding: 0;
    display: none;
}
.pallet-box-bar .btn,
.pallet-bar .btn,
.returned-bar .btn,
.removal-bar .btn{
    margin: 5px;
}

.earned-item{
    margin-right: 20px
}

.channels{
    margin-bottom: 30px;
    padding-left: 10px;
    padding-right: 10px;
}
.channel-logo{
    padding: 8px 50px;
}
.channel-logo img{
    max-width: 100%;
}

/*.warehouse-icon{
    display: block;
    margin-top: 2px;
}*/

select.default{
    border-color: #888;
}
select.danger{
    border-color: #bf6464;
}

body.min .trustpilot-widget{
    display: none;
}

.stock-replenish-qty-form .field-lot-replenish_qty{
    max-width: 75px;
}

.lot-sku-form .field label,
.lot-sku-form .field .help{
    font-size: 80%;
}
.lot-sku-form .lot-sku-field{
    flex: 1 1;
    margin-right: 10px;
}

.courier-rule-form .condition{
    margin: 11px 10px 11px 0;
}
.courier-rule-form .result{
    margin: 11px;
}
.courier-rule-form .courier-rule-add-button{
    margin-left: 10px;
}
.field-courierrule-currency{
    margin-left: 10px;
}
.partner-logo{
    padding: 10px;
}
.partner-logo a{
    display: block;
}
.partner-logo img{
    max-width: 150px;
    max-height: 30px;
}

.stock-lot-form .photos-wrapper .image-item,
.product-form .photos-wrapper .image-item{
    display: flex;
    align-items: center;
}
.stock-lot-form .photos-wrapper .image-item .delete,
.product-form .photos-wrapper .image-item .delete{
    margin-left: 5px;
}

.flex-wrapper.form-fields > div:not(.actions){
    flex: 1 0 200px;
}
.flex-basis-100{
    flex-basis: 100px !important;
}
.flex-basis-150{
    flex-basis: 150px !important;
}
.flex-basis-300{
    flex-shrink: 1 !important;
    flex-basis: 300px !important;
}
.flex-basis-400{
    flex-shrink: 1 !important;
    flex-basis: 400px !important;
}

#header .nav{
    margin: 0 10px
}
#header .dropdown{
    margin: 0
}
.dropdown-language > a .fi{
    margin-right: 5px;
    margin-left: 8px;
}
.dropdown-language .selected-language{
    margin-right: 8px;
}
.dropdown-language .dropdown-menu{
    min-width: unset;
}
#header .delivery-calculator,
#header .delivery-calculator:hover,
#header .delivery-calculator:focus,
#header .delivery-calculator:active{
    color: #939da8;
    line-height: 50px;
    padding: 0 10px !important;
    background-color: transparent !important;
}
#header li:hover .delivery-calculator{
    color: #fff;
    background-color: rgba(0,0,0,0.1) !important;
}
#header .active .delivery-calculator,
#header .active .delivery-calculator:hover,
#header .active .delivery-calculator:focus,
#header .active .delivery-calculator:active{
    color: #fff;
    background-color: rgba(0,0,0,0.1) !important;
}
#header .dropdown-language .dropdown-item{
    display: block;
    white-space: nowrap;
    padding: 5px 25px;
}
.dropdown-menu > li button {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: 400;
    line-height: 1.42857143;
    color: #333333;
    white-space: nowrap;
    width: 100%;
    text-align: left;
}
.dropdown-menu > li button:hover, .dropdown-menu > li button:focus {
    color: #262626;
    text-decoration: none;
    background-color: #f5f5f5;
}
.dropdown-header{
    margin-top: 9px;
}

#dashboard .border-right-black {
    border-right: 1px solid rgba(0,0,0,0.5);
}

/* Conditional Sticky Flash Messages */
#flashes.sticky-mode {
    z-index: 9999;
    pointer-events: none;
    clear: both;
    position: fixed;
    top: 0;
    right: 15px;
    width: auto;
    max-width: calc(100vw - 30px);
    padding: 10px 0 0;
}

#flashes.sticky-mode .alert {
    pointer-events: auto;
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    position: relative;
    padding-right: 35px;
}

#flashes.sticky-mode .alert .close {
    position: absolute;
    top: calc(50% - 11px);
    right: 10px;
    cursor: pointer;
}

.padding-right-40 {
    padding-right: 40px !important;
}

#platform-connection .select2-container--default .select2-search--inline .select2-search__field{
    min-width: 150px !important;
}

/* Platform integration cards */
.platform-cards {
    display: flex;
    flex-wrap: wrap;
}
.platform-cards > div {
    margin-bottom: 15px;
}
.platform-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px;
    background: #fff;
    transition: box-shadow 0.2s, border-color 0.2s;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.platform-card:hover {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}
.platform-card-connected {
    border-color: #5cb85c;
    background: #f0fff0;
}
.platform-card-pending {
    border-color: #f0ad4e;
    background: #fef9e7;
}
.platform-card-not-active {
    border-color: #ccc;
    background: #f5f5f5;
    opacity: 0.7;
}
.platform-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}
.platform-card-logo {
    flex-shrink: 0;
}
.platform-card-logo .platform-icon {
    width: 36px;
    height: 36px;
}
.platform-card-info {
    min-width: 0;
}
.platform-card-name {
    font-weight: 600;
    font-size: 13px;
    line-height: 1.2;
}
.platform-card-status {
    margin-top: 2px;
}
.platform-status {
    font-size: 12px;
    font-weight: 600;
}
.platform-status-connected {
    color: #5cb85c;
}
.platform-status-pending {
    color: #f0ad4e;
}
.platform-status-not-active {
    color: #999;
}
.platform-status-not-connected {
    color: #f0ad4e;
}
.platform-card-actions {
    margin-top: auto;
}
.platform-card-actions-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.platform-switcher {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 22px;
    margin-bottom: 0;
    cursor: pointer;
}
.platform-switcher-input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}
.platform-switcher-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    border-radius: 22px;
    transition: background-color 0.3s;
}
.platform-switcher-slider:before {
    content: "";
    position: absolute;
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: #fff;
    border-radius: 50%;
    transition: transform 0.3s;
}
.platform-switcher-input:checked + .platform-switcher-slider {
    background-color: #5cb85c;
}
.platform-switcher-input:checked + .platform-switcher-slider:before {
    transform: translateX(18px);
}
.platform-card-action-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    font-size: 12px;
    color: #555;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
}
.platform-card-action-link:hover {
    background-color: #f0f0f0;
    color: #333;
    text-decoration: none;
}
.platform-card-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #eee;
}
.platform-toggle-form {
    margin-bottom: 0;
}
.platform-unlink-form {
    margin-bottom: 0;
    margin-left: auto;
}

/* User shop confirmation */
.user-shop-hidden {
    display: none;
}

/* Agreement signature block — cursive font for the signature cell */
.agreement-signature {
    border-collapse: collapse;
    margin-top: 10px;
}
.agreement-signature th,
.agreement-signature td {
    border: 0;
    padding: 0;
    vertical-align: top;
}
/* Great Vibes — free OFL script font; bundled under cabinet/bundle/fonts/ and shared with the PDF renderer */
@font-face {
    font-family: "Great Vibes";
    src: url("../fonts/GreatVibes-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}
.agreement-signature-font {
    font-family: "Great Vibes", cursive;
    font-size: 26px;
}

/* ==== Inbound creation/update wizard ==== */
.inbound-wizard {
    margin-bottom: 20px;
}
.wizard-head {
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: #333;
    font-size: 15px;
}
.wizard-head .fa {
    color: #888;
}
.wizard-steps {
    gap: 12px;
    margin-bottom: 18px;
}
.wizard-tab {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1 1 0;
    min-width: 220px;
    padding: 14px 18px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    color: #333;
    text-decoration: none;
}
.wizard-tab:hover,
.wizard-tab:focus {
    text-decoration: none;
    color: #333;
}
.wizard-tab.current {
    border-color: #3b82f6;
    box-shadow: 0 0 0 1px #3b82f6 inset;
    background: #f5f9ff;
}
.wizard-tab-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #666;
    font-size: 13px;
    flex: none;
}
.wizard-tab.current .wizard-tab-num,
.wizard-tab.done .wizard-tab-num {
    background: #2563eb;
    color: #fff;
}
.wizard-tab-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}
.wizard-tab-title {
    font-weight: 700;
}
.wizard-tab-sub {
    color: #9ca3af;
}
.wizard-panel {
    background: #fafafa;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
}
.wizard-panel .panel-heading {
    background: transparent;
    border-bottom: 0;
    padding: 18px 20px 0;
}
.wizard-panel-title {
    font-size: 18px;
    font-weight: 700;
}
.wizard-panel-hint {
    color: #9ca3af;
    margin-top: 4px;
    text-transform: initial;
}
.wizard-panel-step-label {
    margin-left: auto;
    color: #3b82f6;
    font-weight: 700;
}
.wizard-panel .panel-body {
    padding: 20px;
}
.wizard-footer {
    display: flex;
    align-items: center;
    background: transparent;
    border-top: 1px solid #ececec;
}
.wizard-footer-left {
    margin-right: auto;
}
.wizard-footer-right {
    margin-left: auto;
    display: flex;
    gap: 8px;
}
.btn-dark {
    background: #111827;
    color: #fff;
    border-radius: 20px;
    padding: 8px 20px;
}
.btn-dark:hover,
.btn-dark:focus {
    background: #000;
    color: #fff;
}
.wizard-advanced {
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid #ececec;
}
.wizard-toggle {
    display: inline-block;
    color: #333;
    font-weight: 600;
    cursor: pointer;
}
.wizard-toggle:hover {
    text-decoration: none;
}
.wizard-advanced-body {
    margin-top: 12px;
}

/* Handling method cards */
.handling-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.handling-method {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin: 0;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-weight: normal;
    cursor: pointer;
}
.handling-method.selected {
    border-color: #3b82f6;
    box-shadow: 0 0 0 1px #3b82f6 inset;
    background: #f5f9ff;
}
.handling-method-radio {
    padding-top: 2px;
}
.handling-method-body {
    display: flex;
    flex-direction: column;
    line-height: 1.4;
}
.handling-method-title {
    font-size: 15px;
}
.handling-method-desc {
    color: #6b7280;
}
.handling-method-note {
    color: #374151;
    margin-top: 2px;
}
.handling-note {
    margin: 16px 0;
    padding: 12px 16px;
    background: #eceef1;
    border-left: 4px solid #6b7280;
    border-radius: 4px;
    color: #374151;
}
.handling-note-info {
    border-left-color: #3b82f6;
}
.handling-note-required {
    border-left-color: #ea580c;
}
.handling-instructions {
    margin-top: 16px;
}
.handling-additional {
    margin-top: 16px;
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}
.wizard-confirm {
    padding-top: 0;
}
.label-active {
    background-color: #6b7280;
}

/* generic on/off switcher */
.switcher {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 26px;
    margin-bottom: 0;
    cursor: pointer;
}
.switcher-input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}
.switcher-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    border-radius: 26px;
    transition: background-color 0.3s;
}
.switcher-slider:before {
    content: "";
    position: absolute;
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: #fff;
    border-radius: 50%;
    transition: transform 0.3s;
}
.switcher-input:checked + .switcher-slider {
    background-color: #2563eb;
}
.switcher-input:checked + .switcher-slider:before {
    transform: translateX(20px);
}

/* shipping settings rows and rule type cards */
.settings-section-title {
    margin-top: 0;
    font-weight: 600;
}
.settings-row,
.settings-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.settings-card {
    padding: 16px;
    margin-top: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.settings-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}
.settings-card-icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    border-radius: 8px;
    background-color: #f1f5f9;
    color: #475569;
}
.settings-card-icon-protection,
.settings-card-icon-package {
    background-color: #e0edff;
    color: #2563eb;
}
.settings-card-icon-weight {
    background-color: #dcfce7;
    color: #16a34a;
}
.settings-card-icon-price {
    background-color: #ede9fe;
    color: #7c3aed;
}
.settings-card-icon-country {
    background-color: #ffedd5;
    color: #ea580c;
}
.settings-card-icon-platform {
    background-color: #ccfbf1;
    color: #0d9488;
}
.settings-card-body {
    flex: 1 1 auto;
}
.settings-card-title {
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
}
.settings-card-description {
    margin-top: 2px;
    font-size: 13px;
    color: #6b7280;
}
.settings-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}
.settings-tag {
    padding: 3px 10px;
    font-size: 12px;
    color: #475569;
    background-color: #f1f5f9;
    border-radius: 12px;
}
.settings-tag-more {
    color: #6b7280;
    background-color: transparent;
}
.settings-card-meta {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}
.settings-card-count {
    font-size: 13px;
    color: #6b7280;
}
.settings-card-action {
    white-space: nowrap;
}
.settings-switcher-form {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0;
}
.settings-switcher-field {
    margin-bottom: 0;
    line-height: 1;
}
.settings-switcher-label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}
.settings-note {
    margin-top: 16px;
    margin-bottom: 0;
}

/* how rules work explainer */
.how-rules {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 16px;
}
.how-rules-step {
    flex: 1 1 200px;
    padding-left: 32px;
    position: relative;
}
.how-rules-number {
    position: absolute;
    top: 0;
    left: 0;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    background-color: #2563eb;
    border-radius: 50%;
}
.how-rules-title {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
}
.how-rules-text {
    margin-top: 4px;
    font-size: 13px;
    color: #6b7280;
}
/* Products list */
.lot-grid > table > tbody > tr > td {
    height: 52px;
    vertical-align: middle;
}
.lot-grid .photo-item {
    margin: 0;
    padding: 0;
}
.lot-characteristics {
    font-size: 11px;
    color: #777;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 260px;
}
#lot-filters .select2-container {
    display: block;
}
.lot-filter-buttons {
    align-self: flex-end;
    white-space: nowrap;
}
.lot-filter-chips {
    margin-bottom: 10px;
}
.lot-filter-chip {
    display: inline-block;
    margin: 0 5px 5px 0;
    padding: 2px 10px;
    font-size: 12px;
    color: #333;
    background: #eee;
    border-radius: 12px;
}
.lot-filter-chip:hover {
    color: #333;
    background: #ddd;
    text-decoration: none;
}
#lot-filter-error {
    margin-bottom: 10px;
}
.ajax-loading {
    position: relative;
    opacity: .5;
    pointer-events: none;
}
.ajax-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin-top: -15px;
    margin-left: -15px;
    border: 3px solid #ccc;
    border-top-color: #337ab7;
    border-radius: 50%;
    animation: ajax-loading-spin .8s linear infinite;
}
@keyframes ajax-loading-spin {
    to { transform: rotate(360deg); }
}
@media (max-width: 767px) {
    .lot-characteristics {
        max-width: 160px;
    }
}

.tutorial-description img {
    cursor: zoom-in;
    max-width: 100%;
    height: auto;
}
