/* FONTS */

@font-face {
    font-family: 'Intro Alt';
    src: url('fonts/intro-bold-alt-webfont.woff2') format('woff2'),
         url('fonts/intro-bold-alt-webfont.woff') format('woff');
    font-weight: bold;
    font-style: normal;

}

@font-face {
    font-family: 'Intro Cond Alt';
    src: url('fonts/intro-cond-alt-webfont.woff2') format('woff2'),
         url('fonts/intro-cond-alt-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'Intro Cond Alt';
    src: url('fonts/intro-cond-light-alt-webfont.woff2') format('woff2'),
         url('fonts/intro-cond-light-alt-webfont.woff') format('woff');
    font-weight: 300;
    font-style: normal;

}

@font-face {
    font-family: 'Intro Cond Alt';
    src: url('fonts/intro-cond-semibold-alt-webfont.woff2') format('woff2'),
         url('fonts/intro-cond-semibold-alt-webfont.woff') format('woff');
    font-weight: bold;
    font-style: normal;

}

/* LAYOUT */

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

/* STYLES */

body {
    font-family: 'Intro Cond Alt', Arial, sans-serif;
    font-weight: 300;
    font-size: 20px;
	background: #fff;
	color: #4d4d4d;
}

a {
    text-decoration: none;
    color: inherit;
}

p {
    text-align: justify;
}

header {
	font-family: 'Intro Alt', Arial, sans-serif;
    font-weight: bold;
    font-size: 0.8em;
    position: fixed;
    z-index: 10;
    left: 0;
    right: 0;
    bottom: 0;
}

#logo img {
    width: 266px;
    display: block;
}

#main-menu ul {
    list-style: none;
}
#social {
    position: fixed;
    z-index: 11;
    top: 0;
    right: 0;
    padding: 25px 25px 0;
    text-align: right;
}
#social img:not(.instagram) {
    margin-right: 10px;
}
#social .latte {
    display: block;
    text-align: center;
    font-family: 'Intro Alt', Arial, sans-serif;
    font-size: 0.7rem;
    color: #fff;
    background: #45bcca;
    margin-top: 10px;
    padding: 0.8rem 0;
    border-radius: 1rem;
}


.gelato-swiper-fullwidth {
    width: 100vw;
}
.gelato-swiper-fullwidth img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gelato-swiper-cert-wrapper {
    position: relative;
    background: #949599;
    padding: 0 40px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gelato-swiper-cert {
    margin: 0;
    width: 100%;
}
.gelato-swiper-cert .swiper-slide {
    padding: 40px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gelato-swiper-cert .swiper-slide .editable-image {
    height: auto;
}
.gelato-swiper-cert img {
    box-shadow: -10px 20px 20px 3px #5f6064;
}
.gelato-swiper-cert .swiper-button-next,
.gelato-swiper-cert .swiper-container-rtl .swiper-button-prev {
    right: 0;
}
.gelato-swiper-cert .swiper-button-prev,
.gelato-swiper-cert .swiper-container-rtl .swiper-button-next {
    left: 0;
}
.gelato-swiper-cert-edit {
    position: absolute;
    z-index: 2;
    bottom: 0;
    left: 0;
    right: 0;
}

@media (max-width: 999px) {
    #logo {
        position: absolute;
        left: 25px;
        bottom: 17px;
    }
    #logo img {
        width: 140px;
    }
    #main-menu {
        height: 75px;
        background: #fff;
    }
    #main-menu ul {
        margin: 0;
        padding: 0;
        position: absolute;
        bottom: 75px;
        padding: 25px;
        height: calc(100vh - 75px);
        display: none;
        flex-direction: column;
        justify-content: center;
    }
    #main-menu li {
        margin: 10px 0;
    }
    #main-menu a {
        color: #fff;
        font-size: 1.5em;
    }
    #main-menu a#lang {
        display: inline-block;
        background: rgba(255, 255, 255, 0.3);
        width: 30px;
        height: 30px;
        border-radius: 30px;
        font-size: 1.1em;
        text-align: center;
        line-height: 26px;
    }
    #burger {
        position: absolute;
        right: 25px;
        bottom: 25px;
        width: 28px;
        padding: 12px 0;
    }
    #burger span {
        font: 0/0 a;
        color: transparent;
        display: block;
        width: 28px;
        height: 3px;
        background: #B889BB;
        transition: all 0.3s ease-in-out;
    }
    #burger::before,
    #burger::after {
        content: '';
        position: absolute;
        top: 12px;
        width: 28px;
        height: 3px;
        background: #B889BB;
    }
    #burger::before {
        transform: translate(0,-6px);
        transition: transform 0.3s ease-in-out 0.05s;
    }
    #burger::after {
        transform: translate(0,6px);
        transition: transform 0.3s ease-in-out 0.1s;
    }
    .menu-open #burger span {
        opacity: 0;
        transform: rotate(135deg);
    }
    .menu-open #burger::before {
        transform: rotate(135deg);
    }
    .menu-open #burger::after {
        transform: rotate(-135deg);
    }
    .menu-open #main-menu ul {
        display: flex;
    }
    .menu-open ~ main {
        filter: blur(8px);
        position: relative;
    }
    .menu-open ~ main::before {
        content: '';
        position: absolute;
        z-index: 9;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background: rgba(0,0,0, 0.3)
    }
    main:not(#index) {
        margin-bottom: 75px;
    }
    .gelato-swiper-fullwidth {
        height: calc(100vh - 75px);
    }
}
@media (min-width: 1000px) {
    header {
        display: flex;
        background: #fff;
        padding: 25px;
    }
    #main-menu {
        width: 100%;
        text-align: right;
    }
    #main-menu a {
        color: #45bcca;
        display: inline-block;
        padding: 10px 0;
    }
    #main-menu a:hover:not(#lang),
    #main-menu a.active {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='4' viewBox='0 0 8 4'%3E%3Ccircle fill='%2345BCCA' cx='2' cy='2' r='2'/%3E%3C/svg%3E");
        background-repeat: repeat-x;
        background-position: 0 100%;
    }
    #main-menu #burger {
        display: none;
    }
    #main-menu #lang {
        color: #a2dde4;
    }
    #main-menu ul {
        padding: 0;
        margin: 20px 0 0;
    }
    #main-menu li {
        display: inline-block;
    }
    #main-menu li:not(:first-child) {
        margin-left: 15px;
    }
    main:not(#index) {
        margin-bottom: 120px;
    }
    #social {
        padding: 50px 100px 0;
    }
    .gelato-swiper-fullwidth {
        width: 100vw;
        height: calc(100vh - 120px);
    }
}

