/**
 * Resets
 */


* {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

::-moz-selection {
	background-color: #09f;
	color: #fff;
}

::selection {
	background-color: #09f;
	color: #fff;
}

:focus {
	outline: 0;
}

customhtml > * {
	position: relative;
    z-index: 10;
}

/**
 * Global
 */

body,
html {
	min-height: 100vh;
	margin: 0px;
	padding: 0px;
}

html {
	position: relative;
}

body {
	background: #fff;
	color: #000;
}

a:active {
	opacity: 0.7;
}

/**
 * Backdrop
 */

#backdrop {
	position: fixed;
	right: 0;
	top: 0;
	bottom: 0;
	max-width: 100%;
	z-index: 1;
}

/**
 * Container
 */

main {
	background: #fff;
	clear: both;
	overflow: hidden;
	position: absolute;
	max-width: 100%;
	width: 100%;
	z-index: 2;

	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;

	-webkit-flex-wrap: wrap;
	-moz-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;

	-webkit-align-items: center;
	-moz-align-items: center;
	-ms-align-items: center;
	align-items: center;
}

main > div {
	-moz-flex: 1 0 auto;
	-webkit-flex: 1 0 auto;
	flex: 1 0 auto;
	width: 100%;
}


.subpage_overlay {
	display: block;
	pointer-events: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
}

body.homepage .subpage_overlay {
	display: none;
}
/**
 * Content
 */

i, em {
	font-style: italic;
}

b, strong {
	font-weight: bold;
}

ul, ol {
	margin: 0;
	padding: 0 0 0 1em;
}

sup {
	top: -0.4em;
	vertical-align: baseline;
	position: relative;
}

sub {
	top: 0.3em;
	vertical-align: baseline;
	position: relative;
}

s {
	
}

.slideshow-nav { 
	margin-bottom: 0.5em; 
}

img {
	border: 0;
	padding: 0;
}

blockquote {
	margin: 0;
	padding: 0 0 0 2em;
}

hr {
	background: rgba(224, 224, 224, 0.2);
	border: 0;
	height: 0.08em;
	display: block;
}

.bodycopy {
	display: none;
}

.container {
	min-height: 100%;
}

.content img {
	float: none;
	margin-bottom: 1em;
}

.clear:after {
	content: "";
	display: table;
	clear: both;
}

.loading[data-loading] {
	display: none;
	position: fixed;
	top: 8px; left: 8px;
	z-index: 100;
}

/**
 * Editor styles
 */

[data-css-presets="true"] main {
	background-color: rgba(255, 255, 255, 0)/*!content_center*/;
	text-align: center /*!text_center*/;
	min-height: 100vh /*!content_stretch*/;
	-webkit-align-items: flex-end /*!vertical_bottom*/;
	align-items: flex-end /*!vertical_bottom*/;
	left: 0 /*!content_center*/;
	margin-left: auto /*!content_center*/;
	margin-right: auto /*!content_center*/;
	right: 0 /*!content_center*/;
}

[data-css-presets="true"] .content_padded {
	padding: 4rem/*!main_margin*/;
}

[data-css-presets="true"] .content_width {
	width: 100%/*!content_center*/;
}

[data-css-presets="true"] #backdrop {
	width: 100% /*!background_cover*/;
}

[data-predefined-style="true"] main {
	font-size: 2rem;
	font-weight: 200;
	color: rgb(255, 255, 255);
	font-family: "Silkscreen", Social/*!Persona*/;
	font-style: normal;
	line-height: 1;
}

[data-predefined-style="true"] main a {
	color: rgb(39, 48, 67);
    padding-bottom: 0em;
    text-decoration: none;
}

[data-predefined-style="true"] main a:hover {

}

main a.image-link,
main a.icon-link,
main a.image-link:hover,
main a.icon-link:hover {
	border-bottom: 0;
	padding-bottom: 0;
}

[data-predefined-style="true"] h1 {
	font-family: "Silkscreen", Social/*!Persona*/;
	font-style: normal;
	font-weight: 300;
    color: rgb(212, 210, 202);
    text-shadow: 2px 2px 3px rgb(119, 119, 119);
	padding: 0;
	margin: 0;
	font-size: 5rem;
	line-height: 0.8;
	text-rendering: optimizeLegibility;
}

[data-predefined-style="true"] h1 a {
	color: rgb(39, 48, 67);
}

