/*
Theme Name: NicheLabs Custom Responsive Theme 
Theme URI: http://nichelabs.com/
Description: Search engine optimized theme. Theme designed by <a href="http://nichelabs.com" target="_blank">NicheLabs LLC</a>.
Version: 1.0
Author: NicheLabs LLC
Author URI: http://nichlabs.com
*/

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.alignleft {
	float: left;
	margin-right: 15px;
}

.alignright {
	float: right;
	margin-left: 15px;
}

/* Body */
* {
	margin:0;
 	padding:0;
	box-sizing: border-box;
}
body {
	background: #fff url(img/pg_bg.jpg);
	color: #212121;
	font-size: 17px;
	font-family:  'Open Sans', sans-serif;
}
h1, h2, h3, h4, h5 {
	font-family: 'Times New Roman', sans-serif;
}
h1 {
	font-size: 51px;
	color: #294493;
	margin-bottom: 15px;
	padding-bottom: 15px;
	font-weight: 700;
	text-decoration: none;
	border-bottom: 1px solid #a6a5a4;
	text-transform: uppercase;
}
.home h1 {text-align: center;}
h2,
h2 a {
	font-size: 24px;
	color: #008eca;
	margin-bottom: 20px;
	font-weight: 700;
	text-decoration: none;
}
h3 {
	font-size: 21px;
	color: #2f3336;
	margin-bottom: 0;
	font-weight: 700;
	text-decoration: none;
}
h4 {
	font-size: 25px;
	color: #294493;
	font-weight: 700;
	margin-bottom: 0;
}
h5 {
	font-size: 20px;
	color: #294493;
	font-weight: 700;
	margin-bottom: 0;
}
p {
	margin-bottom: 15px;
}
ul,ol {
	margin:0 0 16px 46px;
}
ul ul,ol ol {
	margin:0 0 0 16px;
}
hr {
	height: 68px;
	clear:both;
	background: url(img/hr_bg.png) center top no-repeat;
	background-size: contain;
	border: none;
}
td {
	padding: 0 5px;
	vertical-align: top;
}
blockquote {
	font-size: 9px;
	color: #045d79;
	text-transform: uppercase;
	font-weight: 800;
	letter-spacing: 1px;
	margin-bottom: 10px;
	padding: 0 25px;
}
strong {
	font-weight: 700;
}
#wrapper {
}
img {
	max-width: 100%;
	height: auto;
}
.video-wrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
}
.video-wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}


/* Links */
a {
	color: #022252;
	text-decoration:none;
}
a:hover {
	color:#383838;
}
a img {
	border:0;
}
.button {
	display: table;
	width: auto !important;
	background: #008eca;
	color: #fff;
	text-transform: uppercase;
	padding: 14px 17px;
	margin-bottom:15px;
}
.button:hover {
	background: #294493;
}
.button.center {
	margin:0 auto;
}
.button.right {
	float: right;
	clear:right;
}
.button a {
	color: #fff;
	text-decoration: none;
}

/* Header */
#hidden-header-wrapper,
#header-wrapper {
	background: #fff url(img/header_bg.jpg) left top repeat-x;
	position: fixed;
	top: 0;
	z-index: 9999;
	width: 100%;
	padding: 0;
}
#hidden-header-wrapper {position: relative;}
#hidden-header,
#header {
	max-width: 1825px;
	width: 100%;
	position: relative;
	margin: 0 auto;
	padding: 40px 15px 0;
	display: flex;
	display: -webkit-flex;
	display: -ms-flex;
	flex-flow: row nowrap;
	-webkit-flex-flow: row nowrap;
	-ms-flex-flow: row nowrap;
	justify-content: space-between;
	-webkit-justify-content: space-between;
	-ms-justify-content: space-between;
	align-content: flex-end;
	-ms-align-content: flex-end;
	-webkit-align-content: flex-end;
}
#hidden-logo img,
#logo img {
	display: block;
}
#hidden-header-left,
#header-left {
	flex-basis: 290px;
	margin-right: 10px;
	flex-shrink:0;
	padding-bottom: 22px;
	position: relative;
}
#header-left ul.portal {
	list-style: none;
	padding: 0;
	margin: 0;
	text-align: center;
	position: absolute;
	bottom: 22px;
}
#header-left ul.portal li {
	display: inline-block;
	padding: 0;
	margin: 0;
	text-align: center;
}
#header-left ul.portal li a {
	display:block;
	font-size: 19px;
	padding: 10px 16px;
	color:#fff;
	background: #0a0a0c;
	font-family: 'Open Sans', sans-serif;
}
#header-left ul.portal li a:hover {
	background:#294493;
}
#hidden-header-right,
#header-right {
	flex-basis: 328px;
	flex-shrink:0;
	margin-left:10px;
	position: relative;
}
#header-right-content {
	position: absolute;
	bottom: 22px;
}
#header-right #social {
	float:right;
}
#header-right ul#menu-social-media {
	list-style-type: none;
	margin: 0 -8px;
	padding: 0;
}
#header-right ul#menu-social-media li {
	float: left;
	position: relative;
	margin: 0 8px;
}
#header-right ul#menu-social-media  a {
	display: block;
	margin: 0;
	padding: 0;
	text-indent: -9999px;
	height: 36px;
	filter: none;
	-webkit-filter: grayscale(0%);
}
#header-right ul#menu-social-media a:hover {
filter: url("data:image/svg+xml;utf8,<svg xmlns=\'https://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 3.5+ */
  filter: gray; /* IE6-9 */
  -webkit-filter: grayscale(100%); /* Chrome 19+ & Safari 6+ */
}
#header-right ul#menu-social-media li.fb a {
	width: 36px;
	background: url(img/facebook_icon.jpg) center center no-repeat;
}
#header-right ul#menu-social-media  li.tw a {
	width: 29px;
	background: url(img/twitter_icon.jpg) center center no-repeat;
}
#header-right ul#menu-social-media li.li a {
	width: 32px;
	background: url(img/linkedin_icon.jpg) center center no-repeat;
}
#header-right #search {
	float:left;
	padding-right:4px;
	font-family: 'Open Sans', sans-serif;
}
#header-right #search input[type=text] {
	font-size: 16px;
	line-height: 16px;
	color: #1d458c;
	width: 192px;
	height: 36px;
	padding: 5px;
	border: 1px solid #6a6969;
}
#header-right #search input[type=submit] {
	background: #0a0a0c;
	border: none;
	font-size: 16px;
	line-height: 16px;
	padding: 10px 16px;
	color: #fff;
	text-transform: uppercase;
	cursor: pointer;
}
#header-right #search input[type=submit]:hover {
	background:#294493;
}
#hidden-nav-wrapper {
	height: 42px;
}
#nav-wrapper {
	background: #008eca;
	clear: both;
	width: 100%;
	float: none;
	padding: 0px 15px;
}
#nav-wrapper ul.menu  {
	max-width: 1200px;
	margin: 0 auto;
	list-style: none;
	padding: 0;
	display: flex;
	display: -webkit-flex;
	display: -ms-flex;
	flex-flow: row nowrap;
	-webkit-flex-flow: row nowrap;
	-ms-flex-flow: row nowrap;
	border-left: 1px solid #b9b9c8;
}
	
