/*

Theme Name: Perna Frederick
Author: Daniel McFarland @ MillerVolpe, Inc.
Author URI: http://milllervolpe.com/

*/

* {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

body { 
	font-size: 62.5%; /* Resets 1em to 10px */
	font-family: "Oxygen", Arial,  Helvetica, sans-serif;
	font-weight: 300;
	background:#000 url("images/pf-background-1.jpg") no-repeat; 
	background-size: cover;
	background-attachment: fixed;
	color: #ccc; 
}

/* Contact */

body.page-id-10 {
	background-image: url("images/pf-background-7.jpg");
}


ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

a { color: #fff; }

/* Layout */

body { margin: 0; padding: 0 0 50px; }

#page { padding: 0px; }

.customize-support #header {
	top: 28px;
}

#header { 
	background: #000;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	padding: 0; 
	z-index: 1000;
}

#header .wrap {
	position: relative;
	max-width: 1080px;
	margin: 0 auto;
}

#logo {
	position: absolute;
	top: 0;
	left: 0;
}

#maincontent {	
	margin: 200px auto 0;
	max-width: 1080px;
}

#maincontent #content {	
	padding: 20px;
	background: rgba(0, 72, 148, 0.9);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#CC004894,endColorstr=#CC004894); 
    zoom: 1;
	overflow: hidden;
}

#maincontent p { margin: 0 0 1em; }

#footer { 
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: #000; 
	font-size: 11px; 
	padding: 6px;
	z-index: 1000;
}	

#footer .wrap {
	max-width: 1080px;
	margin: 0 auto;
}

#footer,
#footer a {
   color: #aaa; 
}

#footer a { 
	text-decoration: none;
}

#footer .copyright {
	float: left;
	width: 50%;
}

/* Navigation */

#mainnav {
	float:right;
	text-transform:uppercase;
	font-size:15px;
}

#mainnav ul {
	padding:0px;
	margin:0px;
	list-style:none; 
}

#mainnav ul li {
	float:left;
	font-weight:400;
	padding: 0 20px; 
}

#mainnav ul li.current-menu-item a,
#mainnav ul li.current-menu-item a:hover, 
#mainnav ul li.current-page-ancestor a,
#mainnav ul li.current-page-ancestor a:hover,
.single-team-members #mainnav ul li.menu-item-1051 a,
.single-post #mainnav ul li.menu-item-1053 a { 
	color: #50a0ff; 
	border-bottom: 5px solid #50a0ff;
}

#mainnav ul li a {
	display:block;
	padding: 10px 0 6px; 
	color: #ccc;
	text-decoration: none;
	border-bottom: 5px solid transparent;
	letter-spacing: 2px;
	font-weight: 400;
}

#mainnav ul li a:hover {
	color:#fff; 
	border-bottom: 5px solid #333;
}

#footer nav {
	float: right;
	width: 50%;
	text-align: right;
}

#footer nav li {
	display: inline-block;
	padding-left: 20px;
	text-transform: uppercase;
}

/* Begin Various Tags & Classes */

h1 { 
	padding-top: 70px; 
	margin: 0; 
}

h2 { 
	margin: 10px 0 0;
}

h2.pagetitle { 
	margin-top: 30px; 
	text-align: center; 
}

#sidebar h2 { 
	margin: 5px 0 0; 
	padding: 0; 
}

h3 { 
	padding: 0; 
	margin: 30px 0 0; 
}

h3.comments { 
	padding: 0; 
	margin: 40px auto 20px ; 
}

p img { 
	padding: 0; 
	max-width: 100%; 
}

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

img.alignright { 
	padding: 4px; 
	margin: 0 0 2px 7px; 
	display: inline; 
}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline; 
}

.alignright { 
	float: right;
}

.alignleft { 
	float: left;
	text-align:left;
 }

acronym, abbr, span.caps { cursor: help; }

