.o-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    bottom: 0;
    overflow: auto;
    background: rgba(0, 0, 0, .95);
    z-index: 5000;
    padding: 64px;
    visibility: hidden;
    opacity: 0;
    transition: .2s ease-in-out;
    color: #fff
}

body.admin-bar .o-modal {
    padding: 64px
}

@media (max-width:992px) {
    .o-modal {
        padding: 32px
    }

    body.admin-bar .o-modal {
        padding: 64px 32px 32px
    }
}

@media (max-width:576px) {
    .o-modal {
        padding: 16px
    }

    body.admin-bar .o-modal {
        padding: 64px 16px 16px
    }
}

.o-modal__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10
}

.o-modal.is-open {
    visibility: visible;
    opacity: 1
}

.o-modal__close {
    position: absolute;
    color: rgba(255, 255, 255, .5);
    font-size: 40px;
    line-height: .5em;
    top: 32px;
    right: 32px;
    cursor: pointer;
    transition: color .3s;
    font-weight: 300;
}

.o-modal__close:focus,
.o-modal__close:hover {
    color: #fff
}

.o-modal__body {
    background: 0 0;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    transform: translate(0, -50%);
    will-change: transform;
    opacity: 0;
    transition: .2s ease-in-out .2s;
    position: relative;
    z-index: 50;
    overflow: hidden;
    padding: 32px
}

@media (max-width:992px) {
    .o-modal__close {
        right: 0
    }

    .o-modal__body {
        padding: 16px
    }
}

.o-modal.is-open .o-modal__body {
    opacity: 1;
    transform: translate(0, 0)
}

.o-modal__header {
    position: relative;
    color: #fff
}

.o-modal__content {
    padding: 32px
}

.c-fixed-buttons {
    position: fixed;
    right: 32px;
    bottom: 32px;
    z-index: 5000
}

.c-fixed-buttons__button {
    font-size: 24px;
    border-radius: 50px;
    font-weight: 700;
    transition: .4s ease-in-out;
    width: 60px;
    height: 60px;
    text-align: center;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center
}

.c-fixed-buttons__button--pulse {
    animation: 2s infinite fixed-phone
}

.c-fixed-buttons__button:not(:last-child) {
    margin-bottom: 16px
}

@media (max-width:992px) {
    .c-fixed-buttons {
        right: 16px;
        bottom: 16px
    }

    .c-fixed-buttons__button {
        width: 50px;
        height: 50px;
        font-size: 20px
    }

    .c-fixed-buttons__button:not(:last-child) {
        margin-bottom: 8px
    }
}

.c-fixed-buttons__button svg {
    width: 20px;
    height: 20px
}

.c-modal-form__logo img {
    max-height: 120px;
    width: auto
}

.c-modal-form__header {
    text-align: center;
    margin-bottom: 64px
}

.c-modal-form__title {
    font-weight: 400;
    font-size: 26px
}

.c-modal-form__subtitle {
    font-weight: 300;
    font-size: 18px
}

.c-modal-form input[type=email],
.c-modal-form input[type=tel],
.c-modal-form input[type=text],
.c-modal-form textarea {
    width: 100%;
    background: 0 0;
    border: 0;
    border-bottom: 1px solid #fff;
    padding: 8px 4px;
    color: #fff;
    font-size: 15px;
    margin-bottom: 32px
}

.c-modal-form input[type=email]::placeholder,
.c-modal-form input[type=tel]::placeholder,
.c-modal-form input[type=text]::placeholder,
.c-modal-form textarea::placeholder {
    font-size: 15px;
    color: #fff;
    font-style: italic;
    font-weight: 300
}

.c-modal-form button,
.c-modal-form input[type=submit] {
    border: 0;
    color: #fff;
    font-style: italic;
    font-weight: 300;
    text-transform: uppercase;
    font-size: 16px;
    padding: 16px 32px;
    cursor: pointer;
    float: right
}

.c-modal-form button:disabled,
.c-modal-form input[type=submit]:disabled {
    opacity: .5
}

.c-modal-form .ajax-loader {
    float: right;
    top: 50%;
    transform: translateY(-50%)
}

.c-modal-form span.wpcf7-list-item {
    display: inline-block;
    margin: 0 0 0 1em
}

.c-modal-form div.wpcf7-response-output {
    border: none !important;
    text-align: center;
    width: 100%;
    margin: 16px 0 32px !important;
    padding: 0 0 0 32px !important;
    position: relative
}

@media (max-width:576px) {
    .o-modal__content {
        padding: 32px 0
    }

    .c-modal-form div.wpcf7-response-output {
        padding: 0 !important
    }
}

.c-modal-form span.wpcf7-not-valid-tip {
    position: absolute;
    bottom: 12px;
    font-weight: 700 !important;
    right: 0;
    font-size: .75rem !important;
    line-height: 1
}

@media (max-width:992px) {
    .c-modal-form span.wpcf7-not-valid-tip {
        bottom: 0
    }
}

.c-modal-form .wpcf7-form-control-wrap {
    display: block
}

.c-modal-form .wpcf7-acceptance {
    display: block;
    margin-bottom: 32px
}

.c-modal-form .wpcf7-acceptance input {
    display: none
}

.c-modal-form .wpcf7-acceptance .wpcf7-list-item {
    margin-left: 0
}

.c-modal-form .wpcf7-acceptance input+span:before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 16px;
    height: 16px;
    background: 0 0;
    border: 1px solid #fff
}

.c-modal-form .wpcf7-acceptance input+span:after {
    content: "\2713";
    width: 16px;
    height: 16px;
    position: absolute;
    text-align: center;
    line-height: 16px;
    top: 6px;
    left: 0;
    color: #fff;
    display: none
}

.c-modal-form .wpcf7-acceptance input:checked+span:after {
    display: block
}

.c-modal-form .wpcf7-acceptance label {
    position: relative;
    padding-left: 32px;
    cursor: pointer;
    display: block;
    line-height: 1;
    color: #fff;
    font-weight: 300;
    font-style: italic;
    font-size: 14px
}

@media (max-width:576px) {
    .c-modal-form .wpcf7-acceptance label {
        font-size: 11px
    }
}

.c-modal-form .wpcf7-acceptance label a {
    text-decoration: underline;
    color: #fff
}

.c-modal-form .wpcf7-acceptance label a:focus,
.c-modal-form .wpcf7-acceptance label a:hover {
    color: #fff
}