/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
/* New Css */
.tooltip {
  cursor: pointer;
  color: blue;
  background: gary;
  border: 1px solid black;
  border-radius: 50%;
  text-decoration: underline;
}

h2.gform_title {
  display: none;
}

h3,
.step-heading {
  color: #000;
  font-size: 20px;
  text-transform: uppercase;
}

h2.step-heading {
  text-align: center;
}

.step-heading:not(:nth-child(2)) {
  padding: 50px 0 0 0;
}

.step-heading {
  margin-top: 0px;
}

.gsection_description {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: left;
}

.gsection_description img {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin: 0 auto;
}

#image-link {
  display: block;
  margin: 0px auto;
  width: fit-content;
}

p {
  text-align: center;
  font-size: 18px;
  color: #000;
}

.stage .wrap {
  text-align: left;
}

.stage ul {
  color: #000;
  font-size: 18px;
}

#underneath-content-wrapper {
  margin-top: 50px;
}

.pull-left {
  float: unset;
}

.gfield {
  margin-bottom: 15px;
}

#underneath-content-wrapper legend {
  margin-top: 0px;
  border: none;
  width: fit-content !important;
  color: #5f89c1 !important;
  font-size: 18px !important;
  font-weight: 700;
  margin-bottom: 8px;
  padding: 0;
}

#result-summary .result-image-wrapper h3 {
  text-align: center !important;
}

#result-summary .result-image-wrapper {
  margin: 15px 0;
}

.image-choices-field .image-choices-choice-image-wrap {
  background-size: contain !important;
}

.hero {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  position: absolute;
  left: 0;
  z-index: 0;
}

.hero::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  z-index: 1;
  background: #000;
  opacity: 0.4;
}

.overlay {
  position: relative;
  z-index: 3;
  background-color: unset !important;
  width: 100%;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.overlay h1 {
  color: #ffffff;
  font-size: 50px;
  font-weight: bold;
  text-align: center;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.281);
}

.container {
  margin: 20px auto;
  text-align: center;
}

.gform_wrapper.gravity-theme .description {
  font-size: 14px;
  line-height: 1.4;
  background-color: #ffffff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 15px;
  border-radius: 8px;
  text-transform: capitalize;
}

.welcome-text {
  font-size: 30px;
  font-weight: bold;
  margin: 15px 0;
  color: green;
}

.experience-text {
  font-size: 14px;
  margin-bottom: 20px;
  color: #000;
}

.stages {
  border: 1px solid #ccc;
  border-radius: 20px;
  padding: 20px;
}

.stages h3 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
}

.stage-container {
  display: flex;
  justify-content: center;
  gap: 50px;
}

.stage {
  width: 50%;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #f9f9f9;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.stage h4 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
  text-align: left;
  color: green;
}

.stage ul {
  list-style: disc;
}

.stage ul li {
  font-size: 14px;
  margin-bottom: 8px;
  margin-left: 20px;
  text-align: left;
}

.stage ul li span {
  font-weight: 600;
}

.stages {
  margin-bottom: 30px;
}

.stage-process {
  border: 1px solid #ccc;
  border-radius: 20px;
  padding: 20px;
}

.stage-process h4 {
  color: #000;
}

.stage-process .stage {
  display: flex;
  flex-direction: column;
}

.stage-process .stage a {
  margin-top: auto;
  text-align: left;
  background-color: #5f89c1;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  width: fit-content;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

.stage-process .stage a:hover,
#download-pdf-link:hover {
  background-color: #0056b3 !important;
}

.tooltipster-sidetip.tooltipster-default.tooltipster-top .tooltipster-box {
  max-width: 500px;
  background-color: #5f89c1;
  border-color: #5f89c1;
}

.tooltipster-sidetip.tooltipster-top .tooltipster-arrow-border {
  border-top-color: #5f89c1 !important;
}

.tooltipster-sidetip.tooltipster-top .tooltipster-arrow-background {
  border-top-color: #5f89c1 !important;
}

.important-note {
  font-size: 16px;
  margin-top: 30px;
  color: #333;
  font-weight: normal;
  padding: 20px;
  background: #f9f9f9;
  border-left: 4px solid #d9534f;
  text-align: left;
  line-height: 1.5;
  border-radius: 10px;
}

