:root {
  --default: #ffffff;
  --default-dark: #210760;
  --default-light: #20bdf2;
  --default-medium: #b6bab1;
  --default-hilite: #e0e0e0;
  --default-hilite-hover: #d0d0d0;
  --light: #c6cac1;
  --light-hover: #b6bab1;
  --highlight: #009de2;
  --highlight-hover: #312780;
  --highlight-bg: lightslategray;
  --highlight-bg: #70abe5;
  --highlight-bg-2: #609bd5;
}

@font-face {font-family: fontdefault; src: url('/css/Playfair/static/Playfair_144pt-Light.ttf');}
@font-face {font-family: fontitalic; src: url('/css/Playfair/static/Playfair_144pt-LightItalic.ttf');}
@font-face {font-family: fonttitle; src: url('/css/Playfair/static/Playfair_144pt-Regular.ttf');}
@font-face {font-family: fontclean; src: url('/css/Outfit/static/Outfit-Light.ttf');}

.fontdefault                            {font-family:times new roman, fontdefault,sans-serif!important;}
.fontbold, strong, b                    {font-family:fonttitle,sans-serif!important;}
.fontclean                              {font-family:fontclean,sans-serif!important;}
.fontitalic, em, i                      {font-family:fontitalic,sans-serif!important;}
.fonttitle                              {font-family:fonttitle,sans-serif!important;}
.fontmenu                               {font-family:fontdefault,sans-serif!important;}

