/* style.ccs: main site style from cleaners to structure
	/* valid for every cms
/* ------------------------------------------- CLEANER */ 
html {
	margin: 0;
	padding: 0;
	zoom:100%;
	overflow:auto;
	}
body {
	margin: 0;
	padding: 0;
	position:relative;
	overflow-x:hidden;
	zoom:100%;
}
p, h1, h2, h3, h4, h5, h6 {
	line-height: 1.5em;
	padding: 0;
	
}
h1 a, h2 a, h3 a, a h1, a h2, a h3{
	text-decoration: none;	
}
img {
	border: 0;
	height:auto;
}
hr {
	clear: both;
	border: solid 3px;
	margin: 40px 0;
	display: inline-block;
	width: 100%;

}

a:link, a:visited {
	text-decoration:none;
}
a:hover, a:active {
	text-decoration:underline;
}
ul,ol{
	list-style-position: inside;
	line-height: 1.2em;  
	margin: 0 0 2% 0;
	padding:0;
}
table {
	width: 100%;
	border:0;
}
table td {
	padding:5px;
	margin:0;
}
.clearfix {
	clear: both;
	line-height:0;
	height:0;
	margin:0;
	padding:0;
}
* {box-sizing: border-box;}


iframe {width:100%;}
/* ------------------------------------------- CLEANER END */

/* BRICK */
.bflex {
	display: flex;
	display: -webkit-flex;
	flex-direction: row;
	-webkit-flex-direction: row;
	flex-wrap: wrap;
	-webkit-flex-wrap:wrap;
	justify-content:center;
	-webkit-justify-content:center;
	align-items:center;
	-webkit-align-items:center;
}
.bflex > div {
	flex: 0 1 auto;
	-webkit-flex: 0 1 auto;
}
/* BRIK END */

/* ------------------------------------------- TYPO  */
h1, h2, h3 {
	/*line-height:3em;*/
}
.bottom {
	color: #FBFBFB;
}

h1 { 	
	font-size:3em;
}
h2 { 	
	font-weight:normal;
	font-size:2.2em;
	
}
h3 {
	font-weight:normal;
	font-size:1.8em;
}

i.fa {
	font-size:1.2em;
}

.retino01 {
	position:relative;
}
.retino01::after {
	content: "";
	position: absolute;
	top: 0; 
	left: 0;
	width: 100%; 
	height: 100%;  
	opacity: .2; 
	z-index: -1;
	background:#666;
}

.dida {font-size:0.8em; font-style:italic;} 

/* ------------------------------------------- TYPO END */
/* ------------------------------------------- MAIN STRUCTURE */
body {
	color:#000;
	font-size:0.9em;
} 



#container {
	width:100%;
	zoom:100%;
}
#topbar {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 999;
	width: 100%;
}
#top {
	min-height:3vh;
	width:100%;
	float:left;
}
#header {
	width:100%;
	position:relative;
	height:85vh; 
	overflow:hidden;

}

#logoAnim {
	width:30vh;
	height:30vh;
	position:absolute;
	/*
	top:50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	*/
	bottom: 0;
	left: 70%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	z-index:999;
	opacity:0.7;
}
#logoAnim div{
	top:0;
	left:0;
	width:100%;
	height:100%;
	position:absolute;
	background-size:cover;
}

#logoAnim div:nth-child(1){
	background-image:url(../../../images/logoanim/logo-anim-01.png);
	z-index:1;
	}
#logoAnim div:nth-child(2){
	background-image:url(../../../images/logoanim/logo-anim-02.png);
	z-index:0;
}
#logoAnim div:nth-child(3){
	background-image:url(../../../images/logoanim/logo-anim-03.png);
	z-index:0;
}
#logoAnim div:nth-child(4){
	background-image:url(../../../images/logoanim/logo-anim-04.png);
	z-index:0;
}
#logoAnim div:nth-child(5){
	background-image:url(../../../images/logoanim/logo-anim-05.png);
	background-color:#faf0e6;
	z-index:4;
}

#menu {
	width:100%;
	display: flex;
	display: -webkit-flex;
	justify-content: space-between;
	-webkit-justify-content: space-between;
	background:#fff;
	max-height:20vh;
}
body.xs #menu, body.sm #menu {
	padding-bottom:10vh; 
}
#menu div {
	align-self:center;
}

#wrap {
	width:100%;
	display: flex;
	display: -webkit-flex;
	-webkit-flex-direction: row;
}
body.xs #wrap, body.sm #wrap {
	-webkit-flex-direction: column;
}

