/******* IMAGES **********/

.ib {
	display:inline-block;
}

select#pageselector, select#albumselector {
    font-size: inherit;
    font-weight: bold;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    display: inline-block;

}

div#new_album_opener {

}

form.picture_details fieldset {
	display: flex;
	float:left;
}
form.picture_details #form_functions {
	display: block;
    float: left;
    height: auto;
    max-width: none;
    white-space: nowrap;
    margin: 0;
    padding: 0;
    border: 0;
}

form.picture_details .image_tile {
	display: inline-block;
	float:left;
	clear:both;
}

form.picture_details * label {
	width: 8em;
	text-align: right;
	display: inline-block;
}
form.picture_details .fieldblock_gps input {
	border: 0 !important;
}

input.short2 {
	width: 2em;
}
input.short5 {
	width: 5em;
}

fieldset {
    min-width: 100px;
    max-width: 450px;
    display: inline-block;
    margin: 10px;
    vertical-align: top;
    
}

div#album_admin {
	
}

div#album_title_input input[type=text] {
	font-size: 1.5em;
	height:1.5em;
	border: 0;
	border-bottom: solid 1px;
	max-width:40vw;
	width: 20em;
	padding-left: 8px;
}

div.admin_input {
	max-width: 50%;
}


div.admin_input input[type=text] {
	width: 30rem;
}





div.image_tile {
    display: inline-block;
    margin: 5px;
    text-align: center;
    padding: 4px;
    /*box-shadow: 2px 2px 2px 2px; /** solid 1px;*/
   
    box-sizing: border-box;
    overflow:hidden;
}

div.image_tile:hover {
	background: #2e8c09;	
}

.image_tile .album_title a { 
	color: initial;
  /*font-size: 12px;*/
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  /*text-shadow: 0px 1px rgba(0,0,0,0.6);*/
  text-shadow: 0px 1px rgba(255,255,255,0.6);
  text-decoration: none; 
  width:160px; 
  display: inline-block; 
  white-space: nowrap; 
}
.image_tile .album_title .album_count { font-size: 65%;  padding: 1px;   line-height: 12px; vertical-align: middle; text-align: right; display: inline-block;  }
.image_tile .album_title .album_name { text-align: center !important;
    	margin: 0; height: 42px; width: 140px; line-height: 42px; vertical-align: middle; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; display: inline-block;  }

/*{ text-overflow:    ellipsis;  height: 48px; width: 100px; overflow: hidden; display: block; position:relative; }*/
/*.image_tile .album_title a { width: 90%; text-align: left; display: block; }*/
.image_tile_world 	 .album_title	{	border-bottom: solid 2px transparent; 	}
.image_tile_public  .album_title	{	border-bottom: solid 2px transparent; 	}
  .image_tile_local .album_title	{	border-bottom: solid 2px orange; 	}
.image_tile_private	.album_title	{	border-bottom: solid 2px red; 	}

.image_tile .extended_data {
	margin: -41px 0;
	position:relative;
	z-index:1;
	text-align: right;
}

.image_tile .extended_data div {
	display: inline-block;
}

.hasgps {
	background: rgba(255,255,255,0.4) url(../../view/images/gps_icon.png) no-repeat center center;
    padding: 1px;
}

div.thumbnail .hasgps {
    /*position: relative;*/
    /* margin-top: -2.2rem; */
    /*max-width: 2rem;*/
    /*box-sizing: border-box;*/
    /*margin: 0;*/
    /*margin-top: -2.2rem;*/
 /*   z-index: 1001;*/
}


.pos_print {
    height: 25px;
    width: 25px;
    padding: 1px;
    border-radius: 4px;
    position: relative;
    background: rgba(255,255,255,0.4);
    font-size:11px;
}

.hasgps:hover,.edit_button:hover {
	box-shadow:0;
	background-color: rgba(255,255,255,0.8);
}


.checkbox_toggler {
	background: rgba(255,255,255,0.4) url(../../view/images/checkbox.gif) no-repeat center center;
   /* display: inline-block;
    height: 3rem;
    width: 2rem;
    padding: 1px;
    border-radius: 4px;
    min-width: auto;
    min-height: auto;
    border: 0;
    line-height: 3rem;
    vertical-align: middle; */
    
}

