/* GENERAL */
fieldset {
  border-style: none;
  margin-bottom: 3rem;
}
.fField {
  margin-top: 4px;
}
.inputDiv {
  font-size: 1.6rem;
  line-height: 140%;
}

label {
  font-family: var(--font-regular);
  font-size: 1.6rem;
  margin-top: 14px;
  color: #ffffff;
  text-align: left;
}
label.marginTop20 {
  display: block;
  margin-top: 2.5rem;
  font-weight: bold;
}

@media only screen and (max-width: 1220px) {
  label {
    font-size: 1.5rem;
  }
}
@media only screen and (max-width: 600px) {
  label {
    font-size: 1.4rem;
  }
}

textarea,
input[type="text"],
input[type="password"],
input[type="number"],
input[type="date"],
select,
option {
  font-family: var(--font-regular);
  /* background-color: #ffffff; */
  background-color: transparent;
  /* color: var(--color-charcoal); */
  color: #ffffff;
  font-size: 1.5rem;
  width: 100%;
  box-sizing: border-box;
  padding: 1.2rem;
  margin: 0.3rem 0rem 0.3rem 0rem;
  border-style: solid;
  border-color: #ffffff;
  border-width: 1px;
  /* box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1); */
}

textarea:focus,
input[type="text"].focus,
input:focus,
option:focus {
  box-shadow: 0 0 5px rgba(104, 52, 34, 1);
  padding: 12px 15px;
  border: 1px solid rgba(104, 52, 34, 1);
}

@media only screen and (max-width: 1220px) {
  textarea,
  input[type="text"],
  input[type="password"],
  input[type="number"],
  input[type="date"],
  select,
  option {
    font-size: 1.5rem;
  }
}
@media only screen and (max-width: 600px) {
  textarea,
  input[type="text"],
  input[type="password"],
  input[type="number"],
  input[type="date"],
  select,
  option {
    font-size: 1.4rem;
    padding: 1rem;
  }
}

.formInputRadio {
  font-family: var(--font-regular);
  color: #ffffff;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

input[type="radio"] {
  margin: 10px 0px;
}

input.small {
  padding: 3px;
  font-size: 12px;
  background-color: transparent;
  color: #ffffff;
}

#refresh {
  color: var(--color-red);
  text-align: left;
  font-size: 12px;
  cursor: pointer;
  cursor: hand;
}
#refresh:hover {
  color: var(--color-red-light);
}

/*Errors - Feedback*/

/*form label errors*/
p.error {
  margin: 0rem;
  font-size: 1.2rem;
  color: var(--color-error);
  text-align: left !important;
} /*field required*/

/*Feedback Div*/
#errorADiv {
  position: absolute;
  top: 150;
  right: 2rem;
  min-width: 26.3rem;
  max-width: 26.3rem;
  margin: 1rem;
  background-color: #ffffff;
  border-style: solid;
  border-color: #ffffff;
  border-width: 0.1rem;
  padding: 0.8rem;
  border-radius: 0.8rem;
  z-index: 200;
}
.errorA_p {
  font-size: 1.2rem;
  margin: 0rem 0rem 0.5rem 0rem;
  text-align: left;
}

/*form feedback errors*/
.throw_error {
  font-size: 1.2rem;
  color: var(--color-error);
  margin: 0rem 0rem 0.5rem 0rem;
  text-align: left;
}

/*form feedback error*/
#message {
  text-align: left;
  /* color: #ffffff; */
  font-size: 1.3rem;
}
#message a {
  text-align: left;
  /* color: #ffffff; */
  font-size: 1.3rem;
}
/*form feedback error*/

.successMsg {
  background-color: #fff;
  border-style: dotted;
  border-color: #80b641;
  border-width: 2px;
  border-radius: 5px;
  padding: 12px 15px;
  /* padding: 1rem 1rem 1rem 3.5rem;  */
}

.errorMsg {
  /* background-color: #fff; */
  background-color: rgb(255, 255, 255, 0.7);
  border-style: dotted;
  border-color: #ff0000;
  border-width: 2px;
  border-radius: 5px;
  padding: 12px 15px;
}
#message p {
  margin: 0px;
  font-size: 1.4rem;
  text-align: center;
  color: #ffffff;
}

#message p.big {
  margin: 0px 0px 5px 0px;
  padding: 8px;
  font-size: 1.7rem;
  text-align: center;
  color: #ffffff;
  background-color: #fff;
  border-style: dotted;
  border-color: #ffffff;
  border-width: 1px;
  border-radius: 4px;
}

.checkmark {
  text-align: center;
}

/*Submit Button*/
.buttonSubmit {
  display: inline-block;
  width: 100%;
  font-size: 1.6rem;
  font-family: var(--font-bold);
  color: #ffffff;
  text-decoration: none;
  background-color: var(--color-red);
  padding: 1.2rem 2.5rem;
  border-style: none;
  /* box-shadow: 0px .2rem .5rem rgba(0,0,0,0.4); */
  transition: all 0.4s;
}
.buttonSubmit:link {
  color: #ffffff;
  text-decoration: none;
}
.buttonSubmit:visited {
  color: #ffffff;
  text-decoration: none;
}
.buttonSubmit:active {
  color: #ffffff;
  text-decoration: none;
}
.buttonSubmit:hover {
  color: #ffffff;
  text-decoration: none;
  background-color: var(--color-red-light);
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

@media only screen and (max-width: 700px) {
  .buttonSubmit {
    font-size: 1.5rem;
  }
}

/*appears beneath the box, when start typing - placeholder not showing*/
label.title {
  /* display: block; */
  /* height: 10px; */
  clear: both;
  width: auto;
  padding-top: 0px;
  font-size: 10px;
  /* color: var(--color-red); */
  color: #ffffff;
  font-family: var(--font-medium);
  line-height: 120%;
  transition: all 0.3s;
}

/*new //need to also select label which is an adjacent sibling (first) - must be after the input
//this is when placeholder is shown - properties are for the label.  When start typing, place holder is not shown */
textarea:placeholder-shown + label.title,
input:placeholder-shown + label.title {
  opacity: 0; /*can animate this property*/
  visibility: hidden; /*properly gone, but cant animate*/
  transform: translateY(-10px);
}

label.error {
  float: none;
  width: auto;
  text-align: left;
  color: #b10000;
  font-size: 10px;
  margin: 0px;
  padding: 0px;
}
