.d-lookup {
  font-family: sans-serif;
  font-size: 16px;
}

.d-header {
  background: #f1f1f1;
  -moz-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
}

.d-bin-number {
  display: flex;
}
.d-bin-number .fas {
  padding: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.tooltip-inner {
  max-width: 10000px;
  padding: 0;
  color: #fff;
  text-align: center;
  background-color: transparent;
  border-radius: 0;
}
.tooltip.show {
  opacity: 1;
}
.bs-tooltip-auto[x-placement^=bottom], .bs-tooltip-bottom {
  padding: 0;
}


.drug-pricing-tooltip-container.tooltip .tooltip-inner{
    background: none;
}
.drug-pricing-tooltip-container.tooltip .arrow{
    display: none;
}

.d-search-fields {
  padding: 20px;
}

.d-search-fields .d-cell:first-child {
  width: 25%;
  margin-right: 30px;
  position: relative;
}

.d-location-wrap {
  width: 25%;
  margin-right: 30px;
  position: relative;
}

.d-no-results {
  padding: 20px;
  text-align: center;
}

.d-mappin {
  position: absolute;
  top: 12px;
  left: 10px;
  width: 22px;
  display: block;
}

.d-filter-icon {
  display: inline-block;
  width: 22px;
}

.d-filters {
  background: white;
  padding: 0 20px;
  border-top: 1px solid #ddd;
}

.d-btn-filters-mobile {
  display: none;
  width: 100%;
  text-align: center;
  background: white;
  font-size: 16px;
  height: 48px;
  line-height: 48px;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  border-radius: 2px;
  -moz-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.4);
  -webkit-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.4);
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.4);
  border: none;
  cursor: pointer;
}

.d-filters-summary {
  display: none;
  padding: 20px;
}

.d-filters-summary .d-filters-summary-title {
  color: #838383;
  display: block;
  font-weight: bold;
}

.d-btn.d-btn-applyfilter-mobile {
  display: none;
  width: 100%;
}

.d-row {
  display: flex;
  flex-direction: row;
  align-items: stretch;
}

.d-dropdown {
  font-weight: bold;
  font-size: 16px;
  border-right: 1px solid #eee;
  position: relative;
}

.d-dropdown:last-child {
  border-left: none;
}

.d-dropdown.d-dropdown-disable,
.d-dropdown.d-dropdown-disable:hover,
.d-dropdown.d-dropdown-disable:focus {
  background: #f7f7f7;
  color: #aaa;
  outline: none;
  cursor: text;
}

.d-dropdown.d-dropdown-disable .d-dropdown-btn:hover,
.d-dropdown.d-dropdown-disable:hover .d-dropdown-btn:hover,
.d-dropdown.d-dropdown-disable:focus .d-dropdown-btn:hover {
  background: #f7f7f7;
}

.d-dropdown-title {
  margin-bottom: 10px;
  padding: 10px;
  font-weight: normal;
  border-bottom: 1px solid #ddd;
}

.d-dropdown-btn {
  padding: 20px 25px;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.d-dropdown-btn:hover {
  background: #edf7ff;
  cursor: pointer;
}

.d-dropdown-menu {
  display: none;
  position: absolute;
  top: 50px;
  left: 0;
  background: white;
  padding: 10px 15px 10px 10px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  -moz-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.4);
  -webkit-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.4);
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.4);
  width: 300px;
  z-index: 2;
  max-height: 350px;
  overflow: auto;
}

.d-label {
  margin: 0px 0px 5px 0;
  display: block;
}

.d-divider {
  width: 100%;
  height: 1px;
  margin: 5px 0;
  background: #ccc;
}

.d-input {
  padding: 15px 0 15px 15px;
  border: 1px solid #ccc;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  display: block;
  width: 100%;
  font-size: 16px;
}

.d-input.d-input-sm {
  padding: 10px 0 10px 10px;
}

.d-input.d-location {
  padding-left: 40px;
}

.d-input.d-name {
  margin-right: 10px;
}

.d-cell.d-name-wrap {
  width: 25%;
  margin-right: 30px;
  position: relative;
}
.d-cell.d-name-wrap .d-input {
  width: 100%;
}
.d-cell.d-name-wrap .d-dropdown-menu {
  width: 350px;
}

