/*
 * The CSS for harness.org.au.
 *
 * This file is created by RISE.
 *
 */

.video-hub-main {
	list-style: outside none none;
	min-height: 300px;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	max-width: 995px;
}

.video-hub-video {
	float: left;
	margin-left: 4px;
	margin-right: 4px;
	margin-bottom: 10px;
	width: 240px;
	background-color: #fff;
	border-radius: 2px;
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 1px 3px rgba(91, 91, 91, 0.26);
	box-sizing: border-box;
	display: block;
	list-style-type: none;
	opacity: 1;
	overflow: hidden;
	padding: 0;
	height:330px;
}


.video-hub .video-label {
	display: block;
	float: right;
	margin-right: 2px;
	padding: 2px 10px;
	text-align: center;
	text-decoration: none;

}

.video-hub .categories {
	display: flex;
	float: left;
	font-size: 18px;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
}
.video-hub .label {
	text-decoration: none;
	margin: 1px;
}
.video-hub a{
	text-decoration: none;
}

.video-hub a:hover{
	text-decoration: none;
}

.video-hub .label:hover {
	background: #ccc none repeat scroll 0 0;
	text-decoration: none;
}

.video-hub .video-hub-video .video-title {
	padding:0 5px 0px;
	overflow: hidden;
	font-size: small;
	font-weight: bold;
	height: 35px;
}

.video-hub .video-hub-video .video-desc {
	padding:0 5px 5px;
	overflow: hidden !important;
	height: 115px;
	font-size: 12px;
	display: -webkit-box;
	-webkit-line-clamp: 6;
	-webkit-box-orient: vertical;
	max-height: 11rem;
}
/*This will work for firefox*/
@-moz-document url-prefix() {
	.video-hub .video-hub-video .video-desc {
		-webkit-line-clamp: 5;
	}
}

.video-hub-div {
	min-height: 190px;
}

.video-hub-div img {
	min-height: 180px;
	object-fit: scale-down;
	max-width:240px;
	background-color: black;
	max-height: 180px;
}

.video-hub .sort-button {
	float: right;
}

.video-hub .well {
	overflow: auto;
}
/* Center the loader */
#loader {
	position: fixed;
	left: 50%;
	top: 50%;
	z-index: 9999;
	width: 150px;
	height: 150px;
	margin: -76px 0 0 -76px;
	border: 16px solid #f3f3f3;
	border-radius: 50%;
	-webkit-border-radius: 50% !important;
	-moz-border-radius: 50% !important;
	border-radius: 50% !important;
	border-top: 16px solid #3498db;
	-webkit-animation: spin 2s linear infinite;
	animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
	0% { -webkit-transform: rotate(0deg); }
	100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

/* Add animation to "page content" */
.fade-in {
	opacity: 1;
	animation-name: fadeInOpacity;
	animation-iteration-count: 1;
	animation-timing-function: ease-in;
	animation-duration: 2s;
}

@keyframes fadeInOpacity {
	0% {
		opacity: 0.25;
	}
	100% {
		opacity: 1;
	}
}