
#wpforms-confirmation {
    background: #e0ffc7;
    border: 1px solid #b4d39b;
    box-sizing: border-box;
    color: #333;
    margin: 0 auto 24px;
    padding: 15px 15px;
    overflow-wrap: break-word;
}

#primary .wpforms-page-indicator.progress {
    max-width: 500px;
    margin: 0 auto;
}

.visio-menu {
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-items: center;
    align-items: center;
    flex-direction: row;
    justify-content: center;
}

@media (max-width: 767px) {
    .visio-menu {
        margin: 0 auto;
        display: flex;
        flex-direction: column!important;
        justify-items: center;
        align-items: center;
        flex-direction: row;
        justify-content: center;
    }
}


.visio-menu li::marker {
    margin-left: 2px;
    margin-right: 3px;
}
.visio-menu li {
    list-style: '/';
}
@media (max-width: 767px) {
    .visio-menu li {
        list-style: '';
    }    
}
.visio-menu li:first-of-type {
    list-style: '';
}

.visio-menu li a {
    margin-left: 5px;
    margin-right: 5px;
}


#primary .wpforms-container .wpforms-description a {
    color: var(--global-palette2);
    font-size: 16px;
    line-height: 0.5;
    font-family: 'Clash medium';
    font-weight: 400;
}

#primary .wpforms-container .wpforms-description a:hover,
#primary .wpforms-container .wpforms-description a.current_page_item {
    color: var(--global-palette1);
}

#primary .wpforms-container .wpforms-description {
    text-align: center;
    max-width: 960px;
    margin: 20px auto 10px;
}

#primary .wpforms-container .wpforms-title {
    font-size: 2em;
    margin: 0.67em 0;
    font-style: normal;
    font-weight: 400;
    font-size: 70px;
    line-height: 1.1;
    font-family: Clash, Open Sans;
    color: var(--global-palette1);
    text-align: center;
    margin-bottom: 0;
    padding-bottom: 0;
}

#primary .wpforms-container.wpforms-container-full.wpforms-block {
 margin: 0 auto;
} 
#primary .wpforms-page-indicator-steps {
    font-style: normal;
    font-weight: 400;
    font-size: 22px;
    line-height: 1.5;
    font-family: 'Clash medium';
    color: var(--global-palette1);
}

#primary .wpforms-field-container .wpforms-page {
    margin: 0 auto;
    max-width: 960px;
}

#primary .wpforms-field-container label.wpforms-error.mailcheck-error {
    display: none;
}

#primary .wpforms-field-container .wpforms-page .wpforms-error { 
    margin-top: 4px;
}

#primary .wpforms-field-container .wpforms-page .wpforms-error::before {
    mask-image: none;
    background-color: transparent;
    padding: 0 0 0 0;
    right: 3px;
    width: 3px;
}

#primary .wpforms-field-container .wpforms-page .wpforms-field-checkbox fieldset ul,
#primary .wpforms-field-container .wpforms-page .wpforms-field-radio fieldset ul {
    margin-top: 4px;
}
#primary .wpforms-field-container .wpforms-page .wpforms-field-label {
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.5;
    font-family: 'Clash medium';
    color: var(--global-palette1);    
    margin-bottom: 0;
}

#primary .wpforms-container input.wpforms-field-medium {
    max-width: 80%;
}

.wpforms-submit-container {
    text-align: center;
    margin-top: 20px;
}

a.wpforms-visio-submit {
    color: var(--global-palette3, #1A202C);
    background-color: var(--global-palette1);
    font-family: 'Clash semibold';
    font-weight: 400;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
    transform: scale(1.2);
    height: var(--wpforms-button-size-height);
    box-shadow: none;
    line-height: 100%;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
    position: relative;
    text-decoration: none;
    word-break: break-word;
    box-sizing: border-box;
    display: inline-block;
    padding: 11px;
}

#primary div.wpforms-container-full button[type=submit] {
    transform: scale(1.2);
}

#primary div.wpforms-container-full button[type=submit],
#primary div.wpforms-container-full button[type=submit]:not(:hover):not(:active),
#primary .wpforms-field-container .wpforms-clear .div.wpforms-container-full button[type=submit],
#primary .wpforms-field-container .wpforms-clear .wpforms-page-button {
    color: var(--global-palette3, #1A202C);
    background-color: var(--global-palette1);
    font-family: 'Clash semibold';
    font-weight: 400;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
}
#primary div.wpforms-container-full button[type=submit]:focus:after,
#primary div.wpforms-container-full .wpforms-page-button:focus:after {
    position: initial;
}

