/* The Modal (background) */
.myModal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1050; /* Sit on top */
    /* left: 0; */
    top: 0;
    margin: auto;
    max-width: 550px;
    width: 100%;
    height: 100%;
    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 */
    -webkit-animation-name: fadeIn; /* Fade in the background */
    -webkit-animation-duration: 0.4s;
    animation-name: fadeIn;
    animation-duration: 0.4s
  }


  /* Modal Content */
  .myModal .modal-content {
    position: fixed;
    bottom: 0;
    margin-right: auto;
    /* background: -webkit-linear-gradient(left, #131836, #280b0e);
  	background: -o-linear-gradient(right, #131836, #280b0e);
  	background: -moz-linear-gradient(right, #131836, #280b0e);
  	background: linear-gradient(to right, #131836, #280b0e); */
    background: #585858;
    max-width: 550px;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    -webkit-animation-name: slideIn;
    -webkit-animation-duration: 0.4s;
    animation-name: slideIn;
    animation-duration: 0.4s
  }
  #popupModal .modal-content {
    background-color: transparent ;
  }
  #popup {
    top: inherit;
  }
  .modal-popup {
    background-color: white !important;
    border-radius: 25px;
  }

  /* The Close Button */
  .close {
    color: #000;
    font-size: 28px;
    font-weight: bold;
  }

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

  .modal-header {
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    display: block;
    padding: 2px 16px;
    color: black;
  }

  .modal-body {padding: 2px 16px;}

  .modal-footer {
    padding: 2px 16px;
    color: black;
  }

  /* Add Animation */
  @-webkit-keyframes slideIn {
    from {bottom: -300px; opacity: 0}
    to {bottom: 0; opacity: 1}
  }

  @keyframes slideIn {
    from {bottom: -300px; opacity: 0}
    to {bottom: 0; opacity: 1}
  }

  @-webkit-keyframes fadeIn {
    from {opacity: 0}
    to {opacity: 1}
  }

  @keyframes fadeIn {
    from {opacity: 0}
    to {opacity: 1}
  }
