.slick-loading .slick-list{
    background: none;
}
@font-face
{
    font-family: 'slick';
    font-weight: normal;
    font-style: normal;

    src: url('../fonts/slick.eot');
    src: url('../fonts/slick.eot?#iefix') format('embedded-opentype'), url('../fonts/slick.woff') format('woff'), url('../fonts/slick.ttf') format('truetype'), url('../fonts/slick.svg#slick') format('svg');
}

.margin-bottom-15{
  margin-bottom: 15px
}
.margin-bottom-20{
  margin-bottom: 20px
}

.text-red{
    color: red;
}

form .required label:after{
  content: '*'
}

.has-error .help-block,
.help-block.error{
  color: red
}

label.check .box{
  vertical-align: middle
}
label.check input:disabled + .box,
label.select-multiple-items-label input:disabled + .box{
  background: #f5f5f5;
}
label.check .txt-md-1,
label.check .txt{
  padding-left: 10px
}

.input-file-name{
  padding-left: 20px;
  position: relative;
  bottom: 15px;
  white-space: nowrap;
}
.input-file-clear{
  font-size: 35px;
  position: relative;
  bottom: 5px;
  cursor: pointer;
}

form .has-error .form-control,
form .group.has-error input.field,
form .input-wrapper.has-error,
form .input-wrapper_text.has-error,
form .item.has-error .input,
form .item.has-error .text-field{
  border-color: #ea5455;
  padding-right: calc(1.45em + 1.142rem);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23ea5455'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23ea5455' stroke='none'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.3625em + 0.2855rem) center;
  background-size: calc(0.725em + 0.571rem) calc(0.725em + 0.571rem);
}

form .has-error .input-group-text,
form .has-error .select2-container--default .select2-selection--single{
  border-color: #ea5455;
}
form .has-error .form-control ~ .input-group-text,
form .has-error .form-select ~ .input-group-text{
  padding-right: calc(1.45em + 1.142rem);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23ea5455'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23ea5455' stroke='none'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.3625em + 0.2855rem) center;
  background-size: calc(0.725em + 0.571rem) calc(0.725em + 0.571rem);
}

form .has-error .input-group .form-control{
  background-image: none
}

.control-label{
  margin-bottom: 0.2857rem;
  font-size: 0.857rem;
  color: #5e5873;
}

.help-block-error{
  width: 100%;
  margin-top: 0.25rem;
  font-size: 0.857rem;
  color: #ea5455;
}

.g-recaptcha{
  margin-top: 20px
}

.check input:checked + .box:before{
  line-height: 20px;
}

.custom-file-button input[type=file] {
  margin-left: -2px !important;
}
.custom-file-button input[type=file]::-webkit-file-upload-button {
  display: none;
}
.custom-file-button input[type=file]::file-selector-button {
  display: none;
}
.custom-file-button:hover label {
  background-color: #dde0e3;
  cursor: pointer;
}

@media screen and (max-width: 600px) {
  .table-responsive > table {
    border: 0;
  }

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

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

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

  .table-responsive > .table.table-sm td:first-child{
    padding-left: .5rem;
  }
}

#usersBusinessForm .field-users-agree_verification,
#usersBusinessForm .field-users-agree_billing{
  margin-left: 140px
}

.icon-add{
  font-size: 18px;
  position: relative;
  line-height: 25px
  
}
.icon-add:before {
  content: "+";
}
.icon-delete{
  padding: 0
}

#warehousesForm .dd-select{
  background: #fff !important;
  border: none;
}
#warehousesForm .dd-selected{
  padding: 0;
  font-weight: normal;
}
#warehousesForm .dd-option{
  padding: 0
}
#warehousesForm .dd-selected-text{
  line-height: 1.2 !important;
  border-bottom: 1px dashed #aaa;
  padding-bottom: 5px
}
#warehousesForm .dd-pointer-down{
  border-top: none;
}

section.delivery_forward .dd-container img{
  height: 48px;
  margin-top: -8px;
  margin-bottom: -8px
}
section.delivery_forward .dd-container label{
  text-transform: uppercase
}

section.delivery_type .jumbotron{
  padding-left: 0;
  padding-right: 0;
  border-radius: 0;
  padding-bottom: 0;
  margin-bottom: 0;
  background: none;
}

.pay-order_item .icon-bank{
  background-image: url(../img/bank.png);
  background-repeat: no-repeat;
  background-position: center;
  width: 102px;
  height: 96px;
  filter: grayscale(100%);
}
.pay-order_item .icon-bitpay{
  background-image: url(../img/bitpay.png);
  background-repeat: no-repeat;
  background-position: center;
  width: 102px;
  height: 96px;
  filter: grayscale(100%);
  background-size: 100%;
}
.pay-order_item .check .icon-bank,
.pay-order_item .check .icon-bitpay{
  filter: grayscale(0%);
}

