/* Galleria Folio Theme 2012-08-07 | http://galleria.io/license/ | (c) Aino */

#galleria-loader {
	height: 1px!important
}
.galleria-container {
	position: relative;
	font-family: arial, sans-serif;
}
.galleria-container img {
	-moz-user-select: none;
	-webkit-user-select: none;
	-o-user-select: none;
}
.galleria-stage {
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,.94);
	top: 0;
	left: -10000px;
	position: absolute;
}
.galleria-thumbnails .galleria-image:hover {
	opacity: .7;
}
.galleria-loader {
	width: 64px;
	height: 64px;
	display: none;
	position: absolute;
	top: 50%;
	left: 50%;
	margin-left: -16px;
	margin-top: -16px;
	background: #000 url(../images/loader.gif) no-repeat 50% 50%;
	z-index: 3;
	opacity: .5;
	filter: alpha(opacity=50);
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}
.galleria-info {
	display: none;
	background: #000;
	color: #fff;
	padding: 8px 0;
	z-index: 3;
	position: absolute;
	bottom: 10px;
	background: rgba(0,0,0,0.7);
	font-size: 12px;
	line-height: 16px;
	max-width: 50%;
}
.galleria-info-text {
	padding: 0 12px;
}
.galleria-info-description {
	color: #bbb;
}
:root *> .galleria-info-description {
	color: rgba(255,255,255,0.6);
}
.galleria-plus {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	/*background: url(../images/bg.png);*/
	color: #fff;
	line-height: 1.2;
	font-size: 11px;
	display: none;
}
.galleria-plus span {
	display: none;
}
.galleria-close {
	width: 50px;
	height: 50px;
	position: absolute;
	top: 0;
	right: 0;
	background: url(../images/close.png) no-repeat 0 0;
	z-index: 100;
	cursor: pointer;
}
.galleria-close:hover {
	background-position: 0 -50px;
}
.galleria-image-nav {
	height: 100%;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
}
.galleria-image-nav-left, .galleria-image-nav-right {
	width: 150px;
	height: 100%;
	background: url(../images/left.png) no-repeat 0 50%;
	position: absolute;
	left: 0;
	z-index: 3;
	cursor: pointer;
}
.galleria-image-nav-right {
	left: auto;
	right: 0;
	background: url(../images/right.png) no-repeat 100% 50%;
}
.galleria-image-nav-left:hover {
	background-image: url(../images/left-hover.png);
}
.galleria-image-nav-right:hover {
	background-image: url(../images/right-hover.png);
}
.galleria-image-nav-left.cur {
	cursor: url(../images/left-cursor.png), pointer;
	background: none!important
}
.galleria-image-nav-right.cur {
	cursor: url(../images/right-cursor.png), pointer;
	background: none!important
}
.galleria-container.iframe .galleria-image-nav {
	height: 100px;
	top: 50%;
	margin-top: -50px
}
.galleria-container.iframe.touch .galleria-images iframe {
	margin-top: 40px
}
.galleria-container.iframe.touch .galleria-info {
	bottom: 40px
}
.galleria-container.iframe .galleria-image-nav-left, .galleria-container.iframe .galleria-image-nav-left.cur {
	cursor: pointer;
	background: url(../images/left.png) no-repeat 0 50%!important;
	width: 100px;
}
.galleria-container.iframe .galleria-image-nav-right, .galleria-container.iframe .galleria-image-nav-right.cur {
	cursor: pointer;
	background: url(../images/right.png) no-repeat 100% 50%!important;
	width: 100px
}
.galleria-container.iframe .galleria-image-nav-left:hover, .galleria-container.iframe .galleria-image-nav-left.cur:hover {
	background-image: url(../images/left-hover.png)!important;
}
.galleria-container.iframe .galleria-image-nav-right:hover, .galleria-container.iframe .galleria-image-nav-right.cur:hover {
	background-image: url(../images/right-hover.png)!important;
}
.galleria-preloader {
	height: 4px;
	width: 180px;
	background: #eee;
	position: absolute;
	top: 0;
}
.galleria-loaded {
	height: 4px;
	width: 0%;
	background: #444;
}

.albumView {min-height: 300px;padding: 0;}.albumView .galleria-info {visibility: hidden;}
.galleria-thumbnails .galleria-image {
	width: 285px;
	height: auto;
	margin-left: 0;
	margin-right: 10px;
	margin-bottom: 10px;
	position: absolute!important;
	top: 0;
	left: 0;
	cursor: pointer;
	background: #ddd url(../images/loader.gif) no-repeat 50% 50%;
}

/*4 hình*/
@media only screen and (max-width: 1220px){
	.albumView{margin-left: -1.5%;padding-right: 0;}
	.galleria-thumbnails .galleria-image {width: 22.5% !important; float: left !important; margin-left: 1.5% !important; left: 0px !important;position: relative !important; height: auto !important; top: 0 !important;margin-left: 0;}
	.galleria-thumbnails .galleria-image img{position: relative !important;opacity: 1 !important;width: 100% !important;height: auto !important;}
	.galleria-stage .galleria-images .galleria-image img{
		width: 80% !important;
	    height: auto !important;
	    top: 0 !important;
	    left: 0 !important;
	    bottom: 0 !important;
	    right: 0 !important;
	    margin: auto !important;
	}
}
@media only screen and (max-width: 1024px){
	.galleria-thumbnails .galleria-image {width: 22.4% !important;}
}
@media only screen and (max-width: 991px){
	.galleria-thumbnails .galleria-image {width: 22.1% !important;}
}
/*3 hình*/
@media only screen and (max-width: 767px){
	.albumView{margin-left: -1.5%;padding-right: 0;}
	.galleria-thumbnails .galleria-image{width: 29.7% !important}
	.galleria-stage .galleria-images .galleria-image img{width: 90% !important;}
}
/*2 hình*/
@media only screen and (max-width: 480px){
	.albumView{margin-left: -2%;padding-right: 0;}
	.galleria-thumbnails .galleria-image{width: 45.2% !important}
	.galleria-stage .galleria-images .galleria-image img{width: 85% !important;}
}
/*1 hình*/
@media only screen and (max-width: 320px){
	.albumView{margin-left: 0;padding-right: 0;}
	.galleria-thumbnails .galleria-image{width: 100% !important;float:none;margin-left: 0 !important;}
	.galleria-container img {
	    width: 100% !important;
	    height: auto !important;
	}
}