/*
Theme Name: CBD Base Theme
Author: Jeromy Condon
Author URI: http://rustygeorge.com/
Description: ACF & other embedded plugins not to be distributed separately.
Version: 1.0
*/

@import url('css/base-layout.css');
@import url('css/carousel.css');


/*
|====================================================
| 1. OVERALL LAYOUT
|====================================================
*/

body {
	background: #e5e5e5;
	line-height: 1.5;
}

.outer-wrap {
	max-width: 1600px;
	margin: auto;
	background: #fff;
	position: relative;
}

section {
	border-bottom: solid 10px #e5e5e5;
}

.line-title h3 {
	margin: 0;
	padding: 0;
	text-transform: uppercase;
	text-align:center;
	font-size: 1em;
	font-weight: normal;
}

.line-title h3:after {
	content: '';
	display: block;
	height: 3px;
	width: 100px;
	margin: 30px auto;
	background: #258AF0;
}

.circle {
	border-radius: 50%;
	overflow: hidden;
	display: block;
}

a.cbd-anchor {
    display: block;
    position: relative;
    top: -150px;
    visibility: hidden;
}

/*
|====================================================
| 2. HEADER STYLES
|====================================================
*/
header {
	position: fixed;
	z-index: 1001;
	top: 0;
	right:0;
	left: 0;
	margin: auto;
	max-width: 1600px;
  	background: rgba(255,255,255,.8);
  	display: flex;
  	align-items: center;
  	justify-content: space-between;
  	transition: all .3s ease;
}

header .logo {
	flex: none;
	width: 200px;
	margin-right: 50px;
	padding: 15px;
	background: #fff;
	transition: all .3s ease;
}

.scrolled header .logo {
	width: 100px;
}

.logo img {
	display: block; 
}

.action-buttons {
	flex: none;
	padding-right: 50px;
	font-size: .9em;
	margin-top: -5px;
	color:#C4C4C4;
}

.action-buttons span {
	margin: 0 5px;
}

header .action-buttons .button {
	margin: 5px 15px;
}

.scrolled header .action-buttons .button {
	font-size: .7em;
}

/*
|====================================================
| 3. NAVIGATION STYLES
|====================================================
*/
.navigation {
	flex: 1 1 auto;
}

.navigation ul {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
}

.navigation li {
	flex: none;
}

.navigation a {
	display: block;
	padding: 5px 0;
	margin-right: 30px;
	font-weight: bold;
	text-transform: uppercase;
	font-size: .95rem;
	text-decoration: none;
	border-bottom: solid 3px transparent;
	color: #183f60;
	transition: color .3s ease;
}

.navigation a:hover {
	color: #258af0;
}

.navigation .current-menu-item a, 
.navigation .current-page-ancestor a, 
.navigation .current_page_parent a,
.single-market_trend .menu-item-41 a {
	border-bottom-color: #258AF0;
}

.single-market_trend .current_page_parent a {
	border-bottom-color: transparent;
}

/*MOBILE NAV STUFF ===============================*/
.overlay-nav-container {
	position: fixed;
	overflow: scroll;
	z-index:9999;
	z-index: -1;
	top:0;
	bottom:0;
	left:0;
	right:0;
	background: rgba(255,255,255,.93);
	opacity:0;
	transition: opacity .4s ease;
}

.overlay-wrap {
	max-width: 240px;
	margin: auto;
	padding: 30px;
	text-align:center;
}

.overlay-nav-logo {

}

.overlay-nav-content {
	margin: 30px 0;

}

.overlay-nav-action-buttons a {
	margin: 10px 15px;
	font-size: .8em;
}

.overlay-nav-action-buttons span {
	display: none;
}

.nav-toggle {
	height:40px;
	width: 40px;
	background: url(assets/hamburger.svg) no-repeat left top transparent;
	background-size: contain;
	cursor: pointer;
/*	position: absolute;
	right: 10px;
	top: 50%;
	margin-top: -15px;*/
	margin-right: 30px;
	display:none;
}

.overlay-nav-container ul {
	list-style:none;
	margin: 0;
	padding:0;
}

.overlay-nav-container li {
	margin-bottom: 10px;
}

.overlay-nav-content a {
	display: block;
	padding: 5px;
}

.open .overlay-nav-container {
	opacity: 1;
	z-index:9999;
}

.nav-overlay-toggle {
	position: absolute;
	top: 25px;
	right:18px;
	cursor: pointer;
}

.nav-overlay-toggle img {
	display:block;
	width: 40px;
	height: 40px;
}

/* OVERLAY ACTION BUTTONS STUFF ============================================ */
.overlay-action-buttons-container {
	position: fixed;
	overflow: scroll;
	z-index:9900;
	padding: 75px 50px 50px 50px;
	z-index: -1;
	top:0;
	bottom:0;
	left:0;
	right:0;
	background: rgba(150,150,150,.93);
	opacity:0;
	transition: opacity .4s ease;
}

.overlay-action-toggle {
	position: absolute;
	top: 15px;
	right:15px;
	cursor: pointer;
}

.overlay-action-toggle img {
	display:block;
	width: 30px;
	height: 30px;
}


.overlay-action-box {
	max-width: 900px;
	margin: auto;
	background: #fff;
	padding: 40px;
	position: relative;
}