#nav-wrapper ul.menu li {
	flex-grow: 1;
	text-align: center;
	position: relative;
	padding: 0; 
	margin: 0;
	border-right: 1px solid #b9b9c8;
}
#nav-wrapper ul.menu li a:link,
#nav-wrapper ul.menu li a:visited,
#nav-wrapper ul.menu li a:hover {
	font-family:  'Open Sans', sans-serif;
	display: block;
	font-size: 18px;
	line-height: 18px;
	padding: 12px 0;
	text-decoration: none;
	color: #fff;
	font-weight: 600;
}
#nav-wrapper ul.menu li.current-menu-item {
	background:#040508;
}
#nav-wrapper ul.menu li:hover {
	background:#294493;
}
#nav-wrapper ul.menu li ul {
	display: none;
	position: absolute;
	top: 18px;
	list-style: none;
	margin: 0;
	padding: 6px;
	background: #1d458c;
}
#nav-wrapper ul.menu li:hover ul {
	display: block;
}
#nav-wrapper ul.menu li ul li {
	margin: 0;
	padding: 0;
	white-space: nowrap;
	border: 0;
	border-bottom: 1px solid #96a8c9;
	text-align: left;
}
#nav-wrapper ul.menu li ul li a:link, #nav-wrapper ul.menu li ul li a:visited, #nav-wrapper ul.menu li ul li a:hover {
	margin: 0;
	color: #fff;
}
/*
/* Slideshow 
#slideshow-wrapper {
	background: #000;
	padding-bottom: 13px;
}
#slideshow {
	background: #000;
}
.slide {
	position: relative;
	margin: 0 auto;
	margin: 0 auto;
	width: 100%;
	height: 583px;
}
.slide ul,
.slide ol {
	list-style: none;
	margin: 0;
	padding: 0;
}
.slide ul li {
	position: absolute;
	left: 0;
	top: 0;
	display: block;
	width: 100%;
	height: 100%;
	list-style: none;
}
.slide .slide-caption {
	color: #fff;
	text-shadow: 0px 4px 8px #000000;
	padding: 10px;
	font-size: 48px;
	text-align: center; 
	position: absolute;
	left:0;
	right:0;
	margin: auto;
	width:90%;
	top: 50%;
  	-webkit-transform: translateY(-50%);
  	-ms-transform: translateY(-50%);
  	transform: translateY(-50%);
	overflow: hidden;
}
.slide .slide-caption h2 {
	font-size: 32px;
	line-height: 1em;
	font-weight: 300;
	color: #fff;
	margin-bottom: 5px;
	text-transform: none;
}
.slide .slide-caption h5 {
	font-size: 18px;
	margin-top: 10px;
	font-weight: 400;
	text-align: right;
}
.slide .slide-caption h5 a {
	color: #fa8349;
	text-decoration: none;
	text-transform: none;
}
.slide .slide-caption p {
	margin: 0;
}
.slide .dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 20px;
	width: 100%;
	z-index: 2;
	text-align: center;
}
.slide .dots li {
	display: inline-block;
	margin: 0 10px;
	width: 10px;
	height: 10px;
	border: 2px solid #fff;
	border-radius: 50%;
	opacity: 0.4;
	cursor: pointer;
	transition: background .5s, opacity .5s;
	list-style: none;
}
.slide .dots li.active {
	background: #fff;
	opacity: 1;
}
.slide .arrow {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.slide .arrow .arrow-left, .slide .arrow .arrow-right {
	position: absolute;
	z-index: 2;
	top: 50%;
	margin-top: -25px;
	display: block;
	width: 40px;
	height: 69px;
	cursor: pointer;
	opacity: 0.5;
	transition: background .5s, opacity .5s;
}
.slide .arrow .arrow-left:hover, .slide .arrow .arrow-right:hover { opacity: 1; }
.slide .arrow .arrow-left {
	left: 20px;
	background: url(img/slide_nav_left.png) top center no-repeat;
}
.slide .arrow .arrow-right {
	right: 20px;
	background: url(img/slide_nav_right.png) top center no-repeat;
}

/* SlideJS */
/* Prevent the slideshow from flashing on load */
.sliderbutton {
	float:left;
	width:32px;
	padding-top:134px
}
.sliderbutton img {cursor:pointer}
.sliderbutton img:hover {}
#slideshow-wrapper {
	background: #a8a19c;
	clear:both;
}
#slideshow {
}
#slides {
	position:relative;
	padding: 0;
	margin: 0;
	list-style:none;
	overflow:auto;
}
.slide {position: relative; overflow: hidden;}
.slide img {width: 100%;}
.slide .slide-caption {
	z-index: 9999;
	color: #fff;
	width: 50%;
	background: rgba(58,66,69,.65);
	padding: 10px;
	font-size: 18px;
	  
	position: absolute;
	left:0;
	right:0;
	margin: auto;
	width:50%;
	top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
	overflow: hidden;
}
.slide .slide-caption h2 {
	font-size: 32px;
	line-height: 1em;
	font-weight: 300;
	color: #fff;
	margin-bottom: 5px;
	text-transform: none;
}
.slide .slide-caption h5 {
	font-size: 18px;
	margin-top: 10px;
	font-weight: 400;
	text-align: right;
}
.slide .slide-caption h5 a {
	color: #fa8349;
	text-decoration: none;
	text-transform: none;
}
.slide .slide-caption p {
	margin: 0;
}
.slidesjs-pagination {
	height: 27px;
	position: absolute;
	bottom: 15px;
	right:32px;
	z-index: 99;
	text-align: center;
	list-style: none;
	margin: 0;
}
.slidesjs-pagination li {
	display: inline-block;
	font-size: 0px;
	padding: 0;
}
.slidesjs-pagination li a {
	display: block;
	width: 20px;
	height: 20px;
	text-indent: -9999px;
	margin:0 2px;
	text-align:center;
	background: url(img/slide_bullet.png) top center no-repeat;
}
.slidesjs-pagination li a.active {
	background: url(img/slide_bullet_active.png) top center no-repeat;}

