/* Start 2022 Redesign styles */

:root {
  --primary-color: #6ac5cc;
  --primary-color-light: #86dbe1;
  --warning-color: #b40000;
}

.steps .last {
  display: none;
}

.steps > ul[role="tablist"] {
  background-image: url(../gif/graybox.gif);
  background-repeat: no-repeat;
  background-position: top 21px center;
  background-size: 100% 2px;
  display: flex;
  justify-content: space-between;
  list-style: none;
  padding: 0;
  margin: 0;
}

.steps li a {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: #fff;
}

.steps li a .number {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border-radius: 50%;
  border: 2px solid #ddd;
  /* bg color used to hide horizontal line */
  background-color: #7b7b7b;
}

.steps li.current a .number {
  color: #000;
  border: none;
  background-color: var(--primary-color);
}

.steps li:nth-child(2) a {
  align-items: flex-end;
}

.dark-gradient-bg h4.form-header {
  font-size: 1.5rem;
}

.header-bottom-line {
  display: block;
  height: 5px;
  width: 50px;
  background-color: var(--primary-color);
  margin: 10px auto 0 auto;
}

.form-field-wrapper {
  --input-height: 55px;
  position: relative;
  margin-top: 2.5rem;
}

.form-field-wrapper label {
  position: absolute;
  left: 10px;
  bottom: 0;
  z-index: 10;
  transition: transform 150ms ease-out, font-size 150ms ease-out;
}

.form-field-wrapper label.upload-icon-text {
  left: inherit;
  bottom: inherit;
}

.form-field-wrapper.uploadimage {
  display: flex;
  justify-content: center;
  align-items: center;
}

.form-field-wrapper.form-field-description-wrapper label {
  bottom: 10px;
}

.form-field-description-wrapper.focused label,
.form-field-wrapper.focused label {
  font-size: 0.75em;
}
.form-field-wrapper.focused label {
  transform: translate(-10px, -290%);
  /*transform: translate(-10px, -230%);*/
}

.form-field-wrapper.form-field-description-wrapper.focused label {
  transform: translate(-10px, -618%);
  /*transform: translate(-10px, -500%);*/
}

.form-field-wrapper.checkbox-wrapper label {
  position: relative;
  left: inherit;
  bottom: inherit;
  transition: none;
}

.form-field-wrapper.checkbox-wrapper.focused label {
  transform: none;
  font-size: inherit;
}

.checkbox-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checkbox-wrapper input {
  width: 20px;
  height: 20px;
}

input[type="checkbox"] {
  accent-color: var(--primary-color);
}

.form-input,
.upload-area {
  color: #fff !important;
  background-color: rgba(255 255 255 / 0.32);
  position: relative;
  width: 100%;
  height: var(--input-height);
  outline: 0;
  border: 0 !important;
  border-radius: 3px;
  box-shadow: 0 3px 0 0 #e5e5e5;
  transition: box-shadow 150ms ease-out;
}

.form-input {
  padding: 1rem !important;
}

.upload-area {
  padding: 0;
  cursor: pointer;
}

.upload-icon-text {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.7rem;
  cursor: pointer;
}

.upload-areax h1 {
  text-align: center;
  font-weight: normal;
  font-family: sans-serif;
  line-height: 50px;
  color: #fff;
}

textarea.form-input {
  height: 120px;
  resize: none;
}

.form-field-wrapper.desiredamount {
  height: inherit !important;
  position: relative;
}

.desiredamount .form-input {
  padding-left: 31px !important;
}

.desiredamount {
  /*CSS variable is updated with JS in forms.js */
  --dollar-sign-opacity: 0;
}

.desiredamount::before {
  content: "$";
  position: absolute;
  left: 15px;
  font-size: 1.3rem;
  line-height: var(--input-height);
  opacity: var(--dollar-sign-opacity);
}

.form-input:focus {
  -webkit-box-shadow: 0 3px 0 0 var(--primary-color);
  -moz-box-shadow: 0 3px 0 0 var(--primary-color);
  box-shadow: 0 3px 0 0 var(--primary-color);
}

.valid {
  -webkit-box-shadow: 0 3px 0 0 var(--primary-color);
  -moz-box-shadow: 0 3px 0 0 var(--primary-color);
  box-shadow: 0 3px 0 0 var(--primary-color);
}

.invalid-alert,
.form-input:focus.invalid-alert {
  -webkit-box-shadow: 0 3px 0 0 var(--warning-color);
  -moz-box-shadow: 0 3px 0 0 var(--warning-color);
  box-shadow: 0 3px 0 0 var(--warning-color);
  box-sizing: inherit;
}

