/* Work in progress */
@font-face {
    font-family: "VontobelSans";
    src: url("https://content.vontobel.com/distribution/vontobel-font/VontobelSans-Regular.woff2") format("woff2");
}
@font-face {
    font-family: "VontobelSerif";
    src: url("https://content.vontobel.com/distribution/vontobel-font/VontobelSerif-Regular.woff2") format("woff2");
}

body {
    font-family: VontobelSans, Arial, "sanspacing-serif";
    color: #373a36;
    font-size: 16px;
    letter-spacing: normal;
    line-height: 24px;
    font-weight: 400;
    margin: 0;
    background-color: #f8f7f3;
}

h1 {
    font-family: VontobelSerif, Georgia, serif;
    font-size: 56px;
    letter-spacing: normal;
    line-height: 64px;
    font-weight: 700;
}

h2 {
    font-size: 32px;
    letter-spacing: normal;
    line-height: 40px;
    font-weight: 700;
}

h3 {
    font-size: 24px;
    letter-spacing: normal;
    line-height: 32px;
    font-weight: 700;
}

.white-area a {
    text-decoration: none;
    color: #006298;
}

.white-area a:hover {
    text-decoration: underline;
    color: #00456b;
}

.container {
    max-width: 1440px;
    padding-left: 35px;
    padding-right: 35px;
    margin: auto;
}

.green-area {
    background-color: #272927;
    color: #d0d1d1;
}

.white-area {
    background-color: #fff;
    color: #373a36;
}

.strip {
    padding-top: 35px;
    padding-bottom: 35px;
}

.button-primary,
.button-secondary {
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 14px;
    line-height: 16px;
    letter-spacing: normal;
    font-weight: 600;
    padding: 11px 20px;
    text-decoration: none;
    cursor: pointer;
    -webkit-appearance: none;
    -webkit-border-radius: 8px;
    -moz-appearance: none;
}

.button-primary {
    background-color: #373a36;
    color: #fff;
}

.button-primary:hover {
    background-color: #151515;
}

.button-secondary {
    background-color: #f0ede4;
    color: #373a36;
}

.button-secondary:hover {
    background-color: #e1dcca;
}

.text-input,
.text-area {
    width: 100%;
    padding: 9px 7px 9px 11px;
    box-sizing: border-box;
    border: 1px solid #e3e3e3;
    border-radius: 8px;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: normal;
    color: #373a36;
}

.text-input:focus,
.text-area:focus {
    outline: 1px solid #373a36;
    border: 1px solid transparent;
}

.text-area {
    height: 150px;
    resize: none;
}

.label-input {
    display: flex;
    flex-direction: column;
    row-gap: 12px;
}

.label-input > label {
    font-size: 14px;
    letter-spacing: normal;
    line-height: 20px;
    font-weight: 600;
}

.form-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 30px;
    row-gap: 20px;
    align-items: center;
}

.grid-just-center {
    justify-self: center;
}

.grid-just-left {
    justify-self: left;
}

.grid-just-right {
    justify-self: right;
}

.grid-align-top {
    align-self: flex-start;
}

.grid-align-center {
    align-self: center;
}

.grid-align-bottom {
    align-self: flex-end;
}

.grid-align-stretch {
    align-self: stretch;
}

.gap {
    display: block;
}

.wide {
    grid-column: span 2;
    max-width: 100%;
}

.wide-3 {
    grid-column: span 3;
    max-width: 100%;
}

.wide-4 {
    grid-column: span 4;
    max-width: 100%;
}

.green-area .text-input,
.green-area .text-area,
.green-area .checkmark {
    background-color: rgba(54, 52, 48, 0.15);
    color: white;
    border: 1px solid hsla(0, 0%, 89%, 0.2);
}

.green-area .text-input:focus,
.green-area .text-area:focus {
    outline: 1px solid #373a36;
    border: 1px solid transparent;
}

.checkmark {
    border: 1px solid #e3e3e3;
    height: 25px;
    min-height: 25px;
    width: 25px;
    min-width: 25px;
    background-color: white;
}


input:hover ~ .checkmark {
    border: 1px solid #373a36;
}

.green-area input:hover ~ .checkmark {
    border: 1px solid #373a36;
}

.options-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 30px;
    row-gap: 5px;
}

.wide .options-group {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sig-col .options-group {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.options-group > label {
    display: flex;
    flex-direction: row-reverse;
    column-gap: 20px;
    align-items: center;
    justify-content: left;
    cursor: pointer;
}

input:checked ~ .checkmark {
    background-color: #373a36;
    border: 1px solid #373a36;
}

.green-area input:checked ~ .checkmark {
    background-color: #373a36;
    border: 1px solid #373a36;
}

.options-group > label > input {
    display: block;
    position: absolute;
    z-index: -10;
}

.rounded {
    border-radius: 50%;
}

.scrollable {
    max-height: 400px;
    overflow-y: auto;
}

.photo-group {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 30px;
    row-gap: 20px;
    align-items: stretch;
}

.photo-group-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 30px;
    row-gap: 20px;
    align-items: stretch;
}

.photo-item {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
    align-items: center;
    background-color: #fff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 32px 48px -20px rgba(26,20,10,.16);
}

@media (max-width: 767px) {
    .form-group,
    .options-group,
    .photo-group,
    .photo-group-4 {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .wide .options-group {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .gap {
        display: none;
    }

    .wide,
    .wide-3,
    .wide-4 {
        grid-column: unset;
        max-width: 600px;
    }

    .mob-grid-just-center {
        justify-self: center;
    }

    .mob-grid-just-left {
        justify-self: left;
    }

    .mob-grid-just-right {
        justify-self: right;
    }

    .mob-grid-align-top {
        align-self: flex-start;
    }

    .mob-grid-align-center {
        align-self: center;
    }

    .mob-grid-align-bottom {
        align-self: flex-end;
    }
}