.overlay-action-box.find-home-box, 
.overlay-action-box.find-agent-box {
	display: none;
}

.overlay-action-box-open.find-home-content .overlay-action-box.find-home-box, 
.overlay-action-box-open.find-agent-content .overlay-action-box.find-agent-box {
	display: block;
}

.overlay-action-box h2 {
	text-align: center;
}

.overlay-action-box-open .overlay-action-buttons-container {
	opacity: 1;
	z-index:9999;
}

/*
|====================================================
| 4. CONTENT AREA STYLES
|====================================================
*/

/*HERO STUFF ===============================*/
.page-hero {
	position: relative;
	z-index: 10;
}

.page-hero .overlay {
	position: absolute;
	bottom: 0;
	right: 0;
	left: 0;
	top: 0;
	background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.7) 100%);
	text-align:center;
}

.page-hero.interior .overlay {
	background: rgba(24,63,96,.6);
}

.page-hero.global-luxury .overlay {
	background: rgba(0,0,0,.5<%  %>);
}

.page-hero img {
	display: block;
}

.page-hero .overlay .text {
	position: absolute;
	bottom: 0;
	right:0;
	left: 0;
	padding: 120px 275px 50px 275px;
	color: #fff;
}

.page-hero.interior .overlay .text {
	position: absolute;
	bottom: 0;
	right:0;
	left: 0;
	padding: 120px 275px 30px 275px;
	color: #fff;
}

.page-hero.global-luxury .overlay .text {
	position: absolute;
	bottom: 0;
	right:0;
	left: 0;
	padding: 120px 275px 100px 275px;
	color: #fff;
	text-align:center;
	font-family: "Crimson Text", serif;
	font-size: 2.813em;
}

.page-hero.global-luxury .overlay .text p {
	margin: 5px 0;
	line-height: 1.2;
}

.page-hero.global-luxury .overlay .text img {
	display: inline;
}

.page-hero h1 {
	color: #fff;
	margin: 0 0 .25em 0;
}

/*CTA STUFF ===============================*/
.cta-buttons {
	display: flex;
}

.cta-buttons > div {
	flex: 1 1 0%;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
}

.cta-buttons > div:nth-child(2) {
	border-right: solid 10px #e5e5e5;
	border-left: solid 10px #e5e5e5;
}

.cta-buttons a {
	display: flex;
	height: 200px;
	justify-content: center;
	align-items: center;
	transition: background .3s ease;
	background: rgba(35,80,123, .8);
	//background-image: linear-gradient(to bottom, rgba(35,80,123, .8) 0%, rgba(68,125,194,.8) 100%);
}

.cta-buttons a:hover {
	background: rgba(35,80,123, .7);
	//background-image: linear-gradient(to bottom, rgba(35,80,123, .7) 0%, rgba(68,125,194,.7) 100%);
}

.cta-buttons span {
	flex: none;
	display: flex;
	align-items: center;
	font-size: 1.625em;
	color: #fff;
}

.cta-buttons span:after {
	content: '';
	display: block;
	position: relative;
	top: 3px;
	width: 50px;
	height:50px;
	margin-left: 10px;
	background: url('assets/right-arrow.svg') no-repeat left top;
	background-size: cover;
}



/*INTERIOR CTA STUFF ===============================*/
.interior-cta {
	display: flex;
}

.interior-cta > div {
	flex: 1 1 0%;
	text-align:center;
	padding: 50px;
}

.interior-cta > div:nth-child(2) {
	border-right: solid 10px #e5e5e5;
	border-left: solid 10px #e5e5e5;
}


/*INTRO TEXT STUFF ===============================*/
.intro-text {
	display: flex;
	padding: 100px;
}

.intro-text .image {
	flex: none;
	margin-right: 50px;
}

.intro-text .text p:first-child {
	font-size: 1.5em;
	line-height: 1.3;
	color: #183f60;
	font-weight: 700;
}

.intro-text.alt .leftcol {
	flex: 1 1 0%;
}

.intro-text.alt .leftcol .intro-paragraph, 
.intro-text.alt .leftcol .text p:first-child {
	font-size: 1.5em;
	line-height: 1.3;
	color: #183f60;
	font-weight: 700;
}

.intro-text.alt .text p:first-child {
	font-size: 1em;
	color: #6E7379;
	font-weight: 400;
}

.intro-text.alt .rgc-row {
	display: flex;
}

.intro-text.alt .rightcol {
	flex: none;
	width: 400px;
	margin-left: 100px;
}

.intro-text.alt .formbox {
	background: url(assets/formbox-bg.jpg) no-repeat bottom center #183f60;
	padding: 30px 30px 170px 30px;
	color: #fff;
}

.intro-text.alt .formbox h3 {
	color: #fff;
}

.intro-text.alt .icon-row {
	display: flex;
	flex-wrap: wrap;
	margin: 40px 0;
}

.intro-text.alt .icon {
	flex: none;
	width: 25%;
	padding: 10px;
	text-align:center;
}

.intro-text.alt .icon img {
	max-width: 125px;
}

.intro-text.alt .icon span {
	display: block;
	color: #183F60;
	font-size: 1.0em;
	line-height: 1.2;
	font-weight: 400;
}

