
body{background-color: white;}
.container2
{
	width: 100%;
	height: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
      -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
	-webkit-tap-highlight-color: transparent;
}
.trans2
{
	transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-ms-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	-webkit-transition: all 0.3s ease;
}
.top2
{

	width: auto;
	height: auto;
	margin-top: auto;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 3em;
}
.top2 ul
{
	list-style: none;
	width: 100%;
	height: 100%;
	z-index: 1;
	box-sizing: border-box;	
}
.top2 ul li
{
	position: relative;
	left: -20px;
	float: left;
	width: 33%;
	height: auto;
	overflow: hidden;
     padding: 0 1px;
}

.top2 ul li::before
{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #000;
	content: '';
	color: white;
	opacity: 0.08;
	text-align: center;
	box-sizing: border-box;
	pointer-events: none;
	transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-ms-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	-webkit-transition: all 0.3s ease;
}
.top2 ul li:hover::before
{
	opacity: 0;
	background-color: rgba(0,0,0,0.90);
}
.top2 ul li img
{
	width: 100%;
	height: auto;
	overflow: hidden;
}
.lightbox2
{
	position: fixed;
	width: 100%;
	height: 100%;
	text-align: center;
	top: 0;
	left: 0;
	background-color: rgba(0,0,0,0.75);
	z-index: 3001;
	opacity: 0;
	pointer-events: none;
}
.lightbox2 img
{
	max-width: 90%;
	max-height: 80%;
	position: relative;
	top: -100%;
	/* Transition */
	transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-ms-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	-webkit-transition: all 0.3s ease;
}
.lightbox2:target
{
	outline: none;
	top: 0;
	opacity: 1;
	pointer-events: auto;
	transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-ms-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	-webkit-transition: all 0.3s ease;
}
.lightbox2:target img
{
	top: 0;
	top: 50%;
	transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
}

.container2 {
  position: relative; 
  max-width: 840px; /* Maximum width */
  margin: 0 auto; /* Center it */
}

.container2 .content {
  position: absolute; /* Position the background text */
  bottom: 0; /* At the bottom. Use top:0 to append it to the top */
  background: rgb(0, 0, 0); /* Fallback color */
  background: rgba(0, 0, 0, 0.5); /* Black background with 0.5 opacity */
  color: #f1f1f1; /* Grey text */
  width: 100%; /* Full width */
  padding: 20px; /* Some padding */
}

@media screen and (max-width: 1000px) {
.top2 ul li
{
	position: relative;
	float: left;
	width: 49%;
	height: auto;
	overflow: hidden;
}

@media screen and (max-width: 700px) {
.top2 ul li
{
	position: relative;
	float: left;
	width: 100%;
	height: auto;
	overflow: hidden;
}
.noSelect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
	-webkit-tap-highlight-color: transparent;
}