.bg-default-custom                      {background-color: var(--default)!important;}
.bg-default-custom                      {background-color: rgba(32,189,242,.2)!important;}
.bg-default-parallax                    {background-image: url('/images/bg.png');background-position: center center; sbackground-size:contain; background-repeat: no-repeat; background-attachment: fixed;background-color: #d7f3fd; b2d1fe; a8c7fe dbackground-color: rgba(32,189,242,.5);}
.bg-default-custom-light                {background-color: var(--default-light)!important;}
.bg-default-custom-dark                 {background-color: var(--default-dark)!important;}
.text-default-custom-dark               {color: var(--default-dark)!important;}
.text-default-custom-light              {color: var(--default-light)!important;}
.bg-custom                              {background-color: var(--highlight-bg);}
.bg-custom-2                            {background-color: var(--highlight-bg-2);}
.text-custom                            {color: var(--highlight-bg);}
.text-custom-2                          {color: var(--highlight-bg-2);}
.text-dark-custom                       {color: var(--default-dark);}
.text-dark-custom:hover                 {color: var(--default-dark-hover);}
.text-light-custom                      {color: var(--light);}
.text-light-custom:hover                {color: var(--light-hover);}
.text-highlight                         {color: var(--highlight);}
a.text-highlight:hover                  {color: var(--highlight-hover);}
.text-default-hilite                    {color: var(--default-hilite);}
.bg-default-hilite                      {background-color: var(--default-hilite);}
.bg-light-custom                        {background-color: var(--light);}
.bg-medium-custom                       {background-color: var(--light-hover);}
.bg-default-light                       {background-color: var(--default-light);}
.bg-default-dark                        {background-color: var(--default-dark);}
.bg-highlight                           {background-color: var(--highlight);}
.bg-highlight-hover                     {background-color: var(--highlight-hover);}
.border-highlight                       {border-color: var(--highlight)!important;}
.text-gray-square                       {color: var(--bs-gray-200);}
.bg-gray-square                         {background-color: var(--bs-gray-200);}
.text-gray-square-dark                  {color: var(--bs-gray-600);}
.bg-gray-square-dark                    {background-color: var(--bs-gray-600);}
.bg-gradient-custom                     {
background: rgb(0,0,0);
background: -moz-linear-gradient(45deg, rgba(0,0,0,1) 0%, rgba(26,27,32,1) 100%);
background: -webkit-linear-gradient(45deg, rgba(0,0,0,1) 0%, rgba(26,27,32,1) 100%);
background: linear-gradient(45deg, rgba(0,0,0,1) 0%, rgba(26,27,32,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000",endColorstr="#1a1b20",GradientType=1);
}
.text-gradient-custom                   {
                                        background: linear-gradient(45deg, rgba(127,137,144,1) 0%, rgba(159,169,176,1) 100%);
                                        background: -webkit-linear-gradient(45deg, rgba(127,137,144,1) 0%, rgba(159,169,176,1) 100%);
                                          -webkit-background-clip: text;
                                          -webkit-text-fill-color: transparent;
                                        }

.shape {
  background: linear-gradient(64.00916346799386deg, rgba(33, 7, 96,1) 23.44140625%,rgba(33, 7, 96,1) 23.44140625%,rgba(32, 189, 242,1) 79.84765625%);
  animation: wave 4.0s ease-in-out infinite;
  opacity: 1;
  }
.scaled50 {
    -webkit-transform: scale(.5, .5);
    -moz-transform: scale(.5, .5);
    -ms-transform: scale(.5, .5);
    -o-transform: scale(.5, .5);
    transform: scale(.5, .5);
}
.scaled50y {
    -webkit-transform: scaleY(.5);
    -moz-transform: scaleY(.5);
    -ms-transform: scaleY(.5);
    -o-transform: scaleY(.5);
    transform: scaleY(.5);
}
@keyframes wave {
  0%, 100% {
    border-radius: 70% 30% 72% 28% / 27% 61% 39% 73%;
  }
  50% {
    border-radius: 77% 23% 54% 46% / 40% 38% 62% 60%;
  }
}            

@media only screen and (orientation : landscape) {
    .landscape  {display: block;}
    .portrait   {display: none;}
    #logo       {z-index: 4;width: 12vw;height: 12vw;align-items: center;display: flex;margin: 4vw;}
    #rotator-wrapper    {margin-top: 9vw;margin-right:6vw;}
    .shape-wrapper {width: 14vw;}    
    .rigalink   {padding-top:20vh;min-height:80vh;min-height: -webkit-fill-available;}
    .object-position-right  {object-position: center right;}
    .cover  {height:100vh;}
    .cover-spacer  {height:70vh;}
    .cover-spacer h1 {
                    transform: translate(-0%, 30%);
                    -webkit-transform: translate(-0%, 30%);
                    -ms-transform: translate(-0%, 30%);
                    -o-transform: translate(-0%, 30%);
                    -moz-transform: translate(-0%, 30%);        
                    }
}

@media only screen and (orientation : portrait) {
    .landscape  {display: none;}
    .portrait   {display: block;}
    #logo       {z-index: 4;width: 22vw;height: 22vw;align-items: center;display: flex; margin: 6vw;}
    #rotator-wrapper    {}
    .shape-wrapper {width: 15vh;}
    .ht-cursor  {display: none!important;}
    .rigalink   {padding-top:20vh;min-height:100vh;min-height: -webkit-fill-available;}
    .object-position-right                  {object-position: center left;}
    .cover  {height:100vh;height: -webkit-fill-available;}
    .cover-spacer  {height:50vh;}
    .cover-spacer h1 {
                    transform: translate(-0%, 30%);
                    -webkit-transform: translate(-0%, 30%);
                    -ms-transform: translate(-0%, 30%);
                    -o-transform: translate(-0%, 30%);
                    -moz-transform: translate(-0%, 30%);        
                    }
}

body {
	font-family: fontdefault,sans-serif!important;
    width: 100vw;
    min-height: 100vh;
    min-height: -webkit-fill-available;
    -webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

        @media only screen and (orientation : landscape) {
            .home #image-scale {background-position: 100% center;}
            .cover-text {font-size: 5vw;}
        }
        @media only screen and (orientation : portrait) {
            .home #image-scale {background-size: auto 100%; background-position: 80% center;}
            .cover-text {font-size: 9vw;}
        }

        .cover-text {
          z-index: 5;
          will-change: transform;
            display: flex;
            /*white-space: nowrap;*/
        }        


.noscroll   {
            height:100vh!important;
            overflow-y:hidden!important;
            }

.sticky {position: -webkit-sticky;position: sticky;top: 0;}
.sticky_item {z-index: 1099;}

body.preventscroll {
  overflow: hidden;
  margin: 0;
  touch-action: none;
  -ms-touch-action: none;
  height: 100vh!important;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {margin: 0;margin-bottom: 0}

a {
	text-decoration: underline;
    text-decoration-thickness: auto; .3rem;
    text-underline-offset: .2rem;    
    text-decoration-color: #70abe5;
	color: var(--bs-white);
	outline: none;
}
a.text-highlight {color: var(--default-light); text-decoration: underline;text-decoration-color: transparent;}

a:active,
a:hover,
a:focus{
    text-decoration: none;
    text-decoration-color: transparent;
    color: var(--bs-danger);
}

.centered                               {position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);-webkit-transform: translate(-50%, -50%);-ms-transform: translate(-50%, -50%);-o-transform: translate(-50%, -50%);-moz-transform: translate(-50%, -50%);}
.animated04                             {-webkit-transition: all .4s ease;-moz-transition: all .4s ease;-o-transition: all .4s ease;transition: all .4s ease;}
.animated06                             {-webkit-transition: all .6s ease;-moz-transition: all .6s ease;-o-transition: all .6s ease;transition: all .6s ease;}
.animated10                             {-webkit-transition:all 1.0s ease;-moz-transition:all 1.0s ease;-o-transition:all 1.0s ease;transition:all 1.0s ease;}
.animated14                             {-webkit-transition:all 1.4s ease;-moz-transition:all 1.4s ease;-o-transition:all 1.4s ease;transition:all 1.4s ease;}

.text-decoration-underline              {text-decoration-thickness: .1em;}
.mix-blend-mode-difference              {mix-blend-mode: difference;}
.mix-blend-mode-normal                  {mix-blend-mode: normal;}
.zindex-8888                            {z-index: 8888;}
.zindex-9999                            {z-index: 9999;}
.lazyload,.lazyloading                  {opacity: 0;}
.lazyloaded                             {opacity: 1;/*transition: all 1500ms;*/}

.bg-cover                               {background-size: cover; background-position: center center;}
.bg-contain                             {background-size: contain; background-position: center center;background-repeat: no-repeat;}

.bgtransitions                          {
                                        -webkit-transition: background-color 400ms linear;
                                        -ms-transition: background-color 400ms linear;
                                        transition: background-color 400ms linear;    
                                        }
.cursor-pointer                         {cursor:pointer}
.pointer-events-none                    {pointer-events:none;}

.scale-0                                {
                                        opacity:0;
                                        -webkit-transform: scale(0, 0);
                                        -moz-transform: scale(0, 0);
                                        -ms-transform: scale(0, 0);
                                        -o-transform: scale(0, 0);
                                        transform: scale(0, 0);        
                                        }

.italichover:hover                      {font-family:fontitalic,sans-serif!important;}
.letterspacinghover:hover               {letter-spacing:.1em;}
.approfondisci svg                      {margin-top: -4px;}

p                                       {margin-bottom: 0;}

.hidden {
	position: absolute;
	overflow: hidden;
	width: 0;
	height: 0;
	pointer-events: none;
}

/* Page Loader */
.js .loading {
    height: 100vh;
    overflow-y: hidden;
    -webkit-transition: all .4s ease;-moz-transition: all .4s ease;-o-transition: all .4s ease;transition: all .4s ease;
}

.js .loaded {
    height: auto;
    /*overflow-y: auto;*/
}

.js .loading::before {
	content: '';
	position: fixed;
	z-index: 999999;
	top: 0;
	left: 0;
	display: flex;
	width: 100%;
	height: 100%;
	text-align: center;
    background-color: var(--highlight-bg);
    /*
background: rgb(0,0,0);
background: -moz-linear-gradient(45deg, rgba(0,0,0,1) 0%, rgba(26,27,32,1) 100%);
background: -webkit-linear-gradient(45deg, rgba(0,0,0,1) 0%, rgba(26,27,32,1) 100%);
background: linear-gradient(45deg, rgba(0,0,0,1) 0%, rgba(26,27,32,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000",endColorstr="#1a1b20",GradientType=1);
    */
}

.js .loading::after {
	content: '';
	position: fixed;
	z-index: 9999999;
	top: 50%;
	left: 50%;
	width: 10px;
	height: 10px;
    border-radius: 50%;
	margin: -5px 0 0 -5px;
	pointer-events: none;
	background: var(--bs-white);
	animation: loaderAnim 0.8s ease-out infinite alternate forwards;
}

@keyframes loaderAnim {
	to {
		transform: translate3d(0,-100px,0);
	}
}

.masktop                                {
                                        pointer-events: none;
                                        background: -moz-linear-gradient(360deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.11) 20%, rgba(0,0,0,.9) 100%);
                                        background: -webkit-linear-gradient(360deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.11) 20%, rgba(0,0,0,.9) 100%);
                                        background: -o-linear-gradient(360deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.11) 20%, rgba(0,0,0,.9) 100%);
                                        background: -ms-linear-gradient(360deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.11) 20%, rgba(0,0,0,.9) 100%);
                                        background: linear-gradient(360deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.11) 20%, rgba(0,0,0,.9) 100%);
                                        }
