.dialogWrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4000;
    background-color: var(--transparentBackgroundColor);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.1s ease-in-out;
    color: #0a2540;
}

.dialog {
    position: relative;
    background-color: var(--dialogBackgroundColor);
    color: var(--dialogTextColor);
    box-shadow: var(--dialogShadow);
    width: 100%;
    max-width: 500px;
    padding: 20px;
    border-radius: 20px;
}

.dialogNoPadding {
    padding: 0;
    max-width: 700px;
}

.dialogNoPadding > div {
    max-width: 700px;
    overflow: hidden;
    display: flex;
    border-radius: 20px;
}

.dialogNoPadding img {
    width: 100%;
}

.dialog h2 {
    color: var(--dialogTextColor) !important;
}

#thanksDialogContent,
.dialog form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dialog label,
.dialog input,
.dialog textarea {
    width: 100%;
    resize: none;
    background-color: var(--dialogBackgroundColor);
    color: var(--dialogTextColor);
}

.dialog label::placeholder,
.dialog input::placeholder,
.dialog textarea::placeholder {
    color: var(--textColorLightest);
}

.dialog h2,
.dialog label {
    margin-bottom: var(--gutterWidth);
}

.dialog label span {
    display: inline-block;
    margin-bottom: 5px;
}

.dialog input,
.dialog textarea {
    padding: 5px;
    box-sizing: border-box;
    border-radius: 5px;
    border: 1px solid var(--dialogInputBorderColor);
    font-size: 16px;
}

.dialog input:focus,
.dialog textarea:focus {
    outline: none;
    box-shadow: 0 0 2pt var(--dialogInputBorderColor);
}

.dialog textarea {
    height: 200px;
}

.sendButton {
    border: none;
    font-size: 16px;
    padding-right: 30px;
    font-weight: 600;
}

.sendButton:after {
    content: '';
    display: none;
}

.closeButton {
    position: absolute;
    top: -45px;;
    right: 0;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.closeButton img {
    width: 100%;
}