
#gallery_main_wrapper {
	max-width: 960px;
	height: auto;
	display: block;
	margin: 75px auto 50px auto;
}

#gallery_wrapper {
	width: 960px;
	height: 600px;
	display: none;
	margin: 65px auto 0px auto;
	position: relative;
}

#gallery_main_wrapper h2 {
	display: block;
	
	text-align: center;
	font-weight: normal;
	font-size: 36px;
}

#gallery_nav_wrapper {
	width: auto;
	height: 40px;
	margin: 20px 20px 20px 0px;
	float: right;
}

#gallery_nav_wrapper span {
	width: 40px;
	height: 40px;
	display: block;
	float: left;

	font-weight: bold;
	font-size: 20px;
	text-align: center;
}

#gallery_nav_wrapper i {
	width: 100%;
	height: 100%;
	
	line-height: 40px;
}

#gallery_nav_wrapper span:hover {
	cursor: pointer;
	background: #EEEEEE !important;
	
	-webkit-transition: all 100ms ease-in;
    -moz-transition: all 100ms ease-in;
    -o-transition: all 100ms ease-in;
    -ms-transition: all 100ms ease-in;
    transition: all 100ms ease-in;
}

#gallery_wrapper button {
	width: 50px;
	height: 50px;
	position: absolute;
	display: none;
	top: 275px;
	z-index: 10;
	
	background: #FAFAFA;
	
	border: none;
	
	-webkit-box-shadow: 1px 1px 5px #9E9E9E;
	-moz-box-shadow: 1px 1px 5px #9E9E9E;
	box-shadow: 1px 1px 5px #9E9E9E;
	
	border-radius: 50%;
}

#gallery_wrapper button i {
	width: auto;
	height: auto;
	
	font-weight: bold;
	font-size: 32px;
}

#gallery_wrapper button:hover {
	cursor: pointer;
	background: #E0E0E0;
	
	-webkit-transition: all 100ms ease-out;
    -moz-transition: all 100ms ease-out;
    -o-transition: all 100ms ease-out;
    -ms-transition: all 100ms ease-out;
    transition: all 100ms ease-out;
}

#gallery_wrapper button:hover i {
	color: #212121;
}

#gallery_next {
	right: 0px;
}

#gallery_previous {
	left: 0px;
}

#gallery_full {
	width: 100%;
	height: 100%;
	position: fixed;
	display: none;
	top: 0;
	z-index: 20;
	
	background: rgba(19, 19, 19, 0.9);
}

#gallery_full:hover {
	cursor: zoom-out;
}

#gallery_full img {
	max-width: 100%;
	max-height: 100%;
	position: absolute;
	top: 50%;
	left: 50%;
	
	transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%); /* IE 9 */
	-webkit-transform: translate(-50%, -50%); /* Chrome, Safari, Opera */	
}

#gallery_image_wrapper {
}

#gallery_image_wrapper div {
	width: 600px;
	height: 370px;
	position: absolute;
	overflow: hidden;
	
	-webkit-transition: all 150ms linear	;
    -moz-transition: all 150ms linear;
    -o-transition: all 150ms linear;
    -ms-transition: all 150ms linear;
    transition: all 150ms linear;
	
	-webkit-box-shadow: 1px 2px 5px #212121;
	-moz-box-shadow: 1px 2px 5px #212121;
	box-shadow: 1px 2px 7px #212121;
}

#gallery_image_wrapper div:hover {
	cursor: zoom-in;
}

#gallery_image_wrapper div:hover div {
	-webkit-box-shadow: 0px 0px 75px #212121;
	-moz-box-shadow: 0px 0px 75px #212121 inset;
	box-shadow: 0px 0px 75px #212121 inset;
}

#gallery_image_wrapper div div {
	width: 100%;
	height: 100%;
	
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
	
	-webkit-transition: all 75ms linear	;
    -moz-transition: all 75ms linear;
    -o-transition: all 75ms linear;
    -ms-transition: all 75ms linear;
    transition: all 75ms linear;
}

#gallery_img_0 {
	bottom: 65px;
	left: 5px;
	display: none;
	z-index: 6;
}

#gallery_img_1 {
	bottom: 85px;
	left: 75px;
	z-index: 5;
}

#gallery_img_2 {
	bottom: 105px;
	left: 145px;
	z-index: 4;
}

#gallery_img_3 {
	bottom: 125px;
	left: 215px;
	z-index: 3;
}

#gallery_img_4 {
	bottom: 145px;
	left: 285px;
	z-index: 2;
}

#gallery_img_5 {
	bottom: 165px;
	left: 355px;
	display: none;
	z-index: 1;
}

/*MIN*/

#gallery_min_wrapper {
	margin: 100px 0px 0px 0px;
	display: none;
}

#gallery_min_wrapper div div {
	width: 100%;
	height: 200px;
}

#gallery_min_wrapper div div:hover div {
	cursor: zoom-in;
	
	-webkit-box-shadow: 0px 0px 75px #212121;
	-moz-box-shadow: 0px 0px 75px #212121 inset;
	box-shadow: 0px 0px 75px #212121 inset;
	
	-webkit-transition: all 150ms linear	;
    -moz-transition: all 150ms linear;
    -o-transition: all 150ms linear;
    -ms-transition: all 150ms linear;
    transition: all 150ms linear;
}

#gallery_min_wrapper button {
	max-width: 300px;
	width: 80%;
	height: 45px;
	display: block;
	padding: 0px 0px;
	margin: 50px auto 40px auto;
	
	background: #212121;
	color: #FFFFFF;
	font-size: 16px;
	line-height: 45px;
	text-shadow: 1px 1px 1px #1a1a1a;
	
	border: 1px solid #1a1a1a;
}

#gallery_min_wrapper button:hover {
	cursor: pointer;
	
	-webkit-box-shadow: 0px 3px 5px #9E9E9E;
	-moz-box-shadow: 0px 3px 5px #9E9E9E;
	box-shadow: 0px 3px 5px #9E9E9E;
	
	-webkit-transition: all 200ms ease-out;
    -moz-transition: all 200ms ease-out;
    -o-transition: all 200ms ease-out;
    -ms-transition: all 200ms ease-out;
    transition: all 200ms ease-out;
}

#gallery_min_wrapper button:focus {
	height: 44px;
	margin-top: 51px;
	
	-webkit-box-shadow: 0px 1px 1px #9E9E9E;
	-moz-box-shadow: 0px 1px 1px #9E9E9E;
	box-shadow: 0px 1px 1px #9E9E9E;
}

@media only screen and (max-width: 976px) {
	#gallery_nav_wrapper {
		display: none;
	}
	
	#gallery_min_wrapper div {
		margin: 0;
		padding: 0;
	}
	
	#gallery_min_wrapper div div {
		max-width: 600px;
		height: 375px;
		display: inline-block;
	}
}

@media only screen and (max-width: 616px) {
	#gallery_min_wrapper div div {
		max-width: 300px;
		height: 190px;
		display: inline-block;
	}
}
