/* TABLE OF CONTENTS 

GENERAL
- Backgrounds
- Callout Container
FEATURED
- Featured Section
- Featured Listings
- Featured Open Houses
- Featured Posts
- Featured Communities
ARCHIVES
- Listing Archive
- Listing Category Archive
- Open House Archive
- Post Archive
- Community Archive
BOXES
- Listing Box
- Open House Box
- Post Box
- Community Box
AGENTS
- Agent Box
- Agents Archive
SINGLE
- Single Listing

*/

/********** BACKGROUNDS **********/

.bg-grey {
	background: #f5f5f5;
}

.bg-sage {
	background-color: #577d59;
}

.bg-scene-house {
	background: url(images/scene-house-97.jpg) no-repeat center center;
	background-size: cover;
}

.bg-scene-community {
	background: url(images/scene-community-97.jpg) no-repeat center center;
	background-size: cover;
}

.bg-scene-sale {
	background: url(images/scene-sale-97.jpg) no-repeat center center;
	background-size: cover;
}

/********** CALLOUT CONTAINER **********/

.callout-container {
	padding: 78px 0 80px;
	text-align: center;
	color: #fff;
}

.callout-container h3 {
	color: #fff;
	font-size: 36px;
	font-weight: 700;
	line-height: 1.3;
	margin-bottom: 5px;
}

.callout-container p {
	font-size: 22px;
	font-weight: 600;
	line-height: 1.4;	
	color: #988e89;
	margin-bottom: 30px;
}

.callout-container a {
	display: inline-block;
	background-color: #f28458;
	padding: 14px 15px 12px;
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	line-height: 1;
	text-transform: uppercase;
}

.callout-container a:hover {
	background-color: #c76842;
	color: #fff;
}

.callout-container a .icon {
	margin-right: 7px;
}

.callout-container a:hover .icon {
	color: #fff;	
}

/*
.callout-container a::before {
	display: inline-block;
	font-family: 'business';
	font-style: normal;
	-webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
	font-size: 16px;
	font-weight: normal;
	line-height: 1;
	color: #fff;
	margin-right: 7px;
	vertical-align: top;
	content: "\e603";
}

.callout-container a:hover::before {
	color: #fff;	
}
*/
/********** FEATURED SECTION **********/

.featured-section {
	padding: 80px 0;
}

.featured-section-heading {
	text-align: center;
	font-size: 22px;
	text-transform: uppercase;
	font-weight: 700;
	margin-bottom: 40px;
}

.featured-section-more-container {
	text-align: center;
	padding: 10px 0 0;
}

.featured-section-more {
	display: inline-block;
	background-color: #628a64;
	padding: 15px 15px 12px;
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	line-height: 1;
	text-transform: uppercase;
}

.featured-section-more:hover {
	background-color: #3e6540;
	color: #fff;
}

/********** ARCHIVES **********/

.post-type-archive-theory_listing .archive-content,
.tax-theory_listing_category .archive-content,
.post-type-archive-theory_open_house .archive-content,
.blog .archive-content,
.post-type-archive-theory_community .archive-content {
	margin-bottom: 40px;
}

.post-type-archive-theory_listing .archive-content .column:nth-of-type(3n+1),
.tax-theory_listing_category .archive-content .column:nth-of-type(3n+1),
.post-type-archive-theory_open_house .archive-content .column:nth-of-type(3n+1),
.blog .content .entry:nth-of-type(3n+1),
.post-type-archive-theory_community .archive-content .column:nth-of-type(3n+1) {
	clear: both;
}

/********** LISTING BOX **********/

.listing-box {
	background-color: #fff;
	position: relative;
	font-size: 16px;
	margin-bottom: 40px;
	border: 10px solid #eee;
}

.bg-grey .listing-box  {
	border-color: #e8e8e8;
}

.listing-box .listing-ribbon {
	display: block;
	position: absolute;
	width: auto;
	top: 0;
	right: 0;
	left: auto;
	bottom: auto;
	background-color: #628a64;
	color: #fff;
	font-size: 13px;
	line-height: 1.3;
	font-weight: 600;
	padding: 7px 8px 5px;
	z-index: 999;
}

.listing-box .listing-ribbon.listing-ribbon-red {
	background-color: #83010a;
}

.listing-box:hover .listing-ribbon {
	display: none;
}