.form-buttons-group {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.form-buttons-group.thank-you-button-group {
  justify-content: center;
}

@media screen and (min-width: 400px) {
  .form-buttons-group {
    gap: 2rem;
    flex-direction: row;
  }
}

.first-step-button-group {
  margin-bottom: 1rem;
}

.form-hollow-button,
.form-button,
.backlink {
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.form-hollow-button,
.form-button {
  width: 100%;
}

@media screen and (min-width: 400px) {
  .form-hollow-button,
  .form-button {
    width: inherit;
  }
}

.backlink {
  color: rgb(188, 188, 188);
}

.backlink:hover {
  color: #fff;
}

.backlink .form-arrow,
.form-button .form-arrow,
.form-hollow-button .form-arrow {
  transition: all 0.1s ease-in;
}

.form-button:hover .form-arrow,
.form-hollow-button:hover .form-arrow {
  transform: translateX(4px);
}

.backlink:hover .form-arrow,
.thank-you-button-group .form-hollow-button:hover .form-arrow {
  transform: translateX(-4px);
}

.form-hollow-button,
.form-button {
  border-radius: 40px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.1s ease-in;
  font-size: 1rem;
}

.form-hollow-button {
  background-color: inherit;
  border: 2px solid rgb(188, 188, 188);
  padding: 0.5rem 1.5rem;
  color: rgb(188, 188, 188);
}

.form-hollow-button:hover {
  border: 2px solid #fff;
  color: #fff;
}

.form-button {
  background-color: var(--primary-color);
  border: none;
  padding: 1.2rem 2.5rem;
}

.form-button:hover {
  background-color: var(--primary-color-light);
}

.form-arrow {
  font-size: 0.9rem;
  padding-left: 0.2rem;
}

.backlink .form-arrow {
  padding-right: 0.2rem;
}

.form-button:disabled,
.form-hollow-button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.thumbnail {
  width: 80px;
  height: 80px;
  padding: 2px;
  margin: 1.5rem 0 1rem 0;
  border: 2px solid lightgray;
  border-radius: 50%;
  float: left;
  overflow: hidden;
}

/* End 2022 redesign styles */

/*
    Common 
*/

.wizard {
  max-width: 480px;
  margin: 0 auto;
  margin-top: 15px;
}

.wizard,
.tabcontrol {
  display: block;
  width: 100%;
  /*	overflow: hidden; */
}

.wizard a,
.tabcontrol a {
  outline: 0;
}

// .wizard ul,
// .tabcontrol ul {
//   list-style: none !important;
//   padding: 0;
//   margin: 0;
// }

.wizard ul > li,
.tabcontrol ul > li {
  display: block;
  padding: 0;
}

/* Accessibility */
.wizard > .steps .current-info,
.tabcontrol > .steps .current-info {
  position: absolute;
  left: -999em;
}

.wizard > .content > .title,
.tabcontrol > .content > .title {
  position: absolute;
  left: -999em;
}

/*
Wizard
*/

// .wizard > .steps {
//   position: relative;
//   display: block;
//   width: 100%;
// }

// .wizard.vertical > .steps {
//   display: inline;
//   float: left;
//   width: 30%;
// }

.transtype,
.transtype1 li {
  list-style-type: none;
  /*margin: 25px 0 0 0;*/
  // padding: 0;
}

.transtype li,
.transtype1 li {
  margin: 15px auto;
  width: 100%;
  height: 60px;
  position: relative;
  display: block;
}

.transtype label,
.transtype input,
.transtype1 label,
.transtype1 input {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

/*
input[name=transaction_type]:checked+label {
	background:red;
}
*/

input[name="desc"]:disabled + label,
.Disabled + label {
  opacity: 0.4 !important;
}

input[name="desc1"]:disabled + label,
.Disabled + label {
  opacity: 0.4 !important;
}

input[name="nstep"]:disabled + label,
.Disabled + label {
  opacity: 0.4 !important;
}

input[name="transaction_type"]:checked + label,
.Checked + label {
  background: #6ac5cc !important;
  color: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

input[name="transaction_type_jeweler"]:checked + label,
.Checked + label {
  background: #6ac5cc !important;
  color: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

.transtype input[type="radio"] {
  opacity: 0.01;
  z-index: 100;
  height: 54px;
}

.transtype label {
  padding-left: 20px;
  border: 1px solid #ccc;
  cursor: pointer;
  z-index: 90;
  font-size: 20px;
  display: flex;
  align-items: center;
  align-content: center;
  flex-wrap: wrap;
}

.transtype label:hover {
  /*background: #DDD;*/
}

.transtype1 input[type="radio"] {
  opacity: 0.01;
  z-index: 100;
  height: 54px;
}

.transtype1 label {
  padding-left: 20px;
  border: 1px solid #ccc;
  cursor: pointer;
  z-index: 90;
  font-size: 20px;
  display: flex;
  align-items: center;
  align-content: center;
  flex-wrap: wrap;
}

// .column input[type="text"],
// textarea,
// label {
//   border-radius: 30px !important;
//   width: 100%;
//   max-width: 100%;
//   padding-left: 14px;
//   font-size: 100%;
// }

/*
input[type="file"] {
	display: none;
}
*/

.flex-container {
  width: 100%;
}

.row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  margin-bottom: 10px;
}

.column {
  display: flex;
  flex-direction: column;
  flex-basis: 100%;
  flex: 1;
}

#file {
  display: none;
}

/* Thumbnail */

.size {
  font-size: 12px;
}

.actions {
  display: none;
}

.fullimg {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.fullimg img {
  min-height: 105%;
  min-width: 105%;
  object-fit: cover;
}

#progress-wrp {
  /*border: 1px solid #0099CC; */
  padding: 1px;
  position: relative;
  height: 30px;
  border-radius: 1px;
  margin: 10px;
  text-align: left;
  /*background: #fff;*/
  /*box-shadow: inset 1px 3px 6px rgba(0, 0, 0, 0.12);*/
}

#progress-wrp .progress-bar {
  height: 100%;
  border-radius: 3px;
  background-color: #f8f9f9;
  width: 0;
  box-shadow: inset 1px 1px 10px rgba(0, 0, 0, 0.11);
}

#progress-wrp .status {
  display: inline-block;
  color: #000000;
  width: 100%;
  max-width: 100%;
  text-align: center;
  display: none;
  font-size: 28px;
  font-weight: 700;
}

.custom-file-upload {
  border: 1px solid #ccc;
  display: inline-block;
  padding: 6px 12px;
  cursor: pointer;
}
