/* Alexander Taube Media & Varor */

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

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

    --black-color: 17, 17, 17;
    --gray-dark-color: 58, 58, 58;
    --gray-color: 130, 130, 130;
    --gray-light-color: 243, 241, 237;
    --white-color: 255, 255, 255;

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

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

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

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

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

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

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

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

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

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

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

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

.small-title {
    padding-bottom: .3em;
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.4;
    font-family: 'Playfair 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;
}

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

@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 */
    .text-label {
        font-size: 1.2rem;
    }

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

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

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

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

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

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

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

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

/* Knapp med nerat pil */
.btn.arrow-down::after {
    content: ' \f107';
    display: inline-block;
    margin-left: .8rem;
    font-family: 'Font Awesome 5 Pro';
    transition: transform .4s ease;
}

/* Arrow link */
.arrow-link {
    padding-right: 1rem;
    font-size: var(--base-size);
    color: rgb(var(--primary-color));
    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;
}

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

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

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

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

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

/* Grafiska element
========================================================================== */
.border-bottom-gray {
    border-bottom: 1px solid rgb(var(--gray-light-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%;
}

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

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

.card-item {
    border-radius: .5rem;
}

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

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

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

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

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

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

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

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

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

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

/* Card 3-6 */
.card-3-6 .card-item {
    padding: 20rem 2rem 2rem;
}

.card-3-6 .image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: .5rem;
}

.card-3-6 .image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(var(--black-color), .3);
}

.card-3-6 .card-item:hover img {
    transform: scale(1.03);
    transition: .3s ease;
}

.card-3-6 .card-body {
    z-index: 1;
    position: relative;
    border-radius: .5rem;
}

.card-3-6 .card-body .btn {
    margin: 0;
}

/* Split wrapper
========================================================================== */
.split-wrapper {
    display: flex;
    flex-wrap: wrap;
    border-radius: .5rem;
    overflow: hidden;
}

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

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

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

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

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

.header-logo a {
    font-size: 3rem;
    color: rgb(var(--primary-color));
    text-decoration: none;
    font-family: 'Playfair Display', serif;
}

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

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

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

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

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

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

header:not(.scrolled) .header-cta-wrapper .btn:hover {
    color: rgb(var(--white-color))
}

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

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

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

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

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

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

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

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

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

.top-section p {
    max-width: 40rem;
    color: rgb(var(--white-color));
}

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

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

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

/* Vara produkter
========================================================================== */
.special-widths .card-item {
    width: calc(40% - 2rem);
    margin: 2rem 0 0 2rem;
}

.special-widths .card-item:nth-child(2),
.special-widths .card-item:nth-child(3) {
    width: calc(60% - 2rem);
}

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

    .special-widths .card-item,
    .special-widths .card-item:nth-child(2),
    .special-widths .card-item:nth-child(3) {
        width: 100%;
        margin: 0 0 2rem;
    }

    .special-widths .card-item.card-cta {
        padding: 10rem 2rem 2rem;
    }
}

@media only screen and (max-width: 580px) {
    .special-widths .card-item.card-cta .card-body {
        padding: 0
    }
}

/* CTA
========================================================================== */
.cta-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.cta-wrapper .text-block {
    max-width: 65rem;
}

.cta-wrapper .btn-wrapper {
    margin-top: 0;
}

@media only screen and (max-width: 1000px) {
    .cta-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    .cta-wrapper .btn-wrapper {
        margin-top: 2rem;
    }
}

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

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

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

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

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

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

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

/* ==========================================================================
Undersida: Vara produkter
========================================================================== */
/* Slider */
.section-product img {
    border-radius: .5rem;
}

.section-product .single-image-slider {
    position: relative;
}

.section-product .single-image-slider a {
    display: block;
    position: relative;
}

.section-product .single-image-slider p {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    padding: .5rem 3rem;
    background: rgb(var(--white-color));
    border-radius: .5rem .5rem 0 0;
    text-align: center;
}

.section-product .slick-dots {
    margin-top: 1.5rem;
    padding: 0;
}

.section-product .slick-dots li.slick-active::before {
    font-size: 1.2rem;
}

/* Produktinformation */
.section-product.align-center .section-block-wrapper {
    align-items: center;
}

@media only screen and (max-width: 980px) {
    .section-product .product-info-wrapper {
        padding: 3rem 4rem 0;
    }
}

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

@media only screen and (max-width: 400px) {
    .section-product .product-info-wrapper {
        padding: 1rem 0 0;
    }
}

/* ==========================================================================
Undersida: Kontakt
========================================================================== */
/* Kolumn 1 - med formular */
.section-contact .col-1 {
    padding: 0;
    border-radius: 1rem;
    box-shadow: 0 1rem 3rem rgba(var(--black-color), .1);
    overflow: hidden;
}

/* Formular */
.ContactForm {
    padding: 4rem 3rem 3rem;
}

.ContactForm input[type="text"],
.ContactForm input[type="email"],
.ContactForm input[type="tel"],
.ContactForm textarea {
    border: none;
    border-bottom: 1px solid rgb(var(--primary-color));
}

.ContactForm textarea {
    height: 15rem;
}

.ContactForm .submit-button-container,
.ContactForm .ContactSubmit {
    margin-bottom: 0;
}

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

    /* Kolumn 1 - med formular */
    .section-contact .col-1 {
        margin: 4rem auto 0;
    }
}

@media only screen and (max-width: 580px) {
    /* Kolumn 1 - med formular */
    .section-contact .col-1 {
        margin: 3rem auto 0;
    }

    /* Formular */
    .ContactForm {
        padding: 3rem 2rem 2rem;
    }
}

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

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

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

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

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

.footer-bottom p,
.footer-bottom a {
    font-size: 1.4rem;
    line-height: 1.6;
}

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

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

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