/* 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: 1.125rem;
    line-height: 150%;
    font-weight: 400;
    margin: 0;
}

h1 { 
    font-family: VontobelSerif, Georgia, serif;
    font-size: 4.25rem;
    letter-spacing: 0;
    line-height: 115%;
    font-weight: 700;
}

h2 {
    font-size: 3.25rem;
    letter-spacing: 0;
    line-height: 120%;
    font-weight: 700;
}

h3 {
    font-size: 2.5rem;
    letter-spacing: 0;
    line-height: 120%;
    font-weight: 700;
}

h4 {
    font-size: 2rem;
    letter-spacing: 0;
    line-height: 125%;
    font-weight: 700;
}

a {
    color: #006298;
}

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

footer {
    background-color: #000;
    color: #fff;
    font-size: 0.875rem;
}


footer a {
    color: #fff;
}

footer a:hover {
    color: #fff;
}

footer .cont-pad-top-bottom {
    padding-top: 34px;
    padding-bottom: 34px;
}

footer .cont-pad-top {
    padding-top: 34px;
}

footer .cont-pad-bottom {
    padding-bottom: 34px;
}

.container {
    max-width: 1216px;
    margin: auto;
}

.cont-pad-top-bottom {
    padding-top: 72px;
    padding-bottom: 72px;
}

.cont-pad-top {
    padding-top: 72px;
}

.cont-pad-bottom {
    padding-bottom: 72px;
}


.button-primary,
.button-secondary {
    border: none;
    border-radius: 48px;
    text-transform: uppercase;
    font-size: 14px;
    line-height: 1;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    -webkit-appearance: none;
    /* -webkit-border-radius: 8px; */
    -moz-appearance: none;
}

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

.button-primary:hover {
    background-color: #000;
    text-decoration: none;
    color: #fff;
}

.button-secondary {
    padding: 18px;
    background-color: #fff;
    border: 2px solid #373a36;
    color: #373a36
}

.button-secondary:hover {
    padding: 18px;
    background-color: #373a36;
    text-decoration: none;
    color: #fff;
    border: 2px solid #373a36;
}

/* TODO: assume styling the same */
.text-input,
.text-area {
    width: 100%; /* Take the width of flex/grid */
    padding: 9px 11px;
    box-sizing: border-box;
    border: 1px solid rgba(55, 58, 54, 0.2);
    border-radius: 6px;
    font-weight: bold;
    font-size: 18px;
    line-height: 1.42; /* TODO: probably this is the result of some calculation*/
    color: #000;
}

.text-input:focus,
.text-area:focus {
    border: 1px solid #000;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(0,0,0,.6);
    outline: none;
}

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

.label-input {
    display: flex;
    flex-direction: column;
    row-gap: 7px; /* You use margin buttom on the label but should work the same*/
}

.label-input > label {
    font-size: 16px;
    line-height: 1.6;
    font-weight: bold;
}

.form-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px; /* You use margin but should work the same*/
    row-gap: 18px; /* You use margin but should work the same*/
    align-items: center;
}

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

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

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

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

.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%;
}

/* TODO: can you explain me how you do the "v" inside? */
.checkmark {
    border: 2px solid #979797;
    height: 24px;
    min-height: 24px;
    width: 24px;
    min-width: 24px;
    background-color: #fff;
    transition: all .2s linear;
    box-sizing: border-box;
}

/* TODO: will investigate it in the future */
.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));
}

/* TODO: will investigate it in the future */
.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: #006298;
    border: 2px solid #006298;
}

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

/* Radio */
.rounded {
    border-radius: 50%;
    height: 20px;
    min-height: 20px;
    width: 20px;
    min-width: 20px;
}

input:checked ~ .rounded {
    border: 6px solid #006298;
    background-color: #fff;
}

.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: #f0ede4;
    padding: 0px;
    border-radius: 6px;
    line-height: 146%;
    font-size: 14px;
}

.photo-item img {
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

.accordion-content h2,
.photo-item h2 {
    line-height: 130%;
    font-weight: 700;
    font-size: 20px;
}

.accordion-content div,
.photo-item div {
    padding: 10px;
}

.accordion {
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 6px;
}

.accordion:hover {
    background-color: #f0ede4;
    cursor: pointer;
}

.accordion-content {
    display: flex;
    flex-direction: row;
    column-gap: 20px;
    align-items: center;
    background-color: #f0ede4;
    padding: 0px;
    margin: 16px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 146%;
}

.accordion-content img {
    max-height: 200px;
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

.hide {
    display: none;
}

@media (max-width: 1280px) {
    .container {
        padding-left: 32px;
        padding-right: 32px;
    }
}

@media (max-width: 767px) {

    .cont-pad-top-bottom {
        padding-top: 34px;
        padding-bottom: 34px;
    }

    .cont-pad-top {
        padding-top: 34px;
    }

    .cont-pad-bottom {
        padding-bottom: 34px;
    }

    .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 {
        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;
    }

    h1 { 
        font-family: VontobelSerif, Georgia, serif;
        font-size: 2.5rem;
        letter-spacing: 0;
        line-height: 115%;
        font-weight: 700;
    }
    
    h2 {
        font-size: 2rem;
        letter-spacing: 0;
        line-height: 120%;
        font-weight: 700;
    }
    
    h3 {
        font-size: 1.75rem;
        letter-spacing: 0;
        line-height: 120%;
        font-weight: 700;
    }
    
    h4 {
        font-size: 1.5rem;
        letter-spacing: 0;
        line-height: 125%;
        font-weight: 700;
    }

    .accordion-content {
        row-gap: 20px;
        flex-direction: column;
        padding: 0px;
    }

    .accordion-content img {
        max-height: none;
        border-top-left-radius: 6px;
        border-top-right-radius: 6px;
        border-bottom-left-radius: 0px;
    }
}
