/* KTI Sverige AB */

/* Typsnitt - proxima nova */
@import url("https://use.typekit.net/ack6oei.css");

/* ==========================================================================
Generellt 
========================================================================== */
:root {
    /* 	Layout  */
    --section-width: 150rem;
    --col-padding: 4rem;
    --menu-height: 10rem;
    --menu-height-scrolled: 8rem;

    /* 	Colors */
    --primary-color: 41, 37, 103;
    --secondary-color: 189, 191, 192;
    --gray-light-color: 248, 248, 248;
    --accent-color: 37, 103, 82;

    --black-color: 0, 0, 0;
    --white-color: 255, 255, 255;

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

    /* 	Mobile nav */
    --activate-mobile-menu: 1100;
    --mobile-menu-height: 8rem;
    --mobile-menu-bg: var(--white-color);
    --menu-color: var(--black-color);

    /* Others */
    --box-shadow: 0 1rem 3rem rgb(var(--black-color), .1);
}

/* Edit Mode
========================================================================== */
.EditMode .top-header {
    display: none;
}

.EditMode .TemplateMenu a.toplevel {
    color: #000;
}

.EditMode .hero {
    margin-top: 0;
}

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

/* Specifika paddings */
.pt-0 .section-block {
    padding-top: 0;
}

.pl-0 .section-block {
    padding-left: 0;
}

.pr-0 .section-block {
    padding-right: 0;
}

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

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

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

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

.pt-20 .section-block {
    padding-top: 20rem;
}

/* Specifika margins */
.mt--15rem {
    margin-top: -15rem;
}

.mt-2 {
    margin-top: 2rem;
}

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

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

.mw-1400 .section-block-wrapper {
    max-width: 140rem;
}

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

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

    .text-block-center {
        text-align: left;
        margin: 0;
    }
}

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

/* Rubriker */
.text-label {
    padding-bottom: 1.5rem;
    font-size: var(--base-size);
    font-weight: 600;
}

.section-title {
    padding-bottom: 1.5rem;
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
}

.small-title {
    padding-bottom: 1rem;
    font-size: 2.6rem;
    line-height: 1.4;
}

.text-title {
    padding-bottom: 0;
    font-size: var(--base-size);
    line-height: 1.3;
    font-weight: 600;
}

/* Brodtext och lankar */
p {
    font-weight: 300;
    padding-bottom: 1em;
}

a {
    color: inherit;
    font-size: var(--base-size);
    font-weight: inherit;
    text-decoration: none;
}

.link {
    font-weight: 600;
}

.link:hover {
    color: rgb(var(--primary-color));
    text-decoration: underline;
}

/* ovriga klasser */
.text-block {
    max-width: 80rem;
}

.text-block-center {
    max-width: 80rem;
    margin: 0 auto;
    text-align: center;
}

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

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

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

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

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

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

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

@media only screen and (max-width: 330px) {
    ul {
        padding-inline-start: 2rem;
    }
}

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

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

.pdf-link {
    display: block;
}

.pdf-link:not(:last-child) {
    padding-bottom: 1rem;
}

/* Knappar */
.btn,
.ContactSubmit {
    display: inline-block;
    min-width: 20rem;
    padding: 1.5rem;
    font-size: 1.4rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    -webkit-transition: all .4s ease;
    transition: all .4s ease;
    border-radius: 3px;
}

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

.btn-primary-filled:hover,
.ContactSubmit:hover,
.ContactSubmit:focus {
    border: 1px solid rgb(var(--secondary-color));
    background-color: rgb(var(--secondary-color));
    color: #000;
}

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

.btn-primary-border:hover {
    border: 1px solid rgb(var(--secondary-color));
    background-color: rgb(var(--secondary-color));
    color: #000;
}

.btn-accent-filled {
    color: #fff;
    border: 1px solid rgb(var(--accent-color));
    background-color: rgb(var(--accent-color));
}

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

.btn-white-filled {
    border: 1px solid #fff;
    background-color: #FFF;
    color: #000;
}