.intro-text .menu {
	list-style: none;
	margin: 0 0 30px 0;
	padding:0;
}


.intro-text .menu li {
	padding: 10px 0;
	font-size: 1.1em;
	border-bottom: solid 1px #D7DDE2;
}

.intro-text .menu a {
	color: #258af0;
}

.intro-text .menu a:hover {
	color: #183f60;
}

.intro-text .menu .current-menu-item a {
	color: #183f60;
	font-weight: 700;
}

.intro-text.alt2 .leftcol {
	padding: 0 200px;
}

.page-template-_TEMPL-market-trends .wp-image-623 {
	max-width: 50%;
}



/*NUMBER SECTION STUFF ===============================*/
.numbers {
	background: url('assets/numbers-bg-placeholder.jpg') no-repeat left top;
	background-size: cover;
	padding: 100px;
}

.numbercols {
	display: flex;
}

.numbercols > div {
	flex: 1 1 0%;
	text-align:center;
	padding: 0 30px;
}

.numbercols p {
	font-size: .95em;
}

.number {
	font-size: 5em;
	color: #183f60;
}

/*COMMUNITY SECTION STUFF ===============================*/
.community {
	display: flex;
	padding: 150px 300px;
	background-color: #183f60;
	background-repeat: no-repeat;
	background-position: left top;
	background-size: cover;
}

.community > div {
	flex: 1 1 0%;
	background: rgba(255,255,255,.9);
	padding: 75px;
}


/*GLOBAL-LUXURY SECTION STUFF ===============================*/
.luxury {
	display: flex;
	background-color: #183f60;
	background-repeat: no-repeat;
	background-position: left top;
	background-size: cover;
}

.luxury > div {
	flex: 1 1 0%;
	background: rgba(0,0,0,.8);
	padding: 150px 300px;
	text-align:center;
}

.page-hero.global-luxury {
	border: none;
}

.page-hero.global-luxury:after {
	content: "";
	display: block;
	width:100px;
	height: 1px;
	background: #7BA5E2;
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: rotate(90deg);
	margin-left: -50px;
}

.luxury .c-text {
	color: #fff;
	font-family: "Crimson Text", serif;
	font-size: 2.125em;
	line-height: 1.3;
}

.c-text p {
	margin: 10px 0;
}

.luxury .button {
	background: transparent;
	border: solid 2px #fff;
}

.luxury .button:hover {
	background: #fff;
	color: #111;
}

.luxury-row {
	padding: 100px 25px;
	max-width: 1000px;
	margin: auto;
	display: flex;
	align-items: center;
	border: none;
}

.luxury-row .image {
	flex: none;
	width: 33%;
}

.luxury-row-a .image {
	margin-right: 100px;
}

.luxury-row-b .image {
	margin-left: 100px;
}

.luxury-row .text {
	padding-left: 50px;
}

.luxury-row .title-text {
	position: relative;
	left: -50px;
	margin-bottom: 25px;
}

.title-text .sans {
	font-size: 1.250em;
	color: #a5aaaf;
	text-transform: uppercase;
	letter-spacing: 3px;
}

.title-text .serif {
	font-family: "Crimson Text", serif;
	font-size: 2.0em;
	margin-right: 2px;
	color: #3d3f41;
	font-style: italic;
}

.title-text .serif-large {
	font-family: "Crimson Text", serif;
	font-size: 2.8em;
	color: #101112;
	text-transform: uppercase;
	line-height: 1;
	letter-spacing: 3px;
}

.imgbar-cta.luxury-cta {
	padding: 50px 150px; 
	border: none;
}

.imgbar-cta.luxury-cta:before {
	background: #000;
}


.imgbar-cta.luxury-cta .button {
	background: transparent;
	text-transform: uppercase;
	border: solid 2px #fff;
}

.imgbar-cta.luxury-cta .button:hover {
	background: #fff;
	color: #000;
}



/*IMG50-TEXT50 SECTION STUFF ===============================*/
.img-50-text-50 {
	display: flex;
}

.img-50-text-50 .text {
	flex: none;
	width: 50%;
	padding: 75px;
}

.img-50-text-50 .image {
	flex: 1 1 0%;
}

.img-50-text-50 .image img {
	display: block;
}

/*RELATED CONTENT SECTION STUFF ===============================*/
.related-content {
	padding: 75px;
}

.related-content .inner-cols {
	display: flex;
	background: #F0F0F0;
	margin: 50px 0;
}

.related-content .featured {
	display: flex;
	flex: 1 1 0%;
}

.related-content .featured .image {
	flex: none;
	width: 375px;
}

.related-content .featured .image img {
	display: block;
}

.related-content .featured .text {
	flex: 1 1 0%;
	padding: 30px;
}

.related-content .secondary-articles {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: center;
	flex: none;
	width: 40%;
	border-left: solid 10px #fff;
}

.related-content .secondary-articles .text {
	border-bottom: solid 10px #fff;
	padding: 30px;
}

.related-content .secondary-articles .text:last-child {
	border: none;
}

.related-content .byline,
.blogroll .byline {
	margin-bottom: 15px;
	font-size: .8em;
}

.byline a {
	display: inline-block;
	padding:0 3px;
	background: #f8f9fb;
	margin-bottom: 4px;
}

