div#page div#form-block {
    margin: 0;
}

div#form-block {
    padding-top: 80px;
    padding-bottom: 80px;
}

div#block-vesta-theme-vebforma {
    padding: 40px;
    padding-top: 30px;
}

.region.region-form {
    position: relative;
}

.region.region-form::before {
    content: '';
    position: absolute;
    display: block;
    border-radius: 20px;
    width: 100%;
    height: 100%;
    background-color: #3a80ff;
    opacity: 5%;
}

form#webform-submission-callback-add-form div {
    margin: 0;
}

form#webform-submission-callback-node-812-add-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

form#webform-submission-callback-node-812-add-form > div {
    margin: 0;
}

div#block-vesta-theme-vebforma .block-title {
    margin-bottom: 30px;
    font-family: 'Golos Text';
    font-size: 40px;
    line-height: 48px;
    font-weight: 700;
    color: #000;
}

div#block-vesta-theme-vebforma .block-title .title-slogan {
    font-size: 18px;
    font-weight: 500;
    line-height: 22px;
}

.js-form-item.form-item input {
    padding: 15.5px 10px;
    width: 350px;
    height: 50px;
    border: 1px solid #3a80ff;
    border-radius: 10px;

    font-family: 'Golos Text';
    font-size: 16px;
    font-weight: 500;
    color: #667685;
    background: transparent;
}

input#edit-actions-submit {
    padding: 15.5px 119px;
    max-width: 370px;
    height: 50px;
    border: none;
    border-radius: 10px;

    font-family: 'Golos Text';
    font-size: 16px;
    font-weight: 500;

    background-color: #3a80ff;
    transition: all 0.3s ease-in-out;
}

input#edit-actions-submit:hover {
    box-shadow: 0px 5px 10px 0px rgba(5, 66, 179, 0.5);
}

div#edit-soglasie {
    width: 100%;
    max-width: 370px;
    text-align: center;
    font-family: 'Golos Text';
    font-size: 14px;
    font-weight: 500;
}

form#webform-submission-callback-node-812-add-form label.js-form-required.form-required {
    display: none;
}

form#webform-submission-callback-node-812-add-form strong.error.form-item--error-message {
    position: absolute;
    bottom: 0;
    left: 0;
}

form#webform-submission-callback-node-812-add-form strong#edit-name-error {
    bottom: 20px;
}

strong.error.form-item--error-message {
    font-family: 'Golos Text';
    font-size: 15px;
    font-weight: 600;
}

input.delete-order-item,
input.js-form-submit.form-submit {
    border: none;
    border-radius: 10px;
    font-family: 'Golos Text';
    font-size: 16px;
    font-weight: 500;
    background-color: #3a80ff;
    transition: all 0.3s ease-in-out;
}
div.form-actions input.js-form-submit.form-submit {
    padding: 15.5px 30px;
}

input.delete-order-item:hover,
input.js-form-submit.form-submit:hover {
    background-color: #3a80ff;
    box-shadow: 0px 5px 10px 0px rgba(5, 66, 179, 0.5);
}

/*media*/
@media (max-width: 1024px) {
    div#block-vesta-theme-vebforma .block-title {
        font-size: 32px;
    }

    div#block-vesta-theme-vebforma .block-title .title-slogan {
        font-size: 16px;
    }

    .js-form-item.form-item input {
        max-width: 255px;
        width: 100%;
    }

    input#edit-actions-submit {
        padding: 15.5px 109px;
        max-width: 350px;
    }
}

@media (max-width: 992px) {
    div#form-block {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    form#webform-submission-callback-node-812-add-form {
        justify-content: space-between;
        align-items: center;
    }

    div#block-vesta-theme-vebforma .block-title .slogan-slash,
    div#block-vesta-theme-vebforma .block-title .title-slogan {
        display: none;
    }

    form#webform-submission-callback-node-812-add-form .form-item-name,
    form#webform-submission-callback-node-812-add-form .form-item-telefon {
        width: 100%;
    }

    .js-form-item.form-item input {
        max-width: 100%;
    }

    input#edit-actions-submit {
        padding: 15.5px 50px;
    }

    div#edit-soglasie {
        width: auto;
    }

    form#webform-submission-callback-node-812-add-form strong.error.form-item--error-message {
        bottom: -37px;
        font-size: 13px;
    }

    form#webform-submission-callback-node-812-add-form strong#edit-name-error {
        bottom: -22px;
    }
}

@media (max-width: 768px) {
    form#webform-submission-callback-node-812-add-form {
        flex-direction: column;
    }

    form#webform-submission-callback-node-812-add-form > div {
        width: 100%;
    }

    input#edit-actions-submit {
        max-width: 100%;
        width: 100%;
    }

    form#webform-submission-callback-node-812-add-form strong.error.form-item--error-message {
        position: static;
    }

    form#webform-submission-callback-node-812-add-form strong#edit-telefon-error {
        padding-top: 3px;
        align-self: start;
    }

    .cart.cart-form {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    form#views-form-commerce-cart-form-default-62 {
        overflow-y: hidden;
    }

    table.table.table-striped.views-table.views-view-table.cols-6 {
        overflow-x: auto;
    }
}

@media (max-width: 575px) {
    div#block-vesta-theme-vebforma {
        padding: 20px;
        padding-top: 15px;
    }
    
    div#block-vesta-theme-vebforma .block-title {
        margin-bottom: 10px;
        font-size: 28px;
        line-height: 30px;
    }

    div#edit-soglasie {
        font-size: 11px;
    }
}