body.view-featured #wrap {
	width:100%;
}
 
#header, #footer, #foot, #top, #main, #bottom, #head, #contact-bar {
	width:100%;
}
/* COVER AND CENTER */

#header video {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
	min-width: 100%;
	min-height: 100%;
	width: auto;
	height: auto;
	z-index: 1;
	object-fit: cover;
}

#header div.hb {
	
	background: transparent;
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	background-size:cover; 
	background-position:center;
}
/*
#header video {
	top: 50%;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
	min-width: 100%;
	min-height: 100%;
	width: 100%;
	height: auto;
	z-index: 1;
	overflow: hidden;
}
*/

#header .headtitle {position:absolute; text-indent:-9999px; top:-9999px;}

main {
	flex: 1 0 70%;
	-webkit-flex: 1 0 70%;
	}

aside {
	flex: 1 0 30%;
	-webkit-flex: 1 0 30%;
	}

#content {
	margin:0;
	position: relative;
	padding:0;
}

#foot {
	color:#666;
	background:#333;
	font-size:0.8em;
	position:relative;
	display:flex;
	display:-webkit-flex;
	flex-direction: row;
	-webkit-flex-direction: row;
	flex-wrap: wrap;
	-webkit-flex-wrap: wrap;
}
#foot .title {
	color:#fff !important;
}
body.xs #foot, body.sm #foot {
	/*flex-direction: column;*/
}
#foot > div {
	z-index:2;
	flex: 1 1 30em;
	-webkit-flex: 1 1 30em;
}
#foot::after {
	content:'';
	display:block;
	background:#333;
	position:absolute;
	width:100%;
	height:100%;
	z-index:1;
	opacity:0.5;
}

#foot .footbase {
}
#foot .footbase .pad {
	padding: 5px;
	margin: 0 3px;
}
#bottom {
	position:relative;
}
#bottom > div{
	position:relative;
	z-index:1;
}
#footer {
	background: #333;
	color:#eeeeee;
	font-size:0.9em;
	padding:1vh 5vh;
}
#contact-bar {
	display:none;
	position:fixed;
	bottom:0;
	left:0;
	background: #333;
	padding:2vw;
	z-index:9998;
	font-size:1.2em;
}
body.xs #contact-bar, body.sm #contact-bar {
	display:flex;
}
#contact-bar > div {
	flex-basis:33.3%;
	-webkit-flex-basis:33.3%;
	text-align:center;
	min-height:1vh;
}
#contact-bar > div:nth-child(1), #contact-bar > div:nth-child(2),
#foot > div:nth-child(1), #foot > div:nth-child(2)  {
	border-right:dotted #fff 1px;
}

.breadcrumb {
	text-transform: uppercase;
	font-size:0.8em;
	text-shadow: none !important;
}
.breadcrumb li {
	text-decoration:none !important;
	text-shadow: none;
}
.breadcrumb a {
	color:#ccc;
	text-decoration:none;
}
/* ------------------------------------------- social module */
.social ul {
	list-style:none;
	list-style-position:inside;
	margin:0;
	padding:0;
	text-align:center;
	}
.social li {
	display:inline-block;
	padding:5px;
	vertical-align:middle;
	}
.social svg {
	width:5vh; 
	height:auto;
	display:inline-block;
	vertical-align:middle;
	max-width:30px;
}
.social svg {
	fill: #fff;
	margin:5px; 
}
.social svg:hover {
	fill: #fff;
}
/* ------------------------------------------- SOCIAL MODULE END */

/* ------------------------------------------- MAIN STRUCTURE END */
/* ------------------------------------------- NAVMENU STYLE */
nav#menu #logo {
	width: 13vw;
}
nav#menu #logo img{
	width:100%;
	height:auto;
}
nav#menu #logo a{
	padding:10px;
	display:block;
	width:7vw;
	height:auto;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	-ms-transition: all 0.3s ease;
	transition: all 0.3s ease;
	margin-left: 5vw;
	position: absolute;
	top: 0;
	left: 0;
}
nav#menu.sticky #logo a {
	width:4vw !important;
	height:auto !important;
}

nav#menu.mobile #logo  {
	width:100% !important; 

}
nav#menu.mobile #logo a {
	width:70% !important; 
	height:auto !important;
	margin:0 auto;
	position:inherit;
}
nav#menu {
	margin: 0;
	width: 100%;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	-ms-transition: all 0.3s ease;
	transition: all 0.3s ease;
	
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,ffffff+100&1+0,0.35+100;White+to+Transparent */
	background: -moz-linear-gradient(top,  rgba(255,255,255,1) 0%, rgba(255,255,255,0.35) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(255,255,255,0.35) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  rgba(255,255,255,1) 0%,rgba(255,255,255,0.35) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#59ffffff',GradientType=0 ); /* IE6-9 */

}
nav#menu > div.menu {
	/*flex-grow: 0; */
	}
