/**
 * Styles for Fusion Extension - Events
 */

.fsn-events .events-header	{
	margin-bottom:20px;
	padding-bottom:20px;
	border-bottom:1px solid #eee;
}

/*default filters*/

.fsn-events .events-header .events-filters-active	{
	margin-top:20px;
	padding-top:20px;
	padding-bottom:20px;
	border-top:1px solid #eee;
}

.events-filters > .form-group	{
	margin-left:5px;
	min-width:160px;
}

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

.events-filters > .form-group > select[name="filter-tax-select"]	{
	display:block;
	width:100%;
}

.active-filters .active-filter	{
	margin-left:5px;
	display:inline-block;
	vertical-align:middle;
	padding:12px 6px 12px 12px;
	font-size:12px;
	line-height:18px;
	background:#545454;
	color: #fff;
	border: none;
	font: inherit;
	color: inherit;
	background-color: transparent;
	cursor: pointer;
	-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;
}

.active-filters .active-filter .remove-filter	{
	display:block;
	float:right;
	margin-left:10px;
	line-height:0;
	text-decoration:none;
	color:#fff;
	padding: 0;
	border: none;
	font: inherit;
	color: inherit;
	background-color: transparent;
	cursor: pointer;
}

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

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

.events-filters-active .events-remove-filters	{
	display:block;
	margin-top:5px;
	font-size:12px;
	font-weight:bold;
	text-transform:uppercase;
	text-decoration:none;
	position:relative;
	height:18px;
	line-height:18px;
	float:right;
	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;
}

.events-filters-active .events-remove-filters > .material-icons	{
	float:right;
	margin-left:10px;
}

@media (max-width: 767px) {
	.active-filters .active-filter	{
		display:block;
		margin:0 0 5px;
	}
}

@media (min-width: 768px) {
	.active-filters	{
		float:left;
	}
}

/*simple filters*/

.events-filters .simple-filter-group	{
	margin-bottom:20px;
}

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

.simple-filter-group .simple-filter-term:first-child	{
	margin-left:0;
}

.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;
}

@media (max-width: 767px) {
	.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;
	    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;
	}
}

/*toggle switches*/

.events-view-toggle	{
	margin-bottom:20px;
}

.events-view-toggle > button	{
	display:inline-block;
	padding:12px 15px;
	text-decoration:none;
	background:#eee;
	color:#333;
	margin-left:5px;
	-moz-transition:all 0.3s;
	-webkit-transition:all 0.3s;
	transition:all 0.3s;
}

.events-view-toggle > button:first-child	{
	margin-left:0;
}

.events-view-toggle > button:focus, .events-view-toggle > button:hover	{
	text-decoration:none;
	background:#ccc;
	color:#333;
}

.events-view-toggle > button.active	{
	background:#333;
	color:#fff;
}

.fsn-events .events-cards-container.inactive, .fsn-events .events-calendar-container.inactive {
	position:absolute;
	left:-9999px;
	top:0;
	width:100%;
}

/*loader*/

.fsn-events .events-body	{
	position:relative;
	opacity:1;
	-moz-transition:opacity 0.2s;
	-webkit-transition:opacity 0.2s;
	transition:opacity 0.2s;
}

.fsn-events .events-body.loading .events-panels	{
	opacity:0.5;
}

.no-opacity .fsn-events .events-body.loading .events-panels {
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
	filter: alpha(opacity=50);
}

.fsn-events .events-body .css-loader	{
	position:absolute;
	top:50px;
	left:50%;
	margin-left:-40px;
	z-index:999;
	display:none;
}

.fsn-events .events-body.loading .css-loader	{
	display:block;
}

/**
 * cards
 */

.event-card	{
	background:#fff;
}

.event-card-wrap > button	{
	text-decoration:none;
}

.event-card-image img	{
	width:100%;
	height:auto;
}

.event-card-image{
	position: relative;
	min-height:205px;
}

.event-card-image-overlay{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: block;
	text-align: center;
	background:rgba(0, 0, 0, 0.5);
	opacity: 0;
	-moz-transition: opacity 0.3s;
	-webkit-transition: opacity 0.3s;
	transition: opacity 0.3s;
}
.event-card-image-overlay > .material-icons.md-48{
	position: absolute;
	top: 50%;
    left: 50%;
    margin-top: -24px;
    margin-left: -24px;
    color:#fff;
}
.event-card-image:hover .event-card-image-overlay{
	opacity: 1;
}

.event-card .event-card-content	{
	padding:5px 15px 15px;
}

@media (min-width: 768px) {
	.event-card	{
		margin-bottom:30px;
		box-shadow:0 0 3px rgba(0, 0, 0, 0.3);
	}

	.no-opacity .event-card	{
		border:1px solid #eee;
	}
}

/*calendar*/

.fc-event:hover	{
	cursor:pointer;
}

.popover.event-card-popover	{
	border:none;
	border-radius:0;
	box-shadow:none;
	padding:0;
	background:transparent;
	width:320px;
	max-width:320px;
}

