/* iKubik */

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

/* ==========================================================================
Generellt 
========================================================================== */
:root {
    /* 	Colors */
    --primary-color: 91, 134, 138;

    --black-color: 0, 0, 0;
    --gray-dark-color: 50, 50, 50;
    --gray-light-color: 240, 240, 240;
    --white-color: 255, 255, 255;

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

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

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

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

/* Layout 
========================================================================== */
.section-block {
    padding: 12rem 4rem;
}

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

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

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

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

/* Specifika bredder */
.mw-1200 .section-block-wrapper {
    max-width: 120rem;
}

@media only screen and (max-width: 1024px) {
    .section-block {
        padding: 11rem 4rem;
    }
}

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

/* Text och typsnitt
========================================================================== */
body {
    font-family: 'Roboto', sans-serif;
}

.text-label {
    font-size: 1.2rem;
    font-weight: 400;
    text-transform: uppercase;
    padding-bottom: 1em;
    letter-spacing: 0.2rem;
}

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

.small-title {
    font-size: 2.8rem;
    font-weight: 400;
    line-height: 1.4;
    padding-bottom: .7em;
    font-family: 'Asap Condensed', sans-serif;
}

/* Brodtext & lankar */
p,
li {
    font-weight: 400;
    line-height: 1.8;
    color: rgb(var(--gray-dark-color));
}

/* Ovriga klasser */
.text-center {
    text-align: center;
}

.text-block {
    max-width: 70rem;
}

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

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

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

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

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

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

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

/* Knappar */
.btn,
.ContactSubmit {
    min-width: 20rem;
    padding: 1.8rem 3rem;
    font-size: 1.5rem;
    font-weight: 400;
    border-radius: 4rem;
    text-align: center;
    text-decoration: none;
    -webkit-transition: all .4s ease;
    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 {
    background-color: transparent;
    color: rgb(var(--primary-color));
}

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

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

/* Arrow link */
.arrow-link {
    font-size: var(--base-size);
    padding-right: 1rem;
    text-transform: uppercase;
}

.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,
a.card-item:hover .arrow-link::after {
    transform: translateX(1rem);
    transition: transform .4s ease;
}

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

/* farger
========================================================================== */
/* text */
.text-white {
    color: rgb(var(--white-color));
}

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

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

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

/* Gradients */
.gradient--70deg-primary-white {
    background: linear-gradient(-70deg, rgb(var(--primary-color), .7) 35%, rgb(var(--gray-light-color)) 35%);
}

.gradient-70deg-primary-white {
    background: linear-gradient(70deg, rgb(var(--primary-color), .7) 35%, rgb(var(--gray-light-color)) 35%);
}

@media only screen and (max-width: 1100px) {
    .gradient-70deg-primary-white {
        background: linear-gradient(70deg, rgb(var(--gray-light-color), .7) 35%, rgb(var(--gray-light-color)) 35%);
    }

    .gradient--70deg-primary-white {
        background: linear-gradient(-70deg, rgb(var(--gray-light-color), .7) 35%, rgb(var(--gray-light-color)) 35%);
    }
}

/* Bakgrundsbild
========================================================================== */
.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: all .3s ease;
}

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

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

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

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

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

    /* Paddings */
    .cards-wrapper .p-3 {
        padding: 2rem;
    }
}

/* Card 2-2 */
.card-2-2 .card-item:hover {
    transform: scale(1.05);
}

.card-2-2 .card-header {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 7rem;
    height: 7rem;
}

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

