/* Responsive in responsive.css */

/* General */

:root{
    --button-padding-top-bottom: 17px;
    --button-padding-left-right: 47px;
    --button-padding: var(--button-padding-top-bottom) var(--button-padding-left-right);
    --button-large-padding-top-bottom: 26px;
    --button-large-padding-left-right: 73px;
    --button-large-padding: var(--button-large-padding-top-bottom) var(--button-large-padding-left-right);
    --min-button-large-width: 307px;
}

.acf-block {
    margin-bottom: 150px;
}

/* Buttons */

body.frontend .form-submit #submit,
body.frontend .form-submit #submit:visited,
body.frontend .frm_button_submit,
body.frontend .frm_button_submit:visited,
body.frontend .frm_prev_page,
body.frontend .frm_prev_page:visited,
body.frontend .button:not(.ed_button),
body.frontend .button:not(.ed_button):visited,
body.wp-admin .acf-block-preview .form-submit #submit,
body.wp-admin .acf-block-preview .form-submit #submit:visited,
body.wp-admin .acf-block-preview .frm_button_submit,
body.wp-admin .acf-block-preview .frm_button_submit:visited,
body.wp-admin .acf-block-preview .frm_prev_page,
body.wp-admin .acf-block-preview .frm_prev_page:visited,
body.wp-admin .acf-block-preview .button:not(.ed_button),
body.wp-admin .acf-block-preview .button:not(.ed_button):visited {
    font-size: 16px;
    font-weight: 500;
    color: #FFFFFF;
    cursor: pointer;
    display: inline-block;
    padding: var(--button-padding);
    margin: 15px 0;
    border-width: 0;
    border-radius: 30px;
    background-color: var(--blue);
    -webkit-transition: all 150ms ease-in-out;
    -moz-transition: all 150ms ease-in-out;
    -o-transition: all 150ms ease-in-out;
    transition: all 150ms ease-in-out;
    text-decoration: none;
}

body.frontend .form-submit #submit.large,
body.frontend .form-submit #submit.large:visited,
body.frontend .frm_button_submit.large,
body.frontend .frm_button_submit.large:visited,
body.frontend .frm_prev_page.large,
body.frontend .frm_prev_page.large:visited,
body.frontend .button.large:not(.ed_button),
body.frontend .button.large:not(.ed_button):visited,
body.wp-admin .acf-block-preview .form-submit #submit.large,
body.wp-admin .acf-block-preview .form-submit #submit.large:visited,
body.wp-admin .acf-block-preview .frm_button_submit.large,
body.wp-admin .acf-block-preview .frm_button_submit.large:visited,
body.wp-admin .acf-block-preview .frm_prev_page.large,
body.wp-admin .acf-block-preview .frm_prev_page.large:visited,
body.wp-admin .acf-block-preview .button.large:not(.ed_button),
body.wp-admin .acf-block-preview .button.large:not(.ed_button):visited{
    padding: var(--button-large-padding);
    text-align: center;
    min-width: min(var(--min-button-large-width), 100%);
    max-width: 100%;
    border-radius: 50px;
    font-size: var(--button-font-size);
    font-family: "IBM Plex Sans", sans-serif;
    line-height: 1;
    font-weight: 500;
}

body.frontend .form-submit #submit.ghost,
body.frontend .form-submit #submit.ghost:visited,
body.frontend .frm_button_submit.ghost,
body.frontend .frm_button_submit.ghost:visited,
body.frontend .frm_prev_page.ghost,
body.frontend .frm_prev_page.ghost:visited,
body.frontend .button.ghost:not(.ed_button),
body.frontend .button.ghost:not(.ed_button):visited,
body.wp-admin .acf-block-preview .form-submit #submit.ghost,
body.wp-admin .acf-block-preview .form-submit #submit.ghost:visited,
body.wp-admin .acf-block-preview .frm_button_submit.ghost,
body.wp-admin .acf-block-preview .frm_button_submit.ghost:visited,
body.wp-admin .acf-block-preview .frm_prev_page.ghost,
body.wp-admin .acf-block-preview .frm_prev_page.ghost:visited,
body.wp-admin .acf-block-preview .button.ghost:not(.ed_button),
body.wp-admin .acf-block-preview .button.ghost:not(.ed_button):visited{
    background-color: rgba(0, 0, 0, 0);
    border: 3px solid var(--blue);
    padding: calc(var(--button-padding-top-bottom) - 4px) calc(var(--button-padding-left-right) - 4px);
}

