.project-form-wrapper {
  max-width: 1000px;
  background-color: white;
  margin: 0 auto;
  padding: 50px 0;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.project-form-h1 {
  font-size: 20pt;
  text-align: center;
  margin: 0 auto 30px;
  max-width: 600px;
  font-family: Georgia, serif;
  font-weight: 100;
}

.project-form-wrapper h2 {
  font-family: Georgia, serif;
  font-weight: 100;
  font-style: italic;
  margin-bottom: 20px;
}

.project-form-stepper-label {
  font-size: 11pt;
  margin-left: 10px;
}

#grab-tape {
  background-color: #FBFF8B;
  width: 300px;
  text-align: center;
  display: block;
  margin: 0 auto 50px;
}

@media(max-width: 48em) {
  .project-form-wrapper {
    width: 97%;
    padding: 20px 0;
  }

  .project-form-h1 {
    line-height: 1.3em;
    font-size: 18pt;
    margin: 0 auto 10px;
  }

  .project-form-stepper-section {}
}

.mobile-only {
  display: none;
}

/* ============================== STEPPER */
#project-form-stepper {
  margin-bottom: 40px;
}

.project-form-stepper-section {
  margin-bottom: 10px;
}

.project-form-stepper-number, .project-form-stepper-label {
  display: inline-block;
}

.stepper-check {
  display: none;
}

.project-form-section, #project-form-window-options, #project-form-sliding-glass-options, #project-form-other-options {
  display: none;
}

#project-form-thank-you-wrapper {
  display: none;
  text-align: center;
}

#project-form-thank-you-wrapper img {
  max-width: 250px;
  margin: 0 auto;
}

#project-form-thank-you-wrapper h2 {
  max-width: 700px;
  margin: 20px auto;
}

/*======================================= FORM */
#project-form-homepage {
  background-color: #F8FAFC;
  padding: 20px;
  width: 90%;
  margin: 0 auto;
}

.project-form-images .checkboxes {
  width: 16%;
  display: inline-block;
}

.project-form-images img {
  width: 100%;
}

.project-input-group {
  margin-bottom: 10px;
  margin-top: 10px;
  text-align: left
}

.project-form-wrapper label {
  font-weight: 500;
  font-size: 12pt;
  display: block;
  margin: 0 0 5px 0;
}

.project-form-wrapper .form-check label {
  font-weight: 400;
}

.optional {
  font-weight: 300;
  font-style: italic;
  font-size: 8pt;
}

#why-new-windows-doors {
  border: 1px solid #dddddd;
  width: 100%;
  height: 60px;
  padding-top: 5px;
}

.project-form-wrapper input[type="text"],
.project-form-wrapper input[type="tel"],
.project-form-wrapper input[type="email"],
textarea {
  width: 100%;
  height: 35px;
  padding-left: 7px;
  border-radius: 5px;
  box-sizing: border-box;
  font-size: 11pt;
}

.project-form-wrapper input[type="text"]:focus,
.project-form-wrapper input[type="tel"]:focus,
.project-form-wrapper input[type="email"]:focus,
textarea:focus {
  outline: 0;
  border: 1px solid #ADCCE9;
}

.checkboxes .form-check {
  background-color: white;
  margin-bottom: 10px;
}

.checkboxes .form-check label {
  margin: 0;
  padding: 15px 0 15px 0;
  font-size: 11pt;
  cursor: pointer;
}

.checkboxes .form-check input {
  float: left;
  width: 20px;
  margin: 17px 0 0 2%;
  cursor: pointer;
}

.form-other label {
  display: inline-block;
  font-size: 11pt;
}

#project-description-other-text {
  float: none;
  width: 100%;
  margin-top: 0;
  max-width: 600px;
}
.error-message {
  color: red;
  margin: 10px 0 0;
  font-size: 10pt;
  display: none;
}
.error-message.display{
  display: block;
}
/*==================================== RADIO BUTTONS */
.form-images .project-input-group label {
  font-size: 9pt;
  min-height: 110px;
  text-align: center;
  cursor: pointer;
}

.radio-group .radios {
  text-align: center;
  cursor: pointer;
}

.radio-group .radios img {
  max-width: 70px;
  display: block;
  margin: 0 auto 10px;
  text-align: center;
}

.project-form-images .form-other {
  background-color: transparent;
}

#vinyl-colors, #aluminum-colors, #multi-panel-options, #project-form-entry-options {
  display: none;
}

@media(max-width:48em) {
  .radio-group .radios {
    margin-bottom: 20px;
  }

  .form-images .project-input-group label {
    font-size: 9pt;
    min-height: none;
  }
}

/*==================================== VALIDATION */
.valid, .project-input-group input {
  border: 1px solid #dddddd;
}

.project-input-group .invalid, .checkbox-required-group.invalid {
  background-color: #FFEFEF;
  /* light error red */
}

.stepper-number {
  padding: 2px 8px;
  border-radius: 50px;
  font-size: 11pt;
}

.unfinished .stepper-number {
  background-color: #ADCCE9;
  /* stepper light blue */
}

.active-stepper .stepper-number {
  background-color: #BDF7B0;
  /*bright green*/
}

.finished .stepper-number {
  background-color: #BDF7B0;
}

