
/* Comuni */

.full-h {
	height: 100vh;
}

.half-w {
	width: 50vh;
}

.full {
	min-height: 100vh;
	min-width: 100%;
}

.cover {
	background-size: cover;
}

.contain {
	background-size: contain;
	background-repeat: no-repeat;
}

.editorial-container-s {
	width: 70%;
	min-height: 75%;
	margin: 0 auto;
	margin-top: 50px;		
}

.editorial-container {
	width: 70%;
	height: 90%;
	margin: 0 auto;
}

.editorial-container-m {
	width: 70%;
	height: 80vh;
}

.editoriale-container-xs {
	max-width: 50%;
}

.editoriale-container-xxs {
	max-width: 30%;
}

.cursive {
	font-family: 'Pacifico', cursive;
	font-weight: 100;
	font-size: 52pt;
}

.cursive-img {
	display: inline-block;
	background-size: contain;
	background-repeat: no-repeat;
	height: 115px;
	width: 130px;
	top: 25px;
	background-position: center;
}

.half-h {
	height: 50vh;
}

.column {
	flex-direction: column;
}

.rel {
	position: relative;
}

.heading {
	display: block;
	text-align: center;
	padding: 20px 0px;
	font-size: 12pt;
	z-index: 1;
}

.heading-big {
	display: block;
	text-align: center;
	padding: 20px 0px;
	font-size: 68pt;
	z-index: 1;
}

.heading img {
	max-width: 100%;
}

.heading h2 {
	font-size: 34pt;
	margin-bottom: 0px;
}

.heading span {
	font-size: 18pt;
}

.flex-container {
	display: flex;
}

.bordo {
	border: 10px solid #fff;
}

.flex {
	flex: 1;
}

.container-el {
	padding: 100px 0px;
}

.text-container {
	width: 50%;
	margin: 0 auto;
}

.container-video-v {
	/*padding-top: 44.85%;*/
	position:relative;
}

.linebelow {
	margin-bottom: 50px;
}

.linebelow:after {
	content: "";
	display: block;
	width: 100px;
	background: #000;
	height: 3px;
	position: relative;
	top: 20px;
	left: 50%;
	transform: translateX(-50%);
}

.zoom-bg {
	width: 100%;
	height: 100%;
	transition: all 1s;
}

.vertical-line {
	position: relative;
	text-transform: uppercase;
	letter-spacing: 2pt;
}

.vertical-line:after {
	content: "";
	position: absolute;
	display: block;
	width: 2px;
	background: #000;
	height: 70px;
	left: 50%;
	transform: translateX(-50%);
	top: 50px;
	z-index: 2;
}

.text {
	text-align: center;
	margin: 0 auto;
}

.text h2 {
	text-transform: uppercase;
	letter-spacing: 2pt;
}

.text p {
	line-height: 28pt;
}

/* Animazioni */

.ani {
	transition: all 1s;
}

.hidden-x {
	overflow: hidden;
}

.shaky {
	position: relative;
	width: 100%;
	height: 100vh;

	background-size: cover;
}

.shaky:before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;

	background-size: cover;
	opacity: 0.5;
	animation: animate 0.2s infinite;
}

@keyframes animate {
	0% {
		background-position: 0 0;
		filter: hue-rotate(0deg);
	}

	10% {
		background-position: 4px 0;
	}

	20% {
		background-position: -4px 0;
	}

	30% {
		background-position: 8px 0;
	}

	40% {
		background-position: -10px 0;
	}

	50% {
		background-position: -12px 0;
	}

	60% {
		background-position: -15px 0;
	}

	70% {
		background-position: 0 22px;
	}

	80% {
		background-position: -40px -10px;
	}

	100% {
		background-position: 0 0;
		filter: hue-rotate(360deg);
	}
}

.text-l {
	font-size: 28pt;
    line-height: 56pt;
    text-align: center;
}

/* Block 1 */

.block-1 .rel,
.block-1 .abs {
	height: 100%;
	min-height: 90vh;
}

.block-1 .editorial-container {
	border: 10px solid #fff;
}