body.frontend .form-submit #submit.ghost.large,
body.frontend .form-submit #submit.ghost.large:visited,
body.frontend .frm_button_submit.ghost.large,
body.frontend .frm_button_submit.ghost.large:visited,
body.frontend .frm_prev_page.ghost.large,
body.frontend .frm_prev_page.ghost.large:visited,
body.frontend .button.ghost.large:not(.ed_button),
body.frontend .button.ghost.large:not(.ed_button):visited,
body.wp-admin .acf-block-preview .form-submit #submit.ghost.large,
body.wp-admin .acf-block-preview .form-submit #submit.ghost.large:visited,
body.wp-admin .acf-block-preview .frm_button_submit.ghost.large,
body.wp-admin .acf-block-preview .frm_button_submit.ghost.large:visited,
body.wp-admin .acf-block-preview .frm_prev_page.ghost.large,
body.wp-admin .acf-block-preview .frm_prev_page.ghost.large:visited,
body.wp-admin .acf-block-preview .button.ghost.large:not(.ed_button),
body.wp-admin .acf-block-preview .button.ghost.large:not(.ed_button):visited{
    padding: calc(var(--button-large-padding-top-bottom) - 4px) calc(var(--button-large-padding-left-right) - 4px); 
}

body.frontend .form-submit #submit:hover,
body.frontend .form-submit #submit:focus,
body.frontend .frm_button_submit:hover,
body.frontend .frm_button_submit:focus,
body.frontend .frm_prev_page:hover,
body.frontend .frm_prev_page:focus,
body.frontend .button:not(.ed_button):hover,
body.frontend .button:not(.ed_button):focus,
body.wp-admin .acf-block-preview .form-submit #submit:hover,
body.wp-admin .acf-block-preview .form-submit #submit:focus,
body.wp-admin .acf-block-preview .frm_button_submit:hover,
body.wp-admin .acf-block-preview .frm_button_submit:focus,
body.wp-admin .acf-block-preview .frm_prev_page:hover,
body.wp-admin .acf-block-preview .frm_prev_page:focus,
body.wp-admin .acf-block-preview .button:not(.ed_button):hover,
body.wp-admin .acf-block-preview .button:not(.ed_button):focus {
    background-color: var(--light-blue);
}

body.frontend .form-submit #submit:active,
body.frontend .frm_button_submit:active,
body.frontend .frm_prev_page:active,
body.frontend .button:not(.ed_button):active,
body.wp-admin .acf-block-preview .form-submit #submit:active,
body.wp-admin .acf-block-preview .frm_button_submit:active,
body.wp-admin .acf-block-preview .frm_prev_page:active,
body.wp-admin .acf-block-preview .button:not(.ed_button):active {
}

body.frontend .form-submit #submit:disabled,
body.frontend .frm_button_submit:disabled,
body.frontend .frm_prev_page:disabled,
body.frontend .button:not(.ed_button):disabled,
body.wp-admin .acf-block-preview .form-submit #submit:disabled,
body.wp-admin .acf-block-preview .frm_button_submit:disabled,
body.wp-admin .acf-block-preview .frm_prev_page:disabled,
body.wp-admin .acf-block-preview .button:not(.ed_button):disabled {
    cursor: not-allowed;
}

body.frontend .button + .button:not(.ed_button),
body.wp-admin .acf-block-preview .button + .button:not(.ed_button) {
    margin-left: 15px;
}

body.frontend .button.secondary,
body.wp-admin .acf-block-preview .button.secondary {

}

.acf-repeater.-row > table > tbody > tr:not(:first-of-type) > td,
.acf-repeater.-block > table > tbody > tr:not(:first-of-type) > td{
    border-top: 1px solid #000!important;
}

.acf-table > tbody > tr > td{
    border-width: 2px 0px 0px 1px;
}

td.acf-fields::after,
tr:not(:first-of-type) > td.acf-fields::before{
    content: "";
    display: block;
    height: 50px;
    background: #f9f9f9;
}

.acf-table > tbody > tr > td.acf-fields:first-of-type::before{
    height: 0;
    border-bottom: 0px solid transparent;
}

td.acf-fields::before{
    border-bottom: 1px solid #e1e1e1;
}

.acf-block-body .acf-fields > .acf-field{
    border-bottom: 1px solid #e1e1e1;
}

.acf-table > tbody > tr > td > div{
    background: #fff;
}

body.frontend .we-container .button-wrapper{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: calc(var(--section-padding) / 2);
}

.frm_form_field{
    position: relative;
    margin-top: 30px!important;
}

.frm_form_field.frm_label_float_top label.has-value{
    /* bottom: 100%;
    left: 0px;
    transform: translateY(0%);
    font-size: 0px; */
    opacity: 0;
    z-index: -1;
}

.frm_form_field label{
    transition: 250ms ease-in-out;
    position: absolute;
    bottom: 50%;
    transform: translateY(50%);
    left: 30px;
    cursor:text;
}