/* Metafor Media AB (Ristoff) */

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

    /* 	Colors */
    --primary-color: 244, 195, 61;
    --primary-light-color: 254, 249, 236;
    --primary-medium-color: 249, 222, 149;

    --black-color: 17, 17, 17;
    --gray-dark-color: 58, 58, 58;
    --gray-color: 184, 182, 173;
    --gray-light-color: 240, 240, 240;
    --white-color: 255, 255, 255;

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

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

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

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

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

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

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

.pr-0 .section-block,
.pr-0:not(.section-wrapper) {
    padding-right: 0;
}

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

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

/* Margins */
.mt-3 {
    margin-top: 3rem;
}

.mt-10 {
    margin-top: 10rem;
}

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

@media only screen and (max-width: 1200px) {
    .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;
    font-size: 1.3rem;
    font-weight: 600;
    text-transform: uppercase;
}

.section-title {
    font-family: 'Prata', serif;
    font-size: 4rem;
    font-weight: 400;
    line-height: 1.2;
    padding-bottom: .5em;
}

.small-title {
    font-family: 'Prata', serif;
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.4;
    padding-bottom: .7em;
}

.ingress {
    font-family: 'Prata', serif;
    font-size: 1.7rem;
    font-weight: 400;
    line-height: 1.4;
    padding-bottom: .7em;
    margin-top: 1rem;
}

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

a:hover {
    text-decoration: none;
}

/* Listor */
.list-circle {
    padding: 0;
    list-style: none;
}

.list-circle li {
    margin-bottom: 5px;
}

.list-circle li::before {
    content: '\f111';
    padding: 0 1rem 0 0;
    color: rgb(var(--primary-color));
    font-weight: 700;
    font-size: .8rem;
    font-family: 'Font Awesome 5 Pro';
}

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

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

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

@media only screen and (max-width: 580px) {
    .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;
    font-size: 1.3rem;
    font-weight: 600;
    border-radius: 2px;
    text-align: center;
    text-decoration: none;
    transition: all .4s ease;
}

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

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

.btn-primary-filled,
.ContactSubmit {
    color: rgb(var(--white-color));
    border: 2px solid rgb(var(--primary-color));
    background-color: rgb(var(--primary-color));
}
.btn-fixed {
    position: fixed;
    bottom: 2rem; 
    right: 2rem;  
    z-index: 999;
}
/* Arrow link */
.arrow-link {
    padding-right: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
    color: rgb(var(--gray-dark-color));
    text-transform: uppercase;
    text-decoration: none;
}

.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;
}

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

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

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

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

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

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

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

/* Rander som bakgrund över hela hemsidan */
body::after {
    z-index: -1;
    content: '';
    position: fixed;
    display: block;
    top: 0;
    left: 50%;
    height: 100vh;
    width: 100%;
    max-width: var(--section-width);
    transform: translateX(-50%);
    background-image: url(/assets/images/graphics/border-gray-right.svg);
    background-size: 25%;
    border-left: 1px solid rgb(var(--gray-color), .2);
    pointer-events: none;
    opacity: .2;
}

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

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

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

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

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

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

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

@media only screen and (max-width: 1050px) {
    .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;
    }

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

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

    /* Paddings */
    .card-item.p-5,
    .card-item .p-5 {
        padding: 2rem;
    }

    .card-item.p-3,
    .card-item .p-3 {
        padding: 2rem 0;
    }
}

/* Card 1-1 */
@media only screen and (max-width: 1100px) {
    .card-1-1 .section-title {
        font-size: 2.5rem;
    }
}

/* Card 2-4 */
.card-2-4 .card-item {
    display: flex;
}

