/* Engi AB */

/* Typsnitt */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,400;0,600;0,700;1,400;1,700&display=swap');

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

    /* 	Colors */
    --primary-color: 0, 172, 239;
    --primary-dark: 0, 101, 140;

    --black-color: 0, 29, 41;
    --full-black-color: 0, 0, 0;
    --gray-dark-color: 75, 75, 75;
    --gray-color: 121, 121, 121;
    --gray-light-color: 242, 242, 242;
    --white-color: 255, 255, 255;

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

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

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

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

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

.pb-0 .section-block {
    padding-bottom: 0;
}

.pb-20 .section-block {
    padding-bottom: 20rem;
}

.pb-2 {
    padding-bottom: 2rem;
}

.pt-0 .section-block {
    padding-top: 0;
}

.pt-2 {
    padding-top: 2rem;
}

.pt-4 {
    padding-top: 4rem;
}

.m-1 {
    margin: 1rem;
}

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

/* Bredder */
.mw-1000 .section-block-wrapper {
    max-width: 100rem;
}

.mh-55 {
    max-height: 55rem;
}

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

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

    .pb-20 .section-block {
        padding-bottom: 10;
    }
}

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

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

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

.big-title {
    font-size: 6rem;
}

.small-title {
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.4;
    padding-bottom: .7em;
}

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

.italic {
    font-style: italic;
}

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

.titel {
    font-size: 1.5rem;
    margin-top: -1rem;
    color: rgb(var(--gray-color));
}

a {
    font-size: inherit;
    font-weight: 400;
    text-decoration: underline;
    color: var(--primary-color);
}

a:hover {
    text-decoration: none;
}

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

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

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

.text-italic {
    font-style: italic;
}

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

.quote {
    background-color: rgb(var(--primary-color), .16);
    border: 1px solid rgb(var(--primary-color), .35);
    padding: 2rem;
    border-radius: 1rem;
}

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

    ul {
        padding-inline-start: 2rem;
    }
}

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

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

/* Knappar */
.btn {
    min-width: 20rem;
    padding: 1.3rem 1.8rem;
    font-size: 1.6rem;
    font-weight: 600;
    border-radius: 3rem;
    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));
}

/* Arrow link */
.arrow-link {
    font-size: var(--base-size);
    padding-right: 1rem;
    color: rgb(var(--gray-dark-color));
}

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


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

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

.circle-icon i:before,
.circle-icon em:before {
    font-size: 1.4rem;
}

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

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

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

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

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

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

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

/* Bakgrundsbild
========================================================================== */
.bg-image {
    position: relative;
    overflow: hidden;
}

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

/* Grafiska element
========================================================================== */
/* Badge */
.badge-wrapper {
    position: relative;
}

.badge {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: .5rem 1.5rem;
    font-size: 1.3rem;
    text-transform: uppercase;
    border-radius: 0 .5rem 0 0;
    background-color: rgb(var(--white-color));
}

/* Pil */
.arrow-right {
    position: relative;
}

.arrow-right::after {
    content: '\2192';
    z-index: 5;
    position: absolute;
    bottom: 51%;
    right: 0.3rem;
    font-size: 8.5rem;
    font-weight: 900;
    line-height: 1;
    color: rgb(var(--primary-color));
    transform: translateX(50%);
}

/* filter */
.filter-grayscale {
    filter: grayscale();
}

/* Object position */
.of-wrapper .op-50-0 {
    object-position: 50% 0;
}

.br-2 {
    border-radius: 2rem;
}

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

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

/* Specifika 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-25 .card-item {
    width: calc((100% / 4) - 2rem);
    margin: 1rem;
}


@media only screen and (max-width: 1050px) {
    .cards-wrapper.w-25 .card-item {
        width: calc((100% / 2) - 2rem);
    }

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

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

    .arrow-right::after {
        display: none;
    }
}

/* Cards 2 */
.cards-2 .card-item {
    padding: 3rem;
    border-radius: 2rem;
    text-decoration: none;
}

.cards-2 .icon-wrapper {
    margin-bottom: 2rem;
}

.cards-2 .icon-wrapper i {
    font-size: 4.5rem;
}

@media only screen and (max-width: 750px) {
    .cards-2 .card-item {
        padding: 2rem;
    }
}

