/* Widgren Ekonomi Konsult AB */

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

/* ==========================================================================
Generellt
========================================================================== */
:root {
    /* Colors */
    --primary-color: 32, 53, 41;
    --secondary-color: 156, 123, 61;
    --secondary-light-color: 204, 180, 135;

    --accent-beige-color: 243, 236, 231;
    --accent-beige-light-color: 247, 244, 242;

    --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: 8.5rem;
    --menu-height-scrolled: 8.5rem;

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

    /* Mobile nav */
    --activate-mobile-menu: 1100;
    --mobile-menu-height: 6.5rem;
    --mobile-menu-bg: var(--accent-beige-light-color);
    --menu-color: var(--primary-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;
}

.py-1 .section-block,
.py-1:not(.section-wrapper) {
    padding-right: 1rem;
    padding-left: 1rem;
}

.py-3 .section-block,
.py-3:not(.section-wrapper) {
    padding-right: 3rem;
    padding-left: 3rem;
}

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

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

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

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

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

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

/* Specifika bredder */
.mw-50 {
    max-width: 50rem;
}

/* Ovriga klasser */

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

/* Rubriker */
.text-label {
    padding-bottom: 1em;
    font-size: 1.4rem;
    font-weight: 500;
    text-transform: uppercase;
}

.section-title {
    padding-bottom: .3em;
    font-size: 4.5rem;
    font-weight: 400;
    line-height: 1.1;
    font-family: 'EB Garamond', serif;
}

.small-title {
    padding-bottom: .3em;
    font-size: 2.8rem;
    font-weight: 200;
    line-height: 1.4;
    font-family: 'EB Garamond', serif;
}

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

.ingress {
    font-size: calc(var(--base-size) * 1.2);
}

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

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

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

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

.text-uppercase {
    text-transform: uppercase;
}

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

/* Listor */
.list-check li::before {
    position: absolute;
    content: "\f00c";
    display: flex;
    justify-content: center;
    align-items: center;
    top: .3rem;
    left: -4rem;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    font-family: "Font Awesome 5 Pro";
    font-weight: 400;
    font-size: 1.2rem;
    color: rgb(var(--secondary-color));
    background-color: rgb(var(--accent-beige-color));
}

.list-check {
    display: flex;
    flex-direction: column;
    list-style: none;
}

.list-check li {
    position: relative;
    margin-bottom: .5rem;
}

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

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

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

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

    /* Rubriker */
    .text-label {
        font-size: 1.2rem;
    }

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

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

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

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

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

.btn::after {
    content: ' \f061';
    display: inline-block;
    margin-left: 1.5rem;
    font-weight: 100;
    font-family: 'Font Awesome 5 Pro';
    transition: transform .4s ease;
}

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

.btn-primary-filled,
.ContactSubmit {
    color: rgb(var(--accent-beige-light-color));
    border-color: rgb(var(--primary-color));
    background-color: rgb(var(--primary-color));
}

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

.btn-primary-border {
    color: rgb(var(--primary-color));
    border-color: rgb(var(--primary-color));
    background-color: transparent;
}

.btn-primary-border:hover {
    color: rgb(var(--accent-beige-light-color));
    border-color: rgb(var(--primary-color));
    background-color: rgb(var(--primary-color));
}

.btn-secondary-border {
    color: rgb(var(--secondary-color));
    border-color: rgb(var(--secondary-color));
    background-color: transparent;
}

.btn-secondary-border:hover {
    color: rgb(var(--accent-beige-light-color));
    background-color: rgb(var(--secondary-color));
    border-color: rgb(var(--secondary-color));
}

/* Arrow link */
.arrow-link {
    padding-right: 1rem;
    color: rgb(var(--gray-dark-color));
    text-decoration: none;
    font-weight: 300;
}

.arrow-link:not(.text-small) {
    font-size: var(--base-size);
}

.arrow-link::after {
    content: ' \f061';
    display: inline-block;
    margin-left: 1rem;
    font-weight: 300;
    font-size: 1.5rem;
    font-family: 'Font Awesome 5 Pro';
    transition: transform .4s ease;
}

.arrow-link:hover::after,
a.card-item:hover .arrow-link::after {
    transform: translateX(1rem);
    transition: transform .4s ease;
}

/* Farger
========================================================================== */
body {
    background-color: rgb(var(--accent-beige-light-color));
}

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

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

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

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

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

.text-beige-light {
    color: rgb(var(--accent-beige-light-color));
}

/* Grafiska element
========================================================================== */
/* Borders */
.border-right-secondary {
    border-right: 1px solid rgb(var(--secondary-color));
}

.border-left-secondary {
    border-left: 1px solid rgb(var(--secondary-color));
}

/* Border radius */
.br-05 {
    border-radius: .5rem;
    overflow: hidden;
}

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

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-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-100 .card-item {
    width: 100%;
    margin: 1rem 0;
}

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

    /* Bredder */
    .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-33 .card-item,
    .cards-wrapper.w-50 .card-item {
        width: 100%;
        margin: 1rem 0;
    }
}