@media only screen and (max-width: 580px) {
    .card-2-2 .card-header {
        width: 6rem;
        height: 6rem;
    }

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

/* Cards 3-5 */
.card-3-5 .card-item {
    position: relative;
}

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

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

.card-3-5 .card-item:hover .image-wrapper::after {
    background: rgba(var(--black-color), 0.6);
}

.card-3-5 .card-body {
    position: relative;
    position: relative;
    display: flex;
    padding: 3rem 3rem 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 35rem;
    border-bottom: none;
}

.card-3-5 .card-footer {
    position: relative;
    z-index: 1;
    display: flex;
}

.card-3-5 .card-footer::before,
.card-3-5 .card-footer::after {
    position: relative;
    display: inline-block;
    content: '';
    flex: 1 1 0px;
    border-bottom: 1px solid rgb(var(--white-color));
}

.card-3-5 .card-footer::before {
    border-left: 1px solid rgb(var(--white-color));
    border-bottom-left-radius: 3px;
    margin-right: 2rem;
}

.card-3-5 .card-footer::after {
    border-right: 1px solid rgb(var(--white-color));
    border-bottom-right-radius: 3px;
    margin-left: 2rem;
}

.card-3-5 .arrow-link {
    font-size: 1.4rem;
    transform: translateY(50%);
    line-height: 1;
}

@media only screen and (max-width: 980px) {
    .card-3-5 .card-body {
        min-height: 30rem;
    }
}

@media only screen and (max-width: 580px) {
    .card-3-5 .card-body {
        min-height: 25rem;
        padding: 2rem 2rem 0;
    }
}

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

.border-bottom-white {
    border-bottom: 1px solid rgb(var(--white-color));
}

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

/* Box shadow */
.box-shadow {
    box-shadow: 0 1rem 3rem rgba(var(--black-color), .2);
}

/* Split wrapper
========================================================================== */
.split-wrapper {
    display: flex;
    flex-wrap: wrap;
}

.split-wrapper.reverse {
    flex-direction: row-reverse;
}

.split-content {
    width: 50%;
    padding: 8rem 5rem;
    transition: all .3s ease;
}

.split-image {
    width: 50%;
}

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

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

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

    .split-wrapper,
    .split-wrapper.reverse {
        flex-direction: column;
    }

    .split-content {
        width: 100%;
        max-width: 70rem;
        padding: 0 0 5rem;
    }

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

    .split-image {
        width: 100%;
    }

    /* Split med Full width */
    .full-width .split-content {
        padding: 5rem 4rem;
    }
}

@media screen and (max-width: 580px) {
    .split-content {
        padding: 0 0 3rem;
    }

    /* Split med Full width */
    .full-width .split-content {
        padding:  5rem 2rem 3rem;
    }
}

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

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

/* CTA */
.header-cta-wrapper {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0;
    margin: 0 0 0 2rem;
    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 .TemplateMenu {
    padding: 0 2rem;
}

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

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

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

/* Top-section
========================================================================== */
.top-section {
    display: flex;
    align-items: flex-end;
    min-height: calc(100vh - var(--menu-height));
    background: linear-gradient(90deg, rgba(var(--black-color), .2) 0%, rgba(var(--black-color), .5) 0%, rgba(var(--black-color), 0.0) 100%), rgba(var(--black-color), .4);
}

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

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

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

.top-section p {
    max-width: 60rem;
    font-size: 2.2rem;
}

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

    .top-section p {
        font-size: 2rem;
    }
}

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

    .top-section p {
        font-size: var(--base-size);
    }
}

/* ==========================================================================
Undersidor
========================================================================== */
.hero {
    display: flex;
    align-items: center;
    min-height: 40rem;
    background: linear-gradient(90deg, rgba(var(--black-color), .2) 0%, rgba(var(--black-color), .5) 0%, rgba(var(--black-color), 0.0) 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: 580px) {
    .hero {
        min-height: 20rem;
    }

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

/* ==========================================================================
Undersida: Jobba hos oss
========================================================================== */
.section-contact .col-1 {
    background-color: rgb(var(--primary-color));
    border-radius: .4rem;
    margin-top: -20rem;
    position: relative;
    padding: 0rem;
}

/* Formular */
.ContactForm {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 3rem;
}

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

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

.LayoutPage .ContactForm>div {
    width: 47%;
    margin-bottom: 4rem;
}

.ContactForm>div.option-field,
.ContactForm>div.radio-field,
.ContactForm>div.checkbox-field,
.ContactForm>div.date-field,
.ContactForm>div.datetime-field,
.ContactForm>div.file-field,
.ContactForm>div.textarea-field,
.ContactForm>div.submit-button-container {
    width: 100%;
}

.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-radius: .4rem;
    border-color: rgb(var(--gray-light-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: rgb(var(--white-color));
}

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

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

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

    /* Formular */
    .LayoutPage .ContactForm>div {
        width: 100%;
        margin-bottom: 3rem;
    }
}

@media only screen and (max-width: 580px) {
    .section-contact .col-1 .text-block.p-3 {
        padding: 2rem;
    }

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

/* ==========================================================================
Undersida: Kontakt
========================================================================== */
@media only screen and (max-width: 580px) {
    .section-map iframe {
        height: 35rem;
    }
}

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

/* Footer top */
.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 8rem 0 5rem;
    border-bottom: 1px solid rgb(var(--white-color), .5);
}

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

.footer .text-label {
    color: rgb(var(--white-color));
    font-size: 1.6rem;
}

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

.footer-top li,
.footer-top p,
.footer-top a {
    color: rgb(var(--white-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;
    color: rgb(var(--white-color));
}

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

.webbess-stamp img {
    width: 2.5rem;
    margin-left: 1rem;
    filter: invert();
}

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

    /* Footer top */
    .footer-menu {
        width: 48%;
    }
}

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

    /* Footer top */
    .footer-menu {
        width: 100%;
    }
}

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