/* Actus People AB */

@import url("https://use.typekit.net/bkd8cvq.css");
@import url('https://unpkg.com/aos@2.3.1/dist/aos.css');

/* ==========================================================================
Generellt 
========================================================================== */
:root {
    /* 	Layout  */
    --col-padding: 3rem;
    --section-width: 140rem;
    --menu-height: 8rem;
    --menu-height-scrolled: 8rem;

    /* 	Colors */
    --primary-color: 255, 76, 45;
    --black-color: 0, 0, 0;
    --gray-dark-color: 75, 75, 75;
    --gray-light-color: 248, 248, 248;
    --white-color: 255, 255, 255;

    /* 	Typography */
    --base-size: 1.8rem;

    /* 	Mobile nav */
    --activate-mobile-menu: 1350; 
    --mobile-menu-height: 7rem;
    --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-2 .section-block,
.pt-2:not(.section-wrapper) {
    padding-top: 2rem;
}

.pb-0 .section-block,
.pb-0:not(.section-wrapper) {
    padding-bottom: 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;
}

/* Margins */
.mt-3 {
    margin-top: 3rem;
}

.mx-1 {
    margin-right: 1rem;
    margin-left: 1rem;
}

/* Bredder */
.mw-none .section-block-wrapper {
    max-width: none;
}

@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: calibri, 'Open Sans', sans-serif;
    color: rgb(var(--gray-dark-color));
}

/* Rubriker */
.text-label {
    padding-bottom: 1em;
    font-size: 1.9rem;
    font-weight: 600;
}

.section-title {
    font-size: 4.3rem;
    font-weight: 700;
    line-height: 1.2;
    padding-bottom: .5em;
}

.small-title {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.4;
    padding-bottom: .7em;
}

.ingress {
    font-size: calc(var(--base-size) * 1.2);
}

/* 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: 80rem;
    margin-left: auto;
    margin-right: auto;
}

.text-bold {
    font-weight: 700;
}

.text-italic {
    font-style: italic;
}

.text-center {
    text-align: center;
}

.block {
    display: block;
}

.justify-center {
    justify-content: center;
}

@media only screen and (max-width: 1200px) {
    .section-title {
        font-size: 3.3rem;
    }
}

/* 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: 0.4rem;
    font-size: 1.4rem;
    font-weight: 600;
    border-radius: 2.5rem;
    text-align: center;
    text-decoration: none;
    border: none;
    transition: all .4s ease;
}

.btn-primary-filled,
.ContactSubmit {
    color: rgb(var(--white-color));
    border: 0.1rem solid rgb(var(--primary-color));
    background-color: rgb(var(--primary-color));
}

.btn-primary-filled:hover,
.ContactSubmit:hover,
.ContactSubmit:focus {
    color: rgb(var(--primary-color));
    border: 0.1rem solid rgb(var(--primary-color));
    background-color: transparent;
}

.btn-white-filled {
    color: rgb(var(--primary-color));
    border: 0.1rem solid rgb(var(--white-color));
    background-color: rgb(var(--white-color));
}

.btn-white-filled:hover {
    color: rgb(var(--white-color));
    border: 0.1rem solid rgb(var(--white-color));
    background-color: transparent;
}

/* Arrow link */
.arrow-link {
    padding-right: 1rem;
    font-size: 1.6rem;
    font-weight: 600;
    color: rgb(var(--gray-dark-color));
}

.arrow-link::after {
    content: ' \f324';
    display: inline-block;
    margin-left: 1rem;
    font-size: 1.2rem;
    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%;
        margin: 1rem 0;
    }
}

/* Farger
========================================================================== */
/* Bakgrunder */
.bg-gray-light {
    background: rgb(var(--gray-light-color));
}

.bg-white {
    background: rgb(var(--white-color));
}

/* Overlays */
.overlay-primary .section-block {
    background-color: rgba(var(--primary-color), .85);
}

/* Text */
.text-primary {
    color: rgb(var(--primary-color));
}

.text-white {
    color: rgb(var(--white-color));
}

/* Grafiska element
========================================================================== */
/* Box shadow */
.box-shadow {
    box-shadow: 0 1rem 3rem rgba(var(--black-color), .1);
}

/* Borders */
.border-bottom-primary {
    border-bottom: 0.2rem solid rgb(var(--primary-color));
}

/* Gor bild/video svartvit */
.grayscale {
    filter: grayscale();
}

/* Ikoner */
.icon-citat::before,
.icon-citat::after {
    content: '\f10d';
    font-weight: 900;
    font-size: 2rem;
    color: rgb(var(--primary-color));
    font-family: 'Font Awesome 5 Pro';
    margin: 0 1rem 0 0;
}

.icon-citat::after {
    content: '\f10e';
    margin: 0 0 0 1rem;
}

