@import url("/assets/fonts/gotham.css");

body {
    font-family: "Gotham";
    font-weight: 100;
    color: #363636;
}

section {
    scroll-margin-top: 4em;
}

section#insulclock {
    scroll-margin-top: 6rem;
}

section#who-we-are,
section#quienes-somos,
section#chi-siamo {
    scroll-margin-top: 5rem;
}

section#living-diabetes,
section#vivir-diabetes {
    scroll-margin-top: -4rem;
}

section.legalsection h3 {
    scroll-margin-top: 5rem;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: 'Gotham Book', 'Helvetica', 'Arial', sans-serif;
    color: #363636;
}

h1,
.h1 {
    font-size: 3rem;
    color: #363636;
}

section h1 {
    font-weight: 400;
}

p {
    color: #363636;
    font-family: "Gotham book";
    font-weight: 400;
}

#premios li {
    margin-top: 4rem;
    display: inline-block;
    min-width: 250px;
}

#premios li img {
    height: 60px;
}

#awards,
#premios {
    margin-bottom: 4rem;
}

.menu-horizontal>li,
.menu-vertical>li {
    font-family: 'Gotham';
}

.footnote {
    font-size: .75rem;
    line-height: normal;
    max-width: 524px;
    margin-top: 3rem;
    margin-left: 3.3rem;
    margin-right: 3.3rem;
    font-weight: 300;
}

#cap {
    float: right;
    margin-top: -8.7rem;
    padding: 0 4rem;
}

.lead {
    line-height: 1.813rem;
    font-size: 1.5rem;
    color: #363636;
    font-weight: 100;
}

sup {
    font-size: 1rem;
    top: -.05rem;
}

a.btn-cta {
    text-decoration: none;
    font-family: "Gotham";
    font-weight: 500;
    font-size: 1.25rem;
}

blockquote {
    font-style: normal;
    font-family: "Gotham";
    font-weight: light;
    font-size: 1rem;
    padding-bottom: 4.75rem;
}

#who-we-are,
#quienes-somos,
#chi-siamo {
    margin-top: 5rem;
    padding-top: 4rem;
    margin-left: auto;
    margin-right: auto;
    width: 98.15vw;
}

#who-we-are.imageblock>.container,
#quienes-somos.imageblock>.container,
#chi-siamo.imageblock>.container,
#vivir-diabetes.imageblock>.container,
#convivere-diabete.imageblock>.container,
#living-diabetes.imageblock>.container {
    overflow: visible;
}

#chi-siamo .imageblock__content,
#quienes-somos .imageblock__content,
#who-we-are .imageblock__content {
    top: -4rem;
}

.blockquote-footer {
    margin-top: 1rem;
    font-weight: 300 !important;
}

.blockquote-footer {
    font-weight: 500;
}

.blockquote-footer a {
    font-size: 1rem;
    font-weight: 300;
}

.container__frame {
    background-image: url("/assets/img/about_us_frame.webp");
    background-repeat: no-repeat;
    background-size: 66%;
    background-position-x: 21%;
    background-position-y: center;
}

#rounded-icons {
    width: 90vw;
    margin-left: 10vw;
    gap: 2rem;
    align-items: center;
}

#ex-menu {
    flex: 1 0;
    flex-wrap: wrap;
}

@media (min-width: 769px) and (max-width: 1024px) {
    #header-mobile {
        display: block !important;
        margin-left: 4rem;
        margin-right: 3rem;
    }

    #language {
        display: none !important;
    }

    #menu1.hidden-xs,
    #menu1 .hidden-xs {
        display: none !important;
    }

    #ex-menu {
        width: 100% !important;
        flex: 1 0;
        max-width: 100% !important;

        .menu-horizontal {
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            width: 100%;
            right: 0;
        }
    }

    #ts-hero-content>h1.font__huge {
        margin-left: -3rem;
    }

    #premios .column-w50 {
        width: 330px !important;
    }

    #menu-footer {
        display: flex;
        flex-direction: column;
        gap: 0rem;
        margin: 0;
    }

    #menu-footer li {
        margin: 0 !important;
        text-align: center;
    }

    .footer-3 .columns {
        flex-wrap: wrap;
    }

    .afterdot {
        flex: 1 0 100%;
        width: 100%;
        text-align: center;
    }

    .afterdot::after {
        display: none !important;
    }

}

@media (min-width: 1024px) and (max-width: 1200px) {
    .footer-3 .columns {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    #rounded-icons {
        width: 90vw;
        margin-left: auto;
        margin-right: auto;
    }

    #appFeatures,
    .appFeatures {
        flex: 1 1 100%;
    }
}

@media (max-width: 1468px) {
    #rounded-icons {
        width: 95vw;
        margin-left: 5vw;
    }
}

#appFeatures,
.appFeatures {
    flex: 0 .8 auto;
    margin-left: 2vw;
}

#appFeatures h2,
.appFeatures h2 {
    margin-bottom: 6px;
}

#appMenuMockup {
    flex: 3 0 min(60vw, 895px);
    padding-left: 2rem;
    padding-right: 12px;
}

.bar-1 .menu-horizontal>li>a {
    font-family: Gotham;
    font-size: .875rem;
    font-weight: 500;
}

.container__frame {
    height: 106%;
    background-size: 62%;
}

.py-10 {
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
}

