html, body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  /* background-color: #000; */
  /* background-color: #030305; */
  background-color: #ffffff;
  background-image: url(../img/loading.gif);
  background-repeat: no-repeat;
  background-position: center;
}

@keyframes animFadeIn { 
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.panoramic-canvas {
  animation: animFadeIn 0.5s ease-in-out;
}

#desc-container {
  max-width: 500px;
  max-height: 500px;
  min-width: 200px;
  min-height: 250px;
  background: #fff;
  color: #000;
  border-radius: 20px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

#desc-container > iframe {
  border: none;
  width:100%;
}

.icon-button{
  width: 5vh;
  height: 5vh;
  filter: drop-shadow(3px 5px 2px rgb(0 0 0 / 0.4));
}

.left-botton-cornner{
  position: fixed;
  bottom: 10px;
  left: 10px;
}

.right-top-cornner{
  position: fixed;
  top: 0px;
  right: 0px;
}

.transparent-button {     
  background-color: Transparent;
  background-repeat:no-repeat;
  border: none;
  cursor:pointer;
  overflow: hidden;        
}

.iframeCodeBtn {
  display: none; 
  left: 100px;
}

.select {
  position: fixed;
  display: inline-block;
  width: 10%;
  text-align: right;
  right: 5px;
  top: 1%;
}    
.select select {
  text-align: center;
  font-size: 1rem;
  padding: 10px 10px 10px 10px;
  border-radius: 20px;
  background: #48484882;
  color: #ffffff;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
}
      
.select select::-ms-expand {
  display: none;
}
.select select:hover, .select select:focus {
  color: #ffffff;
  background: #1a1a1a82;
}
.select select:disabled {
  opacity: 0.2;
  pointer-events: none;
}
.select_arrow {
  position: absolute;
  top: 8px;
  right: 15px;
  width: 17px;
  height: 17px;
  border: solid #ffffff;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 3px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}
.select select:hover ~ .select_arrow,
.select select:focus ~ .select_arrow {
  border-color: #faf347;
}
.select select:disabled ~ .select_arrow {
  border-top-color: #6d6d6d;
}
.select option {
  background: #444444d8;
  color: #ffffff;
  text-align: left;
}

/* Language Selector */

.sl-nav-language {
  display: inline;
}
.sl-nav-language ul {
  margin:0;
  padding:0;
  list-style: none;
  position: relative;
  display: inline-block;
}
.sl-nav-language li {
  cursor: pointer;
  padding-bottom:10px;
}
.sl-nav-language li ul {
  display: none;
}
.sl-nav-language li:hover ul {
  position: absolute;
  top: 39px;
  right: 4px;
  display: block;
  background: #fff;
  width: 75px;
  padding-top: 0px;
  z-index: 1;
  border-radius:5px;
  box-shadow: 0px 0px 20px rgba(0,0,0,0.2);
}
.sl-nav-language li:hover .triangle {
  position: absolute;
  top: 26px;
  right: 0px;
  /* z-index:10; */
  height: 14px;
  overflow:hidden;
  width: 30px;
  background: transparent;
}
.sl-nav-language li:hover .triangle:after {
  content: '';
  display: block;
  /* z-index: 20; */
  width: 15px;
  transform: rotate(45deg) translateY(0px) translatex(10px);
  height: 15px;
  background: #fff;
  border-radius:2px 0px 0px 0px;
  box-shadow: 0px 0px 20px rgba(0,0,0,0.2);
}
.sl-nav-language li ul li {
  position: relative;
  text-align: left;
  background: transparent;
  padding: 15px 15px;
  padding-bottom:0;
  z-index: 2;
  font-size: 15px;
  color: #3c3c3c;
}
.sl-nav-language li ul li:last-of-type {
  padding-bottom: 15px;
}
.sl-nav-language li ul li span {
  padding-left: 5px;
}
.sl-nav-language li ul li span:hover, .sl-nav-language li ul li span.active {
  color: #146c78;
}
.sl-flag {
  display: inline-block;
  box-shadow: 0px 0px 3px rgba(0,0,0,0.4);
  width: 15px;
  height: 15px;
  background: rgba(255, 255, 255, 0);
  border-radius: 50%;
  position: relative;
  top: 2px;
  overflow: hidden;
  margin-right: 5px;
  background-position: center;
  background-size: cover;
}
.flag {
  background-size: cover;
  background-position: center center;
}
.sl-flag-actual{
  width: 25px;
  height: 25px;
}

/* Description Container */

#desc-container {
  max-width: 600px;
  max-height: 400px;
  min-width: 200px;
  min-height: 0px;
  background: #fff;
  color: #000;
  border-radius: 15px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 0 20px 0 #00000040;
}