.listing-box .image-container {
	position: relative;
	background-color: #000;
}

.listing-box .listing-image {
	display: block;
	opacity: 0.5;
}

.listing-box:hover .listing-image {
	opacity: 1;
}

.listing-box .image-layer {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 350px;
	height: 206px;
	padding: 0 30px;
	display: table;
}

.listing-box:hover .image-layer {
	display: none;
}

.listing-box .image-layer-content {
	display: table-cell; 
	vertical-align: middle; 
	text-align: center;	
	font-size: 24px;
	font-weight: 500;
	color: #fff;
	text-transform: uppercase;
	line-height: 1.3;
	text-shadow: 0 1px 1px #000;
}

.listing-box .listing-info {
	padding: 20px 20px 24px;
	text-align: center;
}

.listing-box .listing-info .listing-price,
.listing-box .listing-info .listing-community,
.listing-box .listing-info .listing-address {
	display: block;
}

.listing-box .listing-info .listing-price {
	font-weight: 700;
	margin-bottom: 10px;
}

.listing-box .listing-info .more-link {
	display: inline-block;
	background-color: #2c2825;
	padding: 9px 10px 8px;
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	margin: 15px 0 0;
}

.listing-box .listing-info .more-link:hover {
	background-color: #f28458;
	color: #fff;
}

.listing-box .listing-meta {
	background-color: #eee;
	font-size: 14px;
	line-height: 1.3;
	padding: 12px 0 0;
}

.bg-grey .listing-meta {
	background-color: #e8e8e8;
}

.listing-box .listing-meta .listing-community {
	display: block;
	float: left;
}

.listing-box .listing-meta .listing-community a:hover {
	text-decoration: underline;
}

.listing-box .listing-meta .listing-bed-bath {
	display: block;
	float: right;
}

/********** OPEN HOUSE BOX **********/

.open-house-box {
	background-color: #fff;
	position: relative;
	font-size: 16px;
	margin-bottom: 40px;
	border: 10px solid #eee;
}

.bg-grey .open-house-box {
	border-color: #e8e8e8;
}

.open-house-box .ribbon {
	display: block;
	position: absolute;
	width: auto;
	top: 0;
	right: 0;
	left: auto;
	bottom: auto;
	background-color: #628a64;
	color: #fff;
	font-size: 13px;
	line-height: 1.3;
	font-weight: 600;
	padding: 7px 8px 5px;
	z-index: 999;
}

.open-house-box:hover .ribbon {
	display: none;
}

.open-house-box .image-container {
	position: relative;
	background-color: #000;
}

.open-house-box .listing-image {
	display: block;
	opacity: 0.5;
}

.open-house-box:hover .listing-image {
	opacity: 1;
}

.open-house-box .image-layer {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 350px;
	height: 206px;
	padding: 0 30px;
	display: table;
}

.open-house-box:hover .image-layer {
	display: none;
}

.open-house-box .image-layer-content {
	display: table-cell; 
	vertical-align: middle; 
	text-align: center;	
	font-size: 22px;
	font-weight: 500;
	color: #fff;
	text-transform: uppercase;
	line-height: 1.3;
	text-shadow: 0 1px 1px #000;
}

.open-house-box .open-house-time {
	display: block;
	font-size: 18px;
}

.open-house-box .listing-info {
	padding: 20px 20px 24px;
	text-align: center;
}

.open-house-box .listing-info .listing-price,
.open-house-box .listing-info .listing-community,
.open-house-box .listing-info .listing-address {
	display: block;
}

.open-house-box .listing-info .listing-price {
	font-weight: 700;
	margin-bottom: 10px;
}

.open-house-box .listing-info .more-link {
	display: inline-block;
	background-color: #2c2825;
	padding: 9px 10px 8px;
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	margin: 15px 0 0;
}

.open-house-box .listing-info .more-link:hover {
	background-color: #f28458;
	color: #fff;
}

.open-house-box .listing-meta {
	background-color: #eee;
	font-size: 14px;
	line-height: 1.3;
	padding: 12px 0 0;
}

.bg-grey .open-house-box .listing-meta {
	background-color: #e8e8e8;
}

.open-house-box .listing-meta .listing-community {
	display: block;
	float: left;
}

.open-house-box .listing-meta .listing-community a:hover {
	text-decoration: underline;
}

