@import url('https://fonts.googleapis.com/css2?family=Kumbh+Sans:wght@100;400;500;600;700&family=Montserrat&family=Raleway&family=Viga&family=KoHo&family=Dongle&family=Bellota+Text:wght@300;400;700&family=Red+Hat+Text:wght@200;400;800&display=swap');

/* dark theme */
/*
:root {
  --light: #fdfdfd;
  --lightmedium: #9dd9d4;
  --medium: #e9ae00;
  --dark: #001a42;
  --light10: #e8f2eb22;
  --lingrad1: #024c;
  --lingrad2: #0240;
  --thumbtit: #fdfdfd;
}
*/

/* light theme */
:root {
  --light: #001a42;
  --lightmedium: #9dd9d4;
  --medium: #e9ae00;
  --dark: #fdfdfd;
  --light10: #e8f2eb22;
  --lingrad1: #024c;
  --lingrad2: #0240;
  --thumbtit: #fdfdfd;
}


body,
html {
  margin: 0;
  padding: 0;
  font-family: Montserrat, sans-serif;
  font-size: 15px;
  color: var(--light);
  background-color: var(--dark);
}

h1,
h2,
h3,
h4 {
  position: relative;
  font-family: "Kumbh Sans", "Bellota Text", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  text-align: left;
  margin-top: 0;
  color: var(--light);
}

h1 {
  font-size: 1.7em;
}

h2 {
  font-size: 1.5em;
}

h3 {
  font-size: 1.3em;
}

h4 {
  font-size: 1.2em;
}

p {
  margin: 0;
}

a:link,
a:visited,
.button {
  color: var(--light);
  font-size: 1em;
}

.page.invert a:link,
.page.invert a:visited,
.page.invert .button {
  color: var(--lightmedium);
}

div.picker a:link,
div.picker a:visited {
  color: var(--dark);
}

a:hover,
.page.invert a:hover,
div.picker a:hover,
.button:hover {
  color: var(--medium);
}

.button.acceso,
.button:active {
  background-color: var(--medium);
  color: var(--dark);
}

a.button,
.button {
  text-decoration: none;
  display: inline-block;
  background: none;
  padding: 5px 15px;
  margin: 10px 0;
  border: 1px solid var(--light);
  border-radius: 2px;
}

.page.invert a.button,
.page.invert .button {
  border-color: var(--lightmedium);
}

a.button:hover,
.button:hover,
.button.acceso,
.page.invert a.button:hover,
.page.invert .button:hover,
.page.invert .button.acceso {
  border: 1px solid var(--medium);
}

.button.acceso:hover {
  background-color: var(--light);
  color: var(--dark);
  border-color: var(--light);
}

a.button.last {
  margin-bottom: 0;
}

.button {
  margin: 0px 2px;
}

#nav {
  padding: 0 0 15px 10px;
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 11;
  color: var(--light);
  cursor: pointer;
}

.home-compact #nav {
  top: 0px;

}

#nav:hover #nav-content {
  display: block;
}

#nav-ham {
  position: relative;
  z-index: 1;
  display: flex;
  height: 20px;
  width: 35px;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  padding: 10px;
}

body:not(.home-compact)
{
  background: #fff;
}

#nav-ham span {
  display: block;
  height: 1px;
  border-top: 1px solid var(--light);
  width: 100%;
  flex: 0;
}

#nav-ham:hover span,
#nav:hover #nav-ham span {
  border-color: var(--medium);
}

#nav-content {
  display: none;
  position: absolute;
  top: calc(100% - 54px);
  right: 0px;
  min-width: 200px;
  padding: 30px 10px 10px;
  background: var(--dark);
  box-shadow: -1px 9px 9px #0002;

}

#nav a:link,
#nav a:visited {
  color: var(--light);
  display: block;
  border-top: 1px solid var(--light);
  padding: 10px 0;
  text-decoration: none;
}

#nav a:hover {
  background-color: var(--light10);
  background: linear-gradient(90deg, transparent, var(--light10));
}

#nav a.selected,
#nav a:active {
  color: var(--medium);
}

#nav #langs {
  display: flex;
  gap: 10px;
  margin: 20px 0;
}

#nav #langs>* {
  display: inline-block;
  text-indent: -1000px;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  border: 4px solid var(--dark);
  filter: grayscale(.9);
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

