/*

Theme Name: All Points PR
Theme URI: http://allpointspr.com
Description: Theme for All Points Public Relatins, LLC 
Version: 1.0
Author URI: http://www.dirsmith.com

*/


body {
	overflow-y: scroll;
	background: url("Background.png") top left repeat-x;
	font: 12px/16px Arial, Helvetica, sans-serif ;
	margin: 0; padding: 0;
	-webkit-text-size-adjust: none;
}

/*  RESET  */

div, img, h1, h2, h3, h4, p, ul, ol, li a {
	margin-top: 0px;
	margin-right: 0px;
	margin-left: 0px;
	margin-bottom: 0px;
	padding: 0;
	outline: 0;
	border: none;
}
a {
	text-decoration: none;
	color: #1a5788;
}
a:hover {
	text-decoration: underline;
}

/*  PAGE */

#page {
	max-width: 1013px;
	margin: 0 auto;
	position: relative;
}

/*  BANNER  */

#banner {
	background-color: #FFF;
	position: relative;
	margin: 0 21px 0 21px;
	overflow: visible;
}

#calloremail {
	color: #98012e;
	font-size: 15px;
	text-align: right;
	float: right;
	padding: 11px 11px 0 0;
}
#calloremail a { color: #90012e}

#socialmedia {
	float: right;
	padding: 10px 12px 0 0;
}
#socialmedia img {
	width: 30px;
}

#header-blue {
	position: relative;
	background: url("BlueBannerFold.png") no-repeat;
	height: 355px;
	width: 1013px;
	margin: 22px 0 0 -21px;
	padding: 0;
	overflow: hidden;
	
}

#slogan {
	position: relative;
	top: 0;
	left: 35px;
	z-index: 10;
}

#pageimage {
	background: #1f3f5b url("APPR-Home-Image.png") no-repeat; 
	height: 317px;
	width: 394px;
	position: absolute;
	top: 0;
	right: 0;
	z-index: 11;
	opacity: 0;
}

body.home #pageimage,
body.about #pageimage,
body.parent-pageid-31 #pageimage { 
	background: #1f3f5b; 
	width: 297px;
	height: 297px;
	border: solid 10px #90002c;
}
#pageimage > div {
	background: #ffffff url("APPR-Home-Image-2.png") right top no-repeat;
	width: 100%;
	height: 100%; 
}
#pageimage div div {
	float: left;
	width: 138px;
	height: 138px;
	margin: 5px;
	border-sizing: box;
	position: relative;
}
#pageimage img {
	position: absolute;
	width: 138px !important;
	height: 138px !important;
	top: 0;
	left: 0;
	opacity: 1;
}
#pageimage img.notyet {
	opacity: 0;
}

#arrow {
	position: absolute;
	background: url("new-sliding-arrow.png") no-repeat;
	width: 680px;
	height: 311px;
	top: 50%;
	margin-top: -176px;
	right: -180px;
	right: -680px;
	opacity: 0.4;
	z-index: 12;
}
#arrow div {
	margin: 75px 0 0 145px;
	width: 300px;
	position: relative;
}
#arrow p {
	font: 14px/18px Arial, Helvetica, sans-serif ;
	color: #ffffff;
}
#arrow p:first-child {
	font: 17px/20px Arial, Helvetica, sans-serif;
	margin-bottom: 18px;
}
#arrow p.big:first-child {
	font: 20px/24px Arial, Helvetica, sans-serif;
	padding-top: 10px;
}
#arrow img {
	width: 150px;
	height: auto !important;
	position: absolute;
}


#logo {
	padding: 37px 0 10px 20px;
}

#menu-icon {
	display: none;
}

#menu-main-menu.menu {
	background: url("APPR-arrow.png") left no-repeat;
	position: absolute;
	z-index: 50;
	top: 45px;
	left: 287px;
	height: 61px;
	width: 660px;
	padding-left: 44px;
	list-style: none;
}
#menu-main-menu.menu li {
	display: inline-block;
	float: left;
	padding-top: 8px;
	position: relative;
}
#menu-main-menu.menu a {
	display: inline-block;
	padding: 14px 19px 13px 20px;
	font-size: 14px;
	font-weight: bold;
	line-height: 16px;
	text-decoration: none;
	color: #fff;
}
#menu-main-menu.menu a:hover { 
	color: #98012e;
}
#menu-main-menu.menu ul {
	display: none;
	position: absolute;
	z-index: 50;
	top: 51px;
	left: 8px;
	background-color: #526b8c;
	padding: 3px 12px 3px 3px;
}
#menu-main-menu.menu li:hover ul {
	display: block;
}
#menu-main-menu.menu ul li {
	display: block;
	padding: 0;
	width: 100%;
}
#menu-main-menu.menu ul a {
	display: inline-block;
	white-space: nowrap;
	padding: 6px 9px;
	width: 100%;
}




