/* =============================================================================
  FONTS
============================================================================= */

@font-face {
    font-family: 'Avalon-Light';
    src: url(../fonts/Avalon-XLight.otf);
	src: url(../fonts/Avalon-XLight.ttf);
}

@font-face {
    font-family: 'Avalon-Book';
    src: url(../fonts/Avalon-Book.otf);
	src: url(../fonts/Avalon-Book.ttf);
}

@font-face {
    font-family: 'AvantGarde-Book';
    src: url(../fonts/AvantGarde-Book.otf);
	src: url(../fonts/AvantGarde-Book.ttf);
}
/* =============================================================================
  RESETS
============================================================================= */

html,
body,
div,
h1,
p,
a,
video {
  margin: 0;
  padding: 0;
}

/* =============================================================================
  HTML, BODY
============================================================================= */

html, body {
  /*background: #000 url('../img/background-image.png');
  background-attachment:fixed;
  background-size:cover;*/
  /*overflow-y:scroll;
  overflow-x:hidden;*/
  background: #000;
  /* overflow: hidden; */
  width:100%;
  height: auto !important;
}

body {
  font-family: 'Raleway', sans-serif;
  font-weight:100;
}

/* =============================================================================
  STRUCTURE
============================================================================= */

.content-page {
	position:relative;
	/*height:100%;*/
	width:100%;
}

#bg-hover {
	background:url('../img/sfumatura.png');
	background-size:cover;
	position: fixed;
	z-index: 0;
	height: 100%;
	width: 100%;
	opacity:0;
}

.container_top_border {
	position:relative;
	margin-left: 12%;
	width: 100%;
	height: 38%;
}

.container_down_border {
	position:relative;
	margin-left: 12%;
	width: 100%;
	height: 62%;
}

.container_top_border#mappa {
	position:relative;
	margin-left: 12%;
	width: 88%;
	height: 122px;
}

.container_down_border#mappa {
	position:relative;
	margin-left:0;
	width: 100%;
	height: 50%;
}

/* =============================================================================
  CONTENT INTRO
============================================================================= */

#intro {
	/*position:relative;*/
	width:100%;
	/*height:100%;*/
}


.content-wrap {
    position:relative;
    left: 12%;
    height: 100%;
    bottom: 70px;
}

.content-up {
  position: absolute;
  z-index: 999999;
  width: 740px;
  height: 400px;
  overflow: hidden;
  bottom: 0;
  /* left: 12%; */
}

.bottom-background {
	position: absolute;
	background-image: url('../img/background-bottom.png');
	width: 100%;
	height: 192px;
	/* left:12%; */
	bottom: -122px;
	opacity: 1;
	z-index: 0;
}

.border-down {
  width: 0;
  height: 1px;
  position: absolute;
  left: 0%;
  z-index: 3;
  bottom: 70px;
  background-color: #73848e;
}

.border-left {
  height: 0;
  width: 2px;
  position: absolute;
  left: 12%;
  z-index: 3;
  top: calc(30% + 67px);
  background-image:url('../img/background-border.png');
}

/*.logo_axis {
	position:absolute;
	background:url('../img/logo_axis.png') no-repeat;
	opacity: 0;
	bottom: 44.6%;
	left: -83px;
	width:332px;
	height:129px;
}*/

.logo_axis {
    position:absolute;
    background:url("../img/spritesheet-logo.png") no-repeat;
    left: -89px;
    bottom: calc(70% - 137px);
    /* top: 0; */
    margin: auto;
    height:137px;
    width:354px;
}

.logo_axis.animated {
    -webkit-animation: play 1.5s steps(72) forwards;
	-moz-animation: play 1.5s steps(72) forwards;
	-ms-animation: play 1.5s steps(72) forwards;
	-o-animation: play 1.5s steps(72) forwards;
	animation: play 1.5s steps(72) forwards;
}

@-webkit-keyframes play {
	from {
		background-position: 0;
	}

	to {
		background-position: -25488px;
	}
}

@-moz-keyframes play {
	from {
		background-position: 0;
	}

	to {
		background-position: -25488px;
	}
}

@-ms-keyframes play {
	from {
		background-position: 0;
	}

	to {
		background-position: -25488px;
	}
}

