/* Nordecta */

@import url('https://unpkg.com/aos@2.3.1/dist/aos.css');

/* Animationer */
@import url('https://unpkg.com/aos@2.3.1/dist/aos.css');

/* ==========================================================================
Generellt
========================================================================== */
:root {
    /* 	Colors */
    --primary-color: 121, 64, 139;
    --secondary-color: 165, 134, 173;

    --black-color: 17, 17, 17;
    --gray-dark-color: 58, 58, 58;
    --gray-color: 130, 130, 130;
    --gray-light-color: 248, 248, 248;
    --white-color: 255, 255, 255;

    --accent-blue-color: 132, 215, 241;
    --accent-red-color: 204, 54, 54;
    --accent-green-color: 119, 188, 32;


    /* 	Layout  */
    --col-padding: 3rem;
    --menu-height: 8rem;
    --menu-height-scrolled: 8rem;
    --section-width: 130rem;

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

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

@media only screen and (max-width: 580px) {
    :root {
        --base-size: 1.5rem;
    }
}

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

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

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

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

/* Margins */
.mb-3 {
    margin-bottom: 3rem;
}

/* Bredder */
.mw-none .section-block-wrapper {
    max-width: none;
}

.mw-1000 .section-block-wrapper,
.mw-1000:not(.section-wrapper) {
    max-width: 100rem;
}

@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: 'Poppins', sans-serif;
}

/* Rubriker */
.text-label {
    padding-bottom: 1em;
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 0.3rem;
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;
}

.section-title {
    padding-bottom: .5em;
    font-size: 4rem;
    font-weight: 400;
    line-height: 1.2;
    font-family: 'Oswald', sans-serif;
}

.small-title {
    padding-bottom: .3em;
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.4;
    font-family: 'Oswald', sans-serif;
}

/* Brodtext och lankar */
p,
li,
a {
    color: rgb(var(--black-color));
    font-weight: 300;
}

/* Listor */

/* List-circle */
.list-circle {
    padding: 0;
    list-style: none;
}

.list-circle li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.list-circle li::before {
    content: '\25CB';
    color: rgb(var(--primary-color));
    font-weight: 700;
    font-size: 1.6rem;
    font-family: 'Font Awesome 5 Pro', sans-serif;
    flex-shrink: 0;
}

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

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

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

.text-uppercase {
    text-transform: uppercase;
}

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

.justify-center {
    justify-content: 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;
}

.btn-wrapper.grid {
    display: grid;
    justify-content: center;
}
.btn.no-hover:hover{
   background: rgb(var(--primary-color));
     color: rgb(var(--white-color));
}

/* Knappar */
.btn,
.ContactSubmit {
    min-width: 20rem;
    padding: 1.2rem 2rem;
    margin: 7px;
    font-size: 1.4rem;
    font-weight: 300;
    text-transform: uppercase;
    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));
    border: 1px solid rgb(var(--primary-color));
    background-color: rgb(var(--white-color));
}

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

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

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

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

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

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

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

.btn-green-filled:hover {
    color: rgb(var(--black-color));
    border: 1px solid rgb(var(--accent-green-color));
    background-color: rgb(var(--white-color));
}