.d-highlight {
  color: #0575E6;
}

.d-btn,
a.d-btn {
  padding: 0 15px;
  height: 56px;
  display: inline-block;
  background: #0575E6;
  color: white;
  text-transform: uppercase;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  border-radius: 2px;
  -moz-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.4);
  -webkit-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.4);
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.4);
  border: none;
  line-height: 56px;
  text-decoration: none;
  font-size: 14px;
  cursor: pointer;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.d-btn:hover,
a.d-btn:hover {
  background: #3790eb;
}

.d-btn.d-btn-find,
a.d-btn.d-btn-find {
  width: 25%;
}

.d-btn.d-btn-sm,
a.d-btn.d-btn-sm {
  height: 32px;
  line-height: 32px;
}

.d-btn.d-btn-lg,
a.d-btn.d-btn-lg {
  font-size: 18px;
  padding: 0 20px;
}

.d-btn.d-btn-primary,
a.d-btn.d-btn-primary {
  background: #b90000;
  color: #ffffff;
}

.d-btn.d-btn-primary:hover,
a.d-btn.d-btn-primary:hover {
  background: #d60202;
}

.d-mt-5 {
  margin-top: 5px;
}

.d-fieldwrap {
  padding: 10px 15px;
  border-top: 1px solid #ccc;
  margin-top: 10px;
}

.d-dropdown-list {
  margin: 0;
  padding: 0;
}

.d-dropdown-item {
  list-style-type: none;
  display: block;
  width: 100%;
}

