/*This styles the fixed button and expandable topbar.*/

#newsletter-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

#newsletter-reopen {
    background-color: #ffffff;
    color: #000;
    border: 1px solid #000;
    padding: 10px;
    cursor: pointer;
    font-size: 14px;
    border-radius: 5px;
    letter-spacing: 0.03rem;
}

#newsletter-reopen:hover {
  background-color: #000;
  color: #ffffff;
}

#newsletter-topbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    padding: 10px 10px 20px 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 999;
}

#newsletter-close {
    position: absolute;
    top: 5px;
    right: 30px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #ccc;
    font-weight: lighter;
}

#newsletter-close:hover {
    transform: rotate(30deg);
    color:#000;
}

@media only screen and (max-width: 768px) {
    #newsletter-container {top:50px;}
}