.ancestry-bundle {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  width: 100% !important;
  height: 100% !important;
}

.ancestry-bundle-page__container {
  width: 848px;
  max-height: 730px;
  background: #F3F7FB;
  box-shadow: 3px 4px 10px rgba(48, 68, 93, 0.27624);
  overflow-y: auto;
  position: relative;

}
.ancestry-bundle-page__container.post_bundle{
   overflow: visible;
}

.ancestry-bundle-logo{
  position:absolute;
  width:74px;
  height:74px;
  left:0;
  right:0;
  margin:0 auto;
  border:5px solid white;
  border-radius: 50%;
  box-shadow: 0px 4px 10px rgba(74, 93, 128, 0.13);
  transform:translateY(-40%);
}
.ancestry-bundle-page__heading {
  margin: 20px 0;
  font-style: normal;
  font-weight: 600;
  font-size: 30px;
  line-height: 36px;
  text-align: center;
  color: #263856;
}

.ancestry-bundle-page__subheading {
  margin: 20px 0;
  font-style: normal;
  font-weight: 600;
  font-size: 20px;
  line-height: 28px;
  text-align: center;
  text-transform: uppercase;
  color: #FF7C11;
}

.ancestry-bundle-page__subheading-normal {
  margin: 20px 0;
  font-style: normal;
  font-weight: 600;
  font-size: 20px;
  line-height: 28px;
  text-align: center;
  color: #263856;
}

.ancestry-bundle-thanks-title{
  font-weight: 600;
  font-size: 24px;
  line-height: 32px;
  text-align: center;
  color: #263856;
  margin-bottom: 16px;
}
.ancestry-bundle-upsell-caption{
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  color: #FF7C11;
}
.ancestry-bundle-upsell-action{
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  color: #263856;
}

.ancestry-bundle-page__item-list{
  max-height: 500px;
  min-height: 400px;
  overflow: scroll;
  padding-bottom: 150px;
}
.ancestry-bundle-page__item {
  display: flex;
  height: 166px;
  margin: 0 80px 20px;
  padding: 20px;
  background: rgba(243, 247, 251, 0.3);
  border: 1px solid rgba(144, 171, 207, 0.3);
  box-sizing: border-box;
  box-shadow: 0px 4px 10px rgba(74, 93, 128, 0.13);
  border-radius: 4px;
  transition: all 0.25s;
  overflow: hidden;
}

.ancestry-bundle-page__item.inactive {
  opacity: 0.5;
  display: none;
}

