.giftSectionOneBody,
.giftSectionTwoBody {
  margin-top: -40px;
}
.giftSectionOneBody #mySectionOneTab,
.giftSectionTwoBody #mySectionTwoTab {
  background: rgba(0, 0, 0, 0.5);
  text-align: center;
  position: relative;
}
.giftSectionOneBody #mySectionOneTab li,
.giftSectionTwoBody #mySectionTwoTab li {
  float: none;
  display: inline-block;
  background: #ccd4e8;
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
  margin: 0 5px;
}
.giftSectionOneBody #mySectionOneTab li a,
.giftSectionTwoBody #mySectionTwoTab li a {
  padding: 8px 25px;
  font-size: 15px;
  color: #333;
  border: 0;
}
.giftSectionOneBody #mySectionOneTab li.active a,
.giftSectionTwoBody #mySectionTwoTab li.active a {
  background: #2097c4;
  color: #fff;
  margin: 0;
  border: 0;
}

.giftSectionOneBody #mySectionOneTab,
.giftSectionTwoBody #mySectionTwoTab {
  background: rgba(0, 0, 0, 0.5);
  text-align: center;
  position: relative;
  border-bottom: 3px solid #2097c4;
  margin-bottom: 0;
  opacity: 0;
}
.designPattern {
  max-width: 285px;
}
.eCard-details {
  background: #fff;
  padding: 10px;
}
.CardDetails {
  max-width: 285px;
  margin: 0 auto 30px;
  transition: 0.75s ease;
  padding-bottom: 20px;
  border-radius: 14px;
  border: 1px solid #e4e7ee;
  height: 300px;
  display: grid;
  grid-template-rows: max-content auto max-content;
}
.cardSelectionLink:hover {
  background: #1480a9;
  color: #fff;
}
.CardDetails:hover {
  box-shadow: 0px 0px 0px 3px #e9e9e9;
}
.designPattern {
  border-radius: 10px;
  overflow: hidden;
}
.cardTitleHeading {
  display: inline-block;
  color: #00ae5a;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Noto Sans';
}
.giftcardDetails {
  padding: 25px 50px 45px 50px;
  background: #f4f5f9;
  border-radius: 15px;
}
.giftcardDetails h4 {
  background: #efefef;
  padding: 10px;
  border-left: 5px solid #2097c4;
  font-size: 16px;
  margin-bottom: 20px;
}
.designPattern img {
  max-width: 100%;
}
.eCardheading {
  text-align: center;
  font-size: 24px;
  margin: 15px 0 10px;
}
.eCardSubheading {
  text-align: center;
  font-size: 17px;
  margin-bottom: 30px;
}

.CardContent {
  padding: 0;
  text-align: center;
}
h3.CardTitle {
  margin: 0;
  padding: 10px 0;
  font-size: 16px;
}
.CardTags {
  display: inline-block;
  width: 100%;
  margin-bottom: 10px;
  margin-top: 10px;
}
.cardDescription {
  font-size: 12px;
  padding: 10px 0;
}
.cardSelectionLink {
  padding: 10px;
  background: #00AE5A;
  display: block;
  border-radius: 30px;
  margin: 0 15px;
  text-align: center;
  font-size: 14px;
  text-transform: uppercase;
  color: #fff;
}
.cardSelectionLink:hover {
  background: #3ED48C;
}
.cardSelectionLink:active {
  background: #00AE5A;
}
.cardSelectionLink:focus {
  text-decoration: none;
  color: #fff;
}
.CardTags a {
  padding: 2px 5px;
  border-radius: 2px;
  border: 1px solid #aaaaaa;
  color: #6c6868;
  line-height: 1;
}
.giftcardDetails .input-element {
  -moz-transition: border-color 0.2s;
  -o-transition: border-color 0.2s;
  -webkit-transition: border-color 0.2s;
  transition: border-color 0.2s;
  background: #fff;
  color: #3f414d;
  font-family: inherit;
  outline: 0;
  transition: border-color 0.2s;
  width: 100%;
  z-index: 99;
  position: relative;
  border: 1px solid #b7b8c5;
  border-radius: 44px;
  height: 44px;
  padding: 6px 20px;
  font-size: 14px;
}
.giftcardDetails label.floating-label,
.giftcardDetails .input-element:focus ~ .floating-label {
  -moz-transition: 0.2s;
  -o-transition: 0.2s;
  -webkit-transition: 0.2s;
  transition: 0.2s;
  color: #b3b0b1;
  display: block;
  font-size: 12px;
  position: absolute;
  top: -10px;
  left: 5px;
  text-transform: capitalize;
}
.giftcardDetails .input-element.textarea-group {
  border: 1px solid #b7b8c5;
  min-height: 170px;
  overflow: hidden;
  padding: 20px;
}
.giftcardDetails textarea {
  resize: none;
}
.textAreaGroup label {
  text-transform: capitalize;
  z-index: 99;
  background: #fff;
  padding: 0 5px;
}
/* .giftcardDetails .form-group .input-element + .floating-label {
    left: 12px;
} */
.giftcardDetails .input-element::-webkit-input-placeholder {
  /* Edge */
  opacity: 1;
}