.related-content .byline a {
	//color: #183f60;
}

.related-content .secondary-articles h2 {
	font-size: 1.3em;
	margin: 0;
}

.related-content h2 a:hover {
	color:#258af0;
}

.related-cta {
	text-align:center;
}



/*SUBFOOTER SECTION STUFF ===============================*/
.subfooter {
	background-color: #183f60;
	background-position: left top;
	background-repeat: no-repeat;
	background-size: cover;
	padding: 100px 150px;
	text-align: center;
}

.subfooter .button {
	background: #fff;
	color: #258af0;
	margin: 0 15px 5px 15px;
	font-weight: bold;
}



/*IMGBAR-CTA SECTION STUFF ===============================*/
.imgbar-cta {
	//background: url('assets/subfooter-placeholder.jpg') no-repeat right top;
	background-size: cover;
	padding: 100px 150px;
	text-align: center;
	color: #fff;
	position: relative;
}

.imgbar-cta:before {
	content: "";
	display: block;
	position: absolute;
	z-index:1;
	top: 0;
	right:0;
	bottom:0;
	left: 0;
	//background: linear-gradient(to bottom, rgba(35,80,123, .7) 0%, rgba(68,125,194,.7) 100%);
	background: rgba(24,63,96,.7);
}

.imgbar-cta > div {
	position: relative;
	z-index: 2;
}

.imgbar-cta h2 {
	color: #fff;
}

.imgbar-cta .button {
	background: #258af0;
	color: #fff;
	margin: 0 15px;
	font-weight: bold;
}




/*VIDEO-CONTAINER SECTION STUFF ===============================*/
.video-container {
	padding: 100px 150px;
}

.video-container > p {
	max-width: 1000px;
	margin: auto;
	text-align:center;
}

.video-container .video-thumbs {
	display: flex;
	flex-wrap: wrap;
	margin: 30px 0;
}

.videobox {
	flex: none;
	width: 200px;
	margin: 5px;
}

.videobox a {
	position: relative;
	display: block;
	top:0;
	right:0;
	bottom: 0;
	left:0;
}

.videobox a:before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	margin: -35px 0 0 -35px;
	display: block;
	background: url(assets/video-button.png) no-repeat left top;
	background-size: contain;
	width: 70px;
	height: 70px;
}

.gallery {
	display: flex;
	flex-wrap: wrap;
}

.gallery .gallery-item {
	padding: 10px!important;
	margin: 0!important;
	float: none!important;
}

.gallery-item img {
	width: 100%;
	display: block;
	border: none!important;
}

.intro-text .gallery .image {
	margin: 0;
}

body #fancybox-close {
    position: absolute;
    top: -65px;
    right: -65px;
    width: 45px;
    height: 45px;
    background: url(assets/close-icon.png) no-repeat left top;
    background-size: contain;
    cursor: pointer;
    z-index: 111103;
    display: none;
}

body #fancybox-left-ico {
	background: url(assets/l-arr.png) no-repeat left top;
	background-size: contain;
}

body #fancybox-right-ico {
	background: url(assets/r-arr.png) no-repeat right top;
	background-size: contain;
}

body #fancybox-left:hover span {

}

body #fancybox-right:hover span {
	right: 20px;
}


/*TESTIMONIAL-CAROUSEL SECTION STUFF ===============================*/
.testimonial-carousel {
	padding: 100px 150px;
	background-color: #183f60;
	background-repeat: no-repeat;
	background-position: left top;
	background-size: cover;
	color: #fff;
	position:relative;
}

.carousel-arrows {
	position: absolute;
	bottom: 50px;
	right: 80px;
	width: 30px;
}

.slick-next:before {
    background-image: url(assets/right-car-arrow.svg);
    background-repeat:no-repeat;
    background-size: contain;
}

.slick-prev:before {
    background-image: url(assets/left-car-arrow.svg);
    background-repeat:no-repeat;
    background-size: contain;
}

.slick-prev:before, .slick-next:before {
    content: '';
    display: block;
    width: 30px;
    height: 30px;
}

.rgc-slide {
	display: flex;
	align-items: center;
}

.rgc-slide .image {
	flex: none;
	width: 250px;
	margin-right: 50px;
}

.rgc-slide .image img {
	border-radius: 50%;
	overflow:hidden;
	border: solid 10px #fff;
}

.rgc-slide blockquote {
	margin: 0;
	padding: 0 0 0 70px;
	border: none;
	font-style: normal;
	font-size: 1.625em;
	line-height: 1.3;
	position: relative;
}

.rgc-slide blockquote:before {
	position: absolute;
	top: 0;
	left: 0;
	width: 50px;
	height: 50px;
	display: block;
	content: "";
	background: url(assets/quote.svg) no-repeat left top;
	background-size: contain;
}

.rgc-slide cite {
	padding: 0;
	font-size: .6em;
	font-style: normal;
	line-height: 1.5;
}

.rgc-slide cite span {
	display: block;
}



/*CONTACT FORM STUFF ===============================*/
.contact-form-container {
	display: flex;
	border-top: solid 1px #ddd;
	padding: 50px 0 0 0;
	margin: 50px 0;
}

.contact-form-container > div {
	flex: 1 1 0%;
}