section li {
    font-size: 1.5rem;
    font-weight: 300;
}

.bullet__check li::before {
    height: 1.5rem;
    width: 1.5rem;
    background-image: url("/assets/img/check.webp");
    background-repeat: no-repeat;
    display: inline-block;
    content: " ";
    background-size: contain;
    margin-right: 2rem;
    vertical-align: middle;
}

#topbar {
    font-family: "Gotham";
    display: flex;
    justify-content: flex-end;
    font-size: .875rem;
}

.legal article h2 {
    margin: 4rem 0 0 0;
    font-family: "Gotham";
    font-weight: 500;
    font-size: 1.5rem !important;
}

.legal article h3 {
    font-size: 1.625rem !important;
}


.legal hr {
    border-color: #cbd281;
    border-top-width: 1px;
    width: min(634px, 43vw);
    margin-top: 1rem;
}

.legal article * {
    font-size: 1rem !important;
    font-family: "Gotham Book" !important;
    line-height: normal !important;
}

.legal article small {
    font-size: 80% !important;
}

.legal article ul {
    list-style: disc;
    padding-left: 2rem;
    font-family: "Gotham";
    margin-bottom: 1.85714286em;
}

.legal article ol {
    padding-left: 2rem;
    font-family: "Gotham";
    margin-bottom: 1.85714286em;
}

.legal article ul li,
.legal article ol li {
    margin-bottom: 0.2rem;
}

.legal article ul.toc li,
.legal article ol.toc li {
    margin-bottom: 0.5rem;
}

.legal article ol li:not(:last-child) {
    margin-bottom: 1em;
}

.legal article a {
    color: #363636;
    text-decoration: underline;
}

.legal article a:hover {
    color: #adb36efe;
}

.legal .legalsection {
    border: none !important;
}

.legal input[type] {
    height: 2.5rem;
}

#language,
.language-picker__label {
    margin-left: 0rem;
    text-transform: uppercase;
    font-weight: 500;
}

.bi {
    display: inline-block;
    margin-left: .5rem;
}

.language-picker__button {
    height: auto;
}

#language label:after {
    border-style: solid;
    border-width: 0.05em 0.05em 0 0;
    content: '';
    display: inline-block;
    height: 0.6em;
    left: .8em;
    position: relative;
    top: .5rem;
    transform: rotate(135deg);
    vertical-align: top;
    width: 0.6em;
}

#changetype {
    margin-right: 1rem;
}

#changetype:after {
    display: inline-block;
    content: "|";
    width: 1rem;
    color: #666666;
}

#changetype a {
    color: #666666;
    text-decoration: underline;
}

#back-to-start {
    display: inline-block;
    color: #363636;
    text-decoration: none;
    margin-right: .5rem;
    text-transform: uppercase;
    font-family: Gotham;
    font-size: .875rem;
    font-weight: 500;
    border-right: 1px solid #d9d9d9;
    padding-right: .5rem;
    height: 1.3rem;
    line-height: 1.3rem;
}

.imageblock h1 {
    color: #363636;
}

p.lead,
h2.lead {
    font-family: "Gotham";
    color: #363636;
}

.image-out {
    margin-top: -21%;
    max-width: 476px;
    margin-left: 10%;
}

#changetype {
    text-transform: uppercase;
}

.align-items-right {
    justify-content: flex-end;
}

#prebar {
    background-color: rgba(203, 210, 129, 0.1);
    height: 64px;
    padding-top: 10px;
}

.btn-cta {
    background-color: #CBD281;
    padding: 1rem 2.5rem;
    border-radius: 4rem;
    color: black;
    text-transform: lowercas capitalize;
    text-shadow: 0px -1px 0 #fff, -1px 0px 0 #fff;
    line-height: normal;
    border: none;
}

.parallax {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    min-height: 600px;
}

.parallax h1 {
    color: #ffffff;
}

.imagebg {
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#ts-hero {
    background-image: url("/assets/img/hero/patient-hero-image-opt.jpg");
}

#ts-hero-ireland {
    background-image: url("/assets/img/hero/ireland-hero-image-opt.jpg") !important;
}

#ts-hero.ts-hero-profesional {
    background-image: url("/assets/img/hero/professional-hero-image-opt.jpg");
}

#ts-hero.ts-hero-ireland {
    background-image: url("/assets/img/hero/ireland-hero-image-opt.jpg");
}

#ts-hero-legal {
    background-image: url("/assets/img/hero/legal-sections-hero-opt.jpg");
}

#legal-hero-content {
    top: 250px;
}

#ts-hero-content {
    margin-top: -150px;
}

#ts-hero.ts-hero-profesional {
    background-image: url("/assets/img/hero/professional-hero-image-opt.jpg");
}

#ts-hero.ts-hero-ireland {
    background-image: url("/assets/img/hero/ireland-hero-image-opt.jpg");
}

ol.bullet-list {
    list-style-type: none;
    counter-reset: list-counter;
    padding-left: 0;
}

ol.bullet-list>li::before {
    content: counter(list-counter);
    counter-increment: list-counter;
    width: 3em;
    height: 3em;
    line-height: 2em;
    background-color: #cbd281;
    color: white;
    text-align: center;
    border-radius: 50%;
    font-weight: 600;
    position: absolute;
    left: -0.5em;
    padding-top: 0.5em;
}

