popups {
	display: none;
}

popups.active {
	display: block;
}

popups .popupContainer{
	position: relative;
	white-space: nowrap;
	height: 100%;
	left: 0;
	padding: 0 20px;
}

popups .item {
	display: inline-block;
	font-size: 0;
	white-space: nowrap;
	margin: 5px 10px 10px;
	position: relative;
	overflow: hidden;
}

popups .itemContents {
	display: inline-block;
	height: 130px;
	/*width: 864px;*/
	width: 930px;
	position: relative;
	background: #CCCCCC;
}

popups .itemContents.noResponses {
	/*width: 1156px;*/
	width: 1202px;
}

popups .itemContents.focused {
	background: white;
}

popups .backgroundHighlight {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;

	opacity: 1;
}

popups .focused .backgroundHighlight {
	opacity: 0.6;
}

popups .item .iconContainer {
	display: block;
	position: absolute;
	width: 133px;
	height: 133px;
}

popups .item .iconContainer .icon {
	display: block;
	position: absolute;
	top: 50%;
	width: 80%;
	height: 80%;
	left: 50%;
	background-size: contain;
	/* These two lines seem to have no effect */
	/*background-repeat: no-repeat;*/
	/*background-position: center center;*/
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);

	z-index: 0;

	background-color: transparent;
	-webkit-filter: grayscale(100%) brightness(100);
}

popups .item .body {
	position: absolute;

	top: 0;
	left: 143px;
	/*height: 133px;*/
	width: 580px;

	font-size: 0;

	height: 100%;
}

popups .item .body .bodyImage {
	display: inline-block;
	position: relative;

	width: 50%;
	height: 100%;
	padding-left: 10px;
	box-sizing: border-box;
}

popups .item .body .bodyImage img {
	position: absolute;
	top: 50%;
	left: 50%;
	max-width: 90%;
	max-height: 90%;
	border: 4px solid white;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	box-shadow: 0px 0px 4px black;
}

popups .item .itemContents.noResponses .body {
	width: 872px;
}

popups .item .body .bodyText {
	color: white;
	display: inline-block;
	position: relative;

	width: 100%;
	height: 100%;

	box-sizing: border-box;
}

popups .item .body.hasImage .bodyText {
	width: 50%;
	padding-right: 10px;
}

popups .item .title {
	font-size: 0.65rem;
	position: absolute;
	line-height: 40px;
	text-transform: uppercase;
	font-weight: bold;
	top: 5px;
	width: 100%;
	height: 40px;
	text-overflow: ellipsis;
	overflow: hidden;
}

popups .item .thumbnail {
	background: white;
	width: 110px;
	height: 110px;
	position: absolute;
	right: 11px;
	top: 11px;
	border-radius: 80px;
	background-size: cover;
}

popups .item .description {
	position: absolute;
	font-size: 0.7rem;
	bottom: 5px;
	height: 80px;
	width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	-webkit-box-orient: vertical;
	white-space: normal;
	-webkit-line-clamp: 3;
}

popups .item .responses {
	position: relative;
	display: inline-block;
	top: 0;
	height: 100%;
	white-space: nowrap;
	font-size: 0;
}

popups .item .responses .response {
	box-sizing: border-box;
	height: 63px;
	position: relative;
	overflow: hidden;
	width: 0;
	margin-left: 0;
	margin-bottom: 7px;
	/*background: white;*/

	background-color: rgb(221,221,221);
}

popups .item .responses.response-count-1 .response {
	height: 134px;
}

popups .item .responses .response:last-child {
	margin-bottom: 0;
}

popups .item .responses .response.responding {
	background-size: 110px 110px;
	background-image: url('/images/loadingStripe.png') !important;
	-webkit-animation: loadingStripes 1s linear 0s infinite;
}

popups .item .responses .response.responded {
	background: #666666 !important;
}

popups .item .responses .response .backgroundHighlight {
	opacity: 0;
}

popups .item .responses .response.focused .backgroundHighlight {
	opacity: 1;
}

popups .item .responses .response.responded .backgroundHighlight {
	opacity: 0 !important;
}

popups .item.active .responses .response,
popups .item.containsFocus .responses .response {
	width: 280px;
	margin-left: 12px;
}

popups .item .responses .response .text {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 211px;
	color: black;
	font-size: 0.6rem;
	text-align: center;
	font-weight: normal;
	white-space: normal;
	-webkit-transform: translateY(-50%) translateX(-50%);
	transform: translateY(-50%) translateX(-50%);
}

popups .item .responses .response.focused .text{
	color: white;
}

popups .item .responses .response.responded .text {
	color: #CCCCCC;
}

popups .item .responses .response.tizenhovered::after,
popups .item .responses .response.focused::after {
	content: ' ';
	display: block;
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
}

popups .item .responses .response.responding::after,
popups .item .responses .response.responded::after {
	background: transparent !important;
}
