@import url("https://use.typekit.net/vzx4lxz.css");

[uk-icon*="chevron"] svg {
    width: 13px;
}

[uk-icon*="chevron"] svg polyline {
    stroke-width: 4px;
}

.home-grid .el-title {
    font-style: italic;
}

.home-grid .el-content {
    font-family: ivypresto-headline;
    font-size: 35px;
    color: #FFFFFF;
    letter-spacing: 0;
    line-height: 1.35;
}

.home-grid .uk-overlay-primary {
    background: linear-gradient(0deg, rgba(0,0,0,0.41) 0%, rgba(0,0,0,0.00) 50%);
}

.home-grid .uk-overlay {
    padding: 40px;
}

.home-grid a:hover .el-link {
    text-decoration: none;
    color: white!important;
}

a [uk-icon*="chevron"] {
    transition: 0.3s ease-in-out;
}

a:hover [uk-icon*="chevron-left"], a:hover [uk-icon*="chevron-right"] {
    transform: translateX(5px);
}

.home-grid a {
    position: relative;
}

.home-grid a:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    backdrop-filter: grayscale(100%);
    transition: 0.3s ease-in-out;
}

.home-grid a:hover:after {
    backdrop-filter: grayscale(0%);
}

.home-grid a .el-overlay {
    display: flex;
    align-items: flex-end;
}

.home-grid a .el-overlay:after {
    content: url("/images/icons/grid_line.svg");
    transition: 0.3s ease-in-out;
}

.home-grid a:hover .el-overlay:after {
    transform: scale(1.05) rotate(1deg);
}

.tile-padding .uk-tile {
    padding: calc(20px + (100 - 20) * ((100vw - 960px) / (1920 - 960)));
}

@media screen and (max-width: 960px) {
    .tile-padding .uk-tile {
        padding: 0;
    }
}

@media screen and (min-width: 1920px) {
    .tile-padding .uk-tile {
        padding: 100px;
    }
}

.test-bar .uk-tile {
    padding: 120px 40px;
}

.tm-header .uk-navbar-container {
    transition: 0.2s ease-in-out;
}

.tm-header .uk-sticky:not(.uk-sticky-fixed) .uk-navbar-container {
    padding-bottom: 25px;
}

.tm-header .uk-navbar-left {
    width: 100%;
}

.tm-header .uk-navbar-left > :last-child {
    margin-left: auto;
}

.tm-header .uk-logo img {
    transition: 0.2s ease-in-out;
    transform-origin: 0 0;
}

.tm-header .uk-sticky:not(.uk-sticky-fixed) .uk-logo img {
    transform: scale(1.4);
}

.tm-header .uk-navbar-nav {
    position: relative;
}

.tm-header .uk-navbar-nav:not(#module-113) > :first-child > a {
    padding-left: 0;
}

.tm-header .uk-navbar-nav:not(#module-113):after {
    content: "";
    position: absolute;
    bottom: 0;
    height: 1px;
    width: 100vw;
    background: #9BA4AA;
    opacity: 0.4;
}

.tm-header .uk-navbar-nav:not(#module-113) {
    margin-left: calc(0px + (150 - 0) * ((100vw - 960px) / (1920 - 960)));
}

.uk-navbar-nav [uk-icon] {
    order: 2;
    margin-left: 10px;
    margin-right: 0!important;
}

.tm-header .uk-navbar-nav > li > a {
    border-bottom: 2px solid transparent;
}

.tm-header .uk-navbar-nav > li > a:hover, .tm-header .uk-navbar-nav > li.uk-active > a, .tm-header .uk-navbar-nav > li > a[aria-expanded="true"] {
    border-color: #004D80;
}

.tm-header .uk-navbar-dropdown-nav > li > a {
    background: white;
    transition: 0.1s ease-in-out;
}

.tm-header .uk-navbar-dropdown-nav > li.uk-active > a, .tm-header .uk-navbar-dropdown-nav > li > a:hover  {
    background: #CFE9FB;
}

