/* Outsource i Malmo AB */

/* Animationer */
@import url('https://unpkg.com/aos@2.3.1/dist/aos.css');

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

    /* 	Colors */
    --primary-color: 56, 86, 106;

    --black-color: 17, 17, 17;
    --gray-dark-color: 102, 102, 102;
    --gray-color: 58, 58, 58;
    --gray-light-color: 240, 240, 240;
    --white-color: 255, 255, 255;

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

    /* 	Mobile nav */
    --activate-mobile-menu: 1000;
    --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.6rem;
    }
}

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

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

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

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

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

/* Ovriga klasser */
.justify-center {
    justify-content: 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: 'Raleway', sans-serif;
}

/* Rubriker */
.section-title {
    padding-bottom: .4em;
    font-size: 4rem;
    font-weight: 600;
    line-height: 1.2;
    color: rgb(var(--gray-dark-color));
}

.small-title {
    padding-bottom: .3em;
    font-size: 2.3rem;
    font-weight: 600;
    line-height: 1.4;
    color: rgb(var(--black-color));
}

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

a {
    font-weight: 500;
}

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

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

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

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

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

/* 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;
    font-size: 1.3rem;
    font-weight: 600;
    border-radius: 2rem;
    text-align: center;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    font-family: inherit;
    transition: all .4s ease;
}

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

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

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

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

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

/* Lank med ikon */
.icon-links {
    padding: 5px 10px;
    font-size: 1.4rem;
    color: rgb(var(--white-color));
    line-height: 1;
    border-radius: 2rem;
    text-decoration: none;
    transition: all .3s ease;
}

.icon-links:hover {
    text-decoration: none;
    color: rgb(var(--black-color));
    background-color: rgb(var(--white-color));
}

/* Fyrkantig ikon */
.square-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    padding: 0;
    margin: .5rem;
    font-size: 0;
    color: rgb(var(--primary-color));
    text-decoration: none;
    border-radius: 3px;
    border: 1px solid rgb(var(--white-color));
    background-color: rgb(var(--white-color));
    transition: .3s ease;
}

.square-icon:hover {
    color: rgb(var(--white-color));
    background-color: rgb(var(--primary-color));
    text-decoration: none;
}

.square-icon em:before,
.square-icon i:before {
    font-size: var(--base-size);
}

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

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

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

.text-white {
    color: rgb(var(--white-color));
}
/* Box shadow */
.box-shadow {
    box-shadow: 0 1rem 3rem rgba(var(--black-color), .1);
}
/* Bakgrundsbilder och videos
========================================================================== */
.bg-image {
    position: relative;
    overflow: hidden;
}