ol.bullet-list>li {
    /* text-indent: -3.5em; */
    padding-left: 2.5em;

}

.endo-image {
    position: absolute;
    bottom: -3rem;
    right: -8rem;
}

.endo-info ul {
    list-style: disc;
    margin-left: 1em;
    padding-left: 1em;
    font-weight: 300;
}

.endo-info h3 {
    font-weight: 300;
    color: #363636;
    font-size: 1.5rem;
    line-height: normal;
    font-family: "Gotham";
}

.endo-tick {
    font-weight: 300;
    font-size: 1.5rem;
    line-height: 1.5em;
    border-bottom: #363636 solid 1px;
    color: #363636;
    margin-top: 4rem;
}

.endo-tick::before {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='27' viewBox='0 0 32 27'%3E%3Cpath d='M10.503 26.182 0 15.719l4.786-4.768 5.717 5.712L27.213 0 32 4.768 10.503 26.182z' fill='%23CBD281'/%3E%3C/svg%3E");
    width: 1em;
    height: 1em;
    display: inline-block;
    margin-right: 1em;
}

.endo-demo {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='203' height='194' viewBox='0 0 203 194'%3E%3Cpath d='M143.962.693a1.5 1.5 0 0 0-1.473 2.614l1.473-2.614zm55.76 51.27 1.444-.407-1.444.407zm-24.853 55.728-1.063-1.059 1.063 1.059zM42.403 159.703l-.047-1.499.047 1.499zm-30.618-.896-.02 1.5.02-1.5zm-4.868-1.41-.543-1.398.543 1.398zm28.824-11.401.62 1.365-.62-1.365zm13.836-6.086-.81-1.261.81 1.261zM5.443 154.771l.729 1.311-.729-1.311zm-.384 5.701-.949 1.162.949-1.162zm31.067 23.38-.874 1.22.874-1.22zM142.489 3.307c10.906 6.147 23.015 12 33.422 19.627 10.358 7.59 18.8 16.788 22.368 29.436l2.887-.814c-3.818-13.538-12.833-23.238-23.481-31.042-10.599-7.767-23.045-13.802-33.723-19.82l-1.473 2.613zm55.79 49.063c2.963 10.507.499 20.413-4.568 29.566-5.081 9.179-12.717 17.484-19.905 24.696l2.125 2.118c7.213-7.238 15.108-15.792 20.405-25.362 5.312-9.596 8.074-20.33 4.83-31.832l-2.887.814zm-24.473 54.262c-34.254 34.369-83.67 50.084-131.45 51.572l.094 2.999c48.302-1.504 98.537-17.391 133.481-52.453l-2.125-2.118zm-131.45 51.572c-5.079.158-10.123-.029-15.205-.275-5.066-.246-10.19-.553-15.346-.622l-.04 3c5.086.068 10.129.37 15.24.618 5.096.248 10.24.44 15.445.278l-.094-2.999zm-30.55-.897c-.635-.009-2.794.088-4.422-.035a6.772 6.772 0 0 1-.875-.111c-.096-.021-.122-.034-.102-.026a.723.723 0 0 1 .115.064c.058.039.161.118.265.251.268.344.358.835.188 1.278-.064.169-.149.28-.197.336a.635.635 0 0 1-.09.089c-.005.004.043-.033.186-.104.136-.068.327-.153.585-.253l-1.085-2.797c-.597.232-1.142.485-1.532.789a2.04 2.04 0 0 0-.667.864 1.673 1.673 0 0 0 .243 1.638c.272.35.62.522.806.602.217.093.441.155.636.198.394.087.85.139 1.297.173 1.722.131 4.3.039 4.607.044l.041-3zm-4.347 1.489c9.61-3.73 19.347-7.096 28.902-11.435l-1.24-2.731c-9.454 4.293-18.998 7.586-28.747 11.369l1.085 2.797zm28.902-11.435c2.297-1.042 6.875-3.273 10.245-4.853 1.722-.807 3.098-1.431 3.773-1.686.18-.068.234-.08.21-.075-.011.002-.052.011-.111.017-.044.004-.187.018-.372-.015a1.477 1.477 0 0 1-1.119-1.981c.08-.211.19-.346.221-.384.045-.054.08-.087.09-.097.02-.019.018-.014-.029.021a9.52 9.52 0 0 1-.503.341l1.622 2.523c.276-.177.507-.333.684-.466.086-.065.185-.143.277-.23.047-.043.11-.106.176-.186.053-.064.176-.22.263-.449a1.523 1.523 0 0 0-.136-1.366 1.527 1.527 0 0 0-1.023-.68c-.342-.061-.637.012-.684.022a4.703 4.703 0 0 0-.627.199c-.805.305-2.293.982-3.986 1.776-3.461 1.623-7.92 3.798-10.21 4.838l1.24 2.731zm12.405-8.712c-6.419 4.126-13.853 5.938-21.565 7.655-7.622 1.698-15.56 3.308-22.486 7.156l1.457 2.622c6.465-3.591 13.921-5.121 21.681-6.85 7.672-1.708 15.609-3.607 22.535-8.06l-1.622-2.523zM4.715 153.46c-.916.509-1.494.752-2.234 1.141-.316.166-.659.36-.957.592-.295.229-.658.578-.865 1.092-.477 1.183.197 2.211.712 2.827.578.692 1.5 1.511 2.74 2.522l1.897-2.324c-1.244-1.015-1.96-1.674-2.335-2.121-.436-.523-.025-.295-.232.218-.072.178-.166.224-.078.156.084-.065.238-.161.513-.306.443-.233 1.426-.691 2.296-1.175l-1.457-2.622zm-.605 8.174c10.062 8.214 20.626 15.903 31.142 23.438L37 182.633c-10.511-7.531-21.009-15.174-30.991-23.323l-1.898 2.324zm31.142 23.438c.87.622 1.991 1.273 2.976 1.873 1.035.632 1.96 1.23 2.635 1.825.72.634.875 1.023.888 1.181.002.024.052.387-.889 1.092l1.8 2.4c1.323-.991 2.204-2.235 2.079-3.74-.114-1.372-1.044-2.434-1.894-3.183-.895-.789-2.026-1.507-3.058-2.136-1.082-.66-2.04-1.214-2.79-1.751l-1.747 2.439z' fill='#CBD281'/%3E%3C/svg%3E");

}