.tileselect {
	height: 3rem;
    width: 3rem;
    /* padding: 1px; */
    /* border-radius: 4px; */
    /* float: left; */
    position: relative;
    /* left: -3rem; */
    /* border: solid 1px black; */
    margin-left: -3rem;
    /* position: absolute; */
    display:none;
}

.tileselect:checked + a img {
	box-sizing: border-box;
	border: solid 1px green;
}
i.thumb-overlap {
	font-size: 160px;
    height: 156px;
    width: 160px;
    display: inline-block;
    margin-right: -160px;
    position: relative;
    float: left;
    line-height: 160px;
    visibility: initial;
    z-index: 1;
    color: rgba(0,0,0,0.3);
}

.tileselect:checked  + i.thumb-overlap {
	color: green;
}

.image_tile .description { 
	font: 8pt arial,verdana,sans-serif;
    margin: 0;
    padding: 0;
    float: right;
    margin-top: -32px;
    height: 16px;
    overflow: hidden;
}
.image_tile .image_thumbnail { 
	margin:8px; 
	padding:0; 
}


	div.tile_functions {
		
		position: absolute;
		
		margin: 0 auto;
		margin-top: -2rem;
		height: 1.5rem;
		
	}
	

section.collapsed {
	height: 64px;
	overflow:hidden;
}

#pictures_per_page_container {
	float: right;
}


.images {
  margin: 0 auto;
}

div.thumbnail {
	padding: 0;
	text-align: center;
	vertical-align: middle;
	display: inline-block;
	margin: 8px;
}

.gallery_list section h3 {
	-webkit-font-smoothing: antialiased;
  /*text-shadow: 0px 1px rgba(0,0,0,0.6);*/
  text-shadow: 0px 1px rgba(255,255,255,0.6);
 text-align: center;
 margin-top: 20px;
 padding: 5px;
 border-bottom: solid 1px rgba(0,0,0,0.6);
}

div.thumbnail div.tcontrols span {
    z-index: 1;
     height: 2rem;
    width: 2rem;
    max-width: 2rem;
    box-sizing: border-box;
     display: inline-block !important;
    cursor: pointer;
}

div.thumbnail .edit_button  {
	
}

div.thumbnail div.tcontrols {
    position: relative;
    margin-top: -2.3em;
    height: 2em;
    text-align: end;
   
}

/** NEW WEBVIEW **/
#webviews {
	display: none;
	position: fixed;
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
	z-index:200;
	background: rgba(0,0,0,0.95);
}

#webviews div.picture { 
	text-align: center;
	margin-top: 5px;
	width: 100vw;
	height: 100vh;	
	vertical-align: bottom;
	box-sizing: border-box;
}

#webviews .hasgps, #webviews .pos_print {
	cursor: pointer;
	height: 32px;
	width: 32px;
	border-radius: 5px;
	position: absolute;
	top: 50%;
	left: 50%;
}


#webviews div.picture .description {
	font: 9pt arial,verdana,sans serif;
	background: rgba(255,255,255,0.9);
	width:768px;
	height:16px;
	position: absolute;
}

.image_nav {
    position: fixed;
    top: calc(50% - 32px);
    height: 48px;
    width: 32px;
    overflow: hidden;
    font: 2rem Arial, Verdana, Sans Serif;
    /* border-radius: 17px; */
    /* border: solid 2px grey; */
    background: rgba(255,255,255,0.2);
    z-index: 301;
    text-align: center;
    vertical-align: middle;
    line-height: 3rem;
    cursor: pointer;
    /* color: #333; */
}

.image_nav:hover {
	background: rgba(255,255,255,0.8);
	
}

.album_pageswitch {
    
}

#image_next {
	right: 1%;
}

#album_nextlink {
	float:right;
}

#image_previous {
	left: 1%;
}

#webviews #mapcontainer {
	position: absolute;
	left: 2px;
	top: 1%;
	margin: 0;
}

#webviews .map {
  height:280px;width:240px;
  margin: 0;
  clear: both;
}

#webview_counter {
	position: fixed;
	top:5px;right:5px;
	color: #fff;
	font-size: 12px;
	z-index:401;
	background: rgba(0,0,0,0.5);
}
#webview_closer:hover { 
	color: #fff;
}

