@charset "UTF-8";

/*
Theme Name: Docs, Grønttorvet
Description: WordPress theme by BrandMonkey ApS
Author: BrandMonkey ApS
Author URI: http://www.brandmonkey.dk
Version: 1.0
*/


/* ############################################################################
WORDPRESS CORE
############################################################################ */

.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    max-width: 100%;
    padding: 0;
    background: transparent;
    border: 0;
    text-align: left;
}

.wp-caption img {
    width: 100%;
    max-width: 100%;
    height: auto;
}

.wp-caption p.wp-caption-text {
    margin-top: 8px;
    padding: 0;
    font-size: 1.2rem;
    line-height: 1.5;
    color: rgba(39, 57, 49, 0.65);
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    white-space: nowrap;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    background-color: #fff;
    clip: auto !important;
    color: #263a32;
    display: block;
    font-size: 14px;
    font-weight: 600;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px;
    top: 5px;
    width: auto;
    z-index: 100000;
}


/* ############################################################################
RESET / BODY
############################################################################ */

*,
*:before,
*:after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    font-family: "Open Sans", Arial, sans-serif;
    font-weight: 400;
    font-size: 1.6rem;
    line-height: 1.7;

    color: #263a32;
    background: #ffffff;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}


/* ############################################################################
TYPOGRAPHY
############################################################################ */

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    color: #263a32;
}

h1 {
    margin-bottom: 2.5rem;

    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(4.2rem, 6vw, 7.2rem);
    line-height: 1.05;
    font-weight: 500;
    letter-spacing: -0.03em;
}

#headline h1 {
    margin-bottom: 1.5rem;

    font-size: clamp(4.8rem, 7vw, 8rem);
    color: #ffffff;

    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

h2 {
    margin-bottom: 2rem;

    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(3.2rem, 4vw, 5rem);
    line-height: 1.15;
    font-weight: 500;
    letter-spacing: -0.02em;

    text-transform: none;
}

#headline h2 {
    max-width: 750px;
    margin: 0 auto;

    font-family: "Open Sans", Arial, sans-serif;
    font-size: clamp(1.8rem, 2vw, 2.4rem);
    line-height: 1.5;
    font-weight: 400;
    letter-spacing: 0;

    color: #ffffff;
}

h3 {
    margin-bottom: 1.5rem;

    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2.4rem, 3vw, 3.2rem);
    line-height: 1.25;
    font-weight: 500;
    letter-spacing: -0.01em;

    color: #263a32;
}

h4 {
    margin-bottom: 1.2rem;
    font-size: 2rem;
    line-height: 1.4;
    font-weight: 600;
}

p {
    margin-top: 0;
    margin-bottom: 2.4rem;
}

p:last-child {
    margin-bottom: 0;
}

strong,
b {
    font-weight: 700;
}


/* ############################################################################
LINKS
############################################################################ */

a {
    color: #263a32;
    text-decoration: none;

    transition:
        color 0.2s ease,
        opacity 0.2s ease;
}

a:hover {
    color: #6f8177;
}


/* ############################################################################
LAYOUT
############################################################################ */

section#content {
    padding: 110px 0;
}

section#content p {
    max-width: 760px;
}


/* ############################################################################
HEADER / HERO
############################################################################ */

header {
    position: relative;

    width: 100%;
    min-height: 420px;
    height: 50vh;
    max-height: 920px;

    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

header.subpage {
    width: 100%;
    min-height: 320px;
    height: 32vh;

    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

header .overlay {
    position: relative;

    width: 100%;
    height: 100%;

    background:
        linear-gradient(
            180deg,
            rgba(16, 35, 27, 0.20) 0%,
            rgba(16, 35, 27, 0.34) 100%
        );
}

header .overlay #headline {
    position: absolute;

    top: 50%;
    left: 50%;

    width: calc(100% - 40px);
    max-width: 1050px;

    transform: translate(-50%, -50%);

    text-align: center;
}


/* ############################################################################
NAVIGATION
############################################################################ */

.menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.menu li {
    margin: 0;
}


/* DESKTOP */

@media (min-width: 768px) {

    .nav {
        display: block !important;
    }

    .menu li {
        position: relative;
    }

    .menu li a {
        position: relative;
        display: inline-block;

        padding: 8px 0;

        color: #263a32;

        font-size: 1.4rem;
        font-weight: 500;
        letter-spacing: 0.01em;

        transition:
            color 0.2s ease,
            opacity 0.2s ease;
    }

    .menu li a:hover {
        color: #77887e;
    }

    .menu > li.current-menu-item > a,
    .menu ul ul li.current-menu-item > a {
        color: #263a32;
        font-weight: 600;
    }

    .menu > li.current-menu-item > a:after {
        content: "";

        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;

        height: 1px;

        background: #263a32;
    }
}


/*
OLD VERTICAL MENU STRUCTURE
*/

.menu > ul > li {
    padding: 1.6rem 0;
    margin: 0;

    border-bottom: 1px solid rgba(38, 58, 50, 0.13);
}

.menu ul ul {
    display: none;

    margin: 0.8rem 0 0.8rem 1.8rem;
}

.menu ul ul ul {
    display: block;
}

li.current-menu-item ul,
li.current-menu-parent ul,
li.current-menu-ancestor ul {
    display: block;
}


/* ############################################################################
MOBILE NAV BUTTON
############################################################################ */

nav.mobile {
    display: none;
}

#nav-icon3 {
    position: relative;

    width: 32px;
    height: 24px;

    margin: 0;

    cursor: pointer;

    transform: rotate(0deg);

    transition: 0.4s ease-in-out;
}