.tm-header .uk-navbar-dropdown {
    overflow: hidden;
}

#module-112 p {
    font-family: ivypresto-headline;
    font-style: italic;
    font-weight: 600;
}

.corsi-slider {
    padding-left: 5px;
    padding-right: 5px;
}

.corsi-slider .el-meta, .press-grid .el-meta {
    font-weight: 600;
    font-size: 14px;
    color: #172F2E;
    position: relative;
}

.corsi-slider .el-tags-container {
    z-index: 2;
    margin-left: -20px;
}

.corsi-slider .el-meta:after, .press-grid .el-meta:after {
    content: "";
    width: 16px;
    height: 2px;
    background: #004D80;
    display: inline-block;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    position: absolute;
}

.corsi-slider .el-link {
    text-align: right;
    font-weight: 600;
    font-size: 14px;
    color: #172F2E;
    margin-top: 40px;
}

.corsi-slider a:hover .el-link, .press-grid a:hover .el-link {
    text-decoration: none;
}

.press-grid .uk-card-media-top {
    position: relative;
}

.corsi-slider .uk-card-media-top > .uk-inline-clip:after, .press-grid .uk-card-media-top:after {
    content: "";
    background-size: 102%;
    background-position: bottom;
    background-repeat: no-repeat;
    background-image: url("/images/icons/slider_fluid_overlay.svg");
    top: 0;
    left: 0;
    right: 0;
    bottom: -1px;
    position: absolute;
}

.corsi-slider .uk-card-body, .press-grid .uk-card-body {
    padding-top: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.press-grid .uk-card-body {
    padding-bottom: 60px;
}

.press-grid .el-nav a {
    font-size: 14px;
    color: #A7A7A7;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    border-width: 2px;
    padding: 0 10px;
}

.press-grid .el-nav li.uk-active a {
    color: #004D80;
    border-color: currentColor;
}

.corsi-slider .uk-card-body > :last-child {
    margin-top: auto!important;
}

.corsi-slider .el-item {
    display: flex!important;
    flex-direction: column;
}

.corsi-slider .uk-slidenav-container.uk-position-bottom-right {
    bottom: -103px;
}

.uk-slidenav-container > :last-child {
    margin-left: 10px;
}

.uk-slidenav {
    padding: 0;
    width: 52px;
    height: 52px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid currentColor;
    border-radius: 100%;
}

.header-overlay .el-container [class*='uk-position-bottom'] {
    width: 100%;
}

.header-overlay .el-container [class*='uk-position-bottom'] > .uk-overlay {
    padding: 20px 15px;
    max-width: 1400px;
    margin: auto;
    box-sizing: content-box;
}

.header-overlay.half-image .el-container {
    width: 100%;
    text-align: right;
}

.header-overlay.half-image .el-title {
    text-align: left;
}

.header-overlay.half-image .uk-position-cover {
    background-color: #004D80;
    border-radius: 0 100% 0 0 / 0 400% 0 0;
    width: 69%;
}

.header-overlay.overlay-full .uk-position-cover {
    width: 100%;
    border-radius: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.00) 45%, rgba(0,0,0,0.35) 100%);
}

@media screen and (min-width: 640px) {
    .header-overlay .el-container [class*='uk-position-bottom'] > .uk-overlay {
        padding: 40px 20px;
        max-width: 1400px;
        margin: auto;
        box-sizing: content-box;
    }
}

@media screen and (min-width: 960px) {
    .header-overlay .el-container [class*='uk-position-bottom'] > .uk-overlay {
        padding: 70px 40px;
        max-width: 1400px;
        margin: auto;
        box-sizing: content-box;
    }
}

.header-overlay .el-title {
    max-width: 920px;
}

.header-overlay .uk-position-cover {
    border-radius: 0 100% 0 0 / 0 200% 0 0;
    width: 75%;
    min-width: 1000px;
    background: rgba(255, 255, 255, 0.2);
}

