.contact__step-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  background-color: #f4f5f8;
  padding: 24px 0;
  width: 100%;
}

.contact__step {
  background-color: #b0b0b0;
  color: white;
  padding: 12px 24px;
  border-radius: 3px;
  font-size: 1.4rem;
  position: relative;
  font-weight: bold;
  width: 17%;
  text-align: center;
}

.contact__step.active {
  background: linear-gradient(to right, var(--primary) 0%, #4E87D8 100%);
}

.contact__step:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -60px;
  top: 50%;
  width: 60px;
  height: 2px;
  background-color: #ccc;
  transform: translateY(-50%);
  z-index: 0;
}

.form {
  display: flex;
  flex-direction: column;
}

.cooling-off {
  width: 100%;
  padding: 30px;
  background: var(--bg-subtle);
}

.form-group {
  padding: 24px 0;
  border-bottom: 1px solid #E6E6E6;
}

.flex-row {
  display: flex;
  align-items: start;
  gap: 1rem;
}

.form-label {
  width: 240px;
  font-weight: bold;
}

.required--right {
  color: var(--sub-color);
}

.form-label.required::after {
  content: " *";
  color: var(--sub-color);
}

.form-content {
  flex: 1;
  display: flex;
  gap: 0 30px;
}

.birthdate-group .form-content{
		align-items: center;
}

.form-content--column {
  flex-flow: column;
}

input[type="text"],
input[type="email"],
input[type="date"],
select,
textarea {
  width: 100%;
  padding: 14px 12px;
  box-sizing: border-box;
  border: 1px solid #d2d2d2;
  border-radius: 3px;
}

.contact-form_apply{
	display:none;
}

textarea {
  width: 100% !important;
	height:100px !important;
}
.checkbox-label {
  display: inline-flex;
  align-items: center;
  column-gap: 10px;
  cursor: pointer;
}

input[type="text"]:focus, input[type="date"]:focus, select:focus, textarea:focus {
  outline: none;
}

.checkbox {
  appearance: none;
  position: relative;
  width: 24px;
  height: 24px;
  border: 1px solid #D2D2D2;
  border-radius: 3px;
  background: #fff;
  margin: 0;
	flex-shrink: 0;
}

.checkbox:checked::after {
  content: "";
  position: absolute;
  top: 5.5px;
  left: 4.5px;
  width: 12px;
  height: 7px;
  border-bottom: 2px solid #2f509f;
  border-left: 2px solid #2f509f;
  transform: rotate(-45deg);
}

.radioButton {
  appearance: none;
  position: relative;
  width: 24px;
  height: 24px;
  border: 1px solid #d2d2d2;
  border-radius: 9999px;
  margin: 0;
}

.radioButton:checked::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 14px;
  height: 14px;
  margin: auto;
  border-radius: 9999px;
  background-color: #2f509f;
}

.bg-color-subtle .form-subgroup{
	width:100%;
}

.form-subgroup .flex-row {
  align-items: center;
  padding: 17px 0 0 0;
}

.form-subgroup .form-label {
  width: 140px;
  font-weight: normal;
}

.form-content .input--sm {
  width: 300px;
}

select.custom-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: url('../img/select-arrow.svg') no-repeat calc(100% - 10px) center #fff;
  background-size: 8px;
}

::placeholder {
  color: #ccc;
}

.birthdate-group select {
  flex: 1;
}

.bg-color-subtle.form-group {
  padding: 24px 30px;
  border-bottom: 1px solid #d2d2d2;
}

.bg-color-subtle.form-group .form-content {
  align-items: center;
  gap: 10px;
}

.bg-color-subtle.flex-row {
  align-items: center;
}

.privacy-policy__checkbox {
  background: var(--bg-default);
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 30px;
}

.form-submit {
  text-align: center;
  width: 100%;
}

.ivr-table td,
.ivr-table th{
  text-align: center;
  background: #fff;
  height: 70px;
  vertical-align: middle;
  width: 15%;
  padding: 20px 5px;
}

.ivr-table thead td,
.customer-forecast-table thead th {
  background: #8B919B;
  color: #fff;
}

.ivr-table thead td:not(:last-child) {
  border-right: 1px solid #fff;
} 

.ivr-table .cell-heading {
  background: #E4ECF7;
}

.automatic {
  background-color: var(--primary);
  border-radius: 3px;
  color: #fff;
  font-weight: 700;
  margin-right: 10px;
  padding: 3px 10px;
  display: flex;
  align-items: center;
  width: fit-content;
}

