/* Sävne Torv AB */

@import url('https://fonts.googleapis.com/css2?family=Fanwood+Text:ital@0;1&family=Karla:ital,wght@0,400;0,600;0,700;1,400;1,700&display=swap');

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

    /* 	Colors */
    --primary-color: 162, 173, 89;
    --primary-light-color: 186, 194, 132;
    --secondary-color: 97, 88, 57;
    --accent-beige-color: 243, 243, 241;

    --black-color: 17, 17, 17;
    --gray-light-color: 242, 242, 242;
    --gray-dark-color: 68, 68, 68;
    --white-color: 255, 255, 255;

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

    /* 	Mobile nav */
    --activate-mobile-menu: 1000;
    --mobile-menu-height: 6rem;
    --mobile-menu-bg: var(--accent-beige-color);
}

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

/* Speciella padding */
.pb-0 .section-block,
.pb-0:not(.section-wrapper) {
    padding-bottom: 0;
}
.pt-0 .section-block,
.pt-0:not(.section-wrapper) {
    padding-top: 0;
}

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

.pb-5 .section-block,
.pb-5:not(.section-wrapper) {
    padding-bottom: 5rem;
}
.py-6{
    padding-top: 6rem;
    padding-bottom: 6rem;
}
/* Margins */
.mt-3 {
    margin-top: 3rem;
}

.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: 'Karla', sans-serif;
    font-weight: 400;
}

/* Rubriker */
.section-title {
    padding-bottom: 2rem;
    font-size: 4rem;
    font-weight: 400;
    line-height: 1.2;
    color: rgb(var(--black-color));
    font-family: 'Fanwood Text', serif;
}

.small-title {
    padding-bottom: .5em;
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.4;
    color: rgb(var(--black-color));
    font-family: 'Fanwood Text', serif;
}

.text-label {
    padding-bottom: 2rem;
    font-size: 1.4rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .2em;
}

.text-title {
    padding-bottom: .5em;
    font-size: var(--base-size);
    font-weight: 700;
    line-height: 1.4;
    color: rgb(var(--black-color));
}

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

a {
    color: var(--primary-color);
}

/* Ovriga klasser */
.text-block-center {
    max-width: 80rem;
    margin: 0 auto;
}
.text-bold{
    font-weight: 600;
}

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

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

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

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

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

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

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

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

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

.btn,
.ContactSubmit {
    min-width: 18rem;
    padding: 1.4rem 2.2rem;
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: .8rem;
    -webkit-transition: all .4s ease;
    transition: all .4s ease;
}

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

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

/* Arrow link */
.arrow-link {
    font-size: var(--base-size);
    padding-right: 1rem;
    color: rgb(var(--gray-dark-color));
}

.arrow-link::after {
    content: ' \f105';
    display: inline-block;
    margin-left: 1rem;
    font-weight: 400;
    font-family: 'Font Awesome 5 Pro';
    transition: transform .4s ease;
}

.arrow-link:hover::after {
    transform: translateX(1rem);
    transition: transform .4s ease;
}

/* 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(--secondary-color));
    text-decoration: none;
    border-radius: 50%;
    background-color: rgb(var(--primary-color));
    transition: .3s ease;
}

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

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

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

.bg-accent {
    background-color: rgb(var(--accent-beige-color));
}

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

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

/* 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%;
    border-radius: 3px;
}

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

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

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

    .split-image {
        width: 100%;
    }
}

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

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

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

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

.card-item {
    text-decoration: none;
}
/* Card grow */
.cards-grow .card-item {
    display: flex;
    flex-direction: column;
}

.cards-grow .card-body {
    flex-grow: 1;
}
/* Specifika bredder */
.cards-wrapper.w-100 .card-item {
    width: 100%;
    margin: 1rem 0;
}
.cards-wrapper.w-50 .card-item {
    width: calc((100% / 2) - 2rem);
    margin: 1rem;
}

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

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

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

/* Cards 2 */
.cards-2 .card-item {
    background-color: rgb(var(--white-color));
    padding: 3rem;
    border-radius: 8px;
    border: 1px solid rgb(var(--gray-light-color));
}

.cards-wrapper.cards-2 .card-item {
    margin-top: 3rem;
}

.cards-2 .image-wrapper {
    width: 10rem;
    height: 10rem;
    margin: -5rem auto 3rem;
    background-color: rgb(var(--secondary-color));
    border-radius: 50%;
    overflow: hidden;
}