.contact-form-container > .contact-text {
	flex: none;
	width: 300px;
	margin-left: 50px;
}

.contact-form-container .contact-item {
	margin-bottom: 50px;
}

.contact-item p, 
.contact-item h2 {
	margin-bottom: .3em;
}

.contact-form .gfield_label {
	display: none!important;
}

.contact-form ::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  text-transform: uppercase;
}
.contact-form ::-moz-placeholder { /* Firefox 19+ */
  text-transform: uppercase;
}
.contact-form :-ms-input-placeholder { /* IE 10+ */
  text-transform: uppercase;
}
.contact-form :-moz-placeholder { /* Firefox 18- */
  text-transform: uppercase;
}

.contact-form .gform_body input,
.contact-form .gform_body textarea {
	display: block;
	padding: 15px !important;
	border: solid 1px #ddd;
}

.gform_wrapper input[type="submit"] {
	padding: 10px 30px;
	display: inline-block;
	background: #258af0;
	color: #fff;
	border-radius: 5px;
	margin-bottom: 5px;
	border: none;
	transition:all .3s ease;
}

.gform_wrapper input[type="submit"]:hover {
	background: #183f60;
}

.formbox .gform_wrapper input[type="submit"]:hover {
	color: #183f60;
	background: #fff;
}


body .gform_wrapper .gfield_error,
body .gform_wrapper .validation_error  {
    border: 1px solid #e57373!important;
    border: none!important;
    color: #e57373!important;
}

body .gform_wrapper .validation_message {
	color: #e57373!important;
	padding: 0!important;
}

body .gform_wrapper.gform_validation_error .gform_body ul li.gfield.gfield_error:not(.gf_left_half):not(.gf_right_half) {
	max-width: 100%!important;
	background: transparent;

}


/*MARKET REGION STUFF ===============================*/
.market-regions {
	display: flex;
	flex-wrap: wrap;
	border-bottom: none;
}

.market-region {
	flex: none;
	width: 50%;
	padding: 50px;
	border-bottom: solid 10px #e5e5e5;
	display: flex;
}

.market-region:nth-child(even) {
	border-left: solid 10px #e5e5e5;
}

.market-region .text {
	flex: 1 1 0%;
}

.market-region .image {
	flex: none;
	width: 245px;
	margin-right: 50px;
}

.market-region .text ul li {
	display: flex;
	padding: 10px 0;
	font-size: 1em;
	font-weight: normal;
	border-bottom: solid 1px #D7DDE2;
}

.market-region .text ul li:last-child {
	border-bottom: solid 1px #D7DDE2;
}

.market-region .text ul li:before {
	content: "";
	display: block;
	flex: none;
	width: 30px;
	background: url('assets/right-arrow-2.png') no-repeat left top;
	background-size: contain;
	margin-right: 15px;
}

.market-region .text ul a {
	color: #258af0;
}

.market-region .text ul a:hover {
	color: #183f60;
}

.market-trends-bar .button.alt {
	background: #fff;
	color: #258af0;
}

.market-trends-bar .button.alt:hover {
	color: #fff;
	background: #258af0;
}


/*SINGLE MARKET STUFF ===============================*/
.market-graph {
	margin-bottom: 50px;
}



/*BLOGROLL STUFF ===============================*/
.blogroll {
	padding: 100px 150px;
	display: flex;
	flex-wrap: wrap;
}

.blogroll .rightcol {
	flex: none;
	width: 300px;
	margin-left: 100px;
}

.blogroll .rightcol .cat-list {
	list-style: none;
	margin: 0 0 30px 0;;
	padding:0;
}


.blogroll .rightcol .cat-list li {
	padding: 10px 0;
	font-size: 1.2em;
	border-bottom: solid 1px #D7DDE2;
}

.blogroll .rightcol .cat-list a {
	color: #258af0;
}

.blogroll .rightcol .cat-list .current-cat a {
	color: #183f60;
	font-weight: 700;
}

.blogroll .leftcol {
	flex: 1 1 0%;
}

.blogroll .article-list {
	display: flex;
	flex-wrap: wrap;
}


.blogroll article {
	display: flex;
	background: #F0F0F0;
	border-bottom: solid 10px #fff;
	width: 50%;
}

.blogroll article h2 {
	font-size: 1.5em;
}

.blogroll article:first-child {
	width: 100%;
}

.blogroll article:first-child h2 {
	font-size: 1.875em;
}

.blogroll article:nth-child(even) {
	border-right: solid 10px #fff;
}

.blogroll article .image {
	flex: none;
	width: 375px;
}

.blogroll article .image img {
	display: block;
}

.blogroll article .text {
	flex: 1 1 0%;
	padding: 30px;
}

.post-pagination {
	flex: none;
	width: 100%;
	margin-top: 50px;
	border-top: solid 1px #ccc;
	padding: 20px 0;
	display: flex;
	justify-content: space-between;
}


/*SINGLE POST STUFF ===============================*/
.single-post-area {
	padding: 100px 150px;
	display: flex;
}

.single-post-area .rightcol {
	flex: none;
	width: 300px;
	margin-left: 100px;
}

.single-post-area .rightcol .cat-list {
	list-style: none;
	margin: 0 0 30px 0;
	padding:0;
}