#desc-container > iframe {
  border: none;
  width:100%;
}

#desc-container .title {
  font-size: 1.5em;
  text-align: center;
  /* padding: 5px; */
  padding: 15px 20px 0px 20px;
}

#desc-container .text {
  padding: 0px 20px 0px 20px;
}

#desc-container img {
  margin-left: auto;
  margin-right: auto;
  height: auto;
  /* width: 450px; */
  width: auto;
  /* max-height: 300px; */
  max-height: inherit;
  max-width: inherit;
}

/* Welcome Screen */

.welcomeScreen {
  padding-top: 5vh;
  display:flex;
  flex-direction: column;
  text-align: center;
  justify-content: center;
  width: 75%;
  height: 80%;
  margin: auto;
  background-image: url(../img/backgroundWelcome.png);
  background-size: cover;
  background-position: top;
  margin: 0px;
  padding: 0px;
  align-items: center;
  width: 100vw;
  height: 100vh;
  opacity: 1;

  animation: animFadeIn 1s;
  transform: scale(1,1);
}

.welcomeScreen.closed {
  position: absolute;
  display: none;
  transition: all 0.5s ease-out;
  transform: scale(0,0);
  opacity: 0;
}

.welcomeScreen .welcomeImg{
  height: 24vmax;
  margin: auto;
}

.welcomeScreen .buttonStart {
	box-shadow: 0px 0px 21px 2px #636363;
	background-color:#ffffff;
	border-radius:100px;
	display:inline-block;
	cursor:pointer;
	color:#000000;
	font-weight:bold;  
  width: auto;
  padding: 0px 40px;
  margin: auto;
	text-decoration:none;
}
.welcomeScreen .buttonStart:hover {
	background-color:#9a854a;
}
.welcomeScreen .buttonStart:active {
	position:relative;
	top:1px;
}

.font-white{
  color: white;
}
.font-black{
  color: black;
}

.projectLogo{
  position: absolute;
  left: 10px;
  top: 10px;
  max-width: 20%;
  max-height: 20%;
}

/* Gallery of 360 */

.gallery-container {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 4px;
  /* width: 100%;
  height: 100%; */
  background-color: white;
  font-family: 'Roboto', sans-serif;
}

.gallery-container .title {
  width: 100%;
  height: 80px;
  line-height: 80px;
  text-align: center;
  font-size: 24px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700; /* Make it bold */
}

#gallery-container-bg {
  width: 100%;
  height: 100%;
  background-color: white;
  overflow: auto;
  animation: animFadeIn 1s;
}

#gallery-panorama-container {
  position: fixed;
  display: flex;
  width: 100%;
  height: 100%;
  top: 0;
  background: rgba(0,0,0,0.9);
  transform: scale(0,0);
  opacity: 0;
  -webkit-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out;
}

.gallery-container .photo {
  flex-grow: 1;
  width: 360px;
  height: 240px;
  /* max-width: 500px; */
  background-size: cover;
  margin: 4px;
  border: 1px solid #ccc;
  cursor: pointer;
  background-position-y: center;
}

.gallery-container .photo:hover {
  border-color: #000;
}

#progress-bar {
  position: fixed;
  top: 0;
  width: 0;
  height: 5px;
  background-color: #fff;
  transition: opacity 0.5s ease;
}

.close {
  width: 44px;
  height: 44px;
  position: absolute;
  right: 0;
  margin: 20px;
  cursor: pointer;
}

.close > i {
  color: #fff;
  font-size: 44px;
}

.returnBtn {
  position: absolute;
  left: 0;
  top: 0;
  margin: 20px;
  cursor: pointer;
  z-index: 100;
}

.returnBtn > i {
  color: white;
  font-size: 44px;
  filter: drop-shadow(3px 5px 2px rgb(0 0 0 / 0.4));
}

#gallery-main-container {
  width: 100%;
  height: 100%;
  align-self: center;
  background-color: #000;
}

.gallery-iframe-container {
  position:absolute;
  top:0;
  width: 100%;
  height: 100%;
  background-color: black;
  /* display: none; */
  /* animation: animFadeIn 0.5s; */
  opacity: 0;
  transform: scale(0,0);
  transition: all 1s ease-out;
}

.gallery-iframe-container.opened {
  display: block;
  opacity: 1;
  transform: scale(1,1);
  transition: all 0.5s ease-out;
}

.gallery-iframe-container > iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.iframeGenerator{
  position: absolute;
  width: 400px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: none;
  border-radius: 5px;;
  background-color: rgba(0, 0, 0, 0.75);
  color:white;
  padding: 10px;
  text-align: center;
}

.open {
  opacity: 1 !important;
  transform: scale(1,1) !important;
}