/**
 * custom-pages.css
 *
 * Temporary CSS for custom CMS pages on Hyva (philosophy, science, science_sun, expert, our-story).
 * Extracted and stripped from Bootstrap 5 + esthederm.css in the Esthederm theme, then scoped via
 * `.esthederm-cms-scope` to avoid any conflicts with the Hyvä theme.
 *
 * TODO: To be removed during the complete redesign of CMS pages under Hyvä.
 */

html {
    scroll-behavior: smooth;
}

.esthederm-cms-scope {
    display: contents;
}

.esthederm-cms-scope > *:last-child {
    margin-bottom: 40px;
}

.esthederm-cms-scope *,
.esthederm-cms-scope::after,
.esthederm-cms-scope::before {
    box-sizing: border-box
}

.esthederm-cms-scope .h1,
.esthederm-cms-scope .h2,
.esthederm-cms-scope .h3,
.esthederm-cms-scope .h4,
.esthederm-cms-scope .h5,
.esthederm-cms-scope h1,
.esthederm-cms-scope h2,
.esthederm-cms-scope h3,
.esthederm-cms-scope h4,
.esthederm-cms-scope h5 {
    margin-top: 0;
    margin-bottom: .5rem;
    font-weight: 500;
    line-height: 1.2;
}

.esthederm-cms-scope h1 {
    font-family: "SourceSerif4", serif;
}

.cms-page-view .esthederm-cms-scope h4 {
    margin: 18px 0;
    text-transform: uppercase;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: 2.5px;
    font-weight: 800;
}

@media (min-width: 1200px) {
    .esthederm-cms-scope .h1,
    .esthederm-cms-scope h1 {
        font-size: 2.5rem
    }
}

@media (min-width: 1200px) {
    .esthederm-cms-scope .h2,
    .esthederm-cms-scope h2 {
        font-size: 2rem
    }
}

@media (min-width: 1200px) {
    .esthederm-cms-scope .h3,
    .esthederm-cms-scope h3 {
        font-size: 1.75rem
    }
}

@media (min-width: 1200px) {
    .esthederm-cms-scope .h4,
    .esthederm-cms-scope h4 {
        font-size: 1.5rem
    }
}

.esthederm-cms-scope .h5,
.esthederm-cms-scope h5 {
    font-size: 1.25rem
}

.esthederm-cms-scope p {
    margin-top: 0;
    margin-bottom: 1rem
}

.esthederm-cms-scope ul {
    padding-left: 2rem
}

.esthederm-cms-scope ul {
    margin-top: 0;
    margin-bottom: 1rem
}

.esthederm-cms-scope ul ul {
    margin-bottom: 0
}

.esthederm-cms-scope strong {
    font-weight: bolder
}

.esthederm-cms-scope .small,
.esthederm-cms-scope small {
    font-size: .875em
}

.esthederm-cms-scope a {
    color: #0d6efd;
    text-decoration: underline
}

.esthederm-cms-scope a:hover {
    color: #0a58ca
}

.esthederm-cms-scope a:not([href]):not([class]),
.esthederm-cms-scope a:not([href]):not([class]):hover {
    color: inherit;
    text-decoration: none
}

.esthederm-cms-scope img,
.esthederm-cms-scope svg {
    vertical-align: middle
}

.esthederm-cms-scope::-moz-focus-inner {
    padding: 0;
    border-style: none
}

.esthederm-cms-scope::-webkit-datetime-edit-day-field,
.esthederm-cms-scope::-webkit-datetime-edit-fields-wrapper,
.esthederm-cms-scope::-webkit-datetime-edit-hour-field,
.esthederm-cms-scope::-webkit-datetime-edit-minute,
.esthederm-cms-scope::-webkit-datetime-edit-month-field,
.esthederm-cms-scope::-webkit-datetime-edit-text,
.esthederm-cms-scope::-webkit-datetime-edit-year-field {
    padding: 0
}

.esthederm-cms-scope::-webkit-inner-spin-button {
    height: auto
}

.esthederm-cms-scope::-webkit-search-decoration {
    -webkit-appearance: none
}

.esthederm-cms-scope::-webkit-color-swatch-wrapper {
    padding: 0
}

.esthederm-cms-scope::file-selector-button {
    font: inherit
}

.esthederm-cms-scope::-webkit-file-upload-button {
    font: inherit;
    -webkit-appearance: button
}

.esthederm-cms-scope .container {
    width: 100%;
    padding-right: var(--bs-gutter-x, .75rem);
    padding-left: var(--bs-gutter-x, .75rem);
    margin-right: auto;
    margin-left: auto
}

@media (min-width: 576px) {
    .esthederm-cms-scope .container {
        max-width: 540px
    }
}

@media (min-width: 768px) {
    .esthederm-cms-scope .container {
        max-width: 720px
    }
}

@media (min-width: 992px) {
    .esthederm-cms-scope .container {
        max-width: 960px
    }
}

@media (min-width: 1200px) {
    .esthederm-cms-scope .container {
        max-width: 1140px
    }
}

@media (min-width: 1400px) {
    .esthederm-cms-scope .container {
        max-width: 1320px
    }
}

.esthederm-cms-scope .row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(var(--bs-gutter-y) * -1);
    margin-right: calc(var(--bs-gutter-x) / -2);
    margin-left: calc(var(--bs-gutter-x) / -2)
}

.esthederm-cms-scope .row > * {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding-right: calc(var(--bs-gutter-x) / 2);
    padding-left: calc(var(--bs-gutter-x) / 2);
    margin-top: var(--bs-gutter-y)
}

.esthederm-cms-scope .col-auto {
    flex: 0 0 auto;
    width: auto
}

.esthederm-cms-scope .col-12 {
    flex: 0 0 auto;
    width: 100%
}

