/*  KalmarTerapeuten Handelsbolag */

/* Typsnitt – Nunito + Square Peg + Source Serif Pro */
/* @import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;500;700&family=Source+Serif+Pro:wght@300;400&family=Square+Peg&display=swap'); */

/* Typsnitt - Open Sans + Poppins */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;500&family=Poppins:wght@200;300;400;500&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Ms+Madi&display=swap');

/* ==========================================================================
Generellt 
========================================================================== */
:root {
    /* 	Layout  */
    --col-padding: 3rem;
    --menu-height: 9rem;
    --menu-height-scrolled: 9rem;

    /* 	Colors */
    --primary-color: 130, 161, 154;
    /* --primary-color: 164, 186, 181; */
    --primary-dark-color: 112, 133, 128;

    --black-color: 20, 20, 20;
    --gray-dark-color: 61, 61, 61;
    --gray-light-color: 248, 248, 248;
    --white-color: 255, 255, 255;

    --accent-brown-color: 175, 151, 136;
    --accent-light-green-color: 233, 242, 239;

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

    /* 	Mobile nav */
    --activate-mobile-menu: 1100;
    --mobile-menu-height: 7rem;
    --mobile-menu-bg: 255, 255, 255;
    --menu-color: rgb(var(--primary-color));
}

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

.section-block-wrapper {
    max-width: 150rem;
}

/* Speciella paddings */

.p-3 .section-block {
    padding: 3rem;
}

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

.pt-4 .section-block {
    padding-top: 4rem;
}

.pb-2 .section-block {
    padding-bottom: 2rem;
}

.pb-4 .section-block {
    padding-bottom: 4rem;
}

.py-6 .section-block {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

/* Speciella margins */
.mt-1 {
    margin-top: 1rem;
}

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

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

.mb-10 {
    margin-bottom: 10rem;
}

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

.mw-60 {
    max-width: 60rem;
}

.mw-40 {
    max-width: 40rem;
}

@media only screen and (max-width: 1024px) {
    .section-block {
        padding: 6rem 4rem;
    }
}

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

/* Text och typsnitt
========================================================================== */
body {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
}

/* Rubriker */
h1.section-title {
    font-size: 5.5rem;
}

.section-title {
    font-size: 4rem;
    line-height: 1.3;
    font-weight: 400;
    padding-bottom: 2rem;
    color: rgb(var(--gray-dark-color));
    font-family: 'Poppins', sans-serif;
}

.section-title-small {
    font-size: 3rem;
    line-height: 1.5;
    font-weight: 400;
    padding-bottom: 2rem;
    color: rgb(var(--gray-dark-color));
    font-family: 'Poppins', sans-serif;
}

.small-title {
    padding-bottom: .5rem;
    font-size: 2.1rem;
    font-weight: 500;
    line-height: 1.4;
    color: rgb(var(--black-color));
    font-family: 'Poppins', sans-serif;
}

.text-label {
    font-size: 2rem;
    font-weight: 400;
    padding-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
    color: rgb(var(--primary-dark-color));
}

/* Brodtext och lankar */
p {
    font-weight: 400;
    color: rgb(var(--gray-dark-color));
    font-family: 'Poppins', sans-serif;
    line-height: 1.8;
}

a {
    text-decoration: none;
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 400;
}

/* Ovriga klasser */
.text-block-center {
    max-width: 90rem;
    margin: 0 auto;
}

.handwritten {
    font-family: 'Ms Madi', cursive;
    font-size: 2.5rem !important;
}

.text-block {
    max-width: 80rem;
}

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

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

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

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

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

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

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

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

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

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

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

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

.btn {
    display: inline-block;
    min-width: 18rem;
    padding: 1.7rem 2.5rem;
    font-weight: 400;
    font-size: 1.5rem;
    text-align: center;
    border-radius: .8rem;
    text-decoration: none;
    -webkit-transition: all .4s ease;
    transition: all .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 {
    color: rgb(var(--white-color));
    border: 1px solid rgb(var(--accent-brown-color));
    background-color: rgb(var(--accent-brown-color));
}

/* Lank med pil */
.arrow-link {
    padding-right: 1rem;
    font-weight: 400;
    font-size: 1.8rem;
}

.arrow-link::after {
    content: ' \f178';
    display: inline-block;
    margin-left: .5rem;
    font-family: 'Font Awesome 5 Pro';
    transition: transform .3s ease;
}

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

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


/* Cirkelikon */
.circle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    padding: 0;
    margin: .5rem;
    font-size: 0;
    color: rgb(var(--white-color));
    text-decoration: none;
    border-radius: 50%;
    background-color: rgb(var(--primary-color));
    transition: .3s ease;
}

.circle-icon:hover {
    color: rgb(var(--primary-color));
    background-color: rgb(var(--secondary-color));
}

.circle-icon em:before {
    font-size: var(--base-size);
}


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

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

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

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

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

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

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

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

/* Grafiska element
========================================================================== */
.br-07 {
    border-radius: .7rem;
}

/* Object-fit */
.op-top {
    object-position: center top;
}

.of-wrapper .op-20-center {
    object-position: 20% center;
}

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

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

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

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

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

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

/* Cards 2 */
.cards-2 .card-item {
    transition: 0.2s ease-in-out;
}

.cards-2 .icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 7rem;
    height: 7rem;
    padding: 1rem;
    margin-bottom: 2rem;
    border-radius: .5rem;
}

