/* Ulls restaurang */

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

/* Typsnitt - Noto Sans + Square Peg */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,300;0,400;0,700;1,300&family=Square+Peg&display=swap');

/* Animationer */
@import url('https://unpkg.com/aos@2.3.1/dist/aos.css');

/* ==========================================================================
Generellt 
========================================================================== */
:root {
    /* 	Layout  */
    --col-padding: 3rem;
    --menu-height: 8rem;
    --menu-height-scrolled: 8rem;

    /* 	Colors */
    --primary-color: 74, 107, 73;
    --primary-dark-color: 44, 73, 43;
    --primary-light-color: 200, 208, 199;

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

    --accent-red-color: 177, 0, 28;

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

    /* 	Mobile nav */
    --activate-mobile-menu: 1000;
    --mobile-menu-height: 6rem;
}

/* Layout
========================================================================== */
.section-block {
    padding: 12rem 4rem;
}

.section-block-wrapper {
    max-width: 130rem;
}

/* Specifika paddings */
.py-10 {
    padding-top: 10rem;
    padding-bottom: 10rem;
}

.pt-0 .section-block,
.pt-0:not(.section-wrapper) {
    padding-top: 0;
}

.pb-0 .section-block,
.pb-0:not(.section-wrapper) {
    padding-bottom: 0;
}

.pb-2 .section-block,
.pb-2:not(.section-wrapper) {
    padding-bottom: 2rem;
}

.pb-5 .section-block,
.pb-5:not(.section-wrapper) {
    padding-bottom: 4rem;
}

.pl-2 .section-block,
.pl-2:not(.section-wrapper) {
    padding-left: 2rem;
}

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

@media only screen and (max-width: 1024px) {
    .section-block {
        padding: 11rem 4rem;
    }
}

@media only screen and (max-width: 580px) {
    .section-block {
        padding: 5rem 2rem;
    }
}

/* Text och typsnitt
========================================================================== */
body {
    font-family: 'Noto Sans', sans-serif;
}

/* Rubriker */
.section-title {
    font-size: 4.2rem;
    line-height: 1.3;
    font-weight: 600;
    padding-bottom: 1.5rem;
    color: rgb(var(--primary-color));
}

.small-title {
    font-size: 3.5rem;
    line-height: 1.4;
    font-weight: 300;
}

.text-label {
    font-size: 4rem;
    font-weight: 400;
    padding-bottom: .5rem;
}

/* Brödtext */
p, li {
    font-weight: 300;
}

li {
    padding-bottom: .5rem;
}

a {
    text-decoration: none;
    font-size: 1.7rem;
    color: inherit;
    font-weight: inherit;
}

/* Speciella fonter */
.text-handwritten {
    font-family: 'Square Peg', sans-serif;
    font-weight: 300;
}

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

.text-block-center {
    margin: 0 auto;
    max-width: 80rem;
}

.text-italic {
    font-style: italic;
}

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

.text-bold {
    font-weight: 700;
}

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

    .small-title {
        font-size: 2.2rem;
    }
}

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

    .section-title {
        font-size: 3rem;
    }

    .small-title {
        font-size: 2.2rem;
    }
}

/* Knappar och speciella lankar
========================================================================== */
.btn-wrapper {
    display: flex;
    flex-wrap: wrap;
    margin-top: 2rem;
}

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

/* Knappar */
.btn,
.ContactSubmit {
    min-width: 18rem;
    padding: 2rem;
    font-size: 1.4rem;
    font-weight: 500;
    text-align: center;
    -webkit-transition: all .4s ease;
    transition: all .4s ease;
}

.btn-primary-filled,
.btn-white-filled:hover,
.ContactSubmit,
.menu-controller .btn {
    background-color: rgb(var(--primary-color));
    border: 1px solid rgb(var(--primary-color));
    color: rgb(var(--white-color));
}

.btn-primary-filled:hover,
.ContactSubmit:hover,
.menu-controller .btn:hover {
    color: rgb(var(--white-color));
    background-color: rgb(var(--primary-dark-color));
    border: 1px solid rgb(var(--primary-dark-color));
}

.btn-primary-border {
    color: rgb(var(--primary-color));
    background-color: transparent;
    border: 1px solid rgb(var(--primary-color));
}

.btn-primary-border:hover {
    color: rgb(var(--white-color));
    background-color: rgb(var(--primary-color));
    border: 1px solid rgb(var(--primary-color));
}

.btn-white-filled {
    background-color: rgb(var(--white-color));
    border: 1px solid rgb(var(--white-color));
    color: rgb(var(--primary-color));
}

.btn-secondary-filled {
    color: rgb(var(--white-color));
    background-color: rgb(var(--secondary-color));
    border: 1px solid rgb(var(--secondary-color));
}

