#step1A{
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
 overflow: hidden;
  text-align: center;
  position: relative;
  box-sizing: border-box;
 /* line-height: 100px;*/
}

#step1A h2{
  margin-bottom: 0;
  position: relative;
z-index: 2;

}

#step1A #coordinate{
  position: relative;
z-index: 2;
}

#pallinimed,#scrittemed,#linea1med,#linea2med{
  width: 100%;
  position: absolute;
  top: 0px;
  left: 0px;
  z-index: 2;
}
#step1A #radar{
	width: 100%;
  position: absolute;
  top: 0px;
  left: 0px;
  z-index: 2;
  height:auto;
  display:block;
	
}

 #path951{

	animation: radarrotate 2s infinite linear;
  transform-origin: -78px -28px;
}


#path955-1{

	animation: radarrotate 2s infinite linear;
  transform-origin: -74px -72px;
}


#path959{

	animation: radarrotate 2s infinite linear;
  transform-origin: -58px -21px
}


#path963-7{

	animation: radarrotate 2s infinite linear;
  transform-origin: 0 0
}

@keyframes radarrotate { 
  
  100% {-webkit-transform: rotate(-360deg) ; } 

  
}


#step1A #mediterraneo{
  /*width:100%; 
  position:absolute; 
  height: 100%;
  top:0;
  left: 0;
  z-index: 1;*/
  width: 100%;
  position: absolute;
  top: 0px;
  left: 0px;
  z-index: 1;
 }

 #step1A .testo_bass{

  position: absolute;
  bottom: 3%;
  left: 10%;
  z-index: 5;
  font-size: 43px;
 }

 /*********************/


 #step1B{
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  text-align: center;
  position: relative;
  box-sizing: border-box;
 /* line-height: 100px;*/
}

#step1B h2{
  position: relative;
  z-index: 2;
}


#step1B #nave{
  width:600px;
  animation: topdown 6s infinite linear;
  position: relative;
  z-index: 2;
}

#step1B #fune{
 /* width: 216px;
  position: absolute;
  z-index: 1;
  bottom: 124px;
  right: 50%;
  margin-right: -355px;*/
  width: 614px;
position: absolute;
z-index: 1;
bottom: -252px;
right: 3px;
  animation: funerotate 6s infinite linear;
  z-index: 1;
}

#maschera_fune{
  position: absolute;
bottom: -100px;
width: 100%;
display: block;
height: 200px;
background-color: #fff;
z-index: 2;
}

@keyframes funerotate { 
  100% { -moz-transform: rotate(360deg); } 


  0%, 20%, 50%, 80%, 100% {transform: translateY(0) rotate(180deg);}
  20% {transform: translateY(-20px) rotate(45deg);}
  80% {transform: translateY(-15px) rotate(90deg);}
  
}





#step1B .wave-nave{
  margin-top: -60px !important;
  position: relative;
  z-index: 2;
}


.wave-nave {
  animation: Wavenave 6s infinite linear;
  position: relative;
  height: 300px;
  margin-top: -215px;
  width: 100%;
  background: url("img/onda.svg") repeat-x;
  background-position: 0 0;
}

@keyframes Wavenave {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 1930px 0;
  }
}


@keyframes topdown {
  
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    20% {transform: translateY(-20px);}
    80% {transform: translateY(-15px);}
    
}


#testo_gib2, #testo_suez2{
  margin-top: -30%;
}


#step1B #sole_contenitore{
  position: absolute;
  z-index: 1;
  left: 0;
  
  bottom: -25%;
 width: 100%;
  
}

/*step1C*/


#step1C{
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
 margin-top: -24px;
  text-align: center;
  position: relative;
  box-sizing: border-box;
 /* line-height: 100px;*/
}

#step1C h2{

  margin-top: 0;
}

.pallino{
  background-color: #000;
  width: 30px;
  height: 30px;
  display: inline-block;
  border-radius: 100%;
  position: relative;
}


.pallino span{
  
    position: absolute;
    right: -73px;
    width: 100px;
    top: -20px;

}

