/*-----------------------------------------------------------*/
/* Styles for Layout Content Rolls Components
/*-----------------------------------------------------------*/

/*AJAX Content Rolls*/

.ajax-content-roll-container .content-roll-header	{
	margin-bottom:20px;
	padding-bottom:20px;
	border-bottom:1px solid #eee;
}

.ajax-content-roll-items-container	{
	margin-top:40px;
}

.ajax-content-roll-items	{
	position:relative;
	overflow:visible !important;
}

.ajax-content-roll-container.loading .ajax-content-roll-items	{
	opacity:0.5;
}

.no-opacity .ajax-content-roll-container.loading .ajax-content-roll-items {
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
	filter: alpha(opacity=50);
}

.ajax-content-roll-container .css-loader	{
	position:absolute;
	top:50px;
	left:50%;
	margin-left:-40px;
	z-index:999;
	display:none;
}

.ajax-content-roll-container.loading .css-loader	{
	display:block;
}

.load-more-container	{
	text-align:center;
	margin-bottom:30px;
}

.content-roll-item	{
	margin-bottom:30px;
}

.content-roll-item-wrap > a	{
	text-decoration:none;
}

.content-roll-item-image-wrap img	{
	max-width:100%;
	height:auto;
}

.no-opacity .content-roll-item-image-wrap img	{
	width:100%;
}

.content-roll-item .content-roll-item-content	{
	padding:5px 15px;
}

.content-roll-item-wrap.featured	{
	height: 360px;
	text-align: center;
	position: relative;
}

.content-roll-item-wrap.featured .content-roll-item-image-wrap {
	overflow:hidden;
}

.content-roll-item-wrap.featured .content-roll-item-content {
	position: relative;
	background: none;
	float: none;
	display: inline-block;
	vertical-align: middle;
	opacity: 0;
	width: 100%;
	-moz-transition:opacity 0.5s;
	-webkit-transition:opacity 0.5s;
	transition:opacity 0.5s;
}

.content-roll-item-wrap.featured .content-roll-item-content.active {
	opacity: 1;
}

.no-opacity .content-roll-item.grid .content-roll-item-wrap	{
	border:1px solid #eee;
}

/*Active Filters Bar*/