.card-2-4 a.card-item:hover {
    background: rgb(var(--gray-light-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;
}

/* Card 3-1 */
.card-3-1 .image-wrapper {
    position: relative;
    width: 100%;
}

.card-3-1 .image-wrapper::after {
    content: '';
    display: block;
    padding-bottom: 100%;
}

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

/* 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-top: 3rem;
        padding-bottom: 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;
    }
}


/* Header / Navigation
========================================================================== */
header {
    border-bottom: 1px solid transparent;
    background-color: transparent;
}

header.scrolled {
    border-color: rgb(var(--gray-color));
    background-color: rgb(var(--white-color));
}

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

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

.header-logo a {
    font-family: 'Prata', serif;
    font-size: 1.5rem;
    text-transform: uppercase;
    text-decoration: none;
}

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

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

/* Top-section
========================================================================== */
.top-section {
    margin-top: calc(-1 * var(--menu-height) - 1px);
    background-image: linear-gradient(90deg,
            rgba(var(--white-color), .9) 0%,
            rgba(var(--white-color), .6) 50%,
            rgba(var(--white-color), 0) 100%), url('/assets/images/gallery/abstrakt/arkivbild-1000px.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.top-section .section-block {
    display: flex;
    align-items: center;
    min-height: 100vh;
}

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

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

.top-section .arrow-link {
    text-transform: none;
}

.top-section .bg-image-wrapper img {
    object-position: center;
}

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




/* Aktuellt
========================================================================== */
.section-scroll {
    overflow: hidden;
}

/* Slider */
.scroll-wrapper.cards-wrapper {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 5rem;
}

.scroll-wrapper.cards-wrapper .slick-list {
    width: 100%;
    overflow: visible;
}

.scroll-wrapper.cards-wrapper .slick-track {
    display: flex;
}

.scroll-wrapper.cards-wrapper .card-item {
    display: flex;
    height: auto;
}

.scroll-wrapper.cards-wrapper .card-item[aria-hidden="true"] {
    opacity: .5;
    transform: scale(.9);
}

/* Card item */
.scroll-wrapper .card-item {
    display: flex;
    flex-direction: column;
    margin: 0 2rem 0 0;
}

/* Slick Arrow */
.scroll-wrapper .slick-arrow {
    position: absolute;
    top: auto;
    bottom: -4rem;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: rgb(var(--primary-color));
}

.scroll-wrapper .slick-arrow::after {
    font-weight: 300;
    color: rgb(var(--white-color));
}

.scroll-wrapper .slick-next {
    right: 2rem;
}

.scroll-wrapper .slick-prev {
    left: auto;
    right: 6rem;
}

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

/* Hero - Grundkod
========================================================================== */
.hero {
    background-image: url('/assets/images/gallery/abstrakt/arkivbild-1000px.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.hero .section-block {
    display: flex;
    align-items: center;
    min-height: 40rem;
    background: linear-gradient(90deg, rgba(var(--white-color), .9) 0%, rgba(var(--white-color), .6) 50%, rgba(var(--white-color), 0) 100%);
}

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

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

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

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


/* ==========================================================================
Undersida: Abstrakt
========================================================================== */

/* Filtrering
========================================================================== */

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

.tags-list {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    justify-content: center;
    margin-top: 4rem;
}

.tag {
    padding: .3rem 1.5rem;
    margin: .6rem .5rem;
    font-size: 1.5rem;
    border: 1px solid rgb(var(--primary-color));
    border-radius: 2rem;
    cursor: pointer;
    transition: .5s ease;
}

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

@media only screen and (max-width:580px) {
    /* Taggar */
    .tags-wrapper {
        position: relative;
        max-width: 100%;
        background: rgb(var(--primary-color));
        cursor: pointer;
        margin: auto;
        margin-top: 4rem;
        margin-bottom: 2rem;
    }

    .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: Om konstnaren
========================================================================== */

/* Tidigare utstallningar
========================================================================== */
.book {
    column-count: 3;
    column-gap: 5rem;
}

.book * {
    break-inside: avoid-column;
}

@media only screen and (max-width: 1150px) {
    .book {
        column-count: 2;
    }
}

@media only screen and (max-width: 580px) {
    .book {
        column-count: 1;
    }
}

/* ==========================================================================
Undersida: Aktuellt
========================================================================== */
.section-latest .split-image {
    padding-left: 1rem;
}

@media only screen and (max-width: 1000px) {
    .section-latest .split-image {
        padding-left: 0;
    }
}

/* ==========================================================================
Undersida: Kontakt
========================================================================== */
/* Kolumn 1 */
.section-contact .col-1 {
    position: relative;
    max-width: 50rem;
    padding: 3rem;
    margin-top: -20rem;
    background: rgb(var(--white-color));
    box-shadow: 0 1rem 3rem rgba(var(--black-color), .1);
}

.ContactForm p {
    line-height: 1.8;
    font-weight: 600;
    font-size: 1.5rem;
}

.ContactForm input[type="text"],
.ContactForm textarea {
    border-color: rgb(var(--gray-dark-color));
}

.ContactSubmit:hover {
    background-color: transparent;
    border: 2px solid rgb(var(--primary-color));
    color: rgb(var(--primary-color));
}

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

    .section-contact .col-0,
    .section-contact .col-1 {
        width: 100%;
    }

    .section-contact .col-1 {
        margin-top: 5rem;
    }
}

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

.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 10rem;
}

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

.footer-menu-large {
    --base-size: 1.3rem;
    width: 30%;
}

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

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

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

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

/* WebbEss Stamp  */
.footer .webbess-stamp {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font-size: var(--base-size);
}

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

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

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

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

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

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

    /* Footer top */
    .footer-menu {
        width: 100%;
        order: 0;
    }

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

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

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

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