acronym, abbr { border-bottom: 1px dashed #999; }

blockquote { margin: 15px 30px 0 10px; padding-left: 20px; border-left: 5px solid #ddd; }

blockquote cite { margin: 5px 0 0; display: block; }

.center { text-align: center; }

.hidden { display: none; }

hr { display: none; }

a img { border: none; }

.navigation { display: block; font-size: 12px; text-align: center; margin: 10px 0; overflow: hidden;}

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

/* End Various Tags & Classes*/


/* Modules */

/* News Ticker */

.news-wrapper {
	background: #000;
	margin:20px auto;
	overflow:hidden;
}

/* Container DIV - automatically generated */
.simply-scroll-container { 
	position: relative;
}

/* Clip DIV - automatically generated */
.simply-scroll-clip { 
	position: relative;
	overflow: hidden;
	margin: 0 10px;
}

/* UL/OL/DIV - the element that simplyScroll is inited on
Class name automatically added to element */
.simply-scroll-list { 
	overflow: hidden;
	margin: 0;
	padding: 0;
	list-style: none;
}
	
.simply-scroll-list li {
	padding: 0;
	margin: 0;
	list-style: none;
}
	
.simply-scroll-list li img {
	border: none;
	display: block;
}

#news-ticker {  
	margin: 0;	
	padding: 0;
	list-style: none;
	white-space: nowrap;
	width: 8000px;
}

#news-ticker li {
	display: inline-block;
	padding: 8px 0 8px 8px;
	font-size: 12pt;
	font-weight: 400;
}

#news-ticker li::after {
	content: '\b7\a0';
	display: inline-block;
	margin-left: 10px;
	color: #50a0ff;
	font-size: 20pt;
	line-height: 12pt;
	position: relative;
	top: 3px;
}

#news-ticker li a {
	color: #50a0ff;
	text-decoration: none;
}


/* Featured Properties */

.featured-properties {
	background: #fff;
	margin: 0 auto;
	padding: 12px;
	-moz-box-shadow: 0 0 10px rgba(0,0,0,0.5);
	-webkit-box-shadow: 0 0 10px rgba(0,0,0,0.5);
	box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.featured-properties ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.featured-properties ul li {
	display: inline-block;
	width: 33%;
	vertical-align: top;
	overflow: hidden;
}

.featured-properties ul li img {
	float: left;
	width: 30%;
}

.featured-properties ul li .listing-content {
	float: right;
	width: 67%;
	color: #000;
	font-size: 14px;
}

.featured-properties ul li h2 { 
	text-transform: uppercase;
	font-weight: 400;
	color: #50a0ff;
	font-size: 14px;
	margin: 0 0 8px;
}

.featured-properties ul li h3 {
	font-weight: 600;
	color: #235588;
	font-size: 20px;
	margin-top: 0;
}

.featured-properties ul li .listing-address {}
.featured-properties ul li .listing-sqft {}

.featured-properties ul li .learn-more {
	margin: 20px 0 0;
}

.featured-properties ul li .learn-more a {
	display: inline-block;
	padding: 5px 10px;
	color: #fff;
	text-transform: uppercase;
	background: #50a0ff;
	text-decoration: none;
}

.featured-properties ul li .learn-more a:hover {
	background: #000000;
}


/* Pages */

#content .entry {
	font-size: 16pt;
	font-weight: 100;
	line-height: 1.5;
	color: #fff;
	float: right;
	width: 65%;
}

#content .entry ul {
	margin: 0 2em 1em;
	list-style-type: disc;
}

#content h1 {
	color: #50a0ff;
	font-size: 48pt;
	line-height: 1;
	float: left;
	width: 30%;
	text-align: right;
	text-transform: uppercase;
	font-weight: 400;
	margin-right: 5%;
	margin-bottom: 10%;
	padding: 0;
}

/* Home */

.home #content h1 {
	color: #50a0ff;
	font-size: 58pt;
	line-height: 1;
	float: left;
	width: 62%;
	text-align: right;
	text-transform: uppercase;
	font-weight: 400;
	margin: 0;
}

.home #content .entry {
	width: 35%;
	margin-top: 10px;
}

/* Company */

body.page-id-8 {
	background-image: url("images/pf-background-5.jpg");
}


/* Services */

body.page-id-13 {
	background-image: url("images/pf-background-4.jpg");
}

.page-id-8 #content h1 {
	color: #50a0ff;
	font-size: 48pt;
	line-height: 1;
	float: left;
	width: 30%;
	text-align: right;
	text-transform: uppercase;
	font-weight: 400;
	margin-right: 5%;
	margin-bottom: 10%;
}

.page-id-8 #content .entry,
.page-id-13 #content .entry {
	-webkit-column-count: 2;
	-webkit-column-gap: 18px;
	-moz-column-count: 2;
	-moz-column-gap: 18px;
	column-count: 2;
	column-gap: 18px;
}

#content.services-content .subnav h1 {
	float: none;
	width: auto;
}

.services-content .subnav {
	float: left;
	width: 30%;
}

#content.services-content .subnav li a {
	display: block;
	font-size: 18px;
	margin: 0 0 20px;
	padding: 8px 12px;
	text-decoration: none;
	opacity: 0.5;
	-moz-opacity: 0.5;
}

#content.services-content .subnav li a:hover {
	opacity: 1;
	-moz-opacity: 1;
}