#nav #langs>*:hover {
  filter: grayscale(0);
  transform: scale(1.1);
}

#nav #langs>.selected {
  border: 4px solid var(--medium);
  filter: grayscale(0);
}

#nav #lang_ita {
  background-image: url(/images/flag_ita.png);
}

#nav #lang_eng {
  background-image: url(/images/flag_eng.png);
}

#nav #lang_ell {
  background-image: url(/images/flag_ell.png);
}

#main {
  position: relative;
  z-index: 10;
  min-height: 100vh;
}

#home {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

.home-compact #home {
  height: 40px;
  display: block;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--dark);
  box-shadow: 0px 1px 6px #0002;
}

#home-group {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0 0px;
}

.home-compact #home-group {
  height: 100%;
  margin: auto;
  justify-content: flex-start;
}

.home-logo {
  width: 240px;
  max-width: 90vw;
  flex: 0;
  margin: 0 0px 20px -5px;
  display: block;
}

.home-compact .home-logo {
  height: 80%;
  margin: 0px 0px 0 15px;
  cursor: pointer;
}

.home-line {
  flex: 1;
  height: 1px;
  border-top: 1px solid var(--light);
  margin-left: 18px;
  margin-right: 20px;
  width: 600px;
}

.home-compact .home-line {
  display: none;
}

.home-acronimo {
  letter-spacing: 1em;
  color: var(--light);
  flex: 0 auto;
}

.home-compact .home-acronimo {
  font-size: 12px;
}

.home-payoff {
  letter-spacing: .5em;
  font-size: 1.2em;
  color: var(--light);
  flex: 0 auto;
  margin-top: 100px;
  padding: 20px;
  box-sizing: border-box;
  border: 1px solid var(--light);
  margin-left: 10vw;
  margin-right: 10vw;
}

.video-fullscreen
{
  height: 70vh;
  width: 100vw;
  object-fit: cover;
}

body .slider-box:not(.fullscreen) {
  height: auto;
  aspect-ratio: 16/12;
  width: 100vw;
  max-height: 90vh;
}

h1:not(.slider-tit, .sfera-title) {
  text-align: left;
  font-size: 3em;
  line-height: 1.1em;
  margin: 100px 0 0;
  padding: 0px calc(10vw - 1px);
  background-clip: text;
  color: var(-light);
  word-break: break-word;
}

h1.slider-tit {
  font-size: 2em;
}

h1.eventi-title {
  font-size: 3em;
  line-height: 1.2em;
}

h2 {
  font-size: 1.6em;
  margin-bottom: 0.4em;
}

.content {
  padding-top: 1px;
  background: var(--dark);
  position: relative;
}

.page {
  padding: 30px 10vw;
  position: relative;
}

.page.invert {
  background-color: var(--light);
  color: var(--dark);
}

.page.clear {
  margin-top: 30px;
}

.parag {
  text-align: justify;
  column-count: 1;
  column-gap: 5vw;
  font-size: 1.1em;
  line-height: 2em;
}

.page.bg-dark {
  color: var(--light);
  background: var(--dark);
}

.page.bg-light {
  color: var(--dark);
  background: var(--light);
}

.page.minimal {
  background: none;
  margin: 5vw 10vw;
  border-top: 1px solid var(--light);
}

.page.minimal.footer {
  margin: 0 10vw;
  text-align: center;
}

.page.minimal:before,
.page.minimal:after {
  position: absolute;
  top: -4px;
  left: -4px;
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--light);
}

.page.minimal:before {
  right: -4px;
  left: auto;
}

.page.minimal.minim-sx:after,
.page.minimal.minim-dx:before {
  display: none;
}

.page.minim-sx {
  margin-left: 0px;
  padding-left: 10vw;
  padding-right: 0px;
}

.page.minim-dx {
  margin-right: 0px;
  padding-right: 10vw;
  padding-left: 0px;
}

.ondina_w {
  display: block;
  height: 50px;
  margin: -50px 0 0 auto;
  fill: var(--light);
}

.ondina_b {
  display: block;
  height: 50px;
  margin: -50px auto 0 0;
  transform: scaleX(-1);
  fill: var(--dark);
}