@keyframes play {
	from {
		background-position: 0;
	}

	to {
		background-position: -25488px;
	}
}

.testo {
    font-size: 93px;
    color: #F6FCFC;
    text-align:left;
    line-height: 85px;
    padding-left: 5px;
    opacity: 0.7;
    left: -500px;
}

.riga-1 {
    position: absolute;
    top: 180px;
    opacity: 0;
    transition: all 0.75s ease;
}

.riga-2 {
    position: absolute;
    top: 249px;
    opacity: 0;
    transition: all 0.75s ease;
}

.riga-3 {
    position: absolute;
    top: 320px;
    opacity: 0;
    transition: all 0.75s ease;
}

.content-down {
  position: relative;
  max-width: 1120px;
  /* left: 12%; */
  /* top: 145px; */
  overflow: hidden;
  height: 40px;
  top: 100%;
  z-index: 5;
  pointer-events: none; /* MK.ADDED */
}

.dida {
	font-family: 'AvantGarde-Book';
	font-size: 18px;
	padding-left: 1%;
	color: rgb(242, 242, 242);
	letter-spacing: 14px;
	top: -40px;
	position: absolute;
	font-weight: 600;
}

.dida#contact-us {
	font-family: 'AvantGarde-Book';
	font-size: 18px;
	padding-left: 1%;
	color: rgb(242, 242, 242);
	letter-spacing: 14px;
	top: -65px;
	position: absolute;
	font-weight: 600;
	opacity: 0;
}

/* =============================================================================
  CONTENT SOLUTIONS
============================================================================= */

.logo_axis_testo_1 {
	position: absolute;
	background:url('../img/logo_axis_testo.png');
	margin-top: 2%;
	left: -78px;
	width:294px;
	height:16px;
	opacity:0;
}

#martello {
	position:absolute;
	background:url('../img/martello.png');
	right: -165px;
	width: 834px;
	height: 497px;
	z-index: 6;
	top: -200px;
	transform: rotate(110deg);
	transform-origin: right;
	opacity:1;
	/*-webkit-transition-timing-function: ease-in;
    transition-timing-function: ease-in;*/
}

#chiodo-1 {
	position:absolute;
	background:url('../img/chiodo1.png');
	width:22px;
	height:75px;
	z-index:4;
	bottom: 0;
	right: 570px;
}

#chiodo-2 {
	position:absolute;
	background:url('../img/chiodo2.png');
	width:35px;
	height:134px;
	z-index:4;
	bottom: 0;
	right: 475px;
}

#chiodo-3 {
	position:absolute;
	background:url('../img/chiodo3.png');
	width:25px;
	height:117px;
	z-index:4;
	bottom: 0;
	right: 360px;
}

.border-down_solutions {
  width: 100%;
  height: 1px;
  position: absolute;
  left: 0%;
  z-index: 3;
  top: 121px;
  background-color: #73848e;
}

#titolo_solutions {
	font-family: "Avalon-Light", sans-serif;
	font-size: 48px;
	line-height:40px;
	width: 320px;
	position:absolute;
	bottom: 10px;
	left: 1%;
	color: white;
	opacity:0;
}

#sottotitolo_solutions {
	font-family: "Avalon-Book", sans-serif;
	font-size: 14px;
	line-height:17px;
	width: 390px;
	position:absolute;
	top: 20px;
	left: 1%;
	color: #73848e;
	opacity:0;
}

#logo_axis_solutions {
	position:absolute;
	background:url('../img/logo_axis_solutions.png');
	left: 120px;
	top: 100px;
	width:129px;
	height:108px;
	/* display: none; */
}

#solutions_1 {
	position:absolute;
	background:url('../img/solutions_1.png');
	width: 24px;
	height: 43px;
	top: 51px;
	left: 26px;
	opacity:0;
}

#solutions_2 {
	position:absolute;
	background:url('../img/solutions_2.png');
	height: 108px;
	width: 48px;
	top: 2px;
	left: 44px;
	opacity:0;
}

#solutions_3 {
	position:absolute;
	background:url('../img/solutions_3.png');
	height: 25px;
	width: 60px;
	top: 40px;
	opacity:0;
}