.img-container {
	overflow: hidden;
}

/* Block 2 */

.block-2-images {
	left: 25%;
	position: absolute;
	top: 50%;
	transform: translate(-25%,-50%);
	width: 50%;
	height: 60%;
}

.block-2 .flex {
	height: 100%;
	margin-right: 30px;
}

/* Block 3 */

.block-3 {
	margin: 50px 0px;
	justify-content: space-between;
}

.block-3 div {
	width: 45%;
}

/* Block miniature */

.block-miniature {
	width: 80%;
	height: 50%;
}

.block-miniature div {
	height: 100%;
	margin: 20px;
	background-color: #f4f4f4;
}

.center-text {
	text-align: center;
}

.center-text h2 {
	margin-bottom: 0px;
}

.bms {
	width: 90%;
    margin: 0 auto;
}

/* Carosello */

.carosello-container {
	width: 100%;
	overflow: hidden;
}

.controls {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 100%;
}

.inner-slide-full {
	width: 100%;
	height: 100%;
	display: block;
}

.controls img {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%,-50%);
	max-width: 12px;
}

.carosello .slide img {
	max-width: 90%;
}

.prev,
.next {
	background: #fff;
	border-radius: 50px;
	width: 30px;
	height: 30px;
	position: absolute;
	border: 1px solid #ccc;
	font-weight: bold;
	cursor: pointer;
}

.prev {
	left: 10%;
}

.next {
	right: 10%;
}

.carosello .slide h3,
.carosello .slide h4 {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
}

.singolo .inner-slide {
	box-shadow: none;
	border: 0px;
	height: 80%;
}

.carosello-outer .carosello-container {
	height: calc(100vh - 400px);
}

.carosello-outer {
	margin: 200px;
	transition: all .2s;
}

.inner-slide {
	display: block;
	border: 1px solid #8492a8;
	width: 60%;
	height: 90%;
	background: rgb(244,244,244);
	box-shadow:
	inset 0 0 0 4px #fff,
	inset 0 0 0 8px #fff,
	inset 0 0 0 12px #fff,
	inset 0 0 0 16px #fff,
	inset 0 0 0 20px #fff,
	inset 0 0 0 20px #fff,
	inset 0 0 0 20px #fff;
}

.carosello .slide h4 {
	bottom: 30px;
	font-style: oblique;
	font-size: 12pt;
}

.carosello .slide h4 span {
	font-weight: bold;
	font-size: 14pt;
}

.carosello .slide h3 {
	bottom: 70px;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 1pt;
	width: 100%;
}

.carosello .slide {
	width: 100%;
	height: 100%;
	flex: 1;
	text-align: center;
}

.carosello .carosello-inner {
	width: 300%;
	height: 100%;
}

/* Block 5 */

.block-5 .flex-container {
	height: 50vh;
}

.block-5 .flex {
	height: 100%;
	transition: all .2s;
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}

.prima-riga .flex:nth-child(odd),
.seconda-riga .flex:nth-child(even) {
	background-color: #f4f4f4;	
}

.prima-riga .flex:nth-child(odd):hover,
.seconda-riga .flex:nth-child(even):hover {
	flex: 2;
}

.prima-riga .flex:nth-child(odd):hover .block-5-text,
.seconda-riga .flex:nth-child(even):hover .block-5-text {
	color: #000;
}

.block-5-text {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	width: 100%;
	text-align: center;
	transition: all .5s;
	color: #f4f4f4;
}

.block-5-text h2 {
	margin-bottom: 5px;
}

/* Block 6 */

@import url('https://fonts.googleapis.com/css?family=Caveat|Permanent+Marker&display=swap');

.permanent-marker {
	font-family: 'Permanent Marker', cursive;	
}

.block-6 {
	font-size: 38pt;
}

.block-6 .abs {
	width: 30%;
	height: 80%;
}

.block-6 .rel {
	height: 100%;
}

.block-6 h3 {
	text-transform: uppercase;
	letter-spacing: 2pt;
	display: block;
	font-size: 11pt;
	text-align: center;
	background: #fff;
	padding: 20px;
	position: absolute;
	bottom: 0px;
	left: 50%;
	transform: translateX(-50%);
}

