/* 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.6); /* Black w/ opacity */
  }
  
/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: 5% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
}

hr {
    border: 1px solid #f1f1f1;
    margin-bottom: 25px;
}

.modal-footer::after {
    content: "";
    clear: both;
    display: table;
}


@media screen and (max-width: 300px) {
    .modalcancel, .modalok {
        width: 100%;
    }
} 

  /* The Cancel Button */
.modalcancel {
    text-align: center;
    background-color: #d8d8d8;
    color: black;
    float: left;
    font-size: 20px;
    height: 50px;
    line-height: 50px;    
    width: 50%;    
    border-radius: 5px;
}

.modalcancel:hover {
    background-color: #b3b3b3;    
    color: black;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
}

  /* The OK Button */
.modalok {
    text-align:center;
    background-color: #30a147;
    color: white;
    float: right;
    font-size: 20px;    
    height: 50px;
    line-height: 50px;    
    width: 50%;
    border-radius: 5px;
}

.modalok:hover {
    background-color: #237734;    
    color: white;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
}   

  /* The OK Button */
  .modalokbig {
    text-align:center;
    background-color: #30a147;
    color: white;
    float: right;
    font-size: 20px;    
    height: 50px;
    line-height: 50px;    
    width: 100%;
    border-radius: 5px;
}

.modalokbig:hover {
    background-color: #237734;    
    color: white;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
}   

  /* The CLOSE Button */
  .modalclose {
    text-align:center;
    background-color: #30a147;
    display: block;
    color: white;    
    font-size: 20px;    
    height: 50px;
    line-height: 50px;    
    width: 100%;
    border-radius: 5px;
}

.modalclose:hover {
    background-color: #237734;    
    color: white;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
}   