body {font-family: 'proxima nova', sans-serif; font-size: 16px; font-kerning:normal; letter-spacing: 1px;}


.navactive {font-weight: bold; border-bottom: 2px solid #333;}

.home {
    background:white;
    z-index: 1001;
    text-align: center;
}

.memberbio {height:100px; margin-top: 100px; position:relative; opacity:0; top:-150px;}

.vline {height:0; width: 2px; background: #333; margin:0 auto;position:absolute;top:100%; margin-top:25px; left:50%; }

.memberblock {

     -webkit-transition: position 2s ease-in;
    -moz-transition: position 2s ease-in;
    -o-transition: position 2s ease-in;
    -ms-transition: position 2s ease-in;
    transition: position 2s ease-in;
    top: 0px;
    position:relative;
    text-align: center;
}

.member img { max-width: 150px; border: 2px solid #333; width:100%;}

.member { 
    opacity: 0.5;
text-align: center;}
.memberblock h4 { font-size: 1.25em; text-transform: uppercase; font-weight: normal; margin-bottom: 10px;}
.memberblock p { font-style: italic; font-weight: normal; color: #888; opacity: 0; position: relative;}

.logo { margin: 0 auto;
}
.valign {position: relative;
  top: 170px;
color: #707070;} 
.logo p {margin: 30px;
    text-align: center;
opacity: 0;
     -webkit-transition: opacity 2s ease-in;
    -moz-transition: opacity 2s ease-in;
    -o-transition: opacity 2s ease-in;
    -ms-transition: opacity 2s ease-in;
    transition: opacity 2s ease-in;
}
.logo img { opacity: 0;
     -webkit-transition: opacity 2s ease-in;
    -moz-transition: opacity 2s ease-in;
    -o-transition: opacity 2s ease-in;
    -ms-transition: opacity 2s ease-in;
    transition: opacity 2s ease-in;
    
     -webkit-transition: position 2s ease-in;
    -moz-transition: position 2s ease-in;
    -o-transition: position 2s ease-in;
    -ms-transition: position 2s ease-in;
    transition: position 2s ease-in;
    position:relative;
	max-width: 70% !important;
}

.studio {
    background:;
}
.parole {
    background:;
}
.fatti {
    background:;
}
/*
.parole h1, .parole .mi-slider, .parole .mi-current {
	margin-top: 0px;
}
*/
.parole .valign {
	margin-top: -85px;
}
@media screen and (max-width: 740px){
	.parole .valign {
		margin-top: -25px;
	}
}
@media screen and (max-width: 490px){
	.parole .valign {
		margin-top: 0px;
	}
}
.fatti h1 {
	margin-top: 0px;
}
.contatti h1 {
	margin-top: 0px;
}

nav { 
    position:fixed; 
    z-index:1000;
    margin-top: 10px;
}

/* rettangolo bianco sotto menù e logo*/

#rectangle{
    width:100%;
	right:20px;
    height:90px;
    background:white;    z-index:900;
    position:absolute;
	margin-top:-10px; 

}

@media screen and (max-width: 767px) {
	#rectangle{
    width:100%;
	right:20px;
    height:90px;
    background:white;    z-index:900;
    position:absolute;
	margin-top:-60px; 

}}

@media screen and (max-width: 640px) {
	#rectangle{
    width:100%;
	right:20px;
    height:110px;
    background:white;    z-index:900;
    position:absolute;
	margin-top:-60px; 

}

}

@media screen and (max-width: 486px) {
	#rectangle{
    width:100%;
	right:20px;
    height:123px;
    background:white;    z-index:900;
    position:absolute;
	margin-top:-60px; 

}}

@media screen and (max-width: 310px) {
	#rectangle{
    width:100%;
	right:20px;
    height:140px;
    background:white;    z-index:900;
    position:absolute;
	margin-top:-60px; 

}}

/*FINE rettangolo bianco sotto menù e logo*/

/*correzione sovrapposizioni*/

@media screen and (max-width: 640px) {
.mi-slider nav {
  top: 300px !important;
}
	.mi-slider ul li{
	margin-top:-60px;
	}
}
@media screen and (min-width: 640px) and (max-width: 740px) {
	.mi-slider nav{
    top:270px !important;
	}
	
	.mi-slider ul li{
	margin-top:-60px;
	}
	}

@media screen and (max-width: 607px) {
	.mi-slider nav{
	}
	}

/*FINE correzione sovrapposizioni*/


/*titoli con corpo troppo grande*/

@media screen and (max-width: 430px) {
	.mi-slider ul li h1 {
  	font-size: 2em !important;
	margin-top:45px;
	}
	
	.mi-slider {
	}
}
/*FINE titoli con corpo troppo grande*/

