/* - FONT SIZE SYSTEM (px)
10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98
      
- SPACING SYSTEM (px)
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128 */

/* 
- Breakpoints

small         >576px
Medium        >768px
Large         >992px
Extra Large   >1200px 

*/

/* =====================================
			n-General Styles
===================================== */

/* font-family: 'Font Awesome 5 Free'; */

/* font-family: "Miriam Libre", sans-serif; 
   font-family: "Fira Sans", sans-serif; */

/* Google Icons
   font-family: 'Material Symbols Outlined' !important;
   font-family: 'Material Symbols Rounded' !important;
   font-family: 'Material Symbols Sharp' !important;
*/

/* Colors 
Purple: #5F259F
Dark Purple: #532390
Grey: #F2F2F2
Green: #60D39E
Dark Green: #2D9867

*/

:root {
    --green: #60d39e;
    --light-green: #d8f5e1;
    --text-color: #000;
    --purple: #5f259f;
    --greytext: #aaaaaa;
    --black: #000000;

    --font-Miriam: "Miriam Libre", sans-serif;
    --font-Firasans: "Fira Sans", sans-serif;

    --font-weight-300: 300;
    --font-weight-400: 400;
    --font-weight-700: 700;
}

/* *************************** */
/* HTML RESET */
/* *************************** */

/* *,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%;
    height: 100%;
}

img {
    display: block;
    max-width: 100%;
} */

/* ul {
    list-style: none;
} */

.bg-green {
    background-color: #d8f5e1;
}
.bg-dark-green {
    background-color: var(--green);
}

.bg-purple {
    background-color: var(--purple);
}
.text-green {
    color: var(--green);
}
.text-purple {
    color: var(--purple);
}
.bg-white {
    background-color: #fff;
}
/* *************************** */
/* BASE SIZING */
/* *************************** */

.w-25 {
    max-width: 25% !important;
}
/* .w-30 {
    max-width: 30% !important;
}
.w-40 {
    max-width: 40% !important;
}
.w-50 {
    max-width: 50% !important;
} */
.w-60 {
    max-width: 60% !important;
}
.w-auto {
    max-width: auto;
}

.m-auto {
    max-width: auto;
}

.mt-1 {
    margin-top: 0.25rem !important;
}
.mt-2 {
    margin-top: 0.5rem !important;
}
.mt-3 {
    margin-top: 1rem !important;
}
.mt-4 {
    margin-top: 1.5rem !important;
}
.mt-5 {
    margin-top: 2rem !important;
}
.mt-6 {
    margin-top: 2.8rem !important;
}

.mb-1 {
    margin-bottom: 0.25rem !important;
}
.mb-2 {
    margin-bottom: 0.5rem !important;
}
.mb-3 {
    margin-bottom: 1rem !important;
}
.mb-4 {
    margin-bottom: 1.5rem !important;
}
.mb-5 {
    margin-bottom: 2rem !important;
}
.mb-6 {
    margin-bottom: 2.8rem !important;
}

.ml-2 li {
    margin-left: 2rem;
}

.py-2 {
    padding: 2rem 0;
}
.px-2 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}
.fs-3 {
    font-size: 2rem;
}
.text-center {
    text-align: center;
}
@media (max-width: 768px) {
}
@media (max-width: 992px) {
    .d-none {
        display: none !important;
    }
}
/* *************************** */
/* BASE COMPONENTS */
/* *************************** */
.button-container {
    margin-top: 2rem;
}

.btn {
    display: block;
    border: none;
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
    transition: background-color 0.3s ease;
    max-width: fit-content;
    text-align: center;
    margin-top: 2rem;
    cursor: pointer;
    text-decoration: none;
}
.btn-inline {
    display: inline-block;
    border: none;
    border-radius: 50px;
    padding: 0.2rem 0.5rem;
    transition: background-color 0.3s ease;
    text-align: center;
    margin-top: 2rem;
    cursor: pointer;
}
.btn-purple {
    background-color: var(--purple);
    color: #fff;
}
.btn-purple:hover {
    background-color: var(--green);
    color: #000 !important;
}

.list-style-none {
    list-style-type: none !important;
}

.promotion-container.promotion-item.content-show.btn-purple {
    max-width: 60%;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .btn {
        max-width: 75% !important;
        margin: auto;
    }
}
@media (min-width: 799px) {
}
@media (max-width: 992px) {
    /* Använd fit-content */

    /* .btn.w-30 {
        max-width: 75% !important;
    }
    .btn.w-50 {
        max-width: 100% !important;
    } */
}

/* *************************** */
/* GENERIC FLEX CONTENT */
/* *************************** */

.flex-container {
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
    align-items: stretch;
    column-gap: 10px;
    padding: 0px;
}

.text-content {
    flex-basis: 60%;
    padding: 2rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: auto;
}
.text-content.gy-2 {
    row-gap: 2rem;
}
.text-content.py-2 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.image-content {
    flex-basis: 40%;
    display: flex;
    align-items: stretch;
}