@media screen and (max-width: 959px) {
    .header-overlay .el-container {
        min-height: 270px;
        width: 100%;
    }

    .header-overlay .el-image {
        max-width: none;
        position: absolute;
        left: 50%;
        top: 50%;
        --uk-position-translate-x: -50%;
        --uk-position-translate-y: -50%;
        transform: translate(var(--uk-position-translate-x),var(--uk-position-translate-y));
        height: 100%;
        object-fit: contain;
    }
}

.newbio-grid .el-content {
    font-size: 14px;
    color: #172F2E;
}

.newbio-grid .el-item {
    display: flex!important;
    flex-direction: column;
}

.newbio-grid .el-item > :last-child {
    margin-top: auto!important;
}

.newbio-grid .el-item > :last-child > .el-link {
    margin-top: 40px;
}

.sticky-subnav.header .subnav-anchors .el-link {
    color: #80898F;
    font-family: ivypresto-headline;
    font-weight: 600;
    letter-spacing: 0.89px;
    padding: 20px;
}

.sticky-subnav.header .subnav-anchors .el-item.uk-active .el-link, .sticky-subnav.header .subnav-anchors-mobile .el-item.uk-active .el-link  {
    color: #004D80;
}

.sticky-subnav.nav .subnav-anchors {
    border-bottom: 2px solid #DFDFDF;
}

.sticky-subnav.nav .subnav-anchors .el-item > a {
    padding: 25px 20px;
    border-bottom: 2px solid transparent;
    transition: 0.1s ease-in-out;
    margin-bottom: -2px;
}

.sticky-subnav.nav .subnav-anchors .el-item > a {
    font-weight: 600;
    font-size: 14px;
    color: #585858;
}

.sticky-subnav.nav .subnav-anchors .el-item > a:hover, .sticky-subnav.nav .subnav-anchors .el-item.uk-active > a {
    text-decoration: none;
    color: #004D80;
    border-color: #004D80;
}

.sticky-subnav.nav .active-container .el-title {
    opacity: 0;
    transition: 0.2s ease-in-out;
    position: absolute;
    left: 0;
    top: 0;
    line-height: 1;
}

.sticky-subnav.header .active-container .el-title {
    font-family: ivypresto-headline;
    font-weight: 600;
    letter-spacing: 0.89px;
    color: #004D80;
}

.sticky-subnav.header .subnav-anchors-mobile .el-link {
    padding: 10px 0;
    color: #80898F;
    font-family: ivypresto-headline;
    font-weight: 600;
    letter-spacing: 0.89px;
}

.sticky-subnav [uk-sticky] {
    z-index: 500;
}

.sticky-subnav .active-container > a:hover {
    text-decoration: none;
}

.sticky-subnav.nav .active-container .el-title.uk-active {
    opacity: 1;
}

.sticky-subnav .active-container {
    flex: 1;
    min-height: 20px;
    position: relative;
}

.press-slider .el-image {
    border-radius: 100px 0 0 0;
}

.press-slider .el-meta {
    font-size: 20px;
}

.press-slider .el-item > .uk-grid > .uk-first-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.press-slider .el-item > .uk-grid > .uk-first-column > * {
    max-width: 620px;
}

.press-slider .el-link {
    background-color: #0287DE!important;
    color: white!important;
}

.press-slider .el-link:hover, .press-slider .el-link:active {
    background-color: #0666a5!important;
    color: white!important;
}

.press-slider .el-nav {
    margin-top: 0px!important;
    z-index: 100;
    position: relative;
}

.press-slider .el-nav a {
    width: 40px;
    height: 3px;
    border-radius: 3px;
}

.press-slider .el-nav li:not(.uk-active) a {
    background-color: #5D676D;
}

.press-slider .el-slidenav {
    color: white;
    background-color: #0287DE;
    border: 1px solid #0287DE;
}

.press-slider .el-slidenav[uk-slider-item="next"] {
    margin-left: -25px;
}

