/* Aremera AB */

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

/* ==========================================================================
Generellt
========================================================================== */
:root {
    /* 	Colors */
    --primary-color: 181, 208, 49;
    --secondary-color: 38, 103, 50;

    --black-color: 17, 17, 17;
    --gray-dark-color: 68, 68, 68;
    --gray-color: 189, 190, 192;
    --gray-light-color: 214, 214, 214;
    --white-color: 255, 255, 255;
    --beige-color: 248, 248, 248;

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

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

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

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

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

/* Ovriga klasser */
.align-center {
    align-items: 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: "Poppins", sans-serif;
}

/* Rubriker */
.text-label {
    padding-bottom: 2rem;
    font-size: 2rem;
    font-weight: 600;
    text-transform: lowercase;
}

.section-title {
    padding-bottom: 2rem;
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.4;
    color: rgb(var(--gray-dark-color));
    max-width: 90rem;
}

.small-title {
    padding-bottom: .3em;
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.4;
}

/* Brodtext och lankar */
p,
li {
    font-weight: 300;
    line-height: 1.7;
    color: rgb(var(--gray-dark-color));
}

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

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

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

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

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

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

/* Knappar */
.btn {
    min-width: 15rem;
    padding: 1.2rem 2rem;
    margin: 5px;
    font-size: 1.3rem;
    font-weight: 400;
    border-radius: 0.6rem;
    text-align: center;
    text-decoration: none;
    transition: all .4s ease;
}

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

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

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

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

@media only screen and (max-width: 550px) {
    .btn {
        display: block;
        margin-top: 1.5rem;
    }
}

/* Cirkelikon */
.circle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    padding: 0;
    margin: .3rem;
    font-size: 0;
    color: rgb(var(--black-color));
    background-color: rgb(var(--gray-color));
    text-decoration: none;
    border-radius: 50%;
    border: 1px solid rgb(var(--gray-color));
    transition: .3s ease;
}

.circle-icon:hover {
    background-color: rgb(var(--gray-light-color));
    border: 1px solid rgb(var(--gray-light-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-beige {
    background-color: rgb(var(--beige-color));
}

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

.bg-half-beige-gray {
    background: linear-gradient(to bottom, rgb(var(--beige-color))40%, rgb(var(--gray-color)) 40%);
}

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

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

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

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

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

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

@media only screen and (max-width: 900px) {
    .cards-wrapper.w-25 .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-25 .card-item {
        width: calc((100% / 2) - 2rem);
    }

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

@media only screen and (max-width: 520px) {
    .cards-wrapper.w-25 .card-item {
        width: 100%;
    }
}

/* Logos 1 */
.logos-1 .card-item {
    text-align: center;
    padding-bottom: 2rem;
}

.logos-1 img {
    width: 100%;
    max-width: 10rem;
    transition: 0.2s ease-in-out;
}

@media only screen and (max-width: 520px) {
    .logos-1 img {
        max-width: none;
        width: 15rem;
    }
}

/* 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: 1100px) {
    .split-wrapper,
    .split-wrapper.reverse {
        flex-direction: column;
        background: transparent;
    }

    .split-wrapper .align-center {
        align-self: flex-start;
    }

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

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


/* Header / Navigation
========================================================================== */
header {
    box-shadow: 0 0 3rem rgba(var(--black-color), .1);
}

header .container {
    max-width: 100%;
}

/* Nav */
.TemplateMenu a {
    font-weight: 400;
    font-size: 1.3rem;
}

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

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

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

.mobile-menu .TemplateMenu li {
    padding: 0 4rem;
}

.mobile-menu .TemplateMenu>li>a {
    line-height: 6rem;
}

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

/* Top-section
========================================================================== */
.top-section {
    position: relative;
    background-color: rgb(var(--black-color), .4);
}

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

.top-section .section-block-wrapper {
    max-width: 70rem;
    margin: 0;
}

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

@media only screen and (max-width: 800px) {
    .top-section .text-block {
        text-align: center;
    }

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

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

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

/* Tjanster
========================================================================== */
.section-favors .card-body {
    padding: 2rem 0 4rem 2rem;
}

@media only screen and (max-width: 750px) {
    .section-favors .image-wrapper {
        max-height: 35rem;
    }

    .section-favors .card-body {
        padding: 2rem 0;
    }
}

/* Samarbetsparnets och Partners & leverantorer
========================================================================== */
.section-cooporate .col-0,
.section-cooporate .col-1 {
    padding: 10rem 8rem;
}

.section-cooporate .col-0 {
    background-color: rgb(var(--beige-color));
}

.section-cooporate .col-0 ul {
    column-count: 2;
    column-gap: 4rem;
}

@media screen and (max-width: 1470px) {
    .section-cooporate .col-0,
    .section-cooporate .col-1 {
        padding: 8rem 5rem;
    }
}

@media screen and (max-width: 1100px) {
    .section-cooporate .col-0,
    .section-cooporate .col-1 {
        width: 100%;
        padding: 5rem;
    }
}

@media only screen and (max-width: 580px) {
    .section-cooporate .col-0,
    .section-cooporate .col-1 {
        padding: 5rem 2rem;
    }

    .section-cooporate .col-0 ul {
        column-count: 1;
        column-gap: 0;
    }
}

/* Kontakta oss
========================================================================== */
.section-contact .split-content {
    padding: 8rem;
}

@media screen and (max-width: 1470px) {
    .section-contact .split-content {
        padding: 5rem;
    }
}

@media screen and (max-width: 600px) {
    .section-contact .split-content {
        padding: 5rem 2rem;
    }
}

/* ==========================================================================
Footer
========================================================================== */
.footer {
    padding: 0 5rem;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 8rem 2rem 4rem;
}

.footer .text-label {
    font-size: 1.6rem;
    text-transform: none;
    padding-bottom: 1rem;
}

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

.footer li,
.footer p,
.footer a:not(.circle-icon) {
    font-size: 1.4rem;
    color: rgb(var(--gray-dark-color));
    text-decoration: none;
    transition: .2s ease;
}

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

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

/* Social icon */ 
.footer .circle-icon {
    color: rgb(var(--secondary-color));
    background-color: rgb(var(--primary-color));
    border: 1px solid rgb(var(--primary-color));
}

.footer .circle-icon:hover {
    color: rgb(var(--primary-color));
    background-color: rgb(var(--white-color));
    border: 1px solid rgb(var(--primary-color));
}

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

.footer-bottom p,
.footer-bottom a {
    padding-bottom: 0;
    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;
}

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

@media only screen and (max-width: 580px) {
    /* Footer top */
    .footer-top {
        display: block;
        padding: 6rem 0 3rem;
    }

    .footer-menu {
        padding-bottom: 2rem;
    }

    .footer-menu.socials ul {
        display: flex;
    }

    /* Footer bottom */
    .footer-bottom {
        padding: 1.5rem 0;
    }
}