.automatic-box {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.automatic img {
  width: 17px;
  margin-right: 5px;
}

.ivr-table tr td.pushnum {
  width: 5%;
}

.contact-section {
  text-align: center;
}

.contact-status__message {
  position: relative;
  display: inline-block;
  font-size: 24px;
  font-size: 2.4rem;
  margin: 0;
  padding: 12px 40px;
  text-align: center;
  background: var(--primary);
  color: #fff;
  border-radius: 4px;
}

.contact-status__message::after {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-color: var(--primary) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-width: 14px 8px 0 8px;
  bottom: -14px;
}

.contact-info {
  padding: 70px 60px 60px;
  background: #E4ECF7;
  border: 2px solid var(--primary);
  margin-top: -35px;
  border-radius: 8px;
}

.contact-info__number.phone-number {
  font-size: 4.9rem;
  line-height: 1.5;
}

.contact-info__number.phone-number a {
  color: var(--primary);
}

.contact-info__number.phone-number img {
  width: 36px;
}

.contact-info__label {
  font-size: 2rem;
  color: var(--primary);
  font-weight: bold;
}

.contact-info__hours {
  margin-top: 5px;
  font-size: 1.5rem;
  font-weight: bold;
}

.contact-note {
  text-align: left;
}

.customer-forecast-table td,
.customer-forecast-table th {
  text-align: center;
  border: 1px solid #8B919B;
  height: 62px;
  padding: 16px 30px;
}

.customer-forecast-table .status-busy {
  background: #FFD6D6;
}

.customer-forecast-table .status-semi-busy {
  background: #FFF2DC;
}

.customer-forecast-table .status-fair {
  background: #B9FFE9;
}

.customer-forecast-table .status-available {
  background: #DEE8FF;
}

.customer-forecast-table img {
  width: 18px;
  margin: 0 auto;
}

.customer-forecast-table .cell-heading {
  background: #fff;
}

.customer-forecast-table thead th:not(:last-child) {
  border-right: 1px solid #fff;
}

.customer-forecast-table th.table-empty {
  border: none;
  background: none;
}

.customer-congestion-legend {
  display: flex;
  justify-content: start;
  gap: 10px 40px;
  flex-wrap: wrap;
}

.customer-congestion-legend li {
  display: flex;
  align-items: center;
  font-weight: bold;
}

.customer-congestion-legend img {
  width: 24px;
  margin-right: 8px;
}

table.ui-datepicker-calendar td,
table.ui-datepicker-calendar th {
  height: 0px;
}

@media (max-width: 1024px) {
  .contact__step-flow {
    gap: 5%;
  }

  .contact__step {
    width: 100%;
  }

  .contact__step:not(:last-child)::after {
    right: -100%;
    width: 100%;
  }

  .flex-row {
    flex-flow: column;
    gap: 1.5rem;
  }

  .form-content {
    flex: 1;
    display: flex;
    flex-flow: column;
    gap: 15px;
    width: 100%;
  }

  .form-content .input--sm {
    width: 100%;
  }

  .form-subgroup .flex-row,
  .bg-color-subtle.flex-row,
  .bg-color-subtle.form-group .form-content {
    align-items: start;
  }
	
	  .birthdate-group .form-content {
  display:block;
  }
	.birthdate-group select {
    width: 70%;
}

  .contact-status__message {
    font-size: 1.6rem;
    line-height: 1.6;
    padding: 16px 24px;
  }
}

@media (max-width: 768px) {
  .cooling-off {
    padding: 30px 15px;
  }

  .bg-color-subtle.form-group {
    padding: 24px 15px;
  }

  .ivr-table td,
  .ivr-table th,
  .automatic-box {
    font-size: 1.4rem;
  }

  .automatic-box {
    flex-flow: column;
  }

  .automatic {
    font-size: 1rem;
    margin-right: 0px;
    margin-bottom: 5px;
    padding: 3px 7px;
  }

  .customer-forecast-table img,
  .customer-congestion-legend img {
    width: 50%;
    max-width: 14px;
  }

  .contact-info {
    margin-top: 25px;
    padding: 30px 10px;
  }

  .contact-info__hours {
    font-size: 1.4rem;
  }

  .contact-info__label {
    font-size: 1.8rem;
  }

  .contact-info__number.phone-number {
    font-size: 3.4rem;
  }

  .contact-info__number.phone-number img {
    width: 26px;
  }

  .customer-forecast-table td,
  .customer-forecast-table th {
    height: 60px;
    padding: 15px 5px;
  }
}