div.photo-search {
	text-align: center;
}

div.photo-search form {
	margin: 0;
}
	
#popup-container {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 10095;
	text-align: center;
}

#popup-loading {
	opacity: 0.6;
	filter: alpha(opacity=60);
	position: absolute;
	z-index: 10005;
	width: 100%;
	background-color: #000;
	height: 200px;
	top: 1px;
	display: none;
}

#popup {
	opacity: 1.0;
	position: relative;
	z-index: 10000;
	width: 100%;
	background-color: #000000;
	border: 2px solid #222;
}

#popup-close {
	position: absolute;
	z-index: 10010;
	right: 0;
}

#popup-header {
	height: 27px;
	opacity: 0.6;
	text-align: left;
	transition: opacity .2s ease-out;
	display: inline-block;
	width: 100%;
	z-index: 11000;
}

#popup-header:hover {
	opacity: 1;
	transition: opacity .2s ease-in;
}

#tags {
	padding-right: 40px;
	position: relative;
	left: 0;
}

#popup-footer {
	height: 140px; 
	padding-top: 20px;
	opacity: 0.6;
	transition: opacity .2s ease-out;
}

#popup-footer:hover {
	opacity: 1;
	transition: opacity .2s ease-in;
}

@media screen and (max-width: 960px) {
	#popup-footer {
		display: none;
	}
}

@media screen and (max-height: 750px) {
	#popup-footer {
		display: none;
	}
}

#popup-header .btn-toolbar, #popup-header ul {
	margin: 0 0 4px 4px;
}

#overlay {
	opacity: 0.8;
	filter: alpha(opacity=80);
	background-color: #000000;
	left: 0;
	top: 0;
	bottom: 0;
	right: 0;
	z-index: 90;
	position: fixed;
	display: none;
}

#setPhotos .item {
	/*width: 320px;
	max-width: 320px;
	border: 0px solid black;*/

	width: 308px;
	margin: 0 0 6px 0;
	-webkit-transition: left .4s ease-in-out, top .4s ease-in-out .4s;
	-moz-transition: left .4s ease-in-out, top .4s ease-in-out .4s;
	-ms-transition: left .4s ease-in-out, top .4s ease-in-out .4s;
	-o-transition: left .4s ease-in-out, top .4s ease-in-out .4s;
	transition: left .4s ease-in-out, top .4s ease-in-out .4s;

	/* box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); */
	border: 1px solid #ddd;
	overflow: hidden;
}

#setPhotos .item.square {
	height: 308px;
}

#setPhotos .item.landscape {
	height: 205px;
}

#setPhotos .item.portrait {
	height: 418px;
}

#setPhotos .item.panorama {
	width: 624px;
	height: 205px;
}

#setPhotos .item.w2 {
	width: 628px;
}

#setPhotos .item div {
	width: 100%;
	height: 100%;
}

.img-polaroid {
	margin: 2px;
	padding: 0px;
	box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
	border: 1px solid #ddd;
}

#setPhotos {
	padding: 0 4px 0 4px;
	width: 80%;
}

#photo-title {
	text-align: left;
	margin: 0px;
	font-size: 20px; 
	color: #ffffff;
	line-height: 20px;
	margin: 0;
}

.img-polaroid:hover {
	background-color: #ccc;
	transition: background 0.2s;
}

.cover-photo {
	text-align: center;
}

.set-title {
	font-size: 11px;
	overflow-x: hidden;
	text-align: center;
	margin: 0;
}

.thumbnail-title {
	font-size: 11px;
	overflow-x: hidden;
	text-align: right;
	margin: -20px 0 0;
	height: 20px;
	text-shadow: 0px 0px 4px black;
	background: rgba(0, 0, 0, 0.5);
	width: 100%;
	position: relative;
	opacity: 0;
	-webkit-transition: opacity .4s;
	-moz-transition: opacity .4s;
	-ms-transition: opacity .4s;
	-o-transition: opacity .4s;
	transition: opacity .4s;
}

.item:hover .thumbnail-title {
	opacity: 1;
}

.thumbnail-title a {
	color: white;
	white-space: nowrap;
	padding: 4px;
}

#photo-description {
	font-size: small;
	color: #ffffff;
	line-height: 25px;
}

#photo-description p {
	margin-bottom: 0;
}

#photo-description blockquote {
	margin-bottom: 0;
}

#photo-content #exif {
	text-align: left;
	display: none;
	position: absolute;
	z-index: 1000;
	width: 100%;
	height: inherit;
	margin-left: 40px;
}

#more-loading {
	opacity: 0;
	background-color: rgba(100, 100, 100, 0.7);
	width: 100%;
	position: fixed;
	bottom: 0;
	transition: opacity 0.2s ease-in-out;
}

#exif pre {
	overflow-y: scroll;
	opacity: 0.8;
	filter: alpha(opacity=80);
	background-color: black;
	height: 100%;
	width: 100%;
	margin-top: 0px;
	border-radius: 0;
}

#sizeMenu {
	z-index: 12000;
}

#tags li, #contexts li {
	display: inline;
	list-style-type: none;
	padding-right: 4px;
}

div.photo img {
	margin-left: auto;
	margin-right: auto;
	max-width: inherit;
}

#carousel {
	margin: 0 auto;
}

#carousel-nav {
	width: 80%;
	margin-left: auto;
	margin-right: auto;
}

#carousel-nav button {
	top: 50px;
}