.single-post-area .rightcol .cat-list li {
	padding: 10px 0;
	font-size: 1.2em;
	border-bottom: solid 1px #D7DDE2;
}

.single-post-area .rightcol .cat-list a {
	color: #258af0;
}

.single-post-area .rightcol .cat-list .current-cat a {
	color: #183f60;
	font-weight: 700;
}

.single-post-area .leftcol {
	flex: 1 1 0%;
}

.single-post-area .byline-wrap {
	display: flex;
	justify-content: space-between;
	padding-bottom: 20px;
	border-bottom: solid 1px #D7DDE2;
	margin-bottom: 30px;

}

.single-post-area .addtoany_shortcode {
	display: inline-block;
	margin-left: 15px;
}


/*COMMISSION FORM STUFF ===============================*/
.commission-form .line-item {
	display: flex;
	justify-content: space-between;
	padding: 10px 0;
	border-bottom: solid 1px #D7DDE2;
}

.commission-form #gross_commission {
	padding: 5px;
	color: #545d65;
}

.commission-form .line-item.comm_split {
	border-bottom: none;
}

.commission-form .line-item-field {
	flex: none;
	margin-left: 20px;
}

.commission-form .form-buttons {
	text-align: right;
	margin-top: 40px;
}

.commission-form .net_comm {
	font-weight: bold;
	color: #183f60;
}

.commission-form input[type="submit"] {
	padding: 11px 30px 9px 30px!important;
	display: inline-block;
	background: #258af0;
	color: #fff;
	border-radius: 5px;
	margin-bottom: 5px;
	border: none;
	font-size: 1em;
	line-height: 1.5;
}

#calc_submit {
	background: #0FC700;
	transition: all .3s ease;
}

#calc_submit:hover {
	background: #0b7901;
}

.commission-calc-callout {
	background: #183f60;
	text-align:center;
}

.commission-calc-callout .image {
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center bottom;
	padding: 40px 30px;
	margin: 10px 0;
}

.commission-calc-callout .button {
	font-size: .9em;
	margin: 0;

}

.commission-calc-callout .button:hover {
	background: #fff;
	color: #183f60;

}

/*
|====================================================
| 6. FOOTER STYLES
|====================================================
*/
footer {
	background: #e5e5e5;
	display: flex;
	padding: 15px;
}

footer .logo {
	flex: none;
	max-width: 200px;
	margin-right: 50px;
}

footer .text {
	flex: 1 1 0%;
}

footer .contact-socials {
	display: flex;
}

footer .contact-socials a {
	font-size: 1.05em;
	font-weight: bold;
	color: #258af0;
}

footer .contact-socials a:hover {
	color: #183f60;
}

footer .contact-socials > div {
	flex: none;
	margin-right: 75px;
	display: flex;
	align-items: center;
}

footer .contact-socials img {
	max-width: 30px;
	display: block;
}

footer .contact-socials .icon {
	margin-right: 10px;
}

footer .socials {
	margin-right: 0;
}

footer .socials a {
	margin-right: 15px;
}

footer .copyrights p {
	font-size: .8em;
	color: #777;
	padding: 15px 0;
	max-width: 900px;
}


/*
|====================================================
| 7. MEDIA QUERIES
|====================================================
*/
@media (max-width:1500px) {
	.navigation a {
		font-size: .80rem;
	}

	.action-buttons a {
		padding: 0;
		display: block;
		text-align: right;
		word-wrap: break-word;
	}

	.action-buttons span {
		display: none;
	}

	.action-buttons a:first-child {
		margin-bottom: 5px;
		word-wrap: break-word;
	}

	header .logo {
		max-width: 150px;
	}

	header .action-buttons {
		padding-right: 15px;
	}

	.contact-form-container {
		display: block;
	}

	.contact-form-container > .contact-text {
		margin: 50px 0 0 0;
		display: flex;
		width: 100%;
	}

	.contact-form-container  .contact-item {
		flex: 1 1 0%;
		padding: 10px;
	}
}

@media (max-width:1300px) {
	.blogroll {
		display: block;
	}

	.blogroll .rightcol {
		margin: 0;
	}
}

 
@media (max-width:1200px) {
    
   	.navigation a {
		font-size: .80rem;
		margin-right: 10px;
	}

	.action-buttons a {
		font-size: .75rem;
	}
    
   	.action-buttons span {
		display: none;
	}
	
	.intro-text.alt .rgc-row {
		display: block;
	}

	.intro-text.alt .rgc-row .image {
		margin-bottom: 20px;
	}

	.intro-text.alt .icon {
		width: 50%;
	}

	.testimonial-carousel {
		padding: 50px;
	}

	.related-content .inner-cols {
		display: block;
	}

	.related-content .featured {
		border-bottom: solid 10px #fff;
	}

	.related-content .secondary-articles {
	    flex-direction: row;
	    align-items: stretch;
	    justify-content: center;
	    flex: none;
	    width: 100%;
	    border: none;
	}

	.related-content .secondary-articles .text {
		border: none;
		border-right: solid 10px #fff;
	}

	.related-content .secondary-articles .text:last-child {
	    border: none;
	}

	.intro-text.alt2 .leftcol {
		padding: 0;
	}

	.market-region .image {
	    flex: none;
	    width: 150px;
	    margin-right: 30px;
	}

	.single-post-area {
		display: block;
	}

	.single-post-area .rightcol {
		margin: 0;
	}

	.page-hero.global-luxury .overlay .text {
		padding: 50px;
		font-size: 2em;
	}

	.page-hero.global-luxury:after {
		width: 50px;
		margin-left: -25px;
	}
}