@media (min-width: 768px) {
    .esthederm-cms-scope .col-md-auto {
        flex: 0 0 auto;
        width: auto
    }

    .esthederm-cms-scope .col-md-4 {
        flex: 0 0 auto;
        width: 33.3333333333%
    }

    .esthederm-cms-scope .col-md-5 {
        flex: 0 0 auto;
        width: 41.6666666667%
    }

    .esthederm-cms-scope .col-md-6 {
        flex: 0 0 auto;
        width: 50%
    }

    .esthederm-cms-scope .col-md-7 {
        flex: 0 0 auto;
        width: 58.3333333333%
    }

    .esthederm-cms-scope .col-md-8 {
        flex: 0 0 auto;
        width: 66.6666666667%
    }

    .esthederm-cms-scope .offset-md-6 {
        margin-left: 50%
    }
}

@media (min-width: 1200px) {
    .esthederm-cms-scope .offset-xl-5 {
        margin-left: 41.6666666667%
    }
}

.esthederm-cms-scope .btn {
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    border-radius: .25rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out
}

@media (prefers-reduced-motion: reduce) {
    .esthederm-cms-scope .btn {
        transition: none
    }
}

.esthederm-cms-scope .btn:hover {
    color: #212529
}

.esthederm-cms-scope .btn:focus {
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25)
}

.esthederm-cms-scope .btn:disabled {
    pointer-events: none;
    opacity: .65
}

.esthederm-cms-scope .btn-outline-primary {
    color: #0d6efd;
    border-color: #0d6efd
}

.esthederm-cms-scope .btn-outline-primary:hover {
    color: #fff;
    background-color: #0d6efd;
    border-color: #0d6efd
}

.esthederm-cms-scope .btn-outline-primary:focus {
    box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .5)
}

.esthederm-cms-scope .btn-outline-primary.active,
.esthederm-cms-scope .btn-outline-primary:active {
    color: #fff;
    background-color: #0d6efd;
    border-color: #0d6efd
}

.esthederm-cms-scope .btn-outline-primary.active:focus,
.esthederm-cms-scope .btn-outline-primary:active:focus {
    box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .5)
}

.esthederm-cms-scope .btn-outline-primary:disabled {
    color: #0d6efd;
    background-color: transparent
}

.esthederm-cms-scope .nav {
    display: flex;
    flex-wrap: wrap;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none
}

.esthederm-cms-scope .card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, .125);
    border-radius: .25rem;
    box-shadow: unset;
}

.esthederm-cms-scope .card-body {
    flex: 1 1 auto;
    padding: 1rem 1rem
}

.esthederm-cms-scope .card-title {
    margin-bottom: .5rem
}

.esthederm-cms-scope .card-text:last-child {
    margin-bottom: 0
}

.esthederm-cms-scope .card-header {
    padding: .5rem 1rem;
    margin-bottom: 0;
    background-color: rgba(0, 0, 0, .03);
    border-bottom: 1px solid rgba(0, 0, 0, .125)
}

.esthederm-cms-scope .card-header:first-child {
    border-radius: calc(.25rem - 1px) calc(.25rem - 1px) 0 0
}

@-webkit-keyframes progress-bar-stripes {
    0% {
        background-position-x: 1rem
    }
}

@keyframes progress-bar-stripes {
    0% {
        background-position-x: 1rem
    }
}

@-webkit-keyframes spinner-border {
    to {
        transform: rotate(360deg)
    }
}

@keyframes spinner-border {
    to {
        transform: rotate(360deg)
    }
}

@-webkit-keyframes spinner-grow {
    0% {
        transform: scale(0)
    }
    50% {
        opacity: 1;
        transform: none
    }
}

@keyframes spinner-grow {
    0% {
        transform: scale(0)
    }
    50% {
        opacity: 1;
        transform: none
    }
}

.esthederm-cms-scope .d-block {
    display: block !important
}

.esthederm-cms-scope .d-flex {
    display: flex !important
}

.esthederm-cms-scope .d-none {
    display: none !important
}

.esthederm-cms-scope .border-0 {
    border: 0 !important
}

.esthederm-cms-scope .h-100 {
    height: 100% !important
}

.esthederm-cms-scope .flex-column {
    flex-direction: column !important
}

.esthederm-cms-scope .flex-grow-1 {
    flex-grow: 1 !important
}

.esthederm-cms-scope .justify-content-end {
    justify-content: flex-end !important
}

.esthederm-cms-scope .justify-content-center {
    justify-content: center !important
}

.esthederm-cms-scope .justify-content-between {
    justify-content: space-between !important
}

.esthederm-cms-scope .mx-auto {
    margin-right: auto !important;
    margin-left: auto !important
}

.esthederm-cms-scope .mt-0 {
    margin-top: 0 !important
}

.esthederm-cms-scope .mt-4 {
    margin-top: 1.5rem !important
}

.esthederm-cms-scope .mt-5 {
    margin-top: 3rem !important
}

.esthederm-cms-scope .me-auto {
    margin-right: auto !important
}

.esthederm-cms-scope .mb-0 {
    margin-bottom: 0 !important
}

.esthederm-cms-scope .mb-3 {
    margin-bottom: 1rem !important
}

.esthederm-cms-scope .mb-5 {
    margin-bottom: 3rem !important
}

.esthederm-cms-scope .ms-0 {
    margin-left: 0 !important
}

.esthederm-cms-scope .ms-auto {
    margin-left: auto !important
}

.esthederm-cms-scope .px-0 {
    padding-right: 0 !important;
    padding-left: 0 !important
}

.esthederm-cms-scope .pt-0 {
    padding-top: 0 !important
}

.esthederm-cms-scope .pb-0 {
    padding-bottom: 0 !important
}

.esthederm-cms-scope .text-start {
    text-align: left !important
}