/* Card 2-1 */
.card-2-1 .card-header {
    font-size: 4.7rem;
    line-height: 1;
}

.card-2-1 a.card-item.bg-beige-light:hover {
    background-color: rgb(var(--primary-color));
}

.card-2-1 a.card-item.bg-beige-light:hover .card-body p {
    color: rgb(var(--accent-beige-color));
}

@media only screen and (max-width: 1050px) {
    .card-2-1 .card-header {
        font-size: 4.2rem;
    }
}

@media only screen and (max-width: 580px) {
    .card-2-1 .card-header {
        font-size: 3.8rem;
    }
}

/* Card-list */
@media only screen and (max-width: 750px) {
    .cards-wrapper.card-list .card-item {
        margin: 1rem 0 0;
    }

    .card-list .card-item:last-child {
        margin-top: 0;
    }
}

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

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

/* Header / Navigation
========================================================================== */
header:not(.scrolled) {
    border-color: transparent;
    background: linear-gradient(to bottom, rgba(var(--accent-beige-color), .5) 45%, rgba(var(--accent-beige-color), .3) 80%, rgba(var(--accent-beige-color), .1) 95%, transparent 100%);
}

header.scrolled {
    background: rgb(var(--accent-beige-color));
    border-bottom: 1px solid rgba(var(--secondary-color), .3);
}

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

.header-logo a {
    display: flex;
    color: rgb(var(--primary-color));
    text-decoration: none;
    text-transform: uppercase;
    font-family: 'EB Garamond', serif;
    line-height: 1;
    font-weight: 400;
}

.header-logo .logo-icon {
    font-size: 6rem;
    margin-top: -.8rem;
}

.header-logo .logo-text-wrapper {
    border-left: 1px solid rgb(var(--secondary-color));
    padding-left: 1.5rem;
    margin-left: 1.5rem;
}

.header-logo .logo-text-wrapper .logo-top {
    display: block;
    font-size: 2.5rem;
}

.header-logo .logo-text-wrapper .logo-bottom {
    display: block;
    font-size: 1.9rem;
    margin-top: .3rem;
}

.header-logo .logo-text-wrapper .tagline {
    display: block;
    color: rgb(var(--secondary-color));
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 1.5px;
    margin-top: .7rem;
    font-family: 'Google Sans Flex', serif;
}

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

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

/* Dolj hem */
body:not(.EditMode) .TemplateMenu>li:nth-child(1) {
    display: none;
}

/* Mobilmeny */

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

    /* Header logo */
    .header-logo .logo-icon {
        font-size: 4.7rem;
        margin-top: -.6rem;
    }

    .header-logo .logo-text-wrapper {
        padding-left: 1.2rem;
        margin-left: 1.2rem;
    }

    .header-logo .logo-text-wrapper .logo-top {
        font-size: 2rem;
    }

    .header-logo .logo-text-wrapper .logo-bottom {
        font-size: 1.5rem;
        margin-top: .2rem;
    }

    .header-logo .logo-text-wrapper .tagline {
        font-size: .7rem;
        margin-top: .5rem;
    }
}

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

/* Top-section
========================================================================== */
.top-section {
    display: flex;
    align-items: center;
    min-height: 90vh;
    padding-top: var(--menu-height);
    margin-top: calc(-1 * var(--menu-height));
    background: linear-gradient(90deg, rgba(var(--accent-beige-color), .9) 40%, rgba(var(--accent-beige-color), .5) 60%, rgba(var(--accent-beige-color), .2) 100%);
}

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

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

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