#contact-sidebar
{
  position: fixed;
  bottom: 0px;
  right: 0px;
  width: 0;
  height:60px;
  z-index:111;
  transition: all .3s ease-in-out;
}

#contact-sidebar.open
{
  width:200px;
  height: 308px;
}

#ico_contacts {
  cursor: nw-resize;
  display: block;
  background-position: center 60%;
  background-repeat: no-repeat;
  position: absolute;
  top: 0;
  left: -50px;
  background-color: var(--light);
  background-image: url(/images/ico_contacts.svg);
  background-size: 60%;
  border-radius: 25px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  width: 50px;
  height: 50px;
}

#contact-sidebar.open #ico_contacts {
  cursor: se-resize;
}

#ico_contacts:hover
{
  background-image: url(/images/ico_contacts_w.svg);
}

#contact-sidebar-header
{
  height: 50px;
  background-color: var(--light);
  color: var(--lightmedium);
  display: flex;
  align-items: center;
  padding-left:10px;
  white-space: nowrap;
}

#contact-sidebar-content
{
  padding: 10px;
  background: #eaf5f4;
}

.contact-icons
{
  display: flex;
  margin: 5px 0 10px;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  padding: 5px 5px;
  background: #fff;
  border-radius: 5px;
}

.contact-icons:hover {
  box-shadow: 1px 1px 5px #0005;
}

.contact-icons:active {
  box-shadow: 1px 1px 5px #0005 inset;
}

.contact-icons::before
{
  content:"";
  width:36px;
  height: 36px;
  border-radius:50%;
  background-position: center;
  background-repeat: no-repeat;
}

.contact-page .contact-icons
{
  min-width:200px;
  padding: 5px 20px 7px 5px;
  width: max-content;
}

#ico_wa::before {
  background-color: #25d366;
  background-image: url(/images/ico_whatsapp.svg);
}

#ico_vi::before {
  background-color: #7360f2;
  background-image: url(/images/ico_viber.svg);
  background-size: 60%;
}

#ico_em::before {
  background-color: var(--light);
  background-image: url(/images/ico_email.svg);
}

.map
{
  max-width:100%;
}

.elenco {
  margin-top: 1em;
}

.elenco>span {
  display: block;
  position: relative;
  margin-bottom: 10px;
  padding-left: 15px;
}

.elenco>span:before {
  content: ">";
  position: absolute;
  top: 0;
  left: 0px;
}

.calend-filter {
  margin-bottom: 50px;
}

.filtrodata_range_label {
  position: relative;
  top: -2px;
  margin: 0 6px;
}

.calend-filter .filtro_row {
  /*
  display: inline-flex;
  flex-wrap: wrap;
  */
}

#buttons_filter_data {
  display: inline-flex;
  position: relative;
  top: 2px;
  margin-right: 3px;
}

.calend-filter .filtro_row>span {
  margin: 5px 5px 0 0;
  display: block;
  border-top: 1px solid var(--light);
  ;
  padding: 5px 0 0 0;
  line-height: 2;
}

.calend-filter .button {
  margin: 3px 3px;
  font-size: 0.8em;
}

.calend-box {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-gap: 50px;
}

.calend-elem {
  background-color: var(--dark);
  border: 1px solid var(--dark);
  color: var(--light);
  padding: 0px;
  border-radius: 5px;
  flex-direction: column;
  overflow: hidden;
  display: none;
}

.calend-elem.visible {
  display: flex;
}

.calend-tit,
.calend-body {
  padding: 20px;
}

.calend-head {
  color: var(--dark);
  height: 180px;
  position: relative;
  overflow: hidden;
}

.calend-tit {
  font-weight: bold;
  font-size: 1.2em;
  position: relative;
  padding-bottom: 90px;
  background: linear-gradient(to bottom, var(--lingrad1) 20%, var(--lingrad2));
}

.calend-data {
  display: block;
  font-weight: normal;
  border-bottom: 1px solid #fff;
  margin-bottom: 4px;
  padding-bottom: 4px;
  font-size: 0.8em;
}

.calend-head img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  position: absolute;
}

.calend-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.calend-desc {
  flex: 1;
}

.calend-footer {
  text-align: right;
}

.itinerari_box {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 30px;
}

.itinerario {
  border: 1px solid var(--light);
  border-radius: 6px;
  overflow: hidden;
}

