/* Bartery */

/* Typsnitt */
@font-face {
    font-family: "Nue Haas Grotesk";
    src: url("/assets/typsnitt/NHaasGroteskTXPro-56It.otf");
    font-weight: 300;
}

@font-face {
    font-family: "Nue Haas Grotesk";
    src: url("/assets/typsnitt/NHaasGroteskTXPro-55Rg.woff");
    font-weight: 400;
}

@font-face {
    font-family: "Nue Haas Grotesk";
    src: url("/assets/typsnitt/NHaasGroteskTXPro-65Md.otf");
    font-weight: 500;
}

@font-face {
    font-family: "Nue Haas Grotesk";
    src: url("/assets/typsnitt/NHaasGroteskTXPro-75Bd.otf");
    font-weight: 600;
}

/* 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: none;

    /* 	Colors */
    --primary-color: 10, 0, 255;

    --secondary-color: 254, 109, 115;
    --secondary-light-color: 255, 214, 216;
    --secondary-dark-color: 127, 1, 5;

    --black-color: 19, 18, 17;
    --gray-dark-color: 129, 126, 116;
    --gray-color: 185, 183, 176;
    --gray-light-color: 240, 239, 235;
    --white-color: 255, 255, 255;

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

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

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

.section-block-wrapper {
    max-width: var(--section-width);
}

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

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

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

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

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

/* Margins */
.mt-3 {
    margin-top: 3rem;
}

/* Speciella bredder */
.mw-1300 .section-block-wrapper {
    max-width: 130rem;
}

.mw-900 .section-block-wrapper {
    max-width: 90rem;
}

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

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

    .p-5 .section-block,
    .p-5:not(.section-wrapper) {
        padding: 3rem 2rem;
    }
}

/* Text och typsnitt
========================================================================== */
body {
    font-family: 'Nue Haas Grotesk Regular', sans-serif;
}

/* Rubriker */
.text-label {
    font-size: 1.4rem;
    font-weight: 600;
    text-transform: uppercase;
    padding-bottom: 1em;
    color: rgb(var(--black-color));
}

.section-title {
    font-size: 7rem;
    font-weight: 400;
    line-height: 1.1;
    padding-bottom: .5em;
    color: rgb(var(--black-color));
    letter-spacing: 0;
}

.small-title {
    font-size: 4rem;
    font-weight: 400;
    line-height: 1.1;
    padding-bottom: 5rem;
    color: rgb(var(--black-color));
}

.smaller-title {
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 1.4;
    padding-bottom: 1.6rem;
    color: rgb(var(--black-color));
}

/* Brodtext och lankar */
p,
li {
    font-weight: 300;
    line-height: 1.1;
    color: rgb(var(--black-color));
    letter-spacing: 0px;
}

a {
    font-size: inherit;
    font-weight: 400;
    text-decoration: underline;
    color: inherit;
}

a:hover {
    text-decoration: none;
}

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

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

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

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

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

/* List-check */
.list-arrow {
    list-style: none;
}

.list-arrow {
    padding: 0;
}

.list-arrow li::before {
    content: '\f061';
    padding: 0 1rem 0 0;
    color: rgb(var(--primary-color));
    font-weight: 700;
    font-size: 1.3rem;
    font-family: 'Font Awesome 5 Pro';
}

/* List-check */
.list-check {
    list-style: none;
}

.list-check {
    padding: 0;
}

.list-check li {
    padding-bottom: 1rem;
}

.list-check li::before {
    content: '\f00c';
    padding: 0 1rem 0 0;
    color: rgb(var(--primary-color));
    font-weight: 700;
    font-size: 1.4rem;
    font-family: 'Font Awesome 5 Pro';
}

@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: 3.5rem;
    }

    .small-title {
        font-size: 3rem;
        padding-bottom: 1rem;
    }

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

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

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

.btn-wrapper.center {
    justify-content: center;
}

/* Knappar */
.btn,
.ContactSubmit {
    min-width: 15rem;
    padding: 1.4rem 2rem;
    font-size: 1.6rem;
    font-weight: 300;
    border-radius: 0.5rem;
    text-align: center;
    text-decoration: none;
    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(--black-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: 2rem;
    font-weight: 300;
    padding-right: 1rem;
    color: rgb(var(--gray-dark-color));
}

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

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

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

.circle-icon:hover {
    background-color: rgb(var(--primary-light-color));
}

.circle-icon em:before,
.circle-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));
}

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

.bg-white {
    background-color: rgb(var(--white-color));
}
.bg-white-trans {
    background-color: rgb(var(--white-color), .3);
}
.bg-gray-light {
    background-color: rgb(var(--gray-light-color));
}

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

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

