.inner {
	position:			relative;
	
	max-width:			990px;

	margin:				0px auto 0px auto;
	padding:			0 10px;
}

.inner:after {
	display:			block;
	content:			' ';
	clear:				both;
}

#mainwrap {
	margin:				0;
	padding:			230px 0 0 0;
	
	overflow:			hidden;
}

.home #mainwrap {
	padding:			600px 0 0 0;
}

@media (min-height: 769px) {
	#mainwrap {
		padding:			600px 0 0 0;
	}
}

.nobanner #mainwrap {
	padding:			230px 0 0 0;
}


.findermap {
	height:					100%;
}

.findermap #mainwrap {
	padding:			0;
}

#headerwrap {
	position:			fixed;
	z-index:			100;
	top:				0;
	left:				0;

	margin:				0;
	padding:			0;
	
	width:				100%;
	overflow:			hidden;
	line-height:		0;
	
	text-align:			right;

	background-color:	rgba(255,255,255,1);
	
	transition:			all 0.25s;
}

#headerwrap p {
	position:	absolute;
	left:		10px;
	bottom:		5px;
	
	margin:		0;				
	padding:	0;
}


.link-home {
	display:			inline-block;
	
	overflow:			hidden;
	max-width:			100%;	
	
	width:				620px;
	height:				110px;	
	
	margin:				0 10px;
	padding:			0;
	
	text-align:			left;
	text-indent:		-999px;
	
	background-image:	url('../images/logo_apbg.png');
	background-repeat:	no-repeat;
	background-position:center;
	background-size:	contain;

	transition:			all 0.25s;
}

.sticky .link-home,
.findermap .link-home {
	width:				310px;
	height:				55px;
}

#catnavwrap {
	position:			fixed;
	z-index:			100;
	top:				100px;
	left:				0;

	margin:				0;
	padding:			20px 0;
	
	width:				100%;
	height:				80px;
	overflow:			hidden;
	line-height:		0;
	
	transition:			all 0.25s;
}

.sticky #catnavwrap,
.findermap #catnavwrap {
	top:				55px;	
	
	padding:			10px 0;
	height:				40px;	
}

.sticky #catnavwrap {
	background-color:	rgba(255,255,255,1);
}

#catnavwrap ul,
#catnavwrap li {
	position:			relative;

	display:			block;

	margin:				0;
	padding:			0;

	list-style:			none;
	line-height:		100%;
}

#catnavwrap ul {
	margin:				0 auto;
	width:				99%;
}

#catnavwrap li {
	width:				25%;	
	width:				20%;
	float:				left;
}

#catnavwrap a,
#catnavwrap a:link,
#catnavwrap a:visited {
	display:			block;
	float:				left;

	width:				96%;
	height:				80px;

	margin:				0 2%;
	padding:			0;
	
	line-height:		80px;
	text-decoration:	none;
	font-size:			200%;
	text-align:			center;
	color:				rgb(255,255,255);

	background-color:	rgba(0,0,0);

	opacity:			1;
	
	transition:			all 0.25s;
}

.sticky #catnavwrap a,
.sticky #catnavwrap a:link,
.sticky #catnavwrap a:visited,
.findermap #catnavwrap a,
.findermap #catnavwrap a:link,
.findermap #catnavwrap a:visited {
	height:				40px;

	line-height:		40px;	
}

#catnavwrap ul > li:nth-child(1) a {
	background-color:	rgb(2,91,196);	
}
#catnavwrap ul > li:nth-child(2) a {
	background-color:	rgb(251,173,61);	
}
#catnavwrap ul > li:nth-child(3) a {
	background-color:	rgb(3,146,71);	
}
#catnavwrap ul > li:nth-child(4) a {
	background-color:	rgb(234,17,141);	
}
#catnavwrap ul > li:nth-child(5) a {
	background-color:	rgb(0,0,0);	
}

#catnavwrap a:active,
#catnavwrap a:focus,
#catnavwrap a:hover {
	opacity:			1;
}

#navtrigger {
	display:			none;	
}

