#esc-qty-txt {
padding: 0;
}

/* =========================================================
   CALCOLO COSTI DI SPEDIZIONE - TRISOLINO ARREDI
   ========================================================= */

#esc-content {
  margin: 24px 0 !important;
  padding: 0 !important;
  background: transparent !important;
  overflow: visible !important;
}

#esc-content .card {
  background: #fff !important;
  border: 1px solid #e7e7e7 !important;
  border-radius: 14px !important;
  box-shadow: 0 4px 16px rgba(0,0,0,.06) !important;
  overflow: visible !important;
}

#esc-content .card-header,
#esc-content #container-title {
  background: #fff !important;
  border: 0 !important;
  border-bottom: 1px solid #eee !important;
  padding: 0 !important;
}

#esc-content #toggle_form_esc {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  padding: 17px 20px !important;
  margin: 0 !important;
  background: #fff !important;
  color: #333 !important;
  border: 0 !important;
  box-shadow: none !important;
  text-decoration: none !important;
  text-align: left !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
}

#esc-content #toggle_form_esc:hover {
  color: #c98246 !important;
  background: #fafafa !important;
}

#esc-content #form_esc {
  padding: 20px !important;
  background: #fff !important;
  overflow: visible !important;
}

#esc-content #form_esc .row {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: flex-end !important;
  gap: 16px !important;
  overflow: visible !important;
}

#esc-content #form_esc .row > div {
  display: flex !important;
  flex: 1 1 0 !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  overflow: visible !important;
}

#esc-content #form_esc .row > div:last-child {
  flex: 0 0 145px !important;
}

#esc-content #form_esc label {
  display: block !important;
  width: auto !important;
  height: 22px !important;
  min-height: 22px !important;
  line-height: 22px !important;
  margin: 0 0 8px !important;
  padding: 0 !important;
  color: #444 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  border: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
}

#esc-content #form_esc label::before,
#esc-content #form_esc label::after,
#esc-content #form_esc .row > div::before,
#esc-content #form_esc .row > div::after {
  content: none !important;
  display: none !important;
}

#esc-content input {
  width: 100% !important;
  height: 44px !important;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 9px 12px !important;
  background: #fff !important;
  color: #333 !important;
  border: 1px solid #d9d9d9 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}

#esc-content .bootstrap-select {
  height: 44px !important;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}

#esc-content .bootstrap-select > .dropdown-toggle {
  height: 44px !important;
  min-height: 44px !important;
  margin: 0 !important;
  background: #fff !important;
  color: #333 !important;
  border: 1px solid #d9d9d9 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  font-weight: 400 !important;
}

#esc-content input:hover,
#esc-content .bootstrap-select > .dropdown-toggle:hover {
  border-color: #c98246 !important;
}

#esc-content input:focus,
#esc-content .bootstrap-select > .dropdown-toggle:focus {
  background: #fff !important;
  color: #333 !important;
  border-color: #c98246 !important;
  box-shadow: 0 0 0 3px rgba(201,130,70,.10) !important;
  outline: none !important;
}

#esc-content .bootstrap-select .filter-option,
#esc-content .bootstrap-select .filter-option-inner,
#esc-content .bootstrap-select .filter-option-inner-inner {
  color: #333 !important;
  background: transparent !important;
  text-align: left !important;
  font-weight: 400 !important;
}

/* PULSANTE CALCOLA */
#esc-content button.btn,
#esc-content .btn-primary {
  width: 145px !important;
  height: 44px !important;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 0 24px !important;
  background: #c98246 !important;
  color: #fff !important;
  border: 1px solid #c98246 !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}

#esc-content button.btn:hover,
#esc-content .btn-primary:hover {
  background: #b8743d !important;
  border-color: #b8743d !important;
}

/* MENU PROVINCE */
#esc-content .bootstrap-select .dropdown-menu {
  top: 100% !important;
  bottom: auto !important;
  z-index: 99999 !important;
  margin-top: 4px !important;
  max-height: 320px !important;
}

#esc-content .bootstrap-select.dropup .dropdown-menu {
  top: 100% !important;
  bottom: auto !important;
  margin-top: 4px !important;
  margin-bottom: 0 !important;
}

#esc-content .bootstrap-select .dropdown-menu .inner {
  max-height: 280px !important;
  overflow-y: auto !important;
}

/* =========================================================
   RISULTATI SPEDIZIONE
   ========================================================= */

#esc-content table {
  width: 100% !important;
  margin: 0 !important;
  background: #fff !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border-top: 1px solid #eee !important;
}

#esc-content table thead th {
  background: #f7f7f7 !important;
  color: #333 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  padding: 14px 16px !important;
  border-bottom: 1px solid #e7e7e7 !important;
  vertical-align: middle !important;
}

#esc-content table tbody td {
  background: #fff !important;
  color: #444 !important;
  padding: 15px 16px !important;
  border: 0 !important;
  border-bottom: 1px solid #eee !important;
  vertical-align: middle !important;
  line-height: 1.45 !important;
}

#esc-content table tbody tr:last-child td {
  border-bottom: 0 !important;
}

#esc-content table tbody tr:hover td {
  background: #fafafa !important;
}

#esc-content table th:nth-child(3),
#esc-content table td:nth-child(3),
#esc-content table th:nth-child(4),
#esc-content table td:nth-child(4) {
  text-align: right !important;
  white-space: nowrap !important;
}

#esc-content table td:nth-child(3) {
  font-weight: 600 !important;
}

#esc-content table td:nth-child(4) {
  font-weight: 700 !important;
  color: #222 !important;
}

#esc-content table img {
  max-width: 44px !important;
  max-height: 44px !important;
  object-fit: contain !important;
  margin-right: 10px !important;
  vertical-align: middle !important;
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

  #esc-content {
    margin: 18px 0 !important;
  }

  #esc-content #toggle_form_esc {
    padding: 15px 16px !important;
    font-size: 16px !important;
  }

  #esc-content #form_esc {
    padding: 16px !important;
  }

  #esc-content #form_esc .row {
    display: block !important;
  }

  #esc-content #form_esc .row > div {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 12px !important;
  }

  #esc-content button.btn,
  #esc-content .btn-primary {
    width: 100% !important;
  }

  #esc-content table thead {
    display: none !important;
  }

  #esc-content table,
  #esc-content table tbody,
  #esc-content table tr,
  #esc-content table td {
    display: block !important;
    width: 100% !important;
  }

  #esc-content table tbody tr {
    margin-bottom: 14px !important;
    border: 1px solid #e7e7e7 !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    background: #fff !important;
  }

  #esc-content table tbody td {
    padding: 11px 14px !important;
    text-align: left !important;
    white-space: normal !important;
    border-bottom: 1px solid #eee !important;
  }

  #esc-content table tbody td:last-child {
    border-bottom: 0 !important;
  }
}