/* Aspholmen Kiosken */

/* Animationer */
@import url('/resources/scripts/aos/2.3.1/aos.css');

/* ==========================================================================
Generellt
========================================================================== */
:root {
    /* Colors */
    --primary-color: 110, 28, 40;
    --primary-dark-color: 98, 23, 34;

    --beige-color: 247, 239, 219;

    --black-color: 17, 17, 17;
    --gray-dark-color: 72, 64, 59;
    --gray-color: 130, 124, 120;
    --gray-light-color: 232, 231, 230;
    --white-color: 255, 255, 255;

    /* Layout */
    --col-padding: 3rem;
    --menu-height: 10rem;
    --menu-height-scrolled: 10rem;
    --section-width: 150rem;

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

    /* Mobile nav */
    --activate-mobile-menu: 1150;
    --mobile-menu-height: 7rem;
    --mobile-menu-bg: var(--primary-color);
    --menu-color: var(--gray-dark-color);
}

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

body {
    background-image:
        linear-gradient(rgba(var(--primary-color), 0.95)),
        url('/assets/images/graphics/mat-ikoner-svart.png');
    background-repeat: repeat;
    background-attachment: unset;
    background-color: rgb(var(--primary-color));
}

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

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

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

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

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

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

.mb-2 {
    margin-bottom: 2rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

/* Ovriga klasser */
.align-center .section-block-wrapper {
    align-items: center;
}

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

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

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

/* Rubriker */
.section-title {
    padding-bottom: 0.2em;
    font-size: 4.2rem;
    font-weight: 700;
    line-height: 1.2;
    font-family: 'Alegreya', serif;
    color: rgb(var(--gray-dark-color));
}

.small-title {
    padding-bottom: .3em;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.4;
    font-family: 'Alegreya', serif;
    color: rgb(var(--gray-dark-color));
}

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

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

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

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

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

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

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

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

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

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

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

/* Knappar */
.btn {
    min-width: 15rem;
    padding: 1.3rem 2.5rem;
    margin: 1rem 2rem 0 0;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    border: 1px solid;
    border-radius: 2rem;
    transition: all .4s ease;
}

.btn-primary-filled {
    color: rgb(var(--beige-color));
    border-color: rgb(var(--primary-color));
    background-color: rgb(var(--primary-color));
}

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

.btn-beige-filled {
    color: rgb(var(--primary-color));
    border-color: rgb(var(--beige-color));
    background-color: rgb(var(--beige-color));
}

.btn-beige-filled:hover {
    color: rgb(var(--beige-color));
    background-color: transparent;
}

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

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

.circle-icon em:before,
.circle-icon i:before {
    font-size: 1.5rem;
}

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

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

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

/* Grafiska element
========================================================================== */
/* Bakgrunder*/
.bg-beige-food-icon {
    background-image:
        linear-gradient(rgba(var(--beige-color), 0.97)),
        url('/assets/images/graphics/mat-ikoner-svart.png');
    background-repeat: repeat;
    background-attachment: unset;
    background-color: rgb(var(--beige-color));
}

/* Borders */
.border-solid-primary {
    border: 2px solid rgb(var(--primary-color));
}

/* Outlines */
.outline-primary--1 {
    outline: 2px solid rgb(var(--primary-color));
    outline-offset: -1rem;
}

/* Bakgrundsbilder och videos
========================================================================== */
.bg-image {
    position: relative;
    overflow: hidden;
}

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

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

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

.card-item {
    text-decoration: none;
    transition: all .3s ease;
}

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

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

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

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

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

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

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

    .cards-wrapper.w-33 .card-item,
    .cards-wrapper.w-100 .card-item {
        width: 100%;
        margin-bottom: 1rem;
    }

    /* Paddings */
    .cards-wrapper .p-4 {
        padding: 2.5rem;
    }
}

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

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

/* Card 2-2 */
.card-2-2 .card-header i {
    font-size: 3rem;
}

@media only screen and (max-width: 750px) {
    .card-2-2 .card-header {
        margin-bottom: 1.5rem;
    }
}

/* Card 2-5 */
.card-2-5 .card-item {
    display: flex;
    align-items: center;
}

.card-2-5 a.card-item:hover {
    background-color: rgb(var(--primary-dark-color));
}

.card-2-5 .card-header i {
    font-size: 2.5rem;
}

.card-2-5 .card-body {
    padding: 0 2rem;
}

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

