body,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Poppins', serif;
}
a{
	color: #003568;
}
.title {
  background: #00000075;
}
.title h1,
.title h3 {
  font-family: 'Playwrite AU SA', serif;
}

#overlay {
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.5);
  z-index: 10;
  cursor: pointer;
}
#overlay .fullScreenImg{
	width: 90%;
	object-fit: cover;
    object-position: center center;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	-ms-transform: translate(-50%,-50%);
}

#gallery{
	margin-top: 40px;
}

#gallery .w3-display-container{
	height: 150px;
	cursor: pointer;
}

#gallery .w3-display-container img{
	width: 100%;
}

#gallery img{
	object-fit: cover;
    object-position: center center;
	height: 150px
}

@media (max-width: 600px) {
	#gallery{
		margin-top: 20px;
	}
	#gallery .w3-display-container{
		height: 250px;
	}

	#gallery img{
		height: 250px
	}
}

.shadow-1 {
	box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}
.shadow-2 {
	box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}
.shadow-3 {
	box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
}
.shadow-4 {
	box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}
.shadow-5 {
	box-shadow: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22);
}


.language-dropdown{
  position: fixed;
  z-index: 2;
  display: inline-block;
  
  .lang-en{
    border-left: 4px solid #E2162C;
    .flag{
      background-image: url("./img/Flag-United-Kingdom.png");
    }
  }
  .lang-it{
    border-left: 4px solid #E2162C;
    .flag{
      background-image: url("./img/Flag-Italy.png");
    }
  }
  .lang-si{
    border-left: 4px solid #E2162C;
    .flag{
      background-image: url("./img/Flag-Slovenia.png");
    }
  }
  .lang-de{
    border-left: 4px solid #E2162C;
    .flag{
      background-image: url("./img/Flag-Germany.png");
    }
  }
  
  .current{
	border-left: 4px solid #35e216;;
  }
  
  label, ul li{
    display: block;
    width: 50px;
    height: 38px;
    background: #fff;
    padding: 0px 6px;
    cursor: pointer;
  }
  ul.lang-list{ 
    @extend .shadow-1;
    position: relative;
	padding-left: 0;
    visibility: hidden;
    opacity: 0;
    z-index: 1;
    li{
      border-bottom: 1px solid #ECECEC;
      &:last-child{
        border-bottom-right-radius: 2px;
        border-bottom-left-radius: 2px;
      }
      &.selected{
        display: none;
      }
    }
  }
  label{
    @extend .shadow-1;
    position: relative;
    border-bottom: 1px solid #ECECEC;
    border-radius: 3px; 
    z-index: 2;
  }
  .lang-flag, .lang-list .lang{
    .flag{
      float: left;
      width: 100%;
      height: 100%;
      cursor: pointer;
      background-size: 35px 35px;
      background-repeat: no-repeat;
      background-position: center;
      &:hover{
        // transform: scale(1.1);
      }
    }
  }
  &.open{
    ul.lang-list{
      visibility: visible;
      opacity: 1;
	  margin: 0;
    }
    label{
      @extend .shadow-2;
      border-bottom-left-radius: 0px;
      border-bottom-right-radius: 0px;
    }
  }
}
.animate{
  cursor: pointer;
  -webkit-transition: all .5s;
  -moz-transition: all .5s;
  -ms-transition: all .5s;
  -ms-transition: all .5s;
  transition: all .5s;  
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
}

.lang-flag, .lang-list{
  @extend .animate;
}