.background-image-holder.big.endo {
    width: 100% !important;
    margin-top: 250px;
}

.background-image-holder.big.demo {
    width: 120% !important;
    margin: 0;
}

.back-gradient {
    background-image: linear-gradient(to bottom, rgba(203, 208, 152, 0) 0%, rgba(203, 208, 152, 0.3) 100%);
}

.imageblock>.container.endo {
    overflow: visible;
}

.demo-endo {
    overflow: visible;
    position: absolute;
    top: 16em;
    left: 15em;
}

.en .demo-endo {
    top: 15em;
}

.en #request-demo-endo {
    margin-bottom: 5.5rem !important;
}

.publication-title::before {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M1.322 1.322A4.513 4.513 0 0 1 4.512 0h22.975A4.513 4.513 0 0 1 32 4.513v22.974A4.513 4.513 0 0 1 27.487 32H4.513A4.513 4.513 0 0 1 0 27.487V4.513c0-1.197.475-2.345 1.322-3.191zm3.19 1.14a2.051 2.051 0 0 0-2.05 2.05v22.975a2.051 2.051 0 0 0 2.05 2.052h22.975a2.052 2.052 0 0 0 2.052-2.052V4.513a2.052 2.052 0 0 0-2.052-2.051H4.513zm2.052 5.333c0-.68.551-1.23 1.23-1.23h16.411a1.23 1.23 0 1 1 0 2.46H7.795a1.23 1.23 0 0 1-1.23-1.23zm0 8.205c0-.68.551-1.23 1.23-1.23h16.411a1.23 1.23 0 0 1 0 2.46H7.795A1.23 1.23 0 0 1 6.565 16zm0 8.205c0-.68.551-1.23 1.23-1.23h9.847a1.23 1.23 0 1 1 0 2.46H7.795a1.23 1.23 0 0 1-1.23-1.23z' fill='%23CBD281'/%3E%3C/svg%3E");
    width: 1em;
    height: 1em;
    display: inline-block;
    /* margin-right: 1em; */
    line-height: 1.4em;
    position: absolute;
    left: 0;
    padding-top: 0;
}

.publication-title,
.award-title {
    line-height: 1.3em;
    font-weight: 600;
    margin-bottom: 0.5em;
    padding-left: 2em;
}

.publication-text,
.award-text {
    padding-left: 2em;
    padding-right: 2em;
    line-height: 1.5em;
    margin-bottom: .5em;
}

.publication-link a {
    font-weight: 600;
    padding-left: 2em;
    padding-right: 2em;
    line-height: 1.5em;
    margin-bottom: .5em;
    font-size: .9em;
    color: #808080;
}

.box-award {
    border-radius: 26px;
    border: solid 1px #363636;
    background-color: rgba(203, 210, 129, 0.2);
    height: 100%;
}

blockquote {
    background-image: none;
}

.jBox-wrapper {
    width: max(40vw, 600px);
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%);
}

.jBox-Modal .jBox-container {
    border-radius: 16px;
}

.modal-header {
    padding-top: 1.5rem;
    padding-bottom: .5rem;
}

.modal-content {
    border-radius: 16px;
}

h5.modal-title {
    text-transform: uppercase;
    font-family: "Gotham";
    font-weight: 500;
}

.modal-body p {
    font-size: 1.25rem;
    line-height: normal;
    font-weight: 300;
}

.modal-footer {
    border-top: none;
    justify-content: space-around;
}

.modal-footer .btn {
    border: 1.5px solid #363636;
    border-radius: 45px;
    font-family: "Gotham";
    font-size: 1.25rem;
    font-weight: 500;
    padding: .8rem 2.5rem;
}

.modal-footer .btn-cta {
    border: 0;
}

.owl-carousel.patient .owl-nav {
    top: -11.25rem;
}

.owl-carousel .owl-nav .owl-prev,
.owl-carousel .owl-nav .owl-next {
    background: none;
}

.owl-carousel .owl-nav .owl-prev:hover,
.owl-carousel .owl-nav .owl-next:hover,
.owl-carousel .owl-nav .owl-prev::after,
.owl-carousel .owl-nav .owl-prev::after,
.owl-carousel .owl-nav .owl-next::after {
    color: #cbd281;
    font-size: 6rem;
    background-color: transparent;
}

.owl-carousel .owl-nav .owl-prev,
.owl-carousel .owl-nav .owl-next {
    box-shadow: none;
}

