@font-face {
    font-family: 'HelveticaNeue';
    src: url('font/helveticaneueltstd-ltcn-webfont.woff') format('woff'),
    url('font/helveticaneueltstd-ltcn-webfont.ttf') format('truetype'),
    url('font/helveticaneueltstd-ltcn-webfont.svg#helveticaneueltstd-ltcn-webfont') format('svg');
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('font/RobotoCondensedRegular.woff') format('woff'),
    url('font/RobotoCondensedRegular.ttf') format('truetype'),
    url('font/RobotoCondensedRegular.eot?#iefix') format('embedded-opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('font/RobotoCondensedBold.woff') format('woff'),
    url('font/RobotoCondensedBold.ttf') format('truetype'),
    url('font/RobotoCondensedBold.eot?#iefix') format('embedded-opentype');
    font-weight: bold;
    font-style: normal;
}

body {
    margin: 0;
    display: flex;
    flex-direction: column;
    background: #ffe708;
    color: #000000;
    font-family: 'Helvetica Neue', Arial, Helvetica, Geneva, sans-serif;
}

header {
    display: block;
    height: 378px;
    background-image: url('/stil/bilder/grafik/top-bg-pat_EXP.png');
    background-repeat: repeat-x;
    background-position: top;
    overflow-x: hidden;
    z-index: 2;

    .logo-wrap {
        display: block;
        margin: 0 auto;
        width: 940px;

        img {
            display: block;
            margin: 50px auto 0;
            max-width: 100%;
        }
    }

    nav {
        display: flex;
        justify-content: center;

        ul {
            list-style: none;
            padding: 0;
            margin: 36px 0 0;
            display: flex;

            li {
                display: inline-block;
                margin: 0 15px;

                a, span {
                    text-decoration: none;
                    color: #2c0101;
                    font-family: 'Roboto', Arial, Helvetica, Geneva, sans-serif;
                    font-size: 18px;
                    font-weight: bold;
                    text-transform: uppercase;
                    letter-spacing: 0.05em;
                }

                &.current span {
                    cursor: default;
                    color: #e10f0f;
                }

                a:hover {
                    text-decoration: underline;
                    opacity: 0.8;
                }
            }
        }
    }
}

.main-content {
    position: relative;
    display: flex;
    margin-top: -70px;
    z-index: 1;
    justify-content: center;

    .inner-wrap {
        display: flex;
        background: #FFF;
        width: 90%;
        max-width: 980px;
        position: relative;
        padding: 35px 0 100px;
        border-right: #ea112b 13px solid;
        border-left: #ea112b 13px solid;
        border-bottom: #ea112b 13px solid;
        border-radius: 22px;
    }

    h2.content-header {
        font-size: 18px;
        color: #4d4517;
        font-weight: bold;
        font-family: 'Roboto', sans-serif;
        text-transform: uppercase;
        margin: 0 0 8px;
    }

    aside {
        flex-basis: 0;
        flex-grow: 2;
    }

    main {
        padding: 16px;
        flex-basis: 0;
        flex-grow: 5;

        .front-bottom {
            margin-top: 24px;
        }

        .content-wrap {
            h4 {
                font-size: 15px;
                margin: 4px 0 0;
            }
        }
    }
}

aside {
    width: 32%;
    max-width: 340px;
    padding: 12px;

    .aside-box {
        background: url('/stil/bilder/grafik/linedpaper-gul.jpg');
        height: auto;
        margin-bottom: 21px;
        padding: 14px;
        box-shadow: 1px 1px 5px #888888;

        h3 {

        }

        h4 {
            font-size: 13px;
            font-weight: bold;
            margin: 0 0 4px;
        }

        p, address {
            font-size: 12px;
            margin: 0;
            line-height: 17px;
            letter-spacing: 1px;
            font-style: normal;
        }
    }
}

main p {
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 0;
    margin-block-end: 0;
    margin-block-start: 0;
}

.kart-wrap #hitta-karta {
    height: 460px;
}

body.page_priser {
    main {
        .content-wrap:first-of-type {
            margin-bottom: 24px;
        }
    }
}

#wait_olay {
    &.hide {
        display: none;
    }
}

@media only screen and (max-width: 959px) {
    header {
        background-position: bottom;
        height: 250px;

        .logo-wrap {
            width: 748px;

            img {
                margin-top: 20px;
            }
        }
        nav {
            ul {
                margin: 20px 0 0;

                li {
                    margin: 0 10px;

                    a, span {
                        font-size: 16px;
                    }
                }
            }
        }
    }
}

footer {
    padding: 70px 0;
    height: auto;
    min-height: 100px;
    background: url('/stil/bilder/grafik/logo-footer.png') no-repeat center 50px,
        url('/stil/bilder/grafik/footer-dash.png') repeat-x 0 74px,
        url('/stil/bilder/grafik/footer-dash.png') repeat-x bottom 50px left,
        url('/stil/bilder/grafik/footer-bg-top.png') repeat-x top,
        url('/stil/bilder/grafik/footer-bg-bot.png') repeat-x bottom,
        url('/stil/bilder/grafik/footer-bg.png') repeat-x top 49px left padding-box;

    .footer-content {
        display: flex;
        padding-top: 42px;
        width: 90%;
        max-width: 980px;
        margin: 0 auto;

        h3, h4 {
            font-size: 13px;
            margin: 0 0 8px;
        }

        p {
            margin: 0;
        }

        .footer-column {
            font-size: 13px;
            flex: 1;

            ul {
                list-style: none;
                padding: 0;

                li.current {
                    color: #b54628;
                }

                li a {
                    color: #333;
                    text-decoration: none;

                    &:hover {
                        color: black;
                    }
                }
            }
        }

        #auto-grid {
            flex: 2;
            column-count: 2;

            &> .footer-item, &> .footer-item * {
                font-size: 13px;
                position: static;
            }


            h4 {
                margin-top: 12px;
                break-after: avoid-column;

                &:first-child {
                    margin-top: 0;
                }
            }
        }
    }
}

.bottom-pad {
    height: 80px;
    background-color: #F3DB08;
}