.open-house-box .listing-meta .listing-bed-bath {
	display: block;
	float: right;
}

/********** POST BOX **********/

.post-box {
	background-color: #fff;
	position: relative;
	font-size: 16px;
	margin-bottom: 40px;
	border: 10px solid #eee;
}

.bg-grey .post-box {
	border-color: #e8e8e8;
}

.post-box .ribbon {
	display: block;
	position: absolute;
	width: auto;
	top: 0;
	right: 0;
	left: auto;
	bottom: auto;
	background-color: #628a64;
	color: #fff;
	font-size: 13px;
	line-height: 1.3;
	font-weight: 600;
	padding: 7px 8px 5px;
	z-index: 999;
}

.post-box:hover .ribbon {
	display: none;	
}

.post-box .image-container {
	position: relative;
	background-color: #000;
}

.post-box .post-image {
	display: block;
	opacity: 0.5;
}

.post-box:hover .post-image {
	opacity: 1;
}

.post-box .image-layer {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 350px;
	height: 206px;
	padding: 0 30px;
	display: table;
}

.post-box:hover .image-layer {
	display: none;
}

.post-box .post-title {
	display: table-cell; 
	vertical-align: middle; 
	text-align: center;	
	font-size: 24px;
	font-weight: 500;
	color: #fff;
	text-transform: uppercase;
	line-height: 1.3;
	text-shadow: 0 1px 1px #000;
	margin-bottom: 0;
}

.post-box .post-info {
	padding: 20px 20px 24px;
	text-align: center;
}

.post-box .author-info {
	font-size: 14px;
	font-weight: 700;
	margin-bottom: 15px;
}

.post-box .avatar {
	width: 60px;
	max-width: 100%;
	display: block;
	margin: 0 auto 10px;
	border-radius: 50%;
}

.post-box .post-excerpt {
	font-size: 14px;
}

.post-box .post-info .more-link {
	display: inline-block;
	background-color: #2c2825;
	padding: 9px 10px 8px;
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	margin: 15px 0 0;
}

.post-box .post-info .more-link:hover {
	background-color: #f28458;
	color: #fff;
}

.post-box .post-meta {
	background-color: #eee;
	font-size: 14px;
	line-height: 1.3;
	padding: 12px 0 0;
}

.bg-grey .post-box .post-meta {
	background-color: #e8e8e8;
}

.post-box .post-meta .post-categories {
	font-size: 13px;
}

.post-box .post-meta .post-categories a {

}

.post-box .post-meta .post-categories a:hover {
	text-decoration: underline;
}

.post-box .post-meta .listing-bed-bath {
	display: block;
	float: right;
}

/********** COMMUNITY BOX **********/

.community-box {
	background-color: #fff;
	position: relative;
	font-size: 16px;
	margin-bottom: 40px;
	border: 10px solid #eee;
}

.bg-grey .community-box  {
	border-color: #e8e8e8;
}

.community-box .image-container {
	position: relative;
	background-color: #000;
}

.community-box .community-image {
	display: block;
	opacity: 0.5;
}

.community-box:hover .community-image {
	opacity: 1;
}

.community-box .image-layer {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 350px;
	height: 206px;
	padding: 0 30px;
	display: table;
}

.community-box:hover .image-layer {
	display: none;
}

.community-box .image-layer-content {
	display: table-cell; 
	vertical-align: middle; 
	text-align: center;	
	font-size: 24px;
	font-weight: 500;
	color: #fff;
	text-transform: uppercase;
	line-height: 1.3;
	text-shadow: 0 1px 1px #000;
}

.community-box .community-info {
	padding: 20px 20px 24px;
	text-align: center;
	font-size: 14px;
}

.community-box .community-info .more-link {
	display: inline-block;
	background-color: #2c2825;
	padding: 9px 10px 8px;
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	margin: 0;
}

.community-box .community-info .more-link:hover {
	background-color: #f28458;
	color: #fff;
}

.community-box .community-meta {
	background-color: #eee;
	font-size: 14px;
	line-height: 1.3;
	padding: 12px 0 0;
}

.bg-grey .community-meta {
	background-color: #e8e8e8;
}

/********** AGENT BOX **********/

.agent-box {
	width: 360px;
	max-width: 100%;
	margin: 0 auto;
	padding: 40px 40px 30px;
	background: #eee;
	text-align: center;
}