/*================================ BUTTON */
#nextBtn, #submitBtn {
  background-color: #E82727;
  color: white;
  width: 100%;
  max-width: 160px;
  padding: 14px 0;
  border-radius: 3px;
  font-size: 10pt;
  border: none;
  font-weight: 500;
  text-transform: uppercase;
  font-family: 'Avenir', sans-serif;
  letter-spacing: .12em;
  margin-left: 10px;
}

#prevBtn {
  background-color: white;
  color: black;
  width: 100%;
  max-width: 160px;
  padding: 14px 0;
  border-radius: 3px;
  font-size: 10pt;
  border: 1px solid #E82727;
  font-weight: 500;
  text-transform: uppercase;
  font-family: 'Avenir', sans-serif;
  letter-spacing: .12em;
  margin-right: 10px;
}

@media(max-width:48em) {
  #nextBtn, #submitBtn {
    max-width: none;
    margin-left: 0;
    margin-top: 10px;
    padding: 12px 0;
  }

  #prevBtn {
    margin-right: 0;
    max-width: none;
    margin-top: 20px;
    padding: 12px 0;
  }
}

/*================================ LEARN MORE */
.form-learn-more {
  font-size: 10pt;
  display: inline-block;
  text-decoration: underline;
  color: #2074C3;
  cursor: pointer;
}

.form-learn-more:hover {
  color: #062A4D;
}

#learn-more-slider {
  width: calc(50vw - 30px);
  background-color: white;
  position: fixed;
  right: 0;
  z-index: 1;
  display: none;
  box-shadow: 0 0 15px 15px rgba(0, 0, 0, 0.09);
  padding: 30px 30px 100px 30px;
  overflow-y: scroll;
  top: 0;
  bottom: 0;
  overflow-y: scroll;
  overflow-x: hidden;
}

#close-learn-more-slider {
  text-align: right;
  width: 100%;
  display: block;
  font-size: 9pt;
  font-weight: 500;
  color: red;
}

#learn-more-slider p {
  font-size: 11pt;
}

#learn-more-text img {
  max-width: 250px;
}

#close-learn-more-slider #close-btn:hover {
  background-color: #FFF7F7;
  cursor: pointer;
}

@media(max-width:48em) {
  #learn-more-slider {
    width: calc(70vw - 30px);
    overflow-y: scroll;
  }
}

/* ======================= MEASUREMENTS*/
#project-form-window-measurements, #project-form-door-measurements {
  margin: 50px 0;
  text-align: left;
}

.add-measurement-row{
  margin: 20px 0 20px 20px;
  color: #2074C3;
  font-size: 10pt;
  text-decoration: underline;
  font-weight: 500;
  max-width: 150px;
}

.measurement-table {
  border-collapse: collapse;
  width: 100%;
}

.measurement-table input[type="number"] {
  height: 30px;
  border: 1px solid #dedede;
  text-align: center;
  font-size: 10pt;
  max-width: 60px;
  border-radius: 4px;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

.measurement-table select {
  height: 30px;
  border: 1px solid #dedede;
  box-shadow: none;
  font-size: 10pt;
}
.measurement-table input[type="checkbox"] {
  height: 30px;
  width: 30px;
}
.measurement-table thead th {
  font-size: 9pt;
  font-weight: 400;
  text-align: center;
}

.measurement-table thead th:nth-child(1), .measurement-table tr td:nth-child(1) {
  text-align: left;
}

.measurement-table tbody tr {
  background-color: white;
  border-bottom: 10px solid #F8FAFC
}

.measurement-table tr td {
  padding: 10px 15px;
  text-align: center;
}

.delete-row {
  font-size: 9pt;
  color: red;
  font-weight: 500;
}

#by {
  font-size: 9pt;
  display: inline-block;
  color: #8b8b8b;
  margin: 0 5px;
}

#window-measurement-examples,
#door-measurement-examples {
  font-size: 10pt;
  font-style: italic;
  color: #7E7E7E;
}

#window-measurement-examples li,
#door-measurement-examples li {
  padding: 0 0 5px 0;
}

/* THANK YOU */
#project-form-thank-you {
  max-width: 800px;
  margin: 0 auto;
}

.success {
  padding: 30px 0;
  position: absolute;
  99;
  width: 100%;
  top: 150px;
  background-color: rgb(224, 255, 228);
  text-align: center;
  color: green;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.2);
  margin: 0 auto;
  display: block;
  left: 0;
}

.success h3 {
  color: green;
}

@media (max-width:48em) {
  #project-form-window-measurements,
  #project-form-door-measurements {
    margin: 20px 0;
  }

  .measurement-table thead {
    display: none;
  }

  #window-measurement-examples,
    #door-measurement-examples {
    padding: 0;
  }

  .measurement-table tr {
    border-bottom: 1px solid #dddddd;
  }

  .measurement-table tr td {
    text-align: left;
  }

  .measurement-table, .measurement-table tbody, .measurement-table tr, .measurement-table tr td {
    width: 100%;
    display: block;
  }

  .mobile-only {
    font-size: 10pt;
    display: block;
    margin-bottom: 5px;
  }

  .measurement-table input[type="checkbox"] {
    display: inline-block;
  }

  .measurement-table tr td {
    padding: 10px 10px;
  }

  .mobile-only.measurement-checkbox {
    display: inline-block;
  }
}