.vertical-text {
	left: -25%;
	top: 15%;
	transform: rotate(93deg);
	white-space: nowrap;
}

.vertical-text-2 {
	right: -15%;
	bottom: 15%;
	transform: rotate(-95deg);
}

.vertical-text,
.vertical-text-2,
.heading-marker {
	position: absolute;
	background: #ffff;
	text-transform: uppercase;
}

.heading-marker {
	font-size: 32pt;
}

#marker-1 {
	transform: rotate(-3deg);
	left: -5%;
	top: -5%;
}

#marker-2 {
	transform: rotate(-1deg);
	bottom: -5%;
	right: -5%;
}

#marker-3 {
	transform: rotate(3deg);
	bottom: 0%;
	right: -10%;
}

.marker-container {
	z-index: 9
}

/* Block 7 */

.block-7 {
	text-align: center;
}

.block-7 p {
	font-size: 14pt;
}

.block-7 a {
	display: table;
	margin: 20px auto;
}

.block-7 .flex-container {
	flex-direction: column;
}

/* Esclusivo */

.esclusivo {
	color: #fff;
	width: calc(100% - 20px);
	text-transform: uppercase;
	text-align: center;
	padding: 10px;
	background: linear-gradient(-45deg, #e9c9b9, #EBBE9B, #FEB9A3, #FEA684);
	background-size: 400% 400%;
	animation: gradientBG 10s ease infinite;
}

@keyframes gradientBG {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

.esclusivo div {
	margin: 20px;
	border: 1px solid #fff;
	padding: 10px;
}

.esclusivo a {
	color: #fff;
}
/* Block 8 */

.block-8-l {
	width: 70%;
}

/* block-9 */

.block-9 {
	width: 100%;
	position: relative;
}

.block-9 .container-editoriale {
	height: 100vh;
}

#jeans {
	background-image: url(images/editorial/BLOCCO-ECO-12.jpg?$staticlink$);
}

#jeans-video {
	background-image: url(images/editorial/BLOCCO-ECO-16.jpg?$staticlink$);
}

#jeans-video-2 {
	background-image: url(https://media.giphy.com/media/XAe9aDBIv3arS/giphy.gif);
}

#denim {
	background-image: url(images/editorial/BLOCCO-ECO-15.jpg?$staticlink$);
}

#denim-video {
	background-image: url(images/editorial/BLOCCO-ECO-17.jpg?$staticlink$);
}

.block-9-pic {
	width: 30%;
	height: 80%;
	background-size: cover;
	background-repeat: no-repeat;
	position: absolute;
	left: 35%;
	top: 50%;
	transform: translate(-35%, -50%);
}

.block-9-pic-s {
	width: 20%;
	height: 50%;
	background-size: cover;
	background-repeat: no-repeat;
	position: absolute;
	background-position: center;
	right: 30%;
	top: 65%;
}

.eco-acquista-2 {
	width: 30%;
	height: auto;
	position: absolute;
	left: 22%;
	bottom: 20%;
	transform: translateX(-15%);
}

.eco-acquista {
	width: 30%;
	height: auto;
	position: absolute;
	right: 4%;
	bottom: 20%;
	transform: translateX(-15%);
}

.block-pic {
	background-repeat: no-repeat;
	position: absolute;
	transition: all .2s;
}

div#scritta-1 {
	position: absolute;
	z-index: 1;
	right: 50px;
	width: 50%;
	height: 100px;
	top: 15%;
}

div#scritta-2 {
	position: absolute;
	z-index: 1;
	left: 50px;
	width: 50%;
	height: 100px;
	bottom: 10%;
}

div#scritta-4 {
	position: absolute;
	z-index: 1;
	right: 150px;
	width: 30%;
	height: 100px;
	bottom: 15%;
}

div#scritta-3 {
	position: absolute;
	z-index: 1;
	left: -50px;
	width: 50%;
	height: 100px;
	top: 12%;
}

/* Block 11 */

.block-11-el {
	margin: 100px;
}