.agent-box .agent-box-heading {
	font-size: 26px;
	line-height: 1;
	font-weight: 800;
	text-transform: uppercase;
	color: #628a64;
}

.agent-box .agent-image {
	width: 90px;
	max-width: 100%;
	display: block;
	margin: 0 auto 10px;
	border-radius: 50%;
	border: 6px solid #fff;
}

.agent-box .agent-name,
.agent-box .agent-title,
.agent-box .agent-phone-office,
.agent-box .agent-phone-mobile,
.agent-box .agent-email {
	display: block;
	margin-bottom: 10px;
}

.agent-box .agent-name {
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 0;
}

.agent-box .agent-title {
	font-size: 15px;
	margin-bottom: 20px;
}

.agent-box a {
	display: block;
	font-size: 15px;
	line-height: 1;
	padding: 14px 0 12px;
	background-color: #2c2825;
	color: #fff;;
}

.agent-box a:hover {
	background-color: #f28458;
	color: #fff;
}

/********** AGENTS ARCHIVE **********/

.post-type-archive-theory_agent .agent-container {
	padding: 40px 0 20px;
	border-bottom: 2px solid #eee;
}

.post-type-archive-theory_agent .agent-container:first-of-type {
	padding-top: 0;
}

.post-type-archive-theory_agent .agent-box {
	float: left;
	margin: 0 40px 20px 0;
	background-color: #eee;
}

/********** SINGLE LISTING **********/

.single-theory_listing .listing-slider .wp-post-image {
	display: block;
	margin: 0 auto;
}

.single-theory_listing .listing-slider {
	margin-bottom: 80px;
}

/* CAPTION */

.single-theory_listing .soliloquy-container .soliloquy-caption {
	display: block !important;
}

.single-theory_listing .soliloquy-container .soliloquy-caption-inside {
	background: rgba(0,0,0,0.5);
	font-size: 18px;
	line-height: 1.25;
	color: #fff;
	text-shadow: 0 1px 1px #000;
	text-align: center;
	padding: 16px 10px 13px;
}

/* ARROW CONTROLS */

.single-theory_listing .soliloquy-container .soliloquy-prev {
	background: #f28458 !important;
	border: none;
	opacity: 1;
	display: block;
	width: 40px;
	height: 100px;
	position: absolute;
	margin: -50px 0 0 0;
	left: 0;
	right: auto;
	top: 50%;
	bottom: 0;
	color: #fff;
	text-align: center;
}

.single-theory_listing .soliloquy-container .soliloquy-prev:before {
	content: '\e697';
	font-family: 'icon-common';
	font-size: 36px;
	line-height: 100px;
	display: inline-block;
	margin: 0;
	color: #fff;
	margin: 0 1px 0 0;
}

.single-theory_listing .soliloquy-container .soliloquy-next {
	background: #f28458 !important;
	border: none;
	opacity: 1;
	display: block;
	width: 40px;
	height: 100px;
	position: absolute;
	margin: -50px 0 0 0;
	left: auto;
	right: 0;
	top: 50%;
	bottom: 0;
	color: #fff;
	text-align: center;
}

.single-theory_listing .soliloquy-container .soliloquy-next:before {
	content: '\e699';
	font-family: 'icon-common';
	font-size: 36px;
	line-height: 100px;
	display: inline-block;
	margin: 0 0 0 1px;
	color: #fff;
}

.single-theory_listing .soliloquy-container .soliloquy-prev:hover,
.single-theory_listing .soliloquy-container .soliloquy-next:hover {
	background: #f28458 !important;
}

.single-theory_listing .soliloquy-container .soliloquy-prev.disabled,
.single-theory_listing .soliloquy-container .soliloquy-next.disabled {
  opacity: 0;
  -ms-filter: "alpha(Opacity=0)";
  filter: alpha(opacity=0);
  -moz-opacity: 0;
  -khtml-opacity: 0;
}

.single-theory_listing .soliloquy-container .soliloquy-pager {
	display: block !important;
	width: auto;
	height: 14px;
	margin: 0 0 0 -50%;
	text-align: left;
	position: absolute;
	bottom: -40px;
	right: auto;
	left: 50%;
	top: auto;
	opacity: 0.5;
}