/* Grafiska element
========================================================================== */
.br-1{
    border-radius: 1rem;
}

/* Bakgrundsbilder och videos
========================================================================== */
.bg-image,
.bg-video {
    position: relative;
    background-color: transparent;
}

.bg-image-wrapper,
.bg-video-wrapper {
    z-index: -1;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
/* Parallax */
.parallax {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.parallax .section-block {
    min-height: 40rem;
    background-color: rgb(var(--black-color), .4)
}

/* Bilder */
.parallax-jobba {
    background-image: url('/assets/images/kontor-2000px.jpg');
}
/* Bakgrunder */
.wave-primary-bottom .section-block {
    background-image: url(/assets/images/waves/wave-bottom.png);
    background-size: 100% 50rem;
    background-repeat: no-repeat;
    background-position: center bottom;
}

@media screen and (max-width: 580px) {
    .wave-primary-bottom .section-block {
        background-size: 100% 20rem;
    }
}
@media only screen and (hover:none) {
    .parallax {
        background-attachment: scroll;
        background-position: center center;
    }
}

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

/* Cards
========================================================================== */
.cards-wrapper {
    display: flex;
    flex-wrap: wrap;
    margin-left: -1rem;
    margin-right: -1rem;
}

.card-item {
    text-decoration: none;
    transition: all .3s ease;
}

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

.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: 1300px) {
    .cards-wrapper.w-33 .card-item,
    .cards-wrapper.w-25 .card-item {
        width: calc((100% / 2) - 2rem);
        margin: 1rem;
    }
}

@media only screen and (max-width: 750px) {
    .cards-wrapper.w-25 .card-item,
    .cards-wrapper.w-33 .card-item,
    .cards-wrapper.w-50 .card-item,
    .cards-wrapper.w-33 .card-item {
        width: 100%;
        margin: 1rem 0;
    }
}

/* Card 2-2 */
.card-2-2 .card-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.card-2-2 .icon-wrapper {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    margin: 0 2rem 0 0;
}

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

.card-2-2 .card-footer {
    padding-top: 2rem;
}

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

.card-2-4 a.card-item:hover {
    background: rgb(var(--gray-light-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 {
    display: flex;
    align-items: center;
    flex: 1;
    padding: 0 2rem;
}

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

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

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

/* Card 3-2 */
.card-3-2 .card-item {
    border-radius: 1rem;
    overflow: hidden;
}

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

.card-3-2 .image-wrapper {
    border-radius: 1rem;
    height: 30rem;
}

.card-3-2 .image-wrapper.flex {
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-3-2 .card-footer {
    padding: 0 2rem 3rem;
}
/* Card 3-5 */
.card-3-5 .card-item {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 30rem;
    border: 1px solid rgb(var(--black-color));
    border-radius: 1rem;
}

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

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

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

.card-3-5 .card-body {
    z-index: 1;
    position: relative;
    text-align: center;
    padding: 4rem;
    min-height: 25rem;
    color: rgb(var(--white-color));
}

.card-3-5 .card-body.border {
    margin: 3rem;
    border: 1px solid rgb(var(--white-color));
}

@media only screen and (max-width: 1000px) {
    .card-wrapper.cards-3-5 .card-item {
        width: 100%;
        margin: 1rem 0;
    }
}

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

    .card-3-5 .card-body.border {
        margin: 2rem;
    }
}

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

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

/* Bredder */
.split-wrapper .w-40 {
    width: 40%;
}

.split-wrapper .w-45 {
    width: 45%;
}

.split-wrapper .w-55 {
    width: 55%;
}

.split-wrapper .w-60 { 
    width: 60%;
}

/* Split image med grid */
.split-image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    grid-column-gap: 1rem;
    grid-row-gap: 1rem;
}

.grid-image.large {
    grid-area: 1 / 2 / 4 / 4;
    border-radius: 1rem;
}

.grid-image.small {
    grid-area: 2 / 1 / 4 / 2;
    border-radius: 1rem;
}

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

    .split-content.w-40 {
        padding-left: 4rem;
    }

    .split-content,
    .split-wrapper .w-45,
    .split-wrapper .w-55 {
        width: 100%;
    }

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

@media screen and (max-width: 1000px) {
    .split-wrapper .w-60,
    .split-wrapper .w-40 {
        width: 100%;
    }

    .split-content.w-40 {
        padding-left: 0rem;
    }
}

@media screen and (max-width: 580px) {
    .split-wrapper {
        background: transparent;
    }
}

/* Header / Navigation
========================================================================== */
header {
    padding: 0 5rem;
    background-color: transparent;
}

header.scrolled {
    background-color: rgb(var(--black-color));
}

header .container {
    max-width: var(--section-width);
    padding: 0;
    margin: 0 auto;
}

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

.header-logo img {
    width: 100%;
    padding: 1.8rem 0;
}

/* Nav */
.TemplateMenu a {
    font-weight: 300;
    font-size: 1.6rem;
    color: rgb(var(--white-color));
    text-decoration: none;
}

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

.TemplateMenu>li:nth-child(1) {
    display: none;
}

/* Mobilmeny */
.mobile-menu .container {
    height: var(--mobile-menu-height);

}

.mobile-menu .TemplateMenu>li>a,
.mobile-menu.scrolled .TemplateMenu>li>a {
    font-size: 3rem;
    text-align: center;
    line-height: 7rem;
}

.mobile-menu .TemplateMenu>li>a:hover,
.mobile-menu .TemplateMenu-extra>li>a:hover,
.mobile-menu .TemplateMenu li.active>a,
.mobile-menu .TemplateMenu ul a:hover {
    color: rgb(var(--white-color));
    padding: 1rem;
}

.mobile-menu .hamburger {
    margin: 0 -1rem 0 1rem;
}

@media only screen and (max-width: 1000px) {
    header {
        padding: 0 3rem;
    }

}

@media only screen and (max-width: 680px) {
    .TemplateMenu-extra {
        display: none;
    }
}

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

    /* Nav */
    .mobile-menu .TemplateMenu a {
        font-size: 1.9rem;
        line-height: 5rem;
    }

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

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

/* Top-section
========================================================================== */
.top-section {
    display: flex;
    align-items: center;
    min-height: 100vh;
    background-color: rgb(var(--black-color), .35);
    margin-top: calc(-1 * var(--menu-height));
}

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

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

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

.top-section p {
    max-width: 60rem;
    font-weight: 300;

}

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

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

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

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

/* Section Contact
========================================================================== */
.section-contact .col-0,
.section-contact .col-1{
    padding: 4rem;
}
.section-contact .col-2{
    background-color: rgb(var(--black-color));
    padding: 4rem;
}
.section-contact .ContactForm p{
    color: rgb(var(--white-color));;
}

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

/* Hero - Grundkod
========================================================================== */
.hero {
    margin-top: calc(-1 * var(--menu-height));
}

.hero .section-block {
    display: flex;
    align-items: flex-end;
    padding-bottom: 5rem;
    min-height: 40rem;
    background-color: rgb(var(--black-color), .3);
}

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

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

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

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

/* ==========================================================================
Undersida: jobba hos oss
========================================================================== */

/* Fakta
========================================================================== */
.list-styled {
    max-width: 120rem;
    padding: 5rem 2rem;
    margin: 0 auto;
    list-style: none;
}

.list-styled li {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    padding: 0.5rem 0;
    margin: 0.5rem 0;
    border-bottom: 1px dotted rgb(var(--gray-dark-color));
}

.list-styled p {
    padding: 0;
}

.visible-mobile {
    display: none;
}

@media only screen and (max-width:1000px) {
    .visible-mobile {
        display: block;
    }

    .visible-computor {
        display: none;
    }
}

/* ==========================================================================
Undersida: Jobbansokan
========================================================================== */

.section-apply .col-0{
    background-color: rgba(var(--black-color));
    padding: 4rem;
        margin-top: -20vh;
    z-index: 1;
    position: relative;
    box-shadow: 1px 1px 10px rgba(var(--black-color), .1);
}
.section-apply .ContactForm p{
    color: rgb(var(--white-color));;
}

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

.footer-container {
    max-width: var(--section-width);
    margin: 0 auto;
}

.footer-top img {
    width: 16rem;
}

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

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

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

.footer .text-label {
    color: rgb(var(--white-color));
    padding: 0 0 1rem;
    line-height: 1;
}

.footer .smaller-title {
    color: rgb(var(--white-color));
}

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

.footer-top li,
.footer-top p,
.footer-top a {
    color: rgb(var(--white-color), .7);
    text-decoration: none;
    font-weight: 300;
}

.footer a:hover {
    text-decoration: none;
    color: rgb(var(--white-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), .7);
}

.footer-bottom p,
.footer-bottom a:not(.circle-icon) {
    display: inline-block;
    font-size: 1.4rem;
    line-height: 1.6;
    color: rgb(var(--white-color), .7);
}

/* Social Menu */
.social-menu {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    padding: 0 0 1rem;
    margin: 0;
}

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

.social-menu .circle-icon {
    background-color: rgb(var(--white-color), .7);
    color: rgb(var(--primary-color));
    font-size: 0;
}

.social-menu .circle-icon:hover {
    background-color: rgb(var(--white-color));
    color: rgb(var(--primary-color));
}

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

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

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

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