/* Matverksta'n */

/* Modal*/
@import url('https://cdnjs.cloudflare.com/ajax/libs/jquery-modal/0.9.1/jquery.modal.min.css');

/* ==========================================================================
Generellt 
========================================================================== */
:root {
    /* 	Layout  */
    --col-padding: 3rem;
    --menu-height: 7.2rem;
    --menu-height-scrolled: 7.2rem;
    --section-width: 150rem;

    /* 	Colors */
    --primary-color: 121, 43, 41;
    --primary-light-color: 165, 64, 62;

    --black-color: 0, 0, 0;
    --gray-dark-color: 67, 67, 67;
    --gray-light-color: 248, 248, 248;
    --white-color: 255, 255, 255;

    /* 	Typography */
    --base-size: 1.8rem;

    /* 	Mobile nav */
    --activate-mobile-menu: 1100;
    --mobile-menu-height: 6rem;
    --mobile-menu-bg: 255, 255, 255;
    --menu-color: var(--black-color)
}

/* Layout
========================================================================== */
.section-block {
    padding: 10rem 2rem;
}

/* Paddings */
.pt-0 .section-block {
    padding-top: 0;
}

.pt-2 {
    padding-top: 2rem;
}

/* Bredder */
.mw-none .section-block-wrapper {
    max-width: none;
}

@media only screen and (max-width: 980px) {

    /* Layouts */
    .layout-2 .col-0 {
        padding-bottom: 5rem;
    }
}


/* Text och typsnitt
========================================================================== */
body {
    font-family: "Roboto", sans-serif;
}

/* Rubriker */
.section-title {
    padding-bottom: 1.5rem;
    font-size: 4rem;
    font-weight: 400;
    font-family: 'Big Shoulders Text', cursive;
    color: rgb(var(--primary-color));
    letter-spacing: 1px;
    text-transform: uppercase;
}

.small-title {
    padding-bottom: 1rem;
    font-size: 2.8rem;
    font-weight: 400;
    font-family: 'Big Shoulders Text', cursive;
    color: rgb(var(--primary-color));
    letter-spacing: 1px;
}

/* Brodtext och lankar */
p {
    font-weight: 300;
}

a {
    color: rgb(var(--primary-color));
    text-decoration: none;
}

/* Ovriga klasser */
.text-block {
    max-width: 80rem;
}

.text-block-center {
    max-width: 90rem;
    margin-left: auto;
    margin-right: auto;
}

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

.text-underline {
    text-decoration: underline;
}

@media only screen and (max-width: 580px) {
    .section-title {
        font-size: 3.5rem;
    }
}

/* Knappar och speciella länkar
========================================================================== */
.btn-wrapper {
    margin-top: 2rem;
}

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

/* Knappar */
.btn,
.menu-controller .btn {
    margin: .5rem;
    padding: 1.2rem 4rem;
    font-size: 1.5rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 5rem;
    transition: .2s ease;
}

.btn-primary-filled,
.menu-controller .btn {
    color: rgb(var(--white-color));
    background: rgb(var(--primary-color));
}

.btn-primary-filled:hover {
    background: rgb(var(--primary-light-color));
}

/* Farger
========================================================================== */
/* Bakgrunder */
.bg-gray-light {
    background: rgb(var(--gray-light-color));
}

.bg-overlay {
    background: rgba(var(--black-color), .4)
}

/* Texter */
.text-white {
    color: rgb(var(--white-color));
}

.text-primary {
    color: rgb(var(--primary-color));
}

/* Bakgrundsbild
========================================================================== */
.bg-image {
    position: relative;
    margin-top: calc((-1 * var(--menu-height)) - 4rem);
}

