#search
{
	margin: 20px 20px 5px 20px;
}

#search form
{
	text-align: center;
}

#search input[type=text]
{
	width: 400px;
}

.pagination
{
	margin: 10px -20px 0px -20px;
	background-color: #F2F2F2;
	text-align: center;
	padding: 5px 0px;
	font-size: 16px;
	border-top: 1px solid #c0c0c0;
	border-bottom: 1px solid #c0c0c0;
	display: block;
}

.pagination img
{
	vertical-align: middle;
}

#pagination_settings
{
	margin-right: 10px;
	font-size: 12px;
	float: right;
}

#link_counter
{
	text-align: center;
}

#links h1
{
	background: none;
}

form textarea, form input[type='text'], form input[type='password'], form select
{
	width: 100%;
	border: 1px solid #a0a0a0;
	padding: 5px;
	
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	box-sizing: border-box;
}

form textarea:focus, form input[type='text']:focus, form input[type='password']:focus, form select:focus
{
	border: 1px solid #505050;
}

form textarea
{
	height: 150px;
}

form
{
	padding: 5px;
	text-align: left;
}

form .formblock
{
	margin-bottom: 5px;
}

.bordered_form
{
	border: 1px solid #a0a0a0;
}

#login_form
{
	width: 260px;
	margin: auto;
	margin-top: 20px;
}

#login_form .formblock label
{
	width: 100px;
	display: inline-block;
	vertical-align: middle;
}

#login_form .formblock input
{
	width: 150px;
	display: inline-block;
	vertical-align: middle;
}

#confirm_form
{
	width: 200px;
	text-align: center;
	margin: auto;
	margin-top: 20px;
}

hr
{
	border: none;
	border-bottom: 1px solid #a0a0a0; 
}

.button_sep
{
	margin-left: 25px;
}

#admin-menu
{
	text-align: right;
}

#admin-menu a
{
	display: inline-block;
	padding: 3px 30px;
	font-size: 16px;
	text-decoration: none;
	border: 1px solid #AAA;
}

#admin-menu a:hover
{
	background: #ddd;
}

a img, a
{
	border: none;
	text-decoration: none;
}

div.error
{
	background-color: rgba(255, 0, 0, .1);
	color: #FF0000;
	padding: 5px;
	border: 1px solid #FF0000;
	margin-bottom: 10px;
}

div.info
{
	background-color: rgba(0, 0, 255, .1);
	color: #0000FF;
	padding: 5px;
	border: 1px solid #0000FF;
	margin-bottom: 10px;
}

.qrcode
{
	display: block;
	position: absolute;
	border: 1px solid #c0c0c0;
	transition: all 0s ease 0s;
}

div.error
{
	background-color: rgba(255, 0, 0, .1);
	color: #FF0000;
	padding: 5px;
	border: 1px solid #FF0000;
	margin-bottom: 10px;
}

div.info
{
	background-color: rgba(0, 0, 255, .1);
	color: #0000FF;
	padding: 5px;
	border: 1px solid #0000FF;
	margin-bottom: 10px;
}

.qrcode
{
	display: block;
	position: absolute;
	border: 1px solid #c0c0c0;
	transition: all 0s ease 0s;
}

#thumbnail_preview
{
	width: 150px;
	height: 150px;
	margin-bottom: 5px;
	border: 1px solid #a0a0a0;
	line-height:150px;
	color: white;
	background-color: black;
}

#thumbnail_preview img
{
	max-width: 150px;
	max-height: 150px;
	vertical-align: middle;
	color: white;
}

#thumbnail_previous
{
	margin-right: 10px;
}

#thumbnail_picker
{
	text-align: center;
	display: inline-block;
}

#nb_thumbnails
{
	font-size: 12px;
	font-weight: bold;
}

#search .error
{
	text-align: center;
}

#links
{
	display: block;
	margin: 10px -20px 0px -20px;
	border-bottom: 1px solid #c0c0c0;
	text-align: left;
}

#links .title
{
	font-size: 20px;
	font-weight: bold;
	text-decoration: none;
	display: block;
	margin-bottom: 10px;
}

#links a, #links .title
{
	transition: color 0.25s ease 0s;
}

#links .title:hover, #links a:hover
{
	color: #777;
}

#links .entryinfos 
{
	margin-top: 10px;
	font-size: 12px;
	display: block;
	word-wrap: break-word;
}

#links .entryinfos .item
{
	display: inline;
	vertical-align: middle;
}

#links .entryinfos .item img
{
	vertical-align: middle;
}

#links .entryinfos .item.tags
{
	display: block;
}

#links .entry_desc
{
	display: block;
}

#links .entry_desc a
{
	color: #1c4c79;
}

#links .entry_desc a:hover
{
	color: #777;
}

#links .thumbnail
{
	float: right;
	margin-left: 10px;
}

#links .thumbnail img
{
	max-width: 150px;
	max-height: 150px;
	border: 1px solid #ccc;
	padding: 1px;
}

#links .evenentry, #links .oddentry
{
	border-top: 1px solid #c0c0c0;
	padding: 5px 20px;
	font-size: 14px;
	clear: both;
}

#links .evenentry:after, #links .oddentry:after
{
	content: ' ';
	clear: both;
	display: block;
}

#links .evenentry
{
	background-color: #fff;
}

#links .oddentry
{
	background-color: #F2F2F2;
}

#links .private_link
{
	background: url('private.png') no-repeat left center;
	padding-left: 45px;
}

/*#links
{
	display: block;
	margin-bottom: 100px;
}

#links #link_counter
{
	padding-right: 10px;
	margin-bottom: 0px;
	text-align: left;
	font-style: italic;
	text-align: right;
}





#body
{
	margin-top: 10px;
	margin: 5px;
	padding: 5px;
}

h1, h2, h3, h4, h5
{
	margin: 0;
	padding: 0;
}*/

#tagcloud
{
	margin: 20px;
	text-align: justify;
}

#thumbcloud
{
	margin: 20px;
	text-align: justify;
	vertical-align: bottom;
}

#thumbcloud .thumbcloud_item
{
	display: inline-block;
	padding: 10px;
	width: 150px;
	height: 150px;
	line-height: 150px;
	text-align: center;
}

#thumbcloud .thumbcloud_item img
{
	max-width: 150px;
	max-height: 150px;
	vertical-align: middle;
}


#top-menu
{
	text-align: center;
	padding: 10px 0px 20px 0px;
}

#top-menu a
{
	padding: 0px 5px;
}

#top-menu a img
{
	vertical-align: middle;
}


@media (max-width: 640px)
{	
	#search input[type=text]
	{
		width: 100%;
	}
	
	#links
	{
		word-wrap: break-word;
	}
	
	#links .entry_desc
	{
		text-align: left;
	}
	
	#links .thumbnail
	{
		float: none;
		display: block;
		margin-left: auto;
		margin-right: auto;
		text-align: center;
	}
	
	.button_sep
	{
		margin: auto;
	}
}