.popover.event-card-popover > .arrow	{
	z-index:1;
}

.popover.event-card-popover .popover-content	{
	padding:0;
}

.popover.event-card-popover .event-card-container	{
	width:100%;
}

.popover.event-card-popover .event-card	{
	margin:0;
}

@media (max-width: 767px) {
	.popover.event-card-popover .event-card-container	{
		padding-left:6px;
		padding-right:6px;
	}
	.popover.event-card-popover .event-card	{
		box-shadow:0 0 3px rgba(0, 0, 0, 0.3);
	}
}

/*Select2 Theme*/

.select2.select2-container--fusion .select2-selection--single {
	background-color: #f2f2f2;
	border: 1px solid #ccc;
	border-radius: 0;
	height:44px;
	font-size:12px;
}

.select2.select2-container--fusion .select2-selection--single .select2-selection__rendered {
    color: #555;
    line-height: 42px;
}

.select2.select2-container--fusion .select2-selection--single .select2-selection__clear {
	cursor: pointer;
	float: right;
	font-weight: bold;
}

.select2.select2-container--fusion .select2-selection--single .select2-selection__placeholder {
	color: #555;
}

.select2.select2-container--fusion .select2-selection--single .select2-selection__arrow {
	height: 42px;
	position: absolute;
	top: 1px;
	right: 1px;
	width: 20px;
}

.select2.select2-container--fusion .select2-selection--single .select2-selection__arrow b {
	border-color: #888 transparent transparent transparent;
	border-style: solid;
	border-width: 5px 4px 0 4px;
	height: 0;
	left: 50%;
	margin-left: -4px;
	margin-top: -2px;
	position: absolute;
	top: 50%;
	width: 0;
}

.select2.select2-container--fusion[dir="rtl"] .select2-selection--single .select2-selection__clear {
	float: left;
}

.select2.select2-container--fusion[dir="rtl"] .select2-selection--single .select2-selection__arrow {
	left: 1px;
	right: auto;
}

.select2.select2-container--fusion.select2-container--disabled .select2-selection--single {
	opacity:0.5;
	cursor: default;
}

.select2.select2-container--fusion.select2-container--disabled .select2-selection--single .select2-selection__clear {
	display: none;
}

.select2.select2-container--fusion.select2-container--open .select2-selection--single .select2-selection__arrow b {
	border-color: transparent transparent #888 transparent;
	border-width: 0 4px 5px 4px;
}

.select2.select2-container--fusion .select2-selection--multiple {
	background-color: white;
	border: 1px solid #aaa;
	border-radius: 4px;
	cursor: text;
}

.select2.select2-container--fusion .select2-selection--multiple .select2-selection__rendered {
	box-sizing: border-box;
	list-style: none;
	margin: 0;
	padding: 0 5px;
	width: 100%;
}

.select2.select2-container--fusion .select2-selection--multiple .select2-selection__rendered li {
	list-style: none;
}

.select2.select2-container--fusion .select2-selection--multiple .select2-selection__placeholder {
    color: #999;
    margin-top: 5px;
    float: left;
}

.select2.select2-container--fusion .select2-selection--multiple .select2-selection__clear {
    cursor: pointer;
    float: right;
    font-weight: bold;
    margin-top: 5px;
    margin-right: 10px;
}

.select2.select2-container--fusion .select2-selection--multiple .select2-selection__choice {
    background-color: #e4e4e4;
    border: 1px solid #aaa;
    border-radius: 4px;
    cursor: default;
    float: left;
    margin-right: 5px;
    margin-top: 5px;
    padding: 0 5px;
}

.select2.select2-container--fusion .select2-selection--multiple .select2-selection__choice__remove {
    color: #999;
    cursor: pointer;
    display: inline-block;
    font-weight: bold;
    margin-right: 2px;
}

.select2.select2-container--fusion .select2-selection--multiple .select2-selection__choice__remove:hover {
	color: #333;
}

.select2.select2-container--fusion[dir="rtl"] .select2-selection--multiple .select2-selection__choice, .select2.select2-container--fusion[dir="rtl"] .select2-selection--multiple .select2-selection__placeholder, .select2.select2-container--fusion[dir="rtl"] .select2-selection--multiple .select2-search--inline {
	float: right;
}

.select2.select2-container--fusion[dir="rtl"] .select2-selection--multiple .select2-selection__choice {
	margin-left: 5px;
	margin-right: auto;
}