.press-slider .el-slidenav[uk-slider-item="previous"] {
    display: none;
}

.press-slider .el-slidenav:hover {
    background-color: #0666a5;
}

.press-slider .el-slidenav:hover svg {
    color: #0287DE;
}

.uk-subnav-pill .el-link {
    text-transform: uppercase;
    font-weight: 700;
}

.uk-subnav-pill .el-link:hover {
    text-decoration: none;
}

.review-slider .el-content {
    font-family: ivypresto-headline;
    font-style: italic;
    font-size: 25px;
}

.review-slider .uk-card-body:before {
    content: url("/images/icons/quotes.svg");
    display: block;
    order: -1;
}

.review-slider .uk-card-body {
    display: flex;
    flex-direction: column;
}

.review-slider .el-title {
    order: 1;
    font-style: normal;
    font-family: Poppins;
    font-weight: 600;
    font-size: 18px;
    color: #FFC676 !important;
    margin-top: 40px !important;
}
.review-slider .uk-card-media-right {
    height: 50%;
    border-radius: 0 0 0 100px;
}

.review-slider .uk-slidenav-container {
    position: static!important;
    width: 100%;
    margin-left: auto!important;
    margin-right: auto!important;
    margin-top: 40px;
    max-width: 1400px;
    justify-content: flex-end;
}

.product-grid .el-item > a {
    position: relative;
    display: block;
    overflow: hidden;
}

.product-grid .el-item > a::after {
    content: "Scopri di più";
    position: absolute;
    color: white;
    background-image: linear-gradient(0deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.00) 70%);
    opacity: 0;
    transition: 0.4s ease-in-out;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: flex-end;
    padding: 40px;
    transform: translateY(20px);
}

.product-grid .el-item > a:hover::after {
    opacity: 1;
    transform: translateY(0);
}

#tm-dialog-mobile > .uk-offcanvas-bar {
    padding-left: 0;
    padding-right: 0;
}

#tm-dialog-mobile > .uk-offcanvas-bar .uk-nav-sub {
    padding-left: 0;
}

#tm-dialog-mobile > .uk-offcanvas-bar [class*="uk-nav"] > li > a {
    padding: 12px 30px;
}

#tm-dialog-mobile > .uk-offcanvas-bar [class*="uk-nav"] li.uk-active:not(.uk-parent) > a {
    background-color: #F2F1F1;
}

#tm-dialog-mobile > .uk-offcanvas-bar .uk-nav-sub > li > a {
    padding-left: 50px;
}

#tm-dialog-mobile > .uk-offcanvas-bar .uk-margin-auto-bottom > .uk-grid > * {
    border-top: 1px solid #D8D8D8;
    padding-top: 20px;
}

#tm-dialog-mobile #module-117 {
    padding: 0 20px;
}

.uk-navbar-toggle-icon {
    color: #004D80;
}

.uk-navbar-transparent .uk-navbar-toggle-icon {
    color: white;
}

.uk-offcanvas-close {
    right: 15px;
    top: 40px;
    transform: translateY(-50%);
    color: #979797;
}

.uk-offcanvas-close svg {
    width: 20px;
}

@media screen and (max-width: 959px) {
    h3, .uk-h3 {
        font-size: 26px;
    }

    h4, .uk-h4 {
        font-size: 22px;
    }

    .sticky-subnav.nav > [uk-sticky] {
        padding: 10px 0;
        border-bottom: 2px solid #DFDFDF;
    }

    .sticky-subnav.header > [uk-sticky] {
        padding: 10px 0;
        background-color: #FBFAFA;
    }

    .sticky-subnav.header > [uk-sticky] .active-container .uk-icon {
        color: #004D80;
    }

    .header-overlay .el-container [class*='uk-position-bottom'] {
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

fieldset {
    all: unset;
}

.image-border-right img {
    border-radius: 0 0 100px 0;
}

.image-border-left img {
    border-radius: 0 0 0 100px;
}
