#contact-page {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

/* header */

#contact-page-header {
    position: relative;

    display: flex;
    flex-direction: column;
    flex: 0 1 auto;

    align-items: center;

    /*width: 100vw;*/
    width: 100%;
    min-height: 390px;

    padding: 0 30px;
}

.contact-page-header__background-image-wrapper  {
    position: absolute;
    z-index: 1;

    /*width: calc(100vw - 6px);*/
    width: 100%;
    min-height: 390px;

    overflow: hidden;
}

.contact-page-header__background-image  {
    position: absolute;
    top: 0;
    left: 0;
    /*left: -50%;*/

    width: 100%;
    height: 600px;

    object-fit: cover;
    z-index: -1;
}

.contact-page-header-content {
    position: relative;

    /*display: flex;
    flex-direction: row;
    flex: 0 1 auto;

    justify-content: space-between;*/

    width: 100%;
    max-width: var(--base-page-max-width);
    height: 360px;

    z-index: 2;
}

.contact-page-header-content--no-breadcrumbs-top-padding {
    padding-top: 150px;
}

.contact-page-header-content__left {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;
    flex: 0 1 auto;

    align-items: flex-start;

    height: 100%;
}

.contact-page-header-content__title {
    margin: 30px 0 15px 0;

    color: #fff;
    line-height: 2.5rem;
    font-size: 2.5rem;
    font-weight: var(--base-font-black-weight);
}

.contact-page-header-content__title--caveat-font {
    font-family: var(--base-caveat-font-family);
    font-weight: var(--base-font-regular-weight);
}


.contact-page-header-content__subtitle {
    display: flex;
    flex-direction: column;
    flex: 0 1 auto;

    color: #fff;
    line-height: 1.4rem;
    font-size: 1rem;
    font-weight: var(--base-font-regular-weight);

    max-width: 480px;
}

.contact-page-header-content__subtitle__text {
    width: 100%;
    max-width: 480px;

    margin: 0 0 6px 0;

    color: #fff;
    line-height: 1.4rem;
    font-size: 1rem;
    font-weight: var(--base-font-regular-weight);
}

.contact-page-header-content__subtitle__text--bold {
    font-weight: var(--base-font-black-weight);
}

.contact-page-header-content__subtitle__copyright {
    margin: 0;

    color: #fff;
    line-height: 1.4rem;
    font-size: 1rem;
    font-weight: var(--base-font-regular-weight);
}



.contact-page-header-content__right {
    display: none;
}

.contact-page-header-side-image-wrapper {
    max-height: 300px;
    width: auto;
}

.contact-page-header-side-image-wrapper img {
    max-height: 300px;
    width: auto;
    min-width: 300px;
}

/* contact section */

#contact {
    display: flex;
    flex-direction: row;
    flex: 0 1 auto;

    justify-content: center;

    /*background-color: var(--base-papiroti-blue-7);*/
}

.contact-content-wrapper {
    display: flex;
    flex-direction: column;
    flex: 0 1 auto;

    width: 100%;
    max-width: var(--base-page-max-width);

    padding: 60px 30px;
}

.contact-content__header {
    display: flex;
    flex-direction: column;
    flex: 0 1 auto;
}

.contact-content__content {
    display: flex;
    flex-direction: column;
    flex: 0 1 auto;

    width: 100%;
}

.contact-info {
    display: flex;
    flex-direction: column;
    flex: 0 1 auto;
}

.contact-info-title {
    display: flex;
    flex-direction: row;
    flex: 0 1 auto;

    margin: 0 0 30px 0;

    font-weight: var(--base-font-black-weight);
    font-size: 2.5rem;
    line-height: 2.5rem;
    color: var(--base-papiroti-blue-7);
}

.contact-info-subtitle {
    display: flex;
    flex-direction: row;
    flex: 0 1 auto;

    margin: 0 0 60px 0;
    width: 100%;

    font-weight: var(--base-font-regular-weight);
    font-size: 1rem;
    color: #fff;
}

.contact-info-sections-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;

    margin-bottom: 30px;
}

.contact-info-section {
    display: flex;
    flex-direction: column;
    flex: 0 1 auto;
}

.contact-info-section__title-wrapper {
    display: flex;
    flex-direction: row;
    flex: 0 1 auto;

    justify-content: flex-start;

    width: 100%;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--base-papiroti-blue-1);
}

.contact-info-section__title {
    display: flex;
    flex-direction: row;
    flex: 0 1 auto;

    margin-bottom: -12px;
    padding: 0 6px 6px 0;

    font-weight: var(--base-font-black-weight);
    color: var(--base-papiroti-blue-1);
    background-color: #fff;
}

.contact-info-section__line {
    color: var(--base-papiroti-blue-7);
}

.contact-info-section__line a {
    display: flex;
    flex-direction: row;
    flex: 0 1 auto;

    justify-content: space-between;

    color: var(--base-papiroti-blue-1) !important;
}

.contact-info-section__line__text {
    color: var(--base-papiroti-blue-7);
}

.contact-info-section__line__icon {
    color: var(--base-papiroti-yellow);
}

.contact-info-map {
    display: flex;
    flex-direction: column;
    flex: 0 1 auto;

    width: 100%;
}

.contact-info-map__title-wrapper {
    display: flex;
    flex-direction: row;
    flex: 0 1 auto;

    justify-content: flex-start;

    width: 100%;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--base-papiroti-blue-1);
}

.contact-info-map__title {
    display: flex;
    flex-direction: row;
    flex: 0 1 auto;

    margin-bottom: -12px;
    padding: 0 6px 6px 0;

    font-weight: var(--base-font-black-weight);
    color: var(--base-papiroti-blue-1);
    background-color: #fff;
}