/*
.single-theory_listing .soliloquy-container .soliloquy-pager-link {
    background-image: url(images/circle-black-solid.png);
}

.single-theory_listing .soliloquy-container .soliloquy-pager-link.active, 
.single-theory_listing .soliloquy-container .soliloquy-pager-link:hover {
    background-image: url(images/circle-yellow-solid.png);
}
*/

/* LIGHTBOX */

.single-theory_listing .soliloquybox-nav span {
	visibility: visible;
}

/* THUMNBAILS */

.single-theory_listing .soliloquy-thumbnails-container {
	margin-top: 20px !important;
}

.single-theory_listing .soliloquy-thumbnails-container .soliloquy-controls-direction {
	display: none !important;
}

/********** LISTING DETAILS **********/

.single-theory_listing .listing-details {

}

.single-theory_listing .single-listing-details-container {
	width: 724px;
	max-width: 100%;
	padding: 40px;
	background-color: #2c2825;
	color: #fff;
	margin: 0 auto;
	position: relative;
	font-size: 16px;
}	

.single-theory_listing .listing-details .listing-price,
.single-theory_listing .listing-details .listing-highlight,
.single-theory_listing .listing-details .listing-address,
.single-theory_listing .listing-details .listing-mls,
.single-theory_listing .listing-details .listing-community,
.single-theory_listing .listing-details .listing-bedrooms,
.single-theory_listing .listing-details .listing-bathrooms,
.single-theory_listing .listing-details .listing-feet,
.single-theory_listing .listing-details .listing-features,
.single-theory_listing .listing-details .listing-pool,
.single-theory_listing .listing-details .listing-virtual {
	display: block;
}	

.single-theory_listing .listing-details .listing-virtual {
	position: absolute;
	top: 40px;
	right: 40px;
	bottom: auto;
	left: auto;
}

.single-theory_listing .listing-details .listing-ribbon {
	display: inline-block;
	color: #628a64;
	background-color: #fff;
	padding: 8px 10px 6px;
	font-weight: 700;
	line-height: 1;
	margin-bottom: 5px;
	text-transform: uppercase;
}	

.single-theory_listing .listing-details .listing-ribbon.listing-ribbon-red {
	color: #83010a;
}	

.single-theory_listing .listing-details .listing-label {
	color: #988e89;
}	

.single-theory_listing .listing-details .listing-price {
	color: #779f79;
	font-size: 26px;
	font-weight: 500;
	margin-bottom: 8px;
}

.single-theory_listing .listing-details .listing-address {
	margin-bottom: 15px;
	font-size: 16px;
}

.single-theory_listing .listing-details .listing-community a {
	text-decoration: underline;
	color: #f28458;
}

.single-theory_listing .listing-details .listing-features {

}

.listing-open-houses-container {
	padding: 90px 0 0;
	line-height: 1.75;
	font-size: 18px;
	text-align: center;
}

.listing-open-houses-box {
	width: 360px;
	max-width: 100%;
	margin: 0 auto;
	padding: 30px 20px 28px;
	background-color: #2c2825;
	color: #fff;
	border-top: 5px solid #628a64;
}

.listing-open-houses-box .open-house-date,
.listing-open-houses-box .open-house-time {
	display: block;
}

.listing-open-houses-heading {
	font-size: 26px;
	line-height: 1;
	font-weight: 800;
	text-transform: uppercase;
	color: #988e89;
}

.listing-content {
	padding: 80px 0 62px;
	line-height: 1.625;
	font-size: 16px;
}

.listing-content .listing-content-heading {
	text-transform: uppercase;
	font-size: 32px;
	font-weight: 700;
	text-align: center;
	margin-bottom: 30px;
}

.single-theory_listing .listing-video {
	margin-bottom: 90px;
}

.single-theory_listing .listing-video p {
	margin-bottom: 0;
}

.single-theory_listing .listing-video iframe {
	display: block;
	margin: 0 auto;
}

/* 360 MEDIA */

.single-theory_listing .listing-360-media-item {
	text-align: center;
	margin-bottom: 90px;
}
.single-theory_listing .listing-360-media-title {
	font-size: 28px;
	margin-bottom: 2px;
}
.single-theory_listing .listing-360-media-instruction {
	font-size: 16px;
	margin-bottom: 20px;
}

.single-theory_listing .agent-box {
	margin-bottom: 90px;
}

.back-to-listing-category-container {
	text-align: center;
	margin-bottom: 90px;
}

.single-theory_listing .listing-map {
	
}