.btn-secondary-filled:hover {
    color: rgb(var(--white-color));
    background-color: rgb(var(--primary-color));
    border: 1px solid rgb(var(--primary-color));
}

/* Bouncing arrow */
.bouncing-arrow {
    position: absolute;
    left: 50%;
    bottom: 4rem;
    transform: translatex(-50%);
    animation: bounce 2s infinite;
}

.bouncing-arrow i {
    color: rgb(var(--white-color));
    font-size: 4rem;
    font-weight: 500;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-30px);
    }

    60% {
        transform: translateY(-15px);
    }
}

/* Cirkelikon */
.circle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    padding: 0;
    margin: .5rem;
    font-size: 0;
    color: rgb(var(--white-color));
    text-decoration: none;
    border-radius: 50%;
    background-color: rgb(var(--primary-color));
    border: 1px solid rgb(var(--primary-color));
    transition: .3s ease;
}

.circle-icon:hover {
    color: rgb(var(--primary-color));
    background-color: transparent;
}

.circle-icon em:before,
.circle-icon i:before {
    font-size: var(--base-size);
}

@media only screen and (max-width: 480px) {
    .btn {
        display: block;
        width: 100%;
    }
}

/* Farger
========================================================================== */
/* Bakgrundsfarger */
.bg-primary {
    background-color: rgb(var(--primary-color));
}

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

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

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

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


/* Bakgrundsbild
========================================================================== */
.bg-image {
    position: relative;
    background: linear-gradient(90deg, rgba(var(--black-color), .2) 0%, rgba(var(--black-color), .5) 0%, rgba(var(--black-color), 0) 100%);
}

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

/* Bakgrundsbilder */
.bg-texture {
    background: url(/assets/images/tra-textur-2000px.jpg);
    background-size: cover;
}

.bg-texture .section-block {
    background: rgba(var(--white-color), .8);
}

/* Parallax
========================================================================== */
@media only screen and (hover:none) {

    *,
    *::before,
    *::after {
        background-attachment: scroll !important;
    }
}

.parallax {
    max-width: 100%;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Halvsektionsparallax */
.parallax-half {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

.parallax-half .section-block {
    padding-top: 35rem;
    background-image: linear-gradient(to bottom, rgb(var(--black-color), .4), rgb(var(--black-color), .4)), linear-gradient(to top, rgb(var(--white-color)), rgb(var(--white-color)));
    background-size: 100% 50rem, 100% auto;
    background-position: center top, center 50rem;
    background-repeat: no-repeat;
}

/* 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;
}

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

    .blocker {
        padding: 1rem;
    }
}

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

.split-wrapper.reverse {
    flex-direction: row-reverse;
    background-color: rgb(var(--primary-light-color));
}

.split-image {
    position: relative;
    width: 50%;
    overflow: hidden;
}

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

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

/* Specifika bredder */
.split-wrapper .w-40 {
    width: 40%;
}

.split-wrapper .w-60 {
    width: 60%;
}

@media screen and (max-width: 1300px) {
    .split-wrapper .w-40,
    .split-wrapper .w-60 {
        width: 50%;
    }
}

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

    .split-wrapper .w-40,
    .split-wrapper .w-60 {
        width: 100%;
    }

    .split-image {
        width: 100%;
        min-height: 30rem;
    }

    .full-width .split-content {
        padding: 11rem 4rem 5rem 4rem;
    }

    .split-wrapper.py-10 {
        padding: 0;
    }
}

@media screen and (max-width: 580px) {
    .split-content {
        padding: 3rem 0;
    }

    .full-width .split-content {
        padding: 3rem 2rem;
    }
}

/* 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: 2rem;
    overflow: auto;
    background: rgb(var(--white-color));
    transform: translate(-50%,-50%);
  }

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

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


/* Header / Navigation
========================================================================== */
/* top header */
.top-header {
    width: 100%;
    background-color: rgb(var(--primary-color));
    overflow: hidden;
}

.top-header ul {
    margin: 0;
    list-style: none;
    padding: 0 2rem;
}

.top-header a {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    padding: .5rem;
    font-size: 1.3rem;
    color: rgb(var(--white-color));
}

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

/* logo */
.header-logo {
    padding-right: 2rem;
}

.header-logo a {
    font-size: 1.8rem;
    margin-top: -1rem;
}

/* Nav */
nav.mainmenu {
    flex-grow: 1;
}

.TemplateMenu {
    justify-content: center;
}

.TemplateMenu a {
    font-weight: 500;
    font-size: 1.35rem;
    color: rgb(var(--gray-dark-color));
}

.TemplateMenu a:hover {
    color: rgb(var(--primary-color));
}

/* Header cta  */
.header-cta-wrapper {
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
    list-style: none;
}

.header-cta-wrapper .btn {
    padding: 1rem 2rem;
    min-width: unset;
}

/* mobilmeny */
.mobile-menu {
    height: auto;
}

.mobile-menu .container {
    padding: .5rem 2rem;
}

.mobile-menu .header-logo {
    flex-grow: 1;
}

.mobile-menu .TemplateMenu li a {
    margin: 1rem 0;
    font-size: 2.2rem;
    text-align: center;
}

.mobile-menu .header-cta-wrapper .btn {
    padding: 1rem;
    font-size: 1.1rem;
}

@media only screen and (max-width: 500px) {
    .header-logo .text-label {
        font-size: 3rem;
    }

    .header-cta-wrapper li:nth-child(1) {
        display: none;
    }
}

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

/* Top-section
========================================================================== */
.topsection {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 10rem);
    border: 2rem solid rgb(var(--white-color));
    border-top: 0;
    background-image: linear-gradient(rgb(var(--black-color), .5), rgb(var(--black-color), .5)), url('/assets/images/narodlad-mat-2000px.jpg');
    background-position: center bottom;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.topsection h1 {
    font-size: 6rem;
    line-height: 1.3;
}

.topsection h1 .text-handwritten {
    display: block;
    font-size: 1.4em;
    line-height: 1;
}

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

@media only screen and (max-width: 750px) {
    .topsection h1 {
        font-size: 3.5rem;
    }
}

/* Introsektion
========================================================================== */
.section-about .ingress {
    font-size: 2.8rem;
}

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

/* CTA sektion
========================================================================== */
.section-cta {
    background-image: url('/assets/images/fest-starters-2000px.jpg');
}

.section-cta .section-block {
    background-color: rgb(var(--black-color), .5);
}

.section-cta .section-title {
    font-size: 10rem;
}

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

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

/* Hero - Grundkod
========================================================================== */
.hero .section-block {
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    min-height: 60vh;
    padding: 10rem 4rem 4rem;
    border-left: 2rem solid rgb(var(--white-color));
    border-right: 2rem solid rgb(var(--white-color));
}

.hero .section-block-wrapper {
    width: 100%;
}

@media only screen and (max-width: 580px) {
    .hero .section-block {
        padding: 4rem 2rem;
        min-height: 40vh;
    }    
}

/* ==========================================================================
Undersida: Dagens lunch
========================================================================== */
.section-lunchmeny {    
    text-align: center;
}

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

.menu-wrapper {
    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));
    display: flex;
    justify-content: center;
}

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

