.vo-newsletter-signup--page-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 3;
}

.vo-newsletter-signup--modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    padding: 20px;
    width: 90%;
    max-width: 400px;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.95);
    box-sizing: border-box;
    z-index: 8;
}

.vo-newsletter-signup--modal p:first-child {
    margin-top: 0;
}

.vo-newsletter-signup--modal-close {
    position: fixed;
    top: -10px;
    right: -10px;
    background: #CC081C;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    cursor: pointer;
    color: white;
}

.vo-newsletter-signup {
    display: table;
    position: relative;
    width: 100%;
    table-layout: fixed;
}

.required {
    color: red;
}

.vo-newsletter-signup__inner {
    display: table-cell;
    vertical-align: top;
}

.vo-newsletter-signup__inner:nth-of-type(2) {
    float: right;
    width: 100%;
}

.vo-newsletter-signup__checkbox--consent {
    display: none;
}

/* don't hide the consent in the modal popup */
.vo-newsletter-signup--modal .vo-newsletter-signup__checkbox--consent {
    display: block;
}

.vo-newsletter-signup__checkbox label {
    font-size: 12px;
    display: block;
    margin-top: 10px;
    line-height: 1.4;
    cursor: pointer;
}

.vo-newsletter-signup__checkbox label input {
    margin: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 15px;
    height: 15px;
}

.vo-newsletter-signup__checkbox--container {
    display: block;
    position: relative;
    padding-left: 22px;
    box-sizing: border-box;
}

.vo-newsletter-signup.loading:after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(255, 255, 255, .5);
    content: '';
    z-index: 1;
}

.vo-newsletter-signup *,
.vo-newsletter-signup *:before,
.vo-newsletter-signup *:after {
    box-sizing: border-box;
}

.vo-newsletter-signup input[type="email"] {
    display: block;
    height: 35px;
    padding: 5px;
    width: 100%;
}

.vo-newsletter-signup .button {
    display: block;
    width: 100%;
    line-height: 35px;
    margin-bottom: 0;
    padding: 0 10px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    text-align: center;
}

.vo-newsletter-signup-message {
    background: #F0F0F0;
    border-radius: 2px;
    display: none;
    margin-top: 10px;
    padding: 7px 10px;
}

.vo-newsletter-signup-message.success {
    border-left: 6px solid #84AB61;
}

.vo-newsletter-signup-message.error {
    border-left: 6px solid #CC081C;
}

.vo-newsletter-shortcode,
.vo-newsletter-shortcode.loading {
    margin: 1rem auto;
    max-width: 20rem;
    width: 100%;
}

.vo-newsletter-shortcode .vo-newsletter-signup,
.vo-newsletter-shortcode.loading .vo-newsletter-signup {
    height: 2rem;
}

.vo-newsletter-shortcode .vo-newsletter-signup__inner,
.vo-newsletter-shortcode.loading .vo-newsletter-signup__inner {
    left: 0;
    position: absolute;
    top: 0;
    width: 60%;
}

.vo-newsletter-shortcode .vo-newsletter-signup__inner.submit,
.vo-newsletter-shortcode.loading .vo-newsletter-signup__inner.submit {
    left: unset;
    right: 0;
    width: 40%;
}

/**
 * Attention block
 */

.attention-block__email {
    display: none
}

@media (max-width: 767px) {
    .attention-block {
        margin: 25px 0 20px;
    }

    .attention-block a {
        color: inherit;
    }

    .attention-block__title {
        background: #E05163;
        color: #F9E3E5;
        font-size: 15px;
        font-weight: bold;
        margin: 0;
        padding: 12px 12px 12px 60px;
        border-radius: 5px 5px 0 0;
        position: relative;
        text-align: center;
    }

    .attention-block__title:before {
        content: '';
        background-image: url('../images/eric-cartoon.png');
        background-position: 50% 50%;
        background-repeat: no-repeat;
        background-size: 100%;
        position: absolute;
        bottom: 0;
        left: 12px;
        height: 60px;
        width: 55px;
    }

    .attention-block__content {
        background: #C94858;
        border-radius: 0 0 5px 5px;
        color: #F2BAC1;
        margin: 0;
        padding: 12px;
    }

    .attention-block__email {
        display: flex;
        align-items: center;
    }

    .attention-block__email img {
        margin-right: 5px;
    }

    .attention-block__email__link {
        color: inherit;
    }
}

/**
 * NY Popup
 */

.ny-popup {
    opacity: 0;
    visibility: hidden;
    background-color: rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: auto;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    transition: all 0.3s ease-in-out;
    z-index: 2;
}