/* Cards 7 */
.cards-7 .card-item {
    border-bottom: 5px solid rgb(var(--primary-color));
    border-radius: 2rem;
}

.cards-7 a.card-item:hover {
    box-shadow: 0 1rem 2rem rgb(var(--full-black-color), .2);
}

.cards-7 .image-wrapper {
    position: relative;
    padding-top: 90%;
    border-radius: 2rem 2rem 0 0;
}

.cards-7 .image-wrapper img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.cards-7 .text-wrapper {
    padding: 3rem;
    border-radius: 2rem;
}

/* Cards 7 Alt 2*/
.cards-7.alt-2 .card-item {
    border-bottom: none;
}

.cards-7.alt-2 .image-title {
    z-index: 1;
    position: absolute;
    top: 70%;
    width: 100%;
    text-align: center;
    padding: 0 2rem 5rem;
}

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

.title-width {
    max-width: 15rem;
    text-align: center;
    margin: auto;
}

.date {
    font-size: 1.3rem;
    font-weight: 600;
}

@media screen and (max-width: 1300px) {
    .image-title .small-title {
        font-size: 1.8rem;
    }

    .title-width {
        max-width: 25rem;
    }
}

@media only screen and (max-width: 750px) {
    .cards-7 .text-wrapper {
        padding: 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: 2rem;
}

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

.split-image.mt--5 {
    margin-top: -5rem;
}

.opct img {
    object-position: center top;
}

/* Speciella bredder */
.split-wrapper .w-60 {
    width: 60%;
}

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

.split-wrapper.interview .split-image {
    padding: 1rem;
    background-color: rgb(var(--white-color));
    border-radius: 2rem;
}

/* Speciella paddings */
.split-wrapper .pl-0 {
    padding-left: 0;
}

.split-wrapper .pr-0 {
    padding-right: 0;
}

@media screen and (min-width: 1101px) {
    .split-image.sticky {
        height: 60rem;
        align-self: flex-start;
        position: sticky;
        top: calc(var(--menu-height) * 2);
    }
}

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

    .split-content,
    .split-wrapper .w-40,
    .split-wrapper .w-60 {
        width: 100%;
    }

    .split-content {
        padding: 0 0 5rem;
    }

    .split-image.mt--5 {
        margin-top: 0rem;
    }

    .split-image {
        width: 100%;
        min-height: 20rem;
        width: auto;
        height: 40rem;
        margin-left: auto;
        margin-right: auto;
    }

    .split-image.sticky {
        margin: 5rem auto 2rem;
        width: auto;
        height: 40rem;
    }

    .split-image img {
        object-fit: contain;
    }

}

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

    .split-content {
        padding: 0 0 3rem 0;
    }

    .split-image {
        height: auto;
    }
}

/* Header / Navigation
========================================================================== */
header {
    background-color: transparent;
}

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

header .container {
    padding: 0 5rem;
}

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

.header-logo img {
    filter: none;
}

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

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

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

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

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

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

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

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

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

.top-section .section-title {
    font-size: 6.5rem;
    font-weight: 400;
    color: rgb(var(--white-color));
}

.top-section p {
    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: 580px) {
    .top-section .section-title {
        font-size: 3rem;
    }
}

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

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

.hero .section-block {
    display: flex;
    align-items: flex-end;
    min-height: 50vh;
    background-color: rgb(var(--black-color), .3);
}

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

.hero .text-block {
    max-width: none;
}

/*
.hero .bg-image-wrapper img {
    filter: grayscale();
} */

.hero .section-title {
    font-size: 6.7rem;
    font-weight: 400;
}

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

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

    .hero .section-block {
        min-height: 30rem;
    }

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

/* Hero-text
========================================================================== */
.hero-text .section-title {
    padding: 0 0 1rem;
    margin: 0 0 1rem;
    color: rgb(var(--white-color));
    border-bottom: 2px solid rgb(var(--primary-color));
}

.hero-text p {
    color: rgb(var(--white-color));
    font-size: 2rem;
}

/* ==========================================================================
Undersida: Karriär
========================================================================== */
.section-career .col-0 {
    padding-bottom: 5rem;
}

.section-career .slick-track {
    display: flex;
}

.section-career .slick-list {
    width: 100%;
}

