/* Consoli Consulting AB */

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

/* ==========================================================================
Generellt
========================================================================== */
:root {
    /* 	Colors */
    --primary-color: 240, 69, 138;
    --primary-light-color: 245, 204, 220;

    --black-color: 17, 17, 17;
    --gray-dark-color: 58, 58, 58;
    --gray-color: 222, 224, 224;
    --gray-light-color: 240, 242, 244;
    --white-color: 255, 255, 255;

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

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

    /* 	Mobile nav */
    --activate-mobile-menu: 1024;
    --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-3 .section-block,
.p-3:not(.section-wrapper) {
    padding: 3rem;
}

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

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

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

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

/* Ovriga klasser */
.mw-35 {
    max-width: 35rem;
}

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

/* Rubriker */
.text-label {
    font-size: 1.4rem;
    font-weight: 600;
    text-transform: uppercase;
}

.section-title {
    padding-bottom: .5em;
    font-size: 4rem;
    font-weight: 500;
    line-height: 1.2;
    font-family: 'Outfit', sans-serif;
    color: rgb(var(--black-color));
}

.small-title {
    padding-bottom: .3em;
    font-size: 3rem;
    font-weight: 500;
    line-height: 1.4;
    font-family: 'Outfit', sans-serif;
    color: rgb(var(--black-color));
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* Sektion eller kort lankar */
.section-link-target {
    scroll-margin-top: 100px;
}

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

/* Gradients */
.bg-gradient-white-gray {
    background: linear-gradient(to top, rgb(var(--gray-light-color)) 50%, rgb(var(--white-color)) 50%);
}

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

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

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

/* Grafiska element
========================================================================== */
/* Borders */
.border-left-primary {
    border-left: 3px solid rgb(var(--primary-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 {
    text-decoration: none;
    border-radius: 2rem;
}

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

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

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

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

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

@media only screen and (max-width: 580px) {
    .cards-wrapper .p-3 {
        padding: 2rem;
    }
}

/* Card 1-1 */
.card-1-1 .card-item {
    position: relative;
    overflow: hidden;
}

.card-1-1 a.card-item:hover .icon-wrapper i {
    color: rgb(var(--primary-color));
}

.card-1-1 .icon-wrapper {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    z-index: 0;
}

.card-1-1 .card-body {
    position: relative;
    z-index: 1;
}

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

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

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

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

@media only screen and (max-width: 480px) {
    .card-2-4 .card-item {
        flex-direction: column;
    }

    .card-2-4 .card-header {
        width: 5rem;
        height: 5rem;
    }

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

/* Card 3-6 */
.card-3-6 .card-item {
    position: relative;
    padding: 0 2rem 2rem;
    min-height: 25rem;
    border-radius: 2rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

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

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

.card-3-6 .card-body {
    z-index: 1;
    position: relative;
}

.card-3-6 .small-title {
    font-size: 2.5rem;
}

/* Split wrapper
========================================================================== */
.split-wrapper {
    display: flex;
    flex-wrap: wrap;
    border-radius: 2rem;
    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: 4rem;
    }
}

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

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

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

    .split-image {
        width: 100%;
        border-radius: 0 0 2rem 2rem;
    }

    /* 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) {
    border: transparent;
    background-color: transparent;
}

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

.header-logo a {
    font-size: 2.5rem;
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    color: rgb(var(--primary-color));
    text-transform: uppercase;
}

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

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

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

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

/* CTA */
.header-cta-wrapper {
    position: relative;
    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;
}

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

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

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

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

    /* CTA */
    .header-cta-wrapper {
        margin: 0 0 0 1rem;
    }

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

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

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

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

/* Top-section
========================================================================== */
.top-section {
    display: flex;
    align-items: center;
    min-height: 100dvh;
    padding-top: var(--menu-height);
    margin-top: calc(var(--menu-height) * -1);
    background-color: rgb(var(--black-color), .5);
    background-image: url(/assets/images/graphics/wave.svg);
    background-size: 100% 8rem;
    background-repeat: no-repeat;
    background-position: center bottom;
}

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

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

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

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

@media only screen and (max-width: 580px) {
    .top-section {
        padding-bottom: 10rem;
        background-size: 100% 5rem;
    }

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

/* Vara tjanster
========================================================================== */
.section-services .card-1-1 .card-item {
    min-height: 32rem;
}

.section-services .card-1-1 .icon-wrapper i {
    font-size: 20rem;
}

@media only screen and (max-width: 1000px) {
    .section-services .card-1-1 .icon-wrapper i {
        font-size: 17rem;
    }
}

@media only screen and (max-width: 780px) {
    .section-services .card-1-1 .card-item {
        min-height: 25rem;
    }

    .section-services .card-1-1 .icon-wrapper i {
        font-size: 15rem;
    }
}

/* Varfor valja Er Besiktningsman?
========================================================================== */
.section-value .col-0 {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-value .section-title {
    font-size: 7rem;
}

.section-value .cards-wrapper {
    border-radius: 2rem;
}

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

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

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

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

/* Slider */
.scroll-wrapper.cards-wrapper {
    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;
    margin: 0 1rem;
    transition: all .3s ease;
}

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

.scroll-wrapper.cards-wrapper .card-item img {
    border-radius: 2rem;
}

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

@media only screen and (max-width: 750px) {
    .scroll-wrapper.cards-wrapper .card-item {
        margin: 0;
    }
}

/* CTA
========================================================================== */
.cta-wrapper {
    padding: 8rem 3rem;
    border-radius: 2rem;
    background-image: linear-gradient(to right, rgb(var(--black-color), .5), rgb(var(--black-color), .3)), url('/assets/images/lagenheter-2000px.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

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

@media only screen and (max-width: 1000px) {
    .cta-wrapper {
        flex-wrap: wrap;
    }

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

@media screen and (max-width: 580px) {
    .cta-wrapper {
        padding: 8rem 2rem 2rem;
    }
}

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

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

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

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

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

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

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

/* ==========================================================================
Undersida: Vara tjanster
========================================================================== */

/* Split wrapper med ikon */
.split-wrapper.split-icon .split-content {
    position: relative;
    overflow: hidden;
    height: -webkit-fill-available;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.split-wrapper.split-icon .icon-wrapper {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    z-index: 0;
}

.split-wrapper.split-icon .icon-wrapper i {
    font-size: 30rem;
    opacity: .4;
}

.split-wrapper.split-icon .text-block {
    position: relative;
    z-index: 1;
}

@media only screen and (max-width: 580px) {
    .split-wrapper.split-icon .icon-wrapper i {
        font-size: 23rem;
    }
}

@media only screen and (max-width: 480px) {
    .split-wrapper.split-icon .icon-wrapper i {
        font-size: 19rem;
    }
}

/* ==========================================================================
Undersida: Kontakta oss
========================================================================== */
/* Card 1-1 */
.section-contact .card-1-1 .icon-wrapper i {
    font-size: 11rem;
}

.section-contact .card-1-1 .small-title {
    font-size: 1.8rem;
}

@media only screen and (max-width: 750px) {
    .section-contact .card-1-1 .small-title {
        font-size: var(--base-size);
    }
}

@media only screen and (max-width: 580px) {
    .section-contact .card-1-1 .icon-wrapper i {
        font-size: 9rem;
    }
}

/* Kontaktformular */
.ContactForm {
    padding: 3rem;
    background-color: rgb(var(--gray-light-color));
    border-radius: 2rem;
}

.ContactForm p {
    color: rgb(var(--black-color));
    font-size: 1.4rem;
}

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

.ContactForm input[type="text"],
.ContactForm input[type="email"],
.ContactForm input[type="tel"],
.ContactForm select,
.ContactForm textarea {
    border: none;
    border-radius: 2rem;
}

.ContactForm input[type="text"]:not(.illegal),
.ContactForm input[type="email"]:not(.illegal),
.ContactForm input[type="tel"]:not(.illegal),
.ContactForm select:not(.illegal),
.ContactForm textarea:not(.illegal) {
    background-color: rgb(var(--white-color));
}

.ContactForm textarea {
    height: 15rem;
}

@media only screen and (max-width: 580px) {
    .ContactForm {
        padding: 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;
    border-bottom: 1px solid rgb(var(--primary-color));
}

.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:not(.icon-links):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;
}

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