/*  CONTENTS  */

.entry-header {
	display: none;
}

#content {
	position: relative;
	background-color: #fff;
	border-left: solid 1px #72787d;
	border-right: solid 1px #72787d;
	min-height: 360px;
	margin: 0 20px 0 20px;
	padding: 2px 94px 4px 94px;
}

body.contact #content .entry-content {
	background: #ffffff url("APPR-Circular-Logo.png") 445px 155px no-repeat;
	background: #ffffff url("APPR-Circular-Logo.png") bottom right no-repeat;
}
@media (max-width: 760px) {
	body.contact #content .entry-content {
		background: none;
	}
}

/* remove the ribbon wrap */

@media (max-width: 1100px) {
	
	#banner {
		margin: 0;
		overflow: hidden;
	}
	#content {
		margin: 0;
		padding: 40px 94px;
	}
	
	#menu-main-menu.menu {
		background: url("APPR-arrow-long.png") left no-repeat;
		width: 800px;
	}
	
	#header-blue {
		background: #1f3f5b;
		margin: 0;
		width: 100%;
		height: 317px;
		height: auto;
	}
	
	#arrow {
		margin-top: -156px;
	}
	
	#slogan {
		left: 10px;
		width: 54%;
		height: auto;
	}
	#pageimage {
		height: 100%;
		width: auto;
	}
	body.home #pageimage,
	body.about #pageimage,
	body.parent-pageid-31 #pageimage { 
		height: 100%;
		width: 32%;
		width: 31.293%;
		border: solid 10px #90002c;
		box-sizing: border-box;
	}
	#pageimage > div {
		padding: 10px;
		background: #ffffff url("APPR-Home-Image-2.png") center no-repeat;
		width: 100%;
		height: 100%; 
		box-sizing: border-box;
	}
	#pageimage div div {
		width: 50%;
		height: 50%;
		margin: 0;
		box-sizing: border-box;
	}
	#pageimage img {
		width: 100% !important;
		height: 100% !important;
		padding: 5px;
		box-sizing: border-box;
	}
	
}

/* small screen menu */

@media (max-width: 920px) {
	
	#banner {
		position: relative;
		height: auto;
		overflow: visible;
	}
	
	#sticky {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 60px;
		z-index: 55;
		overflow: auto;
		background-color: #e0e0e0;
	}
	
	#calloremail {
		display: none;
	}
	
	#logo img {
		padding: 0;
		position: absolute;
		top: 10px;
		left: 18px;
		width: 160px !important;
		height: 44px !important;
	}
	
	#socialmedia {
		position: absolute;
		padding: 0;
		top: 15px;
		right: 55px;
	}
	
	#menu-icon {
		display: block;
		position: absolute;
		top: 2px;
		right: 4px;
		cursor: pointer;
		padding: 12px 8px 13px 8px;
	}
	#page.menu-open #menu-icon {
		background: url("menu-dingle.png") bottom no-repeat;
	}
	#menu-main-menu.menu {
		background: #526b8c;
		position: fixed;
		top: 0;
		left: auto;
		right: -300px;
		transition: right 0.25s;
		width: 290px;
		height: 100%;
		list-style: none;
		z-index: 52;
		padding: 60px 0 0 0;
		box-sizing: border-box;
		overflow-x: hidden;
		overflow-y: scroll;
	}
	#page.menu-open #menu-main-menu.menu {
		right: 0;
		transition: right 0.25s;
	}
	#menu-main-menu.menu li {
		background: #526b8c;
		display: block;
		width: 100%;
		padding-top: 8px;
		position: relative;
	}
	#menu-main-menu.menu > li:last-child {
		padding-bottom: 20px;
	}
	#menu-main-menu.menu ul {
		display: block;
		position: relative;
		top: auto;
		left: auto;
		padding: 3px 12px 3px 36px;
	}
	#menu-main-menu.menu ul a {
		display: block;
	}
		
	#menu-close {
		display: none;
	}
	#page.menu-open #menu-close {
		display: block;
		position: fixed;
		z-index: 51;
		top: 0; width: 100%;
		left: 0; height: 100%;
	}
	
	#header-blue {
		margin-top: 60px;
	}
	
	body.home #pageimage   { 
		border: solid 7px #90002c;
	}
	
	body.home #pageimage > div {
		padding: 7px;
	}
	
	#content {
		padding: 40px 40px;
	}

}