ul.menu {
	display:flex;
	display:-webkit-flex;
	flex-wrap:wrap;
	-webkit-flex-wrap:wrap;
	text-align:center;
}
ul.nav.menu, ul.nav.menu ul {
	margin: 0 auto;
	list-style: none;
}
ul.nav.menu ul {
	display: none;
	position: absolute;
	left: -1px;
	top: 98%;
	padding: 0 0 5px 0;
	display:flex;
	display:-webkit-flex;
}
ul.nav.menu ul ul ul {
	position: absolute;
	left: 98%;
	top: -2px;
	
}
ul.nav.menu li {
	zoom: 1;
	white-space: nowrap;
	position:relative;
	-webkit-border-radius: 0;
	border-radius: 0;
}

#foot ul.nav.menu li {
	width:100%;
}
ul.nav.menu li a {
	display: block;
	text-decoration: none;
	text-transform: uppercase;
	font-weight:normal;
	transition-duration: 0.3s;
	transition-property: color, background-color;
	letter-spacing:0.05em;
	line-height:2em;
	padding:0 20px;
	border-bottom:solid rgba(255, 255, 255, 0) 2px;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	-ms-transition: all 0.3s ease;
	transition: all 0.3s ease;
	-webkit-border-radius: 0 !important;
	border-radius: 0 !important;
}
ul.nav.menu li a:hover, ul.nav.menu li.active a  {
	color: #333 !important;
	border-bottom:solid rgba(200, 200, 200, 0.5) 2px;
}

ul.nav.menu ul li a {
	text-align: left;
	text-decoration: none;
	text-transform: lowercase;
	padding:3px 20px;
}

ul.nav.menu ul li:hover>a {
	background-color:inherit !important;
}
ul.nav.menu ul ul li:hover>a {
	background-color:inherit !important;
}
ul.nav.menu li:hover > a img.def {
	display: none;
}
ul.nav.menu  li:hover > a img.over {
	display: inline;
}
ul.nav.menu  span {
	text-indent:-99999px;
	position:absolute;
	
}
ul.nav.menu  ul li:hover>a {
	text-decoration: none;
	color:#34497e;
}
ul.nav.menu a.active {
	color:#34497e !important;
	background:none !important;
	border-bottom:solid rgba(200, 200, 200, 0.5) 2px;

}
ul.nav.menu a .nav-link.active {}
ul.nav.menu  ul li.deeper {
	/*background: url(../images/arr-down.png) no-repeat 3px center;*/
	padding-left:10px;
}
ul.nav  ul li ul li.deeper {
	/*background: url(../images/arr-right.png) no-repeat 3px center;*/
	padding-left:0;
}
ul.nav.menu  a.active {
	background:none;
}
ul.nav.menu img, ul.nav svg {
	margin: 0;
	width: 20vh;
	height: auto;
	max-height:40px; 
	transition-duration: 0.6s;
}
/*
nav#menu svg path {
	fill:#fff !important;
} */
nav#menu svg path:hover {
	fill:#ccc !important;
}

/* menu sticky (see .js) */
#topbar.sticky {
	position: fixed;
	left: 0;
	top: 0;
	box-shadow: 0 30px 10px 0 rgba(0, 0, 0, 0.1);
	z-index: 999;
	background:#fff;
} 
#topbar.sticky nav#menu a {
	line-height:3em;
}	
#topbar.sticky nav#menu svg.logo {
	width:15vh;
}
#topbar.sticky nav#menu svg path {
} 
/* menu sticky (see .js) END */



nav#menu.mobile {
	position:fixed;
	flex-direction: column;
	-webkit-flex-direction: column;
	width:50% !important;
	height:100%;
	max-height:100%;
	top:0;
	left:-50%;
	z-index:999; 
	-webkit-box-shadow: 0 0 20px 10px rgba(0,0,0,0.3);
	box-shadow: 0 0 20px 10px rgba(0,0,0,0.3);
	line-height:2em;
}

nav#menu.mobile.open {
	width:50%;
	height:100%;
	top:0;
	left:0 !important;
}