.menu-heading .small-title {
    padding-bottom: 1rem;
}

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

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

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

.menu-item ul {
    list-style: none;
    padding: 0 2rem 0 0;
}

.border {
    padding-top: 3rem;
    font-size: 1.5rem !important;
}

/* Ladda ner */
.menu-pdf {
    padding: 5rem 0 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 {
    margin-top: 5rem;
}

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

.menu-controller .btn-prev {
    display: none;
}

@media only screen and (max-width: 750px) {
    .menu-wrapper {
        padding: 4rem 2rem;
    }
    
    .menu-controller .btn {
        display: block;
        margin: 1rem 0;
    }
}

/* ==========================================================================
Undersida: Kontakt
========================================================================== */
.ContactForm p {
    color: rgb(var(--primary-color));
}

.ContactForm input[type="text"],
.ContactForm textarea {
    border: none;
    background-color: rgb(var(--primary-color), .1);
}

@media only screen and (max-width: 980px) {
    .section-contact .section-block-wrapper {
        flex-direction: column-reverse;
    }

    .section-contact .col-1 {
        padding-bottom: 5rem;
    }
}

/* Karta
========================================================================== */
.section-map {
    font-size: 0;
}


/* Popup-notis
========================================================================== */
.EditMode .popup-wrapper {
    display: none;
}

.popup-wrapper {
    z-index: 8;
    position: fixed;
    bottom: 3rem;
    right: 3rem;
}

/* Knappar */
.popup-button {
    position: relative;
    width: 5rem;
    height: 5rem;
    background: rgb(var(--primary-color));
    border-radius: 50%;
    box-shadow: 0 0 3rem rgba(15, 36, 47, .3);
    cursor: pointer;
}

.popup-button i {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 2.8rem;
    transform: translate(-50%,-50%);
    transition: .3s ease;
}

.popup-wrapper .popup-button .icon-open,
.popup-wrapper.opened .popup-button .icon-close {
    transform: translate(-50%,-50%) scale(1);
}

.popup-wrapper.opened .popup-button .icon-open,
.popup-wrapper .popup-button .icon-close {
    transform: translate(-50%,-50%) scale(0);
}

/* Innehåll */
.popup-window {
    opacity: 0;
    visibility: hidden;
    position: fixed;
    right: 0;
    bottom: 6rem;
    max-width: 40rem;
    max-height: calc(100vh - 12rem); 
    padding: 4rem;
    margin: 0 2rem;
    background: rgb(var(--white-color));
    border-radius: 2rem;
    box-shadow: 0 0 3rem rgba(15, 36, 47, .3);
    overflow: auto;
    transition: opacity .3s ease, bottom .3s ease;
}

.popup-wrapper.opened .popup-window {
    opacity: 1;
    visibility: visible;
    display: block;
    bottom: 10rem;
}

.icon-close-popup {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2.5rem;
    cursor: pointer;
}
.popup-wrapper .small-title{
    font-size: 2.4rem;
    margin-bottom: 1rem;
}
@media only screen and (max-width: 450px) {
    .popup-window {
        padding: 2rem 3rem 2rem 2rem;
    }

    .icon-close-popup {
        top: 1rem;
    }
}

/* ==========================================================================
Undersida: Catering
========================================================================== */
.section-catering-menu {
    background-image: url('/assets/images/fest-starters-2000px.jpg');
}

.section-catering-menu .menu-wrapper.menu-head,
.section-catering-menu .menu-wrapper.menu-footer {
    background-color: rgb(var(--primary-color));
}

.section-catering-menu .menu-wrapper.menu-head .section-title {
    color: rgb(var(--white-color));
    font-size: 8rem;
}

.section-catering-menu .small-title {
    font-size: 2rem;
    padding-bottom: 1rem;
}

.section-catering-menu .text-label {
    font-size: 1.6rem;
    margin-top: 1em;
}

.section-catering-menu .menu-wrapper {
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    padding: 8rem 4rem;
}

.section-catering-menu .menu-item {
    display: flex;
    flex-wrap: wrap;
    width: 70rem;
}

.section-catering-menu .menu-item .w-33 {
    width: 33%;
    min-width: 20rem;
}

.section-catering-menu .menu-item .w-50 {
    width: 50%;
    min-width: 30rem;
}

.section-catering-menu .menu-item .w-100 {
    width: 100%;
}

.section-catering-menu .menu-wrapper.menu-footer {
    align-items: unset;
    color: rgb(var(--white-color));
    padding: 5rem;
}

.section-catering-menu .menu-wrapper.menu-footer p,
.section-catering-menu .menu-wrapper.menu-footer a {
    font-size: 1.4rem;
}

.section-catering-menu .menu-wrapper.menu-footer a:hover {
    text-decoration: underline;
}

@media only screen and (max-width: 1000px) {
    .section-catering-menu .menu-wrapper {
        width: 100%;
        padding: 4rem 2rem;
    }

    .section-catering-menu .menu-wrapper.menu-head {
        padding: 3rem;
    }

    .section-catering-menu .menu-wrapper.menu-head .section-title {
        font-size: 5rem;
    }

    .section-catering-menu .menu-item {
        width: 100%;
    }

    .section-catering-menu .small-title {
        padding-bottom: 2rem;
    }

    .section-catering-menu .menu-item ul {
        margin: 0;
    }

    .section-catering-menu .menu-item li {
        padding-bottom: 1rem;
    }

    .section-catering-menu .menu-wrapper.menu-footer {
        padding: 2rem;
    }
}

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

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

/* Footer heading */
.footer-heading {
    max-width: 60rem;
    padding: 8rem 2rem 0 2rem;
}

/* Footer top */
.footer-top {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid rgb(var(--primary-color));
}

.footer-menu {
    width: calc((100% / 3) - 5rem - 3rem);
    margin: 2rem;
}

.footer-menu:nth-child(4) {
    width: 5rem;
    margin: 2rem 0;
}

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

.footer a:hover:not(.circle-icon) {
    text-decoration: underline;
}

/* Sociala medier */
.footer .socials li {
    text-align: right;
}

/* 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;
}

.webbess-stamp img {
    width: 2.5rem;
    margin-left: 1rem;
}

@media only screen and (max-width: 1300px) {
    /* Footer top */
    .footer-menu,
    .footer-menu:nth-child(4) {
        width: calc((100% / 2) - 4rem)
    }

    /* Sociala medier */
    .footer .socials li {
        text-align: left;
    }
}

@media only screen and (max-width: 850px) {
    .footer-heading {
        padding: 8rem 0 1rem;
    }

    .footer-heading .text-label {
        font-size: 3rem;
    }

    /* Footer top */
    .footer-menu,
    .footer-menu:nth-child(4) {
        width: 100%;
        margin: 1rem 0;
    }

    .footer-menu p,
    .footer-menu a:not(.circle-icon),
    .footer-menu li {
        font-size: 1.5rem;
    }

    /* Sociala medier */
    .footer .socials li {
        display: inline-block;
    }

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