.bg-image-wrapper,
.bg-video-wrapper {
    z-index: -1;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Video */
.bg-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Parallax */
.parallax {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.parallax .section-block {
    background-color: rgb(var(--black-color), .6);
}

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

/* Bilder */
.parallax-office {
    background-image: url('/assets/images/kontor-2000px.jpg');
}

@media only screen and (hover:none) {
    .parallax {
        background-attachment: scroll;
        background-position: center center;
    }
}

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

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

.card-item {
    --base-size: 1.6rem;
    text-decoration: none;
    transition: all .3s ease;
}
/* Card grow */
.cards-grow .card-item {
    display: flex;
    flex-direction: column;
}

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


/* Specifika bredder */
.cards-wrapper.w-33 .card-item {
    width: calc((100% / 3) - 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 {
        margin-left: 0;
        margin-right: 0;
    }

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

/* Card 2-2 */
.card-2-1 .card-item {
    border: 1px solid rgb(var(--white-color));
}

.card-2-1 .card-item:hover {
    border: 1px solid rgb(var(--primary-color));
}

.card-2-1 .card-header i {
    padding: 3rem;
    font-size: 5rem;
} 

/* Card 2-4 */
.card-2-4 .card-item {
    display: flex;
    align-items: center;
    border: 1px solid rgb(var(--white-color));
}

.card-2-4 a.card-item:hover {
    border: 1px solid rgb(var(--primary-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 3-4 */
.card-3-4 .card-item {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.card-3-4 .image-wrapper {
    width: 11rem;
    height: 100%;
    border-radius: 2rem;
}

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

.card-3-4 .contact-item a {
    font-size: 1.4rem;
    word-break: break-all;
    text-decoration: none;
}

.card-3-4 .contact-item a:hover {
    text-decoration: underline;
}

.card-3-4 .contact-item i {
    margin-right: 5px;
} 

@media only screen and (max-width: 580px) {
    .card-3-4 .card-body {
        flex: 1 1 0px;
        padding: 2rem 0 2rem 1rem;
    }

    .card-3-4 .contact-item i {
        display: none;
    }
}

/* 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%;
    border-radius: 2px;
}

/* 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 rgb(var(--gray-light-color));
}

header:not(.scrolled) {
    background-color: transparent;
    border-bottom: 1px solid transparent;
}

/* Top header */
.top-header {
    z-index: 1;
    position: relative;
    width: 100%;
    max-width: var(--section-width);
    height: 4rem;
    margin: 0 auto;
    border-bottom: 1px solid rgb(var(--gray-light-color));
    overflow: hidden;
    transition: .3s ease;
}

.scrolled .top-header {
    height: 0;
}

.top-header ul {
    display: flex;
    justify-content: flex-end;
    padding: .5rem 0;
    margin: 0;
    list-style: none;
}

.top-header a {
    padding: 0 1rem;
    font-size: 1.4rem;
    text-decoration: none;
    transition: .2s ease;
}

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

.top-header a:hover {
    color: rgb(var(--primary-color));
}

.top-header i {
    margin-right: 5px;
}

/* Logo */
.header-logo {
    flex: 1 1 0;
}

header:not(.scrolled, .active-menu) .header-logo {
    filter: invert();
}

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

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

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

.header-cta-wrapper .btn {
    min-width: unset;
    padding: 1rem 2rem;
    margin: 0;
    line-height: 1;
    white-space: nowrap;
}

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

/* Mobilmeny */
.mobile-menu .header-logo {
    flex: 1 1 0px;
}

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

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

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

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

.top-section .section-block {
    width: 100%;
    padding-top: 15rem;
    padding-bottom: 15rem;
}

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

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

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

@media only screen and (max-width: 680px) {
    .top-section {
        padding: 8rem 2rem;
    }

    .top-section .section-title {
        font-size: 3rem;
    }
}
/* Sektion linkedin
========================================================================== */
.slick-slide {
    display: flex !important;
    height: auto !important; 
}

.slick-track {
    display: flex !important;
    align-items: stretch !important; 
}

/* Sektion CTA
========================================================================== */
.cta-wrapper {
    padding: 10rem 4rem 4rem;
    border-radius: 2rem;
    background-image: linear-gradient(to right, rgb(var(--black-color), .5), rgb(var(--black-color), .3)), url(https://placehold.co/1500x500);
    background-size: cover;
    background-position: center 60%;
}

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

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

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

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

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

.hero .bg-image-wrapper img {
    object-position: 50% 35%;
}

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

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

/* ==========================================================================
Undersida: Kontakt
========================================================================== */
.section-contact .section-block-wrapper {
    justify-content: space-between;
}

.section-contact .col-2 {
    max-width: 50rem;
    padding: 3rem;
    border-radius: 1rem;
    background: rgb(var(--primary-color));
}

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

.ContactForm .radio-option label,
.ContactForm .checkbox-option label {
    color: rgb(var(--white-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 option,
.ContactForm textarea,
.ContactForm .radio-option label,
.ContactForm .checkbox-option label {
    font-size: 1.4rem;
    border: none;
}

.ContactForm .ContactFormMessage {
    display: none;
}

@media only screen and (max-width: 1000px) {
    .section-map .split-content {
        max-width: 100%;
    }

    .section-map iframe {
        min-height: 60rem;
    }
}

@media only screen and (max-width: 980px) {
    .section-contact .col-2 {
        max-width: 100%;
        margin-top: 3rem;
    }
}

@media only screen and (max-width: 700px) {
    .section-map iframe {
        min-height: 50rem;
    }

}

@media only screen and (max-width: 480px) {
    .section-contact .col-2 {
        padding: 2rem;
    }

    .section-map iframe {
        min-height: 30rem;
    }
}

/* ==========================================================================
Undersida: Offertforfragan
========================================================================== */
.section-offert .section-block-wrapper {
    max-width: 100rem;
    padding: 3rem;
    border-radius: 1rem;
    background: rgb(var(--primary-color)); 
}

.section-offert .ContactForm {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.section-offert .ContactForm > div {
    width: 49%; 
}

.section-offert .ContactForm div.textarea-field,
.section-offert .ContactForm div.submit-button-container {
    width: 100%; 
}

@media only screen and (max-width: 680px) {
    .section-offert .ContactForm > div {
        width: 100%; 
    }
}

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

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

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

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

.footer .text-label {
    color: rgb(var(--white-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:not(.square-icon) {
    color: rgb(var(--white-color));
    font-size: 1.5rem;
    text-decoration: none;
    transition: 3.s ease;
}

.footer a:not(.square-icon):hover {
    text-decoration: underline;
}

/* Social Menu */
.social-menu {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.social-menu li {
    margin: 1rem 1rem 1rem 0;
}

.social-menu a:hover {
    text-decoration: none;
}

.social-wrapper {
    padding: 1rem;
}

.social-wrapper:hover {
    background: rgb(var(--white-color));
    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(--white-color));
}

.footer-bottom p,
.footer-bottom a {
    font-size: 1.4rem;
    line-height: 1.6;
    color: rgb(var(--white-color), .8);
}

/* WebbEss Stamp  */
.footer .webbess-stamp {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.webbess-stamp img {
    width: 2.5rem;
    margin-left: 1rem;
    filter: invert();
    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,
    .footer-menu-large {
        width: 100%;
    }
}

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

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

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