.owl-carousel.patient .owl-nav {
    top: -11.25rem;
    margin-left: -30px;

}

.owl-carousel.press .owl-nav {
    width: 100%;
    margin-left: -60px;
    top: -45px;
}

/*
.owl-carousel.patient .owl-nav .owl-prev {
    margin-right: -3rem;
}
*/
.owl-carousel.patient .owl-nav .owl-next {
    padding-left: 4rem;
    margin-right: -1rem;
}

.owl-carousel.press .owl-nav .owl-next {
    padding-left: 4rem;
    margin-right: -4.3rem;
}

.press-slider {
    max-width: min(800px, 80vw);
    margin-left: auto;
    margin-right: auto;
}

.owl-carousel.press .owl-item>div {
    border: #cbd281 1px solid;
    margin-left: 7px;
    margin-right: 7px;
    padding-left: 10px;
    padding-right: 10px;
}

.owl-dots {
    display: none;
}

.owl-carousel.press .owl-item img {
    width: auto;
    height: 76px !important;
    margin: 0 auto 0 auto;
    object-fit: contain;
}

#menu-footer li {
    margin-right: 0 !important;
}

.afterdot::after {
    content: "·";
    text-align: center;
    width: 1rem;
    display: inline-block;
}

label {
    font-family: "Gotham Book";
    margin-right: 0;
    text-align: left;
    width: 100%;
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: .8rem;
    color: #363636;
}

input[type],
textarea,
.input-checkbox label {
    background-color: rgba(203, 210, 129, 0.1);
    border-color: #363636 !important;
    border-radius: 8px;
}

.input-checkbox label {
    width: 1.5rem;
    height: 1.5rem;
}

.input-checkbox {
    height: 1.8rem;
}

input[type],
textarea,
.input-checkbox+span {
    font-size: 1.5rem;
    margin-left: 0;
    color: #363636 !important;
}

.form-email .input-checkbox+span {
    white-space: normal;
}

.input-checkbox+span a {
    color: #363636 !important;
}

input[type] {
    height: 4rem;
}


#sedes {
    max-width: 400px;
}

#sedes h3 {
    padding-bottom: .5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #cbd281;
    font-size: 1.5rem;
    font-weight: 400;
}

@media (max-width: 576px) {
    .paralax {
        min-height: 0;
    }
}

#insulclock {
    background-image: linear-gradient(to bottom, rgba(192, 206, 140, 0) 0%, #F3F5E8 100%);
}

/* -------------------------------- 

File#: _1_language-picker
Title: Language Picker
Descr: A custom selector allowing users to choose their preferred language on a page
Usage: codyhouse.co/license

-------------------------------- */
/* reset */
*,
*::after,
*::before {
    box-sizing: border-box;
}

* {
    font: inherit;
    margin: 0;
    padding: 0;
    border: 0;
}

/* variables */
:root {
    /* colors */
    --li4-color-primary-hsl: 250, 84%, 54%;
    --li4-color-bg-hsl: 0, 0%, 100%;
    --li4-color-contrast-high-hsl: 230, 7%, 23%;
    --li4-color-contrast-higher-hsl: 230, 13%, 9%;
    --li4-color-bg-light-hsl: 0, 0%, 100%;
    --li4-color-white-hsl: 0, 0%, 100%;
    --li4-color-bg-dark-hsl: 240, 4%, 95%;
    --li4-color-bg-lighter-hsl: 0, 0%, 100%;
    --li4-color-black-hsl: 230, 13%, 9%;

    /* spacing */
    --li4-space-3xs: 0.25rem;
    --li4-space-2xs: 0.375rem;
    --li4-space-xs: 0.5rem;
    --li4-space-sm: 0.75rem;
}

@media(min-width: 64rem) {
    :root {
        /* spacing */
        --li4-space-3xs: 0.375rem;
        --li4-space-2xs: 0.5625rem;
        --li4-space-xs: 0.75rem;
        --li4-space-sm: 1.125rem;
    }
}

/* buttons */
.li4-btn {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 1em;
    white-space: nowrap;
    text-decoration: none;
    background: hsl(var(--li4-color-bg-dark-hsl));
    color: hsl(var(--li4-color-contrast-higher-hsl));
    cursor: pointer;
    text-decoration: none;
    line-height: 1.2;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: all 0.2s ease;
    will-change: transform;
    padding: var(--li4-space-2xs) var(--li4-space-sm);
    border-radius: 0.25em;
}

.li4-btn:active {
    transform: translateY(2px);
}

.li4-btn--subtle {
    background: hsl(var(--li4-color-bg-lighter-hsl));
    color: hsl(var(--li4-color-contrast-higher-hsl));
    box-shadow: inset 0px 1px 0px hsla(var(--li4-color-white-hsl), 0.1), 0px 0px 0px 1px hsla(var(--li4-color-black-hsl), 0.02), 0px 1px 3px -1px hsla(var(--li4-color-black-hsl), 0.2), 0 0.3px 0.4px rgba(0, 0, 0, 0.025), 0 0.9px 1.5px rgba(0, 0, 0, 0.05), 0 3.5px 6px rgba(0, 0, 0, 0.1);
}

