/* Redlins rekrytering och bemanning AB */

/* Animationer */
@import url('/resources/scripts/aos/2.3.1/aos.css');

/* ==========================================================================
Generellt
========================================================================== */
:root {
    /* 	Colors */
    --primary-color: 159, 26, 26;
    --primary-dark-color: 67, 6, 6;

    --black-color: 17, 17, 17;
    --gray-dark-color: 58, 58, 58;
    --gray-color: 222, 224, 224;
    --gray-light-color: 247, 246, 246;
    --white-color: 255, 255, 255;

    /* 	Layout  */
    --col-padding: 3rem;
    --menu-height: 7.5rem;
    --menu-height-scrolled: 7.5rem;
    --section-width: 150rem;

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

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

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

/* Layout
========================================================================== */
.section-block {
    padding: 12rem 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;
}

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

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

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

@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 */
.section-title {
    padding-bottom: .4em;
    font-size: 4.2rem;
    font-weight: 500;
    line-height: 1.2;
}

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

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

/* Listor */
.list-check,
.list-arrow {
    padding: 0;
    list-style: none;
}

.list-check li::before,
.list-arrow li::before {
    content: '\f00c';
    position: relative;
    top: -2px;
    padding: 0 1rem 0 0;
    color: rgb(var(--primary-color));
    font-weight: 700;
    font-size: 1rem;
    font-family: 'Font Awesome 5 Pro';
}

.list-arrow li::before {
    content: '\f061';
}

.list-check li.text-white::before,
.list-arrow li.text-white::before {
    color: rgb(var(--white-color));
}

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

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

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

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

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

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

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

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

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

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

/* Knappar */
.btn,
.ContactSubmit {
    min-width: 15rem;
    padding: 1.2rem 2.5rem;
    margin: 1rem 2rem 0 0;
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: 2px solid;
    transition: all .4s ease;
}

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

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

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

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

/* Arrow link */
.arrow-link {
    margin: 1rem 2rem 0 0;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
}

.arrow-link::after {
    content: ' \f061';
    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(5px);
    transition: transform .4s ease;
}

/* Lank med ikon */
.icon-links {
    padding: 5px 10px;
    font-size: 1.4rem;
    color: rgb(var(--black-color));
    line-height: 1;
    border-radius: 2rem;
    text-decoration: none;
    transition: all .3s ease;
}

.icon-links:hover {
    color: rgb(var(--white-color));
    background-color: rgb(var(--black-color));
}

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

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

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

/* Gradients */
.gradient-primary {
    background-image: radial-gradient(circle farthest-corner at 10% 20%, rgb(var(--primary-color)) 0%, rgb(var(--primary-dark-color)) 90%);
}

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

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

/* Grafiska element
========================================================================== */
/* Object position */
.of-wrapper img.op-50-30 {
    object-position: 50% 30%;
}

.of-wrapper img.op-50-15 {
    object-position: 50% 15%;
}

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

.arrow-primary-right::after {
    content: '\f061';
    position: absolute;
    top: 4rem;
    right: -1rem;
    font-size: 1.5rem;
    line-height: 1;
    color: rgb(var(--primary-color));
    font-family: 'Font Awesome 5 Pro';
    transform: translateX(50%);
}

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

.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 {
    border-left: 2rem solid rgb(var(--white-color));
    border-right: 2rem solid rgb(var(--white-color));
    background-color: rgb(var(--black-color), .75)
}

.parallax-hjarta {
    background-image: url('/assets/images/trad-hjarta-2000px.jpg');
}

.parallax-handskakning {
    background-image: url('/assets/images/handskakning-kvinna-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-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-50 .card-item {
    width: calc((100% / 2) - 2rem);
    margin: 1rem;
}

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

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

@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:not(.w-100) {
        margin-left: 0;
        margin-right: 0;
    }

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

    /* Generellt */
    .cards-wrapper .arrow-primary-right::after {
        top: unset;
        right: unset;
        bottom: -2.5rem;
        transform: translateY(-50%) rotate(90deg);
    }
}

@media only screen and (max-width: 480px) {
    .cards-wrapper .p-3 {
        padding: 2rem;
    }
}

/* Card 1-1 */
.cards-wrapper.card-1-1 .card-item {
    margin-bottom: 3rem;
}

.card-1-1 .card-item {
    align-items: center;
    border: .5rem solid rgb(var(--primary-color));
}

.card-1-1 .card-footer {
    position: relative;
    display: inline-block;
    bottom: -2.3rem;
    padding: 0 3rem;
    background: rgb(var(--white-color));
}

.card-1-1 .card-footer p {
    line-height: 1.3;
}

.card-1-1 .card-footer span {
    display: block;
    font-size: 1.4rem;
    font-weight: 400;
}

/* Card 2-2 */
.card-2-2 .card-header {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 7rem;
    height: 7rem;
    margin-bottom: 2rem;
    border: .3rem solid rgb(var(--primary-color));
}

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

/* Card 3-2 */
.card-3-2 .image-wrapper {
    display: inline-block;
    max-width: 10rem;
    height: 10rem;
    border-radius: 50%;
    border: 2px solid rgb(var(--primary-color));
}

/* Card 3-5 */
.card-3-5 .card-item {
    position: relative;
}

.card-3-5 .card-body {
    position: absolute;
    top: 50%;
    left: 2.5rem;
    width: calc(100% - 5rem);
    background: rgb(var(--primary-color), .9);
    transform: translateY(-50%);
    transition: .3s ease;
}

.card-3-5 .card-item:hover .card-body {
    left: 0;
    width: 100%;
    background: rgb(var(--primary-color), .95);
}

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

/* Med border */
.split-wrapper.reverse.border-white .split-image {
    border-right: 1rem solid rgb(var(--white-color));
    border-left: 1rem solid rgb(var(--white-color));
}

@media screen and (max-width: 1300px) {
    .split-content {
        padding: 3rem;
    }
}

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

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

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

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

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

    /* Split i pb-0/pt-0 */
    .pb-0.pt-0 .split-wrapper {
        padding-top: 8rem;
        padding-bottom: 8rem;
    }

    /* Med border */
    .split-wrapper.reverse.border-white .split-image {
        border-right: none;
        border-left: none;
    }
}

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

    /* Split i pb-0/pt-0 */
    .pb-0.pt-0 .split-wrapper {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }
}