.btn-white-filled:hover {
    border: 1px solid #fff;
    background-color: transparent;
    color: #fff;
}

.btn-white-border {
    border: 1px solid #fff;
    background-color: transparent;
    color: #fff;
}

.btn-white-border:hover {
    border: 1px solid #fff;
    background-color: #fff;
    color: #000;
}

/* Arrow link */
.arrow-link {
    padding-right: 1rem;
    font-size: 1.4rem;
    font-weight: 500;
}

.arrow-link::after {
    content: ' \f178';
    display: inline-block;
    margin-left: .5rem;
    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: #FFF;
    text-decoration: none;
    border-radius: 50%;
    background-color: rgb(var(--primary-color));
    transition: .3s ease;
}

.circle-icon:hover {
    color: #FFF;
    background-color: rgb(var(--secondary-color));
}

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

/* Bouncing arrow */
.bouncing-arrow {
    position: absolute;
    left: 50%;
    bottom: 4rem;
    transform: translatex(-50%);
    animation: bounce 2s infinite;
}

.bouncing-arrow i {
    color: #fff;
    font-size: 4rem;
    font-weight: 500;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-30px);
    }

    60% {
        transform: translateY(-15px);
    }
}

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

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

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

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

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

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

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

.text-white {
    color: #fff;
}

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

.bg-primary *,
.bg-green * {
    color: #fff;
}

.bg-secondary * {
    color: #000;
}

/* Bakgrundsbild
========================================================================== */
.bg-image {
    position: relative;
    background: linear-gradient(90deg, rgba(0, 0, 0, .2) 0%, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, 0) 100%);
}

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


.image-wrapper.op-cb img {
    object-position: center bottom;
}

