@charset "UTF-8";

html { overflow: -moz-scrollbars-vertical; }

body {
	padding-top: 70px;
}
body.modalwindow {
	padding-top: 15px;
}
a:hover {
	text-decoration:none;
	cursor:pointer;
}
a.navmain {
	padding-left:20px;
}
a.navmain.active {
	color:#000;
}
.navbar-fixed-top {
	z-index: 1037;
}
.text-center {
	text-align:center;
}
.panel-default>.panel-heading .badge {
	color: #999;
	background-color: #fff
}

/* User permissions table */
table.usr_permissions { border-top:10px solid #fff; }
table.usr_permissions td { padding:2px 10px; line-height: 1.2em; }
table.usr_permissions td:first-child { padding:0 0; }
.usr_permissions label { margin-bottom: 0; cursor:pointer; display:inline-block; }
.usr_permissions .input-group { display: block; }

/* Upload ============================================================================ */
/* Upload progress bar */
.progress {
	margin-bottom:0;
}

.uplalbcatsheadine {
	margin-top:5px;
	background-color:#efefef;
	padding:3px 10px;
}


/* Form elements */
#filterform { margin-bottom:0; }
label {
	display: block;
	max-width: 100%;
	margin-bottom: 5px;
	font-weight: normal;
	cursor:pointer;
}
.input_error {
	border-left:4px solid #f00;
	padding-left:10px;
}
.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control {
	background-color:#FBFBFB;
}
#filterform .form-control, .modalwindow .form-control, table .form-control {
	height:22px;
	padding: 0 6px;
}
.searchbar {
	margin-bottom:20px;
}
.form-control-ppp { /* Pics per page */

	height: 30px;
	padding: 6px 12px;
	font-size: 14px;
	line-height: 1.42857143;
	color: #555;
	background-color: #fff;
	background-image: none;
	border: 1px solid #ccc;
	border-radius: 4px;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
	-webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
	-o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
	transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}


/* Albums ============================================================================ */
/* checkbox list */
ul.albumlist {}
.albumcblist, .albumcblist ul {
	list-style-type:none;
	padding-left:0;
}
.albumcblist {
	padding-top:10px;
}
.datatable .albumcblist {
	padding:10px;
}
#upl_albumheadline { margin-top:20px; font-weight:bold; }
.albumcblist label { display:inline; cursor:pointer; }
.albumcblist ul {
	padding-left:18px;
}
.albumcblist ul { display:none; border-left:1px solid #efefef }
.albumcblist span { display: inline-block; width:15px; margin-right:2px; }
.albumcblist em { display: inline-block; /* margin-right:10px;  width:15px; child numbers disabled */ margin-right:2px; color:#999; font-size:0.8em; }
.albumcblist .open { color:#333; cursor:pointer;}
.albumcblist .closed { color:#666; cursor:pointer;}
.albumcblist .fa-archive {
	color:#999;
}

/* Edit albums */
.albumeditlist {
	list-style-type:none;
	padding:0;
}
.albumeditlist ul { 
	list-style-type:none;
	padding-left:15px;
	border-left:1px solid #ddd;
}
.topalbum { /* li level 1 */
	margin-bottom:20px;
	border-bottom:1px solid #ddd;
	/*	width:50%;
	float:left;
	padding:10px;
	padding-bottom:20px;
	*/
}
.topalbum>form>input {
	font-size:20px;
	background-color:#f5f5f5;
}

/* Add new album */
.addalbum {
	/*	padding:0px 25px 0px 25px; */
}
.addalbum select {
	max-width:200px;
}
.addalbum .form-control, .albumeditlist .form-control {
	height:22px;
	padding: 3px 6px;
}

.addalbum .form-control {
	width:auto;
}

#albumnamesdiv { /* selected albumnames */
	margin-top:10px;
}
.albumnamesdiv {} /* individual albumnames uload page */
.badge {
	margin-left:3px;
	vertical-align: top;
	font-size: 12px;
}
.badge-delete {
	border:1px solid #ddd;
	padding-left:10px;
	padding-right:10px;
	color:#666;
	cursor:pointer;
}

/* Album tree */
#albumtree { /* div replaced by ajax */
	margin-top:60px;
	margin-bottom:60px;
}
#albumtree ul {
	padding-left:0;
	list-style-type:none;
}
#albumtree ul.topalbum>li>span:first-child {
	font-weight:bold;
}
#albumtree ul ul li  {
	border-left:1px solid #ddd;
	padding-left:10px;
}
#albumtree ul ul ul li  {
	border-left:1px solid #ddd;
	padding-left:15px;
}

