
#content {
	border-top: 3px solid rgb(187, 187, 187);
}

#content .agent-content {
	margin-top:6%;
	padding:15px 20px;
	background: rgba(255,255,255,0.6);
	border-radius:12px;
}

.lead {
	font-size: 0.9rem !important;
}

.home-search {
	margin-top:15px;
}

.home-search .btn {
	background-color: #666;
}

.bar-of-power {
	display: none;
}

.agent-header-bg {
	z-index: 1;
}

.agent-title-spacer {
	height:  1px;
	margin:  4% 0;
	display: block;
}

.agent-title {
	font-size:      1.5rem;
	margin:         0 50px 10px 0;
	text-transform: uppercase;
}

.agent-top-search a {
	white-space: nowrap;
}

.agent-links {
	margin: 6% 0 !important;
}

.agent-links a {
	margin: 0 2% 2% 0;
}

.social {
	margin: 15% 0 0 0;
}

li .social {
	margin: 0;
}

.social a {
	padding:         0 !important;
	text-decoration: none !important;
}

.extra-info {
	margin-top: 6px;
}

.extra-info a.btn-block, .agent-address.btm a.btn-block {
	color:#666 !important;
}
.agent-address.btm a.btn-lg {
	margin-top: 10px;
}

.agent-info {
	z-index: 1000;
	margin:  0;
	padding: 0 20px 0 0;
}

.agent-info small {
	font-size: 75% !important;
}

.agent-info .social i {
	font-size: 1.8em !important;
}

.agent-logo, .agent-photo {
	margin-bottom: 5px;
}

.agent-photo.content {
	padding: 0 6% 1% 0;
}

.agent-photo.content img {
	max-width: 100px;
	margin:    5% 0 5% 8%;
}

.agent-photo.contact img {
}

.agent-name {
	margin-bottom: 5px;
}

.agent-address.top {
	padding: 10% 0 8% 2%;
}

.agent-address.btm {
	min-height: 150px;
	margin:     8% 0 2% 0;
}

.agent-address div {
	font-size:   13px;
	white-space: nowrap;
}

.agent-address div:first-child {
	font-size: 15px;
}

.agent-bio-video {
	/*margin: -30px 0 0 20px;*/
}

.agent-name > h1 {
	font-size:   34px;
	font-weight: 400;
	text-shadow: 1px 1px 3px #FFF;
	margin:0 !important;
}

.agent-name > h4 {
	font-size:   26px;
	font-weight: 400;
	text-shadow: 1px 1px 3px #FFF;
	margin:      0;
}

h2 {
	margin: 30px 0 10px 0;
}

.agent-content > .listings {
	margin: 0 -3.7% 4% -3.7%;
	width:  107.5%;
}

.subheader.first {
	margin-top:10% !important;
}

.slider-container.featured {
	padding: 0;
	margin:  0%;
	background-color: transparent;
}

.slider-container.featured h2, .slider-container.featured .slider-content {
	margin-left: 3%;
}

.slider-container .listing-sm {
	min-width: 100px;
	max-width: 200px;
	margin:    0 10px 10px 0;
}

.slider-container .item {
	max-width: 220px !important;
}

.slider-container h2 {
	margin-bottom:  15px !important;
	padding-bottom: 0 !important;
}

.slider-container h2 {
	color: #666 !important;
}

/* Zillow Widget */
#zillow-widget .average {
	margin: 15px 0;
}

#zillow-widget .average .title {
	font-size: 15px;
}

#zillow-widget .average img {
	width:70%
}

#zillow-widget hr {
	margin:     5px 0;
	border:     0;
	border-top: 1px solid #d9edf7;
}

#zillow-widget .review {
	padding:10px;
}

#zillow-widget .review .description {
	font-size:   12px;
	font-weight: normal;
}

#zillow-widget .review .description a {
	text-decoration:none;
	cursor:pointer;
	color:#0093D5;
	font-size:12px;
	font-weight:normal;
}

#zillow-widget .review .reviewer {
	font-size:   10px;
	font-weight: normal;
	color:       #999999;
}

#zillow-widget .review .rating {
	margin-top:5px;
	text-align:left;
}

#zillow-widget .review .rating .stars {
	width: 65px;
	height: 11px;
	vertical-align: text-top;
	border: 0px none;
}

#zillow-widget .review .rating .value {
	float:right;
	margin: 1px 0 0 5px;
	font-size: 10px;
	font-weight: normal;
	color: #666;
}

#zillow-widget .logo {
	margin: 10px 0;
}


/* Media queries */

@media (max-width: 1199px) {

	.agent-listings {
		margin: 4% -7% 0 -7%;
		width:  113.5%;
	}

	.agent-top-search {
		top:   5%;
		right: 5%;
	}

	/*.slider-container.featured {
		padding-left: 20px;
	}*/
}

@media (max-width: 991px) {

	.agent-title {
		display:     block;
		margin-left: 0;
		font-size: 21px !important;
	}

	.agent-name > h1 {
		font-size: 42px !important;
	}

	.agent-listings {
		margin: 4% -7% 0 -7%;
		width:  113.5%;
	}

	.agent-top-search {
		top:   1%;
		right: 5%;
	}

	.slider-container.featured {
		background: none;
	}

	.slider-container.featured h2 {
		margin-left: 18px;
	}

	.agent-links .btn {
		margin: 0.6rem 0.3rem !important;
	}
}

@media (max-width: 767px) {

	.home-search {
		top:0;
		right:0;
		position:absolute;
	}

	.agent-name > h1 {
		font-size: 36px !important;
	}

	.agent-name > h4 {
		font-size: 18px !important;
	}

	#content, #container {
		margin:  0;
		padding: 1rem;
	}

	.agent-info img {
		width: 120px;
	}

	.agent-info .share-pages, .agent-info .share-pages-container {
		margin:  0 !important;
		padding: 0 !important;
		float:   right;
	}

	.agent-listings {
		margin-left:  0;
		margin-right: 0;
	}
}

@media (max-width: 400px) {

	.home-search {
		margin-top:0;
		top:-20px;
		right:0;
		position:absolute;
	}

	.home-search .btn {
		font-size: 120%;
		padding:4px 6px;
	}

	.agent-name > h1 {
		font-size: 28px !important;
	}
}