/*  Pers Kok i Halmstad AB */

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

/* ==========================================================================
Generellt
========================================================================== */
:root {
    /* 	Colors */
    --primary-color: var(--black-color);

    --black-color: 17, 17, 17;
    --gray-dark-color: 58, 58, 58;
    --gray-color: 130, 130, 130;
    --gray-light-color: 235, 235, 235;
    --white-color: 255, 255, 255;

    /* 	Layout  */
    --col-padding: 3rem;
    --menu-height: 8rem;
    --menu-height-scrolled: 8rem;
    --section-width: 130rem;

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

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

@media only screen and (max-width: 580px) {
    :root {
        --base-size: 1.5rem;
    }
}

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

/* Paddings */
.p-3 .section-block,
.p-3:not(.section-wrapper) {
    padding: 3rem;
}

/* Margins */
.mb-3 {
    margin-bottom: 3rem;
}

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

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

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

/* Rubriker */
.text-label {
    font-family: 'Nanum Gothic', sans-serif;
    padding-bottom: 1em;
    font-size: 1.4rem;
    font-weight: 500;
    text-transform: uppercase;
}

.section-title {
    font-family: 'Nanum Gothic', sans-serif;
    padding-bottom: .5em;
    font-size: 3rem;
    font-weight: 300;
    line-height: 1.2;
}

.small-title {
    font-family: 'Parisienne', cursive;
    padding-bottom: .3em;
    font-size: 5rem;
    font-weight: 400;
    line-height: 1.4;
}

/* Brodtext och lankar */
p,
li {
    color: rgb(var(--gray-dark-color));
    font-weight: 300;
}

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

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

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

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

.text-uppercase {
    text-transform: uppercase;
}

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

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

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

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

    .text-label {
        font-size: 1.2rem;
    }
}

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

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

/* Knappar */
.btn,
.ContactSubmit {
    min-width: 15rem;
    padding: 1.2rem 2rem;
    margin: 7px;
    font-size: 1.4rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    font-family: inherit;
    transition: all .4s ease;
}

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

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

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

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

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

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

.bg-gray-dark {
    background-color: rgb(var(--gray-dark-color));
}

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

/* Grafiska element
========================================================================== */
.gray-border-bottom {
    border-bottom: 1px solid #bebebe;
}

/* Bakgrundsbilder och videos
========================================================================== */
.bg-image {
    position: relative;
    background-color: rgb(var(--black-color), .4);
    overflow: hidden;
}

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

/* Parallax */
.parallax {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.parallax .section-block {
    background-color: rgb(var(--black-color), .7)
}

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

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

.cards-wrapper:not(.w-100) {
    margin-left: -1rem;
    margin-right: -1rem;
}

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

/* Specifik bredd for ett card */
.cards-wrapper .card-item.w-30 {
    width: calc(28%);
    margin: 1rem;
}

.cards-wrapper .card-item.w-70 {
    width: calc(68%);
    margin: 1rem;
}

@media only screen and (max-width: 1080px) {
    .cards-wrapper:not(.w-100) {
        margin-left: 0;
        margin-right: 0;
    }

    .cards-wrapper.w-50 .card-item,
    .cards-wrapper .card-item.w-30,
    .cards-wrapper .card-item.w-70 {
        width: 100%;
        margin: 1rem 0;
    }
}

@media only screen and (max-width: 580px) {
    .cards-wrapper .p-3 {
        padding: 2rem;
    }
}

/* Card 3-5 */
.card-3-5 .card-item {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 40rem;
    text-decoration: none;
}

.card-3-5 .image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.card-3-5 .image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(var(--white-color), .8);
}

.card-3-5 .card-body {
    z-index: 1;
    position: relative;
    text-align: center;
}

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

/* Modal
========================================================================== */
.modal {
    max-width: 75rem;
    width: 100%;
    max-height: 75vh;
    padding: 4rem;
    border-radius: 1rem;
    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;
}

.modal hr {
    width: 50%;
    height: 1px;
    background-color: rgb(var(--gray-light-color));
    border: none;
    margin: 3rem auto;
}

/* Rubriker */
.modal .small-title {
    font-family: 'Nanum Gothic', sans-serif;
    padding-bottom: .5em;
    padding-top: 2rem;
    font-size: 2rem;
    font-weight: 300;
}

/* Listor */
.modal ol {
    counter-reset: section;
    padding: 0;
}

.modal ol li,
.list-cutlery li {
    margin-bottom: 0.5rem;
    margin-right: 0.6em;
    font-weight: 300;
    line-height: 1.8em;
    list-style: none;
}

.modal li {
    font-family: "Open Sans", sans-serif;
}

/* Lista med siffror */
.modal ol li::before {
    counter-increment: section;
    content: counters(section, ".") " ";
    display: inline-block;
    width: 2.6rem;
    height: 2.6rem;
    margin-right: .5em;
    color: rgb(var(--white-color));
    font-size: 1.7rem;
    font-weight: 500;
    border-radius: 50%;
    text-align: center;
    background: rgb(var(--black-color));
}