#navwrap {
	position:			relative;

	margin:				0;
	padding:			0;
	
	width:				100%;
	
	background-color:	rgba(255,255,255,1);
}	

.sticky #navwrap,
.findermap #navwrap {
	position:			fixed;
	top:				115px;
	z-index:			99;
	
	margin:				0;
}

#navwrap ul,
#navwrap li {
	position:			relative;
	display:			inline-block;

	margin:				0;
	padding:			0;
	
	list-style:			none;
	line-height:		100%;
	text-align:			center;
}

#navwrap ul {
	width:				100%;
}

#navwrap a,
#navwrap a:link,
#navwrap a:visited {
	display:			inline-block;

	height:				30px;

	margin:				15px 0;
	padding:			0 15px;
	
	line-height:		30px;
	text-decoration:	none;
	font-size:			140%;
	color:				rgb(3,146,71);
	
	border-right:		1px solid rgb(2,91,166);
}

#navwrap ul > li:last-child a {
	border:				none !important;
}

#navwrap a:visited {
	color:				rgba(3,146,71,0.8);	
}

#navwrap a:active,
#navwrap a:focus,
#navwrap a:hover {
	color:				rgb(2,91,166);
}

#navwrap ul ul  {
	position:			absolute;
	z-index:			99;

	width:				200px;

	top:				-999em;
	left:				50%;

	margin:				0 0 0 -100px;
	padding:			5px 0 0 0;
	
	background-color:	rgba(255,255,255,1);
}

#navwrap ul li:hover ul {
	top:				45px;
}

#navwrap ul.navwrap-menu > li:hover > a {
	color: 				rgb(2,91,166);
}

#navwrap ul ul,
#navwrap ul ul li {
	width:				200px;	
}

#navwrap ul ul a,
#navwrap ul ul a:link,
#navwrap ul ul a:visited {
	position:			relative;
	display:			block;

	margin:				0 0 1px 0;
	padding:			10px 0;
	
	height:				auto;
	
	font-weight:		normal;
	font-size:			120%;	
	color:				rgb(255,255,255);
	line-height:		110%;

	border:				none;
	
	background-color:	rgb(3,146,71);
}

#navwrap ul ul a:active,
#navwrap ul ul a:focus,
#navwrap ul ul a:hover {
	background-color:	rgb(2,91,166);
}

#navwrap ul ul a span {
	position:			absolute;
	
	top:				10px;
	right:				8px;
}

#navwrap ul ul ul {
	display:			none;	
}

#bannerwrap {
	position:			fixed;
	top:				0;
	left:				0;
	z-index:			0;
	width:				100%;

	height:				600px;
	overflow:			hidden;
	
	margin:				0;
	padding:			0;
	
	line-height:		0;
}

.nobanner #bannerwrap,
.findermap #bannerwrap {
	display:			none;
}

#bannerwrap #slideshow {
	position:			absolute;
	top:				50%;
	left:				50%;

	width:				2000px;
	height:				600px;

	margin:				-300px 0 0 -1000px;	
	padding:			0;
}

#slides {
	display:			none;
}

.slide {
	position:			relative;

	margin:				0;
	padding:			0;
	
	width:				100%;
	height:				100%;
	
	font-size:			0;	
	line-height:		100%;
}

.slide img {
	position:			absolute;
	top:				-9999px;
	left:				-9999px;	
	bottom:				-9999px;
	right:				-9999px;
	
	width:				100%;
	height:				auto;
	
	margin:				auto;
}

#contentwrap {
	position:			relative;
	z-index:			10;
	
	margin:				0;
	padding:			20px 0 115px 0;
	
	min-height:			300px;
	
	background-color:	#FFF;	
}

.findermap #contentwrap {
	padding:			0;
}


#primary {
	margin:				0;
	padding:			0;
}

#primary h1,
#primary h2,
#primary h3 {
	text-align:			center;	
}

#primary h3 {
	margin:				0 10% 20px 10%;	
}