.important-note .highlight {
  color: #d9534f;
  font-weight: bold;
}

.important-note a {
  color: #5f89c1;
}

.button-container {
  margin-top: 15px;
  margin-bottom: 15px;
}

.cta-button {
  background: linear-gradient(to right,
      rgba(130, 55, 251, 1) 0%,
      rgba(98, 75, 248, 1) 12.69%,
      rgba(98, 75, 248, 1) 25.39%,
      rgba(34, 105, 245, 1) 62.69%,
      rgba(34, 105, 245, 1) 100%);
  color: #ffffff;
  padding: 15px 30px;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  border-radius: 5px;
  display: inline-block;
  background-size: 200% auto;
  animation: gradient-move 2s linear infinite;
}

@keyframes gradient-move {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 100% 50%;
  }
}

/* .gform_wrapper.gravity-theme .gform_fields {
    display: unset;
  } */
.gform_wrapper.gravity-theme .gform_fields {
  display: flex;
  flex-direction: column;
}

.gform_wrapper.gravity-theme .gfield_label,
.color-choose {
  font-size: 18px;
  color: #5f89c1 !important;
  width: fit-content;
}

.manufacture-method .image-choices-choice-selected {
  border: none;
}

.color-choose {
  text-align: left;
}

.choose-shape-parents,
.choose-shape-child,
.choose-fabric,
.choose-colour,
.manufacture-method,
.approximate-measurements,
.choose-colour-strip,
.choose-stitching,
.toggle-form,
#result-summary fieldset {
  padding: 20px !important;
  border: 1px solid #ccc !important;
  border-radius: 8px;
  background: #ffffff;
  margin-bottom: 20px !important;
}

#result-summary {
  border: none !important;
}

.choose-shape-parents .gfield_radio .image-choices-choice,
.choose-shape-child .gfield_radio .image-choices-choice {
  width: 150px;
  height: 150px;
}

.choose-shape-parents .gfield_radio,
.choose-shape-child .gfield_radio,
.choose-colour .gfield_radio {
  display: flex;
  flex-wrap: wrap;
}

.choose-shape-parents .gfield_radio {
  justify-content: space-around;
}

.choose-shape-child .gfield_radio {
  justify-content: flex-start;
}

.choose-fabric .gfield_radio {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid #000;
}

.choose-fabric .gfield_radio label {
  padding: 10px 0;
}

.choose-fabric .gfield_radio input,
.toggle-form input {
  margin-bottom: 0;
}

.choose-fabric .tooltip {
  display: inline-block;
  width: 20px !important;
  height: 20px;
  font-size: 12px;
  background: #fff;
  color: #000;
  margin-left: 5px;
  border: 1px solid black;
  border-radius: 50%;
}

.choose-colour .gfield_radio {
  justify-content: center;
}

.choose-colour legend {
  /* text-align: center; */
}

.choose-fabric .gfield_radio .gchoice {
  display: flex;
  justify-content: left;
  text-align: center;
  width: 100%;
  align-items: center;
}

.choose-fabric .gfield_radio .gchoice.gchoice_5_37_0,
.choose-fabric .gfield_radio .gchoice.gchoice_5_37_1 {
  border-bottom: 1px solid #000;
}

.choose-fabric .gfield_radio .gchoice.gchoice_5_37_0,
.choose-fabric .gfield_radio .gchoice.gchoice_5_37_2 {
  border-right: 1px solid #000;
}

.choose-colour .gfield_radio .image-choices-choice-image-wrap,
.image-choices-field .image-choices-choice-image-wrap {
  width: 100px;
  height: 77px !important;
  background-size: cover !important;
  border-radius: 10px;
}

#field_5_79 .choose-colour .gfield_radio .image-choices-choice-image-wrap,
.image-choices-field .image-choices-choice-image-wrap {
  background-size: contain !important;
}

.choose-colour .gfield_radio .gform-field-label {
  width: 8rem !important;
  height: 120px !important;
  cursor: pointer !important;
  display: inline-block !important;
  line-height: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  padding: 10px !important;
  text-align: center !important;
  border: 1px solid transparent !important;
}

