.newsletter-popup {
    position: fixed;
    display: none;
    text-align: center;
    width: 100%;
    background-color: rgba(221, 221, 221,0.95);
    z-index: 970;
    bottom: 0;
    right: 0;
    left: 0;

    -webkit-transition: bottom 0.3s linear;
    -moz-transition: bottom 0.3s linear;
    -ms-transition: bottom 0.3s linear;
    -o-transition: bottom 0.3s linear;
    transition: bottom 0.3s linear;
}

.newsletter-popup.disabled {
    bottom: -450px;
}

.newsletter-popup h2 {
    margin-bottom: 1.2em;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.newsletter-popup p {

    font:14px/18px 'GillSansMTStd-Light',Arial, Helvetica, sans-serif;
    letter-spacing:1px;

    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-popup-container {
    position: relative;
}

.newsletter-popup #newsletter-close {
    position: absolute;
    top: 0;
    right: 0;
    display: block;
    width: 44px;
    height: 44px;
    cursor: pointer;
}

.newsletter-popup #newsletter-close i {
    position: absolute;
    left: 0;
    top: 0;
    padding-top: 100%;
    width: 100%;
    height: 0;
    overflow: hidden;
}

.newsletter-popup #newsletter-close i:before,
.newsletter-popup #newsletter-close i:after {
    width: 24px;
    height: 1px;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    content: '';
    background-color: #717171;
}

.newsletter-popup #newsletter-close i:before {
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.newsletter-popup #newsletter-close i:after {
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.newsletter-popup input {
    color: #717171;
}

.newsletter-popup input::-webkit-input-placeholder {
    color: #717171;
}
.newsletter-popup input::-moz-placeholder {
    color: #717171;
}
.newsletter-popup input:-ms-input-placeholder {
    color: #717171;
}
.newsletter-popup input:-moz-placeholder {
    color: #717171;
}

.newsletter-popup .signup-form input {
    display: block;
    padding: 8px 10px;
    background: transparent;
    border: 1px solid #717171;
    width: 100%;
    margin-bottom: 10px;
    letter-spacing: 1px;
    font-family: 'GillSansMTStd' !important;
    font-weight: 100;
    font-size: 12px;
}

.newsletter-popup .signup-form input[type=submit] {
    border: 1px solid #000000;
    background: #000000;
    color: #ffffff;

    transition: all 0.2s, color 0.2s;
    -o-transition: all 0.2s, color 0.2s;
    -moz-transition: all 0.2s, color 0.2s;
    -webkit-transition: all 0.2s, color 0.2s;
}

.newsletter-popup .signup-form input[type=submit]:hover {
    background: #454545;
    border: 1px solid #454545;
}

/* Mobile */
@media only screen and (max-width:767px) {
    .newsletter-popup-wrapper {
        padding: 20px 10px;
    }
}

/* Tablet */
@media only screen and (max-width:979px) and (min-width:768px) {
    .newsletter-popup-wrapper {
        padding: 20px;
    }
}

@media only screen and (max-width:979px) {
    .newsletter-popup .signup-form input[type=text] {
        width: calc(50% - 5px);
    }
    .newsletter-popup .signup-form input#name-first {
        float: left;
        clear: left;
    }
    .newsletter-popup .signup-form input#name-last {
        float: right;
        clear: right;
    }
}

/* Desktop */
@media only screen and (min-width: 980px) {
    .newsletter-popup-wrapper {
        max-width: 976px;
        margin: 0 auto;
        padding: 35px 13px;
    }

    .newsletter-popup .form-container {
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
    }

    .newsletter-popup .signup-form input {
        -webkit-box-flex: 1;
        -moz-box-flex: 1;
        width: 25%;
        -webkit-flex: 1;
        -ms-flex: 1;
        flex: 1;
    }

    .newsletter-popup .signup-form input:not(:last-child) {
        margin-right: 25px;
    }
}