#content.services-content .subnav li.current_page_item a {
	opacity: 1;
	-moz-opacity: 1;
	background: #144E8D;
	background: rgba(0,0,0,0.1);
}

/* Exclusive Tenant Representation */

body.page-id-168 {
	background-image: url("images/pf-background-3.jpg");
}

/* Landlord Representation */
body.page-id-17{
	background-image: url("images/pf-background-11.jpg");
}

/* Real Estate Investments */
body.page-id-19{
	background-image: url("images/pf-background-9.jpg");
}



/* Team */

body.page-id-20 {
	background-image: url("images/pf-background-2-dark.jpg");
}

body.single-team-members {
	background-image: url("images/pf-background-2.jpg");
}

#team li {
	float: left;
	width: 23%;
	position: relative;
	margin-right: 2%;
	margin-bottom: 2%;
	cursor: pointer;
	box-shadow: 0 0 15px rgba(0,0,0,0.25);
}

#team li img {
	width: 100%;
}

#team li:nth-of-type(4n) {
	margin-right: 0;
}

#team li .team-overlay,
#team li .short-bio {
	position: absolute;
	top: 0; right: 0; bottom: 0; left: 0;
	background: rgba(0, 72, 148, 0.9);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#CC004894,endColorstr=#CC004894); 
    zoom: 1;
	z-index: 2;
}

#team li .short-bio {
	padding: 20px;
	font-size: 12px;
	line-height: 1.5;
	overflow: hidden;
}

#team li .short-bio h2 {
	text-transform: uppercase;
	font-size: 16px;
	font-weight: 100;
	color: #50a0ff;
	margin: 0;
}

#team li .short-bio p {
	margin-bottom: 16px;
}

#team li .short-bio .read-more {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(0,0,0,0.5);
	padding: 6px;
	text-align: center;
	z-index: 2;
}


.team-member-detail {
	clear: left;
}

.team-member-photo {
	float: left;
	width: 30%;
}

.team-member-photo img {
	max-width: 100%;
}


#content .team-member-bio h1 {
	width: auto;
	float: none;
	text-align: left;
	margin-bottom: 20px;
}

.team-member-bio {
	float: right;
	width: 67%;
	font-size: 16px;
	line-height: 1.5;
	color: #fff;
}

#maincontent .team-member-bio h2 {
	color: #50a0ff;
	font-size: 16px;
	text-transform: uppercase;
	margin: 0 0 1em;
} 

#maincontent .team-member-bio p {
	margin: 0 0 1em;
}

#maincontent .team-member-bio ul {
	margin: 0 0 1em 2em;
	list-style: disc;
}

#maincontent .team-member-bio ul li {
	margin: 0 0 0.5em;
}

/* Properties */

body.page-id-47 {
	background-image: url("images/pf-background-6.jpg");
}

.page-id-47 #content .entry {
	width: auto;
	float: none;
	clear: both;
	padding: 10px;
	margin: 0 auto;
	width: 870px;
}

.page-id-1250 #content .entry {
	width: auto;
	float: none;
	clear: both;
	padding: 10px;
	margin: 0 auto;
	width: 700px;
}

.page-id-1250 #content h1 {
	float: none;
	width: auto;
	text-align: left;
	margin: 0 0 20px;
	font-size: 30pt;
}


.page-id-47 #content h1 {
	float: none;
	width: auto;
	text-align: left;
	margin: 0 0 20px;
	font-size: 30pt;
}

/* News / Posts */

body.blog,
body.single-post {
	background-image: url("images/pf-background-8.jpg");
}

.blog .subnav  {
	float: left;
	width: 30%;
}

.blog #content .subnav h1 {
	float: none;
	width: auto;
}

.blog .main  {
	float: right;
	width: 68%;
	padding-right: 5%;
}

.blog .main ol,
.team-member-news ol {
	list-style: none;
	margin: 0 0 20px;
	padding: 0;
}

.blog .post,
.single .post  {
	margin: 0 0 15px;
}

.blog .post-title,
.single .post-title {
	margin: 0;
	font-size: 15px;
}

.blog .post-date,
.single .post-date {
	display: block;
	font-size: 12px;
	font-weight: normal;
	font-style: italic;
	color: #50a0ff;
}

.navigation {
	font-size: 12px;
}

.navigation a {
	-moz-opacity: 0.5;
	opacity: 0.5;
}

.navigation .alignleft,
.navigation .alignright {
	width: 45%;
}

.navigation a:hover {
	-moz-opacity: 1;
	opacity: 1;
}