.select2.select2-container--fusion[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove {
	margin-left: 2px;
	margin-right: auto;
}

.select2.select2-container--fusion.select2-container--focus .select2-selection--multiple {
	border: solid black 1px;
}

.select2.select2-container--fusion.select2-container--disabled .select2-selection--multiple {
	background-color: #eee;
	cursor: default;
}

.select2.select2-container--fusion.select2-container--disabled .select2-selection__choice__remove {
	display: none;
}

.select2.select2-container--fusion.select2-container--open.select2-container--above .select2-selection--single, .select2.select2-container--fusion.select2-container--open.select2-container--above .select2-selection--multiple {
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}

.select2.select2-container--fusion.select2-container--open.select2-container--below .select2-selection--single, .select2.select2-container--fusion.select2-container--open.select2-container--below .select2-selection--multiple {
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}

.select2.select2-container--fusion .select2-search--dropdown .select2-search__field {
	border: 1px solid #aaa;
}

.select2.select2-container--fusion .select2-search--inline .select2-search__field {
	background: transparent;
	border: none;
	box-shadow: none;
	-webkit-appearance: textfield;
}

.select2.select2-container--fusion .select2-results > .select2-results__options {
	max-height: 200px;
	overflow-y: auto;
}

.select2.select2-container--fusion .select2-results__option[role=group] {
	padding: 0;
}

.select2.select2-container--fusion .select2-results__option[aria-disabled=true] {
	color: #999;
}

.select2.select2-container--fusion .select2-results__option[aria-selected=true] {
	background-color: #ddd;
}

.select2.select2-container--fusion .select2-results__option .select2-results__option {
	padding-left: 1em;
}

.select2.select2-container--fusion .select2-results__option .select2-results__option .select2-results__group {
	padding-left: 0;
}

.select2.select2-container--fusion .select2-results__option .select2-results__option .select2-results__option {
	margin-left: -1em;
	padding-left: 2em;
}

.select2.select2-container--fusion .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
	margin-left: -2em;
	padding-left: 3em;
}

.select2.select2-container--fusion .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
	margin-left: -3em;
	padding-left: 4em;
}

.select2.select2-container--fusion .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
	margin-left: -4em;
	padding-left: 5em;
}

.select2.select2-container--fusion .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
	margin-left: -5em;
	padding-left: 6em;
}

.select2.select2-container--fusion .select2-results__option--highlighted[aria-selected] {
	background-color:#337ab7;
	color: white;
}

.select2.select2-container--fusion .select2-results__group {
	cursor: default;
	display: block;
	padding: 6px;
}

/**
 * CSS Loader
 */

.bubblingG {
	text-align: center;
	width:80px;
	height:50px;
}
.bubblingG span {
	display: inline-block;
	vertical-align: middle;
	width: 10px;
	height: 10px;
	margin: 25px auto;
	background: #000000;
	-moz-border-radius: 50px;
	-moz-animation: bubblingG 1.3s infinite alternate;
	-webkit-border-radius: 50px;
	-webkit-animation: bubblingG 1.3s infinite alternate;
	-ms-border-radius: 50px;
	-ms-animation: bubblingG 1.3s infinite alternate;
	-o-border-radius: 50px;
	-o-animation: bubblingG 1.3s infinite alternate;
	border-radius: 50px;
	animation: bubblingG 1.3s infinite alternate;
}
.bubblingG_1 {
	-moz-animation-delay: 0s;
	-webkit-animation-delay: 0s;
	-ms-animation-delay: 0s;
	-o-animation-delay: 0s;
	animation-delay: 0s;
}
.bubblingG_2 {
	-moz-animation-delay: 0.39s;
	-webkit-animation-delay: 0.39s;
	-ms-animation-delay: 0.39s;
	-o-animation-delay: 0.39s;
	animation-delay: 0.39s;
}
.bubblingG_3 {
	-moz-animation-delay: 0.78s;
	-webkit-animation-delay: 0.78s;
	-ms-animation-delay: 0.78s;
	-o-animation-delay: 0.78s;
	animation-delay: 0.78s;
}

@-moz-keyframes bubblingG {
	0% {
		width: 10px;
		height: 10px;
		background-color:#000000;
		-moz-transform: translateY(0);
	}
	100% {
		width: 24px;
		height: 24px;
		background-color:#FFFFFF;
		-moz-transform: translateY(-21px);
	}
}

@-webkit-keyframes bubblingG {
	0% {
		width: 10px;
		height: 10px;
		background-color:#000000;
		-webkit-transform: translateY(0);
	}
	100% {
		width: 24px;
		height: 24px;
		background-color:#FFFFFF;
		-webkit-transform: translateY(-21px);
	}
}

@-ms-keyframes bubblingG {
	0% {
		width: 10px;
		height: 10px;
		background-color:#000000;
		-ms-transform: translateY(0);
	}
	100% {
		width: 24px;
		height: 24px;
		background-color:#FFFFFF;
		-ms-transform: translateY(-21px);
	}
}

@-o-keyframes bubblingG {
	0% {
		width: 10px;
		height: 10px;
		background-color:#000000;
		-o-transform: translateY(0);
	}
	100% {
		width: 24px;
		height: 24px;
		background-color:#FFFFFF;
		-o-transform: translateY(-21px);
	}
}

@keyframes bubblingG {
	0% {
		width: 10px;
		height: 10px;
		background-color:#000000;
		transform: translateY(0);
	}
	100% {
		width: 24px;
		height: 24px;
		background-color:#FFFFFF;
		transform: translateY(-21px);
	}
}
