.flex-container a:hover,
.flex-slider a:hover {
	outline: none;
}

.slides,
.slides > li,
.flex-control-nav,
.flex-direction-nav {
	margin: 0;
	padding: 0;
	list-style: none;
}

.flexslider {
	margin: 0;
	padding: 0;
}

.flexslider .slides > li {
	display: none;
	-webkit-backface-visibility: hidden;
}

.flexslider .slides:after {
	content: "\0020";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}

html[xmlns] .flexslider .slides {
	display: block;
}

* html .flexslider .slides {
	height: 1%;
}

.no-js .flexslider .slides > li:first-child {
	display: block;
}

/* Default Theme */

.flexslider {
	background: #fff;
	position: relative;
	zoom: 1;
}

.flexslider .slides {
	zoom: 1;
}

.flexslider .slides img {
	height: auto;
	-moz-user-select: none;
}

.flex-viewport {
	max-height: 2000px;
	-webkit-transition: all 1s ease;
	-moz-transition: all 1s ease;
	-ms-transition: all 1s ease;
	-o-transition: all 1s ease;
	transition: all 1s ease;
}

.loading .flex-viewport {
	max-height: 300px;
}

.carousel li {
	margin-right: 12px;
}

.flex-direction-nav {
	*height: 0;
}

.flex-direction-nav a {
	text-decoration: none;
	display: block;
	width: 30px;
	height: 65px;
	margin-top: -35px;
	position: absolute;
	top: 50%;
	z-index: 10;
	overflow: hidden;
	color: #fff;
	opacity: 0.6;
	cursor: pointer;
}

.flex-direction-nav a:before {
	display: block;
	font-family: 'FontAwesome';
	content: '\f104';
	font-size: 65px;
	line-height: 1;
}

.flex-direction-nav a.flex-next:before {
	content: '\f105';
}

.flex-direction-nav .flex-prev {
	left: 0;
	text-align: left;
}

.flex-direction-nav .flex-next {
	right: 0;
	text-align: right;
}

.flex-direction-nav a:hover {
	color: #fff;
	opacity: 1;
}

.flex-control-nav {
	width: 100%;
	position: absolute;
	bottom: -40px;
	text-align: center;
}

.flex-control-nav li {
	margin: 0 6px;
	display: inline-block;
	zoom: 1;
	*display: inline;
}

.flex-control-paging li a {
	width: 11px;
	height: 11px;
	display: block;
	background: #666;
	background: rgba(0, 0, 0, 0.5);
	cursor: pointer;
	text-indent: -9999px;
	-webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
	-moz-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
	-o-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
	box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border-radius: 20px;
}

.flex-control-paging li a:hover {
	background: #333;
	background: rgba(0, 0, 0, 0.7);
}

.flex-control-paging li a.flex-active {
	background: #000;
	background: rgba(0, 0, 0, 0.9);
	cursor: default;
}

.event-gallery .slides li {
	position: relative;
}

.event-gallery .flex-control-nav {
	position: static;
	width: auto;
	overflow: hidden;
}

.event-gallery .flex-control-nav {
	margin: 1% -0.5% -1%;
}

.event-gallery .flex-control-nav li {
	width: 24%;
	float: left;
	margin: 0 0.5% 1%;
}

.event-gallery .flex-control-nav img {
	width: 100%;
	height: auto;
	display: block;
	cursor: pointer;
	-moz-user-select: none;
}

.event-gallery .flex-control-thumbs .flex-active {
	cursor: default;
}

.event-gallery .flex-direction-nav a {
	top: 32%;
}

.flexslider-placeholder {
	display: none;
}

.loading .flexslider-placeholder {
	display: block;
	position: relative;
	height: 0;
	padding-bottom: 67.30769%;
	overflow: hidden;
	background: #949496;
}

.loading .flexslider-placeholder:before {
	display: block;
	content: 'Loading';
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	height: 30px;
	margin-top: -15px;
	font-family: 'Open Sans', sans-serif;
	font-size: 30px;
	line-height: 1;
	font-weight: 700;
	color: #fff;
	opacity: 0.4;
	text-transform: uppercase;
	text-align: center;
}

/* Too many dots */

@media screen and (max-width: 767px) {
	.flex-control-nav {
		bottom: -60px;
	}
}