/*containers definition*/
.gallery {
  	width: 600px;
	padding-top: 400px;
	display: block;
	margin: 0 auto !important;
	position: relative;
	background-color: rgba(20, 51, 112, 1);
	box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.75);
}

.gallery * {
    user-select: none;
    -ms-user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

.gallery input { display: none; }

.itemlist {
    display: block;
    float: left;
}

.item {
    top: 0;
    left: 0;
    opacity: 0;
    width: 600px;
    height: 400px;
    display: block;
    position: absolute;
    transform: scale(0);
    transition: opacity 0.5s ease-in-out;
}

.item img {
    width: 100%;
    height: 100%;
}
/*end containers definition*/

/*-----------------------------------------------------------*/
/* arrow navigation */
.arrows label {
	top: 0;
    width: 100px;
    height: 100%;
    display: none;
    position: absolute;
	  opacity: 0;
    z-index: 9;
    cursor: pointer;
    transition: opacity .3s;
    color: #f7c400;
    font-size: 80pt;
    text-align: center;
    line-height: 360px;
    background-color: rgba(20, 51, 112, .8);
    text-shadow: 0px 0px 15px rgb(19, 19, 19);
}

.item:hover + .arrows label { opacity: 0.5; }

.arrows label:hover { opacity: 1; }

.arrows .next { right: 0; }

.arrows .prev { left: 0; }

input:checked + .itemlist .item {
    opacity: 1;
    transform: scale(1);
}

input:checked + .itemlist .arrows label { display: block; }
/* end arrow navigation */

/*-----------------------------------------------------------*/
/* thumbnail navigation */
.thumbnail label img{
	margin: 25px 0 0 25px;
	border: 3px solid #999;
	float: left;
	cursor: pointer;
	transition: all 0.5s;
	opacity: 0.5;
  width: 88px;
}

input:checked + .itemlist .thumbnail label img{
	border-color: #555;
	opacity: 1;
}
/* end thumbnail navigation */

.clearfix{
	padding-top: 25px;
    clear: both;
}