/* even smaller logo on phones */

@media (max-width: 420px) {
	
	#logo img {
		top: 15px;
		left: 10px;
		width: 120px !important;
		height: 33px !important;
	}
	
	body.home #pageimage   { 
		border: solid 5px #90002c;
	}
	
	body.home #pageimage > div {
		padding: 5px;
	}
	
}

/* even smaller logo clear down to an iphone 4 */

@media (max-width: 360px) {
	
	#logo img {
		top: 19px;
		left: 5px;
		width: 90px !important;
		height: 25px !important;
	}
	
}


#content h1 {
	display: block;
	background-color: #1e3e5b;
	color: #fff;
	width: 100%;
	text-align: center;
	Xalign-content: center;
	left: 0px;
	/* [disabled]height: 24px; */
	font-size: 20px;
	line-height: 20px;
	padding: 7px 0 6px 0;
	margin: 0;
	font-weight: bold;
}

#content h2 {
	color: #1e3e5b;
	padding: 28px 0 0 0;
	font-size: 24px;
	line-height: 26px;
}

#content h3 {
	color: #999999;
	padding: 30px 0 0 0;
	font-size: 18px;
	line-height: 20px;
}
#content h2 + h3 {
	padding: 16px 0 6px 0;
}

#content p {
	line-height: 25px;
	font-size: 16px;
	Xposition: relative;
	padding-top: 25px;
}

#content ul {
	padding-top: 12px;
	margin-left: 25px;
}
#content li {
	line-height: 25px;
	font-size: 16px;
}

#content img {
	max-width: 100%;
	height: auto !important;
}

#content img.alignright {
	float: right;
	margin: 4px 0 0 25px;
}
#content img.alignleft {
	float: left;
	margin: 4px 25px 0 0;
}

@media (max-width: 920px) {
	
	#content h1 {
		margin-left: -40px;
		margin-right: -40px;
		width: auto;
		padding: 5px 20px;
	}

}

@media (max-width: 600px) {
	
	#content {
		padding: 40px 20px;
	}
	
	#content h1 {
		margin-left: -20px;
		margin-right: -20px;
	}
	
	#content img.alignright, #content img.alignleft {
		float: none;
		display: block;
		margin: 0 auto 25px auto;
		max-width: 100%;
		height: auto !important;
	}
}


/*  SPECIAL PAGES  */

body.clients article {
}
body.clients #client-box {
	text-align: center;
	overflow: visible;
	margin: 18px 0 9px 1px;
	line-height: 1px;
}
body.clients #client-box img {
	border: solid 1px #aaaaaa;
	position: relative;
	margin: 0 -1px -1px 0;
	width: 155px !important;
	height: 155px !important;
}

@media (max-width: 540px) {
	
	body.clients #client-box img {
		width: 103px !important;
		height: 103px !important;
	}
	
}

body.clients #box-overlay {
	position: fixed;
	width: 320px;
	height: 414px;
}
body.clients #box-window {
	width: 320px;
	height: 414px;
	overflow: hidden;
	position: relative;
}
body.clients #box-image {
	height: 414px;
	width: auto;
	position: absolute;
	top: 0;
	left: 0;
}
body.clients #box-image.p1 {
	left: 0;
}
body.clients #box-image.p2 {
	left: -320px;
}
body.clients #box-image.p3 {
	left: -640px;
}
body.clients #box-image.p4 {
	left: -960px;
}
body.clients #box-image.p5 {
	left: -1280px;
}
body.clients #box-image.p6 {
	left: -1600px;
}
body.clients #box-image.p7 {
	left: -1920px;
}
body.clients #box-image.p8 {
	left: -2240px;
}
body.clients #box-page-left {
	background: #aaaaaa url("page-left.png") 7px 15px no-repeat;
	background-color: #aaaaaa;
	height: 54px;
	width: 39px;
	position: absolute;
	top: 185px;
	left: -20px;
	cursor: pointer;
	display: none;
}
body.clients #box-page-right {
	background: #aaaaaa url("page-right.png") 10px 15px no-repeat;
	height: 54px;
	width: 39px;
	position: absolute;
	top: 185px;
	right: -20px;
	cursor: pointer;
	display: none;
}
body.clients #box-page-left.active,
body.clients #box-page-right.active {
	display: block;
}