.maskbottom                             {
                                        pointer-events: none;
                                        background: -moz-linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.11) 20%, rgba(0,0,0,.9) 100%);
                                        background: -webkit-linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.11) 20%, rgba(0,0,0,.9) 100%);
                                        background: -o-linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.11) 20%, rgba(0,0,0,.9) 100%);
                                        background: -ms-linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.11) 20%, rgba(0,0,0,.9) 100%);
                                        background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.11) 20%, rgba(0,0,0,.9) 100%);
                                        }
/*
.maskbottom                             {
                                        pointer-events: none;
                                        background: -moz-linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.11) 20%, rgba(255,255,255,.9) 100%);
                                        background: -webkit-linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.11) 20%, rgba(255,255,255,.9) 100%);
                                        background: -o-linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.11) 20%, rgba(255,255,255,.9) 100%);
                                        background: -ms-linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.11) 20%, rgba(255,255,255,.9) 100%);
                                        background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.11) 20%, rgba(255,255,255,.9) 100%);
                                        }
*/
.icon {
	display: block;
	width: 1.5em;
	height: 1.5em;
	margin: 0 auto;
	fill: var(--default-light);
}

.icon--inline {
	display: inline-block;
	width: 1em;
	height: 100%;
	margin: 0 0.25em 0 0;
}