.section-career .slick-slide {
    height: auto;
}

.section-career .slick-dots {
    position: absolute;
    bottom: 1rem;
    width: auto;
    padding: 0;
    background-color: rgb(var(--white-color));
    border-radius: 1rem;
}

/* ==========================================================================
Undersida: Kontakta oss
========================================================================== */
.section-team .image-wrapper img {
    object-position: center top;
}

.section-team .pt-2 {
    margin: 1rem;
}

.section-team .section-title {
    padding-bottom: .2em;
    font-weight: 600;
    font-size: 3.3rem;
}

.section-team .text-label {
    padding-top: .5em;
}

.title-border {
    border-bottom: 2px solid rgb(var(--primary-color));
}

@media only screen and (max-width: 580px) {
    .section-team .pt-2 {
        margin: 0;
    }

    .section-team .section-title {
        font-size: 2.5rem;
    }
}

/* Medarbetare filtrering
========================================================================== */
.tabs-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    border-radius: 2rem;
    margin: 1rem;
    padding: 1rem;
}

/* Visa lista/bild */
.tabs-wrapper .btn {
    display: inline-block;
    margin: 0;
}

/* Dropdown */
.tags-wrapper {
    position: relative;
    max-width: 17rem;
    cursor: pointer;
}

.tags-heading {
    display: block;
    width: 100%;
    padding: 1rem 2rem;
}

.tags-heading p {
    display: flex;
    justify-content: space-between;
    padding-bottom: 0;
    color: rgb(var(--white-color));
}

.tags-heading i {
    margin-left: 2rem;
}

.tags-list {
    display: none;
    z-index: 2;
    position: absolute;
    width: 100%;
    border-radius: 0 0 0.5rem 0.5rem;
    background: rgb(var(--white-color));
    box-shadow: 1px 1px 10px rgba(var(--black-color), .1);
}

.tags-wrapper:hover .tags-list,
.tags-wrapper.opened .tags-list {
    display: block;
}

.tags-wrapper .tag {
    display: block;
    padding: 1rem 2rem;
    font-size: 1.5rem;
    transition: .3s ease-in-out;
}

.tags-wrapper .tag:hover {
    color: rgb(var(--primary-color));
}

/* Sok */
.search-wrapper {
    position: relative;
}

.search-wrapper em {
    position: absolute;
    left: 2rem;
    top: 50%;
    font-size: 2rem;
    transform: translateY(-50%);
}

.search-wrapper input {
    width: 28rem;
    height: 4rem;
    padding: 0 2rem 0 5rem;
    margin: 0 0.6rem;
    border: none;
    transition: .5s ease;
}

@media only screen and (max-width: 850px) {
    .tabs-wrapper {
        padding: 0 2rem 2rem;
        margin: 0;
    }

    /* Sok */
    .search-wrapper {
        width: 100%;
    }

    .search-wrapper input {
        margin: 0;
        width: 100%;
    }
}

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

    /* Visa lista/bild */
    .tabs-wrapper .btn {
        min-width: unset;
        padding-top: 1rem;
        padding-right: 2rem;
    }
}

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

.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(--white-color), .5);
}

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

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

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

.footer-top li,
.footer-top p,
.footer-top a:not(.circle-icon) {
    color: rgb(var(--white-color));
    text-decoration: none;
}

.footer a:not(.circle-icon):hover {
    color: rgb(var(--primary-color));
    transition: .3s ease;
}

/* Social Menu */
.socials {
    padding-bottom: 1rem;
}

.social-menu {
    width: 100%;
    list-style: none;
    padding: 0;
    margin: 0;
}

.social-menu li {
    font-size: 1.2rem;
    line-height: 1.6;
    padding-bottom: .8rem;
}

/* Footer bottom */
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

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

.footer .circle-icon {
    font-size: 0;
    background-color: rgb(var(--white-color), .5);
    color: rgb(var(--black-color));
    width: 2.5rem;
    height: 2.5rem;
}

.footer .circle-icon em::before {
    font-size: 1.4rem;
}

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

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

.webbess-stamp img {
    width: 2rem;
    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-top {
        padding: 5rem 0 0;
    }

    .footer-menu,
    .footer-menu-large {
        width: 100%;
    }
}

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