.single-theory_listing .listing-map iframe {
	display: block;
	margin: 0 auto;
	border: 10px solid #628a64 !important;
}

/********** MEDIA QUERIES **********/

/********** SMALL DESKTOPS (940px) **********/
 
@media only screen and (max-width: 1199px) { /*1000px - 1199px*/

/********** LISTING BOX **********/

.listing-box {
	font-size: 15px;
	border: 8px solid #eee;
}

.listing-box .image-layer {
	width: 284px;
	height: 167px;
	padding: 0 20px;
}

.listing-box .image-layer-content {
	font-size: 20px;
}

.listing-box .listing-meta {
	padding: 10px 0 0;
}

/********** OPEN HOUSE BOX **********/

.open-house-box {
	font-size: 15px;
	border: 8px solid #eee;
}

.open-house-box .image-layer {
	width: 284px;
	height: 167px;
	padding: 0 20px;
}

.open-house-box .image-layer-content {
	font-size: 20px;
}

.open-house-box .open-house-time {
	display: block;
	font-size: 18px;
}

.open-house-box .listing-meta {
	padding: 10px 0 0;
}

/********** POST BOX **********/

.post-box {
	font-size: 15px;
	border: 8px solid #eee;
}

.post-box .image-layer {
	width: 284px;
	height: 167px;
	padding: 0 20px;
}

.post-box .post-title {
	font-size: 20px;
}

.post-box .post-meta {
	padding: 9px 0 0;
}

/********** COMMUNITY BOX **********/

.community-box {
	font-size: 15px;
	border: 8px solid #eee;
}

.community-box .image-layer {
	width: 284px;
	height: 167px;
	padding: 0 20px;
}

.community-box .image-layer-content {
	font-size: 24px;
}

} /*CLOSE QUERY*/
 
/********** TABLETS (724px) **********/
 
@media only screen and (max-width: 979px) { /*768px - 979px*/

/********** FEATURED LISTINGS **********/

.featured-listings .column:nth-of-type(3) {
	display: none;
}

/********** FEATURED OPEN HOUSES **********/

.featured-open-houses .column:nth-of-type(3) {
	display: none;
}

/********** FEATURED POSTS **********/

.featured-posts .column:nth-of-type(3) {
	display: none;
} 

/********** ARCHIVES **********/

.post-type-archive-theory_listing .archive-content .column,
.tax-theory_listing_category .archive-content .column,
.post-type-archive-theory_open_house .archive-content .column,
.blog .content .entry,
.post-type-archive-theory_community .archive-content .column {

}

.post-type-archive-theory_listing .archive-content .column:nth-of-type(2n+1),
.tax-theory_listing_category .archive-content .column:nth-of-type(2n+1),
.post-type-archive-theory_open_house .archive-content .column:nth-of-type(2n+1),
.blog .content .entry:nth-of-type(2n+1),
.post-type-archive-theory_community .archive-content .column:nth-of-type(2n+1) {
	clear: both;
}

.post-type-archive-theory_listing .archive-content .column:nth-of-type(3n+1),
.tax-theory_listing_category .archive-content .column:nth-of-type(3n+1),
.post-type-archive-theory_open_house .archive-content .column:nth-of-type(3n+1),
.blog .content .entry:nth-of-type(3n+1),
.post-type-archive-theory_community .archive-content .column:nth-of-type(3n+1) {
	clear: none;
}

/********** LISTING BOX **********/

.listing-box {
	font-size: 16px;
	border: 10px solid #eee;
}

.listing-box .image-layer {
	width: 332px;
	height: 195px;
	padding: 0 30px;
}

.listing-box .image-layer-content {
	font-size: 24px;
}

.listing-box .listing-meta {
	padding: 12px 0 0;
}

/********** OPEN HOUSE BOX **********/

.open-house-box {
	font-size: 16px;
	border: 10px solid #eee;
}

.open-house-box .image-layer {
	width: 332px;
	height: 195px;
	padding: 0 20px;
}

.open-house-box .image-layer-content {
	font-size: 24px;
}

.open-house-box .open-house-time {
	display: block;
	font-size: 18px;
}

.open-house-box .listing-meta {
	padding: 12px 0 0;
}

/********** POST BOX **********/

.post-box {
	font-size: 16px;
	border: 10px solid #eee;
}

.post-box .image-layer {
	width: 332px;
	height: 195px;
	padding: 0 30px;
}

.post-box .post-title {
	font-size: 24px;
}

.post-box .post-meta {
	padding: 11px 0 0;
}

/********** COMMUNITY BOX **********/

.community-box {
	font-size: 16px;
	border: 10px solid #eee;
}

.community-box .image-layer {
	width: 332px;
	height: 195px;
	padding: 0 30px;
}

.community-box .image-layer-content {
	font-size: 24px;
}

/********** AGENTS ARCHIVE **********/

.post-type-archive-theory_agent .agent-box {
	width: 300px;
}

.post-type-archive-theory_agent .agent-box a {
	font-size: 14px;
}

/********** SINGLE LISTING **********/

/* ARROW CONTROLS */

.single-theory_listing .soliloquy-container .soliloquy-prev {
	height: 120px;
	margin: -60px 0 0 0;
}

.single-theory_listing .soliloquy-container .soliloquy-next {
	height: 120px;
	margin: -60px 0 0 0;
}

.single-theory_listing .soliloquy-container .soliloquy-prev:before,
.single-theory_listing .soliloquy-container .soliloquy-next:before {
	line-height: 120px;
}

.single-theory_listing .soliloquy-container .soliloquy-pager {
  bottom: auto;
  right: auto;
  left: 25px;
  top: 25px;
}

/* LISTING DETAILS */

.single-theory_listing .listing-details .listing-virtual {
	top: 40px;
	right: 40px;
	bottom: auto;
	left: auto;
}

.single-theory_listing .listing-details .listing-price {
	font-size: 32px;
}

.single-theory_listing .listing-details .listing-address {
	font-size: 22px;
}

} /*CLOSE QUERY*/
 