.esthederm-cms-scope .text-end {
    text-align: right !important
}

.esthederm-cms-scope .text-center {
    text-align: center !important
}

.esthederm-cms-scope .text-uppercase {
    text-transform: uppercase !important
}

.esthederm-cms-scope .bg-light {
    background-color: #f8f9fa !important
}

@media (min-width: 768px) {
    .esthederm-cms-scope .d-md-block {
        display: block !important
    }

    .esthederm-cms-scope .d-md-flex {
        display: flex !important
    }

    .esthederm-cms-scope .me-md-0 {
        margin-right: 0 !important
    }

    .esthederm-cms-scope .mb-md-0 {
        margin-bottom: 0 !important
    }

    .esthederm-cms-scope .ms-md-auto {
        margin-left: auto !important
    }

    .esthederm-cms-scope .pb-md-4 {
        padding-bottom: 1.5rem !important
    }

    .esthederm-cms-scope .text-md-start {
        text-align: left !important
    }

    .esthederm-cms-scope .text-md-center {
        text-align: center !important
    }
}

@media (min-width: 992px) {
    .esthederm-cms-scope .flex-lg-row-reverse {
        flex-direction: row-reverse !important
    }
}

@media (min-width: 1400px) {
    .esthederm-cms-scope .container {
        max-width: 1140px;
    }
}

.esthederm-cms-scope {
    --primary: #343f48;
    --main-container-top-margin: 60px;
    --main-container-max-width: 1140px;
    --mobile-lateral-padding: 20px;
}

@media (max-width: 767px) {
    .esthederm-cms-scope {
        --main-container-top-margin: 40px;
    }
}

.esthederm-cms-scope a,
.esthederm-cms-scope a:hover,
.esthederm-cms-scope a:visited,
.esthederm-cms-scope a:active {
    text-decoration: none;
    color: var(--primary);
}

.esthederm-cms-scope strong {
    font-weight: 800;
}

.esthederm-cms-scope .btn {
    border-radius: 0;
    padding: 9px 24px;
}

.esthederm-cms-scope .btn.btn-outline-primary {
    border: 1px solid var(--primary);
    color: var(--primary);
    background-color: transparent;
    letter-spacing: 2.5px;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 700;
    line-height: 20px;
    border-radius: 0;
}


.esthederm-cms-scope .btn.btn-outline-primary:hover,
.esthederm-cms-scope .btn.btn-outline-primary:active,
.esthederm-cms-scope .btn.btn-outline-primary:focus {
    border: 1px solid var(--primary);
    background: var(--primary);
    color: #fff !important;
    text-decoration: none;
}

.esthederm-cms-scope .btn-outline-primary:active:focus {
    box-shadow: none;
}

.esthederm-cms-scope .bg-light {
    background-color: #F0F0F0 !important;
}

.esthederm-cms-scope {
    font-size: 14px;
    letter-spacing: 2px;
    color: var(--primary);
}

.esthederm-cms-scope ul {
    list-style-type: none;
    padding-left: 0;
}

.esthederm-cms-scope h1,
.esthederm-cms-scope .h1 {
    font-size: 30px;
    font-weight: 800;
    line-height: 40px;
    letter-spacing: 6px;
    text-transform: uppercase;
}

.esthederm-cms-scope h2,
.esthederm-cms-scope .h2 {
    font-size: 40px;
    font-weight: 800;
    line-height: 50px;
    letter-spacing: 8px;
    text-transform: uppercase;
}

.esthederm-cms-scope h3,
.esthederm-cms-scope .h3 {
    font-size: 30px;
    font-weight: 800;
    line-height: 50px;
    letter-spacing: 6px;
    text-transform: uppercase;
}

.esthederm-cms-scope h4,
.esthederm-cms-scope .h4 {
    font-size: 34px;
    font-weight: 500;
    letter-spacing: 5px;
    line-height: 42px;
}