.slidesjs-next,
.slidesjs-previous {
	display:block;
	width: 40px;
	height: 69px;
	text-indent: -9999px;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 99;
}
.slidesjs-next {
	right: 10px;
	background: url(img/slide_nav_right.png) top center no-repeat;
}
.slidesjs-previous {
	left: 10px;
	background: url(img/slide_nav_left.png) top center no-repeat;
}
.pagination li#prev,
.pagination li#next {
	margin-top: 0;
	background: none;
	text-indent: 0;
}
/* Home Boxes */
#home-boxes-wrapper {
	padding: 0;
}
#home-boxes {
	max-width: 845px;
	margin: 40px auto 60px;
	display: -webkit-flex;
	display: flex;
	flex-flow: row nowrap;
	-webkit-flex-flow: row nowrap;
}
#home-boxes .home-box {
	webkit-flex-grow: 1;
	flex-grow: 1;
	text-align: left;
	padding: 0 5px;
}
#home-boxes .home-box h2 {
	font-size: 18px;
	color:#9d9d9d;
	margin-bottom: 0;
	font-weight: 300;
	text-transform: uppercase;
}

/* Content */
#page-wrapper {
}
.share-bar-wrapper {
	background: #d93726;
	padding: 0 15px;
}
.share-bar {
	max-width: 966px;
	margin: 0 auto;
	height: 22px;
	padding-top: 3px;
	padding-bottom: 3px;
}
.share-bar .at16nc {
	background: url(img/share_bttn.png) top center no-repeat;
	width: 52px;
	height: 14px;
}
.share-bar .addthis_default_style .addthis_separator, .share-bar .addthis_default_style .at4-icon, .share-bar .addthis_default_style .at300b, .share-bar .addthis_default_style .at300bo, .share-bar .addthis_default_style .at300bs, .share-bar .addthis_default_style .at300m {
  float: right;
}
span.at_a11y {
	text-indent: -9999px;
	font-size: 1px;
}
.page-title-wrapper {
	background: #b3c1cc;
	padding: 20px 15px 25px;
}
.page-title {
	max-width: 966px;
	width: 100%;
	margin: 0 auto;
	position: relative;
}
.page-title h1 {
	font-size: 40px;
	font-weight: 300;
	color: #0d0d0e;
	margin: 0;
	padding: 0;
	background: none;
	border: 0;
	text-align: center;
}
.page-title-tagline {
	overflow: hidden;
}
.page-title-thumb {
	float: right;
	padding-left: 20px;
}
.content-wrapper {
	min-height:400px;
	padding: 46px 15px 30px;
	background: url(img/content_wrapper_bg.jpg) left bottom repeat-x;
}
.content-wrapper.home {margin-top: 0;}
.content-wrapper.menu-page {
	margin-bottom: 8px;
}
.content {
	max-width: 966px;
	width: 100%;
	margin: 0 auto;
	padding: 0;
}
.home .content {
	background: url(img/home_bg.png) center top no-repeat;
	max-width: 966px;
}
.page-featured {
	margin-top: -37px;
	padding-bottom: 20px;
}
.post {
	overflow: hidden;
}
.post-thumb {
	float: left;
	padding-right: 42px;
}
.section {clear:both;}
.home-boxes,
.section.two-col,
.section.multi-column,
.section.flex {
	display: -webkit-flex;
	display: flex;
	flex-flow: row nowrap;
	-webkit-flex-flow: row nowrap;
	justify-content: space-between;
	-webkit-justify-content: space-between;
	-ms-justify-content: space-between;
}
.section.flex div.padding-right {
	padding-right: 20px;
}
.section.two-col {
	justify-content: space-around;
	-webkit-justify-content: space-around;
	-ms-justify-content: space-around;
	margin: 0 -20px;
}
.section.two-col > div {
	margin: 0 5px;
}
.section.blue {
	padding: 24px 14px;
	margin: 12px 0 35px;
	background: #d6edf6;
}
.section.blue-boxes,
.section.conditions {
	margin: 0 -6px;
}
.section.blue-boxes div.col {
	padding: 26px 23px 16px 23px;
	background:#008eca;
	text-align: center;
	color: #fff;
	font-size: 15px;
	flex-basis: 25%;
	margin: 30px 6px;
	font-family: 'Open Sans', sans-serif;
}
.section.blue-boxes div.col h2 {
	font-family: 'Times New Roman', sans-serif;
	font-size: 52px;
	text-align: center;
	color: #fff;
	padding-bottom: 15px;
	margin-bottom: 20px;
	border-bottom: 1px solid #fff;
}
.section.conditions {
	border-top: 1px solid #9b9897;
	padding-top: 15px;
	margin-top: 20px;
}
.section.conditions .col {
	flex-basis: 25%;
	margin: 0 6px;
}
.col.blue-dots ul {
	list-style: none;
}
.col.blue-dots ul li {
	padding-left: 15px;
	background: url(img/blue_dot.jpg) left center no-repeat;
}
.home-boxes {
	margin: 0 -6px;
}
.home-box {
	background: #008eca;
	font-size: 14px;
	color: #fff;
	flex-basis: 50%;
	margin: 0 6px;
}
.home-box-image {
	display: block;
	float: left;
	margin-right: 24px;
}
.home-box-image p {
	margin:0;
}
.home-box-image img {
	display: block;
}
.home-box-content {
	overflow: hidden;
}
.home-box-content h4 {
	color:#fff;
	font-size: 21px;
	font-weight: 400;
	text-transform: uppercase;
	margin: 18px 0;
}
.home-box-content h5 {
	color:#fff;
	font-size: 17px;
}
.home-box-content ul {
	margin: 5px 0 18px;
	padding-left: 16px;
}
.home-box-content p {
	margin: 0;
}
.home-box-content a {
	color: #fff;
}
.one-fourth {
	width: 25%;
	padding: 0 5px;
}
.one-third {
	width: 33%;
}
.one-third > .one-third {
	padding: 0 10px;
}
.two-thirds {
	width: 66%;
}
.one-half {
	width: 50%;
	padding: 0 5px;
}
.one-half-left {
	float: left;
	width: 50%;
	padding: 0 5px;
}
/*** Bios ***/
.bio-img {
	float:left;
	margin-right:22px;
}
.bio-content {
	overflow:hidden;
}
.bio-content h2 {
	color:#008eca;
	margin-bottom: 20px;
	border-bottom: 1px solid #ccbdb3;
	padding-bottom: 15px;
}
/*** Contact Form ***/
.wpcf7-form {
	max-width: 395px;
	width: 100%;
	padding:20px 14px;
	background: #008eca;
	margin: 0 auto;
}
.wpcf7-form input[type=text],
.wpcf7-form input[type=email],
.wpcf7-form textarea {
	max-width: 395px;
	width: 100%;
	height: 38px;
	padding:5px;
	background: #fff;
	border: 1px solid #9e9d9d;;
	margin-bottom: 10px;
	font-family: 'Open Sans', sans-serif;
	font-size: 13px;
}
.wpcf7-form .wpcf7-list-item {
	clear: both;
	display: block;
}
.wpcf7-form input[type=checkbox] {
	background: #fff;
	border: 1px solid #9e9d9d;;
	color: #838a8c;
}
.wpcf7-form textarea {
	height: 93px;
}
.wpcf7-form .g-recaptcha {
	transform:scale(0.77);
	-webkit-transform:scale(0.77);
	transform-origin:0 0;
	-webkit-transform-origin:0 0;
}
.wpcf7-form input[type=submit] {
	padding: 10px;
	margin-top: -62px;
	background: #030303;
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	font-family: 'Open Sans', sans-serif;
	border: 0;
	text-transform: uppercase;
	float: right;
	cursor: pointer;
	z-index: 9;
	position: relative;
}
.wpcf7-form input[type=submit]:hover {
	background:#294493;
}
/** Sidebars **/
#contact-box,
#rightcol {
	float: right;
	width: 266px;
	margin-left: 72px;
	padding: 0;
}
#contact-box {
	width: 310px;
	float:none;
	margin: 0 0 50px 0;
	padding: 15px 15px 50px;
}
#rightcol h2 {
	font-size: 32px;
	font-weight: 300;
	color: #383838;
	padding-bottom:16px;
	margin-bottom: 11px;
	border-bottom: 1px solid #0b4e92;
}
#rightcol .menu {
	list-style: none;
	margin: 30px 0;
	padding: 0;
}
#rightcol .menu li {
	padding: 10px 0;
	border-bottom: 1px solid #dddddd;
}
#rightcol .menu li.menu-item-home,
#rightcol .menu li.current-menu-item,
#rightcol .menu li.menu-item-35 {
	display: none;
}
#rightcol .menu li a {
	color:#383838;
}
#rightcol .menu li a:hover {
	color: #d93726;
}
#rightcol .button {
	float: right;
}
#sidebar-wrapper {
	padding:14px 25px;
	width: 250px;
	margin-left: 30px;
	float: right;
	background: #c7c8c8;
}
#sidebar-wrapper > div {
	padding-bottom: 12px;
	margin-bottom:5px;
	border-bottom: 1px solid #babbbb;
	box-shadow: 0 1px 0 #dedfdf;
}
#sidebar-wrapper > div:last-child {
	border-bottom: 0;
	box-shadow: 0 0 0;
}
#sidebar-wrapper #search input[type="text"] {
	width:168px;
}
#sidebar-wrapper h2 {
	color:#fff;
	text-align: center;
	margin-bottom: 0;
	text-transform: lowercase;
	font-weight: 400;
}
#sidebar-wrapper ul {
	list-style: none;
	padding: 0;
	margin: 0 0 10px 0;
}
#sidebar-wrapper ul li {
	text-align: center;
}
#sidebar-wrapper ul li a {
	font-size: 13px;
	text-decoration: #9c9c9c;
	border-bottom: 1px solid #888989;
	color:#000;
}
#calendar table {
	width:100%;
	font-size: 12px;
	padding: 6px;
	background:#fff;
	border-collapse: collapse;
}
#calendar table th,
#calendar table td {
	border: 1px solid #f0f0f0;
	text-align: center;
}
#calendar caption {
	background: #2c85c1;
	border-top: 1px solid #2c85c1;
	border-radius: 5px 5px 0 0;
	color:#fff;
}
.blog-wrapper {
}
.blog-content {
	overflow: hidden;
}
.blog-post-wrapper {
	margin-bottom: 8px;
}
.blog-content h2 {
	font-size:36px;
	font-weight:300;
	color: #000;
}
.blog-content h4.postinfo {
	font-size: 14px;
	font-weight:300;
	color: #000;
	font-style: italic;
}
.blog-post-thumb {
	padding-bottom: 15px;
}
.blog-post-thumb img {
	width: 100%;
	height: auto;
}
.blog-content .fb-like {
	width: 76px;
	height: 29px;
	float: left;
}
.blog-content #share-bar {
	width: 76px;
	height: 29px;
	float: left;
}