.li4-btn--subtle:hover {
    background: hsl(var(--li4-color-bg-light-hsl));
    box-shadow: inset 0px 1px 0px hsla(var(--li4-color-white-hsl), 0.1), 0px 0px 0px 1px hsla(var(--li4-color-black-hsl), 0.02), 0px 1px 3px -1px hsla(var(--li4-color-black-hsl), 0.2), 0 0.1px 0.3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.12);
}

.li4-btn--subtle:focus {
    box-shadow: inset 0px 1px 0px hsla(var(--li4-color-white-hsl), 0.1), 0px 0px 0px 1px hsla(var(--li4-color-black-hsl), 0.02), 0px 1px 3px -1px hsla(var(--li4-color-black-hsl), 0.2), 0 0.1px 0.3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.12), 0px 0px 0px 2px hsl(var(--li4-color-bg-hsl)), 0px 0px 0px 4px hsl(var(--li4-color-contrast-high-hsl));
}

.li4-icon {
    height: var(--li4-size, 1em);
    width: var(--li4-size, 1em);
    display: inline-block;
    color: inherit;
    fill: currentColor;
    line-height: 1;
    flex-shrink: 0;
    max-width: initial;
}

/* component */
:root {
    --picker-vertical-gap: 4px;
}

.language-picker {
    display: inline-block;
    position: relative;
}

.language-picker__form {
    display: none;
}

.language-picker__button .li4-icon {
    height: 16px;
    width: 16px;
}

.language-picker__button .li4-icon:first-of-type {
    margin-right: var(--li4-space-3xs);
}

.language-picker__button .li4-icon:last-of-type {
    margin-left: var(--li4-space-3xs);
}

.language-picker__dropdown {
    position: absolute;
    left: 0;
    top: 100%;
    width: 200px;
    background-color: hsl(var(--li4-color-bg-light-hsl));
    box-shadow: inset 0 0 0.5px 1px hsla(0, 0%, 100%, 0.075), 0 0.9px 1.5px rgba(0, 0, 0, 0.03), 0 3.1px 5.5px rgba(0, 0, 0, 0.08), 0 14px 25px rgba(0, 0, 0, 0.12);
    padding: var(--li4-space-3xs) 0;
    border-radius: 0.25em;
    z-index: 100;
    margin-top: var(--picker-vertical-gap);
    margin-bottom: var(--picker-vertical-gap);
    --space-unit: 1rem;
    --text-unit: 1rem;
    font-size: var(--text-unit);
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s 0.2s, opacity 0.2s;
}

.language-picker__dropdown--right {
    right: 0;
    left: auto;
}

.language-picker__dropdown--up {
    bottom: 100%;
    top: auto;
}

.language-picker__button[aria-expanded=true]+.language-picker__dropdown {
    visibility: visible;
    opacity: 1;
    transition: visibility 0s, opacity 0.2s;
}

.language-picker__item {
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: var(--li4-space-2xs) var(--li4-space-sm);
    color: hsl(var(--li4-color-contrast-high-hsl));
    transition: background 0.2s;
}

.language-picker__item span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #363636;
    font-size: 1rem;
    line-height: 1.5rem;
}

.language-picker__item:hover {
    background-color: rgba(203, 210, 129, 0.1);
}

.language-picker__item:hover a {
    color: #363636;
}

.language-picker__item:focus {
    outline: none;
    background-color: rgba(203, 210, 129, 0.1);
}

.language-picker__list>li {
    margin-right: 0 !important;
    line-height: 1rem;
}

.language-picker__item[aria-selected=true] {
    position: relative;
    background-color: rgba(203, 210, 129, 0.1);
    ;
    color: #363636;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.language-picker__item[aria-selected=true]:focus {
    outline: 2px solid hsla(var(--li4-color-primary-hsl), 0.2);
}

/*
.language-picker__item[aria-selected=true]::after {
    content: "";
    height: 16px;
    width: 16px;
    background-color: currentColor;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpolyline stroke-width='2' stroke='%23ffffff' fill='none' stroke-linecap='round' stroke-linejoin='round' points='1,9 5,13 15,3 '/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpolyline stroke-width='2' stroke='%23ffffff' fill='none' stroke-linecap='round' stroke-linejoin='round' points='1,9 5,13 15,3 '/%3E%3C/svg%3E");
    margin-left: auto;
}
*/
.language-picker__flag {
    display: flex;
    align-items: center;
}

.language-picker__flag::before {
    display: none;
    flex-shrink: 0;
    content: "";
    height: 16px;
    width: 16px;
    margin-right: var(--li4-space-2xs);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.language-picker__dropdown .language-picker__flag::before {
    margin-right: var(--li4-space-xs);
}

.language-picker--flags .language-picker__flag::before {
    display: inline-block;
    display: inline-flex;
}

.language-picker--flags .language-picker__button .li4-icon:first-of-type {
    display: none;
}

.language-picker__flag--deutsch::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M48,18H0V8c0-1.105,0.895-2,2-2h44c1.105,0,2,0.895,2,2V18z'/%3E%3Crect y='18' fill='%23EE0000' width='48' height='12'/%3E%3Cpath fill='%23FDCF00' d='M48,40c0,1.105-0.895,2-2,2H2c-1.105,0-2-0.895-2-2V30h48V40z'/%3E%3C/svg%3E");
}

