.temp-holder {
  position: relative;
  top: 15px;
  display: inline-block;
}

.hide {
  color: transparent;
}

.form_columns {
  width: 43%;
  float: left;
  margin: 10px;
  padding-right: 5%;
}

.form_columns:last-child {
  padding-right: 0;
}

.mvdwn {
  margin-top: 28px;
}

.field {
  display: inline-flex;
  flex-flow: column-reverse;
  width: 99%;
}

.field h4 {
  font-size: 0.7em;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: #c50022;
  padding-left: 2px;
}

.field h4::after {
  content: "*";
  position: relative;
  right: -2px;
}

.field label, input {
  transition: all 0.2s;
  touch-action: manipulation;
}

.field input {
  font-size: 1.1em;
  border: 0;
  border-bottom: 1px solid #ccc;
  font-family: inherit;
  -webkit-appearance: none;
  border-radius: 0;
  padding: 0;
  cursor: text;
  color: #333;
  height: 42px;
  display: unset !important;
}

.field input:focus {
  outline: 0;
  border-bottom: 1px solid #ccc;
  color: #7c7c7c;
}

.pshdwn {
  padding-top: 40px;
}

.req>input:required, textarea:required {
  border-bottom: 1px solid red;
}

@-moz-document url-prefix() {
  input:required:focus {
    border: 1px solid red;
    outline: none;
  }
}

.field input::required:hover {
  opacity: 1;
}

.field label {
  color: #7c7c7c;
  letter-spacing: 0.05em;
  font-size: 0.8em;
}

input:placeholder-shown+label {
  font-size: 0.7em;
  cursor: text;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transform-origin: left bottom;
  transform: translate(0, 0.9em) scale(1.2);
  padding-left: 2px;
  color: #7a7a7a;
  width: 50%;
}

in ::-webkit-input-placeholder {
  opacity: 0;
  transition: inherit;
  color: #ccc;
  font-size: 0.8em;
}

input:focus::-webkit-input-placeholder {
  opacity: 1;
}

input:not(:placeholder-shown)+label, input:focus+label {
  transform: translate(0, 0) scale(1);
}

/* ==== Form Layout ==== */

/* Selected Elements */

.sel_wr {
  float: left;
  padding: 20px 0;
  margin: 0 0 20px 0;
  background-color: #faf2f2;
  width: 100%;
  border-radius: 4px;
}

.sel-box {
  float: left;
  width: 17%;
  padding: 20px 15px 0;
}

.sel-box:nth-child(3) {
  width: 16%;
}

.sel-box:nth-child(4) {
  width: 16%;
}

.sel-box:nth-child(5) {
  width: 20%;
}

.sel-box h3 {
  padding: 0 0 5px;
  margin: 0;
  color: green;
  font-size: 0.9em;
  line-height: 1.3;
}

.sel-box p {
  color: #333;
  font-size: 0.9em;
}

/* END // */

.top_section_wr {
  float: left;
  width: 50%;
  padding: 0 3px 10px;
  margin: 0;
}

.top_section_wr h2, p {
  margin: 0;
  padding: 0;
}

.consent_wr {
  margin: 0;
}

.main_cont {
  display: flex;
  clear: both;
  margin: 0;
}

.main_cont h2 {
  float: left;
  height: 120px;
}

.cal-box {
  float: left;
  width: 50%;
  padding: 0;
}

.small-box {
  float: left;
  width: 90%;
  padding: 20px 0;
  margin: 0;
}

.sidergt {
  float: right;
}

.small-box:last-child {
  margin-bottom: 0;
}

/*====== Custom Checkbox ====== */

/* Hide the default One */

.custom-radio-wr [type="checkbox"] {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.custom-radio-wr [type="checkbox"]+div {
  display: block;
}

/* Not Checked */

.custom-radio-wr [type="checkbox"]+div:before {
  content: "";
  display: inline-block;
  width: 1.2em;
  height: 1.2em;
  vertical-align: -0.25em;
  border-radius: 0;
  border: 1px solid #333;
  background: #fff;
  margin-right: 0.75em;
  transition: 0.3s ease all;
}

/* Checked In */

.custom-radio-wr [type="checkbox"]:checked+div:before {
  background: #65ac1e;
  color: white;
}

/* Container */

.custom-radio-wr {
  width: 100%;
  margin: 0 auto;
  margin-top: 40px;
}

/*====== END Custom Checkbox ======= */

@media only screen and (max-width: 600px) {
  .main_cont {
    display: block;
  }
  .cal-box, .top_section_wr, .sel-box, .small-box {
    width: 100%;
  }
  .custom-radio-wr [type="checkbox"]+div {
    display: block;
    margin-top: 18px;
  }
  .sel-box:nth-child(3) {
    width: 100%;
  }
  .sel-box:nth-child(4) {
    width: 100%;
  }
  .sel-box:nth-child(5) {
    width: 100%;
  }
  .sidergt {
    float: left;
  }
  .small-box {
    float: left;
    width: 90%;
    padding: 0 0;
    margin: 0;
  }
}

/* === Testing the CSS for select dropdown === */

/*the container must be positioned relative:*/

.custom-select {
  position: relative;
}

.custom-select h3 {
  padding: 0 0 2px;
  margin: 0;
  font-size: 0.83em;
}

.custom-select select {
  display: none;
  /*hide original SELECT element:*/
}

.select-selected {
  background-color: #fff;
  border-bottom: 1px solid #333;
}

/*style the arrow inside the select element:*/

.select-selected:after {
  border-width: 0 6px 6px 6px;
  content: url("../img/icons/up-arrow.svg");
  width: 0;
  height: 0;
  top: -2px;
  right: 0;
  left: -2%;
  float: none;
  position: relative;
  border: 6px solid transparent;
  border-color: #fff transparent transparent transparent;
  transition: all 0.3s ease-out;
  display: inline-block;
}

/*point the arrow upwards when the select box is open (active):*/

.select-selected.select-arrow-active:after {
  border-color: transparent transparent #fff transparent;
  content: url("../img/icons/down-arrow.svg");
  width: 0;
  height: 0;
  top: -2px;
  right: 0;
  left: -2%;
  position: relative;
  transition: all 0.3s ease-out;
  display: inline-block;
}

/*style the items (options), including the selected item:*/

.select-items div, .select-selected {
  color: #333;
  padding: 10px 5px;
  border: 1px solid #333;
  border-color: transparent transparent #ccc transparent;
  cursor: pointer;
  user-select: none;
  transition: all 0.3s ease-out;
}

/*style items (options):*/

.select-items {
  position: absolute;
  background: #f0f0f0;
  color: #333;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
  transition: all 0.3s ease-in-out;
  padding: 10px;
}

.select-items div:last-child {
  border-bottom: 0;
}

/*hide the items when the select box is closed:*/

.select-hide {
  display: none;
}

.select-items div:hover, .same-as-selected {
  background-color: rgba(0, 0, 0, 0.1);
}