.error-container {
    text-align: center;
    color: #000;
    font-size: 25px;
    display: block;
    width: 475px;
    margin: 0 auto;
    padding: 20px 20px 20px 400px;
}

.error-container .message {
    padding: 10px 0;
}

.error-container .newsletter-link {
    color: #1db4f0;
}

.error-container .newsletter-link:hover {
    opacity: 0.7;
}

.postimees-iframe--error{
    background-color: #4dade9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.postimees-iframe--error .error-container {
    padding: 0;
    width: 100%;
}

.postimees-iframe--error .message {
    color: #fff;
    font-size: 30px;
    font-weight: 600;
    line-height: 34px;
}

body.success {
    background-color: #1db4f0;
}

.postimees-header .link::after {
    background: url('../img/postimees/arrow-right.svg') no-repeat;
    background-size: 50%;
}

.postimees-header .link:hover::after {
    background: url('../img/postimees/arrow-right-blue.svg') no-repeat;
    background-size: 50%;
}

.postimees-unsubscribe .reason__checkbox--hidden:checked + label .reason__checkbox--custom  {
     background-image: url('../img/postimees/circle.svg') !important;
}


@media only screen and (max-width: 1090px) {
    .error-container {
        padding-left: 0;
    }
}

@media only screen and (max-width: 749px) {

    .error-container {
        font-size: 20px;
        padding: 40px;
        width: auto;
    }

    .postimees-header .open::after {
        background: url('../img/postimees/arrow-right.svg') no-repeat;
        background-size: 50%;
    }

    .postimees-header .close {
        background: url('../img/postimees/close-button.svg') no-repeat center;
        background-size: 10px 10px;
    }
}