.cards-2 .image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cards-2 p {
    font-size: 1.4rem;
}
/* Card 3-5 */
.card-3-5 .card-item {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 40rem;
    border: 1px solid rgb(var(--black-color));
}

.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(--black-color), .5);
    transition: .3s ease-in-out;
}

.card-3-5 .card-item:hover .image-wrapper::after {
    background: rgba(var(--black-color), .6);
}

.card-3-5 .card-body {
position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    padding: 2rem;
    color: rgb(var(--white-color));
width: 100%;
}

.card-3-5 .card-body.border {
    margin: 5rem;
    border: 1px solid rgb(var(--white-color));
}
.card-3-5 .section-title{
    font-size: 3rem;
}
@media only screen and (max-width: 1000px) {
    .card-wrapper.cards-3-5 .card-item {
        width: 100%;
        margin: 1rem 0;
    }
}

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

    .card-3-5 .card-body.border {
        margin: 2rem;
    }
}


/* Cards 7 */
.cards-7 .card-item {
    display: flex;
    flex-direction: column;
    border-radius: 3px;
    overflow: hidden;
    background-color: rgb(var(--white-color));
    border-bottom: 3px solid rgb(var(--primary-color));
}

.cards-7 .image-wrapper {
    position: relative;
    padding-top: 50%;
    overflow: hidden;
}

.cards-7 img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

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

.cards-7 .small-title {
    padding: 0 0 5px;
}

.cards-7 .btn-wrapper {
    margin: auto 0 0;
    padding: 0 2rem 2rem;
}

.cards-7 .title-wrapper {
    display: flex;
    align-items: flex-end;
    flex: 1 1 0px;
    padding: 2rem;
}

.cards-7 .title-wrapper .section-title {
    padding: 0;
    line-height: 1.2;
}

/* Cards 14 */
.cards-14 {
    margin: 0 auto;
}

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

.cards-14 a.card-item:hover {
    text-decoration: none;
    background-color: rgba(var(--primary-color), 0.1);
    transition: all .3s ease;
}

.cards-14 .icon-wrapper {
    background-color: rgb(var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    width: 7rem;
    height: 7rem;
    border-radius: 50%;
    margin-right: 3rem;
}

.cards-14 i {
    font-size: 3rem;
}

.cards-14 p {
    padding-bottom: 0;
    font-size: 1.4rem;
    color: rgb(var(--secondary-color));
}

.cards-14 .contact-info {
    font-size: 2rem;
    font-weight: 400;
}

/* Bilder och videos
========================================================================== */
.bg-image {
    position: relative;
    margin-top: calc(-1 * var(--menu-height));
    background: linear-gradient(90deg, rgba(var(--black-color), .2) 0%, rgba(var(--black-color), .5) 0%, rgba(var(--black-color), 0.0) 100%);
}


.bg-image-wrapper {
    z-index: -1;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
/* Video */
.bg-video-wrapper video {
    z-index: -1;
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%,-50%);
}

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

.parallax .section-block {
    padding-top: 20rem;
    padding-bottom: 20rem;
    background-color: rgb(var(--black-color), .4);
}

.parallax-hast {
    background-image: url(/assets/images/hast-betar-2000.jpg);
}

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

@media only screen and (max-width: 1000px) {
    .parallax .section-block {
        padding-top: 10rem;
        padding-bottom: 10rem;
    }
}

/* Zoom Image Wrapper */
.zoom-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 30%;
    border-radius: 8px;
    overflow: hidden;
}

.zoom-image-wrapper img {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    transition: all .6s ease;
}

.zoom-image-wrapper img:hover {
    transform: translateY(-50%) scale(1.1);
    transition: all 4s ease;
}

@media only screen and (max-width: 1024px) {
    /* Zoom Image Wrapper */
    .zoom-image-wrapper {
        width: calc(100% + 6rem);
        margin: 0 -3rem;
        padding-top: 40rem;
        border-radius: 0;
    }
}

@media only screen and (max-width: 580px) {
    /* Zoom Image Wrapper */
    .zoom-image-wrapper {
        width: calc(100% + 4rem);
        margin: 0 -2rem;
        padding-top: 30rem;
    }
}

/* Grafiska Element
========================================================================== */
.of-wrapper .op-bottom {
    object-position: bottom;
}

/* Header / Navigation
========================================================================== */
header {
    border-bottom: 1px solid rgb(var(--accent-beige-color));
}

/* Logo */
.header-logo {
    margin: 0 auto 0 0;
}