@media (max-width:1150px) {
	header .logo {
		margin-right: 25px;
	}

	.page-hero .overlay .text {
	    padding: 50px;
	}

	.cta-buttons span {
		font-size: 1.3em;
	}

	.intro-text,
	.numbers,
	.community,
	.luxury > div,
	.related-content,
	.subfooter,
	.imgbar-cta,
	.video-container,
	.blogroll,
	.single-post-area {
		padding: 50px;
	}

	.rgc-slide .image {
		width: 200px;
	}

	.rgc-slide blockquote {
		font-size: 1.3em;
	}

	footer .contact-socials {
		flex-wrap: wrap;
	}

	footer .socials {
		margin-top: 20px;
	}
}


@media (max-width:1000px) {
    .navigation,
	.action-buttons {
		display: none;
	}

	.nav-toggle {
		display:block;
	}

	.page-hero h1 {
		font-size: 3em;
	}

	.page-hero .overlay .text {
	    padding: 30px;
	}

	.outer-wrap {
		padding-top: 95px;
	}

	.cta-buttons a {
		min-height: 100px;
		height: auto;
	}

	.cta-buttons span {
		font-size: 1em;
	}

	.intro-text {
		display: block;
	}

	.intro-text .image {
		float: left;
	}

	.numbercols {
	    display: flex;
	    flex-wrap: wrap;
	}

	.numbercols > div {
	    flex: none;
	    text-align: center;
	    width: 50%;
	    padding: 0 30px;
	}

	.img-50-text-50 {
		flex-direction: column;
	}

	.img-50-text-50 .image {
		min-height: 250px;
		order: 1;
	}

	.page-template-_TEMPL-commision-calculator .image.full-scale {
		min-height: 350px;
	}

	.img-50-text-50 .text {
		order: 2;
		width: 100%;
	}

	.intro-text.alt .leftcol {
		overflow: hidden;
		margin-bottom: 50px;
	}

	.intro-text.alt .rightcol {
		margin-left: 0;
	}

	.intro-text.alt .icon {
		flex: 1 1 0%;
	}

	.interior-cta > div {
		padding: 30px;
	}

	.market-region {
		display: block;
	}

	.market-region .image {
		width: 100%;
		margin: 0 0 30px 0;
	}

	.blogroll .leftcol,
	.single-post-area .leftcol {
		margin-bottom: 50px;
	}

	.page-hero.interior .overlay .text {
		padding: 30px 50px;
	}

	.contact-item {
		flex: 1 1 0%;
		padding: 10px;
	}

	.luxury-row {
		padding: 50px 25px;
	}

	.luxury-row .image {
		margin: 0 25px;
	}

	.luxury-cta .button {
		margin: 5px 0;
	}

	.luxury-row .title-text {
		position: static;
	}
}

@media (max-width:900px) {
	.page-hero h1 {
		font-size: 2.5em;
	}

	.intro-text .text p:first-child,
	.intro-text.alt .leftcol .intro-paragraph, 
	.intro-text.alt .leftcol .text p:first-child {
		font-size: 1.1em;
	}

	.number {
		font-size: 4em;
	}

	.community {
		padding: 0;
	}

	.community > div {
		background: rgba(255,255,255,.75);
	}

	.intro-text.alt .icon span {
		font-size: 1em;
	}

	.rgc-slide .image {
		width: 150px;
	}

	.rgc-slide blockquote {
		font-size: 1em;
	}

	.rgc-slide cite {
		font-size: .8em;
	}
}


@media (max-width:768px) {
	header .logo {
		max-width: 100px;
		padding: 10px;
	}

	.outer-wrap {
		padding-top: 0;
	}

	.nav-toggle {
		width: 30px;
		height: 30px;
	}

	.page-hero .overlay .text {
		font-size: .8em;
	}

	.cta-buttons span {
		display: block;
		text-align:center;
	}

	.cta-buttons span:after {
		margin:0 auto;
	}

	.cta-buttons a {
		padding: 30px 10px;
	}

	.numbercols > div {
		width: 100%;
		text-align:left;
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 0;
	}

	.numbercols .number {
		flex: none;
		width: 200px;
		text-align:right;
		margin-right: 20px;
	}

	.numbercols p {
		margin: 0;
	}

	.related-content .secondary-articles {
		display: block;
	}

	.related-content .secondary-articles .text {
		border: none;
		border-bottom: solid 10px #fff;
	}

	footer .logo {
		max-width: 100px;
		margin-right: 30px;
	}

	.page-hero {
		padding-top: 65px;
	}

	.intro-text.alt .rgc-row .image {
		max-width: 150px;
	}

	.interior-cta {
		display: block;
	}

	.interior-cta > div:nth-child(2) {
		border: none;
	    border-top: solid 10px #e5e5e5;
	    border-bottom: solid 10px #e5e5e5;
	}

	.related-content .featured .image,
	.blogroll article .image {
		width: 200px;
	}

	.market-region {
		width: 100%;
		display: flex;
	}

	.market-region .image {
		width: 200px;
		margin-right: 50px;
	}

	.market-region:nth-child(even) {
		border-left: none;
	}

	.blogroll article {
		width: 100%;
	}

	.blogroll article:nth-child(even) {
		border-right: none;
	}

	.contact-form-container > .contact-text {
		display: block;
	}

	.contact-form-container .contact-item {
		margin-bottom: 30px;
	}
}