.choose-shape-parents .gfield_radio .image-choices-choice-selected .image-choices-choice-text,
.choose-shape-child .gfield_radio .image-choices-choice-selected .image-choices-choice-text,
.choose-colour .gfield_radio .image-choices-choice-selected .image-choices-choice-text,
.manufacture-method .gfield_radio .image-choices-choice-selected .image-choices-choice-text {
  color: #5f89c1 !important;
}

.choose-shape-parents .gfield_radio .image-choices-choice.image-choices-choice-selected,
.choose-shape-child .gfield_radio .image-choices-choice.image-choices-choice-selected,
.choose-colour .gfield_radio .image-choices-choice.image-choices-choice-selected {
  border-color: #5f89c1 !important;
  border-width: 2px !important;
}

.choose-shape-parents .gfield_radio .image-choices-choice,
.choose-shape-child .gfield_radio .image-choices-choice,
.choose-colour .gfield_radio .image-choices-choice {
  border-radius: 6px;
}

.choose-shape-parents .gfield_radio .image-choices-choice:hover,
.choose-shape-child .gfield_radio .image-choices-choice:hover,
.choose-colour .gfield_radio .image-choices-choice:hover,
.choose-colour-strip .gfield_radio .image-choices-choice:hover,
.choose-stitching .gfield_radio .image-choices-choice:hover {
  transform: scale(1.02) !important;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3) !important;
}

.manufacture-method .gfield_radio {
  display: flex;
  flex-wrap: nowrap;
  /* border: 1px solid #000; */
}

.manufacture-method .gfield_radio .gchoice_5_42_0.image-choices-choice {
  border-right: 1px solid #000;
}

.manufacture-method .gfield_radio .image-choices-choice-selected .image-choices-choice-image-wrap {
  border: 1px solid #5f89c1;
  border-radius: 10px;
}

.manufacture-method .gfield_radio .image-choices-choice {
  width: 100%;
  margin: 0 !important;
}

.approximate-measurements .gform-grid-row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  margin-bottom: 8px;
}

#dynamic-shape-image {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 40%;
  margin: 0 auto;
}

#dynamic-shape-image img {
  width: 150px !important;
  height: 150px !important;
  object-fit: fill;
  border: 1px solid #000;
  margin: 0 auto;
  border-radius: 6px;
}

#result-summary {
  border: 1px solid black;
  margin: 10px 0;
}

#result-summary h4 {
  display: none;
}

#result-summary div {
  justify-content: center;
}

#result-summary strong {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

#result-summary h3 {
  text-align: left;
  padding: 0;
}

/* #underneath-content-wrapper fieldset {
    margin-bottom: 20px;
  } */
.gfield {
  margin-bottom: 15px;
}

.result-data {
  display: flex;
  flex-direction: column;
  align-items: baseline;
  margin: 0 auto;
  width: fit-content;
  color: #000;
}

.result-data span:first-child {
  width: 200px !important;
}

#result-summary p {
  font-size: 20px;
  display: flex;
  margin: 10px auto;
  justify-content: center;
  gap: 10px;
}

#result-summary .primary-heading {
  color: #5f89c1;
}

.result-image-wrapper img {
  border: 1px solid #000;
  border-radius: 10px;
}

#download-pdf-link {
  margin-top: 10px;
  background-color: #5f89c1 !important;
  display: flex !important;
  justify-content: center;
  align-items: center;
  width: fit-content;
  margin: 0 auto;
  border-radius: 6px;
  font-size: 20px;
}

.ic-product-image-lightbox-btn,
.image-choices-lightbox-btn {
  width: 25px;
  height: 25px;
  right: 20px;
  top: 14px;
  background-size: 16px;
}

#result-summary p a {
  color: green;
}

#field_5_11 {
  margin-top: 30px;
}

#field_5_60 {
  margin: 10px 0 30px;
}

@media (min-width: 767px) {
  .manufacture-method .gfield_radio .image-choices-choice label {
    width: 85% !important;
    height: 350px !important;
  }

  .manufacture-method .gfield_radio .image-choices-choice-image-wrap {
    background-size: contain !important;
    height: 100% !important;
    width: 100% !important;
  }

  .manufacture-method .gfield_radio .image-choices-choice label>span.image-choices-choice-text {
    margin-top: -360px;
    font-size: 15px;
  }
}