#nav-icon3 span {
    display: block;
    position: absolute;

    left: 0;

    width: 100%;
    height: 2px;

    background: #263a32;

    opacity: 1;

    transform: rotate(0deg);

    transition: 0.25s ease-in-out;
}

#nav-icon3 span:nth-child(1) {
    top: 2px;
}

#nav-icon3 span:nth-child(2),
#nav-icon3 span:nth-child(3) {
    top: 11px;
}

#nav-icon3 span:nth-child(4) {
    top: 20px;
}

#nav-icon3.open span:nth-child(1) {
    top: 11px;
    width: 0;
    left: 50%;
}

#nav-icon3.open span:nth-child(2) {
    transform: rotate(45deg);
}

#nav-icon3.open span:nth-child(3) {
    transform: rotate(-45deg);
}

#nav-icon3.open span:nth-child(4) {
    top: 11px;
    width: 0;
    left: 50%;
}


/* ############################################################################
ARROWS
############################################################################ */

span.arrow {
    position: absolute;

    width: 35px;
    height: 30px;

    right: 20px;
    top: 8px;

    background-image: url(images/icon-down-arrow-green.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 12px;

    cursor: pointer;
}

span.arrow.up {
    background-image: url(images/icon-up-arrow-green.png);
}


/* ############################################################################
MOBILE NAVIGATION
############################################################################ */

@media (max-width: 767px) {

    .menu ul {
        margin: 0;
    }

    nav.mobile {
        display: flex;
        align-items: center;
        justify-content: center;

        position: absolute;
        top: 18px;
        right: 18px;

        width: 52px;
        height: 52px;

        padding: 10px;

        background: #ffffff;

        z-index: 1001;
    }

    .nav {
        min-height: 100vh;

        padding: 100px 30px 50px;

        background: #263a32;
    }

    .nav li {
        position: relative;

        margin: 0;
        padding: 16px 0;

        border-bottom: 1px solid rgba(255,255,255,0.18);
    }

    .nav li:last-child {
        border-bottom: none;
    }

    .nav li a {
        color: #ffffff;

        font-size: 1.7rem;
        line-height: 1.4;
    }

    .nav ul ul {
        margin: 10px 0 0 16px;
    }

    .nav ul ul li {
        padding: 8px 0;

        border-bottom: none;
    }

    .nav ul ul ul {
        display: block;
    }

    .four.columns.menu {
        position: fixed;

        top: 0;
        right: 0;

        width: 100%;
        height: 100%;

        overflow-y: auto;

        z-index: 1000;
    }

    span.arrow {
        top: 14px;
        right: 0;

        background-image: url(images/icon-down-arrow.png);
    }

    span.arrow.up {
        background-image: url(images/icon-up-arrow.png);
    }
}


/* ############################################################################
CONTENT
############################################################################ */

section#content {
    background: #ffffff;
}


/* OPTIONAL LIGHT SECTION */

.section-light {
    padding: 100px 0;
    background: #f2f1eb;
}


/* OPTIONAL GREEN SECTION */

.section-green {
    padding: 100px 0;

    background: #263a32;
    color: #ffffff;
}

.section-green h1,
.section-green h2,
.section-green h3,
.section-green h4,
.section-green p,
.section-green a {
    color: #ffffff;
}


/* ############################################################################
BUTTONS
############################################################################ */

.button,
a.button,
button,
input[type="submit"] {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 54px;

    padding: 14px 30px;

    border: 1px solid #263a32;
    border-radius: 0;

    background: #263a32;
    color: #ffffff;

    font-family: "Open Sans", Arial, sans-serif;
    font-size: 1.4rem;
    line-height: 1.2;
    font-weight: 600;

    text-decoration: none;

    cursor: pointer;

    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease;
}

.button:hover,
a.button:hover,
button:hover,
input[type="submit"]:hover {
    background: transparent;
    color: #263a32;
}


/* WHITE BUTTON */

.section-green .button,
header .button {
    border-color: #ffffff;

    background: #ffffff;
    color: #263a32;
}

.section-green .button:hover,
header .button:hover {
    background: transparent;
    color: #ffffff;
}


/* ############################################################################
IMAGES
############################################################################ */

img {
    max-width: 100%;
    height: auto;
}


/* ############################################################################
MOBILE
############################################################################ */

@media (max-width: 767px) {

    body {
        font-size: 1.5rem;
        line-height: 1.65;
    }

    header {
        min-height: 580px;
        height: 78vh;
    }

    header.subpage {
        min-height: 280px;
        height: 38vh;
    }

    #headline h1 {
        font-size: 4.2rem;
    }

    #headline h2 {
        font-size: 1.7rem;
    }

    h1 {
        font-size: 4rem;
    }

    h2 {
        font-size: 3.2rem;
    }

    h3 {
        font-size: 2.5rem;
    }

    section#content,
    .section-light,
    .section-green {
        padding: 65px 0;
    }
}


/* ############################################################################
LARGE SCREENS
############################################################################ */

@media (min-width: 1400px) {

    header {
        min-height: 780px;
    }

    section#content {
        padding-top: 130px;
        padding-bottom: 130px;
    }
}