.ancestry-bundle-page__item__image {
  width: 225px;
  height: 142px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.ancestry-bundle-page__item__content {
  max-width: 300px;
  position: relative;
}

.ancestry-bundle-page__item__content .mobile-icon {
  display: none;
}

.ancestry-bundle-page__item__content__header {
  margin-right: 14px;
  width: 115px;
  z-index: 1;
}

.ancestry-bundle-page__item__content__header .desktop-icon {
  display: block;
  margin-right: 10px;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
}

.ancestry-bundle-page__item__content__header h3 {
  margin: 0 0 14px;
  font-style: normal;
  font-weight: 600;
  font-size: 22px;
  line-height: 22px;
  color: #263856;
  transition: color 0.25s;
}

.ancestry-bundle-page__item__content__text {
  margin: 0;
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  line-height: 18px;
  color: #263856;
  width: 203px;
  transition: color 0.25s;
}

.ancestry-bundle-page__item__switch {
  display: flex;
  margin-right: 16px;
  flex-direction: column;
  align-items: end;
  justify-content: space-between;
  position: relative;
}

.ancestry-bundle-page__item__price .old {
  font-style: normal;
  font-weight: normal;
  font-size: 16px;
  line-height: 20px;
  text-align: right;
  text-decoration-line: line-through;
  color: #263856;
  opacity: 0.4;
  margin-right: 8px;
  transition: color 0.25s;
}

.ancestry-bundle-page__item__price .new {
  font-style: normal;
  font-weight: 600;
  font-size: 24px;
  line-height: 29px;
  text-align: right;
  color: #263856;
  position: relative;
  z-index: 1;
  transition: color 0.25s;
}

.ancestry-bundle-item__ancestry {
  position: relative;
}

.ancestry-bundle-item__ancestry:before {
  content: '';
  background: #FFFFFF;
  box-shadow: 3px 4px 10px rgba(48, 68, 93, 0.27624);
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 0;
  left: 0;
  right: 0;
  top: 0;
  opacity: 0;
  transition: opacity 0.25s;
}

.ancestry-bundle-item__ancestry.active:before {
  opacity: 1;
}

.ancestry-bundle-item__viking svg circle {
  fill: #263856;
  transition: all 0.25s;
}

.ancestry-bundle-item__viking svg path {
  fill: white;
  transition: all 0.25s;
}

.ancestry-bundle-item__viking.active {
  background: #FFFFFF;
  box-shadow: 3px 4px 10px rgba(48, 68, 93, 0.27624);

}

.item__image {
  position: absolute;
  width: 100%;
  bottom: 0;
  left: 0;
}

.ancestry-bundle-invoice-section {
  margin: 0 0 30px;
  padding: 30px 80px 20px;
  background: #FFFFFF;
  box-shadow: 0px 4px 6px rgba(195, 203, 217, 0.501912);
  width: 100%;
}
.ancestry-bundle-page__container.post_bundle  .ancestry-bundle-invoice-section{
  padding-top: 71px;
}

input[type="checkbox"] {
  width: 16px;
  height: 16px;
  transition: all 0.2s ease-out;
  -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  -ms-transition: all 0.2s ease-out;
  appearance: initial;
  box-sizing: border-box;
  border: 1px solid rgba(38, 56, 86, 0.6);
  border-radius: 2px;
  background-size: 0;
  background-image: url("/static/img/research_survey/checked.fbd5de8d40af.svg");
  background-position: center;
  background-repeat: no-repeat;
}

input[type="checkbox"]:checked {
  background-color: #FF7C11;
  border: 1px solid #FF7C11;
  border-radius: 2px;
  background-size: 9px;
}

.ancestry-bundle-page__bottom-padding {
  height: 140px;
  padding: 20px 86px;
  position: absolute;
  width: 100%;
  bottom: 0;
  z-index: 5;
  background: rgba(255,255,255, 1);
}

.close-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 17.12px;
  height: 18.06px;
  transition: all 0.8s ease-in-out;
  cursor: pointer;
}

.close-icon:hover {
  transform: rotate(360deg);
}

@media (max-width: 730px) {
  .ancestry-bundle-page__subheading {
    background: rgba(255, 124, 17, 0.2);
    border-radius: 100px;
    font-style: normal;
    font-weight: 600;
    font-size: 12px;
    line-height: 30px;
    text-align: center;
    text-transform: uppercase;
    color: #FF7C11;
    width: 245px;
    margin: 17px auto 30px;
  }

  .ancestry-bundle-page__item {
    padding: 16px;
    height: 169px;
    width: 95%;
    margin: 10px auto 0;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }

  .ancestry-bundle-page__item__content {
    max-width: none;
    width: 100%;
    padding: 0;
    order: 4;
    margin-top: 10px;
  }

  .ancestry-bundle-page__item__image {
    display: none;
  }

  .ancestry-bundle-page__item__content__text {
    width: 100%;
    line-height: 16px;

  }

  .ancestry-bundle-page__item__switch {
    margin: 0;
  }

  .ancestry-bundle-page__container {
    width: 95%;
    max-height: 100vh;
  }

  .ancestry-bundle-page__item__price {
    order: 3;
    width: 14%;
  }

  .ancestry-bundle-page__item__content__header {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    align-items: center;
    width: 73%;
    margin: 0;
  }

  .ancestry-bundle-page__item__content__header .desktop-icon {
    margin-right: 6px;
  }

  .ancestry-bundle-page__item__content__header h3 {
    margin: 0;
  }


}