.itinerario_header {
  position: relative;
  color: var(--light);
  background-size: cover;
  background-position: center;
  min-height: 200px;
  display: flex;
  align-items: flex-end;
}

a.itinerario {
  text-decoration: none;
  transition: all .2s ease-in-out;
}

a.itinerario:hover {
  box-shadow: 2px 2px 8px #0006;
  filter: brightness(1.1);
  transform: scale(1.02);
}

.itinerario_tit {
  padding: 20px;
  flex: 1;
  background-image: linear-gradient(to Top, #04a8 70%, #04a0);
}

.itinerario .data {
  flex: 1;
  display: block;
  font-size: 0.8em;
  margin: 0;
  line-height: 1em;
  color: var(--thumbtit);
  text-decoration: none;
}

.itinerario h2 {
  flex: 1;
  font-size: 1em;
  margin: 10px 20px;
  line-height: 1.2em;
  color: var(--thumbtit);
  text-decoration: none;
}

.itinerario_body {
  padding: 10px 20px;
  background-color: var(--dark);
}

.spec_box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin: 30px 0 0;
}

.spec {
  border: 1px solid var(--light);
  border-radius: 10px;
  padding: 14px 20px;
}

.slide {
  padding: 60px;
  box-sizing: border-box;
  background-size: cover;
  background-position: center 30%;

}

.slide-g-left,
.slide-g-right {
  box-sizing: border-box;
  background-size: cover;
  background-position: center 30%;
}

.slide-text {
  max-height: 100%;
  overflow: auto;
}

.slide-text>* {
  float: left;
  clear: both;
  background: #000a;
  margin: 0 0 6px;
  padding: 14px 20px;
}

.slide-g-left .slide-text {
  height: 100%;
  display: flex;
  justify-content: flex-start;
}

.slide-g-left .slide-text>* {
  float: none;
  background: #000c;
  margin: 0px;
  padding: 40px 40px 40px 100px;
  overflow: auto;
  height: 100%;
  width: 33%;
  box-sizing: border-box;
}

.slide-g-right .slide-text {
  height: 100%;
  display: flex;
  justify-content: flex-end;
}

.slide-g-right .slide-text>* {
  float: none;
  background: #000c;
  margin: 0px;
  padding: 40px 100px 40px 40px;
  overflow: auto;
  height: 100%;
  width: 33%;
  box-sizing: border-box;
}

.eventi-date {
  margin: 0;
  padding: 0px calc(10vw - 10px);
}

.eventi-image {
  margin-top: 30px;
  background-size: cover;
  background-position: center;
  height: 400px;
  max-height: 60vh;
}

.tag-box {
  color: var(--dark);
  background-color: var(--medium);
  display: inline-block;
  padding: 5px 10px;
  border-radius: 3px;
  font-size: 0.9em;
  margin-bottom: 4px;
}

.footer {
  border-top: 1px solid var(--light);
  margin-top: 0px;
}

@media all and (max-width:1024px) {
  .home-line {
    display: none;
  }

  body:not(.home-compact) #home-group {}

  .parag {
    text-align: left;
  }

}

@media all and (max-width:910px) {
  .page.ball {
    display: block;
    margin: 0;
    padding: 0;
  }

  .sfera {
    margin: 0 auto -170px calc(10vw - 20px);
    justify-content: flex-start;
  }

  .parag {
    column-count: 1;
  }

  .page.ball .parag,
  .page.ball.inverted .parag {
    margin: 70px 10vw;
    padding: 0 0 40px 0;
    border-top: none;
    border-bottom: 1px solid var(--light);
  }
}

@media all and (max-width:666px) {
  .home-compact .home-acronimo {
    display: none;
  }

  .page.clear {
    margin-top: 0;
  }

  h1:not(.slider-tit) {
    font-size: 10vw;
    margin-left: -0px;
    margin-top: 10vh;
    padding: 0 10vw;
  }

  h2 {
    font-size: 7vw;
    margin-top: 1.5em;
  }

  .eventi-date {
    font-size: 6vw;
    padding: 0 10vw;
  }

  .home-payoff {
    margin-top: auto;
    margin-bottom: 10vw;
  }

  #home-group
  {
    margin: 20vh 0 0;
  }
  
  .itinerari_box
  {
    grid-template-columns: none;
  }
}
