/* Daraa AB (Piteå Salongen) */

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

/* ==========================================================================
Generellt
========================================================================== */
:root {
    /* 	Colors */
    --primary-color: 18, 42, 26;
    --secondary-color: 172, 149, 78;

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

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

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

    /* 	Mobile nav */
    --activate-mobile-menu: 1150;
    --mobile-menu-height: 6rem;
    --mobile-menu-bg: var(--primary-color);
    --menu-color: var(--white-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;
}

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

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

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

/* Ovrigt */
.justify-center {
    justify-content: center;
}

@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: 'DM Sans', sans-serif;
}

/* Rubriker */
.text-label {
    padding-bottom: 1em;
    font-size: 1.4rem;
    font-weight: 600;
    text-transform: uppercase;
    color: rgb(var(--secondary-color));
}

.section-title {
    padding-bottom: .5em;
    font-size: 4rem;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: .04em;
    text-transform: uppercase;
    font-family: "DM Serif Display", serif;
    color: rgb(var(--primary-color));
}

.small-title {
    padding-bottom: .3em;
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: .04em;
    text-transform: uppercase;
    font-family: "DM Serif Display", serif;
}

/* 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-bold {
    font-weight: 700;
}

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

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

    /* Rubriker */
    .section-title {
        font-size: 3.8rem;
    }

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

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

    /* Rubriker */
    .section-title {
        font-size: 2.5rem;
    }

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

    .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: 5px;
    font-size: 1.5rem;
    text-align: center;
    text-decoration: none;
    font-family: "DM Serif Display", serif;
    transition: all .4s ease;
}

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

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

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

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

/* 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(--secondary-color));
    transition: .3s ease;
}

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

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

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

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

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

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

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

/* Grafiska element
========================================================================== */
/* Box shadow */
.box-shadow {
    box-shadow: 0 1rem 3rem rgba(var(--black-color), .1);
}

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

.bg-image-wrapper,
.bg-video-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;
}

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

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

a.card-item {
    text-decoration: none;
}

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

.cards-grow .card-body {
    flex-grow: 1;
}

/* 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: 100%;
    margin: 1rem 0;
}

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

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

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

@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);
        margin: 1rem;
    }

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

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

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

/* Card 1-1 */
.card-1-1 .small-title {
    padding-bottom: 2rem;
    font-size: 2rem;
}

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

.card-1-1 .small-title {
    text-transform: none;
}

.card-1-1 .section-title {
    padding-bottom: 2rem;
}

/* Card 2-4 */
.card-2-4 .card-item {
    display: flex;
    align-items: center;
    transition: .3s ease;
}

.card-2-4 a.card-item:hover {
    background: rgb(var(--secondary-color));
}

.card-2-4 .card-header {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 7rem;
    height: 7rem;
    border-radius: 50%;
}

.card-2-4 .card-header i {
    font-size: 3rem;
}

.card-2-4 .card-body {
    flex: 1 1 0px;
    padding: 0 2rem;
}

.card-2-4 .text-small {
    font-size: 1.4rem;
}

/* Cards 3-5 */
.card-3-5 .card-item {
    position: relative;
}

.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), .4);
    transition: .3s ease;
}

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

.card-3-5 .card-body {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 30rem;
    border: 1px solid rgb(var(--white-color));
    border-bottom: none;
    border-radius: 5px 5px 0 0;
}

.card-3-5 .card-footer {
    z-index: 1;
    position: relative;
    display: flex;
    height: 3rem;
}

.card-3-5 .card-footer::before,
.card-3-5 .card-footer::after {
    position: relative;
    display: inline-block;
    content: '';
    flex: 1 1 0px;
    border-bottom: 1px solid rgb(var(--white-color));
    border-radius: 0 0 5px 5px;
}

.card-3-5 .card-footer::before {
    margin-right: 2rem;
    border-radius: 0 0 0 5px;
    border-left: 1px solid rgb(var(--white-color));
}