/* Arrow link */
.arrow-link {
    padding-right: 1rem;
    font-size: var(--base-size);
    color: rgb(var(--primary-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;
}

@media only screen and (max-width: 580px) {
    .btn,
    .btn-wrapper.grid {
        display: block;
        width: 100%;
        margin: 5px 0;
    }
}

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

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

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

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

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

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

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

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

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

/* Grafiska element
========================================================================== */
/* Borders */
.border-top-black {
    border-top: 1px solid rgb(var(--black-color));
}

/* Border radius */
.br-t {
    border-top-right-radius: 1rem;
    border-top-left-radius: 1rem;
}

/* Box shadow */
.box-shadow {
    box-shadow: 0 1rem 3rem rgba(var(--black-color), .1);
}

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

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

.parallax .section-block {
    min-height: 50rem;
}

/* Bilder */
.parallax-hero {
    background-image: linear-gradient(rgb(var(--black-color), .4)), url('/assets/images/svetsning-2000px.jpg');
}

.parallax-utrustning {
    background-image: linear-gradient(rgb(var(--black-color), .4)), url('/assets/images/snickare-2000px.jpg');
}

.parallax-policy {
    background-image: linear-gradient(rgb(var(--primary-color), .9), rgb(var(--primary-color), .9)), url('/assets/images/snickare-2000px.jpg');
}

.parallax-tjanster {
    background-image: linear-gradient(rgb(var(--primary-color), .9), rgb(var(--primary-color), .9)), url('/assets/images/svetsare-2000px.jpg');
}

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


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

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

/* Card grow */
.cards-grow .card-item {
    display: flex;
    flex-direction: column;
}

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

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

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

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

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

@media only screen and (max-width: 750px) {
    .cards-wrapper:not(.w-100) {
        margin-left: 0;
        margin-right: 0;
    }

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

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

@media only screen and (max-width: 580px) {
    /* Bredder */
    .cards-wrapper.w-25 .card-item {
        width: 100%;
        margin: 1rem 0;
    }
}

/* Logos 1 */
.logos-1 .card-item {
    height: 10rem;
    padding: 1rem;
    text-align: center;
    background: rgb(var(--white-color));
}

.logos-1 img {
    width: 100%;
    max-height: 12rem;
}

/* Card 2-1 */
.card-2-1 a.card-item:hover {
    background: rgb(var(--primary-light-color));
}

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

/* 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: 1300px) {
    .split-content {
        padding: 3rem;
    }
}

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

    .split-wrapper,
    .split-wrapper.reverse {
        flex-direction: column;
    }

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

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

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

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

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

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

.TemplateMenu li.active>a,
.TemplateMenu a:hover {
    text-decoration: underline;
    color: rgb(var(--white-color));
}

.mobile-menu .TemplateMenu ul {
    background: rgb(var(--primary-color));
}

/* CTA  */
.header-cta-wrapper {
    position: relative;
    z-index: 9;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex: 1 1 0px;
    padding: 0;
    margin: 0 0 0 4rem;
    list-style: none;
}

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

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

    /* Header logo */
    .header-logo a {
        font-size: 1.6rem;
    }

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

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

/* Top-section
========================================================================== */
.top-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 85vh;
    background-color: rgb(var(--black-color), .5);
}

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

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

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

.top-section p {
    max-width: 60rem;
    margin: 0 auto;
}

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

/* Sektion: om oss
========================================================================== */
.logo-wrapper {
    max-width: 20rem;
    margin: auto;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

/* Sektion: Lediga tjanster
========================================================================== */
.jobb-wrapper {
    margin: auto;
    max-width: 85rem;
}

.jobb-section {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    margin-bottom: 3rem;
    background: rgb(var(--primary-color), 0.1);
    border-radius: 1rem;
    overflow: hidden;
}

.jobb-title {
    padding: 2rem 3rem;
}

.jobb-title h3 {
    color: rgb(var(--primary-color));
    font-weight: 600;
    letter-spacing: 0.05rem;
    text-transform: initial;
    font-size: 2rem;
    padding-bottom: 1rem;
}

.info-date {
    color: rgb(var(--primary-color));
    font-size: 1.5rem;
}

.jobb-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 3rem 1rem 3rem;
    background-color: rgb(var(--primary-color));
    color: rgb(var(--white-color));
    border-radius: 0 1rem 1rem 0;
    transition: background-color 0.4s ease-in-out;
}

.jobb-button h2 {
    padding-right: 1rem;
    font-weight: 500;
    font-size: 1.6rem;
    color: rgb(var(--white-color));
    transition: color 0.4s ease-in-out;
}

.jobb-button:hover h2 {
    color: rgb(var(--black-color));
}

.jobb-description {
    display: flex;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.jobb-description p {
    padding-right: 2rem;
    font-size: 1.5rem;
}

@media only screen and (max-width: 900px) {
    .jobb-section {
        flex-direction: column-reverse;
    }

    .jobb-button {
        border-radius: 0 0 1rem 1rem;
    }
}

/* Sektion: Loggor
========================================================================== */
.section-slider {
    overflow: hidden;
}

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

.section-slider .card-item {
    margin-right: 2rem;
}

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

/* ==========================================================================
Undersida: Offertforfragan
========================================================================== */
.ContactForm {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.ContactForm div {
    width: 49%;
}

.ContactForm .ContactFormMessage,
div.submit-button-container {
    width: 100%;
}

.ContactForm input[type="text"]:not(.illegal),
.ContactForm input[type="email"]:not(.illegal),
.ContactForm textarea:not(.illegal) {
    border: none;
    border-bottom: 0.1rem solid rgb(var(--gray-light-color));
}

.section-offert .col-0 {
    max-width: 70rem;
    margin: auto;
}

.section-offert .ContactForm p {
    display: none;
}

.section-offert .input::placeholder {
    color: rgb(var(--black-color));
}

/* ==========================================================================
Undersida: Boka personal Industri
========================================================================== */
.section-boka-peronal .ContactForm p {
    display: contents;
}

.section-boka-peronal .ContactForm input[type="text"]:not(.illegal),
.section-boka-peronal .ContactForm input[type="email"]:not(.illegal),
.section-boka-peronal .ContactForm textarea:not(.illegal) {
    background: rgb(var(--gray-light-color));
}


/* ==========================================================================
Undersida: Utbildningar
========================================================================== */

/* Paralaxbilder for samtliga undersidor*/
.parallax-truck {
    background-image: linear-gradient(rgb(var(--black-color), .4)), url('/assets/images/utbildningar/truck-2000px.jpg');
}

.parallax-heta-arbeten {
    background-image: linear-gradient(rgb(var(--black-color), .4)), url('/assets/images/utbildningar/brandslackare-2000px.jpg');
}

.parallax-lift {
    background-image: linear-gradient(rgb(var(--black-color), .4)), url('/assets/images/utbildningar/lift-2000px.jpg');
}

.parallax-kran {
    background-image: linear-gradient(rgb(var(--black-color), .4)), url('/assets/images/utbildningar/kran-1000px.jpg');
}

.parallax-fallskydd {
    background-image: linear-gradient(rgb(var(--black-color), .4)), url('/assets/images/utbildningar/fall-2000px.jpg');
}

.parallax-stallning {
    background-image: linear-gradient(rgb(var(--black-color), .4)), url('/assets/images/utbildningar/stallning-2000px.jpg');
}

/* ==========================================================================
Undersida: Kontakt
========================================================================== */
.section-team .image-wrapper {
    max-width: 20rem;
    margin: auto;
}

.section-team p {
    color: rgba(var(--black-color));
}

/* Formular */
.section-contact .col-0 {
    max-width: 80rem;
    margin: auto;
}

.ContactForm div {
    width: 100%;
}

.section-contact .ContactForm input[type="text"]:not(.illegal),
.section-contact .ContactForm input[type="email"]:not(.illegal),
.section-contact .ContactForm textarea:not(.illegal) {
    background: transparent;
    color: rgba(var(--white-color));

}

.section-contact .ContactForm p {
    display: none;
}

.ContactSubmit {
    width: 100%;
    max-width: 100%;
}

/* ==========================================================================
Undersidor: Tester
========================================================================== */
.section-test .col-0 {
    max-width: 90rem;
    margin: auto;
    box-shadow: 0 1rem 3rem rgba(var(--black-color), .1);
    padding: 4rem;
}

.section-test .ContactForm input[type="text"]:not(.illegal),
.section-test .ContactForm input[type="email"]:not(.illegal),
.section-test .ContactForm input[type="tel"]:not(.illegal) {
    border: 0.1rem solid rgba(var(--black-color), .1);
}

.section-test .radio-group {
    border-bottom: 0.1rem solid rgba(var(--black-color), .1);
}

.section-test .group-wrapper {
    width: 100% !important;
    margin-top: 1rem;
}

.section-contact input::placeholder,
.section-contact .textmessage::placeholder,
.section-test.ContactForm p {
    color: rgb(var(--white-color));
}

/* ==========================================================================
Footer
========================================================================== */
.footer {
    background-color: rgb(var(--primary-color));
}

.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 5rem;
    align-items: center;
}

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


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

.footer-top a img {
    max-width: 18rem;
}

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

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

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

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

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