/*  Cross Stone AB (Tungbandskliniken) */


/* Typsnitt */
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&family=Quicksand:wght@300;400;500;600;700&display=swap");

/* Modal */
@import url('https://cdnjs.cloudflare.com/ajax/libs/jquery-modal/0.9.1/jquery.modal.min.css');
/* 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: 140rem;

    /* 	Colors */
    --primary-color: 126, 168, 164;
    --primary-light-color: 242, 246, 246;

    --black-color: 0, 0, 0;
    --gray-dark-color: 20, 20, 20;
    --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: 12rem 5rem;
}

.section-block-wrapper {
    max-width: var(--section-width);
}

/* Paddings */
.pl-3 {
    padding-left: 3rem;
}

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

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

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

.mr-1 {
    margin-right: 1rem;
}

.pt-0 .section-block {
    padding-top: 0;
}

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

.pt-2 {
    padding-top: 2rem;
}

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

.mr-05 {
    margin-right: 0.5rem;
}

.mt-3 {
    margin-top: 3rem;
}

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

.mw-1200 .section-block-wrapper {
    max-width: 120rem;
}

.mw-1000 .section-block-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;
    }

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

/* Text och typsnitt
========================================================================== */
body {
    font-family: "Open Sans", sans-serif;
}

/* Rubriker */
.text-label {
    font-size: 1.3rem;
    font-weight: 500;
    text-transform: uppercase;
    padding-bottom: 1em;
    letter-spacing: 0.3rem;
}

.section-title {
    font-size: 4rem;
    font-weight: 500;
    line-height: 1.4;
    padding-bottom: 0.5em;
    color: rgb(var(--gray-dark-color));
    font-family: "Quicksand", sans-serif;
}

.small-title {
    font-size: 2.5rem;
    line-height: 1.4;
    padding-bottom: 0.4em;
    font-family: "Quicksand", sans-serif;
}

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

.text-block-center {
    max-width: 80rem;
    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;
}

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

.list-check li {
    position: relative;
    padding: 0 0 5px;
}

.list-check li::before {
    position: absolute;
    content: "\f00c";
    left: -3rem;
    color: rgb(var(--primary-color));
    font-weight: 700;
    font-size: 1.6rem;
    font-family: "Font Awesome 5 Pro";
}

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

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

.btn-wrapper.multiple .btn:not(:last-child) {
    margin-right: 2rem;
}

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

/* Knappar */
.btn {
    min-width: 20rem;
    padding: 1.4rem 2rem;
    font-size: 1.4rem;
    font-weight: 600;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    transition: all 0.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 {
    border: 1px solid rgb(var(--primary-color));
    background-color: transparent;
    color: rgb(var(--primary-color));
}

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

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

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

.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: 580px) {
    .btn:not(.btn-nav) {
        display: block;
        width: 100%;
    }

    .btn-wrapper.multiple .btn:not(:last-child) {
        margin-right: 0rem;
        margin-bottom: 2rem;
    }
}

/* Farger
========================================================================== */

/* Bakgrunder */

.gradient-primary-white {
    background: linear-gradient(-90deg,
            rgb(var(--primary-color)) 40%,
            rgb(var(--primary-light-color)) 40%);
}

@media only screen and (max-width: 1100px) {
    .gradient-primary-white {
        background: linear-gradient(to top,
                rgb(var(--primary-color)) 35rem,
                rgb(var(--primary-light-color)) 35rem);
    }
}

@media only screen and (max-width: 580px) {
    .gradient-primary-white {
        background: linear-gradient(to top,
                rgb(var(--primary-color)) 20rem,
                rgb(var(--primary-light-color)) 20rem);
    }
}

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

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

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

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

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

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

/* Grafiska element
========================================================================== */

/* Ikoner */
.icon-citat {
    padding: 0 3.5rem;
}

.icon-citat::before,
.icon-citat::after {
    content: "\f10d";
    position: absolute;
    font-weight: 900;
    font-size: 6rem;
    color: rgb(var(--primary-color), 0.2);
    font-family: "Font Awesome 5 Pro";
    margin: -1rem 0 0 -3rem;
}

.icon-citat::after {
    content: "\f10e";
    margin: -1rem 0 0 -5rem;
}

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

    .icon-citat::before,
    .icon-citat::after {
        font-size: 4rem;
    }
}

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

    .icon-citat::before,
    .icon-citat::after {
        font-size: 4rem;
    }

    .icon-citat::before,
    .icon-citat::after {
        margin: -1rem 0 0 -1rem;
    }

    .icon-citat {
        padding: 0 0rem;
    }
}

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

