/*
	TODO: Move the styles that relate to the gallery from styles.css to here
*/

.header {
	background: #F1F1F1 no-repeat right center;
	height: 75px;
	margin: 10px 0;
	border-top-left-radius: 5px;
	border-bottom-left-radius: 5px;
	-webkit-border-top-left-radius: 5px;
	-webkit-border-bottom-left-radius: 5px;
}

#logo {
	height: 75px;
	width: 400px;
	opacity: 0.9;
	filter: alpha(opacity=90); /* For IE8 and earlier */
}

.photogallery_table_albums {
	width: 100%;
}

.photogallery_table_content {
	width: 100%;
}

.photogallery_table_albums tr, .photogallery_table_content tr {
	padding: 15px;
}

.photogallery_table_albums td, .photogallery_table_content td {
	padding: 10px;
}

.photogallery_table_albums img, .photogallery_table_content img {
	max-height: 150px;
	max-width: 200px;
}

body {
	margin-top: 50px;
}


@media all and (max-width: 768px) {
	body {
		margin-top: 50px;
	}

	.data-product-page {
		text-align: center;
	}
}

@media all and (min-width: 768px) {
	.data-product-page {
		text-align: left;
	}
}

@media all and (min-width: 992px) {
	.data-product-page {
		width: 900px;
		margin: 0 auto;
		display: inline;
	}
}

.search-component > .input-group-addon:hover {
	cursor: pointer;
	background-color: #ddd;
}

.search-component > .input-group-addon:active {
	background-color: #4FB2C9;
	color: #fff;
}

.scroller {
	text-align: center;
}

.scroller-left {
	float: left;
}

.scroller-right {
	float: right;
}

.scroller > a {
	display: inline-block;
	vertical-align: middle;
}

.scroller > button {
	display: inline-block;
	vertical-align: middle;
}

.data-product-wrapper {
	text-align: center;
	margin: 2px auto;
	padding: 20px;
	background-color: #eee;
	border-radius: 5px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.data-product-page {
	position: relative;
	display: none;
}

.data-product-page.current {
	display: inline;
}

.data-product {
	width: 250px;
	display: inline-block;
}

.data-product-pager {
	clear: both;
	width: 70%;
	margin: 0 auto;
}

.data-product-pager-indicator {
	display: inline-block;
	color: #cccccc;
}

.data-product-pager-indicator.current {
	color: #444;
}

.data-product-pager-indicator:hover {
	color: #404040;
	text-decoration: none;
}

.data-product-thumbnail {
	height: 166px;
	width: 240px;
	text-align: center;  /* align the inline(-block) elements horizontally */
	font: 0/0 a;         /* remove the gap between inline(-block) elements */
	background: no-repeat 50% 50%;
	-moz-background-size: cover;
	-webkit-background-size: cover;
	background-size: cover;
}

.data-product-thumbnail:before, .scroller:before {
	content: ' ';
	display: inline-block;
	vertical-align: middle;
	height: 100%;
}

.data-product-thumbnail > img {
	display: inline-block;
	vertical-align: middle;
	max-height: 166px;
}


.box-title {
	-o-text-overflow: ellipsis; /* Opera */
	text-overflow: ellipsis; /* IE, Safari (WebKit) */
	overflow: hidden; /* don't show excess chars */
	white-space: pre-wrap;  /* force single line */
	min-height: 36px;
	color: #4fb1c8;
}

.box-source {
	text-transform: capitalize;
	-o-text-overflow: ellipsis; /* Opera */
	text-overflow: ellipsis; /* IE, Safari (WebKit) */
	overflow: hidden; /* don't show excess chars */
	white-space: pre-wrap;  /* force single line */
	font-size: 10px;
	height: 28px;
}