/* bildspel */
.crossfade {
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.crossfade div {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-attachment: scroll/fixed;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

/* Cookies 
========================================================================== */
.cookies-notis {
    display: none;
    z-index: 9;
    position: fixed;
    bottom: 1rem;
    left: 50%;
    width: 95%;
    max-width: 55rem;
    max-height: calc(100vh - 2rem);
    padding: 2.5rem;
    background: #353535;
    transform: translateX(-50%);
    overflow: auto;
}

.cookies-notis .small-title {
    padding: 0;
    font-size: 1.8rem;
    font-weight: 600;
}

.cookies-notis p,
.cookies-notis a {
    color: #fff;
    font-size: 1.6rem;
}

.cookies-notis a {
    text-decoration: underline;
}

.cookies-notis .btn-wrapper {
    margin-top: 1rem;
}

.cookies-notis .btn {
    color: #FFF;
    cursor: pointer;
}

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

.cards-wrapper .card-item .image-wrapper.logo {}

/* Specifika bredder */
.cards-wrapper.w-33 .card-item {
    width: calc((100% / 3) - 2rem);
    margin: 1rem;
}

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

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

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

.cards-14 .card-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
    padding: 2rem;
    transition: all .3s ease;
}

.cards-14 a.card-item:hover {
    text-decoration: none;
    background-color: rgba(0, 0, 0, 0.1);
    transition: all .3s ease;
}

.cards-14 i {
    width: 5rem;
    font-size: 3rem;
}

.cards-14 p {
    padding-bottom: 0;
    font-size: 1.4rem;
}

.cards-14 .contact-info {
    font-size: 1.6rem;
}

/* Cards 7 */
.cards-7 .card-item {
    width: calc((100% / 3) - 4rem);
    margin: 2rem;
    box-shadow: 0 1.5rem 3rem rgba(127, 130, 134, 0.27);
    background: #FFF;
    overflow: hidden;
}

.cards-7 .image-wrapper {
    height: 30rem;
}

.cards-7 .image-wrapper.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.cards-7 .image-wrapper.logo img {
    max-width: 20rem;
}

.cards-7 .text-wrapper {
    padding: 2rem 3rem;
    transition: .3s ease;
}

.cards-7 .text-label {
    padding: 0;
}

.cards-7 .card-item:hover .text-wrapper {
    background-color: rgb(var(--primary-color));
}

.cards-7 .card-item:hover .text-wrapper * {
    color: #fff;
}

@media only screen and (max-width:1024px) {
    .cards-7 .card-item {
        width: 100%;
        margin: 2rem 0;
    }
}

@media only screen and (max-width:340px) {
    .cards-7 .image-wrapper {
        height: 20rem;
    }

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

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

.cards-9 .card-item {
    width: calc((100% / 3) - 4rem);
    margin: 0 2rem;
    padding: 0;
}

/* Forsya rutan */
.cards-9 .card-item:nth-child(1) {
    display: flex;
    align-items: center;
    background-color: rgb(var(--secondary-color));
    padding: 2rem;
}

.cards-9 .card-item:nth-child(1) .text-wrapper {
    margin: 0 auto;
    padding: 0;
}

/* End Tredje rutan */

.cards-9 .image-wrapper {
    height: 42rem;
}

.cards-9 img {
    border-radius: 0;
}

.cards-9 .text-wrapper {
    z-index: 1;
    position: relative;
    width: 85%;
    margin: -9rem auto 0;
    padding: 3.5rem;
    transition: .3s ease;
}

.cards-9 .card-item:hover .text-wrapper:not(:first-child) {
    background-color: #ddd;
}

.cards-9 .btn {
    display: inline-block;
}

.cards-9 .arrow-link {
    margin-top: 1rem;
}

@media only screen and (max-width:1300px) {
    .cards-9 .card-item {
        width: calc(100% / 3 - 2rem);
        margin: 1rem;
    }

    .cards-9 .text-wrapper {
        width: 88%;
        padding: 3rem;
    }
}

@media only screen and (max-width:1024px) {
    .cards-9 .card-item {
        width: 100%;
        margin: 2rem 0;
    }
}

@media only screen and (max-width:550px) {
    .cards-9 .image-wrapper {
        height: 30rem;
    }
}

/* Logos 1 */
.logos-1-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logos-1-wrapper .logo-item {
    width: 20%;
    margin: 0 2%;
    text-align: center;
}

.logos-1-wrapper img {
    width: auto;
    max-height: 10rem;
    filter: grayscale() opacity(.5);
    transform: scale(.94);
    transition: 0.2s ease-in-out;
}

.logos-1-wrapper img:hover {
    opacity: 1;
    filter: none;
    transform: scale(1);
}

@media only screen and (max-width: 580px) {
    .logos-1-wrapper img {
        max-height: 8rem;
    }
}

@media only screen and (max-width: 500px) {
    .logos-1-wrapper {
        flex-wrap: wrap;
    }

    .logos-1-wrapper .logo-item {
        width: 100%;
    }
}

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

/* Speciella margins */
.split-wrapper .mt--20 {
    margin-top: -20rem;
}

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

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

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

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

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

    /* Speciella margins */
    .split-wrapper .mt--20 {
        margin-top: 0;
    }
}

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

    .split-wrapper.bg-primary .split-content,
    .split-wrapper.bg-green .split-content {
        padding: 4rem 2rem 2rem;
    }
}

/* Bakgrundsvideo
========================================================================== */
.bg-video {
    position: relative;
}

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

.bg-video-wrapper video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
}

/* Popup-notis
========================================================================== */
.EditMode .popup-wrapper,
body.en .popup-wrapper {
    display: none;
}

.popup-wrapper {
    z-index: 8;
    position: fixed;
    bottom: 3rem;
    right: 3rem;
}

/* Knappar */
.popup-button {
    position: relative;
    width: 5rem;
    height: 5rem;
    background: rgb(var(--primary-color));
    border-radius: 50%;
    box-shadow: 0 0 3rem rgba(15, 36, 47, .3);
    cursor: pointer;
}

.popup-button i {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 2.8rem;
    color: rgb(var(--white-color));
    transform: translate(-50%, -50%);
    transition: .3s ease;
}

