.speedy_hidden_checkout_fields  { display:none; }

.speedy_clear {clear:both; }

#woocommerce_speedy_shipping_method_live_description {
	  margin: 2px 0 5px;
  	  color: #666;
  	  font-style: italic;
  	  font-size: 14px;
  	  margin-bottom: 8px;

}
/* new speedy */
.speedy_shipping_to, .speedy_shipping_to_apt, .speedy_shipping_to_office, .speedy_shipping_to_address, .speedy_services, .speedy_shipping_to_address_type2 { display:none; } /* v admin nastroikite skrivam poleto s ime na ofis, koeto se zadava s js ot poleto Sender Office/Store*/

.ui-autocomplete-loading {
  background: url('/wp-includes/images/spinner.gif') no-repeat;
  background-position: right 10px center;
}


/* Center the loader */
#speedyLoader {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 100px;
  height: 100px;
  margin: -75px 0 0 -75px;
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid #dc0032;
  width: 100px;
  height: 100px;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* checkout filed style */
@media (min-width: 768px) {
#speedy_complex_id_field, #speedy_street_id_field {
  width: 60%;
}

#speedy_block_no_field, #speedy_street_no_field, #speedy_entrance_no_field, #speedy_floor_no_field, #speedy_apartment_no_field {
  width: 30%;
}

#speedy_entrance_no_field, #speedy_floor_no_field, #speedy_apartment_no_field {
  float: left;
}

#speedy_entrance_no_field, #speedy_floor_no_field {
  margin-right: 4.7% !important;
}

}

/* shipping to radio inline style */

.optional {
  display:none;
}

#speedy_shipping_to_field {
  overflow: hidden;
}


.speedy_shipping_to label {
  float: left;
  clear: none;
  padding: 2px 1em 0 0;
}

.speedy_shipping_to_input {
  float: left;
  clear: none;
  margin:  10px 5px 0 0;
}

/* speedy edit recipient address */

.speedy-table {
  border: 1px solid #ccc;
  border-collapse: collapse;
  margin:0;
  padding:0;
  width: 100%;
}
.speedy-table tr {
  border: 1px solid #ddd;
  padding: 5px;
}
.speedy-table th, .speedy-table td {
  padding: 10px;
  text-align: center;
}
.speedy-table th {
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
@media screen and (max-width: 600px) {
  .speedy-table {
    border: 0;
  }
  .speedy-table thead {
    display: none;
  }
  .speedy-table tr {
    border-bottom: 2px solid #ddd;
    display: block;
    margin-bottom: 10px;
  }
  .speedy-table td {
    border-bottom: 1px dotted #ccc;
    display: block;
    font-size: 13px;
    text-align: left;
  }
  .speedy-table td:last-child {
    border-bottom: 0;
  }
  .speedy-table td:before {
    content: attr(data-label);
    float: left;
    font-weight: bold;
    text-transform: uppercase;
  }
}

.edit_speedy_address, a.edit_speedy_address::after, #edit_speedy_address_user_checkout, a#edit_speedy_address_user_checkout::after  {
  font-family: Dashicons;
  content: '\f464';
  position: absolute;
  top: 0;
  left: 0;
  text-align: center;
  vertical-align: top;
  line-height: 14px;
  font-size: 14px;
  font-weight: 400;
}

a.edit_speedy_address, a#edit_speedy_address_user_checkout {
  width: 14px;
  height: 0;
  padding: 14px 0 0;
  margin: 0 0 0 6px;
  overflow: hidden;
  position: relative;
  color: #999;
  border: 0;
  float: right;
}

a.edit_speedy_address:hover {
    color: #000000;
}

#speedy_services_errors > p {
  color: #FF0000;
} 

/* wrap select2 checkout fields */
.select2-selection--single {
  height: 100% !important;
}
.select2-selection__rendered{
  word-wrap: break-word !important;
  text-overflow: inherit !important;
  white-space: normal !important;
}

.speedy_hide {
  display: none!important;
}

#speedy_user_checkout_field {
    cursor: pointer;
}

@media (max-width: 532px) {
  label[for=speedy_shipping_to_ADDRESS]:first-child {
      display: none !important;
  }
}

.select2-results__option.loading-results,
.select2-results__option.select2-results__option--load-more {
    background-image: url('/wp-admin/images/spinner.gif');
    background-repeat: no-repeat;
    padding-left: 35px;
    background-position: 10px 50%;
}

.speedy_wc_orders_list { 
  appearance: none; 
  background-color: inherit; 
  border: none; 
  border-radius: 6px; 
  box-shadow: none; 
  box-sizing: initial; 
  color: #2271b1; 
  cursor: pointer; 
  display: inline-block; 
  font-weight: inherit; 
  padding: 5px; 
  position: relative; 
  text-align: center; 
  text-decoration: none; 
  user-select: none; 
  -webkit-user-select: none; 
  touch-action: manipulation; 
  vertical-align: middle; 
  white-space: nowrap; 
  margin: 5px;
} 

.speedy_wc_orders_list:hover { 
  background-color: #dc0032;
  color: #fff;
  cursor: pointer; 
  margin: 5px; 
}

.speedy-colorbox-table {
    width: 100%;
    border-collapse: collapse;
}

.speedy-colorbox-table th, .speedy-colorbox-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
}

.speedy-colorbox-table th {
    background-color: #f4f4f4;
    font-weight: bold;
}

#order_parcel_form .client_id { 
  width:100%!important; 
}

#order_parcel_form td #client_id {
    width:100% !important;
    text-wrap: wrap;
}

.speedy-logo {
  height: 38px !important;
}
