/* The Modal (background) */
.modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 1;
  /* Sit on top */
  padding-top: 100px;
  /* Location of the box */
  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 */
  z-index: 5;
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: #FFF;
  margin: auto;
  border: 1px solid #FFF;
  width: 390px;
  max-width: 90%;
  padding: 15px 25px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s;
  border-radius: 20px;
}

/* Add Animation */
@-webkit-keyframes animatetop {
  from {
    top: -300px;
    opacity: 0
  }

  to {
    top: 0;
    opacity: 1
  }
}

@keyframes animatetop {
  from {
    top: -300px;
    opacity: 0
  }

  to {
    top: 0;
    opacity: 1
  }
}

/* The Close Button */

.modal__closeImg {
  width: 28px;
  height: 28px;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.modal-header {
  padding: 2px 0px;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  text-align: center;
}

.modal-body {
  padding: 2px 0px;
  text-align: center;
}

.modal-footer {
  padding: 2px 16px;
  /* background-color: #5cb85c; */
  /* color: white; */
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
  text-align: center;
}

/* Set a style for all buttons */

/* Clear floats */
.clearfix::after {
  content: "";
  clear: both;
  display: table;
}

.main__inputGroup.main__inputGroup--modal .main__label {
  text-align: left;
}

.modal__h2 {
  font-family: "Filson Soft Regular";
  font-size: 2rem;
  line-height: 2.2rem;
  font-weight: 400;
  margin: 0;
  margin-bottom: 1rem;
}

.modal__h3 {
  font-family: "Filson Soft Regular";
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  color: #2E2E2E;
}

.modal__p {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1.8rem;
  color: #2E2E2E;
  text-align: left;
}

.modal__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
}

.modal-header {
  padding-top: 30px;
}

.modal__a {
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

.modal__button {
  height: 40px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.6rem;
  padding: 0;
  text-align: center;
  background-color: #fff;
  margin: 0;
  border: none;
  cursor: pointer;
  border-right: 1px solid #DADADA;
  float: left;
  width: 50%;
}

.modal__button_full {
  width: 100% !important;
}

.modal__button:last-child {
  border-right: none;
}

.modal__button--confirm {
  color: #0071E3;
}

.modal__button--cancel {
  color: #EB5757;
}

.modal-footer {
  padding-bottom: 0;
}

.modal__highlight {
  color: #FF314A;
}

/* Change styles for cancel button and delete button on extra small screens */
@media screen and (max-width: 300px) {

  .cancelbtn,
  .okBtn {
    width: 100%;
  }
}