/* The Modal (background) */
.cf-modal-custom {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 100000;
  left: 0;
  top: 0px;
  width: 100%;
  height: 100%;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.cf-modal-content-custom {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px 20px 10px 20px;
  border-radius: 15px;
  width: 50%; /* Could be more or less, depending on screen size */
}

@media only screen and (max-width: 600px) {
  .cf-modal-custom {
    top: 120px !important;
  }
  .cf-modal-content-custom {
    width: 80% !important;
  }
}

@media only screen and (min-width: 601px) and (max-width: 900px) {
  .cf-modal-custom {
    top: 120px !important;
  }
  .cf-modal-content-custom {
    width: 80% !important;
  }
}

/*The button  */
.cf-btn-primary {
  padding: 10px 20px;
  border-radius: 4px;
  background-color: #0129ac;
  color: #fff;
  font-weight: 600;
  border: 0px;
  cursor: pointer;
  border: 1px solid #0129ac;
  margin-bottom: 10px;
  margin-left: 10px;
  margin-right: 10px;
  transform: uppercase;
  transition: all 0.2s;
}
.cf-btn-secondary {
  padding: 10px 20px;
  border-radius: 4px;
  border: 1px solid #0129ac;
  background-color: transparent;
  color: #0129ac;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 10px;
  transform: uppercase;
  transition: all 0.2s;
}
.cf-btn-primary:hover,
.cf-btn-secondary:hover {
  background-color: #0c18d4;
  color: #ffffff;
}
/* The Close Button */
.close-arrow {
  color: red;
  float: right;
  font-size: 30px;
  font-weight: 500;
  cursor: pointer;
}

/* Modal Footer Section */
.cf-modal-footer {
  text-align: right;
  border-top: 1px solid #9d9d9d69;
  padding: 20px 20px 5px;
}
