/* RDP Allservice */

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

    /* 	Colors */
    --primary-color: 42, 125, 51;
    --primary-light-color: 221, 229, 205;
    --accent-red-color:235,51,53;

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

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

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

/* Layout
========================================================================== */
.section-block {
    padding: 10rem 5rem;
}
.section-block-wrapper {
    max-width: var(--section-width);
}

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

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

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

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

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

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

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

/* Ovriga klasser */
.justify-center {
    justify-content: center;
}

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

@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: "Public Sans", sans-serif;
}

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

.section-title {
    font-size: 4rem;
    font-weight: 200;
    line-height: 1.2;
    padding-bottom: 0.5em;
    font-family: "Average", serif;
}

.small-title {
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.4;
    padding-bottom: 1rem;
    font-family: "Average", serif;
}

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

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

a {
    font-size: inherit;
    font-weight: 400;
    text-decoration: underline;
    color: inherit;
}

a:hover {
    text-decoration: none;
}

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

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

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

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

/* Info list */
.info-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin: 0 0 2rem;
    padding: 0;
    list-style: none;
}

.info-list li {
    margin: 0 3rem 1rem 0;
    color: rgb(var(--gray-dark-color));
}

.info-list li {
    border-radius: 5px;
    padding: 0rem 1rem;
    margin: 0 1rem 1rem 0;
    background-color: rgb(var(--primary-color), 0.2);
}

.info-list {
    margin: auto 0 0;
    padding: 2rem 0 0;
}

.info-list li {
    font-size: 1.4rem;
}

@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 {
    display: flex;
    flex-wrap: wrap;
    margin-top: 2rem;
}

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

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

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

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

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

.arrow-link::after {
    content: " \f105";
    display: inline-block;
    margin-left: 1rem;
    font-weight: 400;
    font-family: "Font Awesome 5 Pro";
    transition: transform 0.4s ease;
}

.arrow-link:hover::after {
    transform: translateX(1rem);
    transition: transform 0.4s ease;
}

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

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

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

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

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

.gradient-white-primarylight {
    background-image: linear-gradient(
        to bottom,
        rgb(var(--white-color)) 50%,
        rgb(var(--primary-light-color)) 50%
    );
}

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

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

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

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

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

/* Bakgrundsbilder och videos
========================================================================== */
.bg-image {
    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;
    margin-left: -1rem;
    margin-right: -1rem;
}

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

/* Specifika bredder */
.cards-wrapper.w-25 .card-item,
.cards-wrapper.w-25.alt-2 .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;
}

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

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

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

/* Card 2-4 */
.card-2-4 .card-item {
    display: flex;
}

.card-2-4 a.card-item:hover {
    background: rgb(var(--white-color));
}

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

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

.card-2-4 .card-body {
    flex: 1 1 0px;
    padding: 0 2rem;
}

.card-2-4 .text-small {
    font-size: 1.4rem;
}

@media only screen and (max-width: 420px) {
    .card-2-4 .card-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .card-2-4 .card-body {
        padding: 1rem;
    }
}

/* Card 3-1 */
.card-3-1 .card-item {
    border-radius: 0.5rem;
}

.card-3-1 .image-wrapper {
    height: 25rem;
    border-radius: 1rem 1rem 0rem 0rem;
}

.card-3-1 .card-body {
    border-radius: 0rem 0rem 1rem 1rem;
}

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

.logos-1 img {
  
    max-height: 10rem;
    transform: scale(0.94);
    transition: 0.2s ease-in-out;
}

.logos-1 img:hover {
    transform: scale(1);
}