.block-11 .flex {
	background-size: cover
}

/* Block 13 */

.block-13-text p {
	font-size: 16pt;
    line-height: 28pt;
}

/* Blocco testo */

.blocco-testo {
	text-align: center;
	margin-bottom: 100px;
}

.blocco-testo h2 {
	font-size: 42pt;
	margin-bottom: 50px;
}

.blocco-testo p {
	font-size: 14pt;
	line-height: 24pt;
}

/* Blocco 19 */

.block-19 .editorial-container,
.block-19-img {
	min-height: 80vh;
}

.block-19-img {
	width: 80%;
	background-position: left;
	background-repeat: no-repeat;
	background-color: #f4f4f4;
	height: 100%;
}

/* Blocco 20 */

.block-20 {
	/*min-height: 400vh;*/
}

.block-20 .flex {
	margin: 50px;
	cursor: pointer;
}

.block-20 img {
	max-width: 100%;
}

.overlay {
	width: 100%;
	height: 100%;
	background: rgb(0,0,0,0.7);
	color: #fff;
	transition: all .5s;
	opacity: 0;
}

.overlay:hover {
	opacity: 1;
}

.overlay > * {
	transition: all .5s;
}

.overlay h2 {
	text-transform: uppercase;
}

.overlay:hover h2:after {
	width: 100%;
}

.overlay h2:after {
	content: "";
	width: 0%;
	display: block;
	background: #fff;
	height: 3px;
	left: 50%;
	transform: translateX(-50%);
	position: absolute;
	transition: all .8s;
}

.overlay-price {
	position: absolute;
	left: 20px;
	bottom: 20px;
	font-size: 12pt;
}

.overlay-category {
	position: absolute;
	right: 20px;
	top: 20px;
	font-size: 12pt;
}

/* Block 21 */

.block-21 div {
	position: absolute;
	transition: all .8s;
}

.block-21 img {
	max-width: 100%;
	border: 1px solid #ccc;
}

.block-21-1 {
	left: 15%;
	top: 0%;
	width: 50%;
}

.block-21-2 {
	right: 10%;
	top: 20%;
	width: 30%;
}

.block-21-3 {
	left: 20%;
	top: 50%;
	width: 30%;
}

.block-21-4 {
	right: 15%;
	top: 100%;
	width: 30%;
}

.block-21-5 {
	left: 10%;
	top: 110%;
	width: 20%;
}

/* Block 22 */

.block-22 img {
	max-width: 100%;
}

.container-22 {
	flex-direction: column;
	/*transition: all 1s;*/
  	/*transition-timing-function: cubic-bezier(0.1, 0.2, 0.5, 0.1);*/
  	overflow: hidden;
}

.container-22 .flex {
	margin: 100px;
	min-height: 100vh;
}

.scroll-1,
.scroll-2 {
	transition: all 1.5s;
	/*transition: all 5s;*/
}

.scroll-2 {
/*	transform: translateY(-200vh);
	position: absolute;
    width: 50%;
    right: 0;*/
    /*transition-timing-function: cubic-bezier(0.1, 0.2, 0.3, 0.1);*/
    /*transition-timing-function: cubic-bezier(0.1, 0.2, 0.5, 0.1);*/
}

.scroll-2 .flex {
	/*position: absolute;*/
}

/* Block 23 */
.block-23-upper {
	margin-top: -100px;
	padding: 30px;
}

.block-23-text {
	background: #E3DBD3;
	font-size: 24pt;
	line-height: 32pt;
	padding: 50px;
	margin-top: 30px;
	text-align: center;
}

/* Spazi */

.padding-50 {
	padding-bottom: 50px;
}

.margin-100 {
	margin-bottom: 100px;
}

/* Small img */

.small-img {
	width: 400px;
	height: 400px;
	overflow: hidden;
	transition: all 1s;
}

.small-img img {
	width: 90%;	
}

/* Blocco */

.block-12-container {
	flex-direction: column;
}

.el-12-img {
	min-height: 600px;
}

.scroll-text {
	overflow: hidden;
	text-align: center;
}