.giftcardDetails .input-element:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  opacity: 1;
}
.amountCollection button.btn-border {
  background: #fff;
  border: 1px solid #E4E7EE;
  font-size: 14px;
  margin-right: 10px;
  padding: 5px 20px;
  border-radius: 30px;
  color: #3F4867;
  cursor: pointer;
  margin-bottom: 18px;
  transition: all 0.2s;
}
.amountCollection button.btn-border:hover {
  border: 1px solid #00ae5a;
}
.amountCollection button.btn-border.selected {
  background: #00ae5a;
  color: #fff;
  border: 1px solid #00ae5a;
}
.giftcardDetails .input-element::placeholder {
  opacity: 1;
}
.giftcardDetails .input-element + .floating-label {
  cursor: text;
  font-size: 14px;
  top: 5px;
}
.giftcardDetails .form-group {
  position: relative;
  margin-bottom: 30px;
}
.giftcardDetails .form-group.filled label.floating-label {
  top: -10px;
  font-size: 12px;
}
.form-group.textAreaGroup.filled {
  margin-top: 10px;
  display: inline-block;
  width: 100%;
}
.amountCollection {
  margin-bottom: 30px;
}
.form-group .sub-title {
  margin-top: 6px;
  font-size: 13px;
}
.btn.full.fill.big.proceed {
  background: #009688;
  color: #fff;
  font-size: 14px;
  padding: 10px 30px;
  font-weight: 500;
}
.KbGiftPreview {
  background: #f0f1f3;
  padding: 10px;
  text-align: center;
  margin-top: 20px;
  padding-bottom: 30px;
}
.KbGiftPreview h5 {
  font-size: 14px;
  text-transform: capitalize;
  margin-bottom: 20px;
  color: #2097c4;
  text-transform: uppercase;
  font-weight: 600;
}
.previewSection {
  background: #fff;
  max-width: 300px;
  margin: 0 auto;
  padding: 10px;
  font-size: 13px;
  text-align: left;
}
.previewSender {
  color: #2097c4;
  font-size: 14px;
  font-weight: 600;
}
.GiftCardId {
  background: #f0f1f3;
  padding: 10px;
  text-align: center;
}
.giftAmount {
  font-size: 15px;
  font-weight: 600;
  color: #2097c4;
}
.previewSection > div {
  margin-top: 8px;
}
.previewSection img {
  max-width: 100%;
}
#choseDesign {
  background: #2097c4;
}
.mobilepreviewtabs {
  text-align: right;
}
.mobilepreviewtabs a {
  background: #009688;
  padding: 7px 12px;
  color: #fff;
  font-weight: 500;
  border-radius: 2px;
  margin: 0;
  display: inline-block;
}
.closepreview {
  width: 30px;
  height: 30px;
  display: inline-block;
  background: #fff;
  border-radius: 50%;
  line-height: 2.5;
  display: none;
}
.giftSectionOneBody .tab-pane p,
.giftSectionOneBody .tab-pane ul li {
  font-size: 14px;
}
#howuse,
#tandC {
  padding: 20px 0;
}
.giftSectionOneBody .tab-pane ul {
  padding-left: 20px;
}
.giftSectionOneBody .tab-pane ul li {
  padding-bottom: 10px;
}