.home #primary ul,
#primary ul.highlight {
	margin:				0 -9999px 20px -9999px;
	padding:			1% 9999px;

	text-align:			center;
	list-style:			none;

	background-color:	rgb(2,91,166);
	
	display:			flex;
	display:			-webkit-flex;
	flex-wrap:			wrap;
	-webkit-flex-wrap:	wrap;
	justify-content:	center;
	-webkit-justify-content:center;  	
}

.home #primary li,
#primary .highlight li {
	display:			inline-block;
	
	margin:				1%;
	padding:			1%;

	width:				25%;
	font-size:			110%;
	color:				rgb(255,255,255);
	
	background-color:	rgb(3,146,71);
}

.home #primary li a,
.home #primary li a:link,
.home #primary li a:visited,
#primary .highlight li a,
#primary .highlight li a:link,
#primary .highlight li a:visited {
	color:				rgb(255,255,255);
}

.page-template-template-members-list #primary {
	text-align:			center;
}

.page-template-template-members-list #primary article.apbgmember {
	position:			relative;
	
	display:			block;
	
	float:				left;
	
	margin:				1%;
	padding:			1%;

	width:				25%;
	
	overflow:			hidden;

	border-top:			20px solid rgb(3,146,71);
	border-bottom:		1px solid rgb(3,146,71);	
}

.page-template-template-members-list #primary article.apbgmember.kennel {
	border-color:		rgb(2,91,196);		
}
.page-template-template-members-list #primary article.apbgmember.cattery {
	border-color:		rgb(251,173,61);	
}
.page-template-template-members-list #primary article.apbgmember.groomer {
	border-color:		rgb(3,146,71);	
}
.page-template-template-members-list #primary article.apbgmember.bird-small-pet {
	border-color:		rgb(234,17,141);
}

.page-template-template-members-list #primary article.apbgmember:nth-child(3n + 1) {
	margin:				1% 1% 1% 7%;
		
	clear:				both;	
}


#primary form.wpcf7-form {
	display: 			block;
	margin:				40px auto;
	padding:			20px 10px 20px 10px;
	
	max-width:			640px;
	
	
	text-align:			center;
	
	border:				1px solid rgb(2,91,166);
	
	background-color:	rgba(0,0,0,0.05);
}


#primary .wpcf7 label {
	width:				25%;
	margin:				0 0 5px 0;
	padding:			0;
	
	float:				left;
	clear:				both;
	text-align:			left;
	font-weight: 		bold;
}

#primary .wpcf7 input[type=text],
#primary .wpcf7 input[type=email],
#primary .wpcf7 textarea,
#primary .wpcf7 select {
	width:				75%;
	text-align:			left;	
}

#primary .wpcf7 button,
#primary .wpcf7 input[type=submit] {
	margin:				0 0 5px 0;
	padding:			0 25px;
	
	height:				40px;
	
	background-color:	rgb(210, 32, 42);
	border:				1px solid rgb(210, 32, 42);	
	
	color:				rgb(255,255,255);
	font-weight:		bold;
	font-size:			120%;
	line-height:		40px;
	
	cursor:				pointer;
	
	outline:			none;
}

#primary .wpcf7 button:focus,
#primary .wpcf7 input[type=submit]:focus {
	outline:			none;
}

#primary .wpcf7 span.wpcf7-not-valid-tip {
	margin:				5px 0 0 25%;
	padding:			5px;
	
	border:				1px solid rgb(210, 32, 42);	
}

#primary .wpcf7 .wpcf7-response-output {
	margin:				5px 0 0 25%;
	padding:			5px;
}


.findermap #primary .catflags {
	margin:				0 0 20px 0;
	padding:			0;
	
	text-align:			center;
}

.findermap #primary .catflag {
	display:			inline-block;
	
	margin:				0 1%;
	padding:			0;
	
	height:				50px;	
	width:				20%;
	
	color:				rgb(255,255,255);
	line-height:		50px;
	overflow:			hidden;
	font-size:			16px;

	background-color:	#FF00FF;
}


.findermap #primary .catflag.kennel {
	background-color: 	rgb(2,91,196);
}

