/* RVCM Redovisningscentrum AB */

/* Typsnitt */
@font-face {
    font-family: "DIN";
    src: url("/assets/fonts/din-bold.otf");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "DIN";
    src: url("/assets/fonts/din.otf");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "DIN";
    src: url("/assets/fonts/din-italic.otf");
    font-weight: 400;
    font-style: italic;
}

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

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

    /* 	Colors */
    --primary-color: 217, 234, 220;
    --primary-medium-color: 118, 135, 129;
    --primary-dark-color: 19, 36, 37;

    --secondary-color: 251, 153, 106;
    --secondary-dark-color: 223, 110, 58;

    --black-color: 17, 17, 17;
    --gray-dark-color: 58, 58, 58;
    --gray-color: 130, 130, 130;
    --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: var(--black-color);
}

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

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

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

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

.pl-0 .section-block,
.pl-0:not(.section-wrapper) {
    padding-left: 0;
}

.pr-0 .section-block,
.pr-0:not(.section-wrapper) {
    padding-right: 0;
}

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

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

/* Ovriga klasser */
.justify-center {
    justify-content: 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: 'DIN', sans-serif;
}

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

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

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

/* Brodtext och lankar */
p,
li {
    color: rgb(var(--gray-dark-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-italic {
    font-style: italic;
}

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

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

.list-pills li {
    margin: 0 5px 1rem;
    padding: 6px 1.3rem;
    background-color: rgb(var(--primary-dark-color));
    border-radius: 5px;
    text-decoration: none;
    transition: all .3s ease;
}

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

.list-check li::before {
    content: '\f00c';
    padding: 0 1rem 0 0;
    font-weight: 700;
    font-size: .8rem;
    font-family: 'Font Awesome 5 Pro';
    color: rgb(var(--secondary-color));
}

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

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

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

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

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

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

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

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

.btn i {
    margin-right: 1rem;
}

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

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

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

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

/* 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 .4s ease;
}

.arrow-link:hover::after {
    transform: translateX(1rem);
    transition: transform .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-dark {
    background-color: rgb(var(--primary-dark-color));
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* Card 2-1 */
.card-2-1 .card-item {
    border-radius: 5px;
    border: 1px solid rgb(var(--gray-light-color));
    background-color: rgb(var(--white-color));
    overflow: hidden;
}

.card-2-1 .card-header {
    padding: 1rem;
    background-image: linear-gradient(to bottom, rgb(var(--gray-light-color)) 50%, rgb(var(--white-color)) 50%);
}

.card-2-1 .image-wrapper {
    height: 30rem;
}

.card-2-1 .card-header .image-wrapper {
    display: flex;
    align-items: center;
    width: 5rem;
    height: 5rem;
    padding: 1rem;
    margin: 0 auto;
    border-radius: 50%;
    border: 3px solid rgb(var(--white-color));
    background: rgb(var(--primary-color));
}

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

.card-2-1 .card-body p,
.card-2-1 .card-footer p {
    font-size: 1.4rem;
}

.card-2-1 .card-footer {
    padding: 0 2rem 2rem;
}

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

    .card-2-1 .card-footer {
        padding: 0 1rem 1rem;
    }
}

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

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

.card-2-2 p {
    font-size: 2rem;
}

/* Card 3-1 */
.card-3-1 .image-wrapper {
    height: 30rem;
}

/* 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-top: 0;
        padding-bottom: 0;
    }
}

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

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

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

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

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

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

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

.header-logo img {
    width: 8rem;
}

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

.TemplateMenu a:hover {
    color: rgb(var(--secondary-color));
}

.TemplateMenu li.active>a,
.TemplateMenu ul a:hover {
    color: rgb(var(--secondary-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 .5rem;
}

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

/* Mobilmeny */
.mobile-menu .header-logo img {
    width: 5rem;
}

@media only screen and (max-width: 580px) {
    /* CTA  */
    .header-cta-wrapper .btn {
        padding: 0.7rem 1.5rem;
    }
}

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

/* Top-section
========================================================================== */
.top-section {
    border-bottom: 1px solid rgb(var(--gray-light-color));
}

.EditMode .top-section {
    margin-top: 3rem;
}

.top-section .col-0 {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 80vh;
    background-color: rgb(var(--black-color), .5);
    padding: 5rem;
}

.top-section .col-1 {
    padding: 5rem;
}

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

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

.top-section .col-0 .btn-secondary-filled:hover {
    color: rgb(var(--white-color));
}

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

    .top-section .col-1 {
        padding: 3rem;
    }

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

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

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

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

/* Kalkyl
========================================================================== */
/* Range slider */
.range-slider {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    flex: 1 1 0%;
    margin: 0 0 2rem;
}

.range-slider label {
    width: 100%;
    padding: 0 0 1rem;
    color: rgb(var(--black-color));
    font-size: var(--base-size);
}

.range-slider input {
    -webkit-appearance: none;
    flex: 1 1 0%;
    height: 4px;
    border-radius: 5px;
    background-color: rgb(var(--gray-light-color));
    outline: none;
}

.range-slider input::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background-color: rgb(var(--secondary-color));
    cursor: pointer;
}

.range-slider output,
.range-slider .value {
    width: 5rem;
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    margin: 0 0 0 2rem;
}

/* Summa */
.sum {
    padding: 1rem;
    background: rgb(var(--gray-light-color));
    border-radius: 5px;
}

/* Tjanster
========================================================================== */
.pills-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10rem;
}

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