/* Bakgrundsbild
========================================================================== */
.bg-image {
    position: relative;
    background: linear-gradient(90deg,
            rgba(var(--primary-color), 0.5) 0%,
            rgba(var(--primary-color), 0.7) 0%,
            rgba(var(--primary-color), 0.4) 100%);
}

.bg-image-wrapper {
    z-index: -1;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Bakgrundsvideo
========================================================================== */
.bg-video {
    position: relative;
    overflow: hidden;
    margin-top: calc(-1 * var(--menu-height));
    background: linear-gradient(90deg,
            rgba(var(--black-color), 0.2) 0%,
            rgba(var(--black-color), 0.5) 0%,
            rgba(var(--black-color), 0) 100%);
}

.bg-video-wrapper video {
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -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;
}

.split-wrapper .align-end {
    align-self: flex-end;
}

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


    .split-content {
        width: 100%;
        padding: 0 0 5rem;
    }

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

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

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

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

    .split-content.bg {
        padding: 4rem 0 2rem;
    }
}

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

/* Generellt */
a.card-item {
    transition: 0.3s ease;
    text-decoration: none;
}

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

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

@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-2 */
.card-2-2 .card-item {
    border-radius: 5px;
    padding-top: 0;
    background-color: rgb(var(--primary-light-color));
}

.card-2-2 .card-header {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 7rem;
    height: 7rem;
    margin: 0 0 2rem 0;
    border-radius: 0 0 1rem 1rem;
}

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

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

@media only screen and (max-width: 750px) {
    .card-2-2 .card-item {
        padding-left: 2rem;
    }
}

@media only screen and (max-width: 580px) {
    .card-2-2 .card-header {
        width: 4rem;
        height: 4rem;
    }

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

/* Card 2-5 */
.card-2-5 .card-item {
    display: flex;
    align-items: flex-start;
    border-radius: 5px;
    transition: 0.3s ease;
}

.card-2-5 a.card-item.bg-primary-light:hover {
    background: rgb(var(--gray-light-color));
}

.card-2-5 .card-header {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    width: 7rem;
    height: 7rem;
    margin: 0 0 1rem 2rem;
    border-radius: 0 0 1rem 1rem;
}

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

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

.card-2-5 .card-item .small-title {
    font-size: 2.2rem;
}

@media only screen and (max-width: 580px) {
    .card-2-5 .card-item {
        display: block;
    }

    .card-2-5 .card-header {
        width: 4rem;
        height: 4rem;
    }

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

/* Card 2-6 */
.cards-wrapper.card-2-6 .card-item {
    position: relative;
    margin-top: 3rem;
}

.card-2-6 .card-header {
    display: flex;
    margin-bottom: 2rem;
}

.card-2-6 .card-header .image-wrapper {
    flex-shrink: 0;
    width: 15rem;
    border-radius: 5px;
    margin-right: 2rem;
}

.card-2-6 .card-body {
    z-index: 2;
    position: relative;
    margin: 0 0 0 auto;
    border-radius: 1rem;
}

.card-2-6 i {
    margin: -2rem 0 0 3rem;
    font-size: 5rem;
}

@media only screen and (max-width: 450px) {
    .card-2-6 .card-header {
        flex-direction: column;
        margin-bottom: 0;
    }

    .card-2-6 .image-wrapper {
        margin: 0 0 2rem;
    }
}

/* Card 3-1 */
.card-3-1 .card-item {
    border-radius: 5px;
}

.card-3-1 .video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.card-3-1 .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* Modal
========================================================================== */
.modal {
    max-width: 80rem;
    width: 100%;
    max-height: 75vh;
    padding: 4rem;
    border-radius: 0;
    box-shadow: none;
    overflow: auto;
    border-radius: 2rem;
}

.blocker {
    z-index: 100;
}

.modal a.close-modal {
    display: none;
}

.modal .custom-close-modal {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 3rem;
}

@media only screen and (max-width: 450px) {
    .modal {
        padding: 3rem 2rem;
    }

    .blocker {
        padding: 1rem;
    }
}

/* Header / Navigation
========================================================================== */

body .lang {
    display: none;
}

body.dk .lang-dk,
body.no .lang-no,
body:not(.dk, .no) .lang-se {
    display: block;
}

header .container {
    padding: 0 5rem;
}

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

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

.TemplateMenu>li>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 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 .container {
        padding: 0 3rem;
    }
}

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

    .header-cta-wrapper .btn {
        min-width: unset;
        padding: 0.7rem 1.5rem;
    }

    .header-logo a {
        font-size: 1.5rem;
    }
}

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

