ul,
ol {
  padding: 0;
  margin: 0;
}
textarea.form-control {
  resize: none;
  border: none;
}
body {
  font-family: "Lato", sans-serif;
}
.form-control {
  border-radius: 0;
}
.form-control:focus {
  border-color: rgb(59, 119, 127);
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(59, 119, 127, 0.25);
}
.btn-submit {
  padding: 10px 25px;
  color: #fff;
  background-color: #286973;
  border-radius: 15px;
  text-transform: uppercase;
}

.top-fade-slider {
  position: relative;
}
.overlay {
  position: absolute;
  height: 100%;
  width: 100%;
  background-color: rgba(000, 000, 000, 0.4);
  z-index: 10;
}
.overlap-form {
  width: 80%;
  margin: 0 auto;
  border-radius: 45px;
  background-color: #eef4ed;
  /* padding: 15px;   */
  padding: 100px 0 200px;
  margin-top: -150px;
  position: relative;
  z-index: 11;
}
.top-block {
  width: 100%;
  text-align: center;
  margin-top: -220px;
  margin-bottom: 30px;
}
.top-block img {
  height: 225px;
}
.top-block .text-block {
  margin-top: 70px;
}
.text-block h1 {
  font-size: 32px;
  font-weight: 700;
  color: #286973;
  margin-bottom: 4px;
}
.text-block p.center-cover {
  width: 34%;
  margin: 0 auto;
}
.text-block p {
  font-size: 16px;
  color: #286973;
}
.text-block ul {
  margin-bottom: 1rem;
  color: #dc3545;
  margin-top: 20px;
  padding-left: 18px;
}
.form-block {
  /* padding: 40px 0; */
}
.form-block .field-wrap {
  padding: 0 60px;
}
.bg-block {
  background-image: url("../img/illustration_alt.png");
}
.divider {
  height: 2px;
  width: 100%;
  background-color: #cddeca;
}
.field-wrap .text-block {
  padding: 40px 0;
}
.upload-btn-wrapper {
  position: relative;
  overflow: hidden;
  display: inline-block;
  width: 100%;
  cursor: pointer;
}
.upload-btn {
  color: #fff;
  background-color: #cddeca;
  font-size: 140px;
  height: 228px;
  width: 100%;
  line-height: 228px;
  border: none;
}
.upload-btn-wrapper input[type="file"] {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  height: 100%;
  width: 100%;
  cursor: pointer;
}
.footer {
  position: relative;
  z-index: 12;
  margin-top: -225px;
}
/*
Material input field: https://codepen.io/sevilayha/pen/IdGKH
*/
.material-dropdown {
  position: absolute;
  left: 0;
  width: 100%;
  height: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  background: #ffffff;
  color: #000000;
  z-index: 1000;
  transition: 0.2s ease-in height, step-end box-shadow 0.2s;
  -moz-transition: 0.2s ease-in height, step-end box-shadow 0.2s;
  -webkit-transition: 0.2s ease-in height, step-end box-shadow 0.2s;
}
.material-dropdown.material-dropdown-open {
  box-shadow: 0px 0px 2px 2px rgba(0, 0, 0, 0.2);
}
.material-dropdown li {
  padding: 10px;
  cursor: default;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.material-dropdown li:hover {
  background-color: #e8eaf6;
}
.material-dropdown li.material-dropdown-selected {
  background-color: #9fa8da;
}

/*
A material design form field
Expects this html (note the required attribute on the input):
<div class="material-form-field">
<input type="text" required/>
<label class="material-form-field-label">Form field title</label>
</div>
*/
.material-form-field {
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  position: relative;
  display: block;
  color: #000000;
  padding: 25px 0 10px 0;
}
.material-form-field::after {
  content: "\00A0";
  display: block;
  color: #d50000;
  font-size: 12px;
  padding-top: 5px;
}
.material-form-field .material-form-field-label {
  position: absolute;
  display: block;
  top: 35px;
  left: 0px;
  transition: 0.2s ease all;
  -moz-transition: 0.2s ease all;
  -webkit-transition: 0.2s ease all;
  pointer-events: none;
  cursor: text;
  font-size: 18px;
  color: #3b777f;
}
.material-form-field input {
  padding: 10px 0 10px 0;
  display: block;
  width: 100%;
  border: none;
  font-size: 18px;
  color: #000000;
  border-bottom: 1px dashed #95bbb2;
  outline: none;
  background-color: transparent;
  color: #3b777f;
}
.material-form-field input:invalid {
  outline: none;
  box-shadow: none;
}
/*.material-form-field input:valid ~ .material-form-field-label,*/
.material-form-field input:focus ~ .material-form-field-label {
  /* .material-form-field input:focus ~ .material-form-field-label { */
  top: 10px;
  font-size: 12px;
}
.input-form-top-stick{
  top: 10px!important;
  font-size: 12px!important;
}
.input-form-field-alt .material-form-field-label {
  top: 35px !important;
  font-size: 18px !important;
}

.input-form-field-alt input:focus ~ .material-form-field-label {
  top: 10px !important;
  font-size: 12px !important;
}
.material-form-field input:focus {
  outline: none;
  color: #3f51b5;
  padding-bottom: 8px;
  border-bottom-width: 3px;
  border-bottom-color: #3f51b5;
  border-bottom-style: solid;
}
.material-form-field input:focus ~ .material-form-field-label {
  color: #3f51b5;
}
.material-form-field input:focus ~ .material-dropdown {
  height: 228px;
  box-shadow: 0px 0px 2px 2px rgba(0, 0, 0, 0.2);
  transition: 0.2s ease-out height, step-start box-shadow 0.2s;
  -moz-transition: 0.2s ease-out height, step-start box-shadow 0.2s;
  -webkit-transition: 0.2s ease-out height, step-start box-shadow 0.2s;
}
.material-form-field.material-form-field-invalid {
  color: #d50000;
}
.material-form-field.material-form-field-invalid::after {
  content: attr(data-validationError);
}
.material-form-field.material-form-field-invalid
  input:focus
  ~ .material-form-field-label,
.material-form-field.material-form-field-invalid .material-form-field-label {
  color: #d50000;
}
.custom-control-label {
  color: #286973;
  font-size: 18px;
}
.custom-control-label a {
  color: #dc3545;
}
.custom-control-label::before {
  width: 1.2rem;
  height: 1.2rem;
  border: #3b777f solid 1px;
  background-color: transparent;
}
.custom-control-label::after {
  width: 1.2rem;
  height: 1.2rem;
}

/* custom select */
.select-hidden {
  display: none;
  visibility: hidden;
  padding-right: 10px;
}

.select {
  cursor: pointer;
  display: inline-block;
  position: relative;
  font-size: 16px;
  color: #3b777f;
  width: 100%;
  height: 40px;
}

.select-styled {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #cddeca;
  padding: 8px 15px;
  -moz-transition: all 0.2s ease-in;
  -o-transition: all 0.2s ease-in;
  -webkit-transition: all 0.2s ease-in;
  transition: all 0.2s ease-in;
}
.select-styled:after {
  content: "";
  width: 0;
  height: 0;
  border: 7px solid transparent;
  border-color: #3b777f transparent transparent transparent;
  position: absolute;
  top: 16px;
  right: 10px;
}
/* .select-styled:hover {
  background-color: #b83729;
} */
/* .select-styled:active, .select-styled.active {
  background-color: #ab3326;
} */
.select-styled:active:after,
.select-styled.active:after {
  top: 9px;
  border-color: transparent transparent #fff transparent;
}

.select-options {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  z-index: 999;
  margin: 0;
  padding: 0;
  list-style: none;
  background-color: #cddeca;
}
.select-options li {
  margin: 0;
  padding: 12px 0;
  text-indent: 15px;
  border-top: 1px solid #95bbb2;
  -moz-transition: all 0.15s ease-in;
  -o-transition: all 0.15s ease-in;
  -webkit-transition: all 0.15s ease-in;
  transition: all 0.15s ease-in;
}
.select-options li:hover {
  color: #3b777f;
  background: #fff;
}
.select-options li[rel="hide"] {
  display: none;
}
.other-logo {
  background-color: #286973;
  text-align: center;
  padding-bottom: 50px;
}
.other-logo h1 {
  font-family: "Lobster", cursive;
  font-size: 28px;
  color: #fff;
  margin-bottom: 25px;
}
.other-logo img {
  height: 80px;
  margin-right: 10px;
}
@media (max-width: 991px) {
  .overlap-form {
    margin-top: -85px;
  }
  .top-block img {
    height: 180px;
  }
}
@media (max-width: 767px) {
  .top-block {
    margin-top: -160px;
  }
  .top-block img {
    height: 100px;
  }
  .overlap-form {
    padding: 100px 0 155px;
  }
  .footer {
    margin-top: -210px;
  }
}
@media (max-width: 575px) {
  .form-block .field-wrap {
    padding: 0 15px;
  }
  .top-block .text-block {
    margin-top: 35px;
  }
  .text-block h1 {
    font-size: 22px;
  }
  .text-block p {
    font-size: 14px;
  }
  .overlap-form {
    margin-top: -35px;
    width: 96%;
    padding: 100px 0 110px;
  }
  .footer {
    margin-top: -115px;
  }
}

.custom-style-div p {
  font-size: 22px;
  color: #286973;
  margin-bottom: 12px;
}

.custom-style-div .form-check-input {
  margin-top: 6px;
}

.custom-style-div .form-check-label {
  color: #286973;
  margin-bottom: 4px;
}

.form-group .custom-checkbox {
  margin-bottom: 4px;
}

.field-wrap .text-block-event {
  padding: 40px 0 10px 0;
}

.text-block-event h1 {
  font-size: 32px;
  font-weight: 700;
  color: #286973;
  margin-bottom: 4px;
}

.custom-hidden {
  display: none;
}

.event-caption {
  text-align: center;
  margin-bottom: 40px;
}

.event-caption h3 {
  color: #3e4595;
}

.event-caption h5 {
  color: #ce2827;
}

.event-caption p {
  margin-bottom: unset;
}

.event-caption p.left-paragraph {
  text-align: left;
}

.event-caption .divider {
  margin: 20px 0;
}