/********** PHONES (440px) **********/
 
@media only screen and (max-width: 767px) { /*480px-767px*/

/********** CALLOUT CONTAINER **********/

.callout-container h3 {
	font-size: 32px;
}

.callout-container p {
	font-size: 20px;
}

/********** FEATURED SECTION **********/

.featured-section-more-container {
	padding: 0 0 0;
}

/********** FEATURED LISTINGS **********/

.featured-listings .column {
	width: 440px;
	display: block !important;
}

/********** FEATURED OPEN HOUSES **********/

.featured-open-houses .column {
	width: 440px;
	display: block !important;
}

/********** FEATURED POSTS **********/

.featured-posts .column {
	width: 440px;
	display: block !important;
}

/********* LISTING BOX *********/

.listing-box .image-layer {
	width: 420px;
	height: 246px;
	padding: 0 40px;
}

.listing-box .image-layer-content {
	font-size: 28px;
}

/********** OPEN HOUSE BOX **********/

.open-house-box {
	font-size: 16px;
	border: 10px solid #eee;
}

.open-house-box .image-layer {
	width: 420px;
	height: 246px;
	padding: 0 40px;
}

.open-house-box .image-layer-content {
	font-size: 28px;
}

.open-house-box .open-house-time {
	display: block;
	font-size: 22px;
}

/********** POST BOX **********/

.post-box {
	font-size: 16px;
	border: 10px solid #eee;
}

.post-box .image-layer {
	width: 420px;
	height: 246px;
	padding: 0 40px;
}

.post-box .post-title {
	font-size: 28px;
}

/********** COMMUNITY BOX **********/

.community-box {
	font-size: 16px;
	border: 10px solid #eee;
}

.community-box .image-layer {
	width: 420px;
	height: 246px;
	padding: 0 40px;
}

.community-box .image-layer-content {
	font-size: 28px;
}

/********** AGENTS ARCHIVE **********/

.post-type-archive-theory_agent .agent-box {
	width: 300px;
	float: none;
	margin: 0 auto 30px;
}

/********* ARCHIVE CONTENT **********/

.post-type-archive-theory_listing .archive-content .column,
.post-type-archive-theory_open_house .archive-content .column,
.tax-theory_listing_category .archive-content .column,
.post-type-archive-theory_community .archive-content .column {
	width: 440px;
	clear: none;
	display: block !important;
	margin-bottom: 80px;
}

/********** SINGLE LISTING **********/

.single-theory_listing .soliloquy-container .soliloquy-caption {
	display: none !important;
}

.single-theory_listing .soliloquy-container .soliloquy-pager {
  bottom: auto;
  right: auto;
  left: 20px;
  top: 20px;
}

.single-theory_listing .soliloquy-thumbnails-container {
	display: none !important;
}

/* LISTING DETAILS */

.single-theory_listing .single-listing-details-container {
  padding: 20px;
}

.single-theory_listing .listing-details .listing-virtual {
	position: static;
	margin: 25px 0 0;
}

/* LISTING CONTENT */

.listing-content .listing-content-heading {
	font-size: 28px;
}

.listing-content {
	font-size: 16px;
}

} /*CLOSE QUERY*/
 
