/**
 * Custom Stylesheet
 */

/**
 * Utilities
 */

.section-subtitle {
  margin: 0 0 10px;
}

.bin-wrapper-intro-text {
  margin: 0 auto;
  border-bottom: 15px solid white;
}

.bin-wrapper-intro-text-content {
  /*max-width: 544px;*/
  text-align: left;
  margin: 0 auto;
}

.u-text-notice {
  font-size: 16px;
}

.u-ptb-60 {
  padding-top: 60px !important;
  padding-bottom: 60px !important;
}

.respond {
  max-width: 100%;
  height: auto;
}

.u-text-primary {
  color: #015788;
}

.container-small {
  max-width: 830px;
}

.infographic-large {
  display: block;
  margin: 20px auto 36px;
  max-width: 100%;
  height: auto;
}

.infographic-large img {
  max-width: 100%;
  height: auto;
}

.has-underline {
  padding-bottom: 0;
  margin-bottom: 10px;
}

.u-mt-30 {
  margin-top: 30px;
}

.u-mb-30 {
  margin-bottom: 30px;
}

/* challenge specificity without resorting to !important */
.has-underline.has-underline.has-underline::after {
  content: "";
  border-bottom: 1px solid #5cc050;
  width: 100px;
  height: 0;
  display: block;
  margin: 15px auto;
}

.has-left-underline::after {
  content: "";
  border-bottom: 1px solid #5cc050;
  width: 100px;
  height: 0;
  display: block;
  margin: 15px 0 0;
}

.modal.image-only .modal-content {
  background: transparent;
  box-shadow: none;
  border: none;
}

.modal.image-only .modal-content img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}

.modal.image-only .modal-header .close {
  color: #fff;
  opacity: 1;
  text-shadow: none;
}

.modal.image-only .modal-header,
.modal.image-only .modal-footer {
  border: none;
  padding-left: 0;
  padding-right: 0;
}

.bin-results .signup-button-container .btn {
  font-size: 20px !important;
}

@media (max-width: 382px) {
  .bin-results .signup-button-container .btn {
    padding: 4px 0 !important;
  }

  .bin-results .signup-button-container .fa-shopping-cart {
    display: none;
  }
}

/* Style the dropdown for bin sizes  */
.c-bin .input-group {
  background: #2dca84;
  margin-top: 10px;
}

.c-bin .dropdown {
  text-align: right;
}

.c-bin .dropdown button {
  width: 100%;
}

/* Container for the bins */
.bin-wrapper {
  background: #f2f2f2;
  border: 1px solid #005984;
}

.bin-wrapper-title-text {
  margin: 0;
  padding: 30px 0 10px;
}

.bin-wrapper-inner {
  padding: 0;
}

.bin-wrapper-title {
  text-align: center;
  background: #fff;
}

.bin-results .signup-button-container {
  padding-bottom: 5px !important;
}

/* Bin component */
.c-bin {
  width: 100%;
  display: table;
  table-layout: fixed;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  position: relative;
  margin-bottom: 17px;
  padding: 30px 25px;
}

.c-bin__title {
  font-size: 18px;
  margin-bottom: 5px;
  margin-top: 0;
}

.c-bin__size {
  font-size: 14px;
}

.c-bin__image {
  max-width: 80px;
  height: auto;
}

.c-bin__badge-container {
  width: 80px;
}

.c-bin__title-container {
  text-align: left;
  width: 240px;
  flex: 0 0 240px;
}

.c-bin__badge {
  position: relative;
  text-align: center;
  display: table-cell;
  vertical-align: middle;
  width: 80px;
  height: 80px;
  background: #ffc424;
  border-radius: 50%;
}

.c-bin__badge-price {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 5px;
}

.c-bin__badge-price.no-underline::after {
  display: none;
}

.c-bin__badge-price.no-underline {
  margin-bottom: 0;
}

.c-bin__badge-price::after {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  background: #5cc050;
  margin: 0 auto;
}

.c-bin__badge-info {
  margin: 0;
  font-weight: 200;
  font-size: 12px;
}

.c-bin__service-charge {
  border: 1px solid #ffc222;
  max-width: 347px;
  padding: 27px 15px;
  margin: 20px auto;
}

.c-bin__service-charge > *:last-child {
  margin-bottom: 0;
}

.c-bin__service-charge-title {
  font-size: 16px;
  margin-bottom: 0;
}

.c-bin__service-charge-cost {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 5px;
}

.c-bin__service-charge-text {
  font-size: 14px;
}

/* Icon list on pay by weight info page */
.c-icon-list {
  display: table;
  table-layout: fixed;
  max-width: 100%;
  list-style: none;
  text-align: center;
  margin: 20px 0;
  padding: 0;
}

.c-icon-list__item {
  display: block;
  position: relative;
  padding: 0 10px;
}

/*
.c-icon-list__item:not(:last-child):not(.is-grid-on-small) {
*/

.c-icon-list__item:not(:last-child) {
  border-bottom: 1px solid #2dca84;
}