.top-section p {
    max-width: 55rem;
}

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

@media only screen and (max-width: 780px) {
    .top-section {
        background: linear-gradient(90deg, rgba(var(--accent-beige-color), .9) 40%, rgba(var(--accent-beige-color), .3) 100%);
    }
}

@media only screen and (max-width: 580px) {
    .top-section {
        background: linear-gradient(90deg, rgba(var(--accent-beige-color), .9) 40%, rgba(var(--accent-beige-color), .4) 100%);
    }

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

/* Tjanster (.section-services)
========================================================================== */
@media only screen and (max-width: 1050px) {
    .section-services .cards-wrapper.w-33 .card-item {
        width: 100%;
        margin: 1rem 0;
    }

    .section-services .cards-wrapper.w-33 .card-item:not(:last-child) {
        border-bottom: 1px solid rgb(var(--secondary-color));
        padding-bottom: 2rem;
    }

    .section-services .card-item.border-right-secondary.border-left-secondary {
        border: none;
    }

    .section-services .card-item.py-3 {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .section-services .card-item p {
        max-width: 50rem;
        margin: 0 auto;
    }
}

/* CTA-sektion
========================================================================== */
.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;
}

.cta-wrapper .btn:not(:hover) {
    color: rgb(var(--secondary-light-color));
}

@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: flex-end;
    min-height: 35rem;
    margin-top: calc(var(--menu-height) * -1);
    background: linear-gradient(90deg, rgba(var(--accent-beige-color), .9) 40%, rgba(var(--accent-beige-color), .5) 60%, rgba(var(--accent-beige-color), .2) 100%);
}

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

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

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

@media only screen and (max-width: 780px) {
    .hero {
        background: linear-gradient(90deg, rgba(var(--accent-beige-color), .9) 40%, rgba(var(--accent-beige-color), .3) 100%);
    }
}

@media only screen and (max-width: 580px) {
    .hero {
        min-height: 28rem;
        background: linear-gradient(90deg, rgba(var(--accent-beige-color), .9) 40%, rgba(var(--accent-beige-color), .4) 100%);
    }

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

/* ==========================================================================
Undersida: Kontakt
========================================================================== */

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

/* Formular */
.asterisk p:after {
    line-height: 1;
    color: rgb(var(--primary-color));
}

.ContactForm input[type="text"],
.ContactForm input[type="number"],
.ContactForm input[type="email"],
.ContactForm input[type="tel"],
.ContactForm input[type="date"],
.ContactForm input[type="datetime-local"],
.ContactForm select,
.ContactForm textarea,
.ContactForm .file-item,
.ContactForm .file-dropzone {
    border: none;
    border-bottom: 1px solid rgb(var(--secondary-color));
}

.ContactForm input[type="text"]:not(.illegal),
.ContactForm input[type="number"]:not(.illegal),
.ContactForm input[type="email"]:not(.illegal),
.ContactForm input[type="tel"]:not(.illegal),
.ContactForm input[type="date"]:not(.illegal),
.ContactForm input[type="datetime-local"]:not(.illegal),
.ContactForm select:not(.illegal),
.ContactForm textarea:not(.illegal),
.ContactForm .file-dropzone:not(.illegal) {
    background-color: transparent;
}

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

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

/* Footer header */
.footer-header {
    width: 100%;
    padding-bottom: 3rem;
}

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

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

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

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

.footer .small-title {
    padding: 0 0 1rem;
    font-size: 2.2rem;
    line-height: 1;
    color: rgb(var(--primary-color));
}

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

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

.footer a:not(.icon-links):hover {
    text-decoration: none;
    color: rgba(var(--secondary-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(--secondary-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;
    font-weight: 300;
}

.footer .webbess-stamp:not(:hover) {
    color: rgb(var(--gray-dark-color));
}

.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,
    .footer-menu-large {
        width: 100%;
    }

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

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

    /* Footer header */
    .footer-header p {
        font-size: 1.7rem;
    }

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

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

    .footer-bottom p {
        text-align: center;
    }

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