.language-picker__flag--english::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%23002781' d='M46,6H2C0.896,6,0,6.896,0,8v32c0,1.104,0.896,2,2,2h44c1.104,0,2-0.896,2-2V8C48,6.896,47.104,6,46,6z'/%3E%3Cpath fill='%23E6E6E6' d='M48,8c0-1.104-0.896-2-2-2h-5.161L28,15.876V6h-8v9.876L7.161,6H2C0.896,6,0,6.896,0,8v2.586L12.239,20H0v8 h12.239L0,37.415V40c0,1.104,0.896,2,2,2h5.161L20,32.124V42h8v-9.876L40.839,42H46c1.104,0,2-0.896,2-2v-2.585L35.761,28H48v-8 H35.761L48,10.586V8z'/%3E%3Cpolygon fill='%23D10D24' points='48,22 26,22 26,6 22,6 22,22 0,22 0,26 22,26 22,42 26,42 26,26 48,26 '/%3E%3Cpath fill='%23D10D24' d='M47.001,6.307L29.2,20h3.28L48,8.062V8C48,7.268,47.587,6.656,47.001,6.307z'/%3E%3Cpath fill='%23D10D24' d='M32.48,28H29.2l17.801,13.693C47.587,41.344,48,40.732,48,40v-0.062L32.48,28z'/%3E%3Cpath fill='%23D10D24' d='M15.52,28L0,39.938V40c0,0.732,0.413,1.344,0.999,1.693L18.8,28H15.52z'/%3E%3Cpath fill='%23D10D24' d='M15.52,20h3.28L0.999,6.307C0.413,6.656,0,7.268,0,8v0.062L15.52,20z'/%3E%3C/svg%3E");
}

.language-picker__flag--francais::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%2301209F' d='M16,42H2c-1.105,0-2-0.895-2-2V8c0-1.105,0.895-2,2-2h14V42z'/%3E%3Cpath fill='%23EF4234' d='M48,40c0,1.105-0.895,2-2,2H32V6h14c1.105,0,2,0.895,2,2V40z'/%3E%3Crect x='16' y='6' fill='%23E6E6E6' width='16' height='36'/%3E%3C/svg%3E");
}

.language-picker__flag--italiano::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%23009345' d='M16,42H2c-1.105,0-2-0.895-2-2V8c0-1.105,0.895-2,2-2h14V42z'/%3E%3Cpath fill='%23CF2B36' d='M48,40c0,1.105-0.895,2-2,2H32V6h14c1.105,0,2,0.895,2,2V40z'/%3E%3Crect x='16' y='6' fill='%23E6E6E6' width='16' height='36'/%3E%3C/svg%3E");
}

.language-picker--hide-label .language-picker__button .li4-icon {
    margin-left: 0;
}

.language-picker--hide-label .language-picker__button .li4-icon:first-of-type {
    display: none;
}

.language-picker--hide-label .language-picker__button em {
    display: none;
}

.language-picker--hide-label .language-picker__button .language-picker__flag::before {
    margin-right: var(--li4-space-3xs);
}

.language-picker--hide-label .language-picker__flag::before {
    display: inline-block;
    display: inline-flex;
}

footer .list--hover li:not(:hover),
footer .menu-horizontal>li:not(:hover)>a {
    opacity: 1;
}

footer .list--hover li:hover,
footer .menu-horizontal>li:hover>a {
    opacity: .5;
}

footer:not(.bg--primary):not(.bg--dark) a {
    color: #363636;
}

#endo .columns {
    flex-wrap: wrap;
    gap: 4rem;
}

#endo-right {
    position: relative;
    flex: 0 1 calc(50% - 2rem);
}

#endo-left {
    flex: 0 1 calc(50% - 2rem);
}

#endo h1.text-green {
    white-space: normal;
}

#endo .px-6 {
    padding-left: 0;
    padding-right: 0;
}

/* utility classes */
.li4-sr-only {
    position: absolute;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    width: 1px;
    height: 1px;
    overflow: hidden;
    padding: 0;
    border: 0;
    white-space: nowrap;
}

#cap {
    margin-top: -1rem;

    &>img {
        max-width: calc(100vw/4);
        margin-top: 0rem;
        margin-bottom: 0rem;
        padding-top: 2rem;
    }
}

/*#menu-footer {
    margin-right: 50px;
}*/

@media (min-width: 1400px) {
    .container {
        max-width: 1240px;
    }
}

@media (min-width: 1024px) {
    .onlymobile {
        display: none !important;
    }
}

@media (min-width: 991px) and (max-width: 1199px) {
    #ts-hero {
        background-image: url("/assets/img/hero/patient-hero-image-opt.jpg") !important;
    }

    #ts-hero.ts-hero-profesional {
        background-image: url("/assets/img/hero/professional-hero-image-opt.jpg") !important;
    }

    #ts-hero.ts-hero-ireland {
        background-image: url("/assets/img/hero/ireland-hero-image-opt.jpg");
    }

    #ts-hero-ireland {
        background-image: url("/assets/img/hero/ireland-hero-image-opt.jpg") !important;
    }
}

@media (min-width: 435px) {
    #appFeatures {
        display: flex;
    }
}

@media (max-width: 1370px) {
    #ts-hero {
        background-image: url("/assets/img/hero/patient-hero-image-opt.jpg") !important;
    }

    #ts-hero.ts-hero-profesional {
        background-image: url("/assets/img/hero/professional-hero-image-opt.jpg") !important;
    }

    #ts-hero.ts-hero-ireland {
        background-image: url("/assets/img/hero/ireland-hero-image-opt.jpg") !important;
    }
    
    #ts-hero-ireland {
        background-image: url("/assets/img/hero/ireland-hero-image-opt.jpg") !important;
    }
}