.ny-popup__modal {
    position: fixed;
    z-index: 8;
    width: 90%;
    max-width: 979px;
    height: 90%;
    left: 50%;
    top: 5%;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    box-sizing: border-box;
    overflow: scroll;
}

.ny-popup-small .ny-popup__modal {
    width: auto;
    height: auto;
    min-width: 500px;
}

.ny-popup--active {
    opacity: 1;
    visibility: visible;
}

.ny-popup__header {
    background: #E05163;
    box-sizing: border-box;
    color: #FFFFFF;
    font-size: 18px;
    overflow: hidden;
    padding: 10px;
    text-align: center;
    width: 100%;
}

.ny-popup__content {
    max-height: calc(100% - 70px);
    overflow: auto;
    padding: 15px;
}

.ny-popup__content h1,
.ny-popup__content h2,
.ny-popup__content h3,
.ny-popup__content h4,
.ny-popup__content h5,
.ny-popup__content h6 {
    color: #E05163;
    font-weight: normal;
    margin: 0 0 12px;
}

.ny-popup__content p {
    margin: 0 0 20px;
}

.ny-popup__content p:last-child {
    margin-bottom: 0;
}

.ny-popup__close, .ny-popup__reload {
    background: url('../images/popup-close.png');
    display: inline-block;
    float: right;
    height: 20px;
    width: 20px;
}

.ny-popup__close:hover, .ny-popup__reload:hover {
    opacity: 0.7;
}

.ny-popup-open {
    overflow: hidden;
}

@media (max-width: 767px) {
    .ny-popup__modal {
        width: 100%;
        height: 100%;
        top: 0;
    }
}

/**
 * Contact form
 */

.vo-contact-form ul {
    list-style: none;
    padding: 0;
}

.vo-contact-form li {
    margin-bottom: 10px;
}

.vo-contact-form label {
    color: #AEAEAE;
    display: block;
    margin-bottom: 5px;
}

.vo-contact-form input[type='text'],
.vo-contact-form input[type='email'],
.vo-contact-form textarea {
    border: 1px solid #CCCCCC;
    border-radius: 5px;
    font-size: 14px;
    padding: 0;
}

.vo-contact-form input[type='text']:focus,
.vo-contact-form input[type='email']:focus,
.vo-contact-form textarea:focus {
    border-color: #666666;
    outline: 0;
}

.vo-contact-form input[type='text'],
.vo-contact-form input[type='email'] {
    text-indent: 10px;
    height: 30px;
    width: 50%;
}

.vo-contact-form textarea {
    height: 180px;
    padding: 10px;
    width: 100%;
}

.vo-contact-form__button {
    background: #7DB461;
    border: 0;
    border-radius: 5px;
    color: #FFFFFF;
    margin-top: 15px;
    padding: 10px 30px;
}

.vo-contact-form__button:hover {
    background: #659B4F;
}

.vo-contact-form .error,
.vo-contact-form input[type='text'].error {
    border-color: #CC081C;
}

.vo-contact-form__consent.error {
    color: #CC081C;
}

.vo-contact-form__response {
    background: #6DE19D;
    border-radius: 15px;
    color: #FFFFFF;
    display: block;
    font-size: 15px;
    margin-bottom: 30px;
    padding: 30px;
}

.vo-contact-form__response--error {
    background: #E2737E;
}

/**
 * Responsive Tables
 */
@media only screen and (max-width: 767px) {
    #wrapper table.responsive {
        margin-bottom: 0;
    }

    #wrapper .pinned {
        position: absolute;
        left: 0;
        top: 0;
        background: #FFFFFF;
        width: 35%;
        overflow: hidden;
        overflow-x: scroll;
        border-right: 1px solid #CCCCCC;
        border-left: 1px solid #CCCCCC;
    }

    #wrapper .pinned table {
        border-right: none;
        border-left: none;
        width: 100% !important;
    }

    #wrapper .pinned table th,
    #wrapper .pinned table td {
        white-space: nowrap;
    }

    #wrapper .pinned td:last-child {
        border-bottom: 0;
    }

    #wrapper div.table-wrapper {
        position: relative;
        margin-bottom: 20px;
        overflow: hidden;
        border-right: 1px solid #CCCCCC;
    }

    #wrapper div.table-wrapper div.scrollable {
        margin-left: 35%;
    }

    #wrapper div.table-wrapper div.scrollable {
        overflow: scroll;
        overflow-y: hidden;
    }

    #wrapper table.responsive td,
    #wrapper table.responsive th {
        position: relative;
        white-space: nowrap;
        overflow: hidden;
    }

    #wrapper table.responsive th:first-child,
    #wrapper table.responsive td:first-child,
    #wrapper table.responsive td:first-child,
    #wrapper table.responsive.pinned td {
        display: none;
    }
}