.popup-wrapper .popup-button .icon-open,
.popup-wrapper.opened .popup-button .icon-close {
    transform: translate(-50%, -50%) scale(1);
}

.popup-wrapper.opened .popup-button .icon-open,
.popup-wrapper .popup-button .icon-close {
    transform: translate(-50%, -50%) scale(0);
}

/* Innehåll */
.popup-window {
    opacity: 0;
    visibility: hidden;
    position: fixed;
    right: 0;
    bottom: 6rem;
    max-width: 45rem;
    max-height: calc(100vh - 12rem);
    padding: 4rem;
    margin: 0 2rem;
    background: rgb(var(--white-color));
    border-radius: 2rem;
    box-shadow: 0 0 3rem rgba(15, 36, 47, .3);
    overflow: auto;
    transition: opacity .3s ease, bottom .3s ease;
}

.popup-wrapper.opened .popup-window {
    opacity: 1;
    visibility: visible;
    display: block;
    bottom: 10rem;
}

.icon-close-popup {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2.5rem;
    cursor: pointer;
}

@media only screen and (max-width: 450px) {
    .popup-window {
        padding: 2rem 3rem 2rem 2rem;
    }

    .icon-close-popup {
        top: 1rem;
    }
}

/* Header / Navigation
========================================================================== */
header .container {
    max-width: none;
}

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

/* Top header */
.top-header {
    width: 100%;
    height: 4rem;
    background-color: transparent;
    border-bottom: 1px solid rgba(var(--white-color), 0.485);
    overflow: hidden;
    transition: .3s ease;
}

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

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

.top-header a {
    padding: 0 1rem;
    font-size: 1.4rem;
    color: #fff;
    font-weight: 300;
}

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

/* nav */
nav.mainmenu {
    flex-grow: 1;
}

.TemplateMenu li.active>a,
.TemplateMenu ul a:hover {
    color: rgb(var(--secondary-color));
}

.TemplateMenu a.toplevel {
    font-weight: 500;
    font-size: 1.35rem;
    color: #fff;
}

.scrolled .TemplateMenu a {
    color: #000;
}

.TemplateMenu a:hover:before,
.TemplateMenu li.active a:before {
    visibility: visible;
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
}

.TemplateMenu a:before {
    background-color: #2A2567;
    visibility: hidden;
    position: absolute;
    content: "";
    height: 2px;
    bottom: 2rem;
    width: 50%;
    left: calc(25% + 2rem);
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
}

.TemplateMenu a.expandable:before,
.TemplateMenu ul a:before {
    display: none;
}

.TemplateMenu ul li a:hover,
.TemplateMenu ul li.active a {
    background-color: rgb(var(--primary-color));
}

.TemplateMenu ul {
    width: auto;
}

.TemplateMenu ul li a {
    white-space: nowrap;
    font-size: 1.3rem;
}

.TemplateMenu>li>ul>li>ul {
    right: auto;
    left: 100%;
}

.EditMode .TemplateMenu>li>ul>li>ul {
    height: 50rem;
    overflow: scroll;
}

/* CTA  */
.header-cta-wrapper {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-basis: 0;
    flex: 1 1 0px;
    padding: 0;
    margin: 0;
    list-style: none;
}

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

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

.mobile-menu .header-logo img,
.mobile-menu.scrolled .header-logo img {
    max-height: 8rem;
}

.mobile-menu .TemplateMenu a.toplevel {
    color: #000;
}

.mobile-menu .TemplateMenu a:before {
    display: none;
}

header.mobile-menu.scrolled .TemplateMenu>li>a {
    line-height: 5rem;
}

.mobile-menu .hamburger {
    padding: 1rem;
    background-color: rgb(var(--secondary-color), .5);
}

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

/* Top-section
========================================================================== */
.top-section {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    max-width: 100% !important;
    min-height: 100vh;
    margin-top: -15rem;
    background: linear-gradient(90deg, rgba(0, 0, 0, .2) 0%, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, 0) 100%);
    overflow: hidden;
}

