* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

html {
	-ms-touch-action: none;
}

body,ul,li {
	padding: 0;
	margin: 0;
	border: 0;
}

body {
	font-size: 12px;
	font-family: ubuntu, helvetica, arial;
	overflow: hidden; /* this is important to prevent the whole page to bounce */
}

#header {
	position: absolute;
	z-index: 2;
	top: 0;
	left: 0;
	width: 100%;
	height: 45px;
	line-height: 45px;
	background: #CD235C;
	padding: 0;
	color: seashell;
	font-size: 20px;
	text-align: center;
	font-weight: bold;
	text-shadow: 1px -2px 4px black;
}

#footer {
	position: absolute;
	z-index: 2;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 48px;
	background: #444;
	padding: 0;
	border-top: 1px solid #444;
	color: #eee;
	line-height: 48px;
	font-size: 20px;
	text-align: center;
	font-weight: bold;

}

#wrapper {
	position: absolute;
	z-index: 1;
	top: 45px;
	/*bottom: 48px;*/
	height: 20px;
	left: 0;
	width: 100%;
	background: #ccc;
	overflow: hidden;
}

#scroller {
	position: absolute;
	z-index: 1;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	width: 5000px;
	height: 100%;
	background-color: #a00;
	-webkit-transform: translateZ(0);
	-moz-transform: translateZ(0);
	-ms-transform: translateZ(0);
	-o-transform: translateZ(0);
	transform: translateZ(0);
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-webkit-text-size-adjust: none;
	-moz-text-size-adjust: none;
	-ms-text-size-adjust: none;
	-o-text-size-adjust: none;
	text-size-adjust: none;
}

#scroller ul {
	list-style: none;
	padding: 0;
	margin: 0;
	width: 100%;
	height: 100%;
	text-align: center;
}

#scroller li {
	display: block;
	float: left;
	width: 100px;
	height: 100%;
	border-right: 1px solid #ccc;
	background-color: #a00;
	font-size: 14px;
	line-height:20px;
}

a.selected {
   font-weight: bold
}

#scroller li a {
	text-decoration:none;
        color: seashell;
}

.container{
    margin: 0 auto;

}

.container .gallery {
	overflow-y:auto;
	overflow-x:hidden;
	bottom: 50px;
	position:absolute;
	top:65px;
	display: flex;
  	flex-wrap: wrap;
  	justify-content: center;

}


.container .gallery a img {
  float: left;
  width: 360px;
  height: auto;

  border: 2px solid #fff;
  -webkit-transition: -webkit-transform .15s ease;
  -moz-transition: -moz-transform .15s ease;
  -o-transition: -o-transform .15s ease;
  -ms-transition: -ms-transform .15s ease;
  transition: transform .15s ease;
  position: relative;
}

.container .gallery a:hover img {
  -webkit-transform: scale(1.15);
  -moz-transform: scale(1.15);
  -o-transform: scale(1.15);
  -ms-transform: scale(1.15);
  transform: scale(1.15);
  z-index: 5;
  border: 2px solid #CD235C; 
}

.clear {
  clear: both;
  float: none;
  width: 100%;
}

.sl-wrapper .sl-close, .sl-wrapper .sl-counter {
   top: 18px;
   color: sienna;
}