.team-member-news h2 {
	color: #50a0ff;
	font-weight: normal;
	text-transform: uppercase;
	font-size: 18px;
	margin-bottom: 15px;
}

.single #content h1 {
	text-align: left;
	margin: 0 0 20px;
	float: none;
	width: auto;
	font-size: 30px;
}

.single #content .entry {
	float: none;
	width: auto;
}

.single #maincontent p {
	margin: 0 0 1em;
}

.button {
	border: solid #fff 1px;
	padding: 10px;
	text-decoration: none;
	font-size: 13px;
	text-transform: uppercase;
}

/* Media Queries */

@media (max-width: 960px) {

	#header {
		height: 30px;
	}

	#logo {
		left: 10px;
	}

	#mainnav {
		display: none;
		position: absolute;
		top: 30px;
		right: 0;
		z-index: 1000;
	}

	#mainnav.open {
		display: block;
		background: #000;
	}

	#mainnav ul li {
		float: none;
		padding: 0;
	}

	#mainnav ul li a {
		padding: 10px 10px 6px;
	}

	.nav-menu-btn { 
	  	display: block; 
	  	position: absolute; 
	  	top: 0; 
	  	right: 0; 
	  	padding: 5px 6px 5px 18px;
	  	color: #fff;
	  	font-weight: bold;
	  	cursor: pointer;
	  	font-size: 14px;
	  }
    .nav-menu-btn:before { 
	  content: "";
	  position: absolute;
	  left: 0;
	  top: 7px;
	  width: 1em;
	  height: 2px;
	  background: rgba(255,255,255,0.5);
	  box-shadow: 
	    0 4px 0 0 rgba(255,255,255,0.5),
	    0 8px 0 0 rgba(255,255,255,0.5);
	}

	#content h1 {
		font-size: 40pt !important;
	}

	#content h1 br { display: inline;}

	#content .entry {
		font-size: 13pt;
		-webkit-column-count: 1 !important;
		-moz-column-count: 1 !important;
		column-count: 1 !important;
	}

	#news-ticker li {
		font-size: 10pt;
	}

	#team li {
		width: 30%;
	}

	#team li:nth-of-type(4n) {
		margin-right: 2%;
	}

	#team li:nth-of-type(3n) {
	   margin-right: 0;
    }

	.page-id-47 #content .entry {
		background: transparent;
		width: auto;
		padding: 0;
	}

	.page-id-47 iframe {
		width: 95%;
	}

}

@media (max-width: 760px) {
	body { padding: 0; }
	#header {
		position: static;
	}
	#content h1,
	#content .entry {
		float: none !important;
		width: auto !important;
	}
	#content h1 { 
		text-align: left !important; 
		font-size: 35pt !important;
		margin: 0 0 1em !important;
	}

	.home #content h1 br {
		display: inline;
	}

	.featured-properties {
		overflow: hidden;
	}

	.featured-properties ul li {
		display: list-item;
		width: auto;
		clear: both;
		padding: 20px 0;
		border-bottom: 1px solid #ccc;
	}

	#footer {
		position: static;
		text-align: center;
	}
	#footer .copyright,
	#footer nav {
		float: none;
		width: auto;
	}

	#footer .copyright,
	#footer nav li {
		padding-bottom: 10px;
		text-align: center;
	}

	#footer nav li {
		display: list-item;
		padding-left: 0;	
	}

	#team li .short-bio {
		font-size: 11px;
	}

	.blog .subnav,
	#content.services-content .subnav,
	.blog .main {
		float: none !important;
		width: auto !important;
	} 

	#content.services-content .subnav h1 {
		margin: 0 0 15px !important;
		font-size: 20px !important;
	}

	#content.services-content .subnav li a {
		font-size: 14px;
		margin: 0 0 15px;
	}

}

@media (max-width: 520px) {

	#logo {
		width: 80px;
	}

	#logo img { max-width: 100%; }

	#maincontent {
		margin-top: 100px;
	}

	.home #content h1 {
		font-size: 24pt;
	}

	#content .entry {
		font-size: 10pt;
	}

	#news-ticker li {
		font-size: 8pt !important;
	}

	#team li {
		width: 47%;
	}

	#team li:nth-of-type(3n) {
		margin-right: 2%;
	}

	#team li:nth-of-type(2n) {
	   margin-right: 0;
    }

	.team-member-photo,
	.team-member-bio {
		float: none;
		width: auto;
	}

	.team-member-photo {
		margin-bottom: 20px;
	}

	#content .team-member-bio h1,
	.single #content h1 {
		font-size: 20px !important;
		margin: 0 0 1em !important;
	}
}