.blocker {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    z-index: 9999;
    padding: 5rem 0 2rem;
    background: rgba(255, 255, 255, 0.95);
    text-align: center;
}

.blocker:before {
    content: "";
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    margin-right: -0.05em;
}

.blocker.behind {
    background-color: transparent;
}
.modal-container {
/*    align-items: flex-end;*/
}
.modal {
    display: none;
    vertical-align: middle;
    z-index: 2;
    box-sizing: border-box;
    width: 50%;
    text-align: center;
    padding: 0;
}
#thx.modal {
    width: 25rem;
    padding: 20px;
}
.modal-container .form-box {
    justify-content: center;
    width: 15.25rem;
    margin: 2rem auto 0;
}
.modal-container .headline {
    margin-bottom: .5rem
}
.modal-container .headline + p {
    font-size: .8rem;
}

.modal a.close-modal {
    position: absolute;
    top: 2rem;
    right: calc(50% - 1rem);
    display: block;
    width: 2em;
    height: 2em;
    text-indent: -9999px;
    background: url('../img/icons/close.svg') center/cover;
}

.modal-spinner {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    padding: 12px 16px;
    border-radius: 5px;
    background-color: #111;
    height: 20px;
}

.modal-spinner > div {
    border-radius: 100px;
    background-color: #fff;
    height: 20px;
    width: 2px;
    margin: 0 1px;
    display: inline-block;

    -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
    animation: sk-stretchdelay 1.2s infinite ease-in-out;
}

.modal-spinner .rect2 {
    -webkit-animation-delay: -1.1s;
    animation-delay: -1.1s;
}

.modal-spinner .rect3 {
    -webkit-animation-delay: -1.0s;
    animation-delay: -1.0s;
}

.modal-spinner .rect4 {
    -webkit-animation-delay: -0.9s;
    animation-delay: -0.9s;
}

@-webkit-keyframes sk-stretchdelay {

    0%,
    40%,
    100% {
        -webkit-transform: scaleY(0.5)
    }

    20% {
        -webkit-transform: scaleY(1.0)
    }
}

@keyframes sk-stretchdelay {

    0%,
    40%,
    100% {
        transform: scaleY(0.5);
        -webkit-transform: scaleY(0.5);
    }

    20% {
        transform: scaleY(1.0);
        -webkit-transform: scaleY(1.0);
    }
}

@media screen and (max-width:600px) {
    .blocker {
        padding: 3rem 0 1rem;
    }
    .modal a.close-modal {
        position: absolute;
        top: .5rem;
        right: calc(50% - 1rem);
    }
    .modal-container>img {
        flex-shrink: 0;
        width: 100%;
        margin-right: 0;
        margin-bottom: 2rem;
    }
    .modal {
        width: calc(100% - 30px);
        padding: 0 0 2rem;
    }
    #thx.modal {
        width: calc(100% - 30px);
    }
    .modal-container .form {
        width: 100%;
        text-align: center;
        padding: 0 15px;
    }
    .modal-container .form .field {
        text-align: left;
    }
    .modal-container .form form {
        margin-top: 2rem;
        width: 100%
    }

}