#linea_metri{
  width:300px;
  display: inline-block;
  height: 10px;
  background-color: #000;
  margin-top: -20px;
}

/************************/

#step4 {
  font-size: 40px;
  line-height: 80px;
  height: 100vh;
}

#step4 #scritta {
  position: absolute;
}

#step4 #italia {
  max-width: 700px;
}

/*step5*/
#step5 {
  height: 100vh;
}

#step5 img {
  max-width: 90%;
}

/*step6*/

#step6 {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 60px;
  text-align: center;
  position: relative;
  box-sizing: border-box;
  line-height: 100px;
}

/*step7*/

#step7 {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 60px;
  text-align: center;
  position: relative;
  box-sizing: border-box;
  line-height: 100px;
}

#step7 .latoA {
  width: 810px;
  float: left;
}

#step7 .latoB {
  width: 300px;
  float: right;
}

#step7 {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 60px;
  text-align: center;
  position: relative;
  box-sizing: border-box;
  line-height: 100px;
}

#step8 #field {
  background: lightgray;
  max-width: 1199px;
  margin: auto;
}

#step8 .righe_campi {
  height: auto;
  width: 100%;
  position: relative;
}

#step8 .righe_campi img {
  width: 100%;
  height: auto;
}

#step8 .righe_campi span {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #60a65a;
  left: 0;
  z-index: 1;
  top: 0;
}

#step8 .contenitore_campi {
  position: relative;
  z-index: 2;
}

#value_campi {
  text-align: center;
  margin-top: 200px;
  font-size: 70px;
}

/*step 9*/
#step9 {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 70px;
  text-align: center;
  position: relative;
  box-sizing: border-box;
  line-height: 100px;
}

#step9 #pallone {
  /*width:10%; position: absolute; margin-left: 3%; margin-top: -5%;*/
  width: 30%;
  position: absolute;
  margin-left: 3%;
  margin-top: -5%;
  left: -10px;
}

#scrittapallone {
  position: relative;
}

#maschera_scritta_pallone {
  left: 0;
  position: absolute;
  top: 0;
  /*left: 0;*/
  width: 100%;
  height: 100%;
  background: #fff;
}

/*step 10*/
#step10 {
  padding: 100px 0 400px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 70px;
  text-align: center;
  position: relative;
  box-sizing: border-box;
  line-height: 100px;
}

#step10B {
  padding: 100px 0 400px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 70px;
  text-align: center;
  position: relative;
  box-sizing: border-box;
  line-height: 100px;
}

.spazio {
 
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 70px;
  text-align: center;
  position: relative;
  box-sizing: border-box;
  line-height: 100px;
}

/*step11*/

#step11 {
  height: 100vh;
   display: flex;
  justify-content: center;
  align-items: center;
  font-size: 70px;
  text-align: center;
  position: relative;
  box-sizing: border-box;
  line-height: 100px;
}

#step11 img {
  max-width: 100%;
}

#nuotatore {
  position: relative;
  text-align: center;
  width: 300px;
  margin: auto;
}

#braccia_nuotatore {
  position: absolute;
  left: 40px;
  top: 40px;
}

.wave-man {
  animation: dropWave 6s infinite linear;
  position: relative;
  height: 300px;
  margin: auto;
  margin-top: -160px;
  max-width: 800px;
  width: 100%;
  background: url("img/onda.svg") repeat-x;
  background-position: 0 0;
}

#maschera_nuotatore{
  width:800px;
  margin: auto;
  overflow: hidden;
  padding-top: 100px;
}

@keyframes dropWave {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: -1930px 0;
  }
}

/*step12*/

#step12 {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 60px;
  text-align: center;
  position: relative;
  box-sizing: border-box;
  line-height: 100px;
}

#step12 #acqua {
  animation: dropWave 2.5s infinite linear;
  position: absolute;
  left: 0;
  bottom: 0px;
  z-index: 1;
  opacity: 0.8;
  height: 100%;
  width: 100%;
  background: url(img/mare_opaco.png) repeat-x;
  background-position: 0 0;
}

