/*
 * Globals
 */

body {
	font-family: Arial, Helvetica, sans-serif;
  color: #000;
}

h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4,
h5, .h5,
h6, .h6 {
  margin-top: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: normal;
  color: #333;
}

h1, .h1 {
	color: #14BDD6;
}

h2, .h2 {
	color: #075F87;
}

.vp-adholder {
	display: block;
	margin: 0 auto 10px auto;
}
.vp-leaderboard {
	float: left;
	padding-left: 10px;
}
.vp-hrpo-promo {
	float: right;
	padding-right: 10px;
}

.container {
  background-color: #fff;
}

#realestate-logo {
	padding: 0.5em 0 1em 0;
	margin: 0 auto;
	width: 100%;
	max-width: 820px;
}

.jumbotron.vp-find-home {
	background: #f5f5f5;
	margin: 0.5em 0;
	padding: 10px;
}

.homepage-tab {
	margin: 0.5em;
	padding: 0;
	background-size: 100%;
}

.homepage-tab.tab-forsale {
	background: transparent url('../img/tabs/forsale.jpg') 0 50% no-repeat;
}
.homepage-tab.tab-forrent {
	background: transparent url('../img/tabs/forrent.jpg') 0 50% no-repeat;
}
.homepage-tab.tab-classifieds {
	background: transparent url('../img/tabs/classifieds.jpg') 0 50% no-repeat;
}

.row-centered {
	text-align: center;
}
.col-centered {
  display:inline-block;
  float:none;
  text-align:left;
  margin-right:-4px;
}

.text-wrap {
	-ms-word-break: break-all;
	
	     /* Be VERY careful with this, breaks normal words wh_erever */
	     word-break: break-all;
	
	     /* Non standard for webkit */
	     word-break: break-word;
	
	-webkit-hyphens: auto;
	   -moz-hyphens: auto;
	        hyphens: auto;
}
.disclaimer blockquote {
	border: 5px solid #eee;
	color: #555;
}

.disclaimer img {
	width: 80px;
	float: left;
	padding: 0 0.5em 0 0;
}

.vp-find-home .nav-tabs {
    border-bottom: none;
}

.fade {
  opacity: 0;
  -webkit-transition: opacity 0.75s linear;
  -o-transition: opacity 0.75s linear;
  transition: opacity 0.75s linear;
}

#search-sale .enclosure_widget {
	border: 1px solid #a8bdcf;
	background-color: #d8e3ec;
	padding:  20px;
}

#search-rent .enclosure_widget {
	border: 1px solid #d7d2bd;
	background-color: #eeebde;
	padding:  20px;
}

/*
 * Override Bootstrap's default container.
 */

@media (min-width: 1200px) {
  .container {
    width: 990px;
  }
}


/*
 * Masthead for nav
 */

.vp-masthead {
  background-color: #428bca;
  -webkit-box-shadow: inset 0 -2px 5px rgba(0,0,0,.1);
          box-shadow: inset 0 -2px 5px rgba(0,0,0,.1);
}

/*
 * Tabs
 */
 
 .nav-tabs > li > a {
   border-color: #999;
   background: -webkit-linear-gradient(top, rgb(229, 229, 229) 0%, rgb(215, 215, 215) 100%) #428bca;
 	 background: linear-gradient(to bottom, rgb(229, 229, 229) 0%, rgb(215, 215, 215) 100%) #428bca;
 	 border-bottom: none;
 }
 
.nav-tabs > li > a:hover {
  border-color: #666;
  background: -webkit-linear-gradient(top, rgb(210, 210, 210) 0%, rgb(174, 174, 174) 100%) #428bca;
	background: linear-gradient(to bottom, rgb(210, 210, 210) 0%, rgb(174, 174, 174) 100%) #428bca;
	border-bottom: none;
}

.nav-tabs > li.active > a, 
.nav-tabs > li.active > a:hover, 
.nav-tabs > li.active > a:focus {
  color: #d4ecfb;
	background: -webkit-linear-gradient(top, rgb(7, 94, 135) 0%, rgb(5, 66, 95) 100%) #428bca;
	background: linear-gradient(to bottom, rgb(7, 94, 135) 0%, rgb(5, 66, 95) 100%) #428bca;
	border: none;
    -moz-border-top-colors: none;
    -moz-border-right-colors: none;
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    border-image: none;
    cursor: default;
}

.nav-tabs > li.active > a:hover {
	color: #fff;
	background: -webkit-linear-gradient(top, rgb(22, 120, 166) 0%, rgb(10, 79, 112) 100%) #428bca;
	background: linear-gradient(to bottom, rgb(22, 120, 166) 0%, rgb(10, 79, 112) 100%) #428bca;
}

.tab-pane h2 {
	padding-top: 10px;
}

/*
 * Nav Bar
 */

#vp-header-menu.navbar-default .navbar-brand {
    color: rgba(24, 73, 119, 1);
}
#vp-header-menu.navbar-default {
    font-size: 15px;
    background-color: rgba(245, 248, 250, 1);
    background: -webkit-linear-gradient(top, rgba(234, 236, 242, 1) 0%, rgba(245, 248, 250, 1) 100%);
    background: linear-gradient(to bottom, rgba(234, 236, 242, 1) 0%, rgba(245, 248, 250, 1) 100%);
    border-width: 1px;
    border-radius: 0px;
}
#vp-header-menu.navbar-default .navbar-nav>li>a {
    color: rgba(0, 114, 172, 1);
    background-color: rgba(248, 248, 248, 0);
}
#vp-header-menu.navbar-default .navbar-nav>li>a:hover,
#vp-header-menu.navbar-default .navbar-nav>li>a:focus {
    color: rgba(242, 242, 242, 1);
    background-color: rgba(24, 73, 119, 1);
}
#vp-header-menu.navbar-default .navbar-nav>.active>a,
#vp-header-menu.navbar-default .navbar-nav>.active>a:hover,
#vp-header-menu.navbar-default .navbar-nav>.active>a:focus {
    color: rgba(3, 0, 59, 1);
    background-color: rgba(215, 229, 245, 1);
}
#vp-header-menu.navbar-default .navbar-toggle {
    border-color: #d7e5f5;
}
#vp-header-menu.navbar-default .navbar-toggle:hover,
#vp-header-menu.navbar-default .navbar-toggle:focus {
    background-color: #d7e5f5;
}
#vp-header-menu.navbar-default .navbar-toggle .icon-bar {
    background-color: #d7e5f5;
}
#vp-header-menu.navbar-default .navbar-toggle:hover .icon-bar,
#vp-header-menu.navbar-default .navbar-toggle:focus .icon-bar {
    background-color: #f5f8fa;
}