#solutions_4 {
	position:absolute;
	background:url('../img/solutions_4.png');
	width: 56px;
	height: 25px;
	top: 25px;
	left: 72px;
	opacity:0;
}

#solutions_5 {
	position:absolute;
	background:url('../img/solutions_5.png');
	width: 85px;
	height: 85px;
	top: 12px;
	left: 13px;
	opacity:0;
}

#solutions_testo {
	font-family: "Avalon-Book", sans-serif;
	font-size: 14px;
	line-height:17px;
	width: 420px;
	position:absolute;
	color: #73848e;
	opacity: 1;
	top: 230px;
	left: 1%;
	font-weight:bold;
}

	#solutions_testo .titolo {
		font-family: "Avalon-Light", sans-serif;
		color:white;
	}

	#solutions_testo .solutions_testi {
		position:absolute;
		opacity:0;
	}


/* =============================================================================
  CONTENT BREAK TWO
============================================================================= */

.border-left-skrollr-break_one#mappa {
  height: 0;
  width: 1px;
  position: absolute;
  margin-left: 12%;
  z-index: 3;
  top: 0%;
  background-color: #73848e;
  opacity: 0.9;
}

/* =============================================================================
  CONTENT CLIENTS
============================================================================= */

.logo_axis_testo_2 {
	position: absolute;
	background:url('../img/logo_axis_testo.png');
	margin-top: 2%;
	left: -78px;
	width:294px;
	height:16px;
	opacity:0;
}

#bullone1 {
	position:absolute;
	background:url('../img/bullone.png');
	width:93px;
	height:95px;
	z-index:4;
	left: 48%;
	bottom: -47px;
	opacity:0;
}

#bullone2 {
	position:absolute;
	background:url('../img/bullone.png');
	width:93px;
	height:95px;
	z-index:4;
	right: 30%;
	bottom: -47px;
	opacity:0;
}

#bullone3 {
	position:absolute;
	background:url('../img/bullone.png');
	width:93px;
	height:95px;
	z-index:4;
	right: 15%;
	bottom: -47px;
	opacity:0;
}

#chiave-inglese {
	position: absolute;
	background:url('../img/chiave-inglese.png');
	width: 949px;
	height: 238px;
	z-index:4;
	left: 46%;
	top: -113px;
	transform: rotate(-150deg);
	transform-origin: 8% 50%;
	opacity: 0;
}

#titolo_clienti {
	font-family: "Avalon-Light", sans-serif;
	font-size: 48px;
	line-height:40px;
	width: 380px;
	position:absolute;
	bottom: 10px;
	left: 1%;
	color: white;
	opacity:0;
}

#clienti_testo {
	font-family: "Avalon-Book", sans-serif;
	font-size: 14px;
	line-height:17px;
	width: 420px;
	position:absolute;
	color: #73848e;
	opacity: 1;
	top: 30px;
	left: 1%;
	font-weight:bold;
}

	#clienti_testo .titolo {
		font-family: "Avalon-Light", sans-serif;
		color:white;
	}

	#clienti_testo .clienti_testi {
		margin-bottom:15px;
		opacity:0;
	}

	.border-down_clients {
  width: 0;
  height: 1px;
  position: absolute;
  left: 0%;
  z-index: 3;
  top: 38%;
  background-color: #73848e;
}

/* =============================================================================
  CONTENT BREAK THREE
============================================================================= */

.border-left-skrollr-break_three {
  height: 0;
  width: 1px;
  position: absolute;
  margin-left: 12%;
  z-index: 3;
  margin-top: 0%;
  background-color: #73848e;
}

/* =============================================================================
  CONTENT ITALIANS
============================================================================= */

.logo_axis_testo_3 {
	position: absolute;
	background:url('../img/logo_axis_testo.png');
	margin-top: 2%;
	left: -78px;
	width:294px;
	height:16px;
	opacity:0;
}

.border-left-skrollr-italians {
  height: 0;
  width: 1px;
  position: absolute;
  margin-left: 12%;
  z-index: 3;
  margin-top: 0%;
  background-color: #73848e;
}

#titolo_italians {
	font-family: "Avalon-Light", sans-serif;
	font-size: 48px;
	line-height:40px;
	width: 380px;
	position:absolute;
	bottom: 10px;
	left: 1%;
	color: white;
	opacity:0;
}

