html, body {
  height: 100%;
  width: 100%;
  /* #FF6633 */
  background-color: #bfbfbf;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  -o-background-size: cover;
  font-family: "Roboto",Helvetica,Arial,Lucida,sans-serif;
  letter-spacing: 1px;
}

.main {
  height: 100%;
  width: 100%;
  position: relative;
  background-image: url('img/fondo.png');
  -webkit-background-size:cover;
  -moz-background-size:cover;
  -o-background-size:cover;
  background-size:cover;
  background-position:center;
}

.page-logo{
  position: fixed;
  top: 0;
  left: 0;
  width: 15%
}

.page-logo img{
  width: 100%;
}

::-webkit-scrollbar { 
  display: none; 
}

/*--------------
Logo homepage
--------------*/

#logo-container {
  text-align: center;
}

#logo-container img {
  width: 35%;
  height: auto;
}



/*--------------
Button homepage
--------------*/

#btn_container button{
  width: 100%;
}

#btn_container img {
  padding-bottom: 5%;
  max-width: 150px;
}

#comuni, #progetto, #storie {
  height: 100%;
  width: auto;
}

/*--------------
Button overlap
--------------*/

.overlap-btn-home {
  width: 60px;
  height: 60px;
  background-color: #EF5028;
  position: fixed;
  bottom: 2%;
  left: 2%;
  z-index: 2;
}

.home img{
  padding-top: 18%;
  padding-right: 12%;
  width: 40px;
  height: 40px;
}

.overlap-btn {
  width: 60px;
  height: 60px;
  background-color: #EF5028;
  position: fixed;
  bottom: 2%;
  right: 2%;
  z-index: 2;
}

.back img{
  padding-top: 18%;
  padding-right: 12%;
  width: 40px;
  height: 40px;
}

.btn p {
  color: #fff;
  font-size: 30px;
}

.modal {
  position: fixed;
}

/*--------------
Overlap comuni
--------------*/

.hidden-overlap {
  display: none;
  position: absolute;
  top: 600px;

}

.overlap {
  height: 100%;
  width: 100%;
  z-index: 1;
  position: absolute;
  left: 0;
  bottom: 0;
}

#overlap_comuni{
  /* background-image: url("img/icone/octavia.png");
  background-position: left top;
  background-repeat: no-repeat;
  background-size: 20% 35%; */
  background-color: #bfbfbf;
}

#overlap_comuni_content {
  height: 100%;
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
  padding-top: 5%;
  padding-left: 3%;
}

#thumbnail_comuni{
  margin-bottom: 10%;
}

#thumbnail_comuni .caption{
  text-align: left;
  background-image: url("img/caption-arrow.svg");
  background-position: right center;
  background-repeat: no-repeat;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  width: 70%;
  position: absolute;
  bottom: 11%;
}

#thumbnail_comuni p{
  
  margin-top: 3%;
  font-size: 18px;
  /* background-color: #EF5028; */
  color: #fff;
  padding: 5px;
}

#iframe-content {
  position: relative;
  padding-top: 75%;
}

#iframe-content iframe{
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
}

/*--------------
Overlap progetto
--------------*/

.overlap-progetto {
  height: 100%;
  width: 100%;
  /* z-index: 1; */
  position: absolute;
  left: 0;
  bottom: 0;
}

#overlap_progetto {
  /* background-image: url("img/icone/octavia.png");
  background-position: left top;
  background-repeat: no-repeat;
  background-size: 20% 35%; */
  background-color: #bfbfbf;
}

#overlap_progetto_content {
  height: 100%;
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
  padding-top: 5%;
  padding-left: 3%;
}

#thumbnail_prog{
  margin-bottom: 10%;
}

.overlap-progetto-gallery{
  height: 100%;
  width: 100%;
  z-index: 4;
  position: absolute;
  left: 0;
  bottom: 0;
}

#overlap_progetto_gallery{
  background-color: #bfbfbf;
}

#overlap_progetto_gallery_content{
  height: 100%;
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
  padding-top: 5%;
}

/*--------------
Overlap storie
--------------*/

.overlap-storie {
  height: 100%;
  width: 100%;
  z-index: 1;
  position: absolute;
  left: 0;
  bottom: 0;
}

#overlap_storie {
  /* background-image: url("img/icone/octavia.png");
  background-position: left top;
  background-repeat: no-repeat;
  background-size: 20% 35%; */
  background-color: #bfbfbf;
}

#overlap_storie_content {
  height: 100%;
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
  /* overflow: auto; */
  padding-bottom: 3%;
  padding-left: 3%;
  padding-top: 5%;
}

#overlap_storie_thumbnail{
  width: 100%;
  height: 100%;
}

/* 
#overlap_storie_thumbnail .caption{
  text-align: left;
  background-image: url("img/caption-arrow.png");
  background-position: right center;
  background-repeat: no-repeat;
  width: 70%;
  position: absolute;
  bottom: 0%;
  width: 100%; 
  height: auto;
   margin-bottom: 5%;
} */

#overlap_storie_thumbnail p{
  margin-top: 5px;
  font-size: 18px;
  /* background-color: #EF5028; */
  color: #fff;
  padding: 5px;
  /* text-align: left; */
}