.findermap #primary .catflag.cattery {
	background-color: 	rgb(251,173,61);
}

.findermap #primary .catflag.groomer {
	background-color: 	rgb(3,146,71);
}

.findermap #primary .catflag.bird-small-pet {
	background-color: 	rgb(234,17,141);
}

#secondary {
	margin:				0;
	padding:			0;
	
	position:			relative;
}

.findermap #secondary {
	position:			fixed;
	z-index:			200;
	
	top:				250px;
	right:				20px;
	
	width:				330px;
	height:				600px;
	
	overflow-x:			hidden;
	overflow-y:			scroll;
	
	background-color:	rgba(255,255,255,0.95);
}

.findermap #secondary .listingheader {
	position:			relative;
	
	margin:				0 0 1px 0;
	padding:			5px 10px;

	width:				290px;
	height:				50px;

	background-color:	rgba(0,0,0,0.1);
}

.findermap #secondary .listingheader a,
.findermap #secondary .listingheader a:link,
.findermap #secondary .listingheader a:visited {
	position:			absolute;
	top:				15px;
	right:				10px;
	
	display:			block;	
	
	width:				30px;
	height:				30px;	

	line-height:		30px;
	font-size:			30px;
	font-weight:		600;
	text-decoration:	none;
	text-align:			center;
	
	color:				rgb(255,255,255);	
	
	background-color:	rgba(0,0,0,0.1);
}

.findermap #secondary .listingheader.kennel {
	background-color:	rgb(2,91,196);		
}
.findermap #secondary .listingheader.cattery {
	background-color:	rgb(251,173,61);	
}
.findermap #secondary .listingheader.groomer {
	background-color:	rgb(3,146,71);	
}
.findermap #secondary .listingheader.bird-small-pet {
	background-color:	rgb(234,17,141);
}

.findermap #secondary .listingheader h3 {
	margin:				0;
	padding:			0;

	line-height:		50px;
	color:				rgb(255,255,255);
}



.findermap #secondary a,
.findermap #secondary a:link,
.findermap #secondary a:visited {
	color:				rgb(255,255,255);	

	text-decoration:	underline;
}

.findermap #secondary a:active,
.findermap #secondary a:focus,
.findermap #secondary a:hover {
	text-decoration:	underline;
}


.findermap #secondary article {
	position:			relative;
	
	overflow:			hidden;

	margin:				0 0 1px 0;
	padding:			0;

	width:				310px;
	
	color:				rgb(255,255,255);	
	
	background-color: 	rgb(2,91,196);
}

.findermap #secondary article.kennel {
	background-color: 	rgb(2,91,196);
}

.findermap #secondary article.cattery {
	background-color: 	rgb(251,173,61);
}

.findermap #secondary article.groomer {
	background-color: 	rgb(3,146,71);
}

.findermap #secondary article.bird-small-pet {
	background-color: 	rgb(234,17,141);
}


.findermap #secondary article header {
	position:			relative;
	margin:				0;
	padding:			10px 0 10px 10px;
}

.findermap #secondary article header .catflag {
	float:				right;
	
	margin:				-10px 0 0 0;
	padding:			0;
	
	height:				50px;	
	width:				20px;
	
	overflow:			hidden;
	
	text-indent:		-9999px;
	
	background-color:	#FF00FF;
}


.findermap #secondary article header .catflag.kennel {
	background-color: 	rgb(2,91,196);
}

.findermap #secondary article header .catflag.cattery {
	background-color: 	rgb(251,173,61);
}

.findermap #secondary article header .catflag.groomer {
	background-color: 	rgb(3,146,71);
}

.findermap #secondary article header .catflag.bird-small-pet {
	background-color: 	rgb(234,17,141);
}


.findermap #secondary article header h4 {
	cursor:				pointer;
	
	margin:				0;
	padding:			0 0 0 50px;
	
	line-height:		110%;
	color:				rgb(255,255,255);	
}

