
body {
	background-color:#222;
	color:#ccc;
	font-family: 'Questrial', sans-serif;
	margin:0;
}

#container {	
	margin:0;
	padding:0;
	border:solid 1px #ff0;
	border-color:transparent;
}

img {
    border:0;
}

a {
	color:#ccc;
}


#head, #foot {
	text-align:center;
}

#head h1 {
	font-family: Palatino Linotype, Book Antiqua, Palatino, serif;
	margin-top:0;
}

@font-face {
    font-family: geoicons;
    src: url(/geosans_typicons.ttf);
}
.myfont {
	font-family:geoicons;
	font-size:1.6em;
	text-decoration:none;
}
.myfont a {
	text-decoration:none;
	color:inherit;
}

#info {
	text-align:left;
	margin:0.3em 0 0 0.3em;
}
#info a {
text-decoration:none;
color:inherit;
}

#infoicons {
	text-align:center;
	float:left;
}

div#infoicons > a img {
	margin:5px;
}

#infotext {
	border: solid 1px #ccc;
	padding:0.5em;
	margin:0 50px;
	background-color:#444;	
	display:block;
	z-index:3;
}



#thumbs {
	max-width:<?= $THUMBS_DIV_WIDTH ?>px;
	padding:0 0px;
	
	text-align:center;
	border:solid 1px #f3f;
	border-color:transparent;
	height:100%;
	margin:auto;
	
	overflow:auto;
}

#thumbs img {
	margin:0px;
	padding:0;
	border:solid 1px #666;
}

.thumb {
	width:<?=$THUMBS_WIDTH ?>px;
	height:<?=$THUMBS_WIDTH ?>px;
	float:left;
	margin:9px;
	padding:0;
	border:solid 1px blue;
	border-color:transparent;
	display:block;
}

.thumb img {
	max-width:<?=$THUMBS_WIDTH ?>px;
	max-height:<?=$THUMBS_WIDTH ?>px;
}

#main {
	border:solid 3px #ccc; 
	visibility:hidden;
	z-index:5;	
	position:fixed;	
	top:0px;
	left:0px;    
	
    padding:0;    
	background-color:rgba(34,34,34, 0.97);	
}

#mainName {
	position:fixed;
	left:0.3em;
	top:0.3em;
}

#theImage {
	border:solid 1px #666; 	
}


#navigLeft {
	float:left;
	padding:0;
	margin:0;
	margin-top:50%;
	margin-left:25px;
}
#navigRight {
	float:right;
	padding:0;
	margin:0;
}
#navigRightArrow {
	margin-top:50%;
	margin-right:25px;
}

#navigClose {
	float:right;
	margin:10px;
	z-index:8;
}


#panel {
	margin:0;
	width:15rem;
	height:100%; 
	background-color:#333;
	border:solid 0px #999;
	border-left-width:1px;
	margin-right:0px;
	
	float:right;	
	z-index:10;	
	overflow-y:scroll;
}

#navig {
	padding:0px;
	text-align:center;	
	border:dotted 0px #999;
	border-bottom-width:1px;
	margin:0;
	margin-top:20px;
	margin-bottom:10px;
	padding-bottom:20px;
	padding-right:10px;
}

#navig img {
	margin:5px;
}

#imginfo
{
	margin:0;
	padding:0.5em 1em;
}

form {
	color:#999;
	font-size:85%;
	border:solid 0px #f66;
}

#exif {

}

#extrainfo {
	background-color:#444;
	padding:0.05em 0.3em;
	font-size:85%;
	display:none;
}

#comments {
	color:#ccc;
	margin:0;
	margin-bottom:1em;
	padding:0 1em;
	border:dotted 0px #666;
	border-top-width:1px;	
}

.commentbox {
	clear:both;
	margin-bottom:0.3em;
}
.commentname {
	font-size:85%;
}
.commentdate {
	font-size:85%;
	text-align:right;
	color:#999;
}
.commenttext {
	padding-left:0.5em;
}

#commentform {
	color:#ccc;
	margin:0;
	padding:0 1em;
	border:dotted 0px #666;
	border-top-width:1px;	
}

#commenticon {
		display:none;
	}


.thumbsup, .thumbsup a, a.thumbsup {
font-size:180%;
text-decoration:none !important;
}

/* 1 kolumn */
@media screen and (max-width:479px)
{
	#container {
		width:320px;
		/* border:dotted 1px green;		 */
	}
	
	#thumbs {
		width:200px;
	}
	
	#commenticon {
		display:inline;
	}
	
	#panel {
		float:none;
		width:100%;
		padding-top:40px;
		height:87px;
		overflow:hidden;
	}
	
	#navig {
		margin:5px;
		height:50px;
	}


}

/* 2 kolumner */
@media screen and (min-width : 480px) and (max-width:675px)
{
	#container {
		width:480px;
		/* border:dotted 1px red; */
	}
	
	#thumbs {
		width:400px;
	}
	
	#panel {
		width:180px;
	}
}

/* 3 kolumner */
@media screen and (min-width : 676px) and (max-width:875px)
{
	#container {
		width:676px;
		/* border:dotted 1px blue; */
	}
	
	#thumbs {
		width:600px;
	}
}

/* 4 kolumner */
@media screen and (min-width : 876px) and (max-width:1080px)
{
	#container {
		width:876px;
		/* border:dotted 1px red; */
	}
	
	#thumbs {
		width:800px;
	}
}

/* 5 kolumner */
@media screen and (min-width : 1081px)
{
	#container {
		width:1065px;
		/* border:dotted 1px green; */
		margin:auto;
	}

	#thumbs {
		width:1000px;
	}
}