/* Lista med bestick*/
.list-cutlery {
    padding: 0;
}

.list-cutlery li::before {
    content: "\f2e6";
    display: inline-block;
    width: 1.8em;
    color: rgb(var(--black-color));
    font-family: 'Font Awesome 5 Pro';
    font-weight: 700; 
}

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

    .blocker {
        padding: 1rem;
    }
}

/* 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: 75rem;
    max-height: 75vh;
    padding: 4rem;
    border-radius:0;
    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
========================================================================== */
/* Header */
header:not(.scrolled) {
    background-color: transparent;
}

/* Logo */
.header-logo {
    flex: 1 1 0px;
}

/*.header-logo a {
    display: inline-block;
    width: 15rem;
    font-size: 3.5rem;
    font-weight: 700;
    text-decoration: none;
    font-family: 'Parisienne', 'Satisfy', cursive;
} */
.header-logo img{
    padding: 0.5rem;
}
header:not(.scrolled) .header-logo a {
    filter: invert();
}

/* Nav */
.TemplateMenu a {
    font-weight: 500;
    font-size: 1.4rem;
    text-transform: uppercase;
    color: rgb(var(--gray-color));
}

header:not(.scrolled, .mobile-menu) .TemplateMenu>li>a:not(:hover) {
    color: rgb(var(--white-color));
}

@media only screen and (max-width: 580px) {
    /* Header logo */
    .header-logo a {
        font-size: 3rem;
    }
}

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

/* Top-section
========================================================================== */
.top-section {
    background-image: url(/assets/images/perskok-cover-2000px.jpg);
}

.top-section.parallax .section-block {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    margin-top: calc(-1 * var(--menu-height));
    background: linear-gradient(90deg, rgba(var(--black-color), 0.7) 0%, rgba(var(--black-color), 0) 100%);
}

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

.top-section .text-block {
    max-width: 45rem;
}

.top-section .section-title {
    font-size: 6rem;
    font-weight: 500;
    text-shadow: 0px 3px 5px rgb(var(--black-color), .4);
    padding-bottom: 1.5rem;
}

.top-section .section-title span {
    font-size: 8rem;
    font-weight: 500;
    font-family: 'Satisfy', cursive;
    text-shadow: 0px 3px 5px rgb(var(--black-color), .4);
    line-height: 0.5;
}

.top-section .btn-white-border {
    font-size: 2.5rem;
    font-weight: 300;
}

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

    .top-section .section-title span {
        font-size: 7.5rem;
    }
}

@media only screen and (max-width: 580px) {
    .top-section .text-block {
        margin: 0 auto;
    }

    .top-section .section-title {
        font-size: 4.3rem;
        padding-bottom: 0.5rem;
    }

    .top-section .section-title span {
        font-size: 5.3rem;
        line-height: 1;
    }

    .top-section .btn-white-border {
        font-size: 1.5rem;
    }
}

/* Om oss
========================================================================== */
.section-about .section-title {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

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

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

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

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

.ContactForm {
    position: relative;
}

.ContactForm div {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    width: 49%;
}

.ContactForm div.ContactFormMessage {
    position: absolute;
    top: 0;
    right: 0;
}

.ContactForm p {
    color: rgb(var(--white-color));
    line-height: 1.7;
    font-weight: 400;
    font-size: 1.4rem;
}

.ContactForm input[type="text"],
.ContactForm textarea {
    border: none;
}

.ContactForm div.ContactFormMessage textarea {
    min-height: 22.4rem;
}

.ContactForm input[type="text"]:not(.illegal),
.ContactForm textarea:not(.illegal) {
    background-color: rgb(var(--white-color));
}

.ContactFormMessage {
    position: relative;
    min-height: 100%;
}

@media only screen and (max-width: 1300px) {
    .ContactForm div {
        width: 100%;
        margin-top: 1rem;
    }

    .col-0 .ContactForm div.ContactFormMessage {
        position: static;
    }
}

/* ==========================================================================
Footer
========================================================================== */
.footer {
    padding: 3rem 2rem;
    background-color: rgb(var(--black-color));
}

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

.footer .text-label {
    font-size: 2rem;
    font-weight: 300;
}

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

.footer li {
    display: inline-block;
    margin-right: 3rem;
}

.footer a {
    color: rgb(var(--gray-color));
    text-decoration: none;
    transition: .2s ease;
}

.footer a:not(.circle-icon):hover {
    color: rgb(var(--white-color));
}

.footer em,
.footer p {
    color: rgb(var(--white-color));
}

/* Footer bottom */
.footer-bottom {
    padding-top: 3rem;
}

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

/* WebbEss Stamp  */
.footer .webbess-stamp {
    text-decoration: none;
}

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

@media only screen and (max-width: 750px) {
    /* Footer top */
    .footer-top li {
        display: block;
        margin: 5px 0;
    }
}