/* Object position */
.of-wrapper img.op-center-40 {
    object-position: center 40%;
}

/* Bakgrundsbild
========================================================================== */
.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%;
}

.bg-video-wrapper video {
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
}

/* Parallax */
.parallax {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow: hidden;
}

.parallax-coworker {
    background-image: url(/assets/images/medarbetare-blommor-2000px.jpg);
}

.parallax-signing {
    background-image: url(/assets/images/signerar-2000px.jpg);
}

.parallax .section-block {
    display: flex;
    align-items: center;
    min-height: 45rem;
}

@media only screen and (hover:none) {
    .parallax {
        background-attachment: scroll;
        background-position: center center;
    }
}

/* Cards
========================================================================== */
.cards-wrapper {
    display: flex;
    flex-wrap: wrap;
}

.cards .justify-center {
    justify-content: center;
}

a.card-item,
.card-item a {
    text-decoration: none;
    transition: .3s ease;
}

a.card-item:hover {
    transform: scale(1.01)
}

/* Card grow */
.cards-grow .card-item {
    display: flex;
    flex-direction: column;
}

.cards-grow .card-body {
    flex-grow: 1;
}

/* Specifika bredder */
.cards-wrapper.w-33 .card-item {
    width: calc((100% / 3) - 2rem);
    margin: 1rem;
}

.cards-wrapper.w-50 .card-item {
    width: calc((100% / 2) - 2rem);
    margin: 1rem;
}

@media only screen and (max-width: 1050px) {
    .cards-wrapper.w-33 .card-item {
        width: calc((100% / 2) - 2rem);
    }
}

@media only screen and (max-width: 750px) {

    .cards-wrapper.w-33 .card-item,
    .cards-wrapper.w-50 .card-item {
        width: 100%;
        margin: 1rem 0;
    }
}

/* Card 1-1 */
.card-1-1 .card-item {
    border-radius: 2rem;
}

/* Card 2-1 -kontakt */
.card-2-1 .card-header {
    margin-bottom: 2rem;
    font-size: 3.5rem;
}

/* Card 3-1 - nyheter */
.card-3-1 .small-title {
    font-size: 2.3rem;
}

.card-3-1 .date {
    font-size: 1.5rem;
}

/* Card 3-2 - optiker */
.card-3-2 .image-wrapper {
    max-width: 30rem;
    margin: 0 auto;
    border-radius: 50%;
}

/* 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: 980px) {
    .split-content {
        width: 100%;
        padding: 0 0 3rem;
    }

    .split-image {
        width: 100%;
        min-height: 20rem;
    }
}

@media screen and (max-width: 580px) {
    .split-wrapper {
        background: transparent;
    }
}

/* Modal som oppnas automatiskt
========================================================================== */
body:not(.EditMode) .section-auto-modal {
    display: none;
    z-index: 9;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(var(--black-color), .7);
}

body:not(.EditMode) .section-auto-modal .section-block {
    position: fixed;
    top: 50%;
    left: 50%;
    width: calc(100% - 4rem);
    max-width: 85rem;
    max-height: 90vh;
    padding: 4rem;
    border-radius: 1rem;
    overflow: auto;
    background: rgb(var(--white-color));
    transform: translate(-50%, -50%);
    outline: 0.1rem solid rgb(var(--primary-color));
    outline-offset: -1.1rem;
}

.section-auto-modal img {
    border-radius: 1rem;
}

.section-auto-modal .close-modal {
    position: absolute;
    top: 1rem;
    right: 2rem;
    font-size: 3rem;
    cursor: pointer;
}

@media only screen and (max-width: 450px) {
    body:not(.EditMode) .section-auto-modal .section-block {
        padding: 3rem 2rem;
    }
}


/* Popup-notis
========================================================================== */
.EditMode .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(var(--black-color), .2);
    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);
}

/* Innehall */
.popup-window {
    opacity: 0;
    visibility: hidden;
    position: fixed;
    right: 0;
    bottom: 6rem;
    max-width: 45rem;
    max-height: calc(100vh - 12rem);
    padding: 3rem;
    margin: 0 2rem;
    background: rgb(var(--white-color));
    border-radius: 2rem;
    box-shadow: 0 0 3rem rgba(var(--black-color), .2);
    overflow: auto;
    border: 0.1rem solid rgb(var(--primary-color));
    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;
}

body:not(.dk) .popup-wrapper .dk,
body:not(.no) .popup-wrapper .no,
body.dk .popup-wrapper .sv,
body.no .popup-wrapper .sv {
    display: none;
}

.popup-wrapper .text-label,
.popup-wrapper .small-title {
    padding-bottom: 1rem;
}

@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;
}