@media (max-width: 576px) {
    #ts-hero {}
}

@media (max-width: 576px) {
    .owl-carousel.press {
        width: 80%;
        margin: auto;
    }

    .owl-carousel.press .owl-nav {
        width: 120%;
        margin-left: -10%;
        top: -45px;
    }
}

@media (min-width: 768px) {
    #appFeatures_mobile {
        display: none;
    }
}

@media (max-width: 768px) {
    section.legalsection h3 {
        scroll-margin-top: 1rem;
    }

    .jBox-wrapper {
        width: min(90vw, 600px);
    }

    #prebar {
        height: auto;
        padding-top: 10px;
    }

    #topbar {
        display: inline-flex;
        justify-content: flex-start;
        align-items: baseline;
    }

    #language {
        display: none;
    }

    .legal #language {
        display: block;
    }

    #language-picker-select-dropdown {
        position: relative;
        width: auto;

        .language-picker__list {
            display: flex;
            flex-direction: column;
        }
    }

    #changetype {
        display: block;
        margin: 0 0;
        text-align: left;
    }



    #hamburger {
        margin-top: 0 !important;
    }

    #ts-hero h1 {
        margin-top: 0 !important;
    }


    #ts-hero>.container {
        margin-top: -10rem;
    }

    #quienes-somos,
    #who-we-are,
    #chi-siamo {
        margin-top: 0;
        padding-top: 0;
    }

    .py-0-sm {
        padding-bottom: 0 !important;
        padding-top: 0 !important;
    }

    #who-we-are .imageblock__content,
    #quienes-somos .imageblock__content,
    #chi-siamo .imageblock__content {
        top: 2rem;
    }

    #living-diabetes .imageblock>div[class*="col-"]:not(.imageblock__content),
    #convivere-diabete .imageblock>div[class*="col-"]:not(.imageblock__content),
    #vivir-diabetes .imageblock>div[class*="col-"]:not(.imageblock__content) {
        padding-top: 0;
        padding-bottom: 0;
    }

    #living-diabetes .imageblock.columns__gap8,
    #convivere-diabete .imageblock.columns__gap8,
    #vivir-diabetes .imageblock.columns__gap8 {
        flex-direction: column-reverse;
        flex-wrap: wrap;
    }

    #get-smart-flex {
        display: flex;
        flex-direction: column;

        ul {
            margin-left: 1.5rem;

            li {
                text-align: left;
            }
        }
    }

    .flex__order-1 {
        order: 1;
    }

    .flex__order-2 {
        order: 2;
    }

    .flex__order-3 {
        order: 3;
    }

    .flex__order-4 {
        order: 4;
    }

    #appFeatures {
        display: none !important;
    }

    #appFeatures,
    .appFeatures {
        flex-wrap: wrap;
        text-align: center;
        flex: 1 1 auto;
        margin-left: 0;
    }

    #rounded-icons {
        width: 95vw;
        margin: auto;
    }

    .icon.icon__bg.icon.icon__round {
        margin: 2rem auto;
    }

    .column__align-left h2,
    .column__align-left h3,
    .column__align-right h2,
    .column__align-right h3 {
        margin-left: 0 !important;
        text-align: center;
    }

    #appFeatures>.column,
    .appFeatures>.column {
        width: 200px;
        margin: auto;
    }

    .blockquote-footer {
        margin-top: 5rem;
    }

    .blockquote-footer h4 {
        font-size: 1.5rem;
    }

    footer .columns {
        flex-wrap: wrap;
    }

    #menu-footer {
        display: flex;
        flex-direction: column;
        gap: 0rem;
        margin: 0;
    }

    #menu-footer li {
        margin: 0 !important;
    }

    .afterdot::after {
        display: none;
    }

    .proffessionals #changetype {
        display: block;
        margin: 2rem 0 0;
        text-align: left;
    }

    ol.bullet-list>li::before {
        left: 0;
    }

    #endo h1.text-green {
        white-space: wrap;
    }

    .endo>columns {
        flex-wrap: wrap;
    }

    #endo .columns>div {
        flex: 1 0 95vw;
    }

    .endo-image {
        position: relative;
    }

    .column-w50 {
        width: 95vw;
    }

    .owl-carousel.press .owl-nav .owl-next {
        padding-left: 0;
        margin-right: 0;
    }

    .publication {
        margin-left: 3rem;
    }

    .form-email .input-checkbox+span {
        margin-top: 1rem;
    }

    section.imageblock {
        margin-top: 2rem;
    }

    .imageblock>.container {
        padding-bottom: 0;
    }

    .vernica,
    .educallejo {
        .blockquote-footer {
            margin-top: 6.5rem;
        }
    }

    .endo-info {
        ul {
            margin-top: 2rem;
            padding-left: 4rem;

            li {
                text-align: left;
            }
        }
    }

    .endo .py-10 {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }

}

@media (max-width: 1024px) {
    #changetype:after {
        display: none;
    }

    #headbuttons .btn-cta {
        background: none;
        margin: 0;
        padding: 0;
        color: #363636;
    }
}