.top-section h1 {
    text-align: left;
    font-size: 4.5rem;
    color: #fff;
    padding-bottom: 1rem;
}

.top-section p {
    color: #fff;
    max-width: 60rem;
    margin: 0;
    text-align: left;
}

.top-section .btn-wrapper a {
    margin-right: 2rem;
}

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

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

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

@media only screen and (max-width: 550px) {
    .top-section h1 {
        font-size: 3rem;
    }

    .top-section .btn-wrapper {
        flex-direction: column;
    }

    .top-section .btn-wrapper a {
        margin: 1rem 0;
    }
}


/* Counter
========================================================================== */
.counter-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    margin-top: -4rem;
    overflow: hidden;

}

.counter-item {
    background: rgb(var(--secondary-color));
    text-align: center;
    width: calc(100% / 5);
    padding: 1rem;
}

.counter-item-white {
    background: rgb(252, 252, 252);
}

.counter-text {
    padding-bottom: 0;
}

.count {
    font-size: 1.8rem;
}

@media only screen and (max-width: 966px) {
    .counter-item {
        width: calc(100% / 3);

    }
}

@media only screen and (max-width: 600px) {
    .counter-item {
        width: calc(100% / 1);

    }
}

/* Om oss
========================================================================== */
.section-about .col-0 {
    align-self: center;
}

/* Affarsomraden
========================================================================== */
@media only screen and (max-width: 550px) {
    .section-areas .section-block {
        padding: 5rem 1rem;
    }

    .cards-9 .text-wrapper {
        padding: 2rem;
        width: 95%;
    }
}

/* Kvalitet & miljo
========================================================================== */
.section-quality .section-title {
    max-width: 50rem;
}

/* ==========================================================================
Undersidor 
========================================================================== */
.nav-white header {
    background-color: #fff;
}

.nav-white nav.mainmenu a.toplevel,
.nav-white .top-header a {
    color: #000;
}

.nav-white .top-header {
    border-color: rgb(var(--primary-color), 0.2);
}

/* Hero
========================================================================== */
.hero {
    margin-top: -15rem;
    padding: 10rem 2rem 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, .3);
}

.hero .section-block {
    padding: 0;
}

.hero h1 {
    font-size: 8rem;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
}

.hero .inline-title {
    font-size: .4em;
    text-transform: none;
    display: block;
    font-weight: 300;
    line-height: 1;
    background-color: rgb(var(--secondary-color));
    color: #000;
    padding: 1rem;
}

/* Hero utan titel, enbart crossfade */
.hero.hero-crossfade {
    min-height: 55vh;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.485), transparent);
    margin-top: 0;
}

@media only screen and (max-width: 1450px) {
    .hero h1 {
        font-size: 6rem;
    }
}

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

@media only screen and (max-width: 580px) {
    .hero {
        justify-content: flex-start;
    }

    .hero h1 {
        font-size: 3.5rem;
        text-align: left;
    }

    .hero .inline-title {
        font-size: .8em;
    }
}

@media only screen and (max-width: 340px) {
    .hero h1 {
        font-size: 2.5rem;
    }
}

/* ==========================================================================
Undersida: Vara affarsomraden 
========================================================================== */
.section-intro .split-wrapper:not(:last-child) {
    margin-bottom: 6rem;
}

/* Generell kod for tjanster & produkter
========================================================================== */
.section-navigation .section-block {
    padding-top: 8rem;
}

.section-navigation .col-0 {
    width: 30rem;
    padding: 0;
    position: sticky;
    top: 10rem;
    align-self: flex-start;
}

.section-navigation .col-1 {
    width: calc(100% - 30rem);
    padding-left: 5rem;
    align-self: flex-start;
}

.section-navigation .image-wrapper {
    max-height: 46rem;
}

/* Nav */
.page-navigation {
    width: 100%;
    background-color: rgb(var(--secondary-color));
    padding: 1rem;
}

.page-navigation-header {
    display: flex;
    justify-content: space-between;
}

