@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: normal;
    font-display: swap;
    src: url(fonts/montserrat/montserrat-v25-latin-regular.woff2) format('woff2');
}

/*@font-face {*/
/*    font-family: 'Montserrat';*/
/*    font-style: normal;*/
/*    font-weight: bold;*/
/*    font-display: swap;*/
/*    src: url(fonts/montserrat/montserrat-v25-latin-700.woff2) format('woff2');*/
/*}*/

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(fonts/montserrat/montserrat-v25-latin-500.woff2) format('woff2');
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: bold;
    font-display: swap;
    src: url(fonts/montserrat/montserrat-v25-latin-600.woff2) format('woff2');
}

@font-face {
    font-family: 'Comforter';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/comforter/comforter-v5-latin-regular.woff2') format('woff2');
}



.main-header larger {
    background: top center url(images/main-header.png);
}

a:hover {
    cursor: pointer;
}

.hidden {
    display: none;
}

:root {
    --primary-color: #BEBEBE;
    --secondary-color: #6F6F6F;
    --container-width: 1200px;

    --nav-diagonal-width: 260px;
}

@media only screen and (max-width: 1250px) {
    :root {
        --container-width: 1000px;
    }
}

@media only screen and (max-width: 1050px) {
    :root {
        --container-width: 800px;
    }
}

@media only screen and (max-width: 850px) {
    :root {
        --container-width: 100%;
    }

    .container {
        padding: 0 2rem;
    }
}

* {
    box-sizing: border-box;
}

.neos-contentcollection > .text {
    margin: 5%;
}

.neos-contentcollection form {
    margin-left: 4%;
}

.content img {
    width: 100%;
    display: block;
}

body {
    padding: 0;
    margin: 0;
    font-family: Montserrat, sans-serif;
    color: #303030;
    margin-top: 6em;
}

.container {
    width: var(--container-width);
    margin: auto;
}

h2 {
    color: var(--secondary-color);
    font-size: 3rem;
    margin: 0 0 1.5rem 0;
    text-transform: uppercase;
    word-wrap: break-word;
    overflow-wrap: break-word;

    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
}

h2 p {
    line-height: 1em;
}

/*padding*/
.small {
    padding: 0 1em;
}
.medium {
    padding: 0 2em;
}
.big {
    padding: 0 4em;
}

@media only screen and (max-width: 850px) {
    h2 {
        font-size: 2rem;
    }
}

h3 {
    color: #606060;
    font-size: 1.8rem;
    margin: 0 0 1.5rem 0;
    text-transform: uppercase;
    word-wrap: break-word;
    overflow-wrap: break-word;

    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
}

@media only screen and (max-width: 850px) {
    h3 {
        font-size: 1.5rem;
    }
}

.headline-caption {
    display: inline-block;
    color: #303030;
    font-size: 1.4rem;
    margin: -1.5rem 0 1rem 0;
}

p {
    margin: 1.5rem 0;
    line-height: 1.5rem;
}

a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: bold;
}

a:hover {
    color: var(--primary-color);
}

button {
    background: var(--secondary-color);
    color: white;
    border: 0;
    font-family: Montserrat, sans-serif;
    font-size: 1.1rem;
    padding: 1rem 1.5rem;
    cursor: pointer;
}

button:hover {
    background: var(--primary-color);
}

.pt-4 {
    padding-top: 3.5rem;
}

.py-4 {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}

.mb-5 {
    margin-bottom: 5rem;
}

.my-4 {
    margin-top: 4rem;
    margin-bottom: 4rem;
}

.column.text-left {
    text-align: left;
}

.column.text-right {
    text-align: right;
}

.column {
    text-align: center;
}