.d-dropdown-option {
  border: none;
  background: none;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  padding: 7px 15px;
  font-size: 16px;
  font-weight: bold;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  display: block;
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.d-dropdown-option:hover,
.d-dropdown-option:focus {
  background: #f1f1f1;
  outline: none;
}

.d-dropdown-text {
  margin-right: 10px;
}

.d-nosavings .d-price-text {
  color: #838383;
}

.d-details{
  padding: 20px;
}
.d-muted{
    opacity: .6;
}
.d-desc{
  margin-top: 10px;
}
.dl-20{
  margin-left: 20px;
}
.d-results {
  margin: 20px 0 40px 0;
  background: white;
  border: 1px solid #ccc;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
  opacity: 0;
}

.d-results.show {
  opacity: 1;
}

.d-results .d-row {
  border-top: 1px solid #ccc;
}

.d-results .d-row:first-child {
  border-top: none;
}

.d-results .d-row:nth-child(odd) {
  background: #fafafa;
}

.d-results .d-cell {
  padding: 20px;
}

.d-results .d-cell:first-child {
  width: 60%;
}

.d-results .d-cell:nth-child(2),
.d-results .d-cell:nth-child(3),
.d-results .d-cell:nth-child(4),
.d-results .d-cell:nth-child(5) {
  width: 20%;
  text-align: right;
  min-width: 200px;
  margin: auto;
}
 
.d-results .d-cell.d-cell-cardbtnLg {
  min-width: 220px;
}
 
.d-results .d-cell:nth-child(2) .d-small,
.d-results .d-cell:nth-child(3) .d-small,
.d-results .d-cell:nth-child(4) .d-small,
.d-results .d-cell:nth-child(5) .d-small {
  display: block;
  margin-top: 5px;
}

.d-results .d-cell:nth-child(2) .d-btn,
.d-results .d-cell:nth-child(3) .d-btn,
.d-results .d-cell:nth-child(4) .d-btn,
.d-results .d-cell:nth-child(5) .d-btn {
  margin-top: 5px;
}

.d-pharmacy-address {
  margin: 5px 0 0 0;
  text-transform: none;
  color: #838383;
  display: block;
}

.d-pharmacy-text {
  font-size: 20px;
  padding-top: 7px;
}

.d-small {
  font-size: 14px;
}

.d-price-text {
  font-size: 24px;
  margin-top: 5px;
  color: #5ac787;
  font-weight: bold;
}

.d-price-text.d-exclusive {
  color: #b90000;
}

.d-price-text.d-strikethru {
  font-size: 12px;
  color: #838383;
  text-decoration: line-through;
}

.d-spinner {
  width: 80px;
  text-align: center;
  margin: 0 auto;
  margin-top: 10px;
  margin-bottom: 10px;
}

.d-spinner>div {
  width: 12px;
  height: 12px;
  background-color: #8abadc;
  border-radius: 100%;
  display: inline-block;
  -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
  animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

.d-spinner-wrap {
  width: 150px;
  margin: 0 auto;
}

.d-spinner .d-bounce1 {
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}

.d-spinner .d-bounce2 {
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}

.d-spinner-msg {
  text-align: center;
  margin: 10px;
}

.d-error-msg {
  padding: 20px;
  text-align: center;
}

.d-seperator {
  margin: 0 5px;
}

.d-cell.d-nopad {
  padding: 0 !important;
}

@-webkit-keyframes sk-bouncedelay {
  0%,
  80%,
  100% {
    -webkit-transform: scale(0);
  }
  40% {
    -webkit-transform: scale(1);
  }
}

@keyframes sk-bouncedelay {
  0%,
  80%,
  100% {
    -webkit-transform: scale(0);
    transform: scale(0);
  }
  40% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

.d-overflow-hidden {
  overflow: hidden;
}

@media (max-width: 1200px) {
  .d-search-fields .d-cell:first-child {
    width: 200px;
  }
  .d-cell.d-name-wrap {
    width: calc(100% - 200px);
    position: relative;
  }
  .d-search-fields .d-cell:first-child.d-input {
    width: 100%;
  }
  .d-hide-1024 {
    display: none;
  }
  .d-results .d-row {
    flex-wrap: wrap;
  }
  .d-results .d-row .d-cell:first-child {
    width: 100%;
  }
  .d-results .d-row .d-cell {
    text-align: left !important;
  }
  .d-results .d-row .d-cell:last-child {
    text-align: right !important;
  }
}

@media(max-width: 1024px) {
  .d-cell.d-nopad {
    display: none;
  }
}

@media (max-width: 990px) {
  .d-results .d-row .d-cell:last-child {
    width: 100%;
    text-align: left !important;
  }
  .d-results .d-cell:nth-child(2),
  .d-results .d-cell:nth-child(3),
  .d-results .d-cell:nth-child(4),
  .d-results .d-cell:nth-child(5) {
    width: 32%;
    min-width: 0;
  }
}

@media (max-width: 800px) {
  .d-results .d-cell:nth-child(2),
  .d-results .d-cell:nth-child(3),
  .d-results .d-cell:nth-child(4),
  .d-results .d-cell:nth-child(5) {
    width: 50%;
    padding: 5px 20px;
  }
  .d-results .d-cell:last-child {
    padding-bottom: 20px;
  }
  .d-search-fields .d-cell:first-child {
    width: 100%;
  }
  .d-cell.d-name-wrap, .d-location-wrap {
    width: 100%;
    margin: 0 0 10px 0;
  }
  .d-search-fields .d-cell:first-child {
    margin: 0px 0px 10px 0;
    width: 100%;
  }
  .d-btn.d-btn-find {
    width: 100%;
    margin-left: 0px;
    display: block;
  }
  .d-header .d-row {
    display: block;
    flex: unset;
  }
  .d-cell.d-name-wrap .d-dropdown-menu {
    width: 100%;
  }
  .d-filters-wrap {
    position: fixed;
    background: white;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    z-index: 2;
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -ms-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
    display: none;
    z-index: 999999;
  }
  .d-filters .d-dropdown {
    border-bottom: 1px solid #ccc;
    border-right: none;
  }
  .d-filters .d-dropdown:last-child {
    border-bottom: none;
  }
  .d-filters .d-dropdown .d-dropdown-arrow {
    position: absolute;
    top: 24px;
    right: 20px;
  }
  body.show-filters {
    overflow: hidden;
  }
  body.show-filters .d-filters-wrap {
    display: block;
  }
  body.show-filters .d-btn.d-btn-applyfilter-mobile {
    display: block;
    width: 100%;
    margin-top: 20px;
    -webkit-box-shadow: 0 0 20px undefinedpx rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 20px undefinedpx rgba(0, 0, 0, 0.4);
  }
  body.reveal-filters .d-filters-wrap {
    opacity: 1;
  }
  body.init-drug-search .d-btn-filters-mobile {
    display: block;
  }
  body.init-drug-search .d-filters-summary {
    display: block;
  }
}