/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    opacity: 0; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 999; /* 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 */
    -webkit-transition: opacity 1s ease;
    transition: opacity 1s ease;
}

/* Modal Content */
.modal-content {
    background-color: #ffffff;
    margin: auto;
    padding: 13px 13px 15px 13px;
    border: 1px solid #a0a19c;
    border-radius: 15px;
    width: 80%;
    max-width: 500px;
}

/* The Close Button */
.close {
    color: #a0a19c;
    float: right;
    font-size: 40px;
    font-weight: bold;
    position: relative;
    top: 39px;
    right: -11px;
    padding: 5px 2px;
    margin-top: -70px;
    border-radius: 0 10px 0 10px;
}

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

.popnewsin {
	background-color: #e1e5d6;
    margin: -7px 0 -2px;
    padding: 15px;
    border-radius: 0 0 9px 9px;
    border: 1px solid #cdd0c7;
}

.popnewsform {
	padding: 8px 70px 8px 10px;
    border: 1px solid #a0a19c;
    border-radius: 18px !important;
    width: 100%;
}

.popnewsbutton {
    position: relative !important;
    float: right !important;
    top: -33px;
    right: -1px;
    background-color: #a7bd8c;
    color: white;
    border: none;
    padding: 9px 15px;
    border-radius: 25px !important;
    cursor: pointer;
}

@media (max-width: 470px) {
.popnewsbutton {
    width: 100%;
    top: 6px !important;
}
.popnewsin {
	padding-bottom: 50px;
}
}