@media (min-width: 1100px) {
    #main-menu li:not(:first-child) {
        margin-left: 20px;
    }
}

@media (min-width: 1200px) {
    header {
        padding: 25px 100px;
    }
}

section img {
    max-width: 100%;
    display: block;
}
section:not(.fullwidth) {
    padding: 50px;
    margin: 0 auto;
    max-width: 1200px;
}

.fullwidth .col.-text {
    padding: 6%;
}
h2 {
    font-size: 1.6em;
    font-weight: normal;
    color: #45bcca;
    padding-bottom: 10px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='4' viewBox='0 0 8 4'%3E%3Ccircle fill='%2345BCCA' cx='2' cy='2' r='2'/%3E%3C/svg%3E") repeat-x 0 100%;
}

.-bg-blue {
    background: #45bcca;
    color: #fff;
}
.-bg-blue h2 {
    color: inherit;
    padding-bottom: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='4' viewBox='0 0 8 4'%3E%3Ccircle fill='%23FFFFFF' cx='2' cy='2' r='1.5'/%3E%3C/svg%3E");
}
.-bg-purple {
    background: #b182b4;
    color: #fff;
}
.-bg-purple h2 {
    color: inherit;
    padding-bottom: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='4' viewBox='0 0 8 4'%3E%3Ccircle fill='%23FFFFFF' cx='2' cy='2' r='1.5'/%3E%3C/svg%3E");
}

.-bg-yellow {
    background: #ffdc51;
    color: #000;
}
.-bg-yellow h2 {
    color: inherit;
    padding-bottom: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='4' viewBox='0 0 8 4'%3E%3Ccircle fill='%23000000' cx='2' cy='2' r='1.5'/%3E%3C/svg%3E");
}
.-bg-white {
    background: #fff;
    color: #000;
}
.-bg-white h2 {
    color: inherit;
    padding-bottom: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='4' viewBox='0 0 8 4'%3E%3Ccircle fill='%23000000' cx='2' cy='2' r='1.5'/%3E%3C/svg%3E");
}