.IndexPage header:not(.scrolled) {
    background: transparent;
}

/* Logo */
.header-logo {
    margin: 0 auto 0 0;
}

.IndexPage .header-logo a {
    background-image: url(/assets/images/logos/actuspeople-white.png);
}

.header-logo a {
    width: 20rem;
    height: calc(var(--menu-height) - 2rem);
    background-image: url(/assets/images/logos/actuspeople-black.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

header.scrolled .header-logo a,
header.mobile-menu .header-logo a,
.EditMode header .header-logo a {
    background-image: url(/assets/images/logos/actuspeople-black.png);
}

/* Nav */
.TemplateMenu a {
    font-size: 1.6rem;
    color: rgb(var(--black-color));
}

.IndexPage header:not(.scrolled, .mobile-menu) .TemplateMenu>li:not(.active)>a:not(:hover) {
    color: rgb(var(--white-color));
}

.TemplateMenu a:hover {
    color: rgb(var(--primary-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,
.mobile-menu .header-cta-wrapper .btn {
    max-width: 20rem;
    min-width: unset;
    margin: 0 auto;
    padding: 1rem 2rem;
    line-height: 1;
}

.header-cta-wrapper .flag img {
    height: 3rem;
    padding: 0.4rem 0;
    vertical-align: top;
}

body:not(.no, .dk) .header-cta-wrapper li:not(.sv),
body.no .header-cta-wrapper li:not(.no),
body.dk .header-cta-wrapper li:not(.dk) {
    display: none;
}

/* Mobilmeny */
header.mobile-menu .TemplateMenu a:not(.btn) {
    padding: 0;
    font-size: 1.8rem;
    color: rgb(var(--black-color));
    text-align: center;
}

.mobile-menu .TemplateMenu ul {
    padding: 0;
    margin: 0;
}

.mobile-menu .header-cta-wrapper li {
    margin: 1rem 0.5rem
}

/* EditMode */
.EditMode header .container {
    max-width: 160rem;
    margin: 0 auto;
}

.EditMode .TemplateMenu ul a {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.EditMode .header-cta-wrapper {
    display: none;
}

@media only screen and (max-width: 1550px) {
    header {
        padding: 0 2rem;
    }

    /* Header logo */
    .header-logo a { 
        width: 15rem;
    }

    /* Nav */
    header:not(.mobile-menu) .TemplateMenu>li:nth-child(1) {
        display: none;
    }
}

@media only screen and (max-width: 1350px) {
    /* Header logo */
    .header-logo a {
        width: 13rem;
    }

    /* Nav */
    .TemplateMenu a {
        padding: 0 1.5rem;
        font-size: 1.4rem;
    }

    /* Header CTA */
    .header-cta-wrapper {
        margin: 0 0 0 1.5rem;
    }
}

@media only screen and (max-width: 580px) {
    .header-cta-wrapper .btn {
        min-width: unset;
        padding: 0.7rem 1.5rem;
    }
}

/* ==========================================================================
Startsida
========================================================================== */

/* Topsection
========================================================================== */
.top-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin-top: calc(-1 * var(--menu-height));
}

.top-section .logo-wrapper {
    justify-content: center;
}

.top-section .top-logo {
    width: calc(100% / 2 - 1rem);
    max-width: 18rem;
    padding: 1rem;
    margin: 0 1rem 3rem;
    border-radius: 1rem;
    background: rgb(var(--white-color), .4);
}

.top-section .section-title {
    font-size: 3.5rem;
    font-weight: 400;
}

.top-section .section-title span {
    display: block;
    margin-top: 1.5rem;
    font-size: 6rem;
    font-weight: 700;
}

@media only screen and (max-width: 680px) {
    .top-section .top-logo {
        width: calc(100% / 2 - 5px);
        max-height: 9rem;
        margin: 0 0.5rem 3rem;
    }

    .top-section .section-title {
        font-size: 3rem;
    }

    .top-section .section-title span {
        max-width: unset;
        font-size: 4.5rem;
    }
}
@media only screen and (max-width: 580px) {
    .top-section .logo-wrapper{
        padding-top: 4rem;
    }

}
@media only screen and (max-width: 420px) {
    .top-section .section-title {
        font-size: 2.5rem;
    }

    .top-section .section-title span {
        font-size: 3.5rem;
    }
}

/* Samarbetspartners
========================================================================== */
.section-quotes .slick-list {
    width: 100%;
}

.section-quotes .slick-track {
    display: flex;
    align-items: center;
}

.js-logo-slider .slick-slide {
    margin: 0 1rem;
}

@media (max-width: 992px) {
    .js-logo-slider .slick-slide {
        margin: 0 0.8rem;
    }
}

@media (max-width: 768px) {
    .js-logo-slider .slick-slide {
        margin: 0 0.5rem !important;
    }
}

/* ==========================================================================
Undersidor
========================================================================== */

/* Hero - Grundkod
========================================================================== */
.hero {
    display: flex;
    align-items: center;
    min-height: 30rem;
    padding-top: var(--menu-height);
    text-align: center;
    background-color: rgba(var(--primary-color), .85);
}

.hero .section-block {
    width: 100%;
}

.hero .text-label {
    display: block;
    color: rgb(var(--white-color));
}

.hero .section-title {
    padding: 0;
    font-size: 6rem;
    color: rgb(var(--white-color));
}

@media only screen and (max-width: 580px) {
    .hero .section-title {
        font-size: 4rem;
    }
}

/* Hero-large
========================================================================== */
.hero-large {
    min-height: 60vh;
    background-color: rgba(var(--black-color), .16);
}

/* ==========================================================================
Undersida: Jag soker jobb / Jag soker personal
========================================================================== */
.section-interest {
    background: rgb(var(--primary-color));
}

.section-interest .section-block-wrapper {
    padding: 5rem;
    background: rgb(var(--white-color));
}

.section-interest .ContactForm p {
    display: none;
}

@media only screen and (max-width: 580px) {
    .section-interest .section-block-wrapper {
        padding: 2rem;
    }
}

/* ==========================================================================
Undersida: Nyheter
========================================================================== */
/* Paginering */
#pagination ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 5rem 0 0;
}

#pagination li {
    margin: 0 .3rem;
}

#pagination li:nth-child(1),
#pagination li:last-of-type {
    display: none;
}

#pagination a,
#pagination span {
    font-size: 1.6rem;
    line-height: 2rem;
    padding: .2rem 1rem;
    text-decoration: none;
    border-radius: 0.5rem;
    border: 0.1rem solid rgb(var(--primary-color));
    background: -webkit-linear-gradient(top, rgb(var(--white-color)) 0%, rgb(var(--gray-light-color)) 100%);
    transition: .3s ease;
}

#pagination li.active span,
#pagination li.active a,
#pagination li.disabled span,
#pagination li.disabled a,
#pagination a:hover {
    color: rgb(var(--white-color));
    border: 0.1rem solid rgb(var(--primary-color));
    background: rgb(var(--primary-color));
}