.page-navigation-title {
    font-size: 2rem;
    font-family: inherit;
    padding: 0;
    color: #000;
    transition: all .2s;
    opacity: .7;
    align-self: center;
}

.page-navigation-title:hover {
    opacity: 1;
}

.page-navigation ul {
    list-style: none;
    padding: 0;
    display: none;
}

.page-navigation .pagemenu-item {
    position: relative;
    padding: 0;
    line-height: 1;
}

.pagemenu-link {
    display: block;
    padding: 0 2rem;
    font-size: 1.4rem;
    line-height: 3;
    color: #000;
}

.pagemenu-link:hover,
.pagemenu-link:focus {
    background-color: rgb(var(--primary-color));
    color: #fff;
    text-decoration: none;
}

.pagemenu-toggle {
    -webkit-appearance: none;
    appearance: none;
    width: 4rem;
    height: 4rem;
    border: none;
    cursor: pointer;
    font-size: 0;
    background-color: #252525;
    color: #fff;
}

.pagemenu-toggle:hover {
    background-color: #333;
}

.pagemenu-toggle::after {
    display: inline-block;
    content: '\f078';
    font-family: 'Font Awesome 5 Pro';
    font-weight: 400;
    font-size: 1.4rem;
}

.pagemenu-toggle.button-clicked::after {
    transform: translate(-50%, -50%) rotate(180deg);
}

.page-navigation .pagemenu-submenu {
    background-color: #F2F2F2;
    padding: 1rem 0;
}

/* Content (.nav-content)*/
.nav-content .content-images {
    max-height: 50rem;
    overflow: hidden;
    margin-bottom: 2rem;
}

.nav-content .text-block {
    max-width: 90rem;
}

@media only screen and (min-width: 1025px) {
    .pagemenu-toggle {
        display: none;
    }

    .page-navigation ul {
        display: block;
    }
}

@media only screen and (max-width: 1024px) {
    .section-navigation .col-0 {
        width: 100% !important;
        position: relative;
        top: auto;
        margin-bottom: 3rem;
    }

    .section-navigation .col-1 {
        width: 100%;
        padding-left: 0;
    }
}

/* ==========================================================================
Undersida: Hallbarhet
========================================================================== */
@media only screen and (max-width: 1280px) {
    .section-automation.bg-image {
        background: linear-gradient(90deg, rgba(0, 0, 0, .2) 0%, rgb(0 0 0 / 50%) 0%, rgb(0 0 0 / 46%) 100%);
    }
}

/* ==========================================================================
Undersida: Kontakt
========================================================================== */
.section-contact .section-block-wrapper {
    justify-content: center;
    align-items: center;
}

.LayoutPage .section-contact .col-0 {
    max-width: 50rem;
}

.LayoutPage .section-contact .col-1 {
    background-color: #fff;
}

.section-contact .cards-14 .card-item {
    box-shadow: var(--box-shadow);
    margin: 0 0 3rem;
}

.section-contact .cards-14 .card-item:last-child {
    margin: 0;
}

/* KontaktformulÃ¤r */
.LayoutPage .grecaptcha-badge {
    box-shadow: none !important;
}

.ContactForm {
    display: flex;
    flex-wrap: wrap;
}

.ContactFormField,
.ContactFormMessage {
    width: 100%;
    margin: 1rem;
}

.ContactFormName,
.ContactFormEmail {
    width: calc(100% / 2 - 2rem);
    margin: 1rem;
}

.Contact .ContactForm div.ContactFormMessage p,
.Contact .ContactForm .ContactFormEmail p,
.Contact .ContactForm .ContactFormField p,
.Contact .ContactForm .ContactFormName p {
    color: #111;
    font-size: 1.4rem;
    font-weight: 400;
}

.ContactForm input[type="text"],
.ContactForm textarea {
    border: 1px solid #eaeaea;
    border-radius: 3px;
    background-color: #F7F7F7;
}

.ContactSentMessage {
    background-color: rgb(var(--accent-color));
    padding: 2rem;
}