#sottotitolo_italians {
	font-family: "Avalon-Book", sans-serif;
	font-size: 14px;
	line-height:17px;
	width: 390px;
	position:absolute;
	top: 20px;
	left: 1%;
	color: #73848e;
	opacity:0;
}

#contatti_italians {
	font-family: "Avalon-Book", sans-serif;
	font-size: 16px;
	line-height:17px;
	width: 88%;
	position:absolute;
	color: #73848e;
	opacity: 1;
	bottom: 45px;
	left: 1%;
	opacity: 0;
}

#contatti_italians a{
	color: #73848e;
    text-decoration:none;
}

.contatti_italians {
	margin-bottom:5px;
}

.white {
	color:white;
	/* font-weight:bold; */
}

.social {
	float: left;
	margin-top: 5px;
	margin-right: 25px;
	cursor:pointer;
}

.border-down_italians {
  width: 0;
  height: 1px;
  position: absolute;
  left: 0%;
  z-index: 3;
  top: 38%;
  background-color: #73848e;
}

/* =============================================================================
  ANIMATIONS / TRANSITIONS
============================================================================= */

* {
    transition: all 1s ease;
}

.fadeIn_videoTxt {
    opacity:0.7;
}

.fadeIn {
	opacity:1 !important;
	transition: all 1s ease;
}

.fadeOut {
    opacity:0;
    transition: all 1s ease;
}

.slideLeft {
    left:0;
}

.slideDown {
    top: 5px;
}

.heightUp {
    height: calc(70% + 55px);
    transition: all 2.5s ease;
}

.widthUp {
    width:100%;
    transition: all 3s ease;
}

 /* MARTELLO */

.slideRight_martello {
	right:-150px !important;
	transition: all 1s ease;
}

.rotate_martello {
	/* transform:rotate(10deg) !important; */
}

.pound_1 {
	transform: rotate(-15deg) !important;
    -webkit-animation-timing-function: ease-in;
	-webkit-animation-duration: .2s;
	transition: all .2s ease-in;
}

.pound_1_chiodo {
	bottom:-25px !important;
	transition: all .1s;
}

.pound_2 {
	transform:rotate(-16deg) !important;
    -webkit-animation-timing-function: ease-in;
	-webkit-animation-duration: .2s;
	transition: all .2s ease-in;
}

.pound_2_chiodo {
	bottom:-32px !important;
	transition: all .1s;
}

.pound_3 {
	transform:rotate(-18deg) !important;
    -webkit-animation-timing-function: ease-in;
	-webkit-animation-duration: .2s;
	transition: all .2s ease-in;
}

.pound_3_chiodo {
	bottom: -65px !important;
	transition: all .1s;
}

.pound_4 {
	transform:rotate(-22deg) !important;
    -webkit-animation-timing-function: ease-in;
	-webkit-animation-duration: .2s;
	transition: all .2s ease-in;
}

.pound_4_chiodo {
	bottom: -120px !important;
	transition: all .1s;
}

.pound_5 {
	transform:rotate(-24deg) !important;
    -webkit-animation-timing-function: ease-in;
	-webkit-animation-duration: .2s;
	transition: all .2s ease-in;
}

.pound_5_chiodo {
	bottom:-135px !important;
	transition: all .1s;
}

/* CHIAVE */

.rotate_chiave {
	transform: rotate(5deg) !important;
	transition: all 1.5s ease;
}

.rotate_bullone {
	transform:rotate(90deg) !important;
	transition: all 1.5s ease;
}

.screw_chiave {
	transform: rotate(45deg) !important;
	transition: all .5s ease;
}

.screw_bullone_1 {
	transform: rotate(125deg) !important;
	transition: all .5s ease;
}

.screw_bullone_2 {
	transform: rotate(165deg) !important;
	transition: all .5s ease;
}

.screw_bullone_3 {
	transform: rotate(205deg) !important;
	transition: all .5s ease;
}

.screw_bullone_4 {
	transform: rotate(245deg) !important;
	transition: all .5s ease;
}

.screw_bullone_5 {
	transform: rotate(255deg) !important;
	transition: all .5s ease;
}