.bg-image-wrapper {
    z-index: -1;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Split wrapper
========================================================================== */
.split-wrapper {
    display: flex;
    flex-wrap: wrap;
}

.split-wrapper.reverse {
    flex-direction: row-reverse;
}

.split-content {
    width: 50%;
    padding: 5rem;
}

.split-image {
    width: 50%;
}

/* Centrera content */
.split-wrapper .align-center {
    align-self: center;
}

/* Iframe i split */
.split-iframe {
    width: 50%;
    min-height: 50rem;
}

.split-iframe iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media screen and (max-width: 1100px) {
    .split-content {
        width: 100%;
    }

    .split-image,
    .split-iframe {
        width: 100%;
        min-height: 20rem;
    }
}

@media screen and (max-width: 580px) {
    .split-wrapper {
        background: transparent;
    }

    .split-content {
        padding: 0 0 3rem 0;
    }
}

/* Cards
========================================================================== */
.cards-wrapper {
    display: flex;
    flex-wrap: wrap;
}

.cards-wrapper.justify-center {
    justify-content: center;
}

/* Bredder */
.cards-wrapper.w-100 .card-item {
    width: 100%;
    margin: 1rem;
}

.cards-wrapper.w-33 .card-item {
    width: calc((100% / 3) - 3rem);
    margin: 1.5rem;
}

@media only screen and (max-width: 980px) {
    .cards-wrapper.w-33 .card-item {
        width: calc((100% / 2) - 3rem);
    }
}

@media only screen and (max-width: 650px) {
    .cards-wrapper.w-33 .card-item {
        width: 100%;
        margin: 1rem 0;
    }
}

/* Cards 7 */
.cards-7 .card-item {
    border-radius: .8rem;
    box-shadow: rgb(var(--black-color), .1);
    background: rgb(var(--white-color));
    overflow: hidden;
}

.cards-7 .image-wrapper {
    height: 25rem;
}

.cards-7 .text-wrapper {
    padding: 2rem;
}

.cards-7 p {
    font-size: 1.7rem;
}

/* Cards 14 */
.cards-14 {
    max-width: 50rem;
}

.cards-14 .card-item {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
    padding: 2rem;
    transition: all .3s ease;
}

/* Modal som öppnas automatiskt
========================================================================== */
body:not(.EditMode) .section-auto-modal {
    display: none;
    z-index: 9;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(var(--black-color), .7);
}

body:not(.EditMode) .section-auto-modal .section-block {
    position: fixed;
    top: 50%;
    left: 50%;
    width: calc(100% - 4rem);
    max-width: 55rem;
    max-height: 75vh;
    padding: 4rem;
    border-radius: 0;
    overflow: auto;
    background: rgb(var(--white-color));
    transform: translate(-50%, -50%);
    outline: 1px solid rgb(var(--primary-color));
    outline-offset: -11px;
}

.section-auto-modal .close-modal {
    position: absolute;
    top: 1rem;
    right: 2rem;
    font-size: 3rem;
    cursor: pointer;
}

.section-auto-modal img {
    max-width: 30rem;
}

@media only screen and (max-width: 450px) {
    body:not(.EditMode) .section-auto-modal .section-block {
        padding: 3rem 2rem;
    }
}

/* Modal
========================================================================== */
.modal {
    max-width: 75rem;
    width: 100%;
    max-height: 75vh;
    padding: 4rem;
    border-radius: 0;
    box-shadow: none;
    overflow: auto;
}

.blocker {
    z-index: 100;
}

.modal a.close-modal {
    display: none;
}

.modal .custom-close-modal {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 3rem;
    color: rgb(var(--black-color));
}

@media only screen and (max-width: 450px) {
    .modal {
        padding: 3rem 2rem;
    }

    .blocker {
        padding: 1rem;
    }
}

/* Header / Navigation
========================================================================== */
/* Top header */
.top-header {
    width: 100%;
    border-bottom: 1px solid rgb(var(--white-color));
    overflow: hidden;
    transition: .3s ease;
    padding-right: 1rem;
}

header.scrolled .top-header,
.SubPage .top-header,
.active-menu .top-header {
    background-color: rgb(var(--primary-color));
}

.top-header ul {
    display: flex;
    justify-content: flex-end;
    padding: .2rem 2rem .3rem;
    margin: 0;
    list-style: none;
}

.top-header a {
    padding: 0 1rem 0 2rem;
    font-size: 1.2rem;
    color: rgb(var(--white-color));
}

.top-header i {
    margin-right: 1rem;
}

/* Header */
header {
    background-color: transparent;
    padding: 0;
}

header.scrolled,
.SubPage header {
    background-color: rgb(var(--white-color));
    box-shadow: 1px 1px 10px rgb(var(--black-color), .1);
}

/* Logo */
.header-logo {
    flex-basis: 0;
    flex: 1 1 0px;
    margin-left: 1rem;
}

.header-logo .small-title {
    font-size: 3.5rem;
    color: rgb(var(--white-color));
    text-transform: uppercase;
}

header.scrolled .header-logo .small-title,
.SubPage .header-logo .small-title,
header.active-menu .header-logo .small-title {
    color: rgb(var(--primary-color));
}

/* Nav */
.TemplateMenu a {
    font-size: 1.5rem;
    color: rgb(var(--white-color));
    letter-spacing: 1px;
}

header.scrolled .TemplateMenu a,
.SubPage .TemplateMenu a {
    color: rgb(var(--black-color));
}

/* CTA  */
.header-cta-wrapper {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-basis: 0;
    flex: 1 1 0px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.header-cta-wrapper .btn {
    min-width: unset;
    padding: 1rem 3rem;
    margin: 0 .5rem;
}

/* Mobilmeny */
.mobile-menu {
    height: auto;
    margin-right: 1rem;
}

.mobile-menu .hamburger {
    margin-right: 1rem;
}

.mobile-menu .TemplateMenu a {
    margin: 1rem 0;
    font-size: 2rem;
    color: rgb(var(--black-color));
    text-align: center;
}

@media only screen and (max-width:550px) {
    .header-cta-wrapper {
        display: none;
    }

    .top-header a {
        padding: 1rem;
    }
}

/* ==========================================================================
Startsida
========================================================================== */

/* Topsection
========================================================================== */
.topsection {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.topsection .section-block {
    width: 100%;
}

.topsection .section-title {
    font-size: 7rem;
}

.topsection .btn {
    padding: 1.7rem 4rem;
}

@media only screen and (max-width: 1100px) {
    .topsection .section-title {
        font-size: 5rem;
    }
}

@media only screen and (max-width: 650px) {
    .topsection .section-title {
        font-size: 3rem;
    }

    .topsection .btn {
        min-width: 25rem;
    }
}

/* Veckans lunch
========================================================================== */
.section-lunch {
    text-align: center;
}

.menu-background {
    height: 50rem;
    background-image: url(/assets/images/pasta.jpg);
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
}

#menu-content-wrapper #previous,
#menu-content-wrapper #next {
    display: none;
}

.menu-container {
    position: relative;
    max-width: 110rem;
    width: 90%;
    padding: 8rem 2rem;
    margin: -15rem auto 0 auto;
    background: rgb(var(--white-color));
    border: 2px solid rgb(var(--primary-color));
}

.menu-heading {
    padding-bottom: 3rem;
}

.menu-item {
    padding: 1rem 0;
}

.menu-item .small-title {
    font-size: 2.7rem;
}

.menu-item p {
    padding-bottom: 0;
}

/* Ladda ner */
.menu-pdf {
    padding: 5rem 0;
}

.menu-pdf a:hover {
    color: rgb(var(--primary-color));
    transition: .2s ease;
}

.menu-pdf i {
    margin-right: 1rem;
    font-size: 2rem;
    color: rgb(var(--primary-color));
}

/* Veckoknappar */
.menu-controller .btn {
    margin: 0 1rem;
}

@media only screen and (hover: none) {
    .menu-background {
        background-attachment: scroll;
        background-position: center center;
    }
}

@media only screen and (max-width: 750px) {
    .section-lunch .section-block {
        padding-left: 0;
        padding-right: 0;
    }

    .menu-container {
        width: 97%;
    }

    .menu-item {
        padding: 0;
    }

    .menu-item p {
        font-size: 1.6rem;
    }

    .menu-controller .btn {
        display: block;
        max-width: 20rem;
        margin: 1rem auto;
    }
}

/* Bilddivider
========================================================================== */
.section-images-divider .cards-wrapper.w-33 .card-item {
    width: calc((100% / 3) - 2rem);
    margin: 1rem;
}

@media only screen and (max-width: 580px) {
    .section-images-divider .cards-wrapper.w-33 .card-item {
        width: calc((100% / 2) - 1rem);
        margin: .5rem;
    }

    .section-images-divider .card-item:nth-child(1) {
        display: none;
    }
}

/* ==========================================================================
Undersidor
========================================================================== */

/* Hero
========================================================================== */
.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 55rem;
    padding-top: 12rem;
    background-color: rgba(var(--black-color), .6);
}

.hero .section-title,
.hero p {
    color: rgb(var(--white-color));
}

/* ==========================================================================
Footer
========================================================================== */
.footer {
    background: rgb(var(--primary-color));
}

.footer-container {
    padding: 0 2rem;
    margin: 0 auto;
}

/* Footer top */
.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 8rem 2rem 4rem 2rem;
    border-bottom: 1px solid rgb(var(--white-color));
}