.esthederm-cms-scope h5,
.esthederm-cms-scope .h5 {
    font-size: 16px;
    font-weight: 800;
    line-height: 20px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.esthederm-cms-scope small {
    font-size: 12px;
}

.esthederm-cms-scope .card {
    border: none;
    border-radius: 0;
}

/* flash messages */


.esthederm-cms-scope .block-2-pictures {
    position: relative;
    margin-bottom: 60px;
}

.esthederm-cms-scope .block-2-pictures .card {
    position: relative;
    width: 372px;
    border: none;
    border-radius: 0;
    font-size: 16px;
    letter-spacing: 2.5px;
    line-height: 24px;
}

.esthederm-cms-scope .block-2-pictures .card-title {
    font-size: 34px;
    letter-spacing: 5px;
    line-height: 42px;
    margin-bottom: 14px;
    text-transform: none;
    font-weight: 400;
}

.esthederm-cms-scope .block-2-pictures .card-body {
    padding: 45px 50px 45px 56px;
    min-height: 320px;
}

.esthederm-cms-scope .block-2-pictures .card-text p {
    margin-bottom: 0;
}


.esthederm-cms-scope .block-2-pictures .btn {
    margin-top: 38px;
}

.esthederm-cms-scope .block-2-pictures img {
    width: 93%;
    height: 390px;
    padding: 1px;
    object-fit: cover;
    object-position: top;
    position: absolute;
}

.esthederm-cms-scope .block-2-pictures .left,
.esthederm-cms-scope .block-2-pictures .right {
    position: relative;
    width: 50%;
}

.esthederm-cms-scope .block-2-pictures .left {
    border-right: solid 1px rgba(93, 101, 109, 0.15);
}

.esthederm-cms-scope .block-2-pictures .left img {
    left: 0;
}

.esthederm-cms-scope .block-2-pictures .right .card {
    text-align: left;
}

.esthederm-cms-scope .block-2-pictures .right .card-body {
    padding-bottom: 0;
}

.esthederm-cms-scope .block-2-pictures .right img {
    right: 0;
}

@media (max-width: 767.98px) {

    .esthederm-cms-scope .block-2-pictures {
        margin-bottom: 30px;
    }


    .esthederm-cms-scope .block-2-pictures .card {
        margin-top: -45px;
        background: transparent;
        padding-left: var(--mobile-lateral-padding);
        padding-right: var(--mobile-lateral-padding);
        width: auto;
    }


    .esthederm-cms-scope .block-2-pictures .card-title {
        font-size: 26px;
        letter-spacing: 4px;
        line-height: 38px;
    }


    .esthederm-cms-scope .block-2-pictures .card-body {
        padding: 34px 29px 0;
        background: #fff;
        min-height: initial;
    }


    .esthederm-cms-scope .block-2-pictures .btn {
        margin-top: 30px;
        width: 100%;
    }

    .esthederm-cms-scope .block-2-pictures img {
        position: relative;
        width: 100%;
        height: 218px;
    }

    .esthederm-cms-scope .block-2-pictures .left,
    .esthederm-cms-scope .block-2-pictures .right {
        width: 100%;
        margin-bottom: 60px;
    }

    .esthederm-cms-scope .block-2-pictures .left {
        border: 0;
    }
}

@media (min-width: 767.98px) {
    .esthederm-cms-scope .block-2-pictures .left .card-body {
        padding-top: 0;
    }

    .esthederm-cms-scope .block-2-pictures .right .card {
        margin-top: 72px;
    }
}

.esthederm-cms-scope .block-2-pictures-text {
    position: relative;
    margin-top: 120px;
    margin-bottom: 25px;
}

@media (max-width: 767.98px) {
    .esthederm-cms-scope .block-2-pictures-text {
        margin-top: 60px;
        margin-bottom: 20px;
    }
}

.esthederm-cms-scope .block-2-pictures-text h4 {
    margin-top: 79px;
    margin-bottom: 25px;
}

.esthederm-cms-scope .block-2-pictures-text h5 {
    margin-bottom: 14px;
}

.esthederm-cms-scope .block-2-pictures-text .col-block-content {
    background-color: #fff;
    letter-spacing: 2.5px;
    font-size: 16px;
    max-width: 747px;
}

@media (max-width: 991.98px) {
    .esthederm-cms-scope .block-2-pictures-text .col-block-content {
        padding-bottom: 0;
    }
}

.esthederm-cms-scope .block-2-pictures-text .btn {
    min-width: 225px;
}

.esthederm-cms-scope .block-2-pictures-text h1 {
    min-height: 180px;
    margin-bottom: 0;
    padding-bottom: 3px;
    border-bottom: solid 2px #fff;
}

.esthederm-cms-scope .block-2-pictures-text .col-block-content-text {
    width: 550px;
}

.esthederm-cms-scope .block-2-pictures-text .small-picture {
    margin-left: -70px;
    margin-top: 80px;
    height: 350px;
    width: 350px;
    max-width: 350px;
    position: relative;
    z-index: 1;
}

@media (max-width: 991.98px) {
    .esthederm-cms-scope .block-2-pictures-text .small-picture {
        position: absolute;
        top: 67px;
        left: 0;
        width: 189px;
        height: 189px;
        max-width: 189px;
    }

    .esthederm-cms-scope .block-2-pictures-text-left .small-picture {
        right: 0;
        left: initial;
    }
}

.esthederm-cms-scope .block-2-pictures-text-left .small-picture {
    margin-left: 75px;
    margin-top: 79px;
    width: 350px;
    max-width: 350px;
    height: 350px;
    position: relative;
    z-index: 1;
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .esthederm-cms-scope .block-2-pictures-text-left .small-picture {
        margin-left: 10px;
    }
}

@media (max-width: 991px) {
    .esthederm-cms-scope .block-2-pictures-text h1 {
        min-height: auto;
    }

    .esthederm-cms-scope .block-2-pictures-text h4 {
        margin-top: 40px;
    }

    .esthederm-cms-scope .block-2-pictures-text .col-block-content-text {
        width: 100%;
    }

    .esthederm-cms-scope .block-2-pictures-text .small-picture {
        margin-left: 0;
        margin-top: 0;
    }

    .esthederm-cms-scope .block-2-pictures-text-left .small-picture {
        margin-left: 0;
        margin-top: 0;
        max-width: 189px;
        width: 189px;
        height: 189px;
    }
}

@media (max-width: 991.98px) {
    .esthederm-cms-scope .block-2-pictures-text .col-block-content-text {
        width: 100%;
    }

    .esthederm-cms-scope .block-2-pictures-text .container {
        margin-top: 30px;
        padding: 0 var(--mobile-lateral-padding);
    }

    .esthederm-cms-scope .block-2-pictures-text h4 {
        margin-top: 0;
        font-size: 26px;
        line-height: 30px;
        letter-spacing: 3.5px;
        text-align: left;
    }

    .esthederm-cms-scope .block-2-pictures-text h5 {
        text-align: left;
    }

    .esthederm-cms-scope .block-2-pictures-text .btn {
        width: 100%;
    }
}


.esthederm-cms-scope .block-2-pictures-text-left .background-img {
    width: 62.35vw;
    height: 557px;
    position: absolute;
    z-index: -1;
    object-fit: cover;
}

.esthederm-cms-scope .background-img.position-top {
    object-position: top;
}

@media (max-width: 991.98px) {

    .esthederm-cms-scope .block-2-pictures-text-left .background-img {
        height: 205px;
        width: 100%;
        object-fit: cover;
        object-position: top;
        position: initial;
        display: block;
        margin-left: auto;
        margin-right: 0;
    }

    .esthederm-cms-scope .block-2-pictures-text-left .background-img {
        margin-left: 0;
        margin-right: 0;
    }
}

.esthederm-cms-scope .block-2-pictures-text-left h1 {
    padding-left: 15px;
}

@media (max-width: 991.98px) {
    .esthederm-cms-scope .block-2-pictures-text-left h1 {
        margin-left: 0;
        padding-left: 0;
        margin-bottom: 15px;
    }

    .esthederm-cms-scope .block-2-pictures-text-left .background-img {
        left: 0;
    }
}

.esthederm-cms-scope .block-2-pictures-text-left .row-content {
    padding-top: 180px;
}

.esthederm-cms-scope a.action.find-store {
    position: relative;
    padding-left: 53px;
}

.esthederm-cms-scope .action.find-store img {
    display: block;
    height: 22px;
    width: 22px;
    position: absolute;
    left: 18px;
    top: 9px;
}

.esthederm-cms-scope .action.find-store:hover img,
.esthederm-cms-scope .action.find-store:active img {
    filter: invert(95%) sepia(100%) saturate(0%) hue-rotate(106deg) brightness(105%) contrast(105%); /* convert to white */
}

/* light header */

/* checkout guest */
/* checkout cart */

/* checkout onepage */

/* customer account */

.esthederm-cms-scope.account .nav {
    flex-wrap: nowrap;
    flex-direction: column;
}

.esthederm-cms-scope.account {
    background: #f0f0f0;
}

/* contact page */

/*BLOCK CMS*/

.esthederm-cms-scope .block-cms {
    margin-bottom: 100px;
    position: relative;
}

.esthederm-cms-scope .block-cms strong {
    font-weight: 800;
}

.esthederm-cms-scope .block-cms a:not(.btn) {
    text-decoration: underline;
}

@media (max-width: 767.98px) {
    .esthederm-cms-scope .block-cms {
        margin-bottom: 60px;
    }
}

.esthederm-cms-scope .block-one-picture-left-text-right,
.esthederm-cms-scope .block-one-picture-right-text-left {
    overflow: auto;
}

.esthederm-cms-scope .block-one-picture-left-text-right .title {
    font-size: 50px;
    text-transform: uppercase;
    margin-bottom: 63px;
    letter-spacing: 5px;
}

@media (max-width: 767.98px) {
    .esthederm-cms-scope .block-one-picture-left-text-right .title {
        font-size: 30px;
        margin-bottom: 29px;
    }
}

.esthederm-cms-scope .block-one-picture-left-text-right .background-img,
.esthederm-cms-scope .block-one-picture-right-text-left .background-img {
    position: absolute;
    z-index: 0;
    width: 62vw;
    height: 557px;
    object-fit: cover;
    top: 0;
}

.esthederm-cms-scope .block-one-picture-left-text-right .container-title + .background-img,
.esthederm-cms-scope .block-one-picture-right-text-left .container-title + .background-img {
    top: initial;
}

.esthederm-cms-scope .block-one-picture-right-text-left .background-img {
    right: 0;
}

@media (max-width: 767.98px) {

    .esthederm-cms-scope .block-one-picture-left-text-right .background-img,
    .esthederm-cms-scope .block-one-picture-right-text-left .background-img {
        position: relative;
        z-index: initial;
        width: 100%;
        height: 233px;
    }
}

.esthederm-cms-scope .block-one-picture-left-text-right .subtitle,
.esthederm-cms-scope .block-one-picture-right-text-left .subtitle {
    font-size: 34px;
    margin-bottom: 27px;
    line-height: 1.2em;
}

@media (max-width: 767.98px) {
    .esthederm-cms-scope .block-one-picture-left-text-right .subtitle,
    .esthederm-cms-scope .block-one-picture-right-text-left .subtitle {
        font-size: 26px;
        line-height: 30px;
        letter-spacing: 3.5px;
    }
}

.esthederm-cms-scope .block-one-picture-left-text-right .block-text,
.esthederm-cms-scope .block-one-picture-right-text-left .block-text {
    background: #fff;
    margin-top: 175px;
}

@media (max-width: 767.98px) {
    .esthederm-cms-scope .block-one-picture-left-text-right .block-text,
    .esthederm-cms-scope .block-one-picture-right-text-left .block-text {
        margin-top: 0;
    }
}

.esthederm-cms-scope .block-one-picture-left-text-right .col-text,
.esthederm-cms-scope .block-one-picture-right-text-left .col-text {
    width: 650px;
    padding-left: 100px;
    letter-spacing: 2.5px;
    line-height: 24px;
    font-size: 16px;
    padding-right: 0;
    z-index: 1;
    position: relative;
    background: #fff;
    padding-top: 79px;
    min-height: calc(557px - 175px);
}

.esthederm-cms-scope .block-one-picture-right-text-left .col-text {
    padding-right: 100px;
    padding-left: 0;
}

@media (max-width: 767.98px) {
    .esthederm-cms-scope .block-one-picture-left-text-right .col-text,
    .esthederm-cms-scope .block-one-picture-right-text-left .col-text {
        padding-left: calc(var(--bs-gutter-x) / 2);
        padding-right: calc(var(--bs-gutter-x) / 2);
        margin-top: 0;
        padding-top: 30px;
        min-height: auto;
    }
}

.esthederm-cms-scope .block-one-picture-left-text-right small a {
    text-decoration: underline;
    color: #5D656D;
}

.esthederm-cms-scope .block-img-cover-with-center-text .container {
    letter-spacing: 2.5px;
    min-height: 610px;
    height: 1px; /*trick for child height 100%*/
}

@media (max-width: 767.98px) {
    .esthederm-cms-scope .block-img-cover-with-center-text .container {
        min-height: initial;
        height: initial;
    }
}

.esthederm-cms-scope .block-img-cover-with-center-text .background-img {
    height: 691px;
    object-fit: cover;
    width: 100%;
    position: absolute;
    z-index: -1;
}

.esthederm-cms-scope .block-img-cover-with-center-text .background-img.small {
    height: 100%;
}

@media (max-width: 767.98px) {
    .esthederm-cms-scope .block-img-cover-with-center-text .background-img.small {
        height: 158px;
    }
}

.esthederm-cms-scope .block-img-cover-with-center-text .title {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: 10px;
    line-height: 60px;
    text-align: center;
    text-transform: uppercase;
    margin: 100px 0;
    color: #fff;
}

.esthederm-cms-scope .block-img-cover-with-center-text .card {
    padding: 84px 100px 0 100px;
    font-size: 16px;
}

@media (min-width: 767.98px) {
    .esthederm-cms-scope .block-img-cover-with-center-text .title.my-md-custom {
        margin-top: 95px;
        margin-bottom: 73px;
    }
}

@media (max-width: 767.98px) {
    .esthederm-cms-scope .block-img-cover-with-center-text .title.my-md-custom {
        margin-top: 24px;
        margin-bottom: 24px;
    }
}

@media (max-width: 991.98px) {
    .esthederm-cms-scope .block-img-cover-with-center-text .title {
        font-size: 30px;
        letter-spacing: 5px;
        line-height: 30px;
        margin: 40px 0;
    }

    .esthederm-cms-scope .block-img-cover-with-center-text .card {
        padding: 35px 28px 0 28px;
        font-size: 16px;
    }
}

@media (max-width: 767.98px) {
    .esthederm-cms-scope .block-img-cover-with-center-text .subtitle {
        font-size: 26px;
        line-height: 30px;
        letter-spacing: 3.5px;
    }
}

.esthederm-cms-scope .block-img-cover-with-center-text .card-header {
    padding: 0 0 36px 0;
    background: transparent;
    font-weight: 800;
    letter-spacing: 2.5px;
    line-height: 24px;
    border-color: rgba(93, 101, 109, 0.15);
}

.esthederm-cms-scope .block-img-cover-with-center-text .card-body {
    padding-top: 50px;
    padding-right: 197px;
    text-align: left;
    position: relative;
}

.esthederm-cms-scope .block-img-cover-with-center-text .card-header + .card-body {
    padding-top: 54px;
}

.esthederm-cms-scope .block-img-cover-with-center-text .card-header.border-0 + .card-body {
    padding-top: 30px;
}

@media (max-width: 991.98px) {
    .esthederm-cms-scope .block-img-cover-with-center-text .card-body {
        padding-left: 0;
        padding-right: 0;
    }

    .esthederm-cms-scope .block-img-cover-with-center-text .card-header {
        padding-bottom: 40px;
    }

    .esthederm-cms-scope .block-img-cover-with-center-text .card-header + .card-body {
        padding-top: 40px;
    }

    .esthederm-cms-scope .block-img-cover-with-center-text .card-header.border-0 + .card-body {
        padding-top: 20px;
    }
}

.esthederm-cms-scope .block-cms.block-title {
    background: linear-gradient(180deg, #f0f0f0 50%, #fff 0%);
}

.esthederm-cms-scope .block-cms.block-title .title {
    margin: 93px 0 75px;
}

@media (max-width: 767.98px) {
    .esthederm-cms-scope .block-cms.block-title .title {
        margin: 24px 0 24px;
        font-size: 30px;
        letter-spacing: 5px;
        line-height: 30px;
    }
}

.esthederm-cms-scope .block-3-col {
    font-size: 16px;
}

.esthederm-cms-scope .block-3-col .row [class*="col-"] > *:not(a):not(img) {
    margin-left: 36px;
    margin-right: 36px;
}

.esthederm-cms-scope .block-3-col img {
    height: 86px;
    object-fit: none;
}

.esthederm-cms-scope .block-3-col .title {
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 2.5px;
    margin: 20px 0 6px;
}

@media (max-width: 767.98px) {
    .esthederm-cms-scope .block-3-col .row [class*="col-"] > *:not(a):not(img) {
        margin-left: 30px;
        margin-right: 30px;
    }
}

.esthederm-cms-scope .block-img-with-medal-left-text-right {
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 2.5px;
}

.esthederm-cms-scope .block-img-with-medal-left-text-right .title {
    font-size: 40px;
    letter-spacing: 8px;
}

.esthederm-cms-scope .block-img-with-medal-left-text-right .title,
.esthederm-cms-scope .block-img-with-medal-left-text-right .subtitle {
    margin-bottom: 29px;
}

.esthederm-cms-scope .block-img-with-medal-left-text-right p {
    margin-bottom: 20px;
}

.esthederm-cms-scope .block-img-with-medal-left-text-right .background-img,
.esthederm-cms-scope .block-img-with-medal-left-text-right .background-img:not(.brevet) {
    position: absolute;
}

.esthederm-cms-scope .block-img-with-medal-left-text-right .background-img:not(.brevet) {
    width: 37.7vw;
    height: 100%;
    object-fit: cover;
}

.esthederm-cms-scope .block-img-with-medal-left-text-right .background-img.brevet {
    left: calc(37.7vw - 95px);
    top: -30px;
    width: 140px;
    height: 140px;
}

.esthederm-cms-scope .block-img-with-medal-left-text-right .container {
    padding-bottom: 53px;
}

@media (max-width: 767.98px) {
    .esthederm-cms-scope .block-img-with-medal-left-text-right .container-illustration {
        padding-left: var(--mobile-lateral-padding);
        padding-right: var(--mobile-lateral-padding);
    }

    .esthederm-cms-scope .block-img-with-medal-left-text-right .background-img:not(.brevet) {
        position: relative;
        width: 100%;
    }

    .esthederm-cms-scope .block-img-with-medal-left-text-right .background-img.brevet {
        position: absolute;
        right: calc(20% - 15px - 62px + var(--mobile-lateral-padding));
        left: initial;
        top: -50px;
        width: 114px;
        height: 114px;
    }

    .esthederm-cms-scope .block-img-with-medal-left-text-right .title {
        font-size: 30px;
        line-height: 30px;
        margin: 20px 0;
    }

    .esthederm-cms-scope .block-img-with-medal-left-text-right .subtitle {
        font-size: 26px;
        line-height: 30px;
        margin-bottom: 28px;
    }

    .esthederm-cms-scope .block-img-with-medal-left-text-right .container {
        padding-bottom: 0;
    }
}

.esthederm-cms-scope .block-cms.block-2-pictures small {
    line-height: 18px;
    color: #5D656D;
    letter-spacing: 2px;
    display: block;
}

.esthederm-cms-scope .block-cms.block-2-pictures .card-title {
    font-size: 21px;
    letter-spacing: 3px;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 26px;
}

@media (max-width: 767.98px) {
    .esthederm-cms-scope .block-cms.block-2-pictures .card-title {
        font-size: 16px;
        line-height: 20px;
    }
}

.esthederm-cms-scope .block-img-left-text-right,
.esthederm-cms-scope .block-img-right-text-left {
    font-size: 16px;
    letter-spacing: 2.5px;
    line-height: 24px;
    min-height: 485px;
}

@media (min-width: 767.98px) {
    .esthederm-cms-scope .block-img-left-text-right,
    .esthederm-cms-scope .block-img-right-text-left {
        height: 1px; /*trick for child height 100%*/
    }
}

.esthederm-cms-scope .block-img-left-text-right .background-img,
.esthederm-cms-scope .block-img-right-text-left .background-img {
    position: absolute;
    width: 50%;
    object-fit: cover;
    height: 100%;
}

.esthederm-cms-scope .block-img-right-text-left .background-img {
    right: 0;
}

@media (max-width: 767.98px) {
    .esthederm-cms-scope .block-img-left-text-right .background-img,
    .esthederm-cms-scope .block-img-right-text-left .background-img {
        position: relative;
        height: 252px;
        width: 100%;
    }
}

.esthederm-cms-scope .block-img-right-text-left .title,
.esthederm-cms-scope .block-img-left-text-right .title {
    padding: 15px 0;
    letter-spacing: 5px;
    font-size: 32px;
    line-height: 42px;
}

@media (max-width: 767.98px) {
    .esthederm-cms-scope .block-img-left-text-right .title,
    .esthederm-cms-scope .block-img-right-text-left .title {
        padding: 37px 0 25px;
        font-size: 26px;
        line-height: 30px;
        letter-spacing: 3.5px;
    }
}

@media (max-width: 991.98px) {
    .esthederm-cms-scope .block-img-left-text-right .btn,
    .esthederm-cms-scope .block-img-right-text-left .btn {
        min-width: auto;
    }
}

@media (max-width: 767.98px) {
    .esthederm-cms-scope .block-img-left-text-right .btn,
    .esthederm-cms-scope .block-img-right-text-left .btn {
        min-width: 100%;
    }
}

@media (min-width: 992px) {
    .esthederm-cms-scope .block-img-left-text-right .col-md-auto,
    .esthederm-cms-scope .block-img-right-text-left .col-md-auto {
        max-width: 465px;
    }

    .esthederm-cms-scope .block-img-left-text-right .btn:not(.auto-w),
    .esthederm-cms-scope .block-img-right-text-left .btn:not(.auto-w) {
        min-width: 399px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .esthederm-cms-scope .block-img-left-text-right .col-md-auto,
    .esthederm-cms-scope .block-img-right-text-left .col-md-auto {
        max-width: 48%;
    }
}

@media (min-width: 767.98px) {
    .esthederm-cms-scope .block-img-right-text-left .text-container {
        margin-top: auto;
        margin-bottom: auto;
    }
}

.esthederm-cms-scope .block-cms.block-2-pictures-text-left .container-title.title {
    margin-bottom: 50px;
}

.esthederm-cms-scope .block-cms.block-2-pictures-text .container {
    margin-top: 0;
}

.esthederm-cms-scope .block-cms.block-2-pictures-text.block-title .container-title .title {
    padding: 0;
    border: 0;
    min-height: initial;
}

@media (min-width: 992px) {
    .esthederm-cms-scope .block-cms.block-2-pictures-text.block-title .container-title .title {
        font-size: 50px;
        padding: 0;
        border: 0;
        min-height: initial;
        margin: 93px 0 75px;
    }
}

.esthederm-cms-scope .block-cms.block-2-pictures-text.block-title .background-img {
    z-index: 0;
}

.esthederm-cms-scope .block-cms.block-2-pictures-text.block-title .block-text {
    background: #fff;
}

@media (min-width: 992px) {
    .esthederm-cms-scope .block-cms.block-2-pictures-text.block-title .block-text {
        margin-top: 175px;
    }
}

.esthederm-cms-scope .block-cms.block-2-pictures-text.block-title .subtitle {
    margin-bottom: 40px;
}

@media (max-width: 991.98px) {
    .esthederm-cms-scope .block-cms.block-2-pictures-text.block-title .subtitle {
        margin-bottom: 15px;
    }

    .esthederm-cms-scope .block-cms.block-2-pictures-text.block-title .block-text {
        padding-top: 75px;
    }
}

.esthederm-cms-scope .block-cms.block-2-pictures-text-left .row-content {
    padding-top: 0;
}

@media (min-width: 992px) {
    .esthederm-cms-scope .block-cms.block-2-pictures-text-left .row-content {
        position: relative;
    }
}

@media (max-width: 991.98px) {
    .esthederm-cms-scope .block-cms.block-2-pictures-text .relative-container .block-text .container {
        margin-top: 0;
    }
}

.esthederm-cms-scope .block-cms.block-2-pictures-text-left .relative-container {
    position: relative;
    overflow: auto;
    background: #f0f0f0;
}

@media (min-width: 768px) {
    .esthederm-cms-scope .block-cms-timeline + .block-cms-timeline {
        margin-top: 140px;
    }
}

.esthederm-cms-scope .block-cms-timeline .timeline-navigation {
    font-size: 16px;
    letter-spacing: 2.5px;
    line-height: 20px;
    font-weight: 800;
}

.esthederm-cms-scope .block-cms-timeline .timeline-navigation a {
    margin-right: 40px;
    padding: 23px 0;
    display: inline-block;
}

.esthederm-cms-scope .block-cms-timeline .timeline-navigation a.active {
    border-bottom: 2px solid #343F48;
}

.esthederm-cms-scope .block-cms-timeline .timeline-year {
    scroll-margin-top: 183px; /* height of header */
}

.esthederm-cms-scope .block-cms-timeline .timeline-year:not(:last-child) > div {
    padding-bottom: 60px;
}

@media (max-width: 767.98px) {
    .esthederm-cms-scope .block-cms-timeline .timeline-year {
        margin-top: 60px;
    }

    .esthederm-cms-scope .block-cms-timeline .timeline-year > div.col-text {
        padding-bottom: 0;
    }

    .esthederm-cms-scope .block-cms-timeline .timeline-year > div.col-picture {
        padding-bottom: 30px;
    }
}

@media (max-width: 575.98px) {
    .esthederm-cms-scope .block-cms-timeline .timeline-year img {
        max-width: calc(100vw - 15px);
        margin-left: -7.5px;
        margin-right: -7.5px;
    }
}

@media (min-width: 768px) {
    .esthederm-cms-scope .block-cms-timeline .timeline-year:nth-child(odd) > div:nth-child(odd) {
        padding-right: 120px;
        border-right: solid 2px rgba(93, 101, 109, 0.41);
    }

    .esthederm-cms-scope .block-cms-timeline .timeline-year:nth-child(even) > div:nth-child(odd) {
        padding-left: 120px;
    }

    .esthederm-cms-scope .block-cms-timeline .timeline-year:nth-child(odd) > div:nth-child(even) {
        padding-left: 120px;
        padding-right: 0;
    }

    .esthederm-cms-scope .block-cms-timeline .timeline-year:nth-child(even) > div:nth-child(even) {
        padding-right: 120px;
        border-right: solid 2px rgba(93, 101, 109, 0.41);
        padding-left: 0;
    }

    .esthederm-cms-scope .block-cms-timeline .timeline-year:nth-child(even) .col-text {
        order: 0;
    }

    .esthederm-cms-scope .block-cms-timeline .timeline-year:nth-child(even) .col-picture {
        order: 1;
    }

    .esthederm-cms-scope .block-cms-timeline .timeline-year .col-picture img {
        margin-top: 8px;
    }
}

.esthederm-cms-scope .block-cms-timeline .timeline-year h3 {
    text-transform: uppercase;
    font-weight: 800;
    font-size: 20px;
    line-height: 26px;
    letter-spacing: 3px;
    margin-top: 20px;
    text-align: center;
}

.esthederm-cms-scope .block-cms-timeline .timeline-year h4 + p {
    margin-top: 20px;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 2.5px;
}

@media (max-width: 767.98px) {
    .esthederm-cms-scope .block-cms-timeline .timeline-year h3 {
        font-size: 16px;
        line-height: 20px;
    }

    .esthederm-cms-scope .block-cms-timeline .timeline-year h4 {
        font-size: 26px;
        line-height: 30px;
        letter-spacing: 3.5px;
    }

    .esthederm-cms-scope .block-cms-timeline .timeline-year h4 + p {
        margin-top: 11px;
    }

    .esthederm-cms-scope .block-cms-timeline .timeline-year .year {
        font-size: 30px;
        line-height: 30px;
        letter-spacing: 5px;
        font-weight: 800;
        margin-bottom: 30px;
        margin-left: 14.5px;
    }
}

@media (min-width: 768px) {
    .esthederm-cms-scope .block-cms-timeline .timeline-year .year {
        font-weight: 800;
        font-size: 50px;
        line-height: 60px;
        letter-spacing: 10px;
        padding: 10px;
        background-color: #fff;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
}

.esthederm-cms-scope .block-cms-timeline .timeline-year ul li strong {
    font-weight: 800;
    font-size: 16px;
}

.esthederm-cms-scope .block-cms-timeline .timeline-year ul li:before {
    content: "•";
    font-size: 12pt;
    margin-right: 5px;
}

.esthederm-cms-scope p a {
    text-decoration: underline !important;
}

.esthederm-cms-scope .block-one-picture-right-text-left.estimate-close-to-you {
    margin-bottom: 150px;
}

.esthederm-cms-scope .health-menu .title {
    text-align: center;
    font-size: 40px;
    letter-spacing: 8px;
    line-height: 50px;
    margin-bottom: 75px;
}

@media (max-width: 768.98px) {
    .esthederm-cms-scope .health-menu .title {
        font-size: 28px;
        letter-spacing: 4px;
        line-height: 34px;
        margin-bottom: 44px;
    }
}

.esthederm-cms-scope .health-menu .block-2-pictures .card-title {
    font-size: 30px;
    letter-spacing: 6px;
    font-weight: 800;
    text-transform: uppercase;
}

@media (min-width: 992px) {
    .esthederm-cms-scope .health-menu .block-2-pictures .left .card-body {
        padding: 35px 50px 45px 56px;
    }
}

.esthederm-cms-scope .health-menu .block-2-pictures .btn {
    min-width: 226px;
}