/* #overlap_storie_thumbnail p{
  margin-top: 5px;
  font-size: 14px;
  background-color: #EF5028;
  color: #fff;
  padding: 5px;
} */

/* 
#firstrow {
  padding-top: 2%;
} */

#firstrow img {
  /* max-height: 200px;
  min-height: 180px; */
  width: 90%;
}

#firstrow .caption{
  text-align: left;
  background-image: url("img/caption-arrow.svg");
  background-position: right center;
  background-repeat: no-repeat;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  width: 50%;
  position: absolute;
  bottom: 16%;
  left:7%;
}

#secondrow {
  padding-top: 1%;
}

#secondrow img{
  width: 65%;
  /* height: 20%; */
  /* min-height: 180px; */
}

#secondrow .caption{
  text-align: left;
  background-image: url("img/caption-arrow.svg");
  background-position: right center;
  background-repeat: no-repeat;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  width: 35%;
  position: absolute;
  bottom: 15%;
  left: 18%;
}

/*--------------
Overlap storie folders
--------------*/

#overlap_storie_folders {
  /* background-image: url("img/icone/octavia.png");
  background-position: left top;
  background-repeat: no-repeat;
  background-size: 20% 35%; */
  background-color: #bfbfbf;
}

#overlap_storie_folders_content {
  height: 100%;
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
  overflow: auto;
  padding-left: 3%;
  padding-top: 5%;
}

#overlap_storie_folders_thumbnail button{
  width: 60%; 
  margin-top: 40%; 
}

#overlap_storie_folders_thumbnail p {
  text-align: center;
}


/*--------------
Overlap storie viewer foto
--------------*/

.overlap-storie-viewer {
  height: 100%;
  width: 100%;
  z-index: 1000;
  position: absolute;
  left: 0;
  bottom: 0;
}

#overlap_storie_viewer_foto {
  /* background-image: url("img/icone/octavia.png");
  background-position: left top;
  background-repeat: no-repeat;
  background-size: 20% 35%; */
  background-color: #bfbfbf;
}


#overlap_storie_viewer_foto_content {
  height: 100%;
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
  padding-top: 5%;
}

.fotorama__caption__wrap {
  text-align: left;
  background-image: url("img/caption-arrow.svg");
  background-color: transparent !important;
  background-position: right center;
  background-repeat: no-repeat;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  font-size: 18px;
  color: #fff;
  padding: 5px;
}

.fotorama__thumb-border{
  border-color: #EF5028 !important;
}

/*--------------
Overlap storie viewer video
--------------*/

#overlap_storie_viewer_video{
  /* background-image: url("img/icone/octavia.png");
  background-position: left top;
  background-repeat: no-repeat;
  background-size: 20% 35%; */
  background-color: #bfbfbf;
}

#overlap_storie_viewer_video_content {
  height: 100%;
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
  overflow: auto;
  /* padding-bottom: 5%; */
  padding-left: 3%;
  padding-top: 5%;
}

#thumbnail_video{
  margin-bottom: 10%;
}

/* #overlap_storie_video_thumbnail {
  padding-top: 2%;
} */

#overlap_storie_video_thumbnail .caption{
  text-align: left;
  background-image: url("img/caption-arrow.svg");
  background-position: right center;
  background-repeat: no-repeat;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  width: 70%;
  position: absolute;
  bottom: 12%;
}

#overlap_storie_video_thumbnail p{
  margin-top: 5px;
  font-size: 18px;
  /* background-color: #EF5028; */
  color: #fff;
  padding: 5px;
  /* text-align: left; */
}

#overlap_videoPlay {
  background-color: #bfbfbf;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  z-index: 1000;
}

#video_frame {
  position: absolute;
  /* top: 15%;
  left: 10%; */
  top: 4%;
  left: 5%;
  width: 100%;
  height: 100%;
}

/*--------------
stili per pulsanti riproduttore video 
--------------*/

video::-webkit-media-controls-fullscreen-button{
  display: none;
}

video::-webkit-media-controls-volume-slider {
  display: none;
}

video::-webkit-media-controls-mute-button {
  display: none;
}

/*--------------
Overlap storie viewer doc
--------------*/

#overlap_storie_viewer_doc{
  /* background-image: url("img/icone/octavia.png");
  background-position: left top;
  background-repeat: no-repeat;
  background-size: 20% 35%; */
  background-color: #bfbfbf;
}

#overlap_storie_viewer_doc_content{
  height: 100%;
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
  padding-left: 3%;
  padding-top: 5%;
}

#thumbnail_doc {
  margin-bottom: 10%;
}

#overlap_storie_doc_thumbnail p{
  margin-top: 5px;
  font-size: 18px;
  /* background-color: #EF5028; */
  color: #fff;
  padding: 5px;
  /* text-align: left; */
}

#overlap_storie_doc_thumbnail .caption{
  text-align: left;
  background-image: url("img/caption-arrow.svg");
  background-position: right center;
  background-repeat: no-repeat;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  width: 75%;
  position: absolute;
  bottom: 11%;
}

#overlap_storie_doc_thumbnail p{
  padding-right: 5%;
}

#overlap_storie_doc_thumbnail .aud-icon{
  max-width: 40px;
}

/*--------------
Overlap storie schede img
--------------*/

#schede_overlap_modal_content img{
  width: 100%;
}