
/* Home Nivo Gallery */
#home_stacker .flexslider-feature, 
#home_stacker .flexsliderSliderWrapper{
	display: block;
	margin: 0;
	padding: 0;
	border: none;
}
#home_stacker .flexsliderSlider { 
	
}
#home_stacker .flex-caption {
	/*position: absolute; bottom: 0; left: 0;*/
	min-height: 80px;
	padding: 1.5% 3%;
	background: #fff;
	
	background: rgb(197,244,255);
	background: -moz-linear-gradient(top,  rgba(197,244,255,1) 0%, rgba(255,255,255,1) 90%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(197,244,255,1)), color-stop(90%,rgba(255,255,255,1)));
	background: -webkit-linear-gradient(top,  rgba(197,244,255,1) 0%,rgba(255,255,255,1) 90%);
	background: -o-linear-gradient(top,  rgba(197,244,255,1) 0%,rgba(255,255,255,1) 90%);
	background: -ms-linear-gradient(top,  rgba(197,244,255,1) 0%,rgba(255,255,255,1) 90%);
	background: linear-gradient(to bottom,  rgba(197,244,255,1) 0%,rgba(255,255,255,1) 90%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c5f4ff', endColorstr='#ffffff',GradientType=0 );
}
#home_stacker .flexsliderSlider a.flexslider-imageLink{
	height: auto;
	bottom: 0;
	margin: auto;
}
#home_stacker .flex-caption a{
	text-decoration: none;
}
#home_stacker .flex-caption h1 {
	font-family: Arial, Helvetica, sans-serif;
	margin-bottom: 5px;
}
#home_stacker .flex-caption .description {
	position: relative;
	margin: 0; padding: 0;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	color: #060163;
}
#home_stacker .flex-caption .read-more {
	display: block; 
	float: right;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	text-transform: uppercase;
	font-weight: bold;
}
#home_stacker .flex-controls-wrapper{
	z-index: 1000;
	position: absolute; 
	top: 0;
	right: 3%;
	margin: 47% 0 0;	
}
#home_stacker .flex-control-nav {
	text-align:center;
	position: relative;
	width: auto;
	bottom: auto; 
	padding: 5px 8px;
	margin-top: -27px;
	border-radius: 14px 14px 0px 0px;
	-moz-border-radius: 14px 14px 0px 0px;
	-webkit-border-radius: 14px 14px 0px 0px;
	background: #c5f4ff;
}
#home_stacker .flex-control-nav li { margin: 0; }
#home_stacker .flex-control-nav a {
	cursor: pointer;
	display: block; overflow: hidden; text-indent: -999px; color: transparent;
	float: left; 
	margin: 0 2px; padding: 0;
	width: 19px; height: 17px;
	background: #00bfec;
	z-index: 9;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}
#home_stacker .flex-control-nav a.flex-active { background: #ffd400; }
#home_stacker .flex-direction-nav{ display: none; }

/*	Responsive	*/
@media (max-width: 600px){
	#home_stacker .flex-controls-wrapper{
		position: static;
		margin: 0;
	}
	#home_stacker .flex-control-nav{ 
		background: none;
		margin: 0;
	}
}



/* Quicklinks */
#ql .animations_wrapper{
	display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
	justify-content: space-around;
}

#ql_carousel { margin-top: 20px; }
#ql_carousel .animation {
	text-align: center;
	padding: 0 1% 6px;
	background: #0058B7;
	border-radius: 14px 14px 0px 0px;
	-moz-border-radius: 14px 14px 0px 0px;
	-webkit-border-radius: 14px 14px 0px 0px;
	cursor: pointer;
}
#ql_carousel .animation + .animation{ margin-left: 1%; }
#ql_carousel .animation h2 {
	margin: 0;
	padding: 4% 0;
	font-size: 14px;
	color: #fff;
}
#ql_carousel .animation a.item { text-decoration: none; }


#ql_popups, .ql_popup .body_item {
	display: none;
	position: fixed; top: 0; left: 0;
	width: 100%; height: 100%;
	overflow: auto;
	z-index: 99999;
}
#ql_popups .background{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
	background-color: #C8F4FF;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=65)";
  filter: alpha(opacity=65);
  -moz-opacity: .65;
  -khtml-opacity: 0.65;
  opacity: 0.65;
}

.ql_popup {
	display: none;
	position: relative;
	z-index: 1;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-size: 14px;
	margin: 2%;
}
.ql_popup.current { display: block; }