/* =============================================================================
  VIDEO
============================================================================= */

#myVideo {
	    position: fixed;
	    right: 0;
	    bottom: 0;
	    top: 0;
	    right: 0;
	    width: 100%;
	    height: 100%;
	    background-size: 100% 100%;
	    background-color: black;/* in case the video doesn't fit the whole page*/
	    /*background-image: ;*/
	    background-position: center center;
	    background-size: contain;
	    -o-object-fit: cover;
	    object-fit: cover;/*cover video background */
	    z-index: 0;
	    /* display: none; */
}


/* =============================================================================
  CUSTOM
============================================================================= */

#social {
    position: absolute;
    right: 0;
    bottom: 45px;
    height: 66px;
    opacity: 0;
    /* width: 50%; */
}

#social .dati-societari{
    font-family:"Avalon-Book";
    font-size: 11px;
    color: #73848e;
    text-align: right;
    display: block;
    position: absolute;
    right: 25px;
    /* top: 40px; */
    top: 50px;
    width: 216px;
    line-height: 15px;
    letter-spacing: 1px;
}

#custom-background{
    height:100%;
    width:100%;
    position:fixed;
    top:0;
    bottom:0;
    left:0;
    right:0;
    margin:auto;
    display:none;
    min-height: 100%;
    background-repeat: no-repeat;
}

#custom-background img {
    min-height:100%;
}


@media (max-width: 736px) {

	.logo_axis {
		-moz-transform: scale(0.7);
		-ms-transform: scale(0.7);
		-o-transform: scale(0.7);
		-webkit-transform: scale(0.7);
		transform: scale(0.7);
		bottom: calc(80% - 158px);
		left: -88px;
	}

	.dati-societari {
		top:auto;
		bottom:0;
	}

	.border-left {
		left: calc(12% + 27px);
		top: calc(20% + 67px);
		width: 1.2px;
	}

	.container_top_border#mappa {
		width: calc(88% - 27px);
		margin-left:calc(12% + 27px);
	}

	.dida#contact-us {
		font-size:14px;
		letter-spacing: 4px;
		padding-left: 5px;
	}

	#contatti_italians {
		font-size: 16px;
		line-height: 16px;
		bottom: auto;
		top: -30px;
		left: 5px;
		top: 40px;
	}

	#social {
		right: auto;
		left: 5px;
		/* top: 160px; */
		top: 220px;
	}

	#social .dati-societari {
		font-size: 10px;
		right: auto;
		left: 5px;
		text-align: left;
		line-height: 11px;
	}

	.dida {
		font-size: 12px;
		letter-spacing: 4px;
		max-width: 300px;
	}

	.testo {
		font-size:36px;
		line-height: 35px;
	}

	.riga-1 {
		top:auto;
		bottom:63px;
	}

	.riga-2 {
		top:auto;
		bottom:33px;
	}

	.riga-3 {
		top:auto;
		bottom:3px;
	}

	.content-up, .content-down {
		/* width:auto; */
		left: 27px;
	}

	/* [MARIAN.ADD] */
	.bottom-background {
		position: absolute;
		background: rgb(22, 47, 55);
		background: linear-gradient(0deg, #173f4c 0%, #0d2d38 100%);
		width: 100%;
		height: 381px;
		top: calc(100% - 70px);
		opacity: 1;
		z-index: 0;
	}

	#map {
		margin-top: 190px;
	}

	.social {
		margin-left: 2px;
		height: 26px;
		margin-right: 10px;
		pointer-events: all;
	}

	.border-down_solutions {
		top: 311px;
	}

	.heightUp {
		height: calc(80% + 245px);
	}

	#rowdown-mobile {
		position: relative;
		top: 50px;
	}

	.desk-spec, .desk-spec * {
		display: none;
	}

	.contatti-line {
		float: left;
		clear: both;
	}

	#virtual {
		position: relative;
		top: 25px;
	}

	#axis, #indirizzo, #virtual {
		line-height: 16px;
	}

	.content-up, .fadeIn, .content-wrap {
		pointer-events: none;
	}

	video {
		opacity: 0.7;
	}
}

/* [MARIAN.ADD] */
.mob-spec {
	display: none;
}