:root {
--vnd-modal-start: #e7f5ea;
--vnd-modal-mid: #cfe9d6;
--vnd-modal-end: #edf8ef;
--vnd-primary: #008f43;
--vnd-primary-hover: #006f35;
--vnd-text: #123d26;
--vnd-muted: #245f3d;
--vnd-overlay: transparent;
--vnd-message-bg: rgba(255, 255, 255, .72);
--vnd-error: #a12a45;
--vnd-font-family: "Roboto", Arial, sans-serif;
}
.vnd-overlay {
align-items: center;
background: transparent;
bottom: 0;
display: flex;
justify-content: center;
left: 0;
padding: 18px;
position: fixed;
right: 0;
top: 0;
z-index: 99999;
}
.vnd-overlay[hidden] {
display: none;
}
.vnd-overlay .vnd-modal {
background: linear-gradient(135deg, var(--vnd-modal-start) 0%, var(--vnd-modal-mid) 52%, var(--vnd-modal-end) 100%);
border: 1px solid rgba(255, 255, 255, .72) !important;
border-radius: 7px;
box-shadow: 0 22px 60px rgba(31, 22, 54, .34) !important;
box-sizing: border-box;
font-family: var(--vnd-font-family);
max-width: 520px;
outline: 0 !important;
overflow: hidden;
padding: 28px 30px 22px !important;
position: relative;
width: min(100%, 520px);
}
.vnd-overlay.vnd-animation-fadein .vnd-modal {
animation: vndFadeIn .32s ease-out both;
}
.vnd-overlay.vnd-animation-left-to-right .vnd-modal {
animation: vndLeftToRight .36s ease-out both;
}
.vnd-overlay.vnd-animation-right-to-left .vnd-modal {
animation: vndRightToLeft .36s ease-out both;
}
.vnd-overlay.vnd-animation-bottom-to-top .vnd-modal {
animation: vndBottomToTop .36s ease-out both;
}
.vnd-overlay.vnd-animation-top-to-bottom .vnd-modal {
animation: vndTopToBottom .36s ease-out both;
}
.vnd-overlay.vnd-animation-zoom-in .vnd-modal {
animation: vndZoomIn .3s ease-out both;
}
.vnd-overlay .vnd-form {
background: transparent !important;
border: 0 !important;
box-shadow: none !important;
margin: 0;
padding: 0 !important;
position: relative;
text-align: center;
z-index: 1;
}
.vnd-overlay .vnd-form h2 {
color: var(--vnd-primary);
font-size: 17px;
font-weight: 800;
letter-spacing: 0;
line-height: 1.25;
margin: 0 28px 12px;
text-transform: uppercase;
}
.vnd-overlay .vnd-form p {
color: var(--vnd-muted);
font-size: 14px;
font-weight: 700;
line-height: 1.35;
margin: 0 auto 12px;
max-width: 420px;
}
.vnd-overlay .vnd-form .vnd-helper {
font-size: 12px;
margin-bottom: 16px;
}
.vnd-overlay .vnd-form input {
background: #fff;
border: 1px solid rgba(66, 54, 118, .2);
border-radius: 4px;
box-shadow: none;
color: #2b2942;
display: block;
font-size: 14px;
height: 44px;
line-height: 1.2;
margin: 0 0 12px;
padding: 0 14px;
width: 100%;
}
.vnd-overlay .vnd-form input:focus {
border-color: var(--vnd-primary);
box-shadow: 0 0 0 2px rgba(0, 143, 67, .16);
outline: 0;
}
.vnd-overlay .vnd-submit {
align-items: center;
background: var(--vnd-primary) !important;
border: 0 !important;
border-radius: 5px;
color: #fff !important;
cursor: pointer;
display: inline-flex;
font-size: 14px;
font-weight: 800;
height: 46px;
justify-content: center;
margin-top: 8px;
padding: 0 18px;
text-shadow: none !important;
text-transform: uppercase;
width: 100%;
}
.vnd-overlay .vnd-submit:hover,
.vnd-overlay .vnd-submit:focus {
background: var(--vnd-primary-hover) !important;
color: #fff !important;
}
.vnd-overlay .vnd-submit[disabled] {
cursor: wait;
opacity: .7;
}
.vnd-overlay .vnd-secondary {
background: transparent;
border: 0;
color: var(--vnd-muted);
cursor: pointer;
display: inline-block;
font-size: 12px;
font-weight: 700;
line-height: 1.2;
margin-top: 14px;
padding: 0;
}
.vnd-overlay .vnd-close {
align-items: center;
background: transparent;
border: 0;
color: var(--vnd-muted);
cursor: pointer;
display: flex;
font-size: 26px;
height: 32px;
justify-content: center;
line-height: 1;
padding: 0;
position: absolute;
right: 10px;
top: 8px;
width: 32px;
z-index: 2;
}
.vnd-message {
border-radius: 4px;
font-size: 13px;
font-weight: 700;
line-height: 1.35;
margin-top: 14px;
min-height: 0;
padding: 0;
}
.vnd-message.is-visible {
background: var(--vnd-message-bg);
color: var(--vnd-primary-hover);
padding: 10px 12px;
}
.vnd-message.is-error {
color: var(--vnd-error);
}
body.vnd-lock {
overflow: hidden;
}
#newsletter-signup-link[data-vnd-suspended="1"] {
display: none !important;
}
@keyframes vndFadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@keyframes vndLeftToRight {
from {
opacity: 0;
transform: translateX(-42px);
}
to {
opacity: 1;
transform: translateX(0);
}
}
@keyframes vndRightToLeft {
from {
opacity: 0;
transform: translateX(42px);
}
to {
opacity: 1;
transform: translateX(0);
}
}
@keyframes vndBottomToTop {
from {
opacity: 0;
transform: translateY(42px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes vndTopToBottom {
from {
opacity: 0;
transform: translateY(-42px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes vndZoomIn {
from {
opacity: 0;
transform: scale(.92);
}
to {
opacity: 1;
transform: scale(1);
}
}
@media (prefers-reduced-motion: reduce) {
.vnd-overlay .vnd-modal {
animation: none !important;
}
}
@media (max-width: 480px) {
.vnd-modal {
padding: 25px 20px 20px;
}
.vnd-form h2 {
font-size: 16px;
margin-left: 22px;
margin-right: 22px;
}
.vnd-form p {
font-size: 13px;
}
}