/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
  font-family: 'Roboto';
  text-align: center;
  background-color: #fefefe;
  border-radius: 10px;
  margin: 15% auto; /* 15% from the top and centered */
  border: 1px solid #888;
  padding: 20px;
  border: 1px solid #888;
  width: 600px;
  animation: ani 1.5s forwards;
}

@keyframes ani {
  0% {opacity: 0;}
  100% {opacity: 1;}
}

@media (max-width: 767px) {
  .modal-content {
  width: 80%;
  }
}

.modal-content h1 {
  color: var(--dl-color-primary-bluecustom);
  margin-bottom: 20px;
}
/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

#myBtn {
  width: 185px;
  height: 50px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 400;
  background-color: var(--dl-color-primary-bluecustom);
  color: white;
  font-family: 'Roboto';
}
#myBtn:hover {
  background-color: white;
  border: solid 1px var(--dl-color-primary-bluecustom);
  color: var(--dl-color-primary-bluecustom);
  transition: 1s;
}

/* Contact Us Form */
.contact-us-custom {
width: 100%;
justify-content: center;
align-content: center;
text-align: center;
}

.contact-us-custom content {
  justify-content: center;
  align-items: center;
}

.contact-us-custom-field {
  margin-bottom: 20px;
  justify-content: center;
  height: auto;
}

.contact-us-custom-field textarea,
.contact-us-custom-field input {
  width: 60%;
  height: 40px;
  border-radius: 10px;
  outline: none;
  justify-content: center;
  align-items: center;
  border: none;
  background-color: #f5f5f7;
  font-family: 'Roboto';
  color: eterggray;
}

.contact-us-custom-field textarea:hover,
.contact-us-custom-field input:hover {
  background-color: lightgray;
  animation: ani 1s forwards;
}
@keyframes ani {
  0% {opacity: 0;}
  100% {opacity: 1;}
}
.button.contact-us-custom button {
  width: 120px;
  height: 40px;
  margin: auto;
  height: auto;
  justify-content: center;
  align-items: center;
  text-align: center;
  cursor: pointer;
}
.button.contact-us-custom button:hover {
  width: 120px;
  height: 40px;
  margin: auto;
  height: auto;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.contact-us-custom-field textarea {
  height: 100px;
  resize: none;
}

.contact-us-custom-field_error {
  font-size: 12px;
  color: red;
  margin-top: 5px;
}

.contact-us-custom-field_error:empty {
  margin-top: 0;
}

.contact-us-custom_success {
  position: absolute;
  width: 100%;
  height: auto;
  left: 0;
  top: 0;
  opacity: 0;
  visibility: hidden;
  -webkit-transform: scale(.8);
  transform: scale(.8);
  transition: all 1s ease;
  color: green;
  text-align: center;
  justify-content: center;
}

.contact-us-custom.is-success .contact-us-custom_success {
  position: relative;
  opacity: 1;
  visibility: visible;
  -webkit-transform: scale(1);
  transform: scale(1);
  z-index: 2;
}