/* Header / Navigation
========================================================================== */
header {
    border-bottom: 1px solid rgb(var(--gray-light-color));
}

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

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

/* CTA  */
.header-cta-wrapper {
    z-index: 9;
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    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) {

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

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

/* Top-section
========================================================================== */
.top-section {
    display: flex;
    align-items: center;
    min-height: calc(100vh - var(--menu-height) - 2rem);
    border-left: 2rem solid rgb(var(--white-color));
    border-right: 2rem solid rgb(var(--white-color));
    background-color: rgb(var(--black-color), .5);
}

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

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

.top-section .small-title {
    font-size: 2.2rem;
    font-weight: 500;
}

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

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

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

@media only screen and (max-width: 580px) {
    .top-section {
        border-left: none;
        border-right: none;
    }
}

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

/* Hero - Grundkod
========================================================================== */
.hero {
    display: flex;
    align-items: center;
    min-height: 50vh;
    border-left: 2rem solid rgb(var(--white-color));
    border-right: 2rem solid rgb(var(--white-color));
    background-color: rgb(var(--black-color), .5);
}

.hero.bg-video {
    background-color: rgb(var(--black-color), .3);
}

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

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

@media only screen and (max-width: 980px) {
    .hero {
        min-height: 40rem;
    }

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

@media only screen and (max-width: 580px) {
    .hero {
        border-left: none;
        border-right: none;
    }
}

/* ==========================================================================
Undersida: Kontakt
========================================================================== */
.asterisk p:after {
    color: rgb(var(--primary-color));
}

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

.ContactForm .file-dropzone:not(.illegal) {
    background: rgb(var(--gray-light-color));
}

/* Bekraftelseruta */
.ContactSentMessage {
    max-width: 100%;
    padding: 3rem 3rem 3rem 12rem;
    margin: 0 0 3rem;
    background-color: rgb(var(--gray-light-color));
    background-position: 4rem center;
    background-size: 4rem;
    background-repeat: no-repeat;
    border-radius: 0;
}

.ContactSentMessage p:not(.small-title) {
    font-size: 1.5rem;
}

/* ==========================================================================
Footer
========================================================================== */
.footer {
    padding: 0 5rem;
    border-top: 2rem solid rgb(var(--white-color));
    background-color: rgb(var(--gray-light-color));
}

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

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

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

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

.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:not(.icon-links):hover {
    text-decoration: none;
    color: rgb(var(--primary-color));
}

/* Social Menu */
.social-menu {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

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

/* Footer bottom */
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    border-top: 1px solid rgb(var(--primary-color));
}

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

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

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