/*

Blue: #c4e6f8
Orange: #eaac82
Anthracite: #55504c

*/

@font-face {
    font-family: 'GillSansNovaHeavy';
    font-style: normal;
    font-display: swap;
    src: url(../fonts/GillSansNova-Heavy.woff2) format('woff2');
}

*, ::before, ::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Quicksand', 'Gill Sans', 'Gill Sans MT', 'Calibri', 'Trebuchet MS', sans-serif;
    background-color: #fff;
    font-size: 14pt;
}

h1, h2, h3, h4, h5 {
    font-family: 'GillSansNovaHeavy', sans-serif;
    font-weight: 500;
    margin-top: 3rem;

}

h1 {
    font-size: 32pt;
    color: #55504c;
}

h2 {
    font-size: 26pt;
    color: #55504c;
}

h3 {
    font-size: 18pt;
    color: #55504c;
}

h4 {
    font-size: 14pt;
    margin-top: .2em !important;
}

p {
    line-height: 1.7em;
}

ul {
    line-height: 1.7em;
}

a {
    color: #55504c;
}

a:hover {
    color: #eaac82;
}

section {
    scroll-margin-top: 120px;
    margin-bottom: 5em;
}

div.wrapper {
    max-width: 1140px;
    margin: 0 auto;
}

div.two-columns {
    margin: 2em 0;
    column-count: 2;
    column-gap: 5em;


}

div.two-columns p {
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    break-inside: avoid-column;
}

.hide {
    display: none;
}

.text-center {
    text-align: center;
}

.float-left {
    float: left;
    margin-right: 2em;
}

.float-right {
    float: right;
    margin-left: 2em;
}

.full-width {
    width: 100%;
    object-fit: cover;
    height: auto;
    max-height: 25em;
}

img.float-left,
img.float-right {
    margin-bottom: 2em;
    height: auto;
    object-fit: contain;
}


iframe.google-map {
    width: 30em;
    height: 20em;
}

div.leaflet-map {
    height: 30em;
    max-width: 100%;
}

div.leaflet-map.float-left,
div.leaflet-map.float-right {
    width: 50%;
}

div.leaflet-map.full-width {
    width: 100%;
}

div.iframe-container {
    position: relative;
}

div.iframe-overlay {
    position: absolute;
    top: 0;
    z-index: 1000;
}

/* HEADER *********************************************************************/

nav.main {
    background-color: #fff;
    position: sticky;
    top: 0;
    box-shadow: gray 0 0 10px;
    padding: .5em 1em;
    z-index: 1000;
}

nav.main .wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

nav.main a.logo {
    position: relative;
    transition: 500ms ease-in;
}

nav.main a.logo > img {
    width: 120px;
}

nav.main ul {
    display: flex;
    list-style: none;
    gap: 1em;
    margin: 0;
    padding: 0;
}

nav.main ul a {
    font-family: "GillSansNovaHeavy";
    color: #55504c;
    text-decoration: none;
    padding: .5em;
    font-weight: bold;
}

nav.main ul a.active,
nav.main ul a:hover {
    /* color: #eaac82; */
    border-bottom: 5px solid #c4e6f8;
    /* background-color: #c4e6f8; */
}



nav.main a.menu-collapse {
    display: none;
}


/* FOOTER *********************************************************************/

footer {
    /* background-color: #c4e6f8; */
    background-color: #eaac82;
    color: #55504c;
    padding: 5rem 0;
    overflow: auto;
}

footer div.wrapper {
    display: flex;
}

footer div.wrapper div {
    flex: 1;
}

footer div.wrapper div:nth-child(2) {
    text-align: center;
}

footer a {
    color: #55504c;
    text-decoration: none;
}

footer a:hover {
    color: black;
    text-decoration: underline;
    /* color: #eaac82; */
}

footer address {
    font-style: normal;
}

footer div.internal-links {
    font-size: 11pt;
}

footer div.external-links {
    text-align: right;
}

footer div.external-links ul {
    list-style: none;
    padding: 0;
}

footer div.external-links li {
    display: inline-block;
    margin: .5em;
}

footer div.external-links svg {
    width: 3em;
    height: 3em;
    margin: .5em;
}


/* PRODUCT LIST ***************************************************************/

#products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    grid-gap: 20px;
}

#products > figure {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

#products > figure a {
    line-height: 0;
}

#products > figure img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

#products > figure figcaption {
    display: none;
}

.pswp__custom-caption {
    /* background: rgba(75, 150, 75, 0.75); */
    font-size: 16px;
    color: #fff;
    width: calc(100% - 32px);
    max-width: 400px;
    padding: 2px 8px;
    border-radius: 4px;
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
}
.pswp__custom-caption a {
    color: #fff;
    text-decoration: underline;
}
.pswp__custom-caption span.price {
    margin-left: 1em;
    font-style: italic;
}

.hidden-caption-content {
    display: none;
}


/* MOBILE *********************************************************************/

@media (max-width: 768px) {
    div.wrapper {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    nav.main {
        padding: .5em 0;
    }

    nav.main .wrapper {
        flex-wrap: wrap;
    }

    nav.main a.menu-collapse {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
    }

    nav.main a.menu-collapse svg {
        width: 2rem;
        height: 2rem;
        fill: #55504c;
    }

    nav.main ul {
        order: 3;
        width: 100%;
        flex-direction: column;
        gap: 0;
        margin-top: .5rem;
        padding-top: .5rem;
        border-top: 1px solid #e5e5e5;
    }

    nav.main.collapse ul {
        display: none;
    }

    nav.main ul a {
        display: block;
        padding: .75em 0;
    }

    nav.main ul a.active,
    nav.main ul a:hover {
        border-bottom: none;
        border-left: 5px solid #c4e6f8;
        padding-left: .5em;
    }

    div.two-columns {
        column-count: 1;
        column-gap: 0;
    }

    .float-left,
    .float-right,
    img.float-left,
    img.float-right,
    div.leaflet-map.float-left,
    div.leaflet-map.float-right {
        float: none;
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    img.float-left,
    img.float-right {
        height: auto;
    }

    footer div.wrapper {
        display: block;
    }

    footer div.external-links {
        width: 100%;
        margin-top: 1rem;
        text-align: center;
    }
}