body.clients #box-close-button {
	background: url("close.png") no-repeat;
	height: 32px;
	width: 32px;
	position: absolute;
	top: -16px;
	right: -16px;
	cursor: pointer;
}




#box-close, #box-overlay {
	display: none;
}
#box-close.visible {
	display: block;
	position: fixed;
	z-index: 199;
	top: 0; width: 100%;
	left: 0; height: 100%;
}
#box-overlay.visible {
	display: block;
	position: absolute;
	z-index: 200;
	box-shadow: 2px 2px 4px #000000;
	border: solid 2px #333333;
	background-color: #ffffff;
}

div.point-people {
	clear: both;
	padding-bottom: 50px;
	overflow: auto;
}
div.point-people-image {
	float: left;
	margin: 33px 25px 25px 0;
	width: 200px;
}
div.point-people-bio {
	margin-left: 238px;
}

@media (max-width: 600px) {
	div.point-people-image {
		float: none;
		margin-bottom: 0;
	}
	div.point-people-bio {
		margin-left: 0;
	}
}

#table-team td {
	vertical-align: top;
}
#table-team img {
	width: 100px;
	height: 150px;
	padding: 36px 15px 0 0;
}

#table-team-show {
	margin-top: 12px;
}
#table-team-show td {
	vertical-align: top;
	padding-bottom: 19px;
}

#table-team-photo img {
	float: left;
	width: 100px;
	height: 150px;
	padding: 0 9px 9px 0;
	cursor: pointer;
	opacity: 0.4;
	transition: opacity 0.5s;
}
#table-team-photo img:hover,
#table-team-photo img.show {
	opacity: 1;
	transition: opacity 0.5s;
}

#table-team-bio div {
	display: none;
}
#table-team-bio div.show {
	display: block;
}
#table-team-bio h2 {
	margin-top: 0; padding-top: 0;
}


div.table-services {
	padding: 25px 0 15px 0;
	margin: 0 auto;
	text-align: center;
	overflow: auto;
}
div.table-services div {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	Xfloat: left;
	font-size: 14px;
	font-weight: bold;
	color: #1e3e5b;
	width: 152px;
	height: 210px;
}
table.table-services td img {
	width: 130px;
	height: 130px;
	margin-bottom: 6px;
}
table.table-services td a {
	color: #1e3e5b;
}



div.table-industry {
	padding-top: 25px;
	text-align: center;
	margin: 0 auto;
}
div.table-industry div {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	font-size: 14px;
	font-weight: bold;
	padding: 0 0 25px 0;
	color: #1e3e5b;
	width: 150px;
}
div.table-industry div img {
	width: 130px;
	height: 130px;
	margin-bottom: 6px;
}
div.table-industry div a {
	color: #1e3e5b;
}
div.table-industry {
	padding: 25px 0 15px 0;
}


.wrap {
}
div.table-case-studies {
	display: inline-block;
	padding: 15px 0 0 0;
	overflow: visible;
	text-align: center;
}
div.table-case-studies + p {
	clear: left;
}
div.table-case-studies div {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	font-size: 16px;
	font-weight: bold;
	padding: 20px 9px 20px 9px;
	color: #1e3e5b;
}
div.table-case-studies div img {
	width:  220px;
	height: 285px;
	border: solid 1px #aaa;
	margin: 4px 9px 0px 9px;
}
div.table-case-studies div a {
	font-size: 14px;
}

table.table-industry td p, div.table-services div p, div.table-case-studies div p {
	margin: 0; padding: 0;
}

@media (max-width: 580px) {

	div.table-case-studies div {
		border-bottom: solid 1px #aaaaaa;
	}
	div.table-case-studies div:last-child {
		border-bottom: none;
	}

}

div.casestudy_pdflink {
	float: right;
	text-align: center; 
	padding: 0 0 0 60px;
	margin-top: -24px;
}

@media (max-width: 600px) {
	div .casestudy_pdflink {
		float: none;
		margin-top: 0;
		padding: 25px 0 0 0;
	}
}

.vanilla-pdf-embed {
	border: solid 1px #aaaaaa;
}
.vanilla-pdf-embed.android {
	border: none;
}