nav ul { float: right; text-align: right; display: inline;}
nav ul li {display: inline-block;margin: 0 10px;}
nav ul li a { font-weight:; text-transform: uppercase; color: #333}
nav ul li a:active{color:#333;}

blockquote { font-size: 2em; margin: 0; /*margin-top: 20%;*/ font-style: italic;}

.logonav { margin-top: 12px;}

.parole ul li { display:inline-block} 

/* ::::: SLIDER :::::*/


.mi-slider {
	position: relative;
	margin-top: 30px;
	height: 490px;
    width: 100%;
}

.mi-slider ul {
	list-style-type: none;
	position: absolute;
	width: 100%;
	/* left: 0; */
	/* bottom: 140px; */
	overflow: hidden;
	text-align: center;
	pointer-events: none;
    padding: 0;
}

.no-js .mi-slider ul {
	position: relative;
	left: auto;
	bottom: auto;
	margin: 0;
	overflow: visible;
}

.mi-slider ul.mi-current {
	pointer-events: auto;
}

.mi-slider ul li {
	display: inline-block;
	padding: 20px;
	width: 100%;
	-webkit-transform: translateX(600%);
	transform: translateX(600%);
	-webkit-transition: opacity 0.2s linear;
	transition: opacity 0.2s linear;
}

.no-js .mi-slider ul li {
	-webkit-transform: translateX(0);
	transform: translateX(0);
}

.mi-slider ul li a,
.mi-slider ul li img {
	display: block;
	margin: 0 auto;
}

.mi-slider ul li a {
	outline: none;
	cursor: pointer;
}

.mi-slider ul li img {
	max-width: 100%;
	border: none;
}

.mi-slider ul li:hover {
	opacity: 0.7;
} 

.mi-slider nav {
	position: relative;
	top: 400px;
	text-align: center;
	margin: 0 auto;
	border-top: 2px solid #333;
}

.no-js nav {
	display: none;
}

.mi-slider nav span {
	display: inline-block;
	text-transform: uppercase;
	padding: 40px 15px 15px 34px;
	position: relative;
	color: #888;
	outline: none;
	-webkit-transition: color 0.2s linear;
	transition: color 0.2s linear;
}

.mi-slider nav span:hover,
.mi-slider nav span.mi-selected {
	color: #000;
}

.mi-slider nav span.mi-selected:after,
.mi-slider nav span.mi-selected:before {
	content: '';
	position: absolute;
	top: -2px;
	border: solid transparent;
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}

.mi-slider nav span.mi-selected:after {
	border-color: transparent;
	border-top-color: #fff;
	border-width: 20px;
	left: 50%;
	margin-left: -20px;
}

.mi-slider nav span.mi-selected:before {
	border-color: transparent;
	border-top-color: #333;
	border-width: 23px;
	left: 50%;
	margin-left: -23px;
}

/* Move classes and animations */

.mi-slider ul:first-child li,
.no-js .mi-slider ul li {
	-webkit-animation: scaleUp 350ms ease-in-out both;
	animation: scaleUp 350ms ease-in-out both;
}

@-webkit-keyframes scaleUp {
	0% { -webkit-transform: translateX(0) scale(0); }
	100% { -webkit-transform: translateX(0) scale(1); }
}

@keyframes scaleUp {
	0% { -webkit-transform: translateX(0) scale(0); transform: translateX(0) scale(0); }
	100% { -webkit-transform: translateX(0) scale(1); transform: translateX(0) scale(1); }
}

.mi-slider ul:first-child li:first-child {
	-webkit-animation-delay: 90ms;
	animation-delay: 90ms;
}

.mi-slider ul:first-child li:nth-child(2) {
	-webkit-animation-delay: 180ms;
	animation-delay: 180ms;
}

.mi-slider ul:first-child li:nth-child(3) {
	-webkit-animation-delay: 270ms;
	animation-delay: 270ms;
}

.mi-slider ul:first-child li:nth-child(4) {
	-webkit-animation-delay: 360ms;
	animation-delay: 360ms;
}

/* moveFromRight */

.mi-slider ul.mi-moveFromRight li {
	-webkit-animation: moveFromRight 350ms ease-in-out both;
	animation: moveFromRight 350ms ease-in-out both;
}

/* moveFromLeft */

.mi-slider ul.mi-moveFromLeft li {
	-webkit-animation: moveFromLeft 350ms ease-in-out both;
	animation: moveFromLeft 350ms ease-in-out both;
}

/* moveToRight */

.mi-slider ul.mi-moveToRight li {
	-webkit-animation: moveToRight 350ms ease-in-out both;
	animation: moveToRight 350ms ease-in-out both;
}

/* moveToLeft */

.mi-slider ul.mi-moveToLeft li {
	-webkit-animation: moveToLeft 350ms ease-in-out both;
	animation: moveToLeft 350ms ease-in-out both;
}

/* Animation Delays */

.mi-slider ul.mi-moveToLeft li:first-child,
.mi-slider ul.mi-moveFromRight li:first-child,
.mi-slider ul.mi-moveToRight li:nth-child(4),
.mi-slider ul.mi-moveFromLeft li:nth-child(4) {
	-webkit-animation-delay: 0ms;
	animation-delay: 0ms;
}

.mi-slider ul.mi-moveToLeft li:nth-child(2),
.mi-slider ul.mi-moveFromRight li:nth-child(2),
.mi-slider ul.mi-moveToRight li:nth-child(3),
.mi-slider ul.mi-moveFromLeft li:nth-child(3) {
	-webkit-animation-delay: 90ms;
	animation-delay: 90ms;
}

.mi-slider ul.mi-moveToLeft li:nth-child(3),
.mi-slider ul.mi-moveFromRight li:nth-child(3),
.mi-slider ul.mi-moveToRight li:nth-child(2),
.mi-slider ul.mi-moveFromLeft li:nth-child(2) {
	-webkit-animation-delay: 180ms;
	animation-delay: 180ms;
}

.mi-slider ul.mi-moveToLeft li:nth-child(4),
.mi-slider ul.mi-moveFromRight li:nth-child(4),
.mi-slider ul.mi-moveToRight li:first-child,
.mi-slider ul.mi-moveFromLeft li:first-child  {
	-webkit-animation-delay: 270ms;
	animation-delay: 270ms;
}

/* Animations */

@-webkit-keyframes moveFromRight {
	0% { -webkit-transform: translateX(600%); }
	100% { -webkit-transform: translateX(0%); }
}

@-webkit-keyframes moveFromLeft {
	0% { -webkit-transform: translateX(-600%); }
	100% { -webkit-transform: translateX(0%); }
}

@-webkit-keyframes moveToRight {
	0% { -webkit-transform: translateX(0%); }
	100% { -webkit-transform: translateX(600%); }
}

@-webkit-keyframes moveToLeft {
	0% { -webkit-transform: translateX(0%); }
	100% { -webkit-transform: translateX(-600%); }
}

@keyframes moveFromRight {
	0% { -webkit-transform: translateX(600%); transform: translateX(600%); }
	100% { -webkit-transform: translateX(0); transform: translateX(0); }
}

@keyframes moveFromLeft {
	0% { -webkit-transform: translateX(-600%); transform: translateX(-600%); }
	100% { -webkit-transform: translateX(0); transform: translateX(0); }
}

@keyframes moveToRight {
	0% { -webkit-transform: translateX(0%); transform: translateX(0%); }
	100% { -webkit-transform: translateX(600%); transform: translateX(600%); }
}

@keyframes moveToLeft {
	0% { -webkit-transform: translateX(0%); transform: translateX(0%); }
	100% { -webkit-transform: translateX(-600%); transform: translateX(-600%); }
}

.mi-slider {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

/* Media Queries */
@media screen and (max-width: 910px){
	.mi-slider nav {
		max-width: 90%;
	}
	.mi-slider nav span {
		font-size: 12px;
		padding: 40px 10px 30px 14px;
	}
}

@media screen and (max-width: 740px){
	.mi-slider {
		height: 300px;
	}
	.mi-slider nav {
		top: 220px;
	}
}

@media screen and (max-width: 490px){ 
	.mi-slider {
		text-align: center;
	}

	.mi-slider ul {
		position: relative;
		display: inline;
		bottom: auto;
		pointer-events: auto;
	}

	.mi-slider ul li {
		-webkit-animation: none !important;
		animation: none !important;
		-webkit-transform: translateX(0) !important;
		transform: translateX(0) !important;
		padding: 10px 3px;
		min-width: 140px;
	}
    


	.mi-slider nav {
		display: none;
	}
}

    .mi-slider ul li h1 {
		font-size: 3em;
	}

@media screen and (max-height: 545px){
	.logo > img {
		max-height: 250px;
		width: auto !important;
	}
}
@media screen and (max-height: 425px){
	.logo > img {
		max-height: 145px;
		width: auto !important;
	}
}		

.studio blockquote {
	display: none;
	text-align: center;
}
.whitelayer {
	width: 100%;
	height: 100%;
	background: #fff;
	position: fixed;
	top:0px;
	left:0px;
	bottom:0px;
	right:0px;
	z-index:10000;
	display:block;
}