.cards-2 .icon-wrapper i {
    font-size: 2.3rem;
}

/* Cards 2-1 */
.cards-2-1 .card-item {
    display: flex;
    padding: 4rem;
}

.cards-2-1 .text-wrapper {
    padding-left: 2rem;
    width: calc(100% - 6rem);
}

/* Cards 3-1 */
.cards-3-1 .card-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.cards-3-1 .card-item p {
    margin-top: 0.5rem;
    line-height: 1.8;
}

.cards-3-1 img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cards-3-1 .card-body {
    padding: 3rem;
}

.cards-3-1 .btn {
    margin: 0;
    border-radius: 0;
}

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

/* Split wrapper
========================================================================== */
.split-wrapper {
    display: flex;
    flex-wrap: wrap;
}

.split-wrapper.reverse {
    flex-direction: row-reverse;
}

.split-content {
    width: 50%;
    padding: 4.5rem;
}

.split-image {
    width: 50%;
}

.split-image.mh-60 {
    height: 60rem;
}

.split-image p {
    z-index: 1;
    position: absolute;
    right: 0;
    bottom: 0;
    padding: 0.5rem 1.5rem;
    color: rgb(var(--white-color));
    font-size: 1.5rem;
    background: rgb(var(--primary-color));
}

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

/* Specifika bredder */
.split-wrapper .w-40 {
    width: 40%;
}

.split-wrapper .w-60 {
    width: 60%;
}

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

    .split-wrapper .w-60,
    .split-wrapper .w-40 {
        width: 50%;
    }

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

@media screen and (max-width: 1100px) {
    .split-content {
        width: 100%;
    }

    .split-image,
    .split-wrapper .w-60,
    .split-wrapper .w-40 {
        width: 100%;
    }
}

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

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

    .split-wrapper.bg-accent-brown {
        padding: 2rem;
        background-color: rgb(var(--accent-brown-color));
    }

    .split-wrapper.bg-white {
        padding: 2rem;
        background-color: rgb(var(--white-color));
    }
}

/* Bakgrundsbild
========================================================================== */
.bg-image {
    position: relative;
}

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

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

/* logo */
.header-logo {
    flex-basis: 0;
    flex: 1 1 0px;
}

.header-logo a {
    font-size: 2rem;
    font-weight: 400;
}

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

/* nav */
.TemplateMenu a {
    font-weight: 500;
    font-size: 1.5rem;
    color: rgb(var(--gray-dark-color));
}


.TemplateMenu a:hover,
header.scrolled .TemplateMenu a:hover {
    color: rgb(var(--primary-color));
}

/* header cta  */
.header-cta-wrapper {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-basis: 0;
    flex: 1 1 0px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.header-cta-wrapper .btn {
    min-width: 12rem;
    padding: .8rem 2rem;
    margin-left: 0.5rem;
}

.header-cta-wrapper .btn:first-child {
    margin-right: 2rem;
}

/* Mobilmeny */
header.mobile-menu .header-logo {
    flex: unset
}

.mobile-menu .TemplateMenu a {
    color: rgb(var(--black-color));
}

.mobile-menu .container {
    padding: 1rem;
}

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

@media only screen and (max-width: 650px) {
    .text-logo {
        line-height: 1;
    }

    .text-logo span {
        display: block;
        font-size: 1.7rem;
    }

    header .circle-icon {
        width: 3.5rem;
        height: 3.5rem;
        margin: 0.2rem;
    }

    .header-cta-wrapper .btn:first-child {
        min-width: 11rem;
        padding: 0.4rem 0.5rem;
        margin-left: 0.3rem;
        margin-right: 1rem;
    }
}    

/* ==========================================================================
Startsida
========================================================================== */
/* Top Section
========================================================================== */
.top-section {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    min-height: calc(100vh - 15rem);
    background-color: rgb(var(--black-color), .2);
    background-image: linear-gradient(to right top, rgba(var(--black-color), .5), rgba(var(--black-color), 0.2));
}

.top-section .section-block {
    width: 100%;
    padding: 12rem 4rem 5rem;
}

.top-section .section-block-wrapper {
    max-width: 70rem;
    margin: 0;
}

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

.top-section p {
    color: rgb(var(--white-color));
    font-weight: 300;
    font-size: 2.2rem;
}

.top-section .of-wrapper img {
    object-position: center 20%;
}

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

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

    .top-section .of-wrapper img {
        object-position: 25% center;
    }
}

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

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

@media only screen and (max-width: 980px) {
    .hero h1.section-title {
        font-size: 3rem;
        text-align: center;
    }
}

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

    .hero .section-block {
        min-height: 50vh;
        padding: 4rem 2rem;
    }
}