.dots-image {
    position: relative;
    padding: 8%;
}
.dots-image img {
    margin-left: -20px;
    border-radius: 100%;
    display: block;
}
.dots-image::after {
    content: '';
    position: absolute;
    top: 9%;
    right: 9%;
    bottom: 10%;
    left: 12%;
    margin-right: -20px;
    border-radius: 100%;
    overflow: hidden;
    pointer-events: none;
}
.dots-bg {
    position: relative;
    padding: 13%;
}
.dots-bg img {
    border-radius: 100%;
    display: block;
    border: 2px solid transparent;
}
.dots-bg::after {
    content: '';
    position: absolute;
    z-index: -1;
    top: 4%;
    right: 4%;
    bottom: 4%;
    left: 4%;
    border-radius: 100%;
    overflow: hidden;
    pointer-events: none;
}
.dots-title {
    text-align: center;
    font-size: 1.1em;
    margin-bottom: 0.5em;
}
.dots-bg.-purple img {
    border-color: #DEC8E0;
}
.-purple::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E %3Cg fill='%23af70b4'%3E %3Ccircle cx='24' cy='28' r='1.67'/%3E %3Ccircle cx='8' cy='20' r='1.67'/%3E %3Ccircle cx='24' cy='12' r='1.67'/%3E %3Ccircle cx='8' cy='4' r='1.67'/%3E %3C/g%3E %3C/svg%3E");
}
.dots-title.-green {
    color: #45bcca;
}
.dots-bg.-green img {
    border-color: #B1DCE3;
}
.-green::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E %3Cg fill='%2345BCCA'%3E %3Ccircle cx='24' cy='28' r='1.67'/%3E %3Ccircle cx='8' cy='20' r='1.67'/%3E %3Ccircle cx='24' cy='12' r='1.67'/%3E %3Ccircle cx='8' cy='4' r='1.67'/%3E %3C/g%3E %3C/svg%3E");
}

@media (max-width: 999px) {
    .col.-iframe iframe {
        width: 100%;
        display: block;
    }
}
@media (min-width: 1000px) {
    .row {
        display: flex;
        flex-wrap: wrap;
    }
    .row.-fit {
        margin: 0 -20px;
    }
    .col {
        flex-grow: 1;
        flex-basis: 0;
        margin: 0 20px;
    }
    .row.-no-gutter .col {
        margin: 0;
    }
    .fullwidth .col {
        margin: 0;
    }
    .col.-col-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
    .col.-col-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
    .col.-col-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    .col.-col-8 {
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }
    .col.-text {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .col.-right {
        order: 2;
    }
    .col.-image > img,
    .col.-image .editable-image > img {
        object-fit: cover;
        min-height: 100%;
    }
    .col.-iframe {
        position: relative;
    }
    .col.-iframe iframe {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
    }
}

/* GELATO */

#gelato .top {
    text-align: center;
    padding-bottom: 10rem;
}

#gelato .top .button {
    display: inline-block;
    margin-top: 10px;
    padding: 0.8rem 0;
    width: 19rem;
    border-radius: 2rem;
    color: #fff;
    font-weight: bold;
    transition: 0.5s all;
    margin: 1rem;
}
#gelato .top .button:hover {
    transform: translateY(-0.7rem);
}
#gelato .top .button.blue {
    background: #45bcca;
}
#gelato .top .button.purple {
    background: #bb8cbe;
}
#gelato .top .button.yellow {
    background: #ffdc51;
    color: #000;
}

#gelato .flavours {
    position: relative;
    background: #f3f3f3;
    margin-top: 8%;
    padding: 50px 50px 90px;
}
#gelato .flavours h2 {
    background: none;
    text-align: center;
    color: #bb8cbe;
}
#gelato .flavours::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    height: 0;
    margin-bottom: -1px;
    padding-bottom: 12.8125%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1280' height='164' viewBox='0 0 1280 164'%3E %3Cg fill='%23F3F3F3'%3E %3Ccircle cx='102.88' cy='342.9' r='231.31'/%3E %3Ccircle cx='655.12' cy='379.45' r='354.51'/%3E %3Ccircle cx='933.72' cy='209.11' r='133.59'/%3E %3Ccircle cx='1161.68' cy='333.59' r='228.24'/%3E %3Ccircle cx='333.97' cy='233.77' r='146.03'/%3E %3C/g%3E %3C/svg%3E") no-repeat 0 100%;
    background-size: 100%;
}
#gelato .flavours .wrapper {
    margin: auto;
    max-width: 800px;
    padding: 20px;
    position: relative;
    z-index: 1;
}
#gelato .flavours .wrapper::before {
    content: '';
    position: absolute;
    z-index: -1;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #fff;
    border-radius: 40px;
}
#gelato .flavours .wrapper::after {
    content: '';
    position: absolute;
    z-index: -2;
    top: 30px;
    right: 30px;
    bottom: -30px;
    left: -30px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E %3Cg fill='%2345BCCA'%3E %3Ccircle cx='24' cy='28' r='1.67'/%3E %3Ccircle cx='8' cy='20' r='1.67'/%3E %3Ccircle cx='24' cy='12' r='1.67'/%3E %3Ccircle cx='8' cy='4' r='1.67'/%3E %3C/g%3E %3C/svg%3E");
    border-radius: 40px;
}
#gelato .flavours ul {
    margin: 0;
    list-style: none;
    padding: 0 0 20px;
}
#gelato .flavours .col {
    padding: 0 20px;
}
#gelato .flavours h3 {
    font-size: 1.2em;
    font-weight: bold;
    color: #45bcca;
    padding-bottom: 20px;
    margin-bottom: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='4' viewBox='0 0 8 4'%3E%3Ccircle fill='%2345BCCA' cx='2' cy='2' r='2'/%3E%3C/svg%3E") repeat-x 0 100%;
}
#gelato .flavours li:last-child h3 {
    background: none;
    padding-bottom: 0;
}