body.contact #content h2 {
	padding-bottom: 0;
}
body.contact #content h2 + p {
	padding-top: 0;
}
body.contact #content img.contact-logo {
	position: absolute;
	top: 180px;
	right: 80px;
}



/*  BLOG PAGES  */

#content .cat-results p {
	padding-top: 6px;
}

#content .cat-blog article + h2, #content #posts-get-more, #content #posts-more h2 {
	border-top: solid 4px #b50137;
	margin-top: 25px;
	padding-top: 25px;
}

#content #posts-get-more-button {
	color: #98012E;
	cursor: pointer;
}


#content .cat-blog div.post-more h2:first-child {
	border-top: solid 4px #b50137;
}

#content p.post-info {
	font-size: 13px;
	padding-top: 6px;
	color: #888888;
}

#content .post-thumbnails {
	padding-top: 25px;
	width: 100%;
	text-align: center;
}
#content .post-thumbnails img {
	width: 46%;
	height: auto;
	box-sizing: border-box;
	display: inline-block;
	margin: 0 12px 25px 12px;
}
@media (max-width: 600px) {
	#content .post-thumbnails img {
		width: 90%;
	}
}

.single-post .post-thumbnail {
	display: none;
}

.entry-meta {
	padding-top: 25px;
}
.entry-meta:before {
	content: "Tags: ";
}
.tag-links a:before {
	content: ", ";
}
.tag-links a:first-child:before {
	content: "";
}

.post-nav {
	padding: 25px 0;
	color:  #99022f;
	font-size: 16px;
	overflow: visible;
	line-height: 25px;
}

.post-nav a {
	color:  #99022f;
}
.post-nav .post-next {
	float: right;
	padding: 0 25px;
}

#content div.post-more {
	display: none;
}



/*  FOOTER  */

#footer {
	position: relative;
	clear: both;
	height: 120px;
	margin: 0 20px 0 20px;
	border-left: solid 1px #72787d;
	border-right: solid 1px #72787d;
	border-bottom: solid 1px #72787d;
}

#footer-1 {
	background-color: #FFF;
	position: relative;
	height: 120px;
	border-left: 1px;
	border-right: 1px;
}

#logo-footer {
	float: right;
	padding-right: 20px;
	
	}



#menu-footer-menu.menu-footer {
	position: absolute;
	background: url("APPR-arrow-footer.png") top right no-repeat;
	top: 10px;
	right: 283px;
	height: 68px;
	width: 685px;
	list-style: none;
	z-index: 10;
	padding-left: 24px;
	
}
#menu-footer-menu.menu-footer li {
	display: inline-block;
	color: #ffffff;
	margin-top: 14px;
	position: relative;
}
#menu-footer-menu.menu-footer a {
	display: inline-block;
	padding: 12px 18px 12px 19px;
	font: bold 13px/16px Arial, Helvetica, sans-serif ;
	text-decoration: none;
	color: #fff;
}
#menu-footer-menu.menu-footer a:hover { 
	color: #98012e;
}
#menu-footer-menu.menu-footer ul {
	display: none;
	position: absolute;
	z-index: 50;
	bottom: 39px;
	left: 8px;
	background-color: #526b8c;
	padding: 0 12px 9px 3px;
}
#menu-footer-menu.menu-footer li:hover ul {
	display: block;
}
#menu-footer-menu.menu-footer ul li {
	display: block;
	padding: 0;
}
#menu-footer-menu.menu-footer ul a {
	display: inline-block;
	white-space: nowrap;
	padding: 0 9px;
}



#footer-2 {
	position: absolute;
	width: 800px;
	height: 185px;
	}
#footer-ifa-logo {
	position: absolute;
	top: 16px;
	left: 92px;
}
#footer-contact {
	position: absolute;
	top: 16px;
	left: 185px;
}
#footer-contact p {
	font: 12px/14px Arial, Helvetica, sans-serif;
	padding: 4px 15px 9px 0;
}
#footer-contact a {
	color: #000;
}

@media (max-width: 1100px) {
	
	#footer {
		margin: 0;
	}
	#menu-footer-menu.menu-footer {
		background: url("APPR-arrow-footer-long.png") top right no-repeat;
		width: 704px;
	}
	
}

@media (max-width: 920px) {

	#footer {
		border: none;
	}
	
	#footer-1 {
		display: none;
	}
	
	#footer-2 {
		width: 100%;
		background: #97a6b1;
	}
	#footer-ifa-logo {
		left: 22px;
	}
	#footer-contact {
		left: 115px;
	}
	
	
	
}