/* Tjanster (section-services)
========================================================================== */
@media only screen and (max-width: 750px) {
    .section-services .cards-wrapper {
        margin-top: 5rem;
    }
}

/* Avtal (section-contract)
========================================================================== */
.section-contract .cards-wrapper.w-33 .card-item {
    padding: 4rem;
}

/* Varderingar (section-values)
========================================================================== */
.section-values .cards-wrapper.w-33 .card-item {
    background: rgb(var(--accent-light-green-color));
    border-radius: 0.5rem;
    padding: 4rem;
}

.section-values .small-title {
    color: rgb(var(--primary-color));
    border-bottom: rgb(var(--primary-color)) 1.5px solid;
    padding-bottom: 0.5rem;
}

.section-values .card-item p {
    color: rgb(var(--gray-dark-color));
    padding-top: 2rem;
}

/* ==========================================================================
Undersida: Våra behandlingar
========================================================================== */

/* behandlingar
========================================================================== */
.section-treatments .cards-2-1 .card-item {
    border: 2px solid rgb(var(--accent-light-green-color));
    border-radius: 0.5rem;
    padding: 0 3rem 3rem 3rem;
}

.section-treatments .cards-2 .icon-wrapper {
    margin: -2px 0 2rem auto;
    border-radius: 0 0 0.5rem 0.5rem;

}

.section-treatments .cards-wrapper.w-33 .card-item {
    flex-direction: column;
}

.cards-2-1 img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.section-treatments .cards-2-1 .text-wrapper,
.section-treatments .btn {
    padding-left: 0;
    width: 100%;
}

.section-treatments .arrow-link {
    text-align: left;
}

/* ==========================================================================
Undersida: Kontakta oss
========================================================================== */

/* kontakt
========================================================================== */
.section-contact .col-1 {
    margin-top: -20rem;
}

.section-contact i {
    width: 2.9rem;
    color: rgb(var(--primary-color));
    font-size: 2rem;
}

.section-contact a {
    color: rgba(var(--black-color), .7);
    font-weight: 400;
    font-size: var(--base-size);
}

.section-contact a:hover {
    color: rgb(var(--black-color));
}

/* Contact form  */
.section-contact .Contact {
    padding-top: 2rem;
    border-radius: 1rem;
    background: rgb(var(--white-color));
    box-shadow: 0 2rem 4rem rgba(var(--black-color), .1);
    position: relative;
}

.section-contact .ContactForm {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.section-contact div.ContactFormMessage,
.section-contact .ContactForm div {
    width: 95%;
    margin: 2rem 5rem;
}

.section-contact textarea.textmessage {
    height: 15rem;
}

.ContactForm p {
    font-size: 1.4rem;
    margin-bottom: 1rem !important;
}

.section-contact .ContactFormMessage {
    position: relative;
    padding-top: 0;
}

.section-contact input.ContactSubmit {
    padding: 1.6rem 4rem;
    color: rgb(var(--white-color));
    background-color: rgb(var(--primary-color));
    border: 1px solid rgb(var(--primary-color));
    border-radius: 0 0 1rem 1rem;
    font-size: 1.4rem;
    font-weight: 600;
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
    text-decoration: none;
}

.section-contact input.ContactSubmit:hover,
.section-contact input.ContactSubmit:focus {
    color: rgb(var(--black-color));
    background-color: rgb(var(--primary-light-color));
    border: 1px solid rgb(var(--primary-light-color));
}

.section-contact .grecaptcha-badge {
    display: none;
}

.ContactSentMessage {
    margin: 2% 5% 0 5%;
    padding: 2rem;
    border-radius: 1rem;
    background-color: rgb(var(--accent-green-color));
}

.ContactSentMessage p {
    padding: 0;
}

@media only screen and (max-width: 980px) {
    .section-contact .col-1 {
        order: 2;
        margin: 4rem 0;
    }
}

@media only screen and (max-width: 580px) {
    .section-contact div.ContactFormMessage,
    .section-contact .ContactForm div {
        width: 100%;
        margin: 0.5rem 2rem;
    }
}   

/* karta
========================================================================== */
.section-map {
    font-size: 0;
}

/* ==========================================================================
Footer
========================================================================== */
footer {
    background-color: rgb(var(--gray-light-color));
}

.footer-container {
    max-width: 160rem;
    padding: 0 2rem;
    margin: 0 auto;
}

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

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

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

.footer .small-title {
    font-size: 1.8rem;
    font-weight: 500;
    letter-spacing: normal;
    color: rgb(var(--primary-color));
}

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

.footer li,
.footer p,
.footer a {
    color: rgba(var(--black-color));
    font-weight: 300;
    font-size: 1.6rem;
}

.footer .circle-icon {
    width: 3rem;
    height: 3rem;
}

.footer em::before {
    font-size: 1.4rem;
}

/* 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 {
    padding: .5rem .2rem;
    font-size: 1.4rem;
    line-height: 1.6;
}

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

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

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

    /* 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: 450px) {

    /* Footer top */
    .footer-top {
        padding: 8rem 0 4rem 0;
    }

    /* Footer bottom */
    .footer-bottom {
        padding: 2rem 0;
    }
}