/* ==========================================================================
   General
/* ========================================================================== */


a {
	color: #08154a;
	text-decoration: none;
	transition: .2s;
}

a:hover {
	color: #d51635;
	text-decoration: none;
}

p {
	margin:0 0 15px;
	padding:0;
}

h1 {
	margin: 0 0 30px;
}

h2, h3 {
	margin: 0 0 20px;
}

a.btn {
	text-decoration:none;
}

.alignleft {
	float:left;
	margin:0 20px 10px 0;
}

.alignright {
	float:right;
	margin:0 0 10px 20px;
}

img.aligncenter {
	display: block;
	margin: auto;
}

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

img, iframe {
	max-width:100%;
}


/* ==========================================================================
   Layout
/* ========================================================================== */

body {
	color: #333;
	padding: 0;
	margin: 0;
	font-weight: 400;
	font-size: 16px;
	font-family: 'Roboto', sans-serif;
}

body.scrolled {
	margin: 211px 0 0;
}


/* ==========================================================================
   Header
/* ========================================================================== */

#fixed-header.scrolled {
	position: fixed;
	width: 100%;
	height: auto;
	transition: .4s;
	z-index: 900;
	left: 0;
	top: 0;
	background: #fff;
	box-shadow: 0 10px 60px rgba(0,0,0,0.4);
}



.top-wrapper {
	background: #08154a;
	color: #fff;
	line-height: 40px;
	font-weight: 300;
}

.header-wrapper {
	position: relative;
	background: #fff;
}

.header-right {
	text-align: right;
}

#logo {
	width: 100%;
	max-width: 200px;
	margin: 10px 0;
	transition: .4s;
}


.social {
	display: inline-block;
}

.social a {
	color: #fff;
	margin-left: 5px;
	font-size: 18px;
}

.social a:hover {
	color: #d51635;
}

.header-phone {
	margin-left: 20px;
	display: inline-block;
}



/* ==========================================================================
   Navigation
/* ========================================================================== */

/*#nav-icon {
	width: 30px;
	position: absolute;
	left: 30px;
	top: 50%;
	margin-top: -10px;
	cursor: pointer;
	z-index: 900;
	transition: .4s;
}



#nav-container {
	position: fixed;
	left: -300px;
	top: 0;
	height: 100%;
	background: #333;
	z-index: 999;
	width: 300px;
}

#nav-top {
	padding: 20px;
	color: #fff;
}

#nav-head {
	padding-bottom: 20px;
	font-size: 20px;
	border-bottom: 1px solid #444;
}

#nav-close {
	position: absolute;
	top: 10px;
	right: 15px;
	cursor: pointer;
}*/

#nav-wrapper {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: flex-end;
}

.main-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}

.main-menu li {
	position: relative;
}

.main-menu li a {
	display: block;
	padding: 0 15px;
	line-height: 30px;
	text-decoration: none;
	color: #333;
	font-size: 14px;
	text-transform: uppercase;
}

.main-menu li.btn-nav a:hover,
.main-menu li a:hover {
	color: #d51635;
}

.main-menu li.btn-nav a {
    margin-left: 15px;
	background-image:-webkit-linear-gradient(rgba(0,0,0,0),rgba(0,0,0,.1) 50%,rgba(0,0,0,.1));
	background-image:-o-linear-gradient(rgba(0,0,0,0),rgba(0,0,0,.1) 50%,rgba(0,0,0,.1));
	background-image:linear-gradient(rgba(0,0,0,0),rgba(0,0,0,.1) 50%,rgba(0,0,0,.1));
	border-radius:5px;
	background-color: #08154a; 
	color: #fff;
	font-size: 13px;
	padding: 5px 18px;
}

.main-menu li ul {
	display: none;
	position: absolute;
	left: 0;
	top: 100%;
	min-width: 100%;
	background: #fff;
	margin: 0;
	padding: 10px 0;
	list-style: none;
	z-index: 999;
}

.main-menu li ul li a {
	white-space: nowrap;
	font-size: 13px;
}

/* ==========================================================================
   Home
/* ========================================================================== */

.slides {
	padding-top: 50%;
}

.slide-overlay {
	position: relative;
	padding: 0 0 20px;
	z-index: 700;
	color: #fff;
}

.slide-overlay img {
	margin-bottom: 280px;
}

.slide {
	width: 100%;
	height: 100%;
	background-position: center;
	background-size: cover;
}


.btn-home {
	position: relative; 
	display: inline-block; 
	padding: 30px 20px 20px; 
	border: 1px solid #ccc; 
	background: #f3f3f3; 
	margin: 0 20px 30px; 
	font-weight: bold; 
	border-radius: 4px; 
	font-size: 13px; 
	text-align: center;
}

.btn-home i {
	background: #d51635; 
	color: #fff; 
	border-radius: 50%; 
	width: 40px; 
	height: 40px; 
	position: absolute; 
	left: 50%; 
	top: -20px; 
	margin-left: -20px; 
	line-height: 40px; 
	text-align: center;
}




