.vochtcalc {
--vc-blue: #6fa8dc;
--vc-blue-dark: #2a5885;
--vc-border: #cfd8e3;
--vc-text: #3d4a58;
--vc-muted: #9aa5b1;
--vc-radius: 14px;
max-width: 780px;
margin: 0 auto;
color: var(--vc-text);
font-size: 16px;
line-height: 1.5;
}
.vochtcalc *,
.vochtcalc *::before,
.vochtcalc *::after {
box-sizing: border-box;
} .vochtcalc [hidden] {
display: none !important;
}
.vochtcalc__card {
border: 2px solid var(--vc-blue);
border-radius: var(--vc-radius);
overflow: hidden;
background: #fff;
}
.vochtcalc__title {
margin: 0;
padding: 20px 24px;
text-align: center;
color: var(--vc-blue-dark);
font-size: clamp( 20px, 3.4vw, 28px );
font-weight: 700;
} .vochtcalc__bar {
display: flex;
flex-wrap: wrap;
gap: 16px;
align-items: center;
justify-content: space-between;
padding: 20px 24px;
background: var(--vc-blue);
}
.vochtcalc__bar-label {
color: #fff;
font-size: clamp( 18px, 2.6vw, 24px );
opacity: 0.9;
}
.vochtcalc__select {
position: relative;
display: block;
}
.vochtcalc__select::after {
content: "";
position: absolute;
top: 50%;
right: 18px;
width: 10px;
height: 10px;
margin-top: -7px;
border-right: 2px solid currentColor;
border-bottom: 2px solid currentColor;
transform: rotate(45deg);
pointer-events: none;
}
.vochtcalc__select select {
width: 100%;
cursor: pointer;
padding: 12px 46px 12px 18px;
border: 1px solid var(--vc-border);
border-radius: 10px;
background: #fff;
color: inherit;
font: inherit;
line-height: 1.3;
appearance: none;
-webkit-appearance: none;
}
.vochtcalc__select--inverse {
color: #fff;
min-width: 260px;
}
.vochtcalc__select--inverse select {
border: 2px solid #fff;
background: transparent;
color: #fff;
font-weight: 700;
letter-spacing: 0.04em;
text-align: center;
}
.vochtcalc__select--inverse select option {
color: var(--vc-text);
} .vochtcalc__step {
padding: 22px 24px 28px;
}
.vochtcalc__tabs {
display: flex;
flex-wrap: wrap;
gap: 6px;
align-items: flex-end;
border-bottom: 1px solid var(--vc-border);
padding-bottom: 0;
}
.vochtcalc__tab {
position: relative;
display: inline-flex;
gap: 8px;
align-items: center;
margin-bottom: -1px;
padding: 12px 18px;
border: 1px solid var(--vc-border);
border-bottom-color: transparent;
border-radius: 8px 8px 0 0;
background: #fff;
color: var(--vc-muted);
font: inherit;
font-weight: 700;
letter-spacing: 0.03em;
cursor: pointer;
}
.vochtcalc__tab.is-active {
color: #1f2933;
box-shadow: inset 0 -1px 0 #fff;
}
.vochtcalc__tab--add {
padding: 8px 14px;
line-height: 0;
}
.vochtcalc__tab-remove {
display: inline-flex;
align-items: center;
justify-content: center;
width: 18px;
height: 18px;
border-radius: 50%;
background: #eef2f7;
color: var(--vc-muted);
font-size: 14px;
line-height: 1;
cursor: pointer;
}
.vochtcalc__tab-remove:hover {
background: #e0433a;
color: #fff;
} .vochtcalc__wall {
padding-top: 26px;
}
.vochtcalc__wall-grid {
display: grid;
grid-template-columns: 1fr 1px 1fr;
gap: 28px;
align-items: start;
}
.vochtcalc__wall-grid::before {
content: "";
grid-column: 2;
align-self: stretch;
background: var(--vc-border);
}
.vochtcalc__wall-grid .vochtcalc__field:first-child {
grid-column: 1;
}
.vochtcalc__wall-grid [data-option-field] {
grid-column: 3;
}
.vochtcalc__field {
margin: 0 0 16px;
}
.vochtcalc__field label {
display: block;
margin-bottom: 8px;
color: var(--vc-text);
font-size: 17px;
font-weight: 700;
} .vochtcalc__field--checkbox label {
font-weight: 400;
}
.vochtcalc__field input[type="text"],
.vochtcalc__field input[type="email"],
.vochtcalc__field input[type="tel"],
.vochtcalc__field input[type="number"],
.vochtcalc__field textarea {
width: 100%;
padding: 12px 16px;
border: 1px solid var(--vc-border);
border-radius: 10px;
background: #fff;
color: inherit;
font: inherit;
}
.vochtcalc__field input:focus,
.vochtcalc__field textarea:focus,
.vochtcalc__select select:focus,
.vochtcalc__tab:focus-visible,
.vochtcalc__button:focus-visible {
outline: 2px solid var(--vc-blue-dark);
outline-offset: 2px;
}
.vochtcalc__field .has-error {
border-color: #e0433a;
}
.vochtcalc__fixed {
display: block;
padding: 12px 16px;
border: 1px solid var(--vc-border);
border-radius: 10px;
background: #fff;
} .vochtcalc__actions {
display: flex;
justify-content: center;
padding-top: 10px;
}
.vochtcalc__actions--split {
justify-content: space-between;
align-items: center;
gap: 16px;
flex-wrap: wrap;
}
.vochtcalc__button {
display: inline-flex;
gap: 10px;
align-items: center;
padding: 14px 24px;
border: 0;
border-radius: 8px;
background: var(--vc-blue);
color: #fff;
font: inherit;
font-weight: 700;
letter-spacing: 0.05em;
cursor: pointer;
}
.vochtcalc__button:hover {
background: #5c97ce;
}
.vochtcalc__button[disabled] {
opacity: 0.65;
cursor: default;
}
.vochtcalc__button-icon {
display: inline-flex;
line-height: 0;
}
.vochtcalc__link {
padding: 8px 0;
border: 0;
background: none;
color: var(--vc-blue-dark);
font: inherit;
cursor: pointer;
text-decoration: underline;
} .vochtcalc__lead-intro {
margin: 0 0 20px;
color: var(--vc-text);
}
.vochtcalc__grid {
display: grid;
grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
gap: 0 20px;
}
.vochtcalc__field--full {
grid-column: 1 / -1;
}
.vochtcalc__field--checkbox label {
cursor: pointer;
display: flex;
gap: 10px;
align-items: center;
color: var(--vc-text);
font-size: 15px;
line-height: 1.4;
} .vochtcalc__field--checkbox input {
flex: 0 0 auto;
width: 16px;
height: 16px;
margin: 0;
cursor: pointer;
}
.vochtcalc__field--checkbox input.has-error {
outline: 2px solid #e0433a;
}
.vochtcalc__error {
margin: 4px 0 0;
color: #c0392b;
} .vochtcalc__success {
text-align: center;
color: var(--vc-blue-dark);
padding: 40px 24px 48px;
}
.vochtcalc__success h3 {
margin: 12px 0 8px;
font-size: 22px;
}
.vochtcalc__success p {
margin: 0;
color: var(--vc-text);
} .vochtcalc__intro {
display: grid;
grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
gap: 32px;
margin-top: 28px;
}
.vochtcalc__intro-col + .vochtcalc__intro-col {
padding-left: 32px;
border-left: 1px solid var(--vc-blue);
}
.vochtcalc__intro h4 {
margin: 0 0 8px;
color: var(--vc-blue-dark);
font-size: 16px;
font-weight: 700;
letter-spacing: 0.04em;
}
.vochtcalc__intro p {
margin: 0 0 12px;
}
.vochtcalc__intro ul {
margin: 0;
padding-left: 20px;
}
@media ( max-width: 640px ) {
.vochtcalc__bar {
flex-direction: column;
align-items: stretch;
text-align: center;
}
.vochtcalc__wall-grid,
.vochtcalc__grid,
.vochtcalc__intro {
grid-template-columns: minmax( 0, 1fr );
gap: 0;
}
.vochtcalc__wall-grid::before {
display: none;
}
.vochtcalc__wall-grid .vochtcalc__field:first-child,
.vochtcalc__wall-grid [data-option-field] {
grid-column: 1;
}
.vochtcalc__intro {
gap: 24px;
}
.vochtcalc__intro-col + .vochtcalc__intro-col {
padding-left: 0;
border-left: 0;
}
} .vochtcalc .vochtcalc__tab,
.vochtcalc .vochtcalc__tab:hover,
.vochtcalc .vochtcalc__tab:focus,
.vochtcalc .vochtcalc__tab:active {
background: #fff;
box-shadow: none;
text-decoration: none;
}
.vochtcalc .vochtcalc__tab:hover {
background: #f4f8fc;
color: var(--vc-blue-dark);
}
.vochtcalc .vochtcalc__tab.is-active,
.vochtcalc .vochtcalc__tab.is-active:hover {
background: #fff;
color: #1f2933;
}
.vochtcalc ::placeholder {
color: #c3ccd7;
opacity: 1;
}
.vochtcalc :-ms-input-placeholder {
color: #c3ccd7;
} .vochtcalc__step[data-step="calculator"] .vochtcalc__error {
margin: 18px 0 0;
text-align: center;
font-weight: 600;
} .vochtcalc .vochtcalc__link,
.vochtcalc .vochtcalc__link:hover,
.vochtcalc .vochtcalc__link:focus,
.vochtcalc .vochtcalc__link:active {
background: none;
background-color: transparent;
border: 0;
box-shadow: none;
color: var(--vc-blue-dark);
cursor: pointer;
}
.vochtcalc .vochtcalc__link:hover {
color: #1f2933;
text-decoration: underline;
} .vochtcalc .vochtcalc__button,
.vochtcalc .vochtcalc__button:focus,
.vochtcalc .vochtcalc__button:active {
background: var(--vc-blue);
color: #fff;
box-shadow: none;
}
.vochtcalc .vochtcalc__button:hover {
background: #5c97ce;
color: #fff;
} .vochtcalc__select--inverse select.has-error {
border-color: #ffd9d6;
box-shadow: 0 0 0 3px rgba( 255, 255, 255, 0.35 );
}
.vochtcalc__select select:disabled {
background: #f6f8fa;
color: var(--vc-muted);
cursor: not-allowed;
}