/********** SMALL PHONES (280px) **********/
 
@media only screen and (max-width: 479px) { /*0-479px*/

/********** CALLOUT CONTAINER **********/

.callout-container h3 {
	font-size: 30px;
}

.callout-container p {
	font-size: 18px;
}

/********** FEATURED LISTINGS **********/

.featured-listings .column {
	width: 280px;
}

/********** FEATURED OPEN HOUSES **********/

.featured-open-houses .column {
	width: 280px;
}

/********** FEATURED POSTS **********/

.featured-posts .column {
	width: 280px;
}

/********* LISTING BOX *********/

.listing-box {
	font-size: 14px;
	border: 8px solid #eee;
}

.listing-box .image-layer {
	width: 264px;
	height: 155px;
	padding: 0 20px;
}

.listing-box .image-layer-content {
	font-size: 20px;
}

.listing-box .listing-meta {
	padding: 9px 0 0;
}

/********** OPEN HOUSE BOX **********/

.open-house-box {
	font-size: 16px;
	border: 8px solid #eee;
}

.open-house-box .image-layer {
	width: 264px;
	height: 155px;
	padding: 0 10px;
}

.open-house-box .image-layer-content {
	font-size: 20px;
}

.open-house-box .open-house-time {
	display: block;
	font-size: 18px;
}

.open-house-box .listing-meta {
	padding: 9px 0 0;
}

/********** POST BOX **********/

.post-box {
	font-size: 16px;
	border: 8px solid #eee;
}

.post-box .image-layer {
	width: 264px;
	height: 155px;
	padding: 0 20px;
}

.post-box .post-title {
	font-size: 20px;
}

.post-box .post-meta {
	padding: 9px 0 0;
}

/* AGENT BOX */

.agent-box {
	padding: 40px 20px 30px;
}

.agent-box .agent-box-heading {
	font-size: 26px;
}

.agent-box a {
	padding: 12px 0 10px;
	font-size: 14px;
}

/********* ARCHIVE CONTENT **********/

.post-type-archive-theory_listing .archive-content .column,
.post-type-archive-theory_open_house .archive-content .column,
.tax-theory_listing_category .archive-content .column {
	width: 280px;
	clear: none;
	display: block !important;
	margin-bottom: 80px;
}

/********** SINGLE LISTING **********/

/* CAPTION */

.single-theory_listing .soliloquy-container .soliloquy-caption-inside {
	font-size: 14px;
	padding: 14px 10px 11px;
}

/* ARROW CONTROLS */

.single-theory_listing .soliloquy-container .soliloquy-prev,
.single-theory_listing .soliloquy-container .soliloquy-next {
	background: rgba(0,0,0,0.5) !important;
	width: 30px;
	height: 80px;
	margin: -40px 0 0 0;
	opacity: 0.6;
}

.single-theory_listing .soliloquy-container .soliloquy-prev:before,
.single-theory_listing .soliloquy-container .soliloquy-next:before {
	font-size: 30px;
	line-height: 80px;
	margin: 0;
}

.single-theory_listing .soliloquy-container .soliloquy-prev:hover,
.single-theory_listing .soliloquy-container .soliloquy-next:hover {
	background: rgba(0,0,0,0.5) !important;
	opacity: 0.6;
}

/* PAGER */

.single-theory_listing .soliloquy-container .soliloquy-pager {
	bottom: auto;
	right: auto;
	left: 10px;
	top: 10px;
}

/* LISTING DETAILS */

.single-theory_listing .listing-details .listing-price {
	font-size: 26px;
}

.single-theory_listing .listing-details .listing-address {
	font-size: 20px;
}

/* LISTING CONTENT */

.listing-content .listing-content-heading {
	font-size: 28px;
}
 
} /*CLOSE QUERY*/