#primary .wpforms-confirmation-container-full.wpforms-confirmation-scroll p {
    color: var(--global-palette3);
    font-style: normal;
    font-weight: 400;
    font-size: 34px;
    line-height: 1.5;
    font-family: 'Clash medium';
}
#primary .wpforms-confirmation-container-full.wpforms-confirmation-scroll {
    background-color: var(--global-palette2, #2B6CB0);
    color: var(--global-palette3);
    text-align: center;
}

#primary .wpforms-layout-row .intro {
    height: 350px;
    font-family: 'Clash semibold';
    font-weight: 400;
}

#primary .wpforms-layout-row .intro ol {
    margin-bottom: 0px!important;
}
#primary .wpforms-layout-row .intro ol li {
    font-size: 26px;
}

#primary .wpforms-layout-row .intro > div,
#primary .wpforms-layout-row .intro-text > div {
    height: 100%;
    display: flex;
}
#primary .wpforms-layout-row .intro-text > div > p {
    align-content: center;
}

#primary .wpforms-layout-row .intro-text > div > div,
#primary .wpforms-layout-row .intro > div > div {
    height: 100%;
    display: flex;
}

#primary .wpforms-layout-row .intro-text > div > div,
#primary .wpforms-layout-row .intro > div > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
    align-items: center;
    justify-content: center;
}

#primary .wpforms-layout-row .intro-text {
    height: 350px;
    font-family: 'Clash semibold';
    font-weight: 400;
}

#primary .wpforms-field.wpforms-field-pagebreak {
    display: flex;
    justify-items: center;
    justify-content: center;
}

.wpforms-visio.allekirjoita p,
.wpforms-visio.allekirjoita .row-html,
#primary table.wpforms-frontend-entries {
    max-width: 960px;
    margin: 0 auto;
}
@media (max-width: 767px) {
    #primary table.wpforms-frontend-entries {
        margin-left: -25px;
        margin-right: -25px;
    }    
}

.wpforms-frontend-entries .row-pagebreak td {
    padding-top: 8px;
    border-bottom: 1px solid var(--global-palette1);

    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.5;
    font-family: 'Clash medium';
    color: var(--global-palette1);
}

.wpforms-visio.allekirjoita,
#primary .wpforms-container.wpforms-container-full,
.wpforms-visio.landeri {
    background-image: url(https://vam-fi.hel2.wp-cloud.dev/wp-content/uploads/2024/11/visio-kuvio_opacity_40.png);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 320px;
}

@media (max-width: 767px) {
    #primary .wpforms-visio.landeri h1.wp-block-heading {
        line-height: 1;
    }
}


.wpforms-visio.landeri .kb-button.kt-button.button .kb-svg-icon-wrap { 
    color: var(--global-palette1, #2B6CB0);
}

.wpforms-visio.landeri .kb-button.kt-button.button { 
    background-color: transparent!important;
}

.wpforms-visio.landeri .kb-button.kt-button.button .kt-btn-inner-text { 
    color: var(--global-palette1);
    font-family: 'Clash semibold';
    font-weight: 400;
}

.wpforms-visio.landeri .kb-button.kt-button.button:hover,
.wpforms-visio.landeri .kb-button.kt-button.button:hover .kb-svg-icon-wrap,
.wpforms-visio.landeri .kb-button.kt-button.button:hover .kt-btn-inner-text {
    color: var(--global-palette2);
    box-shadow: none!important;
}

.wpforms-visio.landeri .wp-block-columns .wp-block-column h2 { 
    line-height: 1;
    font-family: 'Clash';
    word-break: keep-all;
    display: inline-block;
}

.wpforms-visio.landeri .wp-block-columns {
    align-items: stretch;
    flex-wrap: wrap!important;
    justify-content: center;
}

.wpforms-visio.landeri .wp-block-columns .wp-block-column ol li {
    font-family: var(--global-body-font-family);
    color: var(--global-palette4);
}

.wpforms-visio.landeri .wp-block-columns .wp-block-column {
    height: auto;
    min-width: 300px;
    align-self: stretch;
    max-width: 400px;
}

.wpforms-page-indicator-page-title,
.wpforms-page-indicator-page-title-sep {
    display: none!important;
}