@media (max-width: 767px) {
	.vp-header .navbar-default .navbar-nav .open .dropdown-menu > li > a {
		color: rgba(0, 114, 172, 1);
	}
	.vp-header .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover, 
	.vp-header .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
		color: rgba(0, 114, 172, 1);
	}
	
	.vp-header .navbar-default .navbar-nav .open .dropdown-menu > li > a.vp-sub-header {
		color: #c00;
	}
	
	
	.vp-header .navbar-default .navbar-nav .open .dropdown-menu > .active > a, 
	.vp-header .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover, 
	.vp-header .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {
		color: #ecdbff;
		background-color: #0096ff;
	}
	
	.vp-adholder,
	.vp-leaderboard {
	  padding-left: 1px;
	}
	
}

@media (max-width: 670px) {
	.sidebar-module:nth-child(1),
	.sidebar-module:nth-child(3) {
		width: 300px;
		padding-left: 0;
		margin-left: -5px;
	}
}

.dropdown-menu > li > a.vp-sub-header {
	color: #c00;
	font-weight: bold;
 }

.vp-nav-item {
  position: relative;
  display: inline-block;
  padding: 10px;
  font-weight: 500;
  color: #cdddeb;
}
.vp-nav-item:hover,
.vp-nav-item:focus {
  color: #fff;
  text-decoration: none;
}

/* Active state gets a caret at the bottom */
.vp-nav .active {
  color: #fff;
}
.vp-nav .active:after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 0;
  margin-left: -5px;
  vertical-align: middle;
  content: " ";
  border-right: 5px solid transparent;
  border-bottom: 5px solid;
  border-left: 5px solid transparent;
}


/*
 * Blog name and description
 */

.vp-header {
  padding-top: 20px;
  padding-bottom: 0;
}
.vp-title {
  margin-top: 30px;
  margin-bottom: 0;
  font-size: 60px;
  font-weight: normal;
}
.vp-description {
  font-size: 20px;
  color: #999;
}


/*
 * Main column and sidebar layout
 */

.vp-main {
  font-size: 18px;
  line-height: 1.5;
}
.vp-sidebar {
	vertical-align: top;
}

/* Sidebar modules for boxing content */
.sidebar-module {
  padding: 15px;
 /* margin: 0 -15px 15px; */
}
.sidebar-module:nth-child(1) {
	padding-top: 4px;
}
.sidebar-module-inset {
  padding: 15px;
  background-color: #f5f5f5;
  border-radius: 4px;
}
.sidebar-module-inset p:last-child,
.sidebar-module-inset ul:last-child,
.sidebar-module-inset ol:last-child {
  margin-bottom: 0;
}


/* Pagination */
.pager {
  margin-bottom: 60px;
  text-align: left;
}
.pager > li > a {
  width: 140px;
  padding: 10px 20px;
  text-align: center;
  border-radius: 30px;
}


/*
 * Blog posts
 */

.vp-post {
  margin-bottom: 60px;
}
.vp-post-title {
  margin-bottom: 5px;
  font-size: 40px;
}
.vp-post-meta {
  margin-bottom: 20px;
  color: #999;
}


/*
 * Footer
 */

.vp-footer {
  padding: 40px 0;
  color: #999;
  text-align: center;
  background-color: #f9f9f9;
  border-top: 1px solid #e5e5e5;
}
.vp-footer p:last-child {
  margin-bottom: 0;
}





.enclosure_widget { background:rgba(0, 0, 0, 0.0) !important; }
 #search, #featured, #openhouses, #agents { 
  	padding: 4px;
		border: solid 2px lightgrey; 
		-webkit-border-radius: 6px;
		-moz-border-radius: 6px;
		border-radius: 6px;
		/* gradient background */
		background: #ffffff; /* Old browsers */
		/* IE9 SVG, needs conditional override of 'filter' to 'none' */
		background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNlNWU1ZTUiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
		background: -moz-linear-gradient(top,  #e5e5e5 0%, #fff 100%); /* FF3.6+ */
		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fff), color-stop(100%,#fff)); /* Chrome,Safari4+ */
		background: -webkit-linear-gradient(top,  #e5e5e5 0%,#fff 100%); /* Chrome10+,Safari5.1+ */
		background: -o-linear-gradient(top,  #e5e5e5 0%,#fff 100%); /* Opera 11.10+ */
		background: -ms-linear-gradient(top,  #e5e5e5 0%,#fff 100%); /* IE10+ */
		background: linear-gradient(to bottom,  #e5e5e5 0%,#fff 100%); /* W3C */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e5e5e5',GradientType=0 ); /* IE6-8 */
	}
	.agent_details_branding {display:none !important;}
	/*
	#search { width: 640px; }
	#featured { width: 640px; }
	#openhouses { width: 300px; }
	#agents { width: 450px; }
*/