.ancestry-bundle-invoice-added {

  display: flex;
  align-items: center;
  width: 100%;
}
.ancestry-bundle-page__container.post_bundle .ancestry-bundle-invoice-added{
  flex-direction: column;
}
.ancestry-bundle-invoice-added svg {
  display: block;
  margin-right: 10px;
}

.ancestry-bundle-invoice-added__header {
  font-style: normal;
  font-weight: 500;
  font-size: 24px;
  line-height: 30px;
  color: #7ABF43;
}

.ancestry-bundle-invoice-added__counter {
  margin-left: auto;
  font-style: normal;
  font-weight: 600;
  font-size: 20px;
  line-height: 28px;
  text-align: right;
  color: #263856;
}

.ancestry-bundle-invoice-added__counter .total {
  opacity: 0.4;
}

.ancestry-bundle-total {
  display: flex;
  font-style: normal;
  font-weight: normal;
  font-size: 16px;
  line-height: 18px;
  color: #263856;
  align-items: flex-end;
}

.ancestry-bundle-total__header {
  margin-left: auto;
  margin-right: 11px;
}

.ancestry-bundle-total__old {
  font-style: normal;
  font-weight: normal;
  font-size: 16px;
  line-height: 18px;
  text-decoration: line-through;
  color: #90ABCF;
}

.ancestry-bundle-total__final {
  font-style: normal;
  font-weight: 600;
  font-size: 20px;
  line-height: 24px;
  margin-left: 6px;
  color: #FF7C11;
}

.ancestry-bundle-get-report {
  display: block;
  width: 100%;
  max-width: 240px;
  height: 40px;
  background: #FF7C11;
  border-radius: 25px;
  border: 0;
  color: white;
  margin: 10px auto 49px;
  text-align: center;
  line-height: 40px;
}

.ancestry-bundle-get-report:hover {
  opacity: 0.8;
}

.ancestry-bundle-page__add-all-reports {
  padding: 0 122px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.ancestry-bundle-page__add-all-reports div {
  font-weight: 600;
  font-size: 24px;
  line-height: 29px;
  color: #263856;
}


.ancestry-bundle-page__mobile-checkout {
  display: none;
}

@media (max-width: 730px) {
  .ancestry-bundle-invoice-section {
    padding: 20px 25px 10px;
    margin-bottom: 20px;
  }

  .ancestry-bundle-page__add-all-reports div {
    font-weight: 600;
    font-size: 18px;
    line-height: 26px;
    color: #F46F02;
    margin: 0 auto;
  }

  .ancestry-bundle-page__add-all-reports {
    padding: 0;
    margin: 0;
  }

  .ancestry-bundle-page__bottom-padding {
    margin-top: 34px;
    padding: 10px 24px 30px;
  }

  .ancestry-bundle-page__mobile-checkout {
    display: block;
    position: fixed;
    width: 100vw;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    box-shadow: 0px -1px 10px rgba(74, 93, 128, 0.13);
    padding: 12px 20px 18px;
  }

  .ancestry-bundle-page__mobile-checkout .ancestry-bundle-get-report {
    margin: 19px 0 0;
    width: 100%;
    max-width: none;
  }

  .ancestry-bundle-get-report {
    margin: 20px auto 30px;
  }

}

.ancestry-bundle-invoice-list {
  padding: 0;
  list-style: none;
}

.ancestry-bundle-invoice-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-style: normal;
  font-weight: 600;
  font-size: 20px;
  line-height: 24px;
  color: #263856;
}

.ancestry-bundle-invoice-list li .price {
  font-weight: bold;
}

.ancestry-bundle-invoice-section .ancestry-bundle-total {
  padding: 0 30px;
}

img.ancestry-bundle-page__not-available {
  max-width: 100%;
  display: block;
  margin: 0 auto;
}

.ancestry-bundle-page__item {
  cursor: pointer;
}

.ancestry-bundle-page__item__switch .apple-switch {
  pointer-events: none;
}

@media (max-width: 350px) {
  .ancestry-bundle-page__item {
    height: 187px;
  }
}
