/*  Absol Rail AB */

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

/* ==========================================================================
Generellt 
========================================================================== */
:root {
    /* 	Layout  */
    --col-padding: 3rem;
    --menu-height: 8rem;
    --menu-height-scrolled: 8rem;
    --section-width: 140rem;

    /* 	Colors */
    --primary-color: 219, 1, 1;
    --primary-dark-color: 153, 1, 1;
    --secondary-color: 5, 72, 173;
    --secondary-dark-color: 7, 57, 100;

    --black-color: 11, 9, 10;
    --gray-dark-color: 42, 49, 55;
    --gray-color: 157, 165, 169;
    --gray-light-color: 232, 235, 237;
    --white-color: 255, 255, 255;

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

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

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

/* Paddings */
.pt-0 .section-block,
.pt-0:not(.section-wrapper) {
    padding-top: 0;
}

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

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

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

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

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

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

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

/* 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;
    color: rgb(var(--black-color))
}

.section-title {
    font-family: 'Exo 2', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    padding-bottom: .5em;
    color: rgb(var(--black-color))
}

.small-title {
    font-family: 'Exo 2', sans-serif;
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.4;
    padding-bottom: .7em;
    color: rgb(var(--black-color))
}

.small-title::before {
    content: '';
    position: relative;
    right: 1.3rem;
    display: inline-block;
    height: 0.1rem;
    width: 2.5rem;
    margin-bottom: .3em;
    margin-left: 1.3rem;
    border-bottom: 2px solid rgb(var(--black-color));
}

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

/* List-check */
.list-check {
    padding: 0;
    margin-top: 0;
    list-style: none;
}

.list-check li {
    display: flex;
}

.list-check li::before {
    content: '\f00c';
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: flex-start;
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    margin: .5rem 1rem 0 .5rem;
    color: rgb(var(--white-color));
    font-weight: 700;
    font-size: .8rem;
    font-family: 'Font Awesome 5 Pro';
    border-radius: 50%;
    background: rgb(var(--primary-color));
}

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

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

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

/* Knappar */
.btn,
.ContactSubmit {
    min-width: 20rem;
    padding: 1.4rem 2rem;
    margin: 4px;
    font-size: 1.4rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    text-align: center;
    text-decoration: none;
    transition: all .4s ease;
}

.btn-primary-filled,
.ContactSubmit {
    color: rgb(var(--white-color));
    background-color: rgb(var(--primary-color));
}

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

.btn-black-filled {
    color: rgb(var(--white-color));
    background-color: rgb(var(--black-color));
}

.ContactSubmit {
    margin: 0;
}

.ContactForm input:focus, 
.ContactForm textarea:focus {
    outline-color: rgb(var(--secondary-color));
}

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

.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-gray-light {
    background-color: rgb(var(--gray-light-color));
}

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

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

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

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

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

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

/* Grafiska element
========================================================================== */
/* Object position */
.of-wrapper img.op-center-top {
    object-position: center top;
}

.of-wrapper img.op-center-30 {
    object-position: center 30%; 
}

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

.arrow-primary-right::after {
    content: '\2192';
    position: absolute;
    top: 5rem;
    right: 0;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
    color: rgb(var(--primary-color));
    transform: translateX(50%);
}

/* Bakgrundsbild
========================================================================== */
.bg-image,
.bg-video {
    position: relative;
    background-image: linear-gradient(to right top, rgba(var(--black-color), .89), rgba(var(--black-color), .29));
}

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

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

/* Parallax
========================================================================== */
.parallax {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

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

@media only screen and (hover:none) {
    .parallax {
        background-attachment: scroll;
        background-position: center center;
    }
}

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

/* Generellt */
.card-item {
    text-decoration: none;
    transition: .3s ease;
}

/* Specifika 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-100 .card-item {
    width: 100%;
    margin: 1rem 0;
}

/* Margins */
.cards-wrapper.has-mt--5 .card-item {
    margin-top: 6rem;
}

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

    .cards-wrapper.has-mt--5 .card-item {
        margin-top: 4rem;
    }
}

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

    .cards-wrapper.has-mt--5 .card-item {
        margin-top: 4rem;
    }
}

/* Card 2-2 */
.card-2-2 .card-header {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 7rem;
    height: 7rem;
    border-radius: 50%;
} 

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

.card-2-2 .small-title::before {
    display: none;
}

@media only screen and (max-width: 750px) {
    .card-2-2 .arrow-primary-right::after {
        top: auto;
        bottom: 0;
        right: 50%;
        transform: translateX(50%) rotate(90deg);
    }
}

/* Card 2-5 - kontaktkort */
.card-2-5 .card-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-radius: 3rem;
    transition: .3s ease;
}

.card-2-5 a.card-item:hover {
    background-color: rgb(var(--gray-light-color));
}

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

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

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

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

/* Card 3-1 */
.card-3-1 .card-item {
    position: relative;
    display: flex;
    flex-direction: column; 
    border-radius: 5px;
}

.card-3-1 .image-wrapper {
    position: relative;
    padding-top: 66.67%;
    border-radius: 5px;
    margin-top: -5rem;
}

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

.card-3-1 .card-body {
    flex-grow: 1;
}


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

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

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

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

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

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

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

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

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

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

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

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

.header-cta-wrapper li {
    margin: 0 .5rem;
}

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