.ql_popup .tab_title {	
	display: inline-block;
	margin: 0; padding: 7px 2% 0;
	background: #0058B7;
	border: 0;
	color: #fff;
	text-align: center;
	min-width: 125px;
	-webkit-border-top-left-radius: 10px;
	-webkit-border-top-right-radius: 10px;
	-moz-border-radius-topleft: 10px;
	-moz-border-radius-topright: 10px;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
}

.ql_popup .close {
	position: absolute; top: 29px; right: 6px;
	line-height: 16px;
	font-size: 16px;
	color: #fff;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	text-decoration: none;
	cursor: pointer;
}

/* The following allows a click through to the background object for closing the pop-up	*/
.ql_popup { margin-top: 30px; }
.ql_popup .tab_title{ margin-top: -20px; }
.ql_popup .close { top: 21px; }

.ql_popup .body-wrapper{
	padding: 20px 2% 3%;
	background: #0058B7;	
	-webkit-border-radius: 0 10px 10px;
	-moz-border-radius: 0 10px 10px;
	border-radius: 0 10px 10px;
}
.ql_popup .body {
	background: #fff;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}

.ql_popup .body_item .content-wrapper{
	position: absolute;
	width: 92%;
	margin: 4%;
  padding: 1%;
	z-index: 1;
	background-color: #f8e144;
	border-radius: 7px;
	-moz-border-radius: 7px;
	-webkit-border-radius: 7px;	
}
.ql_popup .body_item a.back {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight: bold;
	color: #1D2D6A;
	line-height: 11px;
	text-decoration: none;
}
.ql_popup .body_item .content {
	background-color: white;
	color: #2b3c7a;
	padding: 1%;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;	
	display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
}

.ql_popup .body_item .content .right-column {
	flex-grow: 1;
	box-flex: 1;	
}
.ql_popup .body_item .content font[color=red] { color: #2A3C7A !important; }
.ql_popup .body_item .content .links {
	float: right; 
	margin: 0;
	white-space: nowrap;
}
.ql_popup .body_item .content .links a {
	display: inline-block;
	margin: 0 1%; padding: 5px 20px;
	background: #36b0e3;
	border-radius: 2px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-size: 11px;
	text-transform: uppercase;
	text-decoration: none;
	line-height: 11px;
	color: #fff;
}
.ql_popup .body_item .content .links a:hover { text-decoration: underline; }
.ql_popup .body_item .photo {
	float: left;
	margin: 0 2% 2% 0;
	text-align: center;
}
.ql_popup .body_item h1 {
	margin: 0;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 20px;
	font-weight: bold;
	color: #2b3c7a;
}
.ql_popup .body .desc {
	padding: 1% 3%;
	color: #2A3C7A;
}
.ql_popup .body .items {
	margin: 1%;
}
.ql_popup .body .items .quicklink {
	text-align: center;
	cursor: pointer;
	padding: 1%;
	display: inline-block;
	*display: inline;
	zoom: 1;
	vertical-align: top;
	width: 25%;
}
.ql_popup .body .items .quicklink h1 {
	margin: 5px 0;
	text-align: center;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-size: 13px;
	color: #0058B7;
}
.ql_popup .body .items .quicklink a h1 { text-decoration: none; }


/*	Responsive	*/
@media (max-width: 600px){
	#ql .animations_wrapper{ 
		display: block;
	}
	#ql_carousel .animation{ 
		padding-bottom: 7%;
	}
	#ql_carousel .animation + .animation{ 
		margin-left: 0;
		margin-top: -5%;
		-moz-box-shadow:    3px 3px 6px 4px #050b62;
 	 	-webkit-box-shadow: 3px 3px 6px 4px #050b62;
 		box-shadow:         3px 3px 6px 4px #050b62;
	}
	#ql_carousel .animation h4{ padding: 1% 0; }
	
	.ql_popup .body .items .quicklink { width: 50%; }	
	.ql_popup .body_item .content { display: block; }	
	.ql_popup .body_item .photo{ float: none; }
	
	.ql_popup .body_item .content .header{ 
		display: -webkit-box;
		display: -moz-box;
		display: -ms-flexbox;
		display: -webkit-flex;
		display: flex;
		
		flex-direction: column-reverse;
	}	
	.ql_popup .body_item .content .header > *{
		padding: 0.25em 0;
		text-align: center;
	}	
}