.contact-info-map__title-icon {
    margin-left: 6px;
    color: var(--base-papiroti-yellow);
}

.contact-info-map__container {
    width: 100%;
    height: 200px;
}

#google-map {
    height: 100%;
    width: 100%;
}


.contact-form-wrapper {
    display: flex;
    flex-direction: column;
    flex: 0 1 auto;

    padding: 60px 0 0 0;
}

.contact-form__form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.contact-form__title {
    font-size: 1.75rem;
    line-height: 1.75rem;
    font-weight: var(--base-font-black-weight);
    color: var(--base-papiroti-blue-7);
}

.contact-form__subtitle {
    font-size: 1rem;
    font-weight: var(--base-font-regular-weight);
    color: var(--base-papiroti-blue-7);

    margin-bottom: 30px;
}

.contact-form__form-wrapper {

}

.contact-form__form {

}

.papiroti-input {
    position: relative;

    display: flex;
    flex-direction: column;
    flex: 0 1 auto;

    align-items: flex-start;
}

.papiroti-input.error .papiroti-input__label-wrapper {
    color: var(--base-error-color);
}

.papiroti-input.error .papiroti-input__input-wrapper,
.papiroti-input.error .papiroti-input__textarea-wrapper {
    border: 1px solid var(--base-error-color);
}

.papiroti-input__label-wrapper {
    z-index: 3;

    display: flex;
    flex-direction: column;
    flex: 0 1 auto;

    align-items: flex-start;

    margin: 0 0 -15px 12px;
    padding: 6px;
    background-color: #fff;
    color: var(--base-papiroti-blue-1);
}

.papiroti-input__label-wrapper label {
    font-weight: var(--base-font-black-weight);
    font-size: 0.875rem;
}

.papiroti-input__input-wrapper {
    display: flex;
    flex-direction: column;
    flex: 0 1 auto;

    width: 100%;

    padding: 9px;
    border: 1px solid var(--base-papiroti-blue-1);
    border-radius: 6px;
    background: none;
    outline: 0;
}

.papiroti-input__input-wrapper input,
.papiroti-input__input-wrapper input:focus,
.papiroti-input__input-wrapper input:active {
    width: 100%;
    color: var(--base-papiroti-blue-7);
    border: none;
    background: none;
    outline: 0;
    font-size: 0.875rem;
    padding: 3px;
}

.papiroti-input__textarea-wrapper {
    display: flex;
    flex-direction: column;
    flex: 0 1 auto;

    width: 100%;

    padding: 9px;
    border: 1px solid var(--base-papiroti-blue-1);
    border-radius: 6px;
    background: none;
    outline: 0;
}

.papiroti-input__textarea-wrapper textarea,
.papiroti-input__textarea-wrapper textarea:focus,
.papiroti-input__textarea-wrapper textarea:active {
    width: 100%;
    color: var(--base-papiroti-blue-7);
    border: none;
    background: none;
    outline: 0;
    font-size: 0.875rem;
    min-height: 75px;
    padding: 3px;
}

.contact-form__submit-button-wrapper {

}

.contact-form__submit-button {
    display: flex;
    flex-direction: row;
    flex: 0 1 auto;

    justify-content: center;

    width: 100%;

    padding: 6px 48px;
    margin-top: 15px;

    border-radius: 15px;
    border: none;
    background-color: var(--base-papiroti-yellow);
    text-align: center;
    text-transform: uppercase;
    font-size: 0.875rem;
    font-weight: var(--base-font-black-weight);
    color: var(--base-papiroti-blue-7);
    cursor: pointer;
}

.contact-form__submit-button--disabled {
    background-color: var(--base-grey-color-300);
    color: var(--base-grey-color-500);
}


@media all and (min-width: 300px) {

}

@media all and (min-width: 350px) {

}

@media all and (min-width: 600px) {
    /* contact */

    .contact-info-sections-wrapper {
        grid-template-columns: 1fr 1fr;
    }

    .contact-info-subtitle {
        width: 65%;
    }

    .contact-form__form {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    #contact-form-first-name-field {
        grid-column: 1 / 2;
    }

    #contact-form-last-name-field {

    }

    #contact-form-email-field {
        grid-column: 1 / 2;
    }

    #contact-form-company-field {

    }

    #contact-form-subject-field {
        grid-column: 1 / 3;
    }

    #contact-form-message-field {
        grid-column: 1 / 3;
    }

    #contact-form-submit-button-field {
        grid-column: 2 / 3;
    }
}

@media all and (min-width: 750px) {

    .contact-page-header-content__title {
        line-height: 3.25rem;
        font-size: 3.25rem;
    }

    .contact-page-header-content__title--big-font {
        line-height: 3.75rem;
        font-size: 3.75rem;
    }

    .contact-page-header-content__right {
        position: absolute;
        right: 0;
        bottom: -60px;
        z-index: 1;

        display: flex;
        flex-direction: row;
        flex: 0 1 auto;

        justify-content: flex-end;
        align-items: flex-end;

        height: 100%;
    }
    
}

@media all and (min-width: 960px) {
    #contact-page-header {
        padding: 0;
    }

    .contact-content-section  {
        padding: 0;
    }
    
    .contact-content-wrapper {
        padding: 60px 0;
    }

    .contact-content__content {
        flex-direction: row;
    }

    .contact-info-title {
        font-size: 3.5rem;
        line-height: 3.5rem;
    }

    .contact-info {
        flex: 0 1 50%;
        padding-right: 15px;
    }

    .contact-form-wrapper {
        flex: 0 1 50%;
        padding: 0 0 0 15px;
    }
}

@media all and (min-width: 1024px) {

}

