/*
Theme Name: Lifestyle Capital Theme
Theme URI: https://lifestyleaccess.se/
Template: hello-elementor
Author: Amar Delic
Author URI: https://smedigt.se/
Description: Fully optimized website, packed with features while being lightweight.
Version: 1.0
Requires PHP: 6.0
Text Domain: lifestylecapital
*/

html, body {
    margin: 0;
    padding: 0;
}

html[lang] {
    margin: 0 !important;
    overflow-x: hidden;
}

::selection {
    background: black;
    color: white
}

.elementor-widget-text-editor h2,
.elementor-widget-text-editor h3,
.elementor-widget-text-editor h4,
.elementor-widget-text-editor h5,
.elementor-widget-text-editor h6 {
    margin-top: 1em;
    margin-bottom: 0.5em !important;
}

.elementor-widget-text-editor li:not(:first-child) {
    padding-top: 0.5em;
}

/* –– GLOBAL –– */
.elementor-button {
    transition-duration: 0.1s;
}

.container-shadow {
    box-shadow: 0 50px 40px rgb(0,0,0,.025);
}

.lc-line-top {
    border-top: solid 3px var(--e-global-color-0dd6b04);
}

.lc-line-top::after {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 75%;
    height: 10px;
    background: var(--e-global-color-0dd6b04);
    clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0% 100%);
    z-index: 1;
}

.lc-line-top {
    border-top: solid 3px var(--e-global-color-accent);
}

.lc-line-top::after {
    background: var(--e-global-color-accent);
}

.lc-line-top > .e-con-inner {
    z-index: 1
}

.lc-btn-arrow a {
    position: relative;
}

a.lc-btn-arrow {
    font-family: var(--e-global-typography-91c07af-font-family), Sans-serif;
    font-size: var(--e-global-typography-91c07af-font-size);
    font-weight: var(--e-global-typography-91c07af-font-weight);
    text-transform: var(--e-global-typography-91c07af-text-transform);
    line-height: var(--e-global-typography-91c07af-line-height);
    letter-spacing: var(--e-global-typography-91c07af-letter-spacing);
    color: black !important;
    padding: 0.8em 0;
}

a.lc-btn-arrow.white {
    color: white !important;
}

.lc-btn-arrow:not(.left) a > span::after,
a.lc-btn-arrow:not(.left)::after,
.lc-btn-arrow.left a > span::before,
a.lc-btn-arrow.left::before{
    content: '';
    display: inline-block;
    width: 2em;
    height: 1em;
    margin-left: 1em;
    background: url(https://lifestyle.smedigt.se/wp-content/uploads/2024/01/lifestyle-grafik_pil.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    order: 19999;
    transition: margin 0.2s;
}

.lc-btn-arrow.left a > span::before,
a.lc-btn-arrow.left::before {
    margin-left: 0;
    margin-right: 1em;
    transform: rotate(180deg);
    order: -19999;
}

.lc-btn-arrow:not(.left) a:hover > span::after,
.lc-btn-arrow:not(.left) a:focus > span::after,
a.lc-btn-arrow:not(.left):hover::after,
a.lc-btn-arrow:not(.left):focus::after {
    margin-left: 1.5em;
}

.lc-btn-arrow.left a:hover > span::before,
.lc-btn-arrow.left a:focus > span::before,
a.lc-btn-arrow.left:hover::before,
a.lc-btn-arrow.left:focus::before {
    margin-right: 1.5em;
}

.lc-btn-arrow.white:not(.left) a > span::after,
.lc-btn-arrow.white.left a > span::before {
    filter: invert(1);
}

.la-loader {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 30px;
  height: 30px;
 
} 
 
.la-loader::before {
    content: '';
    position: relative;
    display: block;
    width: 300%;
    height: 300%;
    box-sizing: border-box;
    margin-left: -100%;
    margin-top: -100%;
    border-radius: 45px;
    background-color: black;
    animation: pulse-ring 1.25s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

.la-loader::after {
    content: '';
    position: absolute;
    left: 0; 
    top: 0;
    display: block;
    width: 100%;
    height: 100%;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 0 8px rgba(0,0,0,.3);
    animation: pulse-dot 1.25s cubic-bezier(0.455, 0.03, 0.515, 0.955) -.4s infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(.33);
  }
  80%, 100% {
    opacity: 0;
  }
}

@keyframes pulse-dot {
  0% {
    transform: scale(.8);
  }
  50% {
    transform: scale(1);
  }
  100% {
    transform: scale(.8);
  }
}

.lc-icon-card {
    background: rgb(0,0,0,.02);
    border-radius: 5px;
    padding: 40px;
    box-shadow: 0 50px 40px transparent;
    border: solid 1px transparent;
    transition: all 0.2s;
}

.lc-icon-card:hover {
    box-shadow: 0 50px 40px rgb(0,0,0,.1);
    border: solid 1px rgb(0,0,0,.15);
}

.lc-icon-card .elementor-icon-box-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    min-height: 50px;
}

.lc-icon-card .elementor-icon-box-content > * {
    width: 100%;
}

.lc-icon-card ul {
    padding: 0;
    list-style: none;
}

.lc-icon-card ul > li {
    padding-left: 1.5em;
    padding-bottom: 0.5em;
    position: relative;
}

.lc-icon-card ul > li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.3em;
    height: 0.8em;
    width: 1em;
    background-image: url(https://lifestyle.smedigt.se/wp-content/uploads/2024/01/lifestyle-grafik_checkmark.svg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
} 

.lc-icon-card .elementor-icon-box-content p:not(.elementor-icon-box-description):last-child {
    display: none;
}

@media screen and (max-width: 1024px) {
    .lc-icon-card {
        width: 50%;
    }
}

@media screen and (max-width: 767px) {
    .lc-icon-card {
        width: 100%;
        padding: 20px;
    }
}

.lc-form input[type="text"],
.lc-form input[type="email"],
.lc-form input[type="tel"],
.lc-form textarea {
    transition: all 0.2s;
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
    border-bottom: solid 1px grey !important;
    padding: 0.4em 0.8em;
    opacity: 0.7;
    font-size: 16px !important;
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.lc-form input[type="text"]:hover,
.lc-form input[type="email"]:hover,
.lc-form input[type="tel"]:hover,
.lc-form textarea:hover {
    opacity: 0.85;
}

.lc-form input[type="text"]:focus,
.lc-form input[type="email"]:focus,
.lc-form input[type="tel"]:focus,
.lc-form textarea:focus {
    opacity: 1;
}

.lc-form button {
    margin-top: 10px;
}

/* –––––––––––––––––––––––––– */
.lc-tag {
    font-size: 0.5em;
    padding-left: 0.25em;
    transform: translateY(-0.5em);
    display: inline-block;
}