@media screen and (max-width: 1024px) {
    .split-wrapper,
    .split-wrapper.reverse {
        flex-direction: column;
    }

    .split-content {
        width: 100%;
        padding: 3rem;
        max-width: 70rem;
    }

    .split-image {
        width: 100%;
    }

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

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

/* Header / Navigation
========================================================================== */
header {
    background-color: rgb(var(--beige-color));
    border-bottom: 1px solid rgb(var(--primary-color), .2);
}

header:not(.scrolled) {
    background-color: transparent;
    border-bottom: transparent;
}

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

.header-logo a {
    font-size: 2.5rem;
    color: rgb(var(--beige-color));
    text-decoration: none;
    font-weight: 800;
    font-family: 'Alegreya', serif;
}

header.scrolled:not(.active-menu) .header-logo a {
    color: rgb(var(--primary-color));
}

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

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

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

/* CTA */
.header-cta-wrapper {
    z-index: 9;
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0;
    flex: 1 1 0px;
    margin: 0 0 0 4rem;
    list-style: none;
}

.header-cta-wrapper .btn {
    min-width: unset;
    padding: 1rem 2rem;
    margin: 0;
    line-height: 1;
    white-space: nowrap;
}

header.scrolled:not(.active-menu) .header-cta-wrapper .btn {
    color: rgb(var(--beige-color));
    border-color: rgb(var(--primary-color));
    background: rgb(var(--primary-color));
}

header.scrolled:not(.active-menu) .header-cta-wrapper .btn:hover {
    color: rgb(var(--primary-color));
    background: transparent;
}

/* Mobilmeny */
.mobile-menu:not(.scrolled),
.mobile-menu.scrolled.active-menu {
    --menu-color: var(--beige-color);
}

.mobile-menu .TemplateMenu {
    text-align: center;
}

.mobile-menu .TemplateMenu li {
    padding: 0 2rem;
}

.mobile-menu .TemplateMenu li:hover,
.mobile-menu .TemplateMenu li.active {
    background-color: rgb(var(--primary-dark-color));
}

.mobile-menu .TemplateMenu li:hover>a,
.mobile-menu .TemplateMenu li.active>a,
.mobile-menu .TemplateMenu li>a:hover {
    color: rgb(var(--beige-color));
}

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

    /* Header logo */
    .header-logo a {
        font-size: 2rem;
    }
}

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

    /* CTA  */
    .header-cta-wrapper {
        flex: none;
        margin: 0 0 0 3rem;
    }

    .header-cta-wrapper .btn {
        padding: 0.7rem 1.5rem;
    }

    /* Header logo */
    .header-logo a {
        font-size: 1.8rem;
    }
}

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

    /* CTA  */
    .header-cta-wrapper {
        margin: 0 0 0 2rem;
    }

    /* Header-logo */
    .header-logo a {
        font-size: 1.6rem;
    }
}

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

/* Top-section
========================================================================== */
.top-section {
    display: flex;
    align-items: center;
    min-height: calc(90vh - var(--menu-height));
    background-color: rgb(var(--black-color), .5);
    margin: 0 3rem 3rem 3rem;
}

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

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

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

.top-section .btn {
    margin: 0;
}

.top-section .btn:hover {
    color: rgb(var(--beige-color));
}

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

@media only screen and (max-width: 980px) {
    .top-section {
        margin: 0 2rem 2rem 2rem;
    }
}

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

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

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

/* Sortiment & Utbud
========================================================================== */
@media only screen and (max-width: 1050px) {
    .section-supply .cards-wrapper.w-25 .card-item {
        width: calc((100% / 2) - 2rem);
    }
}

@media only screen and (max-width: 580px) {
    .section-supply .cards-wrapper.w-25 .card-item {
        width: 100%;
    }
}

/* Tjanster
========================================================================== */
@media only screen and (max-width: 1025px) {
    .section-services .cards-wrapper.w-33 .card-item {
        width: 100%;
    }
}

/* Kontakt
========================================================================== */
@media only screen and (max-width: 980px) {
    .section-contact .col-1 {
        margin-top: 3rem;
    }

    .section-contact .cards-wrapper .card-item {
        justify-content: center;
    }

    .section-contact .cards-wrapper .card-body {
        text-align: center;
    }
}

/* ==========================================================================
Footer
========================================================================== */
.footer {
    padding: 0 5rem;
    background-color: rgb(var(--beige-color));
}

.footer-container {
    max-width: var(--section-width);
    margin: 0 auto;
}

/* Footer top */
.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 8rem 0 5rem;
}

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

.footer-menu-large {
    width: 30%;
}

.footer-submenu {
    padding: 0;
    margin: 0 0 3rem;
    list-style: none;
}

.footer-top p:not(.section-title, .small-title),
.footer-top a {
    font-size: 1.4rem;
    text-decoration: none;
}

.footer-top a:hover {
    color: rgb(var(--primary-color));
    text-decoration: none;
}

/* Sociala medier */
.footer-socials {
    display: flex;
    align-items: center;
}

.footer-socials::before,
.footer-socials::after {
    position: relative;
    display: inline-block;
    content: '';
    flex: 1 1 0%;
    border-top: 1px solid rgb(var(--primary-color));
}

.footer-socials::before {
    margin-right: 2rem;
}

.footer-socials::after {
    margin-left: 2rem;
}

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

.footer-bottom p,
.footer-bottom a {
    font-size: 1.3rem;
    line-height: 1.6;
    color: rgb(var(--gray-dark-color));
}

/* WebbEss Stamp */
.footer .webbess-stamp {
    display: flex;
    align-items: center;
    text-decoration: none;
}

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

@media only screen and (max-width: 1200px) {
    .footer {
        padding: 0 3rem;
    }

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

    .footer-menu-large {
        width: 100%;
    }

    .footer-menu-large p {
        max-width: 55rem;
    }
}

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

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

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

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

    /* Footer bottom */
    .footer-bottom {
        flex-direction: column-reverse;
        text-align: center;
    }

    .webbess-stamp {
        margin: 0 auto 2rem;
    }
}