.card-3-5 .card-footer::after {
    margin-left: 2rem;
    border-radius: 0 0 5px 0;
    border-right: 1px solid rgb(var(--white-color));
}

.card-3-5 .arrow-link {
    align-self: flex-end;
    font-size: 1.4rem;
    transform: translateY(50%);
}

/* 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: 1300px) {
    .split-content {
        padding: 3rem;
    }
}

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

    .split-wrapper,
    .split-wrapper.reverse {
        flex-direction: column;
        background: transparent;
    }

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

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

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

    /* Split i full-width */
    .full-width .split-content {
        padding: 8rem 3rem;
    }
}

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

    /* Split i full-width */
    .full-width .split-content {
        padding: 5rem 2rem;
    }
}

/* Header / Navigation
========================================================================== */
header {
    background-color: rgb(var(--primary-color));
}

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

.header-logo img {
    padding: 0.5rem 0;
}

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

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

/* CTA  */
.header-cta-wrapper {
    position: relative;
    z-index: 9;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex: 1 1 0px;
    padding: 0;
    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;
}

/* Mobilmeny */
.mobile-menu .TemplateMenu li {
    padding: 0 2rem;
    text-align: center;
}

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

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

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

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

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

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

.top-section .small-title {
    display: block;
    font-size: 2.7rem;
}

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

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

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

    .top-section .small-title {
        font-size: 2.3rem;
        text-transform: none;
    }
}

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

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

/* Hero - Grundkod
========================================================================== */
.hero {
    display: flex;
    align-items: center;
    min-height: 50rem;
    padding-top: var(--menu-height);
    margin-top: calc(var(--menu-height) * -1);
    background-color: rgb(var(--black-color), .75);
}

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

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

.hero .small-title {
    display: block;
}

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

@media only screen and (max-width: 580px) {
    .hero {
        min-height: 30rem;
    }

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

/* ==========================================================================
Undersida: Vara tjäsnter: UUndersidor
========================================================================== */

/* Filtrering
========================================================================== */
/* Taggar */
.tags-heading {
    display: none;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.tag {
    padding: .3rem 1.5rem;
    margin: .6rem .5rem;
    font-size: 1.5rem;
    color: rgb(var(--white-color));
    background: rgb(var(--primary-color));
    cursor: pointer;
    transition: .5s ease;
}

.tag:hover,
.tag.tag-picked {
    background: rgb(var(--secondary-color));
}

.display-none {
    display: none !important;
}

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

    /* Taggar */
    .tags-wrapper {
        position: relative;
        max-width: 100%;
        background: rgb(var(--primary-color));
        cursor: pointer;
    }

    .tags-heading {
        display: block;
        width: 100%;
        padding: 1rem 2rem;
    }

    .tags-heading p {
        display: flex;
        justify-content: space-between;
        padding-bottom: 0;
        color: rgb(var(--white-color));
    }

    .tags-heading i {
        margin-left: 2rem;
    }

    .tags-list {
        display: none;
        z-index: 1;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        text-align: left;
        background: rgb(var(--white-color));
        box-shadow: 1px 1px 10px rgba(var(--black-color), .1);
    }

    .tags-wrapper.opened .tags-list {
        display: block;
    }

    .tags-wrapper .tag {
        display: block;
        padding: 1rem 2rem;
        margin: 0;
        letter-spacing: normal;
        text-transform: initial;
        box-shadow: none;
        border-radius: 0;
    }
}


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

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

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

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

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

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

.footer .text-label {
    padding: 0 0 1rem;
    line-height: 1;
    color: rgb(var(--white-color));
}

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

.footer-top li,
.footer-top p,
.footer-top a {
    text-decoration: none;
    color: rgb(var(--white-color));
}

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

/* 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(--white-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.4rem;
    line-height: 1.6;
    color: rgb(var(--white-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;
    filter: invert();
}

@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 0;
    }

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

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