/* Categories ============================================================================ */
/* checkbox list */
ul.categorylist {}
.categorycblist, .categorycblist ul,
.categorycbeditlist, .categorycbeditlist ul {
	list-style-type:none;
	padding-left:0;
}
.categorycblist, categorycbeditlist {
	padding-top:10px;
}
.datatable .categorycblist, .datatable .categorycbeditlist {
	padding:10px;
}
#upl_catsheadline { margin-top:20px; font-weight:bold; }
.categorycblist label, .categorycbeditlist label { display:inline; cursor:pointer; }
.categorycblist ul, .categorycbeditlist ul { display:none; padding-left:18px; border-left:1px solid #efefef }
.categorycblist span, .categorycbeditlist span { display: inline-block; width:15px; margin-right:2px; }
.categorycblist em, .categorycbeditlist em { display: inline-block; /* margin-right:10px;  width:15px; child numbers disabled */ margin-right:2px; color:#999; font-size:0.8em; }
.categorycblist .open, .categorycbeditlist .open { color:#333; cursor:pointer;}
.categorycblist .closed, .categorycbeditlist .closed { color:#666; cursor:pointer;}
.categorycblist .fa-tag, .categorycbeditlist .fa-tag {
	color:#999;
}

/* Edit categories */
.categoryeditlist {
	list-style-type:none;
	padding:0;
}
.categoryeditlist ul { 
	list-style-type:none;
	padding-left:15px;
	border-left:1px solid #ddd;
}
.topcat { /* li level 1 */
	margin-bottom:20px;
	border-bottom:1px solid #ddd;
	/*
	width:50%;
	float:left;
	padding:10px;
	padding-bottom:20px;
	*/
}
.topcat>form>input {
	font-size:20px;
	background-color:#f5f5f5;
}

/* Add new category */
.addcat select {
	max-width:200px;
}
.addcat .form-control, .categoryeditlist .form-control {
	height:22px;
	padding: 0 6px;
}
.addcat .form-control{
	width:auto;
}


#catnamesdiv, #albnamesdiv { /* selected catnames */
	margin-top:10px;
}
.catnamesdiv, .albnamesdiv {} /* individual catnames uload page */

/* Category tree */
#catstree, #albstree { /* div replaced by ajax */
	margin-top:60px;
	margin-bottom:60px;
}
#catstree ul, #albstree ul {
	padding-left:0;
	list-style-type:none;
}
#catstree ul.topcat>li>span:first-child, #albstree ul.topcat>li>span:first-child {
	font-weight:bold;
}
#catstree ul ul li, #albstree ul ul li  {
	border-left:1px solid #ddd;
	padding-left:10px;
}
#catstree ul ul ul li, #albstree ul ul ul li  {
	border-left:1px solid #ddd;
	padding-left:15px;
}

/* Image library ============================================================================ */
/* catsfiltercol display */
#catsfiltercol, #albsfiltercol {
	position:relative;
	min-height: 1px;
	float:left;
	padding-left:15px;

}
#catsfiltercol button, #catsfiltercol ul, #albsfiltercol button, #albsfiltercol ul {
	/* font-size:14px;  fontsize of onpage-catsfilter */
}
#catsfilter, #albsfilter {}
.catsfiltercolbtn, .albsfiltercolbtn {
	position:relative;
	min-height: 1px;
	padding-left:15px;
	padding-right:0x;
	margin-bottom:20px;
}

#imgcol {
	position:relative;
	min-height: 1px;
	float:left;
	padding-left:15px;
	padding-right:15px;
}

/* flexImages ------------ https://goodies.pixabay.com/jquery/flex-images/demo.html */
.flex-images { overflow: hidden; }
.flex-images .item { 
	float: left;
	margin: 4px;
	border: 1px solid #eee;
	box-sizing: content-box;
	overflow: hidden;
	position: relative;
	cursor:pointer;
}
.flex-images .item img {
	display: block;
	width: auto;
	height: 100%;
}
.flex-images .item .imghoverbtmbar {
	position:absolute;
	bottom:0;
	width:100%;
	text-align:center;
	padding-top:4px;
	background:rgba(255,255,255,.7);
	cursor:default;
	display:none;
}


