/* Industriprojektbyrån i Norr 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: 130rem;

    /* 	Colors */
    --primary-color: 0, 102, 164;
    --primary-light-color: 232, 241, 247;
    --primary-dark-color: 0, 28, 46;

    --black-color: 33, 37, 41;
    --gray-dark-color: 73, 80, 87;
    --gray-color: 173, 181, 189;
    --gray-light-color: 233, 236, 239;
    --white-color: 255, 255, 255;

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

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

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

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

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

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

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

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

/* Text och typsnitt
========================================================================== */
body {
    font-family: 'Titillium Web', 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: 700;
    line-height: 1.2;
    padding-bottom: .5em;
}

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

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

/* List pills */
.list-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
    list-style: none;
}

.list-pills li {
    margin: 0 5px 1rem;
}

.list-pills li>* {
    padding: 6px 1.3rem;
    background-color: rgb(var(--white-color));
    border-radius: 5px;
    text-decoration: none;
    transition: all .3s ease;
}

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

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

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

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

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

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

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

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

/* Knappar */
.btn {
    min-width: 15rem;
    padding: 1.4rem 2rem;
    margin: 7px;
    font-size: 1.4rem;
    font-weight: 600;
    border-radius: 4rem;
    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 {
    color: rgb(var(--primary-color));
    background-color: transparent;
}

/* Arrow link */
.arrow-link {
    padding-right: 1rem;
    font-size: var(--base-size);
    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: 4rem;
    height: 4rem;
    padding: 0;
    margin: .5rem;
    font-size: 0;
    color: rgb(var(--white-color));
    text-decoration: none;
    border-radius: 1rem;
    background-color: rgb(var(--primary-dark-color));
    transition: .3s ease;
}

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

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

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

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

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

/* Bakgrundsbilder och videos
========================================================================== */
.bg-image,
.bg-video {
    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;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* Logos 1 */
.logos-1 .card-item {
    height: 12rem;
    text-align: center;
}

@media only screen and (max-width: 868px) {
    .logos-1 .card-item {
        height: 8rem;
    }
}

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

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

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

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

    .split-wrapper,
    .split-content {
        background: transparent;
    }

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

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

/* Header / Navigation
========================================================================== */
header {
    background-color: rgb(var(--primary-dark-color));
}

header:not(.scrolled) {
    background-color: transparent;
}

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

.header-logo img {
    padding: 2rem 0;
}

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

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

body:not( .EditMode) header:not(.mobile-menu) .TemplateMenu a[href="/17/7/kontakta-oss/"] {
    display: none;
}

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

@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: calc(100vh - 5rem);
    margin-top: calc(-1 * var(--menu-height));
    background-image: linear-gradient(to right, rgb(var(--primary-dark-color)), rgb(var(--primary-color), .5));
}

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

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

.top-section .section-title {
    font-size: 8rem;
    font-weight: 400;
}

.top-section p {
    max-width: 55rem;
}

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

/* Tjanster
========================================================================== */
.pills-split .split-content {
    padding-top: 10rem;
    padding-bottom: 10rem;
}

.pills-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgb(var(--primary-color), .8);
    padding: 10rem;
}

.pills-split img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.pills-split .list-pills li>* {
    font-size: 1.8rem;
}

@media only screen and (max-width: 1100px) {
    .pills-split .split-content {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }
}

@media only screen and (max-width: 1000px) {
    .pills-split .split-content {
        padding-top: 0;
        padding-bottom: 3rem;
    }
}

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

    .pills-split .list-pills li>* {
        font-size: 1.1rem;
    }
}

/* Om
========================================================================== */
.section-about {
    background-image: url('/assets/images/team-2000px.jpg');
    background-size: cover;
    background-position: center;
}

.section-about .section-block {
    background-color: rgb(var(--primary-dark-color), .8);
}

/* CTA
========================================================================== */
.cta-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

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

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

/* Hero - Grundkod
========================================================================== */
.hero {
    display: flex;
    align-items: flex-end;
    min-height: 50rem;
    padding-top: var(--menu-height);
    margin-top: calc(-1 * var(--menu-height));
    background-image: linear-gradient(to right, rgb(var(--primary-dark-color)), rgb(var(--primary-color), .5));
}

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

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

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

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

/* ==========================================================================
Undersida: Kontakt
========================================================================== */
.contact-item a {
    text-decoration: none;
}

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

/* ==========================================================================
Undersida: Cookie Policy / Integritetspolicy
========================================================================== */
.section-subnav .section-block-wrapper {
    align-items: flex-start;
}

.section-subnav .col-0 {
    position: sticky;
    top: calc(var(--menu-height) + 2rem);
    width: 30rem;
    margin-right: 5rem;
    border-right: 1px solid rgb(var(--gray-light-color));
}

.section-subnav .col-1 {
    width: calc(100% - 35rem);
}

/* Subnav */
.subnav {
    padding: 0;
    margin: 0;
    list-style: none;
}

.subnav a {
    padding: 5px 0;
    font-size: 1.7rem;
    text-decoration: none;
    transition: .3s ease;
}

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

/* Accordion */
.accordion-wrapper {
    display: flex;
    flex-wrap: wrap;
}

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

.accordion-item {
    width: 100%;
    margin-bottom: 1rem;
    border-radius: 3px;
    background: rgb(var(--gray-light-color));
    transition: .3s ease;
}

.accordion-item:hover,
.accordion-item.active {
    background: rgb(var(--primary-light-color));
}

.accordion-header {
    position: relative;
    width: 100%;
    padding: 1rem 3rem 1rem 2rem;
    text-decoration: none;
}

.accordion-header::after {
    content: "\f078";
    position: absolute;
    top: 1.8rem;
    right: 2rem;
    font-size: 1.4rem;
    font-weight: 400;
    font-family: "Font Awesome 5 Pro";
    color: rgb(var(--black-color));
    transition: .5s ease;
}

.accordion-item.active .accordion-header::after {
    transform: rotate(180deg);
}

.accordion-body {
    padding: 0 2rem 2rem;
}

.accordion-body p {
    font-size: 1.5rem;
}

@media only screen and (max-width: 980px) {
    .section-subnav .col-0 {
        display: none;
    }

    .section-subnav .col-1 {
        width: 100%;
    }
}

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

    /* Accordion */
    .accordion-wrapper.w-50 .accordion-item {
        width: 100%;
        margin: 1rem 0;
    }
}

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

    /* Accordion */
    .accordion-header {
        padding: 1.5rem 3rem 1.5rem 1.5rem;
    }

    .accordion-header::after {
        right: 1rem;
    }

    .accordion-body {
        padding: 0 1.5rem 1.5rem;
    }
}

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

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

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

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

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

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

.footer-top p:not(.text-label),
.footer-top a {
    font-size: 1.5rem;
    text-decoration: none;
}

.footer-top a:hover {
    color: rgb(var(--primary-color));
    text-decoration: none;
}

/* Sociala medier */
.footer-socials {
    display: flex;
    align-items: center;
}

.footer-socials::before,
.footer-socials::after {
    position: relative;
    display: inline-block;
    content: '';
    flex: 1 1 0%;
    border-top: 1px solid rgb(var(--black-color));
}

.footer-socials::before {
    margin-right: 2rem;
}

.footer-socials::after {
    margin-left: 2rem;
}

/* 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.3rem;
    line-height: 1.6;
    color: rgb(var(--gray-dark-color));
}

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

    /* Footer bottom */
    .footer-bottom {
        flex-direction: column-reverse;
        text-align: center;
    }

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