.header-logo a {
    font-size: 2.5rem;
    text-decoration: none;
}

/* Nav */
.TemplateMenu a {
    font-weight: 600;
    font-size: 1.4rem;
    color: rgb(var(--black-color));
}
.TemplateMenu ul{
    min-width: 28rem;
}
.header-logo img {
    padding: 1rem;
}


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

.header-cta-wrapper li {
    margin: 0 .5rem;
}

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

.mobile-menu .header-cta-wrapper {
    margin: 0;
}

@media only screen and (max-width: 580px) {
    /* CTA */
    .header-cta-wrapper .btn {
        padding: 0.7rem 1.5rem;
    }
}

/* Mobilmeny */
header.mobile-menu .header-logo {
    position: static;
    padding: 0;
}

/* Media queries */
@media only screen and (max-width: 1350px) {
    .header-logo {
        left: unset;
        right: 4rem;
        transform: unset;
    }
}

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

/* Top Section
========================================================================== */
.top-section .section-block {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
      height: 100vh;
    background-color: rgb(var(--black-color), .1);
    overflow: hidden;
}

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

.top-section h1 {
    font-size: 7rem;
    font-weight: 400;
    text-align: center;
    max-width: 70rem;
    margin: 0 auto;
}

.top-section p {
    font-size: 1.8rem;
    color: rgb(var(--white-color));
}

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

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

/* Sektion Tjanster
========================================================================== */
.section-products {
    background-image: linear-gradient(rgb(var(--white-color)), rgb(var(--white-color)));
    background-size: 100% 5rem;
    background-repeat: no-repeat;
    background-position: center top;
}

.cards-grow .text-wrapper{
    min-height: 35rem !important;
}

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

/* Hero
========================================================================== */
.hero .section-block {
    padding-top: 20rem;
    padding-bottom: 10rem;
}

/* ==========================================================================
Undersida: Aktuellt
========================================================================== */

.section-offer.slick-list {
    width: 100%;
}

.section-offer .slick-slide {
    margin: 0 .5rem;
}

.section-offer .slick-dots {
    position: absolute;
    bottom: .2rem;
    left: 50%;
    width: auto;
    padding: 0;
    margin: 0;
    background-color: rgb(var(--white-color));
    border-radius: 1rem 1rem 0 0;
    transform: translateX(-50%);
}

@media only screen and (max-width: 980px) {
    .section-offer .col-1 {
        margin-top: 5rem;
    }
}

/* ==========================================================================
Undersida: Kontakt
========================================================================== */
.ContactForm p {
    color: rgb(var(--primary-color));
    line-height: 1.8;
    font-weight: 600;
    font-size: 1.4rem;
}

.ContactForm input[type="text"],
.ContactForm textarea,
.ContactForm input[type="email"]:not(.illegal),
.ContactForm select:not(.illegal) {
    border-radius: 1rem;
    border: 1px solid rgb(var(--primary-color));
}

/* Bekraftelseruta */
.ContactSentMessage {
    padding: 1rem 1rem 1rem 7rem;
    margin-bottom: 2rem;
    border-radius: .5rem;
    background-color: rgba(var(--primary-color), .2);
    background-image: url(/assets/images/icons/message-sent.svg);
    background-size: 4rem;
    background-position: 1.5rem center;
    background-repeat: no-repeat;
}

.ContactSentMessage p {
    padding: 0;
}

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

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

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

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

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

.footer-top p,
.footer-top a,
.footer-top li {
    color: rgb(var(--white-color), .7);
    font-weight: 400;
    font-size: 1.4rem;
}

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

.footer p.small-title {
    font-size: 1.4rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    font-weight: 500;
    color: rgb(var(--white-color));
}

.socials {
    display: flex;
    margin-top: 3rem;
}

.footer .circle-icon {
    width: 3rem;
    height: 3rem;
    font-size: 0;
    border: 1px solid rgb(var(--white-color), .2);
    background-color: rgb(var(--secondary-color));
}

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

.footer em::before {
    font-size: 1.4rem;
}

.footer .logos img {
    width: 20rem;
}

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

.footer-bottom p {
    font-size: 1.3rem;
    color: rgb(var(--white-color), .5);
}

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

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

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

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

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

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

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

@media only screen and (max-width: 600px) {
    /* Footer top */
    .footer-menu,
    .footer-menu-large {
        width: 100%;
    }

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

    .footer-bottom .socials {
        margin-bottom: 1.5rem;
    }
}

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