.content.intro {
	height: 100vh;
}

.btn--menu {
	pointer-events: visible;
    z-index: 1019;
    transform: none;
}

.btn--close {
}

.logo-container {
	top: 0;
	left: 0;
	pointer-events: visible;
    z-index: 1019;
    transform: none;
    overflow: hidden;
}

.logo-wrapper {
    opacity: 0;
    transform-origin: center;
    -webkit-transform: scale(12.5, 12.5);
   -moz-transform: scale(12.5, 12.5);
   -ms-transform: scale(12.5, 12.5);
   -o-transform: scale(12.5, 12.5);
   transform: scale(12.5, 12.5);        
}

.logo-wrapper.active {
    opacity: 1;
    -webkit-transform: scale(1, 1);
   -moz-transform: scale(1, 1);
   -ms-transform: scale(1, 1);
   -o-transform: scale(1, 1);
   transform: scale(1, 1);        
}

.btn--close {
	opacity: 0;
}

.menu--open .menu__item,
.menu--open .btn--close {
	opacity: 1;
	transform: translate3d(0,0,0);
	transition: opacity 0.4s 0.135s, transform 0.4s 0.135s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.menu--open .menu__item:nth-child(2) {
	transition-delay: 0.165s;
}

.menu--open .menu__item:nth-child(3) {
	transition-delay: 0.195s;
}

.menu--open .menu__item:nth-child(4) {
	transition-delay: 0.225s;
}

.menu .menu__link {
}

.menu .menu__link:hover,
.menu .menu__link:focus {
	outline: none;
}

@media only screen and (min-width : 320px) {        

    .hidden {
        position: absolute;
        overflow: hidden;
        width: 0;
        height: 0;
        pointer-events: none;
    }    
    
    .btn--menu {
        top: 0;
        right: 0;
        pointer-events: visible;
        z-index: 1019;
        transform: none;
    }

    /*
    .menu {
        position: fixed;
        top: 0;
        right: 0;
        height: 100%;
        width: 100%;
        z-index: 1020;
        padding-bottom: env(safe-area-inset-bottom);
    }

    .js .menu {
        pointer-events: none;
    }

    .js .menu--open {
        pointer-events: visible;
    }

    .menu .block-revealer__content {
        height: 100%;
        position: relative;
    }

    .menu__inner {
        width: 100%;
        height: 100%;
        list-style-type: none;
        margin: 0;
        overflow-y: scroll;
    }

    .menu__item {
        padding: 0.15em 0.15em;
    }

    .js .menu__item {
        transform: translate3d(-13em,0,0);
        transition: transform 0s 0.4s;
    }
    */
    .btn--close {
        opacity: 0;
    }

    .menu--open .menu__item,
    .menu--open .btn--close {
        opacity: 1;
        transform: translate3d(0,0,0);
        transition: opacity 0.4s 0.135s, transform 0.4s 0.135s cubic-bezier(0.645, 0.045, 0.355, 1);
    }

    .menu--open .menu__item:nth-child(2) {transition-delay: 0.165s;}
    .menu--open .menu__item:nth-child(3) {transition-delay: 0.175s;}
    .menu--open .menu__item:nth-child(4) {transition-delay: 0.185s;}
    .menu--open .menu__item:nth-child(5) {transition-delay: 0.195s;}
    .menu--open .menu__item:nth-child(6) {transition-delay: 0.205s;}
    .menu--open .menu__item:nth-child(7) {transition-delay: 0.215s;}
    .menu--open .menu__item:nth-child(8) {transition-delay: 0.225s;}
    .menu--open .menu__item:nth-child(9) {transition-delay: 0.235s;}
    .menu--open .menu__item:nth-child(10){transition-delay: 0.245s;}
    .menu--open .menu__item:nth-child(11){transition-delay: 0.255s;}
    .menu--open .menu__item:nth-child(12){transition-delay: 0.265s;}
    .menu--open .menu__item:nth-child(13){transition-delay: 0.275s;}
    .menu--open .menu__item:nth-child(14){transition-delay: 0.285s;}
    .menu--open .menu__item:nth-child(15){transition-delay: 0.295s;}
    .menu--open .menu__item:nth-child(16){transition-delay: 0.305s;}
    .menu--open .menu__item:nth-child(17){transition-delay: 0.315s;}

    .menu .menu__link {}

    .menu .menu__link:hover,
    .menu .menu__link:focus {
        outline: none;
    }

    /*
    .form-floating textarea {height: 10.5rem!important;}
    .form-floating .form-control {font-size: 1.5rem;!important;}
    */
    
    .footer,      
    .footer-inner {min-height: 100vh;}      
    .footer {      
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      color: var(--default-dark);
    } 
    .footer .logo {max-width: 240px;}      
        
} 

@media only screen and (min-width : 480px) {
}

@media only screen and (min-width : 768px) {
}

@media only screen and (min-width : 992px) {
}

@media only screen and (min-width : 1200px) {
}



/* reveal --------------------------------------------------------- */
@media only screen and (orientation : landscape) {
    .reveal-wrapper {height: 100vh;}
    .reveal {--bs-aspect-ratio: 42.8571428571%;}
    .reveal {--bs-aspect-ratio: 52.8571428571%;}
    .reveal-img {object-fit: contain;}    
}
@media only screen and (orientation : portrait) {
    /*
    .reveal-wrapper  {height: 100vw;}
    .reveal {height: 100vw;}
    */
    .reveal-wrapper {}
    .reveal {--bs-aspect-ratio: 56.66666%;}
    .reveal-img {object-fit: contain;}
}
.reveal-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /*height: 100vh;*/
  width: 100%;
  position: relative;
}
    
.reveal-img {
  height: 100%;
  width: 100%;
  transform-origin: left;
}

.reveal-img.right {
  transform-origin: right;
}

.reveal {
  visibility: hidden;
  position: relative;
  width: 100%;
  overflow: hidden;
}
/* reveal --------------------------------------------------------- */
/* hscroll --------------------------------------------------------- */
.hscroll {overflow-x: hidden;}
.panel,
.last-panel {
  width: 50%;
  flex: none;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  box-sizing: border-box;
}

.panel:nth-child(odd) {
}

@media (max-width: 767px) {
  .hscroll {overflow-x: scroll;}
  .panel {
    width: 90%;
  }
  .last-panel {
    width: 100%;
  }
}
/* hscroll --------------------------------------------------------- */

html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}