@media (max-width: 991px) {
  .amountCollection button.btn-border {
    margin-bottom: 10px;
  }
}
@media (max-width: 767px) {
  .designCollection {
    overflow-x: auto;
  }
  .amountCollection button.btn-border {
    margin-bottom: 10px;
  }
  .giftcardDetails {
    margin-right: 0;
    padding: 25px 20px 45px 20px;
  }
  .mobilepreviewtabs {
    display: block;
  }
  .designCollection [class*="col-"] {
    float: left;
    width: 50%;
  }

  .closepreview {
    display: block;
    margin: 0 auto;
  }
  .KbGiftPreview {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    margin: 0;
    height: 100%;
    z-index: 999;
    background: rgb(240, 241, 243, 0.9);
  }

  #mySectionTwoTab {
    display: none;
  }
  .giftSectionTwoBody {
    margin-top: 0;
  }
  #terms-tab {
    display: none;
  }
  .giftSectionOneHeader img,
  .giftSectionTwoHeader img {
    height: 150px;
    object-fit: cover;
  }
  .giftSectionTwoHeader {
    position: relative;
  }
  .cardTitleHeading {
    top: 30%;
    border-radius: 4px;
    max-width: 85%;
  }
  #mySectionOneTab li:last-child {
    display: none;
  }
}
.giftcardDetails #delivery_date_div #preferred_date_icon {
  position: absolute;
  left: 20px;
  top: 5px;
  width: 38px;
  z-index: 9;
}
.giftcardDetails #delivery_date_div #preferred_date_icon button {
  box-shadow: 0;
  border: 0;
}
.giftcardDetails #delivery_date_div input {
  padding-right: 0px;
  background: #fff;
  color: #3f414d;
  font-family: inherit;
  outline: 0;
  transition: border-color 0.2s;
  width: 100%;
  position: relative;
  border: 1px solid #b7b8c5;
  border-radius: 44px;
  height: 44px;
  padding: 6px 20px 6px 65px;
  font-size: 14px;
  z-index: 1;
}
.giftcardDetails #delivery_date_div {
  position: relative;
  display: inline-block;
  width: 100%;
  box-sizing: border-box;
}
.giftcardDetails .static_label {
  color: #696365;
  font-size: 14px;
  font-weight: 700;
}
.text-chose {
  font-weight: 400;
  font-size: 17px;
  color: #686877;
  line-height: 24px;
  margin-top: 15px;
  margin-bottom: 30px;
  text-align: center;
}
.text-chose h2 .text-chose span {
  text-align: center;
  display: block;
}
.text-chose h2 {
  margin-top: 70px;
  font-weight: 500;
  font-size: 22px;
  color: #090f24;
  font-family: "Rubik";
}
.text-chose span {
  margin-bottom: 40px;
  font-size: 22px;
  font-family: "Pacifico";
  color: #FFBB17;
  font-weight: 400;
}