nav#menu.mobile.open ul ul {
	position:relative;
	float:left;
	width:100%;
	background:none;
	text-align:left !important;
}
nav#menu.mobile.open ul li {
	width:100%;
	text-align:left;
}
nav#menu.mobile.open ul li a {
	width:100%;
	text-align:left;
	}
nav#menu.mobile.open ul li > a {
	line-height:2em;
	}
nav#menu.mobile.open ul .current.mobile.open ul {
		display:block !important;
		background:#96a7d3 !important;
	}
nav#menu.mobile.open ul.nav img, nav#menu.mobile.open ul.nav svg {
	width: 100%!important;
}

nav#menu.mobile.open svg path:hover {
	fill:#ccc !important;
}
#container.mobile.open  {
	margin-left:50%;
}

body #menu-icon {
	display:none;
}
nav#menu.mobile #menu-icon {
	position:absolute;
	top:0;
	left:100%;
	background: #fff;
	display:block;
	padding:5px;
	-webkit-transition: all 1s ease;
	-o-transition: all 1s ease;
	-moz-transition: all 1s ease;
	-ms-transition: all 1s ease;
	-kthtml-transition: all 1s ease;
	transition: all 1s ease;
}
nav#menu.mobile #menu-icon .fa-window-close {
	display:none;
}
nav#menu.mobile #menu-icon.mobile.open {

}
nav#menu.mobile #menu-icon.mobile.open .fa-window-close {
	display:block;
	}
nav#menu.mobile #menu-icon.mobile.open .fa-bars {
	display:none;
	}
nav#menu.sticky, nav#menu.mobile  {
	background:#fff;
}
body {overflow-x:hidden;}
#container {
	-webkit-transition: margin 1s ease;
	-o-transition: margin 1s ease;
	-moz-transition: margin 1s ease;
	-ms-transition: margin 1s ease;
	-kthtml-transition: margin 1s ease;
	transition: margin 1s ease;
	margin-left:0;
}
/* ------------------------------------------- NAVMENU STYLE END */

.ui_mobile_but{
	font-size:4em;
	color:#333;
	z-index:99;
	cursor:pointer;
	}

.ui_mobile_but:hover {
	transform: scale(1.1);
	color: rgba(256, 256, 256, 0.8);
	transform: scale(1.1);
}
/* scroll top button */
#back-to-top {
	position:fixed;
	display:none;
	bottom:10vh;
	right:0;
	transform: translateZ(0px);
	transition-duration: 0.3s;
	transition-property: box-shadow, transform;
	opacity: 0.5;
}
#back-to-top:hover {
	
}
/* scroll top button END */
/* scroll down */

#bot-sign {
	display:none;
	text-align:center;
	position: fixed;
	bottom:20%;
	left: 50%;
	/* IT CONFLICT WITH ANIMATED.JS ! */
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	opacity: 0.5;
	z-index:99;
}
/* scroll down END */

#scrollmenu {
	position: fixed;
	top: 50%;
	right: 3vh;
	transform: translate(-50%, -50%);
	z-index:99;
	padding:0;
	display:block;

}
#scrollmenu ul{
	list-style:none;

}
#scrollmenu ul li{
	padding:2vh;
	cursor:pointer;
}
#scrollmenu ul li a{
	position:relative;
	display:block;
	width:2vh;
	height:2vh;
	border:solid 2px #666;
	border-radius:100%;
}
#scrollmenu ul li:hover a, #scrollmenu ul li.active a {
	border-color: #fff;
	background:#fff;
}
#scrollmenu .scrolltit {
	position:absolute;
	right:-5vh;
	top:0;
	max-width:15vw;
	margin-top:0.7vh;
	font-size:0.8vw;
	padding:5px;
	width: 10vw;
	text-align: right;
	text-transform:uppercase;
	-webkit-transform: translate(0, -50%);
	transform: translate(0, -50%);
	font-weight:bold;
	visibility: hidden;
	opacity: 0;
	line-height: 1em;
	-webkit-transition: all .3s cubic-bezier(.23,1,.32,1);
	-moz-transition: all .3s cubic-bezier(.23,1,.32,1);
	-ms-transition: all .3s cubic-bezier(.23,1,.32,1);
	-o-transition: all .3s cubic-bezier(.23,1,.32,1);
	transition: all .3s cubic-bezier(.23,1,.32,1);
}

#scrollmenu ul {
	margin:0;
}
#scrollmenu li.active .scrolltit, #scrollmenu li a:hover .scrolltit {
	visibility: visible;
	opacity: 1;
	right:3vh;
}
/* ------------------------------------------- user interface END  */