.section-services .list-pills li {
    transition: all .3s ease;
}

.section-services .list-pills li:hover {
    background-color: rgb(var(--secondary-color));
}

.section-services .list-pills li:hover a {
    color: rgb(var(--black-color));
}

.section-services li a {
    text-decoration: none;
}

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

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

/* Omdomen
========================================================================== */
.section-scroll {
    overflow: hidden;
}

/* Slider */
.scroll-wrapper.cards-wrapper {
    margin-bottom: 5rem;
}

.scroll-wrapper.cards-wrapper .slick-list {
    width: 100%;
    overflow: visible;
}

.scroll-wrapper.cards-wrapper .slick-track {
    display: flex;
}

.scroll-wrapper.cards-wrapper .card-item {
    display: flex;
    height: auto;
}

/* Card item */
.scroll-wrapper .card-item {
    display: flex;
    flex-direction: column;
    margin: 0 2rem 0 0;
}

/* Slick Arrow */
.scroll-wrapper .slick-arrow {
    position: absolute;
    top: auto;
    bottom: -4rem;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: rgb(var(--primary-color));
}

.scroll-wrapper .slick-arrow::after {
    font-weight: 300;
    color: rgb(var(--black-color));
}

.scroll-wrapper .slick-next {
    right: 2rem;
}

.scroll-wrapper .slick-prev {
    left: auto;
    right: 6rem;
}

/* CTA
========================================================================== */
.section-cta .section-block-wrapper {
    padding: 10rem 4rem 4rem;
    border-radius: 5px;
    background-color: rgb(var(--primary-color));
}

/* Formular */
.section-cta .col-2 {
    padding: 2rem;
    border-radius: 5px;
    background: rgb(var(--white-color));
}

.section-cta .ContactForm {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.section-cta .ContactForm div {
    width: 49%;
    margin-bottom: 1rem;
}

.ContactForm input[type="text"],
.ContactForm input[type="email"],
.ContactForm select:not(.illegal),
.ContactForm textarea {
    border: none;
}

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

.section-cta .ContactForm .select-wrapper,
.section-cta .ContactForm .ContactFormMessage,
.section-cta .ContactForm .submit-button-container {
    width: 100%;
}

.ContactForm p {
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.8;
}

.ContactSubmit {
    margin: 0;
}

/* Knappar */
.btn-update {
    min-width: 5rem;
    padding: 1.4rem;
}

.btn-update i {
    margin: 0;
}

/* Bekraftelseruta */
.ContactSentMessage {
    padding: 2rem 1rem 2rem 7rem;
    margin-bottom: 2rem;
    border-radius: .5rem;
    background-color: rgba(var(--secondary-color));
    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;
    color: rgba(var(--black-color));
}

@media only screen and (max-width: 980px) {
    .section-cta .col-2 {
        margin-top: 5rem;
    }
}

@media screen and (max-width: 760px) {
    .section-cta .section-block-wrapper {
        padding: 0;
        background-color: transparent;
    }

    .section-cta .col-2 {
        background: rgb(var(--primary-color));
    }

    /* Formular */
    .section-cta .ContactForm div {
        width: 100%;
    }

    .section-cta .ContactForm input[type="text"]:not(.illegal),
    .section-cta .ContactForm input[type="email"]:not(.illegal),
    .section-cta .ContactForm select:not(.illegal),
    .section-cta .ContactForm textarea:not(.illegal) {
        background-color: rgb(var(--white-color));
    }
}

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

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

.hero-text .section-block {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 30rem;
    text-align: center;
}

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

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

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

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

    .hero-text .section-block {
        min-height: 10rem;
    }

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

/* ==========================================================================
Undersida: Om oss
========================================================================== */
.team-wrapper .image-wrapper {
    max-width: 25rem;
    margin: 0 auto;
}

/* ==========================================================================
Undersida: Kunder och partners
========================================================================== */
.clients .card-header {
    position: relative;
    z-index: 1;
    background: none;
    margin-top: -5rem;
}

.clients .card-header .image-wrapper {
    width: 13rem;
    height: 8rem;
    border-radius: 3px;
}

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

/* 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(--primary-dark-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 {
    text-decoration: none;
}

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

/* Social Menu */
.social-menu {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid rgb(var(--primary-dark-color));
}

.social-menu li {
    margin: 1rem 1rem 1rem 0;
}

.social-menu a {
    font-size: 1.4rem;
    color: rgb(var(--primary-dark-color));
    padding: 5px 10px;
    border-radius: 2rem;
    line-height: 1;
    text-decoration: none;
    transition: all .3s ease;
}

.social-menu a:hover {
    color: rgb(var(--black-color));
    background-color: rgb(var(--white-color));
    transition: all .3s ease;
}

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

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

.webbess-stamp img {
    width: 2.5rem;
    margin-left: 1rem;
    opacity: .6;
}

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

    /* Footer top */
    .footer-menu {
        width: 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%;
    }
}

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