#step13 {
  background-color: #a5c0d0;
  min-height: 500px;
  text-align: center;
  position: relative;
}

#palazzo {
  
  height: 2000px;
}

#pesci {
  position: absolute;
  top: 5%;
  right: 5%;
  width: 20%;
}

#bolle1 {
  position: absolute;
  top: 5%;
  right: 5%;
  width: 10%;
}

#bolle2 {
  position: absolute;
  top: 20%;
  left: 5%;
  width: 10%;
}

#bolle3 {
  position: absolute;
  bottom: 50%;
  left: 20%;
  width: 5%;
}

/* step14*/

#step14 {
  background-color: #8b847a;
  background-image: url("img/pesci_fossili.svg");
  border-top: 6px solid #000;
  text-align: center;
   height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 60px;
  
  position: relative;
  box-sizing: border-box;
  line-height: 100px;
}

#step15 {
  font-size: 60px;
  text-align: center;
  background: #fff;
  justify-content: center;
  text-align: center;
  align-items: center;
  overflow: hidden;
  /* */
  /* height: 100vh;
  display: flex;
  */
  /* 
 
  position: relative;
  box-sizing: border-box;
  */
}
#panels-container {
  height: 100vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  padding: 0;
  overflow: hidden;
  width: 200%;
}
#panels-container .panelslide {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.demo-row img {
  height: 400px;
}

.demos-front {
  position: absolute;
  top: 0;
  left: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  z-index: 20;
}

.demo-row {
  width: 100%;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-bottom: 30%;
}

.demo-row .demo-wrapper {
  position: relative;
  width: 20.73vmax;
}

.demos-back {
  position: absolute;
  top: 0;
  right: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  z-index: 10;
}

.demos-back img {
  height: 250px;
}

.demos-back {
  text-align: left;
}

.demos-front .demo-row .demo-wrapper:nth-child(2) {
  top: 106%;
}

.demos-front .front-section,
.demos-back .back-section {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  width: 100%;
}

#step16 {
 /* position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  
  font-size: 60px;*/
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 60px;
  text-align: center;
  position: relative;
  box-sizing: border-box;
  line-height: 100px;
  overflow: hidden;
  /*margin-top: -100%;*/
}

#step16 #container {
  width: 600px;
  height: 600px;

  display: flex;
  /*background: #eee;*/
  margin: auto;
  margin-top: 10%;
  padding: 2%;
  position: relative;
}

#step16 #container #step1_workers,#step16 #container #step2_workers,#step16 #container #step3_workers {
  position: absolute;
  z-index: 5;
width: 100%;
height: 100%;
left:0;
top:0;

}

 #testostep16 {
  position: absolute;
  left: 5%;
  top: 19%;
  font-size: 36px;
  line-height: 48px;
  text-align: left;
}

#testostep16 .w600{
  font-size: 45px;

}

#omino_big {
  position: relative;
  z-index: 2;
}

#sfondo_grigio {
  position: absolute;
  background-color: #eee;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

#sfondo_blu {
  position: absolute;
  background-color: #6896b1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
}

#testo_omino{
  position: absolute;
  z-index: 2;
  right: 2%;
  top:2%;
}


.testo_acqua, .righe_acqua, .img_acqua {
 position: absolute;
 top:0;
 left:0;
 z-index: 5;
 width: 100%;
 height: 100%;
}

.diagramma-hr {
  background-color: white;
  border: none;
height: 1px;
}

.icon {
 
  width: 12%;
position: absolute;
right: -140px;
bottom: 35px; 
}

.testo_acqua {
  color:#fff;
  font-size: 20px;
  text-align: right;
  margin-right: 30px;
  left: -20px;
}


.testo_acqua div{
  position: relative;
}

.testo_acqua .number{
  font-weight: 600;
  font-size:40px;
}

.righe_acqua div{
  position: absolute;
  border-top:#fff 1px solid;
  width: 100%;
  bottom:0;
  left: 0;
}

#portrait_block{
  display: block;
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: #fff;
  z-index: 100;
  top:0;
  left:0;
  background-position: center;
  background-repeat: no-repeat;
}