.header-cta-wrapper .btn-black-filled {
    padding: 1rem;
}

.header-cta-wrapper img {
    max-width: 2.5rem;
    margin-left: .3rem;
}

/* CTA - Sprak */
body:not(.en) .header-cta-wrapper .en,
body.en .header-cta-wrapper .sv {
    display: none;
}

@media only screen and (max-width: 1350px) {
    /* Dolj hem */
    .TemplateMenu > li:nth-child(1) {
        display: none;
    }

    /* Header CTA */
    .header-cta-wrapper li {
        margin: 0;
    }
}

@media only screen and (max-width: 580px) {
    /* Header logo */
    .header-logo img {
        padding: 1.3rem 0;
    }

    /* Header CTA */
    .header-cta-wrapper {
        margin: 0 0 0 0rem;
        list-style: none;
    }

    .header-cta-wrapper li {
        margin: 3px;
    }

    .header-cta-wrapper .btn {
        min-width: unset;
        padding: 0.7rem 1rem;
        margin: 0;
    }

    .header-cta-wrapper .btn-black-filled {
        padding: .7rem .5rem;
    }

    .header-cta-wrapper .btn span {
        display: none;
    }

    .header-cta-wrapper img {
        margin-left: 0;
    }
}

@media only screen and (max-width: 350px) {
    .header-cta-wrapper .btn-primary-filled {
        display: none;
    }
}

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

/* Top Section
========================================================================== */
.top-section .section-block {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    background-image: linear-gradient(to right top, rgba(var(--secondary-dark-color), .89), rgba(var(--secondary-dark-color), .29));
}

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

.top-section .section-title {
    font-size: 6rem;
    max-width: 100rem;
    margin: 0 auto;
    text-align: center;
    font-weight: 400;
}

.top-section p {
    margin: 0 auto;
    text-align: center;
    max-width: 55rem;
}

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

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

/* Services (.section-services)
========================================================================== */
.section-services .slick-list {
    width: 100%;
}

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

.section-services .slick-slider .slick-slide {
    display: flex;
    height: auto;
}

.section-services .slick-arrow {
    position: absolute;
    bottom: 0;
    height: 4rem;
}

.section-services .slick-prev {
    left: 0;
}

.section-services .slick-next {
    right: 0;
}

.slick-dots {
    padding: 0;
}

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

    .section-services .cards-wrapper {
        margin-top: 0;
    }

    .section-services .slick-slider .slick-slide {
        border-radius: 0;
    }
}

/* Offert (.section-offert)
========================================================================== */
.section-offert {
    background-image: url(/assets/images/tagen-aker-forbi-solnedgang-2000px.jpg);
}

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

/* Hero - Grundkod
========================================================================== */
.hero .section-block {
    display: flex;
    align-items: center;
    min-height: 45rem;
    text-align: center;
}

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

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

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

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

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

/* ==========================================================================
Undersida: Om oss
========================================================================== */
.cert-wrapper {
    display: flex;
    align-items: center;
}

.cert-wrapper .image-wrapper {
    width: 15rem;
}

.cert-wrapper .text-wrapper {
    width: calc(100% - 15rem);
    padding-left: 3rem;
}

@media only screen and (max-width: 480px) {
    .cert-wrapper {
        flex-wrap: wrap;
    }

    .cert-wrapper .text-wrapper {
        width: 100%;
        padding: 2rem 0 0 0;
    }
}

/* ==========================================================================
Undersida: Karriar
========================================================================== */
.section-jobform .col-0 {
    max-width: 70rem;
    padding: 3rem;
    margin: 0 auto;
    border-radius: 2rem;
    background: rgb(var(--white-color));
}

@media only screen and (max-width: 580px) {
    .section-jobform .col-0 {
        padding: 2rem 1rem 1rem;
        border-radius: 1rem;
    }
}

/* ==========================================================================
Undersida: Kontakt
========================================================================== */
.section-contact .section-block-wrapper {
    justify-content: space-between;
}

.section-contact .col-2 {
    max-width: 55rem;
    padding: 5rem;
    border-radius: 2rem;
    background: rgb(var(--gray-light-color));
}

@media only screen and (max-width: 1300px) {
    .section-contact .col-2 {
        max-width: 45rem;
        padding: 3rem;
    }
}

@media only screen and (max-width: 980px) {
    .section-contact .col-2 {
        max-width: 55rem;
        margin: 5rem auto 0;
    }
}

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

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

.section-map iframe {
    width: 100%;
    height: 50rem;
    border: none;
}

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

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

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

.footer-menu {
    width: calc((70% / 4) - 2rem);
    margin: 0 1rem 3rem;
}

.footer-menu-large {
    width: calc(30% - 2rem);
}

.footer .text-label {
    color: rgb(var(--white-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));
}

.footer a {
    text-decoration: none;
    transition: .2s ease;
}

.footer-top a:not(.circle-icon):hover {
    color: rgb(var(--primary-color));
}

/* Logos */
.footer-logos .footer-submenu {
    display: flex;
    flex-wrap: wrap;
}

.footer-logos .footer-submenu li {
    max-width: calc((100% / 2) - 2rem);
    height: 7rem;
    margin: 0 1rem 1rem;
    border-radius: 8px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.footer-logos .footer-submenu li img {
    max-height: 7rem;
}

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

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

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

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

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

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

    .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%;
        margin: 0 0 3rem;
    }
}

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