#webview_closer {
	position: fixed;
    top: 0.5rem;
    right: 0.5rem;
    color: rgba(255,255,255,0.5);
    font-size: 4em;
    z-index: 401;
    cursor: pointer;
    height: 1em;
    width: 1em;
	display:none;
}

/** NEW WEBVIEW END **/



div.progress {
  height: 6px;
  width: 6px;
  border: solid 1px; 
  display: inline-block;
  
}

.progress span {
  height: 6px;
  width: 6px;
  padding: 0;
  margin: 0;
  position: absolute;
}

.progress_thumb_ok {
  background-color: rgba(0,255,0,0.4);
}

.progress_thumb_fail,.progress_webview_fail {
  border: solid 1px red;
}

.progress_webview_ok {
  background-color: rgba(100,255,0,0.4);
 }

.progress_webview_start {
  background-color: rgba(0,0,0,0.4);
}

.progress_thumb_start {
  background-color: rgba(0,0,0,0.4);
}

#map {
	z-index: 1;
}

#mapcontainer {
	min-width: auto;
	width: auto;
	box-sizing: border-box;
}

#miniworldmap {
  display:none;
  position: absolute;
  height: 180px;
  width: 360px;
  top: 1%;
  left:1%;
  padding:0;
  margin: 0;
  box-shadow: 3px 3px 3px 3px rgba(0,0,0,0.7);
  z-index: 99;
}

#miniworldmap #worldmapmarker {
  position: absolute;
  height: 8px;
  width: 8px;
}

#miniworldmap .spanx {
	height: 2px;
	width: 8px;
	background-color: rgba(255,255,255,0.6);
	position: absolute;
	top: 3px;
	left: 0px;
}

#miniworldmap .spany {
	height: 8px;
	width: 2px;
	background-color: rgba(255,255,255,0.6);
	position: absolute;
	top: 0px;
	left: 3px;
}




ul.linklist li {
    display: inline-block;
    background-color: rgba(63,80,63,0.2);
    width: 280px;
    height: 280px;
    overflow: hidden;
    text-align: center;
    border-radius:8px;
}
ul.linklist li * {
    text-decoration: none;
    line-height: 32px;
    padding: 5px;
    color: white;
    
}

ul.linklist li h4 {
	display: block;
}

div#fullscreenimage {
	position: fixed;
	top: 0;
	left: 0;
	height:100%;
	width:100%;
	overflow:auto;
	z-index: 300;
	display: none;
	vertical-align: top;
	background-color: black;
}

div#fullscreenimage img {
	position:absolute;
	top: 0;
	left: 0;
	vertical-align: top;
	transform-origin: 100% 10%;
}

div.album_admin_functions {
	float:right;
	height: 48px; 
	width: auto;
}

div.image_admin_functions {
    position: relative;
    top: -10px;
    z-index: 3;
    text-align: left;
}

div.image_admin_functions * button {
    width: 24px;
    min-width: 24px;
    max-width: 24px;
}


.progress_outer {width: 100%; position: relative; display: block}
.progress_percent {height: 16px; width: 0px; display:block}

.uploaded_thumb {
	max-width: 160px;
    max-height: 160px;
    width: auto;
    height: 20vw;
	
}


#controls .selall {
	font-size: 8pt;
	line-height: 8pt;
}
.album_details {
	width: 60%;
	display:inline-block;
	float: left;
}

.album_admin {
	width: 60%;
}

.album_dropzone {
	display: inline-block;
	border: 4px dashed;
	width: 40%;
	height: 50vh;
	float: right;
	margin-top: 32px;
	min-width:320px;
	position: absolute;
	top: 32px;
	right: 32px;
	overflow: auto;
}
.album_dropzone:before {
	content: "Bilder ablegen zum Hochladen";
    text-align: center;
    vertical-align: bottom;
    padding: 20px;
    display: block;
}

#fileselecter {
	opacity: 0;
}

div.bgtext {
	/*font-size: 500%;*/
	font-color: light-grey;
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
	overflow:hidden;
	width: 100%;
	height: 100%;
	text-align: center;
	vertical-align: middle;
}