.text-enter_data {
  font-weight: 400;
  font-size: 17px;
  color: #686877;
  line-height: 24px;
  margin: 15px 0 50px 0px;
  text-align: center;
}
.giftSectionTwoBody .h4_style {
  text-align: center;
  margin: 30px 0 15px 0px;
}
#amount-step {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  background: #f4f5f9;
  position: relative;
  margin-bottom: 30px;
  height: 40px;
  border-radius: 7px;
}
#amount-step .amount-number {
  font-size: 16px;
  border-radius: 50px;
  border: 1px solid #E4E7EE;
  font-weight: 600;
  display: flex;
  height: 40px;
  width: 40px;
  align-items: center;
  justify-content: center;
  background: #fff;
  position: absolute;
  left: -6px;
  color: #686877;
  font-family: 'Noto Sans';
}
#amount-step .amount-text {
  font-size: 16px;
  font-weight: 500;
  padding: 5px 0;
  margin-left: 50px;
  color: #090F24;
}
.text-from {
  color: #000;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
}
.kb_error_message,
.kb_final_error_message {
  color: #f44336;
  position: absolute;
  left: 0;
  width: 100%;
  top: 47px;
}
.giftcardDetails .select2-container--default .select2-selection--single {
  height: 44px;
  line-height: 26px;
  width: auto;
  padding: 7px 24px 7px 20px;
  background: #fff;
  border-radius: 20px;
  font-size: 14px;
}
.giftcardDetails
  .select2-container--default
  .select2-selection--single
  .select2-selection__arrow
  b {
  background-image: url(/image/open_svg.svg);
  background-size: 100%;
  background-repeat: no-repeat;
  width: 14px !important;
  border: none;
  height: 9px !important;
  border-color: transparent !important;
  border-style: none !important;
  border-width: 0 !important;
  position: absolute;
  top: 20px;
  left: -4px;
}
.giftcardDetails .select2-container {
  width: 315px !important;
}
.giftcardDetails .selector > span {
  display: none;
}
.giftSectionTwoBody {
  margin-bottom: 50px;
}
#gift_card_atc_button {
  border-radius: 25px;
  border: 0;
  background: #69cb87 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: ease 0.3s;
}
#gift_card_atc_button:hover {
  background: #21b74f !important;
  box-shadow: 0px 2px 4px rgb(31 171 87 / 20%);
}
.kbgc_navigation_buttons_holder {
  text-align: center;
}
.select2-dropdown {
  border: 0 !important;
  -webkit-box-shadow: 0 6px 12px rgb(0 0 0 / 18%);
  box-shadow: 0 6px 12px rgb(0 0 0 / 18%);
}
#select2-kbgc_delivery_option-bq-results {
  -webkit-box-shadow: 0 6px 12px rgb(0 0 0 / 18%);
  box-shadow: 0 6px 12px rgb(0 0 0 / 18%);
  border-color: transparent;
}
.sertificate-selected {
  margin-bottom: 30px;
  font-size: 13px;
  color: #090F24;
  font-family: 'Noto Sans';
}
.giftcardDetails .required-text {
  text-align: right;
}
@media (max-width: 767px) {
  .giftcardDetails .select2-container {
    width: 100% !important;
  }
  .giftcardDetails .required-text {
    text-align: right;
    padding-bottom: 10px;
  }
}
.giftSectionOneHeader,
.giftSectionTwoHeader {
  position: relative;
}
.text-banner {
  position: absolute;
  font-family: "Pacifico";
  font-size: 21px;
  font-weight: 400;
  text-align: center;
  top: calc(50% - 30px);
  width: 100%;
  color: #3f4867;
  line-height: 30px;
}
.banner-img-320 {
  display: block !important;
  width: 100% !important;
}
.banner-img-768 {
  display: none !important;
  width: 100% !important;
}
.banner-img-992 {
  display: none !important;
  width: 100% !important;
}
.banner-img-1920 {
  display: none !important;
  width: 100% !important;
}
@media (min-width: 375px) {
  .banner-img-320 {
    display: none !important;
  }
  .banner-img-768 {
    display: block !important;
  }
  .banner-img-992 {
    display: none !important;
  }
  .banner-img-1920 {
    display: none !important;
  }
  h3.CardTitle {
    font-size: 18px;
  }
  .CardContent {
    padding: 0 10px;
  }
  .CardDetails {
    height: 330px;
  }
}
@media (min-width: 768px) {
  .banner-img-320 {
    display: none !important;
  }
  .banner-img-768 {
    display: none !important;
  }
  .banner-img-992 {
    display: block !important;
  }
  .banner-img-1920 {
    display: none !important;
  }
  .CardDetails {
    height: 350px;
  }
}
@media (min-width: 1200px) {
  .text-banner {
    font-size: 23px;
  }
  .banner-img-320 {
    display: none !important;
  }
  .banner-img-768 {
    display: none !important;
  }
  .banner-img-992 {
    display: none !important;
  }
  .banner-img-1920 {
    display: block !important;
  }
  .CardDetails {
    height: 300px;
  }
}
@media (min-width: 1920px) {
  .CardDetails {
    height: 350px;
  }
}
.GiftChooseDesign {
  margin-top: 30px;
}
.GiftChooseDesign > div {
  position: relative;
  margin-top: 20px;
}
.GiftChooseDesign > div > img {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}
.GiftChooseDesign-section {
  margin-left: 35px;
  border: 1px solid #74ccd8;
  border-radius: 15px;
  display: grid;
  align-items: center;
  min-height: 85px;
}
.GiftChooseDesign-section > span {
  margin-left: 35px;
  margin-right: 10px;
  color: #686877;
  font-family: "Noto Sans";
  font-weight: 400;
  font-size: 16px;
  padding: 20px 0;
}
.CardContainer > .row > div:nth-child(odd) {
  padding: 0 5px 0 15px;
}
.CardContainer > .row > div:nth-child(even) {
  padding: 0 15px 0 5px;
}
.podarochnye-karty-grid {
  display: grid;
  grid-template-rows: auto auto;
}
.podarochnye-karty-grid__design .GiftChooseDesign-section > span {
  margin-left: 45px;
}
.podarochnye-karty-grid__data {
  margin-top: 30px;
}
.podarochnye-karty-grid__data > h2 {
  font-size: 20px;
  color: #090F24;
  font-weight: 500;
}
@media (min-width: 992px) {
  .CardContainer > .row > div {
    padding: 0 15px !important;
  }
  .podarochnye-karty-grid {
    display: grid;
    grid-template-rows: auto;
    grid-template-columns: auto 230px;
    grid-column-gap: 24px;
  }
  .podarochnye-karty-grid__design {
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 1;
    grid-row-end: 2;
  }
  .podarochnye-karty-grid__data {
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 1;
    grid-row-end: 2;
    margin-top: 0;
  }
  .podarochnye-karty-grid__design .GiftChooseDesign {
    margin-top: 150px;
  }
  .podarochnye-karty-grid__design .GiftChooseDesign-title {
    display: none;
  }
  .podarochnye-karty-grid__design .GiftChooseDesign-section {
    margin-left: 0;
  }
  .podarochnye-karty-grid__design .GiftChooseDesign > div {
    margin-top: 55px;
  }
  .podarochnye-karty-grid__design .GiftChooseDesign > div > img {
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
  }
  .podarochnye-karty-grid__design .GiftChooseDesign-section > span {
    text-align: center;
    margin: 35px 10px 15px 10px;
  }
  .sertificate-selected {
    margin-bottom: 50px;
  }
  #amount-step .amount-number {
    font-size: 18px;
    width: 60px;
    height: 60px;
  }
  #amount-step .amount-text {
    margin-left: 70px;
  }
  #amount-step {
    height: 45px;
  }
}
@media (min-width: 1200px) {
  .GiftChooseDesign-section > span {
    padding: 0;
  }
  .podarochnye-karty-grid {
    display: grid;
    grid-template-rows: auto;
    grid-template-columns: auto 400px;
  }
  .podarochnye-karty-grid__design {
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 1;
    grid-row-end: 2;
  }
  .podarochnye-karty-grid__data {
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 1;
    grid-row-end: 2;
  }
  .podarochnye-karty-grid__data > h2 {
    font-size: 22px;
  }
  .sertificate-selected {
    font-size: 15px;
    margin-bottom: 56px;
  }
  .cardTitleHeading {
    font-size: 15px;
  }
  #amount-step .amount-text {
    font-size: 18px;
  }
}
@media (min-width: 1920px) {
  .GiftChooseDesign > div {
    width: 20%;
  }
  .GiftChooseDesign > div:last-of-type {
    width: 35%;
  }
  .podarochnye-karty-grid {
    grid-template-columns: auto 500px;
    grid-column-gap: 180px;
  }
  .podarochnye-karty-grid__design .GiftChooseDesign > div {
    width: 100%;
  }
}