.findermap #secondary article header h4 span {
	display:			inline-block;
	width:				30px;
	height:				30px;
	
	margin:				0 10px 0 -50px;
	padding:			0;
	
	line-height:		30px;
	font-weight:		600;
	text-align:			center;
	color:				rgb(0,0,0);
	
	border-radius:		100%;
	
	background-color:	rgb(255,255,255);		 	
}

.findermap #secondary article section {
	margin:				0 0 0 50px;
	padding:			0;	
	
	color:				rgb(255,255,255);
	
	display:			none;
}

#footerwrap {
	position:			relative;
	z-index:			20;
	margin:				0;
	padding:			0;
	
	color:				rgb(255,255,255);
	line-height:		40px;
	
	border-top:			1px solid rgb(255,255,255);

	background-color: 	rgb(2,91,166);
}	

@media (min-height: 769px) {
	#footerwrap {
		position:			fixed;
		
		bottom:				0;
		left:				0;
		
		width:				100%;
	}
}

#footerwrap .widget {
	margin:					0 15px;
	float:					left;
}

#footerwrap .widget p {
	margin:				0;
	
	line-height:		40px;
}

#footerwrap ul,
#footerwrap li {
	display:			inline-block;

	margin:				0;
	padding:			0;

	list-style:			none;
	line-height:		100%;
}

#footerwrap ul {
	float:				right;
}

#footerwrap a,
#footerwrap a:link,
#footerwrap a:visited {
	display:			inline-block;

	margin:				10px 0;
	padding:			0 15px;
	
	line-height:		20px;
	text-decoration:	none;
	color:				rgb(255,255,255);
	
	border-right:		1px solid rgb(255,255,255);
}

#footerwrap ul > li:last-child a {
	border:				none !important;
}

#footerwrap a:visited {
	color:				rgba(255,255,2550.8);	
}

#footerwrap a:active,
#footerwrap a:focus,
#footerwrap a:hover {
	color:				rgb(3,146,71);
}

#footerwrap:after {
	display:			block;
	content:			' ';
	clear:				both;
}

.alignleft,
.aligncenter,
.alignright {
	position:			relative;

	padding:			0;

	max-width:			40%;
	height:				auto;	
}

.alignleft img,
.aligncenter img,
.alignright img {
	width:				100%;
	height:				auto;
} 


.alignleft {
	float:				left;

	margin:				0 5% 1% 0;
}

.aligncenter {
	display:			block;
	margin:				0 auto 1% auto;
	
	max-width:			80%;	
}

.alignright {
	float:				right;

	margin:				0 0 1% 5%;
}


dl.gallery-item dt {
	float:				none;
	width:				auto;
	
	text-align:			left;
}

dl.gallery-item dd {
	margin:				0px;
	padding:			0px;

	text-align:			left;		
}

.gm-style,
.gm-style .gm-style-iw {
	font-size:			15px;
	font-family:		'OPen Sans', sans-serif;
	color:				rgb(51, 51, 51);
	font-weight:		400;
}

.gm-style h4 {
	margin:			10px 0 !important;
}

.gm-style .gm-style-iw p {
	margin:				0 0 10px 0;	
}

.gm-style .gm-style-iw a,
.gm-style .gm-style-iw a:link,
.gm-style .gm-style-iw a:visited  {
	text-decoration:	none;
	color:				rgb(2,91,166);
}

.gm-style .gm-style-iw a:active,
.gm-style .gm-style-iw a:focus,
.gm-style .gm-style-iw a:hover {
	text-decoration:	underline;
	color:				rgb(2,91,166);
}	


.readmore {
	display:			block;
	
	clear:				both;

	float:				right;

	line-height:		100%;
}

.gallery {
	margin:				0 0 20px 0 !important;
}

.gallery .gallery-item {
	position:			relative;
	
	padding:			0;
	
	line-height:		0;
}

.gallery .gallery-item img {
	display:			block;

	width:				90%;
	height:				auto;

	margin:				0 auto;
	
	border:				1px solid rgb(204,204,204) !important;
}