/* Top-section
========================================================================== */
.top-section {
    display: flex;
    align-items: flex-end;
    min-height: 90vh;
    background-image: linear-gradient(194deg,
            rgba(var(--black-color), 0.2) 0%,
            rgba(var(--black-color), 0.6) 100%);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center left;
}

.top-section .section-title {
    font-size: 7.5rem;
    line-height: 1.3;
    max-width: 70rem;
    color: rgb(var(--white-color));
}

.top-section p {
    max-width: 55rem;
    color: rgb(var(--white-color));
}

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

    .top-section {
        background-size: 100% 100%;
    }

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

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

/* Interaktiv checklista lista*/
table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 1.2rem;
    border-bottom: 1px solid rgb(var(--gray-dark-color));
    text-align: left;
    font-size: 1.6rem;
}

.checkbox {
    display: inline-block;
    width: 2.4rem;
    height: 2.4rem;
    border: 0.2rem solid rgb(var(--gray-dark-color));
    border-radius: 0.4rem;
    cursor: pointer;
    font-size: 1.8rem;
    line-height: 2.2rem;
    text-align: center;
    user-select: none;
}

.checkbox.checked {
    background-color: rgb(var(--primary-color));
    color: rgb(var(--white-color));
    border-color: rgb(var(--primary-color));
}

.checkbox::after {
    content: '';
}

.checkbox.checked::after {
    content: '✔';
}

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

    th,
    td {
        font-size: 1.4rem;
    }
}

/* Sektion omdomen
========================================================================== */
.section-citat {
    position: relative;
    overflow: hidden;
}

.section-citat::before {
    content: "";
    position: absolute;
    left: 12rem;
    bottom: -8rem;
    width: 100%;
    height: 100%;
    opacity: 0.2;
}

.EditMode .section-name::after {
    display: none;
}

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

.section-citat ul.slick-dots {
    padding-inline-start: 0;
}

.section-citat p {
    font-size: 1.9rem;
}

.section-citat .font-renata {
    font-size: 2.7rem;
}

@media only screen and (max-width: 980px) {
    .section-citat::before {
        left: -5rem;
        bottom: -3rem;
    }
}

@media only screen and (max-width: 480px) {
    .section-citat .icon-citat {
        padding-right: 0;
    }

    .section-citat .icon-citat::after {
        display: none;
    }

    .section-citat p {
        font-size: 1.7rem;
    }
}

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

/* Hero - Grundkod
========================================================================== */
.hero .section-block {
    display: flex;
    align-items: center;
    min-height: 50rem;
}

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

.hero .section-title {
    font-size: 6rem;
    font-weight: 700;
    color: rgb(var(--white-color));
    text-align: center;
}

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

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

/* ==========================================================================
Undersida: Om oss
========================================================================== */
@media only screen and (max-width: 1300px) {
    .section-team .cards-wrapper.w-33 .card-item {
        width: calc((100% / 2) - 2rem);
    }
}

@media only screen and (max-width: 800px) {
    .section-team .cards-wrapper.w-33 .card-item {
        width: 100%;
        margin: 1rem 0;
    }
}

/* ==========================================================================
Undersida: Kontakt
========================================================================== */
.section-contact .col-2 {
    padding: 2rem 3rem;
    margin: 1rem 0 0;
    border-radius: 5px;
    background: rgb(var(--primary-light-color));
}

.section-contact iframe {
    width: 100%;
    height: 40rem;
    margin-top: 1rem;
    border: none;
    border-radius: 5px;
}

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

    .section-contact .col-2 {
        padding: 2rem 2rem;
    }
}

/* ==========================================================================
Footer
========================================================================== */
.footer {
    background-color: rgb(var(--primary-light-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 5rem;
    border-bottom: 1px solid rgb(var(--primary-color), 0.8);
}

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

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

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

.footer ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-top li,
.footer-top p,
.footer-top a {
    color: rgb(var(--black-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(--black-color));
}

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

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

@media only screen and (max-width: 1024px) {
    .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;
    }
}