.image-content img {
    width: 100%;
    height: 100%; /* Från Auto */
    object-fit: cover;
}

.flex-container.row-reverse {
    flex-direction: row-reverse;
}

.flex-align-start {
    align-items: flex-start;
}

.flex-align-center {
    align-items: center;
}
@media (max-width: 768px) {
    .flex-container,
    .flex-container.row-reverse {
        flex-direction: column-reverse;
    }
}
@media (min-width: 1200px) {
    .flex-container {
        flex-direction: row;
    }
}

/* *************************** */
/* GENERIC GRID CONTENT */
/* *************************** */

.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 1rem;
    row-gap: 1.5rem;
}

.grid-item {
    padding: 0 1rem;
}

@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr;
    }
}

/* *************************** */
/* LANDING PAGE BANNER*/
/* *************************** */
/* The same except position:relative */
.landingpage-banner-wrapper {
    display: block;
    text-decoration: none;
    color: inherit;
    width: 100%;
    background-color: #d8f5e1;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
    position: relative;
}
.landingpage-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
/* The same  */
.landingpage-banner-text {
    flex: 1;
    padding-right: 20px;
}
.landingpage-banner-icon img {
    width: 50px;
    height: 50px;
}

.landingpage-banner-icon .close-icon {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

.landingpage-banner-icon .arrow-icon {
    width: 50px;
    height: 50px;
    display: block;
}

.landingpage-banner-wrapper:hover,
.landingpage-banner-wrapper.active {
    background-color: #fff;
}

.landingpage-banner-text:hover h2,
.landingpage-banner-wrapper.active .landingpage-banner-text h2 {
    color: #60d39e;
}

.landingpage-banner-text h2 {
    margin-bottom: 0px !important;
    font-size: 25px;
}

.itm8-hidden {
    display: none;
}

.itm8-visible {
    display: block;
}

button.button.login-form-button,
button.login-form-forgot-password {
    background-color: var(--purple) !important;
    border-radius: 2px;
    padding: 0.5rem 0.8rem;
    color: #fff !important;
    font-weight: 700;
    float: right;
}
#loginform .login-username,
#loginform .login-password {
    width: 50%;
    float: left;
    color: #60d39e !important;
}
@media (max-width: 768px) {
    .login-form-forgot-password {
        margin-right: 10px;
    }
    #loginform .login-username,
    #loginform .login-password {
        width: 100%;
        float: none;
    }
}

/* *************************** */
/* INTEREST SPOTS BOX*/
/* *************************** */

.interest-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
}

.interest-box {
    display: flex;
    flex-direction: column;
    flex: 1;
    max-width: 33%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: auto;
}

.interest-image-container {
    width: 100%;
}

.interest-image-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.interest-purple-box {
    font-family: "Miriam Libre", sans-serif;
    text-align: center;
    color: #fff;
    background-color: #6a1b9a;
    padding: 1rem;
    font-size: 24px;
    font-weight: bold;
}

@media (max-width: 768px) {
    .interest-container {
        flex-direction: column;
    }
    .interest-box {
        max-width: 100%;
        flex-direction: row;
    }
    .interest-purple-box {
        padding: 1.5rem;
    }
}

/* *************************** */
/* INTEREST ARTICLES*/
/* *************************** */

.itm8-article-header-img {
    width: 100%;
    max-height: 480px;
    margin-bottom: 40px;
    object-fit: cover;
}

.article-img-box {
    width: 100%;
    height: 100%; /* extra added */
    background-color: #fff;
    padding: 60px 0px 30px 0px;
}

.itm8-article-banner-img {
    width: 75%;
    max-height: 280px;
    margin-bottom: 40px;
    object-fit: cover;
}

.itm8-article-purplebox-workplace {
    padding: 50px !important;
}

/* *************************** */
/* INTEREST PRINT*/
/* *************************** */

/* .services-image-container {
    position: relative;
    text-align: center;
} */
.services-price {
    position: absolute;
    top: -2rem;
    right: 1rem;
    background-color: #6a1b9a;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
}
.services-image-container {
    position: relative;
    text-align: center;
    max-width: 100%;
    height: auto;
}

.services-image-container img {
    width: 100%;
    height: auto;
    object-fit: contain;
    overflow: hidden;
}

.d-block {
    display: block;
}
.itm8-article-h2.w-auto {
    width: auto;
    margin-top: 0;
}