@media (max-width:700px) {
	.intro-text .image {
		display: none;
	}

	.videobox {
		width: 150px;
	}

	.videobox a:before {
		width: 40px;
		height: 40px;
		margin: -20px 0 0 -20px;
	}

	.rgc-slide .image {
		display: none;
	}

	.page-hero .overlay .text {
		padding: 15px;
	}

	.page-hero .overlay p {
		margin-bottom: 0;
	}

	.cta-buttons span:after {
		width: 30px;
		height: 30px;
	}

	.intro-text,
	.numbers,
	.community,
	.related-content,
	.subfooter,
	.imgbar-cta,
	.video-container,
	.blogroll,
	.single-post-area,
	.community > div,
	.img-50-text-50 .text {
		padding: 30px;
	}

	.community {
		padding: 0;
	}

	.luxury-row {
		flex-wrap: wrap;
	}

	.luxury-row .image {
		flex: none;
		width: 100%;
		order: 1;
		margin: 0;
	}

	.luxury-row .text {
		flex: none;
		width: 100%;
		order: 2;
		padding: 0;
	}

	.luxury-row .image img {
		width: 100%;
	}

	.luxury-row .title-text {
		font-size: .8em;
	}

	.imgbar-cta.luxury-cta {
		padding: 30px;
	}

	.luxury .c-text {
		font-size: 1.5em;
	}

}

@media (max-width:600px) {
	.cta-buttons {
		display: block;
	}

	.cta-buttons > div {
		flex: none;
		width: 100%;
		background-position: center top;
	}

	.cta-buttons > div:nth-child(2) {
		border: none;
		border-top: solid 10px #e5e5e5;
	    border-bottom: solid 10px #e5e5e5;
	}

	.cta-buttons span {
		display: flex;
	}

	.cta-buttons span:after {
		margin-left: 10px;
	}

	.cta-buttons a {
		min-height: 50px;
		padding: 20px 10px;
	}

	.numbercols > div {
		display: block;
		text-align: center;
	}

	.numbercols .number {
		width: 100%;
		text-align:center;
	}

	.related-content .featured {
		display: block;
	}

	.related-content .featured .image {
		width: 100%;
	}

	.related-content .featured .image img {
		width: 100%;
	}

	footer {
		display: block;
	}

	footer .logo {
		margin: 0 auto 30px auto;
	}

	footer .contact-socials {
		display: block;
		text-align:center;
	}

	footer .contact-socials > div {
		display: flex;
		margin: 0;
		justify-content: center;
		padding: 10px 0;
	}

	footer .copyrights p {
		text-align:center;
	}

	footer .logo {
		max-width: 100px;
	}

	.intro-text.alt .rightcol {
		width: 100%;
	}

	.intro-text.alt .icon {
		flex: none;
		width: 50%;
		margin: 0 0 25px 0;
		padding: 15px;
	}

	.blogroll article {
		display: block;
	}

	.blogroll article .image,
	.blogroll article .image img {
		width: 100%; 
	}

	.wp-image-226,
	.related-content .featured .image {
		display: none;
	}

	.video-container .video-thumbs {
		flex-wrap: nowrap;
		overflow-x: scroll;
	}

	.video-container .video-gradient {
		position: relative;
		z-index:1;
	}

	.video-container .video-gradient:before {
		display: block;
		pointer-events: none;
		content: "";
		position: absolute;
		z-index: 5;
		top:0;
		bottom:0;
		right:0;
		width: 100px;
		background: linear-gradient(to right, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); ;
	}

}

@media (max-width:500px) {
	.page-hero h1 {
		font-size: 1.5em;
	}

	.page-hero .overlay p {
		font-size: .9em;
	}

	.videobox {
		width: 40%;
	}

	.market-region {
		display: block;
	}

	.nav-overlay-toggle img {
		width: 30px;
		height: 30px;
	}

	.single-post-area .byline-wrap {
		display: block;
	}

	.single-post-area .byline-wrap .byline {
		margin-bottom: 15px;
	}
}

@media (max-width:400px) {
	.page-hero .overlay p {
		display: none;
	}
}

.navigation li.events{
  width: 50px;
  height: 50px;
  margin-top: -10px;
  text-indent: -9998px;
  background-image: url(https://cbdanforth.com/wp-content/themes/cbd/assets/calendar.gif);
  background-size: cover;
}

.navigation li.events.current-menu-item a{
  border-bottom:none;
}
.menu-item-1108 a{
	width: 50px;
	height: 50px;
}
@media (max-width:800px) {
.menu-item-1108 a{
	width: auto;
	background-image: url(https://cbdanforth.com/wp-content/themes/cbd/assets/calendar.gif);
	background-size: contain;
	background-position: center center;
	background-repeat: no-repeat;
	text-indent: -9998px;
	}
}