/* SNYGG i Skelleftea AB */

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

/* ==========================================================================
Generellt
========================================================================== */
:root {
    /* 	Colors */
    --primary-color: 33, 33, 33;

    --black-color: 17, 17, 17;
    --white-color: 255, 255, 255;
    --gray-light-color: 233, 233, 233;
    --gray-color: 192, 192, 192;
    --gray-dark-color: 51, 51, 51;

    /* 	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: 8rem;
    --mobile-menu-bg: var(--white-color);
    --menu-color: var(--black-color);
}

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

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

@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 {
    padding-bottom: 1em;
    letter-spacing: 0.2em;
    font-size: 1.6rem;
    font-weight: 400;
    text-transform: uppercase;
    color: rgb(var(--primary-color));
}

.section-title {
    padding-bottom: 2rem;
    font-size: 3.8rem;
    font-weight: 600;
    line-height: 1.3;
    color: rgb(var(--primary-color));
}

.small-title {
    padding-bottom: 1.5rem;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.4em;
    text-transform: uppercase;
    color: rgb(var(--primary-color));
}

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

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

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

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

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

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

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

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

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

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

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

.btn-gray-light-filled,
.header-cta-wrapper .btn {
    color: rgb(var(--primary-color));
    border: 3px solid rgb(var(--gray-light-color));
    background-color: rgb(var(--gray-light-color));
}

.btn-gray-light-filled:hover,
.header-cta-wrapper .btn:hover {
    color: rgb(var(--white-color));
    border: 3px solid rgb(var(--primary-color));
    background-color: rgb(var(--primary-color));
}

/* Hoger pil i knapp */
.btn-arrow::after {
    display: inline-block;
    content: " \2023";
    margin-left: 1rem;
    transition: all 0.4s ease;
}

.btn-arrow:hover::after {
    transform: translateX(1rem);
    transition: all 0.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;
    text-decoration: none;
    border-radius: 50%;
    transition: .3s ease;
}

.circle-icon-primary-filled {
    color: rgb(var(--white-color));
    background-color: rgb(var(--primary-color));
}

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

.circle-icon-white-filled {
    color: rgb(var(--primary-color));
    background-color: rgb(var(--white-color));
}

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

.circle-icon em:before,
.circle-icon i:before {
    font-size: 1.7rem;
    font-weight: 600;
}

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

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

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

/* Video */
.bg-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Crossfade */
.bg-crossfade {
    position: relative;
}

.fade-slider {
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.fade-slider div {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.fade-slider.slick-slider {
    position: absolute;
}

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

/* Parallax bilder */
.parallax-cutting-hair {
    background-image: url('/assets/images/klipper-har-2000px.jpg');
}

@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-33 .card-item {
    width: calc((100% / 3) - 3rem);
    margin: 1.5rem;
    border-radius: 1rem;
}

.cards-wrapper.w-100 .card-item {
    width: 100%;
    margin: 1rem 0;
    border-radius: 1rem;
}

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

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

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

/* Card-team */
.card-team .card-item {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 45rem;
    padding: 0;
}

.card-team .image-wrapper.of-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 1rem;
}

.card-team .card-body {
    z-index: 1;
    position: relative;
    display: inline-block;
    width: 100%;
    pointer-events: none;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
}

.card-team .small-title {
    font-size: var(--base-size);
    font-weight: 600;
    text-transform: none;
    padding-bottom: 0;
}

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

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

/* Knappar */
.popup-button {
    position: relative;
    width: 6.5rem;
    height: 6.5rem;
    background: rgb(var(--primary-color));
    border-radius: 50%;
    box-shadow: 0 1rem 1.5rem rgba(0, 40, 21, 0.1);
    cursor: pointer;
    transition: 0.25s ease;
}

.popup-button:hover {
    transform: scale(1.05);
}

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

/* Header / Navigation
========================================================================== */
header:not(.scrolled) {
    background-color: transparent;
    box-shadow: none;
}

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

.header-logo img {
    padding: 2.5rem 0 1.5rem 1rem;
}

/* Nav */
.TemplateMenu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.TemplateMenu a,
.TemplateMenu .header-cta-wrapper a {
    margin: 0 2rem;
}

.TemplateMenu a:not(.btn) {
    font-weight: 600;
    font-size: 1.5rem;
    color: rgb(var(--black-color));
    display: inline-block;
    padding: 0;
}

.TemplateMenu>li>a:not(.btn) {
    line-height: var(--menu-height);
}

.TemplateMenu li a:hover:not(.btn) {
    transform: translateY(-5px);
}

/* Scrollspy */
.TemplateMenu li.active a {
    transform: translateY(-5px);
}

/* CTA Knapp  */
.header-cta-wrapper .btn {
    min-width: unset;
    padding: 1.5rem 2.5rem;
    margin: 0;
    line-height: 1;
    font-size: 1.5rem;
}

/* CTA sociala medier */
.cta-social-menu {
    display: flex;
    flex: 1 1 0px;
    justify-content: flex-end;
}

/* Mobilmeny */
.mobile-menu .header-logo img {
    padding: 3rem 0 2rem;
}

.mobile-menu .TemplateMenu a {
    font-size: 1.5rem;
}

.mobile-menu .header-cta-wrapper {
    margin-top: 3rem;
}

.mobile-menu .header-cta-wrapper .btn {
    padding: 1.5rem 2.5rem;
}

@media only screen and (max-width: 1200px) {
    .TemplateMenu a {
        margin: 0 1.5rem;
    }
}

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

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

/* Top-section
========================================================================== */
.top-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: rgb(var(--white-color), .5);
    margin-top: calc(var(--menu-height) * -1);
}

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

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

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

.top-section p {
    max-width: 60rem;
    margin: 0 auto;
}

.top-section .btn-primary-filled:hover {
    color: rgb(var(--white-color));
}

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

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

/* Sektion: Meny
========================================================================== */
.tab-container {
    padding: 5rem 7rem;
    margin-top: 4.5rem;
    outline: 1px solid rgb(var(--primary-color));
    outline-offset: -11px;
    border: 3px solid rgb(var(--primary-color));
    background-color: rgb(var(--white-color));
}

.tab-container .small-title {
    padding-bottom: 3.5rem;
}

/* Innehall */
.tab-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.tab-col {
    width: calc((100% / 2) - 2rem);
}

.tab-item {
    display: flex;
    flex-direction: column;
    padding-bottom: 4rem;
}

.tab-item .tab-title {
    display: flex;
    justify-content: space-between;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    letter-spacing: .2rem;
    line-height: 1.1;
    border-bottom: 1px dotted rgb(var(--gray-color));
}

.tab-item .price {
    padding-left: 1rem;
    font-size: 1.4rem;
}

.tab-item .description {
    font-size: 1.4rem;
}

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

    /* Innehall */
    .tab-col {
        width: 100%;
    }
}

@media only screen and (max-width:480px) {
    .tab-container {
        padding: 4rem;
    }

    /* Innehall */
    .tab-item .tab-title {
        font-size: 1.5rem;
    }

    .tab-item .description {
        font-size: 1.3rem;
    }
}

/* Sektion: Karta
========================================================================== */
/* Tar bort vitt mellanrum i botten av iframe-elementet */
.section-map iframe {
    display: block;
}

/* ==========================================================================
Footer
========================================================================== */
.footer {
    padding: 0 5rem;
    background-color: rgb(var(--gray-light-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: 10rem 0 0;
    margin-bottom: 7rem;
}

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

.footer .text-label {
    padding: 0 0 1.6rem;
    line-height: 1.4em;
}

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

.footer-submenu a {
    line-height: 3.2rem;
}

.footer-top li,
.footer-top p,
.footer-top a {
    text-decoration: none;
}

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

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

.footer-bottom p,
.footer-bottom a {
    font-size: 1.2rem;
    color: rgb(var(--black-color));
}

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

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

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

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

    .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: 550px) {
    .footer {
        padding: 0 2rem;
    }

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

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

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