.footer-menu {
    width: 20%;
    margin: 1.5rem 0;
}

.footer .small-title {
    font-size: 2rem;
    letter-spacing: normal;
    color: rgb(var(--white-color));
}

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

.footer li,
.footer p,
.footer a {
    font-size: 1.6rem;
    color: rgb(var(--white-color));
}

/* Footer bottom */
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
}

.footer-bottom p,
.footer-bottom a {
    padding: .5rem .2rem;
    font-size: 1.4rem;
    line-height: 1.6;
}

/* WebbEss Stamp  */
.footer .webbess-stamp {
    display: flex;
    align-items: center;
    font-size: 1.4rem;
    font-weight: 300;
}

.webbess-stamp img {
    width: 2.5rem;
    margin-left: 1rem;
    filter: invert();
}

@media only screen and (max-width: 1024px) {

    /* Footer top */
    .footer-menu {
        width: 48%;
    }
}

@media only screen and (max-width: 750px) {

    /* Footer top */
    .footer-menu {
        width: 100%;
    }

    /* Footer bottom */
    .footer-bottom {
        padding: 2rem 0;
    }
}

@media only screen and (max-width: 480px) {

    /* Footer top */
    .footer-top {
        padding: 8rem 0 4rem 0;
    }

    /* Footer bottom */
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-bottom p,
    .footer-bottom a:not(.circle-icon) {
        order: 2;
    }

    .footer-bottom .socials {
        order: 1;
        padding-bottom: 1rem;
    }
}