.active-filter-labels .active-filter-label	{
	margin-left:5px;
	display:inline-block;
	*display:inline;
	zoom:1;
	padding:4px 6px 4px 12px;
	font-size:12px;
	background:#545454;
	color: #fff;
	-moz-border-radius:0px;
	-webkit-border-radius:0px;
	border-radius:0px;
	-moz-transition:background-color 0.3s, border-color 0.3s;
	-webkit-transition:background-color 0.3s, border-color 0.3s;
	transition:background-color 0.3s, border-color 0.3s;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.active-filter-labels .active-filter-label .remove-filter	{
	display:inline-block;
	*display:inline;
	zoom:1;
	margin-left:10px;
	width:20px;
	height:20px;
	line-height:19px;
	text-align:center;
	text-decoration:none;
	color:#fff;
	font-size: 14px;
	padding: 0;
	border: none;
	font: inherit;
	color: inherit;
	background-color: transparent;
	cursor: pointer;
	-moz-transition:background-color 0.3s;
	-webkit-transition:background-color 0.3s;
	transition:background-color 0.3s;
}

.active-filter-labels .active-filter-label:hover {
	background: #a56664;
}

.active-filter-labels .active-filter-label:first-child	{
	margin-left:0;
}

.active-filters-bar .content-roll-remove-filters	{
	display:block;
	margin-top:5px;
	font-size:12px;
	font-weight:bold;
	text-transform:uppercase;
	text-decoration:none;
	position:relative;
	height:20px;
	padding: 0;
	border: none;
	font: inherit;
	color: inherit;
	background-color: transparent;
	cursor: pointer;
	-moz-transition:color 0.3s;
	-webkit-transition:color 0.3s;
	transition:color 0.3s;
}

.active-filters-bar .content-roll-remove-filters:after	{
	content:'\00d7';
	display:inline-block;
	margin-left:10px;
	width:20px;
	height:20px;
	border-radius:50%;
	line-height:20px;
	text-align:center;
	text-decoration:none;
	background:#545454;
	color:#fff;
	font-size: 14px;
	-moz-transition:background-color 0.3s;
	-webkit-transition:background-color 0.3s;
	transition:background-color 0.3s;
}

.active-filters-bar .content-roll-remove-filters:hover:after	{
	background: #a56664;
}

/* Chosen style for Content Roll Filters */

.content-roll-filters .chosen-container	{
	max-width:100%;
}

.content-roll-filters-container .chosen-container	.chosen-select {
	color: #555;
	font-size: 12px;
}

.content-roll-filters-container .chosen-container-single .chosen-single{
	position: relative;
	display: block;
	overflow: hidden;
	padding: 10px 0 0 20px;
	height: 45px;
	border: 1px solid #ccc;
	border-radius: 0px;
	background: #f2f2f2;
	box-shadow: none;
	text-decoration: none;
	white-space: nowrap;
	line-height: 24px;
	color: #555;
	font-size: 12px;
	box-shadow: none;
}

.content-roll-filters-container .event_daterange{
	height: 45px;
	border: 1px solid #ccc;
	border-radius: 0px;
	background: #f2f2f2;
	box-shadow: none;
	color: #555;
	font-size: 12px;
}

.content-roll-filters.form-inline .has-feedback .form-control-feedback{
	top: 5px;
}

.content-roll-filters-container .chosen-container-single .chosen-drop {
	margin-top: -1px;
	border-radius: 0;
	background-clip: padding-box;
}
.content-roll-filters-container .chosen-container-single .chosen-drop .chosen-search > label {
	display:block;
	max-width:none;
	width:100%;
	font-weight:normal;
	margin-bottom:0;
}
.content-roll-filters-container .chosen-container-single .chosen-single div {
	right:10px;
}
.content-roll-filters-container .chosen-container-single .chosen-single div b {
	display: block;
	width: 100%;
	height: 100%;
	background-position: 5px 13px;
}

.content-roll-filters-container .chosen-container-active.chosen-with-drop .chosen-single div b {
	background-position: -13px 13px;
}

.content-roll-filters-container .chosen-container-single.chosen-with-drop .chosen-single span {
	color: #545454;
}

/*Regular Filters*/

.content-roll-filters > .form-group	{
	margin-left:5px;
}

.content-roll-filters > .form-group:first-child	{
	margin-left:0;
}

/*Simple Filters*/

.simple-filter-group .simple-filter-term	{
	display:block;
	float:left;
	margin-left:5px;
	padding:16px 20px;
	text-decoration:none;
	background:#eee;
	color:#333;
	-webkit-appearance:none;
	border:0;
	cursor:pointer;
	-moz-transition:background 0.3s;
	-webkit-transition:background 0.3s;
	transition:background 0.3s;
}

.simple-filter-group .simple-filter-term:hover, .simple-filter-group .simple-filter-term.active	{
	background:#ccc;
	color:#333;
}

.simple-filter-group .simple-filter-term.active	{
	background:#333;
	color:#fff;
}

/* Image Overlay */
.content-roll-item-image-wrap{
	position: relative;
}
.content-roll-item-image-overlay{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: block;
	text-align: center;
	opacity: 0;
	-moz-transition: opacity 0.3s;
	-webkit-transition: opacity 0.3s;
	transition: opacity 0.3s;
}
.content-roll-item-image-overlay > .material-icons.md-48{
	position: absolute;
	top: 50%;
    left: 50%;
    margin-top: -24px;
    margin-left: -24px;
}
.content-roll-item-image-wrap:hover .content-roll-item-image-overlay{
	opacity: 1;
}

/* Extra small devices (phones, less than 768px) */
/* This is the default viewport */
@media (max-width: 767px) {
	.ajax-content-roll-container {
		margin:0;
	}
	.ajax-content-roll-items-container	{
		margin-top:10px;
		padding:0;
	}
	.content-roll-filters .chosen-select	{
		font-size:16px; /*16px so as to not trigger zooming when clicked*/
	}
	.active-filters-bar::before	{
		display:none;
	}
	.active-filter-labels.pull-left	{
		float:none !important;
	}
	.active-filter-labels .active-filter-label .remove-filter	{
		position:absolute;
		top:6px;
		right:12px;
	}
	.active-filter-labels .active-filter-label	{
		display:block;
		margin:0 0 5px;
		position:relative;
		height:32px;
		line-height:25px;
	}
	.ajax-content-roll-items	{
		margin-left:-15px;
		margin-right:-15px;
	}
	.content-roll-filters {
		margin-bottom: 0px;
		padding-bottom: 10px;
	}
	.content-roll-filters .filters-title	{
		display:none;
	}
	.content-roll-filters.in	{
		overflow-y:auto;
	}
	.ajax-content-roll-items	{
		margin-top:0;
	}
	.term-group:first-child	{
		margin-top:0px;
	}
	.content-roll-filters-container .content-roll-filters .term-group:last-child	{
		margin-bottom:0px;
	}
	.term-group .chosen-container	{
		width:100% !important;
	}
	.content-roll-item {
		width: 100%;
	}
	.content-roll-filters > .form-group	{
		margin-left:0;
	}
	.simple-filter-group	{
		position:relative;
	    padding:50px 0 0;
	    overflow:hidden;
	    background:#ddd;
	}
	.simple-filter-group .simple-filter-term	{
		float:left;
		display:block;
		width:100%;
		height:0;
		margin:0;
		border:0;
		-webkit-appearance:none;
	    padding:0;
	    line-height:50px;
	    text-align:center;
	    -moz-transition:height 0.3s;
	    -webkit-transition:height 0.3s;
	    transition:height 0.3s;
	}
	.simple-filter-group .simple-filter-term > span	{
		display:block;
		line-height:50px;
		padding:0;
		position:relative;
		background:#ddd;
		color:#333;
	}
	.simple-filter-group .simple-filter-term.active	{
		position:absolute;
		top:0;
		left:0;
		height:50px;
		background:#eee;
	}
	.simple-filter-group .simple-filter-term.active > span	{
		background:transparent;
	}
	.simple-filter-group .simple-filter-term.expanded	{
		height:50px;
	}
	.simple-filter-group .simple-filter-term.expanded > span	{
		border-top:1px solid rgba(0, 0, 0, 0.1);
	}
	.simple-filter-group .simple-filter-term.active > span:after	{
		content:'';
		display:block;
		width:0;
		height:0;
		position:absolute;
		right:20px;
		top:22px;
		border:5px solid #333;
		border-bottom-color:transparent;
		border-left-color:transparent;
		border-right-color:transparent;
	}
	.simple-filter-group .simple-filter-term.active.open > span:after	{
		border-top-color:transparent;
		border-bottom-color:#333;
		top:17px;
	}
}