.cols-1 {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.cols-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cols-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cols-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.col-span-2 {
    grid-column:span 2 / span 2
}

@media only screen and (max-width: 850px) {
    .cols-2, .cols-3, .cols-4 {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .col-span-2 {
        grid-column: unset;
    }
}

.gap-8 {
    gap: 2rem
}

section {
    display: inline-block;
    width: 100%;
}

div.input {
    margin: 0.5em 0 1em 0;
}

div.input input,
div.input textarea {
    border: 2px solid rgb(192, 192, 192);
    font-size: 1.2rem;
    width: 50vw;
    color: #606060;
    font-family: Montserrat, sans-serif;
    padding: 0.9rem 1.2rem;
}

form fieldset {
    border: none;
}

.form-navigation ul {
    padding-inline-start: 0.75em;
}

.form-navigation ul li {
    list-style: none;
}

div.headline {
    color: var(--secondary-color);
    font-size: 3rem;
    margin: 0 0 1.5rem 0;
    text-transform: uppercase;
    word-wrap: break-word;
    overflow-wrap: break-word;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
    font-weight: 700;
}

.neos-contentcollection > div.headline {
    margin-left: 2em;
}

/* -------------------------------------- Navigation -------------------------------------- */

@keyframes slideIn {
    from {
        transform: translateX(-100%);
        /* top left, top right, bottom right, bottom left  */
        clip-path: polygon(0 0, 0 0, calc(100% - 20px) 0, 0% 100%);
    }

    to {
        transform: translateX(0);
        /* top left, top right, bottom right, bottom left  */
        clip-path: polygon(0 0, calc(100% - var(--nav-diagonal-width)) 0, calc(100% - 20px) 100%, 0% 100%);
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        /* top left, top right, bottom right, bottom left  */
        clip-path: polygon(0 0, calc(100% - var(--nav-diagonal-width)) 0, calc(100% - 20px) 100%, 0% 100%);
    }

    to {
        transform: translateX(-100%);
        /* top left, top right, bottom right, bottom left  */
        clip-path: polygon(0 0, 0 0, calc(100% - 20px) 0, 0% 100%);
    }
}

.main-nav {
    position: fixed;
    z-index: 1000;
    height: 100vh;
    overflow-y: scroll;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    transform: translateX(-100%);
    /* top left, top right, bottom right, bottom left  */
    clip-path: polygon(0 0, calc(100% - var(--nav-diagonal-width)) 0, calc(100% - 20px) 100%, 0% 100%);
}

.main-nav.closed {
    animation: slideOut ease-out 500ms;
}

.main-nav.opened {
    display: block;
    transform: translateX(0);
    animation: slideIn ease-out 500ms;
}

.main-nav .nav-top-bar {
    display: flex;
    padding: 2rem;
}

.main-nav .nav-top-bar .social-media {
    font-size: 2.5rem;
    display: flex;
    color: rgb(255, 255, 255, 0.5);
}

.main-nav .nav-top-bar .social-media i {
    transition: all 400ms;
    color: #fff;
}

.main-nav .nav-top-bar .social-media i:hover {
    cursor: pointer;
    color: var(--primary-color);
}

.main-nav .nav-top-bar .social-media i {
    margin-right: 1rem;
}

.main-nav .nav-top-bar .close-button {
    margin-left: auto;
    color: white;
    cursor: pointer;
    transition: all 300ms;
}

.main-nav .nav-top-bar .close-button:hover {
    color: var(--primary-color);
}

.main-nav .nav-top-bar .close-button svg {
    width: 20px;
}

.nav-container {
    min-width: 450px;
    min-height: 100vh;
    margin-right: var(--nav-diagonal-width);
    display: flex;
    flex-direction: column;
}

.main-nav .links {
    /*margin-top: auto;*/
    padding: 4rem 6rem;
}

.main-nav .links ul {
    display: flex;
    flex-direction: column;
    list-style: none;
    padding: 0;
    align-items: flex-start;
}

.main-nav .links ul li.default a {
    display: block;
    font-size: 2.2rem;
    text-transform: uppercase;
    text-decoration: none;
    color: white;
}

.main-nav .links ul li.default a {
    /*padding: 0.5rem 0;*/
    margin: 1rem 0;
    border-bottom: 4px solid rgba(0, 0, 0, 0);
    transition: all 400ms;
}

.main-nav .links ul li.default.navigation-item--state-current a {
    color: var(--primary-color);
    font-weight: bold;
    border-bottom: 4px solid var(--primary-color);
}

.main-nav .links ul li.default:hover a {
    border-bottom: 4px solid var(--primary-color);
}

.main-nav .links ul li.featured {
    margin: 2.5rem 0;
}

.main-nav .links ul li.featured a {
    color: white;
    background: var(--primary-color);
    padding: 1rem 2rem;
    text-decoration: none;
    font-size: 1.8rem;
}

.main-nav .links ul li.featured:hover a {
    background: var(--secondary-color);
}

@media screen and (max-height: 1100px)  {
    .nav-container {
        min-width: 325px;
    }

    .main-nav .links {
        padding: 2rem 3rem;
        margin-top: unset;
    }

    .main-nav .links ul li.default a {
        font-size: 1.5rem;
    }

    .main-nav .links ul li.featured a {
        font-size: 1.3rem;
    }
}

@media screen and (max-width: 900px)  {
    .main-nav .links {
        padding: 2rem 3rem;
        margin-top: unset;
    }
}

@media only screen and (max-width: 900px) {
    .nav-container {
        min-width: 325px;
    }

    .main-nav .links {
        padding: 2rem 3rem;
    }

    .main-nav .links ul li.default a {
        font-size: 1.5rem;
    }

    .main-nav .links ul li.featured a {
        font-size: 1.3rem;
    }
}

@media only screen and (max-width: 700px) {
    :root {
        --nav-diagonal-width: 100px;
    }
}

@media only screen and (max-width: 550px) {
    :root {
        --nav-diagonal-width: 0;
    }

    .main-nav {
        clip-path: none;
        width: 100%;
    }

    .nav-container {
        min-width: 100%;
        margin-right: 0;
    }

    .main-nav .links {
        padding: 1.5rem 2rem;
    }

    .main-nav .links ul li.default a {
        font-size: 1.3rem;
    }

    .main-nav .links ul li.featured a {
        font-size: 1.1rem;
    }

    .main-nav .links ul li.default a {
        padding: 0.1rem 0;
        margin: 0.5rem 0;
    }

    .main-nav.closed {
        animation: none;
    }

    .main-nav.opened {
        display: block;
        transform: translateX(0);
        animation: none;
    }
    .content-next-to-image .image {
        min-height: 300px !important;
        order: 2;
        margin-top: 3rem;
    }
}

/* -------------------------------------- Top Bar -------------------------------------- */

.top-bar {
    background: white;
    padding: 1rem 0;
    box-shadow: 5px 5px 10px rgba(111, 111, 111, 0.2);
    position: fixed;
    z-index: 200;
    width: 100%;
    top: 0;
}

.top-bar-container {
    display: flex;
    align-items: center;
}

.top-bar .logo {
    height: 80px;
}

.top-bar .action-buttons {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.top-bar .action-buttons-mobile {
    display: flex;
    align-items: center;
    margin-left: auto;
    display: none;
}

.top-bar .action-buttons-mobile a {
    text-align: center;
    padding: 0;
}

.top-bar .icon-box {
    color: var(--secondary-color);
    background: #eee;
    margin: 0 0.4rem;
    height: 35px;
    width: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.top-bar .icon-box:hover {
    background: var(--secondary-color);
    color: white;
}

.top-bar .action-button {
    background: var(--secondary-color);
    color: white;
    height: 35px;
    padding: 0 1rem;
    margin: 0 0.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.top-bar .action-button:hover {
    background: var(--primary-color);
}

.action-button {
    background: var(--secondary-color);
    color: white;
    height: 35px;
    padding: 0 1rem;
    margin: 0 0.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    width: fit-content;
}

.action-button:hover {
    background: var(--primary-color);
}

.action-button-backend {
    background: var(--secondary-color);
    color: white;
    height: 35px;
    padding: 0 1rem;
    margin: 0 0.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-bar .menu-bars {
    display: flex;
    justify-content: center;
    margin-left: 2rem;
    cursor: pointer;
}

.top-bar .menu-bars svg {
    height: 20px;
    color: var(--secondary-color);
    transition: color 200ms;
}

.top-bar .menu-bars:hover svg {
    color: var(--primary-color);
}

@media only screen and (max-width: 850px) {
    .top-bar .action-buttons {
        display: none;
    }
    .top-bar .action-buttons-mobile {
        display: flex;
    }

    .top-bar .menu-bars {
        margin-left: auto;
    }

    .top-bar .container {
        padding: 5px;
    }
}

/* -------------------------------------- Header -------------------------------------- */

header.main-header {
    width: 100%;
    background-size: cover!important;
    height: 45vh;
    min-height: 400px;
}

header.main-header.larger {
    height: 75vh;
    min-height: 800px;
}

header.main-header .main-header-container {
    display: flex;
    flex-direction: column;
    height: 45vh;
    min-height: 400px;
}

header.main-header.larger .main-header-container {
    height: 75vh;
    min-height: 800px;
}

header.main-header .header-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: auto;
    margin-bottom: 10vh;
}

header.main-header h1{
    background: rgba(111, 111, 111, 0.8);
    padding: 1rem 1.5rem;
    color: white;
    margin: 0 0 1rem 0;
    text-transform: uppercase;
    font-size: 4rem;
}

header.main-header .sub-headline {
    display: inline-block;
    background: rgba(111, 111, 111, 0.8);
    padding: 1rem 1.5rem;
    color: white;
    margin: 0;
    font-size: 1.5rem;
}
header.main-header p {
    padding: 0;
    margin: 0;
    display: inline-block;
}

@media only screen and (max-width: 850px) {
    header.main-header h1 {
        font-size: 3rem;
    }
}

@media only screen and (max-width: 600px) {
    header.main-header {
        min-height: 180px;
        height: auto;
    }

    header.main-header .main-header-container {
        min-height: 180px;
        height: auto;
    }

    header.main-header.larger .main-header-container {
        min-height: 500px;
    }

    header.main-header.larger {
        min-height: 500px;
    }

    header.main-header h1 {
        font-size: 1.8rem;
    }

    header.main-header p {
        font-size: 1.1rem;
    }
}

/* --------------------------------- Content next to image --------------------------------- */

.content-next-to-image {
    display: flex;
    width: 100%;
}

.content-next-to-image .image {
    flex: 1 50%;
    background-size: cover!important;
}

.content-next-to-image .image img {
    width: 100%;
}

.content-next-to-image .content {
    flex: 1 50%;
}

.content-next-to-image .content-container {
    width: calc(var(--container-width) / 2);
    padding: 3rem 0 3rem 3rem;
}

.content-next-to-image.in-container .content-container {
    width: 100%;
    padding: 3rem 0 3rem 3rem;
}

.content-next-to-image.in-container .container {
    display: flex;
}

.content-next-to-image.text-left .image {
    order: 2;
}

.content-next-to-image.text-left .content-container {
    order: 1;
    padding: 3rem 3rem 3rem 0;
    margin-left: auto;
}

@media only screen and (max-width: 1000px) {
    .content-next-to-image, .content-next-to-image .container {
        flex-direction: column;
    }

    .content-next-to-image .image {
        flex: 1 100%;
    }

    .content-next-to-image .content {
        width: var(--container-width);
        margin: auto;
    }

    .content-next-to-image .content-container,
    .content-next-to-image.text-left .content-container{
        width: 100%;
        padding: 0 2rem;
    }

    .content-next-to-image.in-container .content-container {
        width: 100%;
        padding: 0 2rem;
    }

    .content-next-to-image .image {
        min-height: 400px;
        order: 2;
        margin-top: 3rem;
    }
}

/* -------------------------------------- Text Divider -------------------------------------- */
.text-divider svg {
    fill: #d0d0d0;
}

.text-divider {
    font-family: Comforter, sans-serif;
    margin: 0rem 0 -20rem 0;
    position: relative;
    z-index: -1;
    /*color: #d0d0d0;*/
	color: rgb(111,111,111);
    text-align: center;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
	letter-spacing:0.03em;
}

.text-divider.text-left {
    text-align: left;
}

.text-divider.text-right {
    text-align: right;
}

.text-divider p {
    display: inline-block;
}

/* -------------------------------------- Text on Image -------------------------------------- */

.text-on-image {
    background-size: cover!important;
}

/* -------------------------------------- Team Member -------------------------------------- */

.team-member {
    padding: 3rem 0;
}

.team-member.grayed {
    background: #F2F2F2;
}

.team-member .team-member-container {
    display: flex;
    align-items: center;
}

.team-member .person {
    height: 650px;
    margin-right: 4rem;
    width: auto;
}

.team-member h2{
    font-family: Comforter, sans-serif;
    text-transform: none;
    font-size: 6rem;
    font-weight: normal;
    margin: unset;
    line-height: unset;
}

.team-member .quote {
    font-size: 2rem;
    line-height: 3.3rem;
}

@media only screen and (max-width: 1300px) {
    .team-member h2 {
        font-size: 6rem;
    }

    .team-member .quote {
        font-size: 1.5rem;
        line-height: 2.3rem;
    }

    .team-member .person {
        margin-right: 3rem;
    }
}

@media only screen and (max-width: 1100px) {
    .team-member h2 {
        font-size: 5rem;
    }
}

@media only screen and (max-width: 850px) {
    .team-member .person {
        height: 450px;
        margin-right: 1rem;
    }

    .team-member h2 {
        font-size: 4rem;
    }

    .team-member .quote {
        font-size: 1.1rem;
        line-height: 1.7rem;
    }

    .team-member p {
        font-size: 0.8rem;
    }
}

@media only screen and (max-width: 600px) {
    .team-member .team-member-container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .team-member .person {
        width: auto;
        margin-right: 1rem;
    }

    .team-member h2 {
        font-size: 2.7rem;
    }

    .team-member .quote {
        font-size: 1.1rem;
        line-height: 1.7rem;
    }

    .team-member p {
        font-size: 0.8rem;
    }

    .top-bar .logo {
        height: 54px;
    }

    .text-divider {
        font-size: 3em;
    }
}

/* -------------------------------- Make an appointment ------------------------------- */

.make-an-appointment {
    background: #F2F2F2;
    text-align: center;
}

.appointment-container {
    padding: 4rem 0 0rem 0;
}

.make-an-appointment h2 {
    font-size: 5rem;
}

.make-an-appointment .together {
    font-family: Comforter, sans-serif;
    text-transform: none;
    font-size: 7rem;
    font-weight: normal;
    padding-left: 1rem;
}

.make-an-appointment button {
    transform: translateY(50%);
    font-size: 1.5rem;
}

@media only screen and (max-width: 850px) {
    .make-an-appointment h2 {
        font-size: 2.5rem;
    }

    .make-an-appointment .together {
        font-size: 3rem;
    }
}

@media only screen and (max-width: 600px) {
    .make-an-appointment h2 {
        font-size: 1.8rem;
    }

    .make-an-appointment .together {
        font-size: 2.2rem;
    }

    .text-divider {
        font-size: 3em !important;
    }

    .neos-contentcollection > div.headline {
        margin-left: 0.4em;
    }

    .bottom-bar ul {
        float: unset !important;
    }

    .top-bar .action-button {
        margin: 0 1rem;
        font-size: .8em;
        padding-left: 0.3em;
        padding-right: 0.3em;
    }
}

/* -------------------------------------- Footer -------------------------------------- */

footer.main-footer {
    color: white;
    background: #656565;
    padding: 3rem 0;
    font-size: 0.95rem;
}

footer.main-footer h4 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin: 0 0 1rem 0;
}

footer.main-footer p {
    margin: 0 0 1rem 0;
}

footer.main-footer a {
    color: var(--primary-color);
}

footer.main-footer a:hover {
    color: white;
}

footer.main-footer table td:first-child {
    padding-right: 1rem;
}
footer.main-footer table tbody tr td {
    min-width: 10px;
}

.bottom-bar {
    display: inline-block;
    width: 100%;
    background: black;
    padding: 2.5rem 0;
    font-size: 0.85rem;
    color: white;
}

.bottom-bar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    float: right;
}

.bottom-bar ul li {
    border-left: 1px solid #ccc;
    margin-left: 1rem;
    padding-left: 1rem;
}

.bottom-bar ul li:first-child {
    border-left: 0;
}

.bottom-bar ul li a {
    color: white;
    font-weight: normal;
}

.bottom-bar ul li a:hover {
    color: var(--primary-color);
}

@media only screen and (max-width: 800px) {
    .bottom-bar ul {
        flex-direction: column;
        align-items: flex-start;
        margin-top: 1rem;
    }

    .bottom-bar ul li {
        border-left: 0;
        margin: 0.2rem 0;
        padding-left: 0;
    }
}