/* *************************** */
/* CONTACT CARDS*/
/* *************************** */

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    /* max-width: 380px; */
}
.contact-image {
    border-radius: 50%;
    width: 250px !important;
    height: 250px !important;
    object-fit: cover;
    /* flex: 0 1 auto; */
}
.contact-details {
    flex: 1;
    list-style: none;
    /* max-width: calc(100% - 130px); */
    margin: 0;
    padding: 0;
}
.contact-details li {
    display: flex;
    align-items: center;
    /* font-size: 0.8rem; */
    /* overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal; */
}
.contact-name {
    font-size: 1.3rem;
    font-weight: bold;
}
.contact-role {
    margin-bottom: 10px;
}
.contact-phone:before {
    font-family: "Material Symbols Rounded" !important;
    content: "\e325";
    margin-right: 10px;
    font-size: 1.2rem;
    color: #555;
}
.contact-email:before {
    font-family: "Material Symbols Rounded" !important;
    content: "\e158";
    margin-right: 10px;
    font-size: 1.2rem;
    color: #2b164e;
}

/* *************************** */
/* DEMO LANDINGPAGE*/
/* *************************** */

.lp-promotion--list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lp-promotion--list li {
    display: flex;
    align-items: center;
}

.lp-promotion--list li:before {
    font-family: "Material Symbols Rounded" !important;
    content: "\e5ca";
    margin-right: 10px;
    font-size: 1.2rem;
    color: var(--green);
}

.lp-promotion--text-content h2 {
    color: var(--purple);
    font-size: 1.3rem;
}

.lp-promotion--image-content {
    flex-basis: 40%;
    display: flex;
    align-items: stretch;
    max-height: 350px;
    object-fit: fill;
}

/* TOOL TIPS*/

.itm8-tooltip {
    color: black;
    font-size: 18px;
    max-width: 50ch;
    text-align: center;
    display: block;
    margin-bottom: 1rem;
}
.itm8-tooltip {
    --b: 2em;
    --h: 1em;
    --p: 21%;
    --r: 1.2em;
    --c: #d8f5e1;
    padding: 1em;
    border-radius: var(--r) var(--r) min(var(--r), 100% - var(--p) - var(--b) / 2) min(var(--r), var(--p) - var(--b) / 2) / var(--r);
    clip-path: polygon(
        0 100%,
        0 0,
        100% 0,
        100% 100%,
        min(100%, var(--p) + var(--b) / 2) 100%,
        var(--p) calc(100% + var(--h)),
        max(0%, var(--p) - var(--b) / 2) 100%
    );
    background: var(--c);
    border-image: conic-gradient(var(--c) 0 0) fill 0 / var(--r) calc(100% - var(--p) - var(--b) / 2) 0 calc(var(--p) - var(--b) / 2) / 0 0 var(--h) 0;
}
.itm8-tooltip.green {
    --c: #60d39e;
}

.itm8-tooltip.purple {
    --c: #5f259f;
    color: #fff;
}
.itm8-tooltip.light-green {
    --c: #d8f5e1;
}
/* *************************** */
/* CONTENT LAYOUT CORRECTIONS*/
/* *************************** */

.promotion-item.only-picture .promotion-item-image img {
    max-height: 200px;
}
form#loginform {
    position: relative;
    height: 190px;
    margin-bottom: 100px;
}
#loginform {
    padding: 40px;
    padding: 48px 40px 40px 40px;
    background-color: #fff;
}

.itm8-contact-text p,
.itm8-contact-text h2 {
    font-size: 26px;
    margin-left: 0px;
}
/* .promotion-item.content {
    padding: 0 2rem;
} */
.small-12.medium-4.large-4.columns.end.space-bottom.promotion-container {
    padding: 0 1.8rem;
}
/* GUIDES */
.section.small-12.js-section-itm8_guide ul {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 0;
    list-style: none;
    margin: 0;
}

.content-footer-wrapper {
    margin-left: 0px;
    display: flex;
    margin: 3rem auto 5rem auto;
    font-size: 18px;
}

.footer-switches {
    display: flex;
    width: fit-content;
    margin: auto;
    justify-content: center;
}

.section.small-12.js-section-itm8_guide li {
    min-width: 100%;
}
.itm8-box {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    max-width: 33%;
    flex: 1 1 30%;
}
@media (max-width: 768px) {
    .promotion-item.text {
        display: none;
    }

    .row.header-bar.clearfix {
        font-size: 11px;
        color: #000000 !important;
        background-color: #60d39e;
        padding: 0px 13px;
    }
    .login-password {
        padding-left: 0;
    }

    .footer-switches {
        display: none;
    }
    .content-footer-wrapper {
        flex-direction: column;
    }
}
@media (max-width: 1199px) {
    .recommended {
        display: none;
    }
    .persona-image {
        display: none;
    }
}

@media (min-width: 768px) {
    .section.small-12.js-section-itm8_guide ul {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (min-width: 1024px) {
    .section.small-12.js-section-itm8_guide ul {
        grid-template-columns: repeat(4, 1fr);
    }
    span.minibasket-sum-value {
        color: #000;
    }
}

/* *************************** */
/* PLAYGROUND WORKING TO ADD */
/* *************************** */

/* *************************** */
/* PLAYGROUND TEST */
/* *************************** */
/* .itm8-personas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
} */

/* MINI BASKET ********************************************  */
