/**v0.5.3**/
de-gallery {
	font-family: 'Open Sans', 'Roboto', Helvetica, Arial, sans-serif;
}
de-gallery button:focus {
	outline:none;
}
de-gallery button:hover {
	cursor: pointer;
}
de-gallery h2 {
	font-weight: 300;
	margin: 10px 20px;
	display: inline-block;
	color: white;
	height: 38px;
	position: relative;
}
de-gallery .btn-op {
	font-family: "Material Icons";
	border: none;
	background: transparent;
}
de-gallery .btn-op:hover {
	opacity: 0.75;
}
de-gallery .btn-close {
	position: absolute;
	right: 5px;
}
de-gallery .btn-close:after {
	content: "close";
	display:inline-block;
	padding:5px;
	font-size:2.1em;
	color: white;
}
header.gallery-header {
	position: relative;
	height: 60px;
	background: #0061A1;
	display: block;
}
.gallery-mask {
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0px;
	left: 0px;
	background: black;
	opacity: 0.4;
}
.gallery-container {
	position: fixed;
	width: 100%;
	top: 0;
	left: 0;
	right: 0;
	max-width: 1280px;
	margin: 5% auto;
	background: white;
}
.gallery-nav.nav-tabs {
	height: 60px;
}
.gallery-nav .btn-tab {
	border: none;
	background: transparent;
	height: 100%;
	width: 120px;
	font-size: 1em;
	color: #aaa;
}
.gallery-nav.nav-tabs {
	height: 60px;
	border-bottom: 1px solid #999;
	background: white;
}
.gallery-nav .btn-tab.active {
	border-bottom: solid 6px #ef3f3d;
	color: #333;
}
.gallery-content {
	height: 65vh;
	display: block;
	background: #f4f4f4;
	position: relative;
}
.gallery-img-content {
	display: inline-block;
	width: 75%;
	overflow-y: scroll;
	height: 100%;
	box-sizing: border-box;
	padding: 15px;
}
input.name-filter {
	padding: 5px;
	min-width: 300px;
}
.gallery-img-content img.square-img, .gallery-img-content img.portrait-img {
	max-height: 100%;
	width: auto;
}
.gallery-img-content .gallery-img-container, 
.gallery-file-content .gallery-img-container {
	display: inline-block;
	margin: 5px;
	width: 100px;
	vertical-align: top;
	border: 1px solid #ccc;
	max-height: 100px;
	position: relative;
}
.gallery-img-content .gallery-img-container .btn-remove, 
.gallery-file-content .gallery-img-container .btn-remove {
	position: absolute;
	right: -10px;
	background: #ef3f3d;
	width: 20px;
	height: 20px;
	color: white;
	top: -10px;
	border-radius: 20px;
	padding: 0px;
	font-size: 1.42em;
	z-index:20;
}
.gallery-img-content .gallery-img-container .btn-remove:hover,
.gallery-file-content .gallery-img-container .btn-remove:hover {
	opacity: 1.0;
	background:#ca1f1d;
}
.gallery-img-content .gallery-img-container .btn-remove:after, 
.gallery-file-content .gallery-img-container .btn-remove:after {
	content:"remove";
}
.gallery-tab.img-tab {
	height: 100%;
	position: relative;
}
.gallery-tab .gallery-img {
	height:100px;
	overflow:hidden;
	display:table-cell;
	vertical-align: middle;
	text-align: center;
}
.gallery-preview-pane .gallery-tab .gallery-img {
	overflow:scroll;
}
.gallery-file-content .gallery-img-container .gallery-img img{
	max-width:100%;
}
.gallery-tab .gallery-img:hover {
	cursor: pointer;
}
.gallery-preview-pane {
	display: inline-block;
	width: 25%;
	vertical-align: top;
	right: 0px;
	position: absolute;
	background: white;
	padding: 15px;
	height: 100%;
	border-left: 1px solid #ddd;
	box-sizing: border-box;
	overflow-y:scroll;
}
.gallery-preview-pane .gallery-img-container {
	min-height: 150px;
	border: 1px solid #cecece;
}
.gallery-tab .gallery-preview-pane  .gallery-img {
	height:initial;
	max-height: 200px;
	text-align: center;
}
.gallery-tab .gallery-preview-pane  .gallery-img.portrait, .gallery-tab .gallery-preview-pane  .gallery-img.portrait{

}
.gallery-preview-pane .gallery-img img {
	max-width: 100%;
}
.gallery-img-meta dl {
	font-size: 0.9em;
	color: #666;
}
.gallery-img-meta dt {
	display: inline-block;
	width:30%;
	font-weight:600;
}
.gallery-img-meta dd {
	display: inline-block;
	margin-left: 5px;
	width: 65%;
	word-wrap: break-word;
	vertical-align: top;
}
.gallery-tab.file-tab {
	padding: 10px;
	height: 100%;
	position: relative;
	overflow: scroll;
	box-sizing: border-box;
}
}
.gallery-file-content {
	min-height: 10px;
}
.gallery-file-container .gallery-img-meta {
	display: inline-block;
	width: 30%;
	min-width: 300px;
	margin:5px;
}
.gallery-file-container .gallery-img-meta dl {
	margin:0px;
}
.gallery-file-container .gallery-img-meta dt {
	width: 100px;
}
.gallery-file-container .gallery-img-meta dd {
	width: 65%;
	min-width:200px;
}
.gallery-file-container .file-name {
	max-width: 100%;
}
.gallery-file-container .file-size {
	text-align:left;
}
.gallery-file-action {
	min-height: 40px;
}
label.btn-upload, button.btn-upload-all {
	border: none;
	background: #0061A1;
	color: white;
	padding: 10px 20px;
	min-width: 85px;
	margin-bottom: 5px;
	display: inline-block;
	text-align: center;
	line-height: 16px;
}
label.btn-upload:hover, button.btn-upload-all:hover {
	opacity: 0.75;
	cursor:pointer;
}
input#upload-file {
	display: none;
}
.gallery-filters {
	margin-bottom:5px;
}
de-gallery .btn-select, de-gallery .btn-submit {
	border: none;
	background: #0061A1;
	color: white;
	padding: 10px 20px;
	width: 100%;
	margin-bottom:5px;
}
de-gallery .btn-select:hover, de-gallery .btn-submit:hover {
	opacity:0.75;
}
.img-remove, .gallery-file-progress {
	background: rgba(0, 0, 0, 0.4);
	height: 100px;
	position: absolute;
	width: 100px;
	top: 0px;
	text-align: center;
}
.img-remove:after {
	content: "Removing";
	display: inline-block;
	height: 20px;
	margin-top: 30px;
	color: white;
}
.gallery-file-progress span {
	margin-top:30px;
	display: block;
	color:white;
}
.file-name, .file-size {
	font-size: 0.9em;
	display: block;
	word-wrap: break-word;
	max-width: 100px;
	padding: 0px 5px;
}
.file-size {
	color: #666;
	text-align: right;
}
.tags-container {
	background:white;
}
.tags-filter.tags-container {
	background:transparent;
}