.c-icon-list__icon {
  display: block;
  margin: 20px auto;
}

/* Getting fancy now */
.c-fancy-list {
  display: table;
  list-style: none;
  margin: 30px auto;
  padding: 0;
  table-layout: fixed;
  max-width: 100%;
  text-align: center;
}

.c-fancy-list__item {
  display: block;
  overflow: hidden;
  position: relative;
  position: relative;
  padding: 0 10px;
  margin-bottom: 20px;
}

.c-fancy-list__icon-container::before,
.c-fancy-list__icon-container::after {
  content: "";
  display: block;
  position: absolute;
  left: 50%;
  z-index: 1;
  bottom: 110px;
}

.c-fancy-list__icon-container {
  position: relative;
}

.c-fancy-list__icon-container::before {
  height: 100%;
  border-left: 2px dotted #5cc050;
}

.c-fancy-list__icon-container::after {
  width: 8px;
  height: 8px;
  margin-left: -3px;
  background: #5cc050;
  border-radius: 50%;
}

.c-fancy-list__text {
  position: relative;
  padding: 20px 10px;
  z-index: 2;
  background: #f2f2f2;
  font-size: 14px;
  border: 2px dotted #5cc050;
  max-width: 250px;
  margin: 0 auto 75px;
}

.c-fancy-list__text > *:last-child {
  margin-bottom: 0;
}

.c-fancy-list__icon {
  max-height: 100px;
  width: auto;
}

.c-fancy-list__title {
  font-weight: bold;
  font-size: 14px;
  margin: 0;
}

/* Table object */
.o-table {
  table-layout: fixed;
  width: 100%;
}

.o-table th,
.o-table td {
  font-size: 14px;
  padding: 5px 0;
  border: none !important;
  vertical-align: top !important; /* sorry, had to */
}

.o-table th {
  width: 25%;
  font-weight: bold;
}

@media (min-width: 992px) and (max-width: 1199px) {
  .c-bin {
    padding: 30px 10px;
  }

  .c-bin__title-container {
    width: 216px;
    font-size: 12px;
  }

  .bin-results .signup-button-container .btn {
    font-size: 15px !important;
  }

  .c-bin__image-container {
    max-width: 60px;
  }

  .c-bin__image-container img {
    max-width: 100%;
  }
}

@media (min-width: 600px) {
  .c-bin__title--small {
    max-width: 145px;
  }

  .c-bin {
    min-height: 196px;
  }

  .c-fancy-list__item,
  .c-icon-list__item {
    display: table-cell;
    width: 2%; /* makes sure they're all equal width */
  }

  .c-icon-list__item:not(:last-child) {
    border-bottom: 1px solid #5cc050;
  }

  /*
   .c-icon-list__item:not(:last-child):not(.is-grid-on-small) {
    border-bottom: none;
  }
  */

  .c-icon-list__item:not(:last-child) {
    border-bottom: none;
  }

  .c-icon-list__item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    display: block;
    height: 100%;
    width: 1px;
    background: #5cc050;
  }

  .c-bin__badge-container {
    position: relative;
  }

  .c-bin__image-container {
    text-align: left;
    position: relative;
  }

  .c-bin__title-container,
  .c-bin__badge-container {
    flex: 0 0 auto;
    display: table-cell;
    vertical-align: middle;
  }

  .bin-wrapper-inner {
    padding: 17px;
  }

  .bin-wrapper-inner .bin-results {
    padding: 0;
  }

  .o-table th {
    width: 10%;
  }
}

@media (min-width: 200px) and (max-width: 600px) {
  #priceperkg {
    position: relative !important;
  }
  #peryearcost {
    display: none !important;
  }
  #excessCost {
    margin-bottom: 0px !important;
  }
}

/* This is for the icon lists that differ from standard styles on mobile */
@media (max-width: 600px) {
  .c-icon-list {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  .c-icon-list:not(.full-on-mobile)::before {
    content: "";
    position: absolute;
    width: 1px;
    height: 100%;
    left: 50%;
    top: 0;
    background: #5cc050;
  }

  .c-icon-list__item {
    width: 50%;
  }

  .full-on-mobile .c-icon-list__item {
    width: 100%;
  }

  .c-icon-list__item:last-child {
    border-bottom: 1px solid #5cc050c;
  }

  .c-bin__title-container {
    flex: 1 1 auto;
    margin: 30px 0;
  }

  .c-bin__badge-container {
    width: 100%;
  }

  .c-bin__badge-price.no-underline {
    margin-top: 9px;
  }

  .bin-results .signup-button-container > .btn {
    font-size: 13px !important;
  }

  .c-bin__title-container {
    text-align: center;
  }

  .c-bin__badge {
    margin: 10px auto 0;
    display: block;
    padding-top: 17px;
  }

  .c-bin__image {
    max-width: 60px;
  }

  .c-bin {
    flex-direction: column;
  }
}

.page-template-price-plan-overview-php .breadcrumbs + h1 small,
.page-template-prices_by_weight-php .breadcrumbs + h1 small {
  font-size: 15px;
}