textarea:disabled, input:disabled, .select-wrap.disabled, .check .box.disabled{
  background-color: rgb(235, 235, 228);
  border: 1px solid #ccc
}

#mainFlashes.sticky{
  position: sticky;
  top: 15px;
  z-index: 1000;
}
#mainFlashes.sticky > div{
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.alert{
  position: relative
}
.alert > i{
  position: absolute;
  right: 15px;
  top: 50%;
  margin-top: -7px;
  cursor: pointer
}

.calculator_payment-methods .metod-line:first-child{
  box-shadow: 0 1px 5px #ddd;
  background: #fff;
  position: relative
}
.calculator_payment-methods .metod-line:first-child:before{
  content: " ";
  width: 85px;
  height: 85px;
  position: absolute;
  top: -6px;
  left: -6px;
}
body.lang-en .calculator_payment-methods .metod-line:first-child:before{
  background-image: url('../img/best_en.png');
}
body.lang-ru .calculator_payment-methods .metod-line:first-child:before{
  background-image: url('../img/best_ru.png');
}
.calculator_payment-methods .item .radio .radio-elem{
  margin-left: 40px;
}
.calculator_payment-methods .item{
  align-items: center
}
.calculator_payment-methods .price{
  font-size: 16px;
  font-weight: 500;
  margin-right: 40px;
}
.calculator_payment-methods .col-3{
  width: 50px
}
.calculator_payment-methods .col-4{
  width: 170px
}
.calculator_payment-methods .col-5{
  width: 220px;
  text-align: center
}
@media (max-width: 1199px){
  .calculator_payment-methods .col-5{
    width: 100px;
    text-align: center
  }
}
@media (max-width: 991px){
  .calculator_payment-methods .col-1{
    width: 130px
  }
  .calculator_payment-methods .col-4{
    width: 130px
  }
  .calculator_payment-methods .col-5{
    width: 50px;
    text-align: center
  }
  .calculator_payment-methods .item .radio .radio-elem{
    margin-left: 30px;
    margin-right: 0
  }
  .calculator_payment-methods .price{
    margin-right: 0;
  }
}

.delivery-calc .calculator_payment-methods .item .radio .radio-elem{
  margin-right: 15px;
}
.delivery-calc .calculator_payment-methods .metod-line:first-child:before{
  width: 60px;
  height: 60px;
  background-size: 60px 60px;
  top: -4px;
  left: -4px;
}
.delivery-calc .calculator_payment-methods .item .radio .radio-elem{
  margin-left: 10px;
}
.delivery-calc .calculator_payment-methods .col-2{
  width: 90px
}
.delivery-calc .calculator_payment-methods .col-3{
  width: 65px
}
.delivery-calc .col-4{
  width: auto
}

.referrals{
  padding: 25px 15px 15px;
}
.referrals .wrapper{
  border-radius: 5px;
  background-color: #fff;
  padding: 25px 25px 55px;
}
.referrals .title-page{
  padding-left: 25px;
}

.referrals .earned .title-h2{
    background-color: #daebf2;
}
.referrals .earned .earned-item:not(:last-child){
  margin-right: 30px;
}

.referrals .dashboard{
  margin-bottom: 50px
}
.referrals .rrssb-buttons{
  margin-bottom: 40px
}
.referrals .share-links{
  margin-bottom: 50px
}

.referrals input,
.referrals textarea{
  width: 100%;
  padding: 10px 15px;
  color: #595959;
}
textarea:read-only{
  background-color: rgb(235, 235, 228);
  border: 1px solid #ccc;
}

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

.rrssb-buttons.large-format{
  height: 36px;
}
.rrssb-buttons.large-format li:first-child:nth-last-child(4) a,
.rrssb-buttons.large-format li:first-child:nth-last-child(4) ~ li a {
  font-size:16px
}

.flag.flag-gb{
  background: url('../img/flags/gb.png') no-repeat center center;
  background-size: 32px;
}
.flag.flag-de{
  background: url('../img/flags/de.png') no-repeat center center;
  background-size: 32px;
}
.flag.flag-us{
  background: url('../img/flags/us.png') no-repeat center center;
  background-size: 32px;
}
.flag.flag-es{
  background: url('../img/flags/es.png') no-repeat center center;
  background-size: 32px;
}
.flag.flag-pl{
  background: url('../img/flags/pl.png') no-repeat center center;
  background-size: 32px;
}
.flag.flag-il{
  background: url('../img/flags/il.png') no-repeat center center;
  background-size: 32px;
}
.flag.flag-it{
  background: url('../img/flags/it.png') no-repeat center center;
  background-size: 32px;
}
.flag.flag-fr{
  background: url('../img/flags/fr.png') no-repeat center center;
  background-size: 32px;
}
.flag.flag-pt{
  background: url('../img/flags/pt.png') no-repeat center center;
  background-size: 32px;
}
.flag.flag-ru{
  background: url('../img/flags/ru.png') no-repeat center center;
  background-size: 32px;
}
.flag.flag-kz{
  background: url('../img/flags/kz.png') no-repeat center center;
  background-size: 32px;
}
.flag.flag-lt{
  background: url('../img/flags/lt.png') no-repeat center center;
  background-size: 32px;
}

