#top-message {
  font-size: 15px;
  padding: 25px 0 20px;
}

#top-message h3 {
  color: #b7804e;
  font-weight: bold;
  font-size: 22px
}

#top-message .checklist-intro {
  margin-top: 10px;
}

.span-big {
  font-size: 20px;
}

.button-white {
  padding: 8px;
  font-size: 14px;
}

.btn-block {
  font-size: 14px;
}

.action-container .btn-block {
  width: 100%;
}

#tax-exempt-application p {
  margin: 0;
  padding: 0;
}

.tax-exempt-app-margin-top {
  margin-top: 20px !important;
}

.tax-exempt-app-margin-bottom {
  margin-bottom: 20px !important;
}

.tax-exempt-app-border-bottom {
  border-bottom: 1px solid #c8c4c0;
}


/* Form */
.form-control {
  height: 30px;
}

input.form-control {
  box-shadow: inset 0 2px 2px 0 #d8d8d8;
  color: #343434;
}

.form-inline .checkbox input[type="checkbox"] {
  margin-left: 8px;
  opacity: 0;
  z-index: 100;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.forgot-password-container {
  display: block !important;
}

#forgot-password {
  float: right;
  font-weight: bold;
  font-size: 13px;
  margin: 15px 0 0;
}

#tax-exempt-address-explanation {
  font-size: 12px;
  font-weight: normal;
}

/* Checkbox */
.checkbox {
  padding: 0;
  margin: 10px 0 !important;
}

.checkbox .check::before {
  content: "";
  display: inline-block;
  position: absolute;
  width: 17px;
  height: 17px;
  left: 0;
  border: 1px solid #cccccc;
  background-color: #fff;
  -webkit-transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
  transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
}

.checkbox label.checked::before {
  background-color: #343434;
  border-color: #343434;
}

.checkbox .check::after {
  display: inline-block;
  position: absolute;
  width: 16px;
  height: 16px;
  left: 0;
  top: 1px;
  padding-left: 3px;
  padding-top: 1px;
  font-size: 11px;
  color: #555555;
}

.checkbox label.checked::after {
  padding-top: 3px;
  content: "\2713";
  color: #fff;
}

/* Bootstrap select */
.bootstrap-select.btn-group .dropdown-toggle .caret {
  top: 13px;
  right: 20px;
  border: none;
}

.bootstrap-select > .dropdown-toggle .caret:after {
  content: '\e259';
  font-family: 'Glyphicons Halflings';
  color: #07729C;
  font-size: 12px;
}

/* Sign in / Sign up */
#signin-form {
  width: 100%;
  padding: 30px;
  margin-top: 20px;
  background-color: #f3f7f9;
  box-shadow: 0 3px 2px 0 rgba(0,0,0,0.16);
}

#signin-form h3, #signup-form h3 {
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 30px;
}

#signin-to-signup, #signup-to-signin {
  padding: 0;
  width: 100%;
  min-height: 360px;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 2px 0 rgba(0,0,0,0.16);
}

#signin-wrapper.none, #signup-wrapper.none {
  display: none !important;
}

#signin-to-signup-btn, #signup-to-signin-btn {
  margin: 20px 0;
}

a #signin-to-signup-btn {
  width: 100%;
}

#signup-to-signin-inner-wrapper, #signin-signup-to-inner-wrapper {
  display: flex;
  flex-direction: column;
}

#signin-wrapper, #signup-wrapper {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin: auto;
  text-align: left;
}

#signup-to-signin {
  min-height: 200px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}

/* Tax exempt application form */
.tax-exempt-form-wrapper, .tax-exempt-form-inner-wrapper  {
  padding: 18px 0;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
}

#info-wrapper {
  border-bottom: 1px solid #c8c4c0;
}

.selector-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.tax-exempt-app-select-picker {
  font-weight: bold;
  box-shadow: inset 0 2px 2px 0 #d8d8d8;
  color: #343434;
  height: 40px;
}

.zip-wrapper, .city-wrapper {
  width: 49%;
}

.state-wrapper, #tax-exempt-type-wrapper, #tax-exempt-order-number-wrapper {
  width: 100%;
}

#tax-exempt-type-and-order-number-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 10px;
}

#tax-exempt-upload-form-wrapper {
  min-width: 45%;
}

#tax-exempt-order-number-wrapper {
  position: relative;
  display: none;
}

#tax-exempt-order-number-spinner {
  position: absolute;
  top: 46px;
  right: 20px;
}

#order-number-error {
  line-height: 15px;
}

