.button-content {
    text-align: left;
}

.input-content {
    width: 80%;
}

.newsletter-link {
    color: #009fda !important;
    cursor: pointer;
    display: inline-block !important;
    text-decoration: underline !important;
}

/* The Modal (background) */
.newsletter-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 50; /* Sit on top */
    left: 0;
    top: 150px;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.newsletter-modal-content {
    position: relative;
    background-color: #fefefe;
    margin: 50px auto auto auto;
    width: 30%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    animation-name: animatetop;
    animation-duration: 0.4s;
    overflow: auto;
}

.newsletter-modal-body {
    margin-left: 16px;
    margin-right: 16px;
    margin-bottom: 10px;
}

.newsletter-modal-body p {
    color: #0f0f0f;
    font-size: 14px;
    padding: 0 5px 20px !important;
    text-align: justify;
}

.newsletter-modal-header {
    background-color: white;
    color: white;
    margin-left: 10px;
    margin-right: 10px;
}

.newsletter-modal-header h1 {
    margin-left: 6px;
}

.subscribe {
    background: 0 0;
    border: 2px solid #c787b9;
    box-shadow: none;
    box-sizing: border-box;
    color: #c787b9;
    cursor: pointer;
    font-family: BasicCommercialLT,Helvetica,Arial,sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 10px;
    min-width: 120px;
    padding: 7px 20px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: .4s ease 0s;
}

.subscribe:active, .subscribe:hover {
    background-color: #c787b9;
    border: 2px solid rgba(223,229,231,0);
    box-shadow: none;
    color: #fff;
}

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

@media only screen and (max-width:641px)  { /* portrait tablets, portrait iPad, landscape e-readers, landscape 800x480 or 854x480 phones */
    .newsletter-modal {
        top: 60px;
    }

    .newsletter-modal-content {
        width: 60%;
    }

    .newsletter-modal-header h1 {
        font-size: 26px;
        max-width: 50%;
    }

    .newsletter-modal-body button {
        min-width: 60px;
    }

    .newsletter-modal-body p {
        font-size: 12px;
        width: 90%;
    }
}

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

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