/* ------------------------------------------- page classes */ 
#content.home > .pad {
	padding: 0;
}
	
/* ------------------------------------------- page classes END */ 

/* ------------------------------------------- PRELOADER */ 
body.preloader-site {
	overflow: hidden;
}

.preloader-wrapper {
	height: 100%;
	width: 100%;
	background: #FFF;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 999;
}

.preloader-wrapper .preloader {
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	width: 25vw;
	height: 25vw;
	opacity:0.5;
}
.preloader-wrapper .preloader .logo {
	position:absolute;
	top:0;
	left:0;
	width: 100%;
	height: 100%;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}
.preloader-wrapper .preloader .logo img{
	width:100%; 
	height:auto;
}
.preloader-wrapper .preloader .logo svg{
	fill:#ccc;
}
/* ------------------------------------------- PRELOADER END*/

/* ------------------------------------------- FORMS */ 

fieldset {
	color:#333;
	border:none; 
	padding:10px;

	display: flex;
	display: -webkit-flex;
	flex-direction: row;
	-webkit-flex-direction: row;
	flex-wrap: wrap;
	-webkit-flex-wrap:wrap;
	justify-content:center;
	-webkit-justify-content:center;
	align-items:center;
	-webkit-align-items:center;

	
}
fieldset > div {
	flex: 0 1 auto;
	-webkit-flex: 0 1 auto;
}

.form {
	position:relative;
}
input, textarea, select, .button, button, .btn {
	-webkit-border-radius: 0 !important;
	-moz-border-radius: 0 !important;
	border-radius: 0 !important;	border:none !important;
	box-sizing: border-box;
	height:auto !important;
	line-height:2em !important;
	padding: 8px 15px !important;
}

input, textarea, select{
	margin:5px !important;
	background: #ebebeb; /* Old browsers */
	background: -moz-linear-gradient(top,  #ebebeb 0%, #ebebeb 0%, #fcfcfc 21%, #fcfcfc 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ebebeb), color-stop(0%,#ebebeb), color-stop(21%,#fcfcfc), color-stop(100%,#fcfcfc)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #ebebeb 0%,#ebebeb 0%,#fcfcfc 21%,#fcfcfc 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #ebebeb 0%,#ebebeb 0%,#fcfcfc 21%,#fcfcfc 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #ebebeb 0%,#ebebeb 0%,#fcfcfc 21%,#fcfcfc 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #ebebeb 0%,#ebebeb 0%,#fcfcfc 21%,#fcfcfc 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ebebeb', endColorstr='#fcfcfc',GradientType=0 ); /* IE6-9 */
	/*width:100%;*/
}

input:focus, textarea:focus, select:focus{
	border: solid #55AAFF 1px;
}

.form-error {font-size:13px; font-weight:bold; color:red;}

.button, button, .btn {
	display: inline-block;
	position:relative;
	text-align: center;
	vertical-align: middle;
	cursor: pointer;
	color: #fff !important;
	background: #333;
	-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
	-moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
	margin: 10px auto;
	padding: 8px 30px;
	opacity:1;
	width:auto;
}
.button, button, .btn {
	
}
.button a, button a{
	color: #fff !important;
}
.button svg{
	fill: #fff !important;
	width:20px;
	height:1em;
}
.button svg path {
	fill: #fff !important;
}
.button:hover, button, .btn {
	color:#fff !important;
	opacity:0.8;
}
.button:active, button:active, .btn:active, button.active{
	color:#666 !important;
	background: #ccc !important;; 
}

input .full {
	width:100%;
}
/* ------------------------------------------- FORMS END */ 

/* ------------------------------------------- TABLES  */

table {
	width: 100%;
	border:0;
	box-sizing: border-box;
	padding:10px;
	background:#fbecfa !important;
	font-size:0.8em;
}
table td {
	padding:5px;
	margin:3px 0;
	vertical-align: bottom;
	border-bottom: 2px rgba(000, 000, 000, 0.3) dotted;
}

table th {
	background-color: rgba(000, 000, 000, 0.3);
	color:#fff;
	padding:10px;
	border-right: 1px #fff dotted;
} 
table td:first-child {
	text-align: left !important;
	background-color: rgba(255, 255, 255, 0.5);
}​
table tr:nth-child(odd){
	background-color: #4C8BF5;
}
table tr:nth-child(2n+1) {
	background-color: rgba(255, 255, 255, 0.5);
}

/* evidenziazione celle */
table .ev {
	background:#fff !important;
}

/* ------------------------------------------- TABLES END */

