* {
  margin: 0;
  padding: 0
}

html {
  height: 100%,
}

.form-layout {
  max-width: 100%;
  max-height: 100%;
}


.form-card {
  text-align: left
}

@media only screen and (max-width: 1024px) {
  .form-layout {
    max-width: 100%;
  }
}

@media only screen and (max-width: 481px) {
  .form-check-input {
    position: absolute;
    margin-top: auto;
    margin-left: -1.5rem;
  }

  .agreeCheck{
    position: absolute;
    margin-top: 0.3rem;
    margin-left: -1.5rem;
  }

.table td, .table th {
  padding: .6rem;
  vertical-align: top;
  border-top: 1px solid #dee2e6;
}

  #no-more-tables table,
  #no-more-tables thead,
  #no-more-tables tbody,
  #no-more-tables th,
  #no-more-tables td,
  #no-more-tables tr {
  display: block;
  }

  #no-more-tables thead tr {
  position: absolute;
  top: -9999px;
  left: -9999px;
  }

  #no-more-tables tr { 
    border: 1px solid #ccc; 
  }

  #no-more-tables td {
  border: none;
  position: relative;
  padding-left: 45%;
  white-space: normal;
  text-align:left;
  }

  #no-more-tables td:before {
  position: absolute;
  top: 10px;
  left: 6px;
  width: 45%;
  padding-right: 10px;
  white-space: pre-line;
  text-align:left;
  font-weight: bold;
  }

  #no-more-tables td:before { content: attr(data-title); }
}

#msform .select2-container .select2-selection--single {
    display: block;
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out; 
}

#msform .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 26px;
  position: absolute;
  top: 5px;
  right: 1px;
  width: 20px;
}

#msform .select2-container {
  width: 100% !important;
}

#inputCurrentPrograms {
  display: none;
}

#inputDonationAmount {
 display: none;
}

#showdiscountDiv {
  display: none;
}

#showDonationAmountDiv{
  display: none;
}

#heading {
  text-transform: uppercase;
  color: #789A3D;
  font-weight: normal
}

#msform {
  text-align: center;
  position: relative;
  margin-top: 20px
}

#msform fieldset {
  background: white;
  border: 0 none;
  border-radius: 0.5rem;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding-bottom: 20px;
  position: relative
}

#msform fieldset:not(:first-of-type) {
  display: none
}

#msform .label {
  text-align: justify; 
  text-justify: inter-word;
}

#msform .action-button {
  width: 100px;
  background: green;
  font-weight: bold;
  color: white;
  border: 0 none;
  border-radius: 10px;
  cursor: pointer;
  outline: none;
  padding: 10px 5px;
  margin: 10px 0px 10px 5px;
  float: right
}

#msform .action-button:hover,
#msform .action-button:focus {
  background-color: darkgreen;
  border-radius: 10px;
  outline: none;
}

#msform .action-button-previous {
  width: 100px;
  background: green;
  font-weight: bold;
  color: white;
  border: 0 none;
  border-radius: 10px;
  cursor: pointer;
  outline: none;
  padding: 10px 5px;
  margin: 10px 5px 10px 0px;
  float: right
}

#msform .action-button-previous:hover,
#msform .action-button-previous:focus {
  background-color: darkgreen;
  border-radius: 10px;
  outline: none;
}

.card {
  z-index: 0;
  position: relative;
  opacity: 0.95;
  height: 100%;
}

.fs-title {
  /* font-size: 25px; */
  color: #789A3D;
  margin-bottom: 25px;
  font-weight: normal;
  text-align: left;
  /* margin-top: 30px; */
  margin-bottom: 0px;
  padding-bottom: 0px;
}

.steps {
  /* font-size: 25px; */
  color: gray;
  /* margin-bottom: 25px; */
  font-weight: normal;
  /* text-align: right; */
  /* margin-top: 30px; */
  text-align-last: end;
}

.fieldlabels {
  color: gray;
  text-align: left
}

#progressbar {
  margin-bottom: 30px;
  overflow: hidden;
  color: lightgrey
}

#progressbar .active {
  color: #789A3D
}

#progressbar li {
  list-style-type: none;
  font-size: 15px;
  width: 20%;
  float: left;
  position: relative;
  font-weight: 900
}

#progressbar #member:before {
  font-family: "Font Awesome 5 Free";
  content: "\f007"
}

#progressbar #pickup:before {
  font-family: "Font Awesome 5 Free";
  content: "\f63c"
}

#progressbar #share:before {
  font-family: "Font Awesome 5 Free";  
  content: "\f787";
}

#progressbar #payment:before {
  font-family: "Font Awesome 5 Free";
  content: "\f09d"
}

#progressbar #confirm:before {
  font-family: "Font Awesome 5 Free";
  content: "\f46d"
}

#progressbar li:before {
  width: 50px;
  height: 50px;
  line-height: 45px;
  display: block;
  font-size: 20px;
  color: #ffffff;
  background: lightgray;
  border-radius: 50%;
  margin: 0 auto 10px auto;
  padding: 2px
}

#progressbar li:after {
  content: '';
  width: 100%;
  height: 2px;
  background: lightgray;
  position: absolute;
  left: 0;
  top: 25px;
  z-index: -1
}

#progressbar li.active:before,
#progressbar li.active:after {
  background: green
}

.progress {
  height: 20px
}

.progress-bar {
  background-color: #789A3D
}

.fit-image {
  width: 100%;
  object-fit: cover
}

.required {
  color: #7F3A2D;
}

input.invalid { 
  border: 1px solid #7F3A2D; 
}

label.invalid {
  color: #7F3A2D;
}

.ui-dialog-titlebar { background-color: white; color: #789A3D; position: relative; }

.jconfirm .jconfirm-box {
  width: 20rem;
}

hr {
  height: 1rem; 
}