#submit-tax-exempt-application {
  border: none;
  color: white;
  font-weight: bold;
  background-color: #07729C;
  box-shadow: inset 0 -2px 0 0 rgba(0, 0, 0, 0.19);
  padding: 12px 15px 10px;
  margin-top: 5px;
  position: relative;
}

#submit-tax-exempt-application:disabled {
  background-color: #ddd;
  pointer-events: none;
}

#tax-exempt-submit-button-spinner {
  position: absolute;
  right: 22px;
  top: 22px;
}

.tax-exempt-info-small-text {
  font-style: italic;
  font-weight: normal;
  font-size: 13px;
}

#file-upload-detail {
  display: none;
  position: relative;
}

#file-upload-cancel {
  position: absolute;
  top: 11px;
  right: 5px;
  border: none;
  background: none;
  outline:none;
}

#file-name {
  width: 100%;
}

#file-wrapper {
  display: flex;
  flex-direction: column;
}

#choose-file-button {
  width: 100%;
}

button.error {
  background-color: #ffeff2;
  border-color: #ff3000;
}

/* Thank you screen */
#tax-exempt-thank-you-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

#tax-exempt-thank-you-image-wrapper {
  padding: 15px 0;
  max-width: 480px;
}

/* Footer */
#tax-exempt-app-footer {
  text-align: center;
  border: none;
}

/* Tax Exemption Guide */
#tax-exemption-guide-content {
  margin: 0;
  padding: 0 20px;
  overflow-x: scroll;
  max-height: 65vh;
}

#tax-exemption-guide-title {
  margin-top: 35px;
  margin-bottom: 20px;
  font-weight: bold;
  font-size: 20px;
  min-width: 500px;
}

#tax-exemption-guide thead tr {
  font-weight: bold;
  background-color: #f8f5f3;
}

#tax-exemption-guide {
  border: 1px solid #ddd;
  min-width: 992px;
}

#tax-exemption-guide tr:hover {
  background-color: #f5f5f5;
}

#tax-exemption-guide th, #tax-exemption-guide td {
  border-bottom: 1px solid #ddd;
}

#tax-exemption-guide th {
  padding: 15px;
}

#tax-exemption-guide td {
  padding: 12px 8px;
  font-size: 12px;
}

@media (min-width: 992px) {
  #forgot-password {
    margin-top: 24px;
  }

  #top-message h3 {
    font-size: 26px
  }

  #signin-form h3, #signup-form h3 {
    font-size: 28px;
  }

  #login-form > .action-container > button {
    width: 60%;
  }

  .form-control {
    height: 40px;
  }

  #signup-to-signin {
    min-height: 570px;
  }

  .btn-block {
    width: 60%;
  }

  #signup-form {
    padding-left: 15px;
  }

  .forgot-password-container {
    width: 40%;
  }

  /* Tax exempt application form */
  #info-wrapper {
    /*width: 70%;*/
    padding-right: 30%;
  }

  .zip-wrapper {
    width: 27%;
  }

  .city-wrapper, .state-wrapper {
    width: 34.5%;
  }

  #tax-exempt-type-wrapper {
    width: 45%;
  }

  #tax-exempt-order-number-wrapper {
    width: 53%;
  }

  #tax-exempt-type-and-order-number-wrapper {
    flex-direction: row;
  }

  #file-wrapper, #submit-tax-exempt-application, #file-upload-detail {
    min-width: 35%;
  }

  .tax-exempt-form-inner-wrapper  {
   align-items: flex-start;
  }

  /* Sign in / Sign up */
  #signup-wrapper {
    flex-direction: row !important;
  }

  #signin-wrapper, #signup-wrapper {
    flex-direction: row !important;
    justify-content: space-between !important;
  }

  #signin-form, #signup-form {
    width: 49% !important;
  }

  #signin-to-signup, #signup-to-signin {
    width: 49% !important;
  }

  #signup-to-signin {
    order: 1;
  }

  #signup-form {
    order: 2;
  }

  /* Tax Exemption Guide */
  #tax-exemption-guide-title {
    font-size: 23px;
  }

  #tax-exemption-guide td {
    font-size: 13px;
  }

  #tax-exemption-guide-content {
    margin-left: -25px;
    margin-right: -25px;
    padding: 0;
    max-height: unset;
    overflow-x: auto;
  }

  /* Thank you screen */
  #tax-exempt-thank-you-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
  }

  #tax-exempt-thank-you-image-wrapper {
    min-width: 480px;
  }
}