.margin-right-15{
  margin-right: 15px;
}

.dd-option-image,
.dd-selected-image{
    max-width: 24px !important;
}

.auth-wrapper .brand-logo img,
.misc-wrapper .brand-logo img{
  height: 28px;
}

.main-menu .brand-text img{
  max-width: 130px;
}

@media (min-width: 1200px){
  .app-content.fixed-bottom{
    margin-left: 260px;
  }
}

table.dataTable{
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

table thead a{
  position: relative;
  display: block;
  padding-right: 20px;
}
table thead a::before{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235e5873' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-up'%3E%3Cpolyline points='18 15 12 9 6 15'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
  color: #6e6b7b;
  width: 14px;
  height: 14px;
  content: '';
  right: 0;
  top: calc(50% - 12px);
  display: block;
  position: absolute;
  opacity: .3;
}
table thead a::after{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235e5873' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
  color: #6e6b7b;
  width: 14px;
  height: 14px;
  content: '';
  right: 0;
  top: calc(50% - 2px);
  display: block;
  position: absolute;
  opacity: .3;
}
table thead a.desc::before{
  opacity: 1;
}
table thead a.asc::after{
  opacity: 1;
}

.orders-index .parcel-create{
  display: none;
  z-index: 99;
}
.orders-index .parcel-create.active + #ordersListWrapper{
  margin-bottom: 11em;
}
@media (max-width: 992px){
  .orders-index .parcel-create.active + #ordersListWrapper{
    margin-bottom: 14em;
  }
}
@media (max-width: 650px){
  .orders-index .parcel-create.active + #ordersListWrapper{
    margin-bottom: 19em;
  }
}
@media (max-width: 450px){
  .orders-index .parcel-create.active + #ordersListWrapper{
    margin-bottom: 23em;
  }
}

.orders-index .order-item-wrapper a:not(:first-of-type){
  display: none;
}

.popover .popover-body{
  border-radius: .358rem;
  border: 1px solid #EBE9F1;
}
.popover .popover-header ~ .popover-body{
  border-top-color: #fff;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.ecommerce-application .list-view .checkout-items .orders-items .ecommerce-card{
  grid-template-columns: 2fr 1fr;
}

.ecommerce-application .checkout-items .ecommerce-card .item-img img{
  width: unset;
  max-width: 170px;
}

.input-group > .select2-container {
  position: relative;
  -webkit-box-flex: 1;
  -webkit-flex: 1 1 auto;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  width: 1% !important;
  min-width: 0;
}

.input-group > .select2-container:not(:last-child) .select2-selection--single{
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

form > .select2-container{
  width: auto !important;
}

.select2-container .select2-selection--single{

}

.parcels-index .table tfoot{
  border-top: 1px solid #efefef;
}
.parcels-index .table tfoot td{
  font-weight: bold;
}
.parcels-index .table tfoot td.total-qty{
  position: relative;
}
.parcels-index .table tfoot td.total-qty span.label{
  position: absolute;
  right: calc(100% + .5rem);
}

.parcel-form-address-list .form-check,
.parcel-form-courier-list .form-check{
  padding: .5em 1em .5em 3em;
  border: 1px solid transparent;
}
.parcel-form-address-list .form-check.active,
.parcel-form-courier-list .form-check.active{
  border: 1px solid #efefef;
}

/* Orders grid: warehouses column layout and styles (mirror Admin bundle) */
.orders-warehouses {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 4px;
}

.orders-warehouses .warehouse-related {
  opacity: 0.5;
}

/* Order items modal: compact grid with extra breathing room */
.order-items-compact {
  padding: 1rem 1.25rem 1.25rem;
}
.order-items-compact .table {
  font-size: .857rem;
  margin-bottom: 0;
}
.order-items-compact .table th,
.order-items-compact .table td {
  padding: .75rem 1rem;
}
.order-items-compact .table th {
  white-space: nowrap;
}
.order-items-compact .table td.col-description {
  white-space: normal;
  word-break: break-word;
}

/* Break long strings (e.g. track numbers) so they don't stretch the grid */
.break {
  word-break: break-all;
  overflow-wrap: anywhere;
}