/* ==========================================================================
   Fonts
   ========================================================================== */

/* Charter */
@font-face {
    font-family: 'Charter';
    src: url('../fonts/charter.woff2') format('woff2'),
         url('../fonts/charter.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Charter';
    src: url('../fonts/charter-italic.woff2') format('woff2'),
         url('../fonts/charter-italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Charter';
    src: url('../fonts/charter-bold.woff2') format('woff2'),
         url('../fonts/charter-bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

/* Lato */
@font-face {
    font-family: 'Lato';
    src: url('../fonts/lato.woff2') format('woff2'),
         url('../fonts/lato.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Lato';
    src: url('../fonts/lato-italic.woff2') format('woff2'),
         url('../fonts/lato-italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Lato';
    src: url('../fonts/lato-light.woff2') format('woff2'),
         url('../fonts/lato-light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Lato';
    src: url('../fonts/lato-bold.woff2') format('woff2'),
         url('../fonts/lato-bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}


/* ==========================================================================
   Base
   ========================================================================== */

body {
    margin: 0;
    font-family: Lato, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 18px;
    line-height: 1.4;
}

a img {
    border: none;
}

figure {
    margin: 0;
}

section {
    padding: 2em 8px;
}

section h2 {
    font-family: Charter, serif;
    font-size: 22px;
    text-transform: uppercase;
}

@media screen and (max-width: 959px) {
    section {
    }
}

/* Fallback section styles */
.section {
    background-color: #ccc5cb;
}

.section__title {
    /* Anchor for ::after */
    position: relative;
    margin-bottom: 2em;
    font-family: Charter, serif;
    text-align: center;
    text-transform: uppercase;
}

.section__title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -1em;
    width: 40px;
    height: 4px;
    margin-left: -20px;
    background-color: currentColor;
}

.section__wrapper {
    box-sizing: border-box;
    max-width: 1002px;
    margin: 0 auto;
    padding: 2em 200px 3em;
    background-color: white;
    color: #333;
}

.section__content h1 {
    font-weight: normal;
}

.section__content img {
    max-width: 100%;
}

@media screen and (max-width: 959px) {
    .section__wrapper {
        padding-left: 100px;
        padding-right: 100px;
    }
}

@media screen and (max-width: 719px) {
    .section__wrapper {
        padding-left: 32px;
        padding-right: 32px;
    }
}

@media screen and (max-width: 439px) {
    .section__wrapper {
        padding-left: 16px;
        padding-right: 16px;
    }
}

.js .image-wrapper {
    height: 500px;
}

@media screen and (max-width: 439px) {
    .js .image-wrapper {
        height: 250px;
    }
}

.expandable__button {
    padding: 0;
    border: none;
    background-color: transparent;
    color: currentcolor;
    font-size: 1em;
    text-decoration: underline;
    outline: none;
    cursor: pointer;
}
.expandable__button:hover {
    color: #555;
}

.expandable__button::after {
    /* Prevent this from getting underlined */
    position: absolute;
    content: "▾";
    margin-left: 0.25em;
    transition: transform 0.2s;
}
.expandable__button:hover::after {
    transform: translateY(4px);
}

.expandable__button--open::after {
    content: "▴";
}
.expandable__button--open:hover::after {
    transform: translateY(-4px);
}

.expandable--hidden {
    display: none;
}


/* ==========================================================================
   Up button
   ========================================================================== */

.up {
    position: fixed;
    right: 1em;
    bottom: 1em;
    padding: 0.5em 0.75em;
    /* Show above Fb feed */
    z-index: 1;
    border-radius: 3px;
    background-color: #35646b;
    color: white;
    text-decoration: none;
    /* Hidden initially */
    opacity: 0;
    pointer-events: none;
    transition: background-color 0.2s, opacity 0.2s;
}

.up:hover {
    background-color: #55848b;
}

.up--visible {
    opacity: 1;
    pointer-events: auto;
}


/* ==========================================================================
   Header
   ========================================================================== */

.header {
    background-color: #424143;
}

.header ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}


/* ==========================================================================
   Menu
   ========================================================================== */

.menu {
    text-transform: uppercase;
    font-weight: 300;
}

.menu ul {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
}

.menu a {
    position: relative;
    display: block;
    padding: 0.75em 0.75em;
    color: white;
    text-decoration: none;
    transition: background-color 0.2s;
}
.menu a:hover {
    background-color: #636163;
}
.menu a:active {
    background-color: #838183;
    /* Active transition happens immediately */
    transition: none;
}

.menu img {
    display: block;
}

@media screen and (max-width: 959px) {
    .menu {
        display: none;
    }
}


/* ==========================================================================
   Mobile menu
   ========================================================================== */

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

.mobile-menu__controls {
    display: -ms-flexbox;
    display: flex;
}

.mobile-menu__menu {
    display: none;
    text-transform: uppercase;
}

@media screen and (max-width: 959px) {
    .mobile-menu__menu {
        display: block;
    }
}

.mobile-menu a {
    display: block;
    padding: 0.75em 1em;
    color: white;
    text-decoration: none;
    transition: background-color 0.2s;
}
.mobile-menu a:hover {
    background-color: #636163;
}
.mobile-menu a:active {
    background-color: #838183;
    /* Active transition happens immediately */
    transition: none;
}

.js .mobile-menu__menu {
    display: none;
}

@media screen and (max-width: 959px) {
    .js .mobile-menu__menu--visible {
        display: block;
    }
}

.mobile-menu__button {
    display: none;
    -ms-flex: 1;
    flex: 1;
    margin: 0;
    padding: 0.75em 1em;
    border: none;
    background-color: #424143;
    color: white;
    font-size: 1em;
    text-align: center;
    outline: none;
    cursor: pointer;
    text-transform: uppercase;
}
.mobile-menu__button:hover {
    background-color: #636163;
}
.mobile-menu__button:active {
    background-color: #838183;
    /* Active transition happens immediately */
    transition: none;
}

.mobile-menu__icon {
    transition: transform 0.2s;
}

.mobile-menu__button--open .mobile-menu__icon {
    transform: rotate(0.25turn);
}

@media screen and (max-width: 959px) {
    .js .mobile-menu__button {
        display: block;
    }
}

/* Specificity */
a.mobile-menu__language {
    display: none;
}

@media screen and (max-width: 959px) {
    /* Specificity */
    a.mobile-menu__language {
        display: block;
    }

    .no-js .mobile-menu__language {
        box-sizing: border-box;
        width: 50%;
    }

    .js .mobile-menu__language {
    }
}


/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
    padding-bottom: 32px;
    background-image: url("../images/hero.jpg");
    background-position: center;
    background-size: cover;
    text-align: center;
}

.hero img {
    max-width: 100%;
    height: auto;
}

.hero h1 {
    margin-left: 16px;
    margin-right: 16px;
    margin-bottom: 12px;
    color: white;
    font-size: 28px;
    font-weight: 300;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero h2 {
    margin-left: 16px;
    margin-right: 16px;
    margin-top: 0;
    color: #04b79b;
    font-size: 22px;
    font-weight: normal;
}

@media screen and (max-width: 719px) {
    .hero h1 {
        font-size: 24px;
    }

    .hero h2 {
        font-size: 20px;
    }
}


/* ==========================================================================
   Handicraft
   ========================================================================== */

.handicraft {
    background-color: #bed4d6;
    color: #35646b;
}

.handicraft__products {
    max-width: 1002px;
    margin: 0 auto;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-pack: center;
    justify-content: center;
}

.handicraft__product {
    max-width: 334px;
    /* For some reason, this is needed for the page to display correctly in IE11 */
    flex-basis: 33.33%;
}

.handicraft__product img {
    display: block;
    max-width: 100%;
}

/* ==========================================================================
   Services
   ========================================================================== */

.services {
    background-color: #706f71;
    color: #dfdde2;
}


/* ==========================================================================
   About
   ========================================================================== */

.about {
    background-color: #ccc5cb;
    color: #61535f;
}


/* ==========================================================================
   Info
   ========================================================================== */

.info {
    background-color: #79aaad;
    color: #35646b;
}


/* ==========================================================================
   Contact
   ========================================================================== */

.contact {
    background-color: #706f71;
    color: #dfdde2;
}

iframe {
    max-width: 100%;
}

.some {
    display: inline-block;
}

.some img {
    height: 32px;
}

.fb_iframe_widget {
    /* Don't show on same line as SoMe icons */
    display: block !important;
    margin-top: 1em;
}


/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
    padding: 2em 0;
    background-color: #262627;
    color: #bbb;
    font-size: 16px;
    text-align: center;
}

.footer a {
    color: #a2d3ff;
}