[data-predefined-style="true"] h2 {
	font-family: "Silkscreen", Social/*!Persona*/;
	font-weight: 100;
	margin: 0;
	color: rgb(212, 210, 202);
    text-shadow: 2px 2px 3px  rgb(119, 119, 119);
	font-size: 3rem;
	line-height: 0.9;
	text-rendering: optimizeLegibility;
}

[data-predefined-style="true"] h2 a {
	color: rgb(212, 210, 202);
}

[data-predefined-style="true"] small {
	display: inline-block;
	font-size: 2rem;
	line-height: 1;
	font-family: "Freight Big", Social/*!Persona*/;
	font-style: normal;
	font-weight: 700;
	color: rgb(149, 158, 176);
}

[data-predefined-style="true"] small a {
	color: rgb(39, 48, 67);
	border-bottom-width: 0.1em;
}


[data-css-presets="true"] .subpage_overlay {
	background-color: rgba(255, 255, 255, 0)/*!subpage_overlay*/;
}
/**
 * Backstage Icon
 */

#backstage_icon {
	display: block;
}

/**
 * Breakpoints
 */

[data-css-presets="true"].mobile #plugin,
[data-css-presets="true"].mobile #backdrop,
.mobile #backdrop,
.mobile #plugin {
	position: relative;
	height: 50vh;
	min-width: 100%;
	width: calc(100% - 80rem) /*!right_fit*/;
	top: 0;
	bottom: auto;
	left: 0 /*!right_fit*/;
}

.mobile main,
[data-css-presets="true"].mobile main {
	position: relative;
	min-height: 10px;
	max-width: 100%;
	width: 100%;
}

.mobile main.content_width,
[data-css-presets="true"].mobile main.content_width {
	max-width: 100%;
	width: 100%;
}

ul#menu {
	position: absolute;
    list-style: none;
}
ul#menu li {
    background-color: #fff;
    display: block;
    width: 150px;
    height: 30px;
    margin: 2px;
    float: left; /* elementi su singola riga */
}
ul#menu li a {
    color: #000;
    display: block;
    font-weight: bold;
    line-height: 30px;
    text-decoration: none;
    width: 150px;
    height: 30px;
    text-align: center;
}
ul#menu li.active, ul#menu li:hover {
    background-color: #fff;
}

/* sommario */

details summary::-webkit-details-marker {
  display: none;
}

details[open] {
  color: #273043;
}

details summary {
  cursor: pointer;
  display: block;
  list-style: none;
}

details summary:after {
  content: "";
  position: relative;
  color: #273043;
  font-size: 50;
  line-height: 0;
  margin-top: 0.75rem;
  right: 0;
  font-weight: 200;
  transform-origin: center;
  transition: 200ms linear;
}

.flier {
	pointer-events: none;
}

.flier > * {
/* Adjust animation duration to change the element’s speed */
        animation: fly 50s linear infinite;
        pointer-events: none !important;
	top: 0;
	left: 0;
	transform: translateX(-120%) translateY(-120%) rotateZ(0);
	position: fixed;
	animation-delay: 1s;
	z-index: 999999;
}

 /* Keyframe values control where the element will begin
    and end its trajectory across the screen. Each rule
    represents a path the element follows across the screen. */


@keyframes fly {

	98.001%, 0% {
                display: block;
		transform: translateX(-200%) translateY(100vh) rotateZ(0deg)
	}

	15% {
		transform: translateX(100vw) translateY(-100%) rotateZ(180deg)
	}

	15.001%, 18% {
		transform: translateX(100vw) translateY(-30%) rotateZ(0deg)
	}

	40% {
		transform: translateX(-200%) translateY(3vh) rotateZ(-180deg)
	}

	40.001%, 43% {
		transform: translateX(-200%) translateY(-100%) rotateZ(-180deg)
	}

	65% {
		transform: translateX(100vw) translateY(50vh) rotateZ(0deg)
	}

	65.001%, 68% {
		transform: translateX(20vw) translateY(-200%) rotateZ(180deg)
	}

	95% {
		transform: translateX(10vw) translateY(100vh) rotateZ(0deg)
	}
}

.silkscreen-regular {
  font-family: "Silkscreen", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.silkscreen-bold {
  font-family: "Silkscreen", sans-serif;
  font-weight: 700;
  font-style: normal;
}