/* Contact Us Page */
#contact-us .content {
	padding-top: 35px;
}
#contact-us .content h2 {
	text-align: center;
}
#contact-id164 {
	text-align: center;
	padding-top: 40px;
}
#contact-id164 .button {
	margin: 0 2px;
}
.read-more {
	text-align: right;
}
.read-more a {
	color: #fff;
	display: inline-block;
	padding: 5px 10px;
	background: #828282;
}
.read-more a:hover {
	background: #2c88b6;
	text-decoration: none;
}
/*** Page Navigation ***/
.navigation {text-align: center;}
span.page-numbers,
.wp-pagenavi a {
	display: inline-block;
	font-size: 14px;
	line-height: 14px;
	padding: 7px 9px;
	color: #717171;
}
span.page-numbers.current,
.wp-pagenavi a:hover {
	color: #a2a2a2;
	text-decoration: underline;
}
/* Footer */
#footer {
	clear:both;
	font-weight:normal;
	padding: 0;
	margin: 0;
}
#footer #footer-top-wrapper {
	width: 100%;
	background: #294493;
	padding: 6px 10px;
}
#footer #footer-middle-wrapper {
	background:#88898a;
	padding: 10px;
}
#footer #footer-bottom-wrapper {
	width: 100%;
	background: #000;
	padding: 6px 10px;
}
#footer .footer-bottom {
	text-align: center;
}
#footer #footer-phone:before {
	content: '\f095';
	font-family: 'FontAwesome';
	padding-right: 5px;
}
#footer #footer-fax:before {
	content: '\f1ac';
	font-family: 'FontAwesome';
	padding-right: 5px;
}
#footer #footer-email:before {
	content: '\f0e0';
	font-family: 'FontAwesome';
	padding-right: 5px;
}
/* Associations */
#associations-title-wrapper {
}
#associations-title-wrapper, 
#associations-wrapper {
	overflow: hidden;
	padding: 0 10px;
}
#associations {
	max-width: 1084px;
	margin: 0 auto;
	display: -webkit-flex;
	display: flex;
	flex-flow: row wrap;
	-webkit-flex-flow: row wrap;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-align-items: center; /* Safari 7.0+ */
    align-items: center;
}
#associations .association {
	text-align: center;
	padding: 0 6px;
}
#nsup {
	float: right;
	margin: -5px 0 0 0;
	padding: 0;
}
#nsup label {
	font-size: 18px;
	color: #fff;
	display: inline-block;
	float: left;
	line-height: 2.2em;
	padding: 0 10px 0 0;
}
#nsup input[type=text] {
	display: inline-block;
	float: left;
	border: solid 1px #0b2b92;
	background-color: #f4f9f7;
	color: #353d40;
	font-size: 14px;
	padding: 5px;
	width: 220px;
	line-height: 2.1em;
	height: 30px;
}
#nsup input[type=submit] {
	display: inline-block;
	float: left;
	border: none;
	background: transparent url(img/global_sprite.png) no-repeat -465px -188px;
	width: 35px;
	height: 42px;
	text-transform: uppercase;
	text-indent: -9999px;
}
/* AlternaVisit Portal */
#loginFrame {
	width: 100%;
	height: 500px;
	border: 0px;
}
@media (max-width:991px){
	#loginFrame {
        width: 100%;
        height: 510px;
    }

}
@media screen and (max-width: 1100px && min-width: 801px) {
    #loginFrame {
        width: 100%;
        height: 550px;
    }
}
@media screen and (max-width: 800px) {
    #loginFrame {
        width: 100%;
        height: 550px;
    }
}
/* End AlternaVisit Portal */
/* Misc */
#gallery-1 {
    margin-left: 9px !important;
    margin-bottom: 9px !important;
}
#footer .footer-bottom {
	width: 100%;
	min-height: 22px;
	font-family: 'Open Sans', Arial, sans-serif;
	font-size: 11px;
	color: #fff;
}
#footer .footer-bottom a {
	color: #fff;
	text-decoration: none;
}
#footer .footer-bottom a:hover {
	color:#c6c6c6;
}
#copyright {
}
#design {
	text-align: right;
}
#footer-links {
	text-align: center;
}
#footer-links ul.menu-footer {
	list-style-type: none;
	margin: 0 auto;
	padding: 0;
	text-align: center;
}
#footer-links ul.menu-footer > li {
	display: inline-block;
	position: relative;
}
#footer-links ul.menu-footer > li:before {
	content: '|';
	padding: 0 3px 0 0;
}
#footer-links ul.menu-footer > li:first-of-type:before {
	content: '';
}
#footer-links ul.menu-footer > li > a {
	display: inline-block;
	color: #fff;
}
#footer p {
	margin:0;
	padding:0;
}
.footer-top {
	max-width: 1084px;
	margin: 0 auto;
	padding: 5px 0;
	color: #fff;
	display:flex;
	-webkit-display: flex;
	-ms-display:flex;
	flex-flow:row nowrap;
	-webkit-flex-flow:row nowrap;
	-ms-flex-flow:row nowrap;
	justify-content: space-between;
	-webkit-justify-content: space-between;
	-ms-justify-content: space-between;
	font-size: 12px;
}
.footer-top div {
	flex-grow: 1;
}
.footer-top #footer-address {
	text-align: center;
}
.footer-top #footer-contact {
	text-align: right;
}
.footer-top #footer-contact span#fax {
	padding-left:10px;
}