#featured-wrapper {
	position: relative;
	border-top: 10px solid #08154a;
	padding: 80px 0;
	background: url(../img/featured-bg.jpg) center/cover fixed;
	text-align: center;
	color: #fff;
}

#featured {
	position: relative;
	z-index: 2;
}

#featured li {
	height: 180px;
	border: 3px solid #ccc;
	background-size: cover;
	background-position: center;
}

#featured li a {
	display: block;
	width: 100%;
	height: 100%;
	white-space: nowrap;
	overflow: hidden;
	text-indent: 150%;
}

#featured-bottom {
	margin-top: 30px;
}

#featured-bottom a {
	font-size: 18px;
	color: #fff;
}


#services-wrapper {
	background: #f3f3f3;
}


#location-wrapper {
	position: relative;
	padding-top: 30%;
}

#location-wrapper iframe {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
}



a.btn-service {
	display: block;
	background: #fff;
	padding: 30px;
	text-transform: uppercase;
	text-align: center;
	color: #08154a;
	transition: .5s;
}

a.btn-service:hover {
	margin-top: -10px;
	box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

a.btn-service img {
	width: 50px;
	margin-bottom: 10px;
}

a.btn-service h3 {
	margin: 0;
	font-size: 20px;
	font-family: 'Roboto Condensed', serif;
	color: #08154a;
	transition: .5s;
}

a.btn-service:hover h3 {
	color: #d51635;
}


#partnership-wrapper {
	position: relative;
	padding: 80px 0;
	background: url(../img/partnership-bg.jpg) center/cover fixed;
	text-align: center;
	color: #fff;
}

a.btn-partnership {
	display: inline-block;
	margin: 0 10px;
	padding: 10px 20px;
	text-transform: uppercase;
	background: #fff;
	border: 2px solid #08154a;
	color: #08154a;
	font-family: 'Roboto Condensed', serif;
	transition: .5s;
}

a.btn-partnership:hover {
	background: #d51635;
	color: #fff;
	border: 2px solid #fff;
}



#featured-wrapper h2,
#partnership-wrapper h2,
#clients-wrapper h2 {
	text-align: center;
	text-transform: uppercase;
	color: #fff;
	font-weight: 300;
	font-size: 36px;
	font-family: 'Roboto Condensed', serif;
}


#featured-wrapper::before,
#partnership-wrapper::before,
#clients-wrapper::before {
	position: absolute;
	content: '';
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient( rgba(29, 34, 38, .7), transparent 100% );
}



/* ==========================================================================
   Content / Backend
/* ========================================================================== */

.content-wrapper {
	border-top: 8px solid #4d6370;
}

.content {
	padding-top: 40px;
	padding-bottom: 40px;
}

.content h1 {
	
}

.community-photo {
	padding-top: 80%;
	position: relative;
	border: 5px solid #eee;
	background-size: cover;
	background-position: center;
}

.community-photo a,
.property-photo a {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	white-space: nowrap;
	text-indent: 150%;
	overflow: hidden;
}

.community-name {
	line-height: 30px;
	font-weight: bold;
	text-align: center;
}

.community-photos img {
	width: 114px;
	height: 114px;
	border: 5px solid #eee;
}

.property {
	background: #eee;
}

.property-photo {
	position: absolute;
	left: 15px;
	top: 0;
	right: 0;
	bottom: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.property-details {
	background: #eee;
	padding-right: 15px;
}

.property-details h3 {
	font-size: 22px;
	margin: 15px 0 0;
}



/* ==========================================================================
   Posts
/* ========================================================================== */

.blog article,
.category article,
.archive article,
.search article {
	margin-bottom:30px;
	padding-bottom:30px;
	border-bottom:1px dotted #aaa;
}

.page .entry-content,
.blog .entry-content,
.category .entry-content,
.archive .entry-content,
.search .entry-content,
.single .entry-content {
	margin-top:20px;
	word-wrap: break-word;
}

.entry-content img { height: auto; }

h1.page-title {
	margin: 0;
	color: #08154a;
	font-size: 40px;
	word-wrap: break-word;
	font-family: 'Roboto Condensed', sans-serif;
	text-transform: uppercase;
}

h2.single-title {
	margin:0 0 15px;
}

h2.single-title a {
	text-decoration:none;
}

.main-col,
.main-col-blog {
	float:left;
	width:74%;
	padding-right:4%;
	border-right:1px dotted #aaa;
}

.main-col-blog {
	width:64%;
}

.post-meta {
	font-size:14px;
	font-style:italic;
}

.main-col .article-footer {
	padding-top:30px;
	font-size:12px;
	border-top:1px dotted #eaeaea;
}

/* Sidebar */


.sidebar {
	float:right;
	width:22%;
}

.sidebar-blog {
	float:right;
	width:32%;
}

.sidebar-blog h2.widget-title {
	margin:0 0 20px 0;
	line-height:40px;
	font-size:22px;
}

.widget_archive label, .widget_search label span {
	display:none;
}

.main-sidebar {
	float:right;
	width:34%;
}

#idx_detail_mainpic {
	width: 62%;
}

.sidebar-nav {
	margin:0;
	padding:0;
	list-style:none;
}

.sidebar-nav li {
}