@media (min-width: 1000px) {
    #gelato .flavours li:nth-last-child(2):nth-child(odd) h3 {
        background: none;
        padding-bottom: 0;
    }
}

/* ABOUT US */

.intro {
    text-align: center;
}
.intro h2 {
    display: inline-block;
}
.intro .text {
    margin: 0 auto;
    max-width: 800px;
}
.intro .text p {
    text-align: center;
}
.intro.fullwidth img {
    width: 100%;
}
section.staff {
    max-width: 1400px;
    justify-content: center;
}
.staff .col {
    margin: 0;
}

/* MENU */

#menu h2.table-heading {
    font-size: 1.4em;
    font-weight: bold;
    text-align: center;
}
#menu .menu {
    max-width: 1400px;
}
#menu .menu h2.table-heading {
    color: #bb8cbe;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='4' viewBox='0 0 8 4'%3E%3Ccircle fill='%23bb8cbe' cx='2' cy='2' r='2'/%3E%3C/svg%3E") repeat-x 0 100%;
}
#menu table {
    width: 100%;
    font-size: 0.8em;
    border-collapse: collapse;
    font-weight: bold;
}
#menu table td {
    height: 44px;
    border-bottom: 1px solid #4d4d4d;
}
#menu table tr:last-child td {
    border-bottom: none;
}
#menu table td.title {
    border-bottom: none;
    position: relative;
    color: #bb8cbe;
    text-align: center;
    font-size: 1.6em;
}
#menu table td.title h2 {
    margin: 0;
    padding: 0;
    background: none;
}
#menu table td.title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 4px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='4' viewBox='0 0 8 4'%3E%3Ccircle fill='%23bb8cbe' cx='2' cy='2' r='2'/%3E%3C/svg%3E") repeat-x 0 100%;
}
#menu table td:not(:first-child) {
    color: #bb8cbe;
    text-align: right;
    white-space: nowrap;
}

/* CONTACTS */

#contacts p {
    text-align: left;
}
address {
    display: inline;
    font-style: normal;
}

/* BLOG */

.blog-list-item {
    margin-bottom: 40px;
}
.blog-list-item .dots-bg img {
    transition: 0.2s ease-in-out;
}
.blog-list-item a:hover .dots-bg img {
    transform: scale(1.08);
}
.blog-list-excerpt {
    text-align: center;
}
.blog-post h1 {
    text-align: center;
    color: #45bcca;
}
.blog-post-meta {
    border-top: 1px solid #4d4d4d;
    border-bottom: 1px solid #4d4d4d;
    padding: 20px 0;
    color: #949599;
    font-weight: normal;
    display: flex;
}
.blog-post-meta-date {
    text-align: right;
    margin-left: auto;
}
.blog-post-main {
    font-size: 1.1rem;
}
.blog-post-main p {
    text-align: left;
}
.blog-post-main figure {
    margin: 0;
}
.blog-post-main figcaption {
    font-style: italic;
    font-size: 0.9em;
    margin-top: 5px;
}
.blog-other-posts h3 {
    color: #45bcca;
    font-size: 2rem;
}

/* LIVE EDIT */

.editable:hover {
    box-shadow: 0 0 0 2px rgba(248, 69, 129, 0.6);
}
.editable:focus {
    outline: none;
}
.editable-image {
    position: relative;
    height: 100%;
}
.editable-image .change {
    visibility: hidden;
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.editable-image:hover .change {
    visibility: visible;
}
.editable-image input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}
.editable-image label {
    background: #fff;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #45bcca;
    display: block;
}
.editable-image label span {
    display: block;
    font-size: 0.6em;
    text-align: center;
}
.editable-image input:hover ~ label {
    background: #45bcca;
    color: #fff;
}
.count-change {
    width: 100%;
    padding: 20px;
    text-align: center;
}
.count-change .template {
    display: none;
}