#footer-newsletter {
	float: right;
	text-align: right;
}
#footer-newsletter h3 {
	color: #fff;
	font-size: 18px;
	line-height: 27px;
	font-weight: 300;
	display: inline-block;
	padding: 8px 15px 0 0;
}
#footer-newsletter #emma-form.emma-horizontal-layout {
	float: right;
	max-width: 325px;
	width: auto !important;
	position: relative;
}
#footer-newsletter #emma-form.emma-only-email.emma-horizontal-layout ul#emma-form-elements li.emma-form-row {
	margin: 0;
	padding: 0;
	width: auto;
}
#footer-newsletter #emma-form input[type="submit"] {
	background: url(img/newsletter_submit_bttn.jpg) center center no-repeat;
	width: 31px;
	height: 38px;
	border: 1px solid #3e3e3e;;
	text-indent: -9999px;
}
#footer-newsletter .emma-horizontal-layout ul#emma-form-elements .emma-form-input {
	max-width: 298px;
	width: 100%;
	height: 38px;
	padding: 5px;
	border: 1px solid #3e3e3e;;
}
#footer-newsletter .emma-form-label {
	display: none;
}
#footer-newsletter .emma-status {
	position: absolute;
	top: -65px;
	right: 15px;
	width: 250px;
	z-index: 99;
	color:#fff;
	text-align: left;
}
#footer-newsletter .spinner {
	margin: -10px auto 0 !important;
}
#footer-newsletter .emma-status::before, #footer-newsletter .emma-alert::before,
#footer-newsletter .emma-status:not(.emma-alert)::before {
	content: "";
	background: #00aeef none repeat scroll 0 0;
}
#footer-newsletter .emma-status:not(.emma-alert) {
	background: #525252;
	border: thin solid rgb(166, 187, 166);
}
#newsletter .emma-status, #footer-newsletter .emma-alert {
	position: absolute;
	left: -50%;
	top: -100px;
	text-align: right;
}
.spinner {
	margin: -10px auto 0 !important;
}
.clr {
	clear: both;
}
.clearfix:after {
	visibility: hidden;
	display: block;
	font-size: 0;
	content: '';
	clear: both;
	height: 0;
}
@media screen and (max-width: 1160px) {
	#hidden-header-left, #header-left {
		flex-basis: 236px;
	}
	#header-left ul.portal li a {
		font-size: 16px;
	}
}
@media screen and (max-width: 960px) {
	#hidden-header-left, #header-left {
		flex-basis: 216px;
	}
	#header-left ul.portal li a {
		font-size: 14px;
	}
	#hidden-header-right, #header-right {
		flex-basis: 278px;
	}
	#header-right #search input[type="text"] {
		width: 150px;
		font-size: 14px;
		line-height: 14px;
		height: 34px;
	}
	#header-right ul#menu-social-media li.fb a {
		width: 34px;
		height: 34px;
		background-size: contain;
	}
	#header-right #search input[type="submit"] {
		font-size: 14px;
		line-height: 14px;
	}
}
@media screen and (max-width: 900px) {
	#nav-wrapper ul.menu li a:link, #nav-wrapper ul.menu li a:visited, #nav-wrapper ul.menu li a:hover {
		font-size: 14px;
	}
	
	.slide .slide-caption {
		font-size: 14px;
	}
	.slide .slide-caption h2 {
		font-size: 28px;
	}
	.slide .slide-caption h5 {
		font-size: 14px;
	}
}
@media screen and (max-width: 860px) {
	#hidden-header-left, #header-left {
		flex-basis: 194px;
	}
	#header-left ul.portal li a {
		font-size: 12px;
	}
	#hidden-header-right, #header-right {
		flex-basis: 236px;
	}
	#header-right #search input[type="text"] {
		width: 120px;
		font-size: 12px;
		line-height: 12px;
		height: 32px;
	}
	#header-right ul#menu-social-media li.fb a {
		width: 30px;
		height: 30px;
		background-size: contain;
	}
	#header-right #search input[type="submit"] {
		font-size: 12px;
		line-height: 12px;
	}
	.home-boxes {
		flex-flow: column;
		-webkit-flex-flow: column;
		-ms-flex-flow: column;
	}
	.home-box {
		flex-basis: 100%;
		width: 100%;
		max-width: 478px;
		margin: 0 auto 15px;
	}
}
@media screen and (max-width: 800px) {
	.post-thumb {
		float: none;
		margin: 0 auto;
		padding-right: 0px;
		text-align: center;
	}
	#footer-newsletter h3 {
		padding: 0px 15px 0 0;
	}
}
@media screen and (max-width: 775px) {
	.slide .slide-caption {
		font-size: 14px;
		left: 0;
		right: 0;
		top: auto;
		bottom: 0;
		margin: auto;
		width: 100%;
		-webkit-transform: translateY(0);
		-ms-transform: translateY(0);
		transform: translateY(0);
		overflow: hidden;
	}
}
@media screen and (max-width: 720px) {
	.alignleft, .alignright {
		margin: 0 auto;
		float:none;
		display: block;
	}
	#hidden-header, #header {
		padding: 10px 15px 0;
		flex-flow: column nowrap;
		-webkit-flex-flow: colomn nowrap;
		-ms-flex-flow: column nowrap;
		justify-content: center;
		-webkit-justify-content: center;
		-ms-justify-content: center;
		align-content: center;
		-ms-align-content: center;
		-webkit-align-content: center;
	}
	#hidden-header-left, #header-left,
	#hidden-header-right, #header-right {
		flex-basis: 0;
		position: absolute;
		top: 10px;
		left: 82px;
	}
	#hidden-header-right, #header-right {
		left: initial;
		right: 20px;
	}
	#header-right-content {
		position: relative;
		bottom: inherit;
	}
	#header-left ul.portal {
		text-align: center;
		position: relative;
		bottom: auto;
	}
	#logo {
		padding-top: 40px;
	}
	ul#menu-main li {
		float: none;
		flex-grow: 1;
	}
	.slide {
		height: 250px;
	}
	#main-nav {
		display: none;
		background: none;
	}
	#header .menu {
		display: block;
	}
	#main-nav.toggled-on {
		display: block;
	}
	.menu-toggle-wrapper {
		display: block;
		width:56px;
		height: 30px;
		position:fixed;
		top: 20px;
		left: 15px;
		cursor: pointer;
		z-index: 9999;
	}
	.menu-toggle {
		display: block;
		width:56px;
		height:6px;
		background-color:#2c88b6;
		border-radius:5px;
	}
	.menu-toggle:before,
	.menu-toggle:after {
		content: '';
		width: 100%;
		height:6px;
		background-color:#2c88b6;
		position:absolute;
		left: 0;
		border-radius:5px;
	}
	.menu-toggle:before {
		top: 22px;
	}
	.menu-toggle:after {
		top: 11px;
	}
	#nav-wrapper ul.menu {
		display: block;
		position: fixed;
		top: 50px;
		left: 0px;
		width: 100%;
		height: auto;
		padding: 5px 10px;
		background: rgba(44, 136, 182,.95);
		text-align: right;
		z-index: 9999;
	}
	#nav-wrapper ul.menu li {
		display: block;
		float: none;
		margin: 0;
		padding: 5px 0;
		border-bottom: 1px solid #fff;
		border-right: 0;
		text-align: left;
	}
	#nav-wrapper ul.menu li.menu-item-33 br {
		display: none;
	}
	#nav-wrapper ul.menu li a:link, #nav-wrapper ul.menu li a:visited, #nav-wrapper ul.menu li a:hover {
		height: auto;
		line-height: 22px;
		padding: 0;
		color: #fff;
	}
	#nav-wrapper ul.menu li.current-menu-item a, #nav-wrapper ul.menu li a:hover {
	}
	#nav-wrapper ul.menu li ul {
		position: relative;
		top: auto;
		left: auto;
		min-width: 0px;
		opacity: 1;
		visibility: visible;
		padding-top: 10px;
		text-align: left;
		background: none;
		border: none;
		z-index: 9999999;
	}
	#nav-wrapper ul.menu li.menu-item-has-children:hover  {
	background: none;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
	}
	#nav-wrapper ul.menu li li {
		float: none;
		padding: 2px !important;
		height: auto !important;
		margin: 0;
	}
	#nav-wrapper ul.menu li ul li a {
		font-size: 12px;
	}
	#nav-wrapper ul.menu li ul li {
		float: none;
	}
	#nav-wrapper ul.menu li ul li a {
		height: auto !important;
	}
	#nav-wrapper ul.menu li:first-child:hover:after,
	#nav-wrapper ul.menu li.current-menu-item:first-child:after,
	#nav-wrapper ul.menu li.current-menu-item:after,/*arrow added to uparrowdiv DIV*/
	#nav-wrapper ul.menu li:hover:after{ 
		left:10px;
	}
	.content-wrapper.home {
		margin-top: 0;
	}
	.content.twocol {
		display: flex;
		-webkit-display: flex;
		-ms-display: flex;
		flex-direction: column;
		-webkit-flex-direction: column;
		-ms-flex-direction: column;
	}
	.content.twocol .post {
		order: 1;
		-webkit-order: 1;
		-ms-order: 1;
	}
	.content.twocol #rightcol {
		order: 2;
		-webkit-order: 2;
		-ms-order: 2;
		margin: 0 auto;
	}
	.blog-wrapper {
	    display: -webkit-flex; /* Safari */
		display: flex;
		flex-flow: column nowrap;

	}
	.blog-post-wrapper {
		-webkit-box-ordinal-group: 1;
		order:1;
		padding: 25px 15px;
	}
	#sidebar-wrapper {
		float: none;
		margin: 0 auto;
		background: #e8e8e8;
		-webkit-box-ordinal-group: 2;
		order:2;
	}
	.section.two-col,
	.section.multi-column,
	.section.flex {
		flex-direction: column;
		-webkit-flex-direction: column;
	}
	.section.flex div {
		-webkit-flex-basis: auto;
		flex-basis: auto;
		margin: 0 auto;
	}
	.one-third,
	.one-fourth {
		width: auto;
	}
	.section.flex div.padding-right {
		padding-right: 0px;
		-webkit-flex-basis: auto;
		flex-basis: auto;
	}
	.bio-img {
		float:none;
	}
}
@media screen and (max-width: 700px) {
	.slider_content {
		background: rgba(232, 232, 232, .75);
		padding: 0 5px;
		top: 10%;
		left: 8%;
		width: 85%;
	}
	.slider_content p {
		margin-bottom: 5px;
	}
}
@media screen and (max-width: 680px) {
	.slider_content h2 {
		font-size: 20px;
		letter-spacing: 2.1px;
	}
	.slider_content .button {
		padding: 5px 10px;
	}
}
@media screen and (max-width: 600px) {
	.location-content {
		float: none;
	}
	.location-thumb {
		max-width: 100%;
		float: none;
		padding-top: 15px;
	}
	#home-boxes {
		flex-direction: column;
		-webkit-flex-direction: column;
	}
	#home-boxes .home-box {
		padding-bottom: 25px;
	}
	#home-boxes .home-box-icon, 
	#home-boxes h3 {
		text-align: center;
	}
	.footer-top {
		flex-flow:column nowrap;
		-webkit-flex-flow:column nowrap;
		-ms-flex-flow:column nowrap;
		justify-content: center;
		-webkit-justify-content: center;
		-ms-justify-content: center;
	}
	.footer-top > div{
		margin: 0 auto;
	}
	.footer-top > div {
		margin-bottom: 15px;
	}
	
}
@media screen and (max-width: 540px) {
	#header-left ul.portal li a,
	#header-right #search input[type="submit"] {
		font-size: 12px;
		line-height: 12px;
		padding: 5px 10px;
	}	
	#header-right #search input[type="text"] {
		width: 100px;
		height: 22px;
	}
	#header-right ul#menu-social-media li.fb a {
		width: 22px;
		height: 22px;
		margin-top: 3px;
	}
    #gallery-1 {
        margin-left: 7px !important;
    }
}
@media screen and (max-width: 470px) {
	#hidden-header-left, #header-left, #hidden-header-right, #header-right {
		flex-basis: 0;
		position: absolute;
		top: 6px;
		left: 0;
		right: 0;
		margin: 0 auto;
	}
	#hidden-header-right, #header-right {
		left: initial;
		right: 0px;
		top: 34px;
		left: 0;
		text-align: center;
		width: 196px;
		margin: 0 auto;
	}
}
@media screen and (max-width: 425px) {
	.slide {
		height: 200px;
	}
	.slide .slide-caption h2 {
		font-size: 21px;
	}
	.slide .slide-caption {
		font-size: 12px;
	}
	.slide .slide-caption h5 {
		font-size: 12px;
	}
	h1 {font-size: 38px;}
	.page-title-thumb {
		max-width: 120px;
	}
}