@media only screen and (max-width: 868px) {
    .logos-1 img {
        max-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: 1000px) {
    .split-content {
        width: 100%;
        padding: 3rem;
    }

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

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

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

/* Header / Navigation
========================================================================== */
header {
    border-bottom: 3px solid rgb(var(--primary-color));
    padding: 0 5rem;
}

header .container {
    max-width: var(--section-width);
    padding: 0;
    margin: 0 auto;
}

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

.header-logo img {
    padding: 0;
}

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

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

/* 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 0.5rem;
}
.header-cta-wrapper i {
   margin-right: 0.5rem;
}

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

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

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


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

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

    .header-cta-wrapper {
        margin: 0 0 0 0rem;
        list-style: none;
    }

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

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

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

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

.top-section .text-block {
    max-width: 75rem;
    margin: 0 auto;
}

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

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

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

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

/* Hero - Grundkod
========================================================================== */
.hero .section-block {
    display: flex;
    align-items: center;
    min-height: 40rem;
    background-color: rgb(var(--black-color), 0.3);
}

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

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

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

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


/* ==========================================================================
Undersida: Kontakt 
========================================================================== */
.section-contact .section-block-wrapper {
    max-width: 130rem;
}

.section-contact .col-0 {
    padding-bottom: 5rem;
}

/* Kolumn 1 */
.section-contact .col-1 {
    width: calc(100% - 50rem);
}

.section-contact .col-1 .cards-wrapper {
    max-width: 50rem;
}

/* Kolumn */
.section-contact .col-2 {
    width: 50rem;
    padding: 3rem;
    border-radius: 0.5rem;
    box-shadow: 0 1rem 3rem rgba(var(--black-color), 0.1);
    background-color: rgb(var(--white-color));
}

.section-contact .ContactForm {
    margin-top: 2.5rem;
}
.ContactForm input[type="text"],
.ContactForm textarea {
    border-radius: 10px;
}

.ContactForm input[type="text"]:not(.illegal),
.ContactForm textarea:not(.illegal) {
    border: none;
    background-color: rgb(var(--primary-color), 0.2);
}

/* Formular */
.asterisk p:after {
    content: "*";
    font-size: 1.5rem;
    margin-left: 6px;
    color: rgb(var(--accent-red-color));
}

/* Bekraftelseruta */
.ContactSentMessage {
    padding: 1rem 1rem 1rem 7rem;
    margin-bottom: 2rem;
    border-radius: 0.5rem;
    background-color: rgba(var(--primary-color), 0.2);
    background-image: url(/assets/images/icons/message-sent.svg);
    background-size: 4rem;
    background-position: 1.5rem center;
    background-repeat: no-repeat;
}

.ContactSentMessage p {
    padding: 0;
}

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

    /* Kolumn 1 */
    .section-contact .col-1 {
        width: 100%;
        padding: 0 0 5rem;
    }

    /* Kolumn */
    .section-contact .col-2 {
        width: 100%;
        max-width: none;
        margin: 0 auto;
    }
}

/* ==========================================================================
Undersida: Inloggning - Anstallda 
========================================================================== */
.employee-form .section-block-wrapper {
    justify-content: center;
}

.employee-form .col-0 {
    max-width: 75rem;
    background-color: rgb(var(--white-color));
    border-radius: 5px;
    box-shadow: 0 1rem 3rem rgba(var(--black-color), 0.1);
}

.employee-form .ContactForm {
    border-top: 1px solid rgb(var(--black-color), .3);
    padding: 3rem 4rem;
}

.employee-form .ContactForm input[type="text"],
.employee-form .ContactForm input[type="tel"]:not(.illegal),
.employee-form .ContactForm textarea {
    background-color: rgb(var(--white-color));
    border: 1px solid rgb(var(--black-color), .3);
    border-radius: 5px;
}

.employee-form .ContactForm .ContactFormEmail.text-field {
    display: none;
}

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


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

.footer-container {
    max-width: var(--section-width);
    margin: 0 auto;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

    .footer-menu-large p {
        max-width: 55rem;
    }

    .footer img {
        max-width: 30rem;
    }
}

@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 {
        padding: 5rem 0;
    }

    .footer-bottom {
        flex-direction: column-reverse;
    }

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