.gallery .gallery-caption {
	position:			absolute;
	margin:				0;
	padding:			2%;
	left:				5%;
	bottom:				1px;
	
	width:				86%;
	line-height:		120%;
	font-size:			14px;
	text-align:			center;
	
	opacity:			0;
	
	background-color:	rgb(255, 255, 255);
}

.gallery .gallery-item:hover .gallery-caption {
	opacity:			1;
}


.pagination  {
	margin:				5px 0;

	clear:				both;

	text-align:			right;
	
	background-color:	rgba(91, 103, 112, 0.1);
}

.pagination  h2 {
	display:			none;
}

.pagination a,
.pagination a:link,
.pagination a:visited,
.pagination span {
	display:			inline-block;
	
	height:				20px;
	min-width:			10px;
	
	margin:				5px 5px 5px 0;
	padding:			0 5px;

	line-height:		20px;
	text-align:			center;
	
	background-color:	rgba(91, 103, 112, 0.1);
}

.pagination a:active,
.pagination a:focus,
.pagination a:hover {
	background-color:	rgba(91, 103, 112, 0.2);
	text-decoration:	none;
}


.textcolumns {
	-webkit-column-count:2;
	-moz-column-count:	2;
	 column-count:		2;
	 
    -webkit-column-gap:	2%;
    -moz-column-gap:	2%;
    column-gap:			2%;	 
}

.textcolumns p {
	page-break-inside:	avoid;
	-webkit-column-break-inside:avoid;
	break-inside:		avoid;
}

.footnote {
	margin:				0;
	padding:			0;
	font-size:			95%;
	opacity:			0.8;
}


.sixteennine {
	position:			relative;

	width:				100%;
	height:				0;

	margin:				0 auto;
	padding:			0 0 56% 0;
	
	background-color:	rgb(0,0,0);
}

.sixteennine iframe {
	position:			absolute;
	left:				0;
	top:				0;
	
	width:				100%;
	height:				100%;
}

#gmap,
#locationmap {
	position:			relative;

	margin:				0;
	padding:			0;

	width:				100%;
	height:				800px;
	
	background-color:	rgba(0,0,0,0.1);
}

#locationmap {
	margin:				0 0 50px 0;

	height:				600px;
}

#gmap .notification {
	position:			relative;
	top:				50%;
		
	margin:				-25px 0 0 0;
	padding:			0;
	
	height:				50px;

	line-height:		50px;	
	text-align:			center;	
	font-size:			20px;
}

#mapsearch {
	position:			fixed;
	z-index:			210;
	
	top:				190px;
	right:				20px;
	
	width:				330px;
	height:				60px;

	margin:				0;
	padding:			0;

	line-height:		0;
	text-align:			right;
	font-size:			0;
}

#mapsearch form {
	margin:				0;
	padding:			0;

	line-height:		60px;	
}

#mapsearch input {
	box-sizing:			border-box;
	display:			inline-block;

	margin:				0;
	padding:			0 5px;

	height:				60px;
	
	font-size:			18px;	
	line-height:		60px;
	border:				none;
	outline:			none;
}

#mapsearch input[type=text] {
	width:				270px;
	
	background-color:	rgba(255,255,255,0.9);
}


#mapsearch input[type=submit] {

	width:				60px;
	overflow:			hidden;
	
	text-align:			left;
	text-indent:		-9999px;
	
	background-color:	rgb(3,146,71);
	background-image:	url('../images/icon_search.png');
	background-repeat:	no-repeat;
	background-position:center;
}

.big-btn,
.big-btn:link,
.big-btn:visited {
	display:			block;
	margin:				40px auto;
	padding:			10px 20px;
	box-sizing: 		border-box;
	
	max-width:			640px;
	
	text-align: 		center;
	font-size:			200%;
	font-weight:		bold;
	line-height: 		120%;
	color:				rgb(255,255,255);
	text-decoration: 	none;
	
	transition: 		all 0.5s;
	
	background-color:	rgb(3,146,71);
	
}

.big-btn:active,
.big-btn:focus,
.big-btn:hover {
	transform: scale(1.1);
}