/* Image hover info */
.img-info-preview {
	width: 500px;
	position: absolute;
	z-index: 1033;
	background: #fff;
	-webkit-box-shadow: 0px 0px 10px -1px rgba(0,0,0,0.75);
	-moz-box-shadow: 0px 0px 10px -1px rgba(0,0,0,0.75);
	box-shadow: 0px 0px 10px -1px rgba(0,0,0,0.75);
	padding:5px;
	display:none; /* controled by js */
}
#editmode { display:none; } /* flag wether data is being editable */

/* shadow behind hover image */
.hoverimg {
	-webkit-box-shadow: 0px 0px 10px 1px rgba(0,0,0,0.75);
	-moz-box-shadow: 0px 0px 10px 1px rgba(0,0,0,0.75);
	box-shadow: 0px 0px 10px 1px rgba(0,0,0,0.75);
}

/* data table hover and editmode */
.datatable {
	border: 1px solid #ddd;
	width:100%;
}
.datatable td { 
	padding: 2px 5px;
	border-bottom: 1px solid #ddd;
	font-size:0.8em;
	vertical-align:top;
}
.datatable td.grey { 
	background-color:#f5f5f5;
	width:115px;
	padding-left:6px;
	padding-right:6px;
}
.datatable td.categories {
	width:250px;
	padding:0;
	display:none;
}
.datatable td.categories div {
	width:250px;
	overflow-x:hidden;
	overflow-y:scroll;
}
.datatable td.albums {
	width:200px;
	padding:0;
	border-left:1px solid #efefef;
	display:none;
}
.datatable td.albums div {
	width:200px;
	overflow-x:hidden;
	overflow-y:scroll;
}
.datatable .albcatsheadine {
	font-weight:bold;
	background-color:#efefef;
	padding:2px 10px;
}
.datatable td.image {
	width:250px;
	padding:0;
	border-left:1px solid #efefef;
	display:none;
}
.datatable td.image .imageinner {
	width:250px;
	text-align:center;
}
.datatable td.image img { 
	max-height:350px;
	max-width:250px;
}
.datatable .label {
	display: inline-block;
	padding: .2em .6em .3em;
	font-size: 0.9em;
	font-weight: 700;
	margin:1px 0px;
	cursor:pointer;
}
.datatable .form-control {
	font-size:1em;
}
/* buttons save/close editmode*/
.edit_buttons { 
	display:none;
	padding:5px 0 0 0;
}
.lib_img_editbtns { /* enclosing btn (a) div */
	position: absolute;
	width: 250px;
	bottom: 30px;
	padding:10px;
}
.lib_img_editbtns a {
	display:block;
	margin-top:10px;
}

/* marker icons lightbox/cart */
span.dimmed {
	color:#999;
}
/* mark pitures on lightbox with triangle to left */
.lightboxmarker {
	position:absolute;
	background-color:#fff;
	padding:0 2px;
	/*
	width: 0px;
	height: 0px;
	-webkit-transform:rotate(360deg);
	border-style: solid;
	border-width: 20px 20px 0 0;
	border-color: #f00 transparent transparent transparent;
	*/
}
.savedmarker { /* marks pic as lastly saved*/
	position:absolute;
	left:50%;
	color:#00B259;
	background-color:#fff;
	width:1.8em;
	height:1.8em;
	border-radius:0.9em;
	font-size:1.8em;
	color:#fff;
	line-height:1.8em;
	text-align:center;
	background:#000;
}
.cartmarker {
	position:absolute;
	right:0;
	background-color:#fff;
	padding:0 2px;
}

/* form inputs data table */
.input-xs { /* mouseover, not editmode */
	font-size: 1em;
	height:auto;
	padding: 0;
	border: none;
	border-radius: 0;
	color:#000;
	-moz-box-shadow:none;
	-webkit-box-shadow:none;
	box-shadow:none;
	width: 100%;
}
/* div containing textarea description */
.desc_editable {
	display:none;
}
.desc_readable { }
textarea { resize:vertical; }

footer {
	height:50px;
}

/* ---------------------- Responsive ------------------------ */