.scoll-text-img {
	height: 80vh;
	background-size: cover;
	overflow: hidden;
}

.scroll-container {
	overflow: hidden;
	z-index: 1;
	height: 80vh;
	width: 100vh;
}

.opposite-scroll {
	margin-top: 200px;
}

/* Mobile only */

@media screen and (max-width: 797px) {

	.flex-container {
		flex-direction: column;
	}

	.hero-image {
		min-height: 40vh;
	}

	.column-m {
		flex-direction: column;
	}

	.reverse {
		flex-direction: column-reverse!important;
	}

	.text-container {
		width: 90%;
	}

	.text-container.abs {
		position: unset;
		transform: translate(0);
		margin: 0 auto;
	}

	.margin-50m {
		margin-bottom: 50px;
	}

	.block-2 .flex {
		margin-right: 0px;
		margin-bottom: 20px;
	}

	.block-3 div {
		width: 100%;
		margin-bottom: 20px;
	}

	.block-2-images {
		width: 90%;
		left: 50%;
		transform: translate(-50%,-50%);
	}

	.editorial-container {
		width: 90%;
	}

	.cover {
		background-position: center;
	}

	.container-el {
		padding-top: 10px;
		padding-bottom: 50px;
	}

	.block-1 .rel, .block-1 .abs {
		min-height: 300px;
	}

	.block-1.full {
		min-height: auto;
	}

	.block-4.full {
		min-height: auto;
	}

	.block-4 .carosello,
	.carosello-container {
		min-height: 400px;
	}

	.carosello-inner.flex-container {
		flex-direction: row;
		min-height: 350px;
	}

	.block-4 .carosello .slide {
		min-height: 400px;
	}

	.block-3 {
		margin: 0px;
	}

	.block-6 .abs {
		width: 95%;
		height: 70%;
	}

	.vertical-text {
		left: -67%;
		top: 30%;
		transform: rotate(90deg);
	}

	.vertical-text-2 {
		position: absolute;
		right: -69%;
		bottom: 33%;
	}

	.block-6 .full {
		height: auto;
	}

	.block-6 h3 {
		width: 70%;
	}

	.block-7 .flex {
		min-height: 400px;
	}

	.block-9-pic,
	.block-9-pic-2 {
		width: 100%;
	}

	div#scritta-1 {
		right: 0px;
		width: 100%;
		top: 0px;
	}

	.block-9-pic-s,
	.block-9-pic-s-2 {
		display: none;
	}

	div#scritta-3 {
		width: 100%;
		left: 0px;
		top: 0px;
	}

	.flex-container {
		min-height: 100vh;
		width: 100%;
	}

	.block-9.full-heigth {
		height: 70vh;
	}

	.editoriale-container-xxs {
		max-width: 80%;
	}

	.block-2-images {
		display: none;
	}

	.block-2 {
		background-position: right;
	}

	.full-h {
		min-height: 500px;
	}

	.block-5 .flex-container .flex {
		flex: 1;
		margin-bottom: 10px;
	}

	.block-5 .flex-container div.flex {
		display: none;
	}

	.block-5 .flex-container {
		flex-direction: column;
	}

	.block-5-text {
		color: #000;
	}

	.heading-big {
		font-size: 38pt;
	}

	.full {
		min-height: 80vh;
	}

	.heading-marker {
		display: none;
	}

	.block-11-el {
		margin: 10px 0px;
		min-height: 80vh;
	}

	.scoll-text-img {
		width: 90%;
		margin: 0 auto;
	}

	.block-19-img {
		margin-top: 30px;
		width: 100%;
	}

	.block-19 .editorial-container, .block-19-img {
    	min-height: 300px;
	}

	.margin-100 {
		margin-bottom: 30px;
	}

	.block-20 .editorial-container-s {
		margin-top: 0px;
	}

	.block-20 .flex {
    	margin: 15px 50px;
    	max-height: 350px;
    	overflow: hidden;
	}

	.block-20 .flex-container {
		flex-direction: row;
	}

	#editoriale-2 {
		display: none;
	}

	.small-img img {
		width: 100%;
	}

}