@media (max-width: 767px) {
  .overlay h1 {
    font-size: 35px;
  }

  .welcome-text {
    font-size: 25px;
  }

  .important-note {
    font-size: 14px;
    margin-top: 20px;
  }

  #dynamic-shape-image {
    width: 50%;
    gap: 30px;
  }

  #dynamic-shape-image img {
    width: 100px !important;
    height: 90px !important;
  }

  .gform_wrapper.gravity-theme .gfield--type-choice.image-choices-field .gfield_radio {
    justify-content: space-around;
  }

  .stage-container {
    flex-direction: column;
    gap: 30px;
  }

  .stage {
    width: 100%;
  }

  .result-data span:first-child {
    width: 100px !important;
    text-align: unset;
  }

  #result-summary h3,
  .result-data span,
  .gform_wrapper.gravity-theme .gfield_label,
  .color-choose,
  #underneath-content-wrapper legend {
    font-size: 14px !important;
  }

  #download-pdf-link {
    font-size: 14px !important;
    padding: 10px 15px;
  }

  h3,
  .step-heading {
    font-size: 16px;
  }

  #result-summary p {
    font-size: 14px;
    flex-direction: column;
  }

  #result-summary div {
    column-gap: 5px;
  }

  .step-heading:not(:nth-child(2)) {
    padding: 20px 0 0 0;
  }

  .choose-fabric .gfield_radio {
    grid-template-columns: repeat(1, 1fr);
  }

  .choose-fabric .gfield_radio .gchoice.gchoice_5_37_0,
  .choose-fabric .gfield_radio .gchoice.gchoice_5_37_2 {
    border-right: none;
  }

  .choose-fabric .gfield_radio .gchoice.gchoice_5_37_0,
  .choose-fabric .gfield_radio .gchoice.gchoice_5_37_1,
  .choose-fabric .gfield_radio .gchoice.gchoice_5_37_2 {
    border-bottom: 1px solid #000;
  }

  .choose-fabric .gfield_radio label {
    font-size: 12px !important;
  }

  .choose-shape-parents,
  .choose-shape-child,
  .choose-fabric,
  .choose-colour,
  .manufacture-method,
  .approximate-measurements,
  .toggle-form,
  #result-summary {
    padding: 10px !important;
  }

  .tooltipster-sidetip.tooltipster-default.tooltipster-top .tooltipster-box {
    max-width: 360px;
  }
}

#underneath-content-wrapper .form-name .gfield_label,
#underneath-content-wrapper .form-address .gfield_label {
  /* color: #000 !important; */
  text-transform: capitalize;
}

.gform_wrapper.gravity-theme .description,
.gform_wrapper.gravity-theme .gfield_description,
.gform_wrapper.gravity-theme .gsection_description,
.gform_wrapper.gravity-theme .instruction {
  padding-top: 0px !important;
}

.gform_wrapper.gravity-theme .gfield_validation_message,
.gform_wrapper.gravity-theme .validation_message {
  padding: 10px !important;
}

.stage2-label {
  text-align: center;
  color: #000;
  font-size: 20px;
  padding: 50px 0 10px;
  text-transform: uppercase;
}

.page-wrapper {
  min-height: 77vh;
}

.page-wrapper #gform_confirmation_wrapper_5 {
  color: green;
  display: flex;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.page-wrapper .row.row-main {
  min-height: 77vh;
  margin: auto;
  align-items: center;
}

/*for stage-2 form*/

#underneath-content-wrapper #field_5_11,
#underneath-content-wrapper #field_5_11,
#underneath-content-wrapper #field_5_12,
#underneath-content-wrapper #field_5_13,
#underneath-content-wrapper #field_5_23,
#underneath-content-wrapper #field_5_60 {
  padding: 15px;
  border: 0.5px solid rgba(95, 137, 193, 0.8);
  border-radius: 8px;
  background: #f9f9f9;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);

}

#underneath-content-wrapper #field_5_11,
#underneath-content-wrapper #field_5_23 {
  margin-bottom: 15px;
}

#febric-image {
  display: flex;
  justify-content: center;
  width: 100%;
  border-radius: 8px !important;
  border: 1px solid #ccc;

}

#febric-image img {
  object-fit: contain;
}