/* ==========================================================================
Undersida: Kontakt
========================================================================== */
.hero.map {
    font-size: 0;
}

.hero.map iframe {
    width: 100%;
    height: 100%;
    min-height: 30rem;
}

/* ==========================================================================
Footer
========================================================================== */
footer {
    background-color: rgb(var(--black-color));
}

.footer-container {
    padding: 0 2rem;
}

/* Footer top */
.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 8rem 2rem 4rem 2rem;
    border-bottom: 0.1rem solid rgb(var(--white-color));
}

.footer-menu {
    width: 15%;
    margin: 1.5rem 0;
}

.footer-menu:nth-child(1) {
    width: auto;
}

.footer .small-title {
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: normal;
    color: rgb(var(--primary-color));
}

.footer ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-top li,
.footer-top p:not(.small-title),
.footer-top a {
    font-size: 1.5rem;
    color: rgb(var(--white-color));
}

.footer a {
    text-decoration: none;
    transition: .2s ease;
}

.footer-top a:hover {
    color: rgb(var(--primary-color));
}

.footer-logo {
    width: auto;
    max-height: 18rem;
    padding: 1rem;
    margin: 5px 1rem 5px 0;
    border-radius: 1rem;
    background: rgb(var(--white-color));
}

/* Footer bottom */
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
}

.footer-bottom p,
.footer-bottom a:not(.circle-icon) {
    padding: .5rem .2rem;
    font-size: 1.4rem;
    line-height: 1.6;
    color: rgb(var(--white-color));
}

.footer .circle-icon {
    width: 3rem;
    height: 3rem;
}

.footer .circle-icon em::before {
    font-size: 1.4rem;
}

/* 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 top */
    .footer-menu {
        width: 48%;
    }
}

@media only screen and (max-width: 750px) {

    /* Footer top */
    .footer-menu {
        width: 100%;
    }

    /* Footer bottom */
    .footer-bottom {
        padding: 2rem 0;
    }
}

@media only screen and (max-width: 520px) {
    /* Footer top */
    .footer-logo {
        width: calc(100% / 3 - 1.5rem);
    }
}

@media only screen and (max-width: 450px) {

    /* Footer top */
    .footer-top {
        padding: 8rem 0 4rem 0;
    }

    /* Footer bottom */
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-bottom p,
    .footer-bottom a:not(.circle-icon) {
        order: 2;
    }

    .footer-bottom .socials {
        order: 1;
        padding-bottom: 1rem;
    }
}