/* Desktop only */
@media screen and (min-width: 798px) {

	.fixed {
		background-attachment: fixed;
	}

	.slideLeft {
		transform: translateX(-100%);
	}

	.slideRight {
		transform: translateX(100%);
	}

	.slideLeft-active {
		transform: translateX(0%);
	}

	.slideRight-active {
		transform: translateX(0%);
	}

	.slideEl {
		opacity: 0;
		transform: translateY(200px);
		transition: all .8s;
	}

	.slideEl-abs {
		opacity: 0;
		transform: translate(-50%,200px);
		transition: all .8s;
	}

	.slideTop {
		transform: translateY(0%)!important;
		opacity: 1!important;
	}

	.abs {
		position: absolute;
		left: 50%;
		transform: translate(-50%,-50%);
		top: 50%;
	}

	.slideEl-abs-active {
		transform: translate(-50%,-50%)!important;
		opacity: 1!important;
	}

	.zoomIn {
		transform: scale(1.1);
	}

	.scoll-text-img {
		width: 30%;
	}

	.block-min-title {
		position: absolute;
		left: 50%;
		transform: translateX(-50%);
		bottom: 15%;
	}

	.block-19-text {
		position: absolute;
		top: 50%;
		transform: translateY(-50%);
		width: 30%;
		right: 0;
	}

	.block-19-text p {
		line-height: 24pt;
	}

	.block-19-text h2 {
		font-size: 56pt;
		margin-left: -70px;
	}

	.big-img {
		width: 90%;
		height: 90%;
	}

}

/* Mobile e Tablet */
@media (max-width: 1025px) {

	.vertical-text {
		transform: rotate(1deg) translateX(-50%);
		left: 50%!important;
		font-size: 21pt;
		top: -5%;
	}

	.vertical-text-2 {
		transform: rotate(-1deg) translateX(-50%);
		left: 50%!important;
		font-size: 21pt;
		bottom: 85%;
		text-align: center
	}

	.esclusivo h2 {
		font-size: 18pt;
		max-width: 90%;
		margin: 0 auto;
	}

}

/* Small Desktops */
@media (max-width:1300px) and (min-width:798px) and (orientation: landscape) {

	.editoriale-container-xxs {
		max-width: 80%;
	}

	.block-2-images {
		height: 40%;
	}

	.block-1 .rel, .block-1 .abs {
		height: 100%;
		min-height: 60vh;
	}

}

/* Tablet, Ipad e IpadPro */
@media (max-width:1025px) and (min-width:768px) and (orientation: portrait) {

	.full,
	.full-h {
		min-height: 50vh;
	}

	.block-3 .full-h {
		height: 50vh;
	}

	.block-5 .flex-container {
		height: 20vh;
	}

	.block-1 .abs,
	.block-1 .rel {
		min-height: 500px;
	}

	.row-tablet {
		flex-direction: row;
	}

	.editoriale-container-xxs {
		max-width: 60%;
	}

	.block-2-images {
		height: 50%;
	}

	.block-5.full {
		min-height: 40vh;
	}

	.block-5-text {
		color: #000;
	}

	.block-5-text h2 {
		font-size: 12pt;
	}

	.block-5-text span {
		font-size: 10pt;
	}

	.heading-marker {
		font-size: 18pt;
	}

	#marker-2 {
		bottom: -10%;
	}

	.block-6 .abs {
		width: 40%;
	}

	.editorial-container {
		width: 90%;
	}

	.block-11-el {
		margin: 30px;
	}

	.block-20 .flex {
		margin: 10px;
	}

	.block-20 .flex-container {
		min-height: 25vh;
	}

	.scoll-text-img {
    	width: 60%;
	}

	.scroll-text.full {
    	min-height: 70vh;
    	margin: 30px 0px;
	}

	.block-19 .editorial-container, .block-19-img {
    	min-height: 40vh;
	}

	.block-19-text {
		width: 50%;
	}

	.scoll-text-img {
		height: 70vh;
	}

	#editoriale-2 {
		display: none;
	}

}