.sidebar-nav li a {
	display:block;
	padding:0 10px;
	margin-bottom:5px;
	line-height:30px;
	background:#f9f9f9;
}

.sidebar-nav li ul {
	margin:0;
	padding:0;
	list-style:none;
}

.sidebar-nav li ul li a {
	line-height:25px;
	padding:0 25px;
	background:#fcfcfc;
}

.sidebar .search-field.form-control, .sidebar label { width: 100% !important; }


/* Pagination */

.pagination {
	margin-top:20px;
}

.pagination ul {
	margin:0;
	padding:0;
	list-style:none;
	font-size:14px;
}

.pagination li {
	float:left;
}

.pagination li span,
.pagination li a {
	display:block;
	padding:5px 10px;
	margin-right:2px;
	background:#e2e2e2;
	text-decoration:none;
}

.pagination li span {
	background:#f3f3f3;
}

.pagination .next,
.pagination .prev {
	position:relative;
	top:auto;
	margin:0 2px 0 0;
	right:auto;
	left:auto;
}


/* ==========================================================================
   Forms
/* ========================================================================== */

.form-container {
	width:400px;
}


.form-group {
	margin-bottom:5px;
}

.error {
	color:#c00;
}
.success {
	color:#090;
}

.wpcf7 br {
	display: none;
}

span.wpcf7-list-item {
	display: block;
	margin:0 0 5px;
}

/* ==========================================================================
   Footer
/* ========================================================================== */

.footer-wrapper {
	padding: 40px 0;
	background: #08154a;
	color: #fff;
	font-size: 14px;
}

.footer a {
	color: #fff;
}

.footer i {
	color: #d51635;
	margin-right: 5px;
	font-size: 18px;
}

.footer-head {
	font-size: 18px;
}

.footer-sep {
	height: 0;
	border-top: 1px solid rgba(255,255,255,0.3);
}

.base {
	font-size: 12px;
}

.base img {
	float: right;
	height: 50px;
}

/* Quick Contact */

#qc {
	position:absolute;
	left:-300px;
	top:250px;
	width:300px;
	padding:20px;
	color:#fff;
	background:rgba(4,20,74,0.90);
	z-index:800;
}

#qc h2 {
	margin:0 0 20px;
	text-transform:uppercase;
	font-size:20px;
	color:#fff;
}

#qc-form p {
	font-size:12px;
}

#qc-msg {
	margin-top:10px;
	font-size:12px;
	color:#900;
}

#qc-btn {
	position:absolute;
	top:0;
	right:-70px;
	width:70px;
	height:121px;
	background:url(../img/contact-btn.png);
	cursor:pointer;
}


.contact-close-btn {
	position:absolute;
	top:0;
	right:0;
	width:20px;
	height:20px;
	text-align:center;
	color:#fff;
	line-height:20px;
}

.contact-close-btn:hover {
	color:#333;
}


/* ==========================================================================
   Helpers
/* ========================================================================== */


.cf:before,
.cf:after {
    content: " ";
    display: table;
}

.cf:after {
    clear: both;
}

.cf {
    *zoom: 1;
}

.placeholder {
  color: #aaa;
}

/* ==========================================================================
   Responsive
/* ========================================================================== */

@media (max-width: 1200px) {
	.nav li a { font-size: 14px; padding: 0 10px; }
    .btn-header-right { display: inline-block; }
}

@media (max-width: 992px) {
    #nav-wrapper { margin-bottom: 20px; justify-content: center; }
	.header-right {	text-align: center;	}
	#hero { margin: 0; }
	#idx_quick_search_mls_form { width: 100%; float: none; }
	#idx_quick_search_advanced { float: none; margin: 20px 0 0; width: 100%; }
	.btn-header { padding: 10px 15px; font-size: 12px; }
	.btn-home { width: 40%; }
}
	
@media (max-width: 767px) {
    .main-menu li a { font-size: 12px !important; }
	.header-wrapper { text-align: center; }
	#logo { width: 80%; }
	#qs-icon { display: none; }
	.static-overlay { display: none; }
	.bio-overlay { display: none; }
	.bio-mobile-click { display: block; }
	.idx_quick_search_col { float: none; width: 100%; margin: 0 0 10px; }
	.form-control { display: inline-block; }
	img.alignleft, img.alignright { display: block; float: none; margin: 0 0 20px !important; }
	.base img { float: none; display: block; margin: 0 0 10px; }
	.agent-tabs-nav-wrapper ul li a { font-size: 12px; padding: 0 10px; line-height: 40px; }
	.btn-header { padding: 5px 10px; font-size: 10px; }
	.btn-home { width: 40%; padding: 30px 15px 20px }
	.property-photo-wrapper { height: 200px; }
	.property-photo { right: 15px; }
	.property-details { padding-left: 15px; }
}

@media (min-width: 576px) {
    .slicknav_menu { display: none; }
}

@media (max-width: 576px) {
    #nav-wrapper { display: none; }
	#nav-icon { left: 20px;  }
	#qc { display: none; }
	.btn-header { display: none; }
	.btn-home { width: 100%; margin: 0 0 40px; }
}