.ContactSentMessage * {
    color: #fff;
    padding: 0;
}

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

    /* KontakformulÃ¤r */
    .ContactFormName,
    .ContactFormEmail {
        width: 100%;
    }
}

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

    /* KontakformulÃ¤r */
    .ContactFormName,
    .ContactFormEmail {
        width: calc((100% / 2) - 2rem);
    }
}

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

    /* KontakformulÃ¤r */
    .ContactFormName,
    .ContactFormEmail {
        width: 100%;
    }
}

/* Karta
========================================================================== */
.section-map .section-block {
    font-size: 0;
}

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

/* ==========================================================================
Undersida: Webbshop
========================================================================== */

.section-web-form .col-0 {
    background-color: rgb(var(--primary-color));
    padding: 5rem;
}

.section-web-form .col-1 {
    background-color: rgba(0, 0, 0, .2);
    padding: 5rem;
}

/* Formular */
.section-web-form .ContactForm {
    margin: 0 -1rem;
}

.section-web-form .ContactFormField,
.section-web-form .ContactFormName,
.section-web-form .ContactFormEmail {
    width: calc(100% / 2 - 2rem);
    margin: 0 1rem 1rem;
}

.section-web-form .ContactSubmit {
    margin: 0 1rem;
}

.section-web-form .ContactFormMessage {
    margin-bottom: 1rem;
}

.section-web-form .ContactForm input[type="text"],
.section-web-form .ContactForm textarea {
    padding: .5rem 1rem;
}

@media only screen and (max-width: 580px) {
    .section-web-form .section-block {
        padding: 0;
    }

    .section-web-form .col-0 {
        padding: 2rem;
    }

    .section-web-form .col-1 {
        padding: 2rem;
    }

    .section-web-form .ContactFormField,
    .section-web-form .ContactFormName,
    .section-web-form .ContactFormEmail {
        width: 100%;
    }
}

/* ==========================================================================
Undersida: Enkat
========================================================================== */
.section-survey .block-object {
    position: relative;
    max-width: 70rem;
    padding-top: 2.5rem;
    margin: -35rem auto 10rem;
    background-color: rgb(var(--gray-light-color));
    border-radius: 1rem;
}

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

    .section-survey .block-object {
        margin: -25rem auto 10rem;
        border-radius: 0;
    }
}

/* ==========================================================================
Footer
========================================================================== */
.footer {
    background-color: #eee;
}

.footer-container {
    max-width: 160rem;
    padding: 0 2rem;
    margin: 0 auto;
}

/* Footer top */
.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    padding: 8rem 2rem 4rem 2rem;
}

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

.footer-menu:first-child {
    width: auto;
}

.footer img {
    max-width: 100%;
    width: 20rem;
}

.footer .small-title {
    font-size: 2rem;
    letter-spacing: normal;
    font-weight: 600;
}

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

.footer a {
    font-weight: 300;
}

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

.footer .copyright-text {
    padding-left: .5rem;
}

.footer .copyright-reserved {
    display: block;
    font-size: 1.4rem;
    padding-right: 1rem;
    text-align: right;
}

.footer .logos {
    display: flex;
}

.footer .logos img {
    height: 8rem;
    width: auto;
    padding-right: 1rem;
}

/* Footer bottom */
.footer-bottom {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(17, 17, 17, 0.274);
}

.footer-bottom p {
    font-size: 1.4rem;
}

.footer-bottom .circle-icon {
    width: 3rem;
    height: 3rem;
}

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

/* WebbEss Stamp  */
.webbess-stamp {
    display: flex;
    align-items: center;
    padding: 0;
    font-size: 1.3rem;
    font-weight: normal;
}

.webbess-stamp img {
    width: 3rem;
    margin-left: 1rem;
}

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

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

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

    /* Footer top */
    .footer-top {
        padding: 8rem 0 4rem;
    }

    .footer-menu {
        width: 100%;
    }

}

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

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

    /* Footer top */
    .footer-top {
        padding: 8rem 0 4rem 0;
    }

}