@keyframes bsub-fadeInFromNone {
  0% {
    display: none;
    opacity: 0;
  }
  1% {
    display: block;
    opacity: 0;
  }
  100% {
    display: block;
    opacity: 1;
  }
}
.bsub__hidden {
  display: none;
}

.bsub-widget {
  padding: 0 5px !important;
  border: 0 !important;
  margin: 0 !important;
}
.bsub-widget legend {
  margin-bottom: 5px;
}

.bsub-widget__wrapper {
  padding: 24px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.4);
  background-color: #f8f9f9;
  font-size: 14px;
}
.bsub-widget__wrapper fieldset {
  border: 0;
  background-color: inherit;
  margin: 0;
  padding: 0;
}
.bsub-widget__wrapper legend {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.bsub-widget__wrapper--single .bsub-widget__groups-container {
  display: none;
}
.bsub-widget__wrapper--single .bsub-widget__plans-container,
.bsub-widget__wrapper--single .bsub-widget__options-container {
  margin-top: 0;
}

.bsub-widget__description {
  margin-top: 20px;
  padding-top: 10px;
  color: black;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.bsub-widget__groups-container {
  display: flex;
  align-items: stretch;
}
.bsub-widget__groups-container input[type=radio] {
  display: none;
}
.bsub-widget__groups-container:only-child {
  margin-bottom: 0;
}

.bsub-widget__group {
  flex: 1 1 100%;
}
.bsub-widget__group + .bsub-widget__group {
  margin-left: 1em;
}

.bsub-widget__group-header {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  padding: 1rem;
  transition: 0.3s;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  background-color: white;
}
.bsub-widget__group-header .bsub-widget__image {
  display: block;
  width: 4em;
  height: 4em;
}

@media (hover: hover){
    .bsub-widget__group-header:hover {
        box-shadow: 0px 0px 2px 2px rgba(0, 0, 0, 0.2);
      }
}

.bsub-widget__group-label {
  height: 100%;
}

.bsub-widget__group-discount-summary {
  font-size: 12px;
}

.bsub-widget__plans-container,
.bsub-widget__options-container {
  animation: bsub-fadeInFromNone 100ms ease-in-out;
  margin-top: 24px;
}
.bsub-widget__plans-container input[type=radio],
.bsub-widget__options-container input[type=radio] {
  display: none;
}
.bsub-widget__plans-container fieldset + fieldset,
.bsub-widget__options-container fieldset + fieldset {
  margin-top: 10px;
}

.bsub-widget__plan,
.bsub-widget__option {
  width: 100%;
}
.bsub-widget__plan + .bsub-widget__plan,
.bsub-widget__plan + .bsub-widget__option,
.bsub-widget__option + .bsub-widget__plan,
.bsub-widget__option + .bsub-widget__option {
  margin-top: 5px;
}

.bsub-widget__plan-header {
  display: flex !important;
  align-items: center;
  padding: 6px;
  border-radius: 8px;
}
.bsub-widget__plan-header .bsub-widget__image {
  width: 20px;
  height: 20px;
  margin-right: 8px;
}
.bsub-widget__plan-header .bsub-widget__text {
  flex-grow: 1;
}
input:checked + .bsub-widget__plan-header {
  font-weight: 700;
  color: #7DBA63;
  background: #7dba6312;
}
input:checked + .bsub-widget__plan-header .bsub-widget__unchecked-icon {
  display: none;
}
input:not(:checked) + .bsub-widget__plan-header .bsub-widget__checked-icon {
  display: none;
}
input:not(:checked) + .bsub-widget__plan-header:hover {
  background: rgba(0, 0, 0, 0.03);
}

.bsub-cart__selling-plan-details,
.bsub-cart-popup__selling-plan-details {
  font-size: 12px;
}

.bsub-widget__toggle-details-btn {
  background: none;
  border: none;
  padding: 0;
  font-size: 13px;
  color:rgba(0, 0, 0, 0.7);
  cursor: pointer;

  display: flex;
  align-items: center;
}

.bsub-widget__toggle-details-btn:hover {
  text-decoration: underline;
}

.bsub-widget__toggle-details-btn .bsub-widget__icon-info {
  margin-right: 5px;
  width: 14px;
  height: 20px;
}

.bsub-widget__toggle-details-btn div {
  margin-right: 5px;
}

.bsub-widget__toggle-details-btn .bsub-widget__icon-chevron {
  transform: rotate(90deg);
  transition: transform 0.2s ease-in-out;
}

.bsub-widget__toggle-details-btn--closed .bsub-widget__icon-chevron {
  transform: rotate(0deg);
}

.bsub-widget__extra-actions {
  padding-top: 24px;
}

/**
 * NOTE: max-height must be a fixed value for transition animation to work properly.
*/
.bsub__collapsible-wrapper {
  transition: max-height 0.8s ease-in-out;
  overflow: hidden;
  background-color: inherit;
  max-height: 400px;
}

.bsub__collapsible-wrapper--closed {
  max-height: 0;
  padding: 0;
}

.bsub-widget__sub-details {
  display: flex;
  flex-direction: column;
  margin-top: 10px;
  padding: 24px 24px 26px;
  font-size: 14px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.03);
  box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.1);;
}

.bsub-widget__sub-details p {
  margin: 0;
}

.bsub-widget__sub-details-heading {
  font-weight: 700;
}

.bsub-widget__policy-link {
  color: #0d92f2;
}

.bsub-widget__branding {
  display: flex;
  align-self: center;
  align-items: center;
  justify-content: center;
  margin-top: 1.5rem;
  border-radius: 300px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  max-height: 28px;
  padding: 15px;
  user-select: none;
}

.bsub-widget__branding div {
  padding-right: 5px;
  font-size: 10px;
  white-space: nowrap;
}

.bsub-widget__branding .bsub-widget__image {
  height: 15px;
}