/*
* === GLOBAL STYLES ===
*/

*, *:before, *:after {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

html, body {
	height: 100%;
}

html {
	overflow-y: scroll;
}

body {
	/* background-color: #f1f0f0; */
}

article, aside, figure, footer, header, hgroup,
menu, nav, section { display: block; }

a {
	cursor: pointer;
}

img {
	max-width: 100%;
	vertical-align: bottom;
	-ms-interpolation-mode: bicubic;
}

hr {
	margin: 0 0 0.5em 0;
}



/*
* === CUSTOM CLASSES ===
*/

/*
* — Form Styling —
*/

::-webkit-input-placeholder {
   color: #aaa !important;
   font-weight: bold;
}

:-moz-placeholder { /* Firefox 18- */
   color: #aaa !important;
   font-weight: bold;
}

::-moz-placeholder {  /* Firefox 19+ */
   color: #aaa !important;
   font-weight: bold;
}

:-ms-input-placeholder {  
   color: #aaa !important;
   font-weight: bold;
}

input { font-family: 'FontAwesome', 'Lato', sans-serif; } /* This is for the placeholder */

input.form-control,
input-group input.form-control,
input.form-control:focus,
input.form-control:active,
textarea.form-control,
textarea.form-control:focus,
textarea.form-control:active {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

	border: 0;
	border-radius: 7px !important;
	box-shadow:     0px -1px 5px rgba(0,0,0,.05),
	                0px 1px 5px rgba(0,0,0,.05),
	                1px 0px 5px rgba(0,0,0,.05),
	                -1px 0px 5px rgba(0,0,0,.05);
}

.input-group .input-group-btn .btn {
	margin-left: 10px;
}

.input-group .input-group-btn .btn {
	border-radius: 7px !important;
}

.has-feedback .form-control-feedback {
    top: 25px;
    right: 0;
}

.form-horizontal .has-feedback .form-control-feedback {
    top: 14px;
    right: 15px;
}

.ui-autocomplete {
    max-height: 90%;
    max-width: 100%;
    /* max-width: 150px; */
    overflow-y: auto;
    /* prevent horizontal scrollbar */
    overflow-x: hidden;
    /* add padding to account for vertical scrollbar */
    /* padding-right: 20px; */
    z-index:9999 !important;
}
/* IE 6 doesn't support max-height
 * we use height instead, but this forces the menu to always be this tall
 */
* html .ui-autocomplete {
    height: 100px;
}

ul.ui-autocomplete.ui-menu li {
    background: #fff;
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    padding: 0 .5em;
    white-space: nowrap;
}

ul.ui-autocomplete.ui-menu li.ui-menu-item:hover,
ul.ui-autocomplete.ui-menu li.ui-menu-item:active,
ul.ui-autocomplete.ui-menu li.ui-menu-item:focus,
ul.ui-autocomplete.ui-menu li.ui-menu-item.ui-state-focus {
    background: #eee;
    border-color: #f3f9fe;
    color: #000;
    font-weight: 300;
}

/* .autosuggest-table {
    border-bottom: 1px solid #eee;
    display: table;
    padding: .5em 0;
    width: 100%;
} */

ul.ui-autocomplete.ui-menu li.ui-menu-item.disabled:hover,
ul.ui-autocomplete.ui-menu li.ui-menu-item.disabled:active,
ul.ui-autocomplete.ui-menu li.ui-menu-item.disabled:focus,
ul.ui-autocomplete.ui-menu li.ui-menu-item.disabled.ui-state-focus {
    background: #fff;
}

.autosuggest-header {
	border-top: 1px solid #CDCBCC;
	font-size: 18px;
	font-weight: 500;
	line-height: 25px;
	padding: .7em 0 .3em 0;
}

.autosuggest-header i {
	color: #9B9B9B;
	font-size: 22px;
	padding: 0 23px 0 10px;
}

.autosuggest-row {
    /* border-bottom: 1px solid #eee; */
    margin: 0 0 0 40px;
    padding: .7em 0;
    /* display: table-row; */
}

.autosuggest-cell {
    display: inline-block;
    /* display: table-cell; */
    vertical-align: top;
}

.autosuggest-cell:first-child {
    padding-right: 10px;
}

/* .autosuggest-name {
    font-size: 13px;
} */

.autosuggest-thumb {
    width: 75px;
}


/* multiselect */
.multiselect-container>.active>a {
	background-color: #2c3e50 !important;
}

.multiselect {
	text-transform: none !important;
}



@media (min-width: 1px) {
	body {
		min-width: 320px;
	}
}


/*-------------------------
	General Styles
--------------------------*/
a, a:focus {
	color: #555;
	/* color: rgba(39,141,209,.8); */
}

a:hover, a:focus {
	color: #000;
	text-decoration: none;
}


/*-----------------------------------
	Navigation Bar Styles
------------------------------------*/

.navbar {
	/* padding: 10px 0; */
	background-color: rgba(255, 255, 255, 0.9);
	margin-bottom: 0;
	/* box-shadow: 0px 3px 3px rgba(0,0,0,0.1); */
	/* border-bottom: 1px solid #ecf0f1; */
}

.navbar .container {
	padding-right: 0;
	padding-left: 0;
	position: relative;
}

.container > .navbar-header {
	margin-right: 0;
	margin-left: 0;
}

.navbar .container-fluid {
	margin-top: 0;
}

.navbar-header {
	padding: 3px 0;
	/* padding: 18px 0; */
	/*transition:padding 0.4s;*/
}

.navbar-header a {
	color: #fff;
	font-family: 'Fontdiner Swanky', cursive;
	/* font-family: 'Architects Daughter', sans-serif; 
	font-size: 4.5em;*/
	text-decoration: none;
	/*text-shadow: 2px 4px 3px rgba(0,0,0,0.3);*/
	text-shadow: -2px 0 black, 0 2px black, 2px 0 black, 0 -2px black;
}

.navbar-header img {
	font-size: 0;
	vertical-align: middle;
	/*width: 265px;*/
}

.navbar #header-search {
	/* float: right; */
	padding: 25px 0 0 40px;
	position: absolute;
	left: 350px;
}

.navbar #header-search .fa-search {
	color: #3d80fb;
	display: inline-block;
	font-size: 15px;
	margin-right: 3px;
}

.navbar #header-search-query {
	background: transparent url('/images/search.png') no-repeat 10px center;
	background-size: 17px;
	height: 37px;
	margin-top: -2px;
	overflow: visible;
	padding-left: 35px;
	width: 315px;
}

/* Contract the navbar while scrolling */

.navbar.scrolled{
	/* box-shadow: 0px 3px 3px rgba(0,0,0,0.3);*/
	/* padding: 2px 0; */
}

/*
.navbar.scrolled .navbar-header {
	padding: 0;
}

.navbar-town-name {
	position: absolute;
	left: 162px;
	top: 68px;
}

.navbar-town-name.scrolled {
	top: 64px;
}
*/

#header-navigation {
	position: fixed;
	width: 100%;
	background: #fff;
	top: 0;
	z-index: 9999;
}

#header-search-query {
	box-shadow:     0px -1px 5px rgba(0,0,0,.03),
        0px 1px 5px rgba(0,0,0,.03),
        1px 0px 5px rgba(0,0,0,.03),
        -1px 0px 5px rgba(0,0,0,.03);
}

.navbar-town-name h3 {
	font-size: 1.55em;
	color: #ef8320;
	font-weight: 600;
}

#myNavbar {
	overflow-x: hidden;
}

#myNavbar ul {
	/*
	position: absolute;
	top: 0;
	right: 30px;
	*/
	position: relative;
	/* background: rgb(15,57,96); /* Old browsers */
	
	/* blue background */
	/* background: -moz-linear-gradient(top,  rgba(222,118,59,1) 0%, rgba(221,107,46,1) 100%); /* FF3.6+ */
	/* background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(222,118,59,1)), color-stop(100%,rgba(221,107,46,1))); /* Chrome,Safari4+ */
	/* background: -webkit-linear-gradient(top,  rgba(222,118,59,1) 0%,rgba(221,107,46,1) 100%); /* Chrome10+,Safari5.1+ */
	/* background: -o-linear-gradient(top,  rgba(222,118,59,1) 0%,rgba(221,107,46,1) 100%); /* Opera 11.10+ */
	/* background: -ms-linear-gradient(top,  rgba(222,118,59,1) 0%,rgba(221,107,46,1) 100%); /* IE10+ */
	/* background: linear-gradient(to bottom,  rgba(222,118,59,1) 0%,rgba(221,107,46,1) 100%); /* W3C */
	/* filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#de763b', endColorstr='#dd6b2e',GradientType=0 ); /* IE6-9 */
	
	/* brown background */
	/*background: -moz-linear-gradient(top,  rgba(141,115,108,0.9) 0%, rgba(141,115,108,0.9) 100%); /* FF3.6+ */
	/*background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(141,115,108,0.9)), color-stop(100%,rgba(141,115,108,0.9))); /* Chrome,Safari4+ */
	/*background: -webkit-linear-gradient(top,  rgba(141,115,108,0.9) 0%,rgba(141,115,108,0.9) 100%); /* Chrome10+,Safari5.1+ */
	/*background: -o-linear-gradient(top,  rgba(141,115,108,0.9) 0%,rgba(141,115,108,0.9) 100%); /* Opera 11.10+ */
	/*background: -ms-linear-gradient(top,  rgba(141,115,108,0.9) 0%,rgba(141,115,108,0.9) 100%); /* IE10+ */
	/*background: linear-gradient(to bottom,  rgba(141,115,108,0.9) 0%,rgba(141,115,108,0.9) 100%); /* W3C */
	/*filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#8d736c', endColorstr='#8d736c',GradientType=0 ); /* IE6-9 */
	


	/* -webkit-border-bottom-right-radius: 7px;
	-webkit-border-bottom-left-radius: 7px;
	-moz-border-radius-bottomright: 7px;
	-moz-border-radius-bottomleft: 7px;
	border-bottom-right-radius: 7px;
	border-bottom-left-radius: 7px;
	-webkit-box-shadow: 0px 1px 7px 0px rgba(50, 50, 50, 0.5),
						1px 0 7px 0px rgba(50, 50, 50, 0.5),
						-1px 0 7px 0px rgba(50, 50, 50, 0.5);
	-moz-box-shadow:    0px 1px 7px 0px rgba(50, 50, 50, 0.5),
						1px 0 7px 0px rgba(50, 50, 50, 0.5),
						-1px 0 7px 0px rgba(50, 50, 50, 0.5);
	box-shadow:         0px 1px 7px 0px rgba(50, 50, 50, 0.5),
						1px 0 7px 0px rgba(50, 50, 50, 0.5),
						-1px 0 7px 0px rgba(50, 50, 50, 0.5);
	border-left: 1px solid #000;
	border-right: 1px solid #000;
	border-bottom: 1px solid #000; */
}

#myNavbar ul li a {
	/* background-color: #9ea2a3; */
	/* background: #257d89; */
	color: #3d80fb;
	/* color: rgb(15,57,96); */
	/* color: #000;*/
	/* color: #fff; */
	/*font-family: 'Shadows Into Light', cursive;
	font-size: 1.414em;
	letter-spacing: 1px;
	margin: 0 10px;
	text-shadow: 1px 2px 3px rgba(0,0,0,0.2),
                 0px -3px 17px rgba(255,255,255,0.3);
	*/
	/*font-family: 'Cantarell', sans-serif;*/
	font-size: 1.1em;
	padding: 10px 20px;
	transition: all 0.2s;
	/* -webkit-box-shadow: 0 8px 6px -6px rgba(0,0,0,0.5);
	   -moz-box-shadow: 0 8px 6px -6px rgba(0,0,0,0.5);
	        box-shadow: 0 8px 6px -6px rgba(0,0,0,0.5); */
}

#myNavbar > div > ul > li > a {
	padding: 16px 20px 0 20px;
}

#myNavbar ul li a:hover {
	/* background-color: rgba(222, 118, 59, 1); */
	/* background-color: #9ea2a3; 
	color: #fff;*/
	color: #0f3960;
	/* color: #f7d32f; */
	/* -webkit-box-shadow: 0 8px 6px -6px rgba(0,0,0,0.5);
	   -moz-box-shadow: 0 8px 6px -6px rgba(0,0,0,0.5);
	        box-shadow: 0 8px 6px -6px rgba(0,0,0,0.5); */
}

#myNavbar ul li a.no-hover:hover {
	color: #3d80fb;
	cursor: text !important;
}

#myNavbar ul li.dropdown .dropdown-toggle:focus,
#myNavbar ul li.dropdown .dropdown-toggle:active,
#myNavbar ul li.dropdown .dropdown-menu a:hover,
.navbar-default .navbar-nav>.open>a, .navbar-default .navbar-nav>.open>a:hover, .navbar-default .navbar-nav>.open>a:focus {
	background-color: #fff;
}

#myNavbar li > a {
	background-color: transparent !important;
}

/* Top (Main) Navigation */
#top-nav {
	background-color: #f8f8f8;
	border-bottom: 1px solid #dadada;
	border-top: 1px solid #dadada;
	margin-bottom: 7px;
	padding: 10px 0 13px 0;
}

#top-nav > div {
	background-color: transparent;
}

#top-nav-items {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

#top-nav-items li {
	display: inline;
	margin: 0 30px 0 0;
}

#top-nav-items li#mini-town-nav {
	float: right;
	margin: 0;
}

/* #top-nav-items li.code-enforcement-nav {
	margin: 0 0 0 0;
}

li.code-enforcement-nav a:not(:last-child) {
	margin: 0 10px 0 0;
} */

#top-nav-items li a {
	color: #4a4a4a;
	font-size: 14px;
	font-weight: bold;
}

#top-nav-items li#mini-town-nav > a {
	color: #999;
}

#top-nav-items li > a {
	background-color: transparent !important;
	padding: 10px 0;
	text-transform: uppercase;
}

#top-nav li.active > a > span {
	border-bottom: 2px solid #4a4a4a;
	padding: 0 0 2px 0;
}

#top-nav-items li a .fa {
	color: #bdbdbd;
}

#top-nav-items li a:hover {
	color: #000;
}

.current-town-homepage-link {
	color: #3d80fb !important;
}

#town-homepages {
	width: 475px;
	/*width: 350px;*/
}

#tca-town-nav-list {
	width: 350px;
	/* width: 325px; */
}

#inactive-town-nav-list {
	width: 825px;
}

#inactive-town-nav-list a.dtp-town {
	color: #3d80fb !important
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    right: 100%;
    left: auto;
    /*left: 100%;*/
    margin-top: -1px;
}

.dropdown-submenu .dropdown-menu a {
	color: #000 !important;
	font-size: 14px !important;
	padding: 0 !important;
}

.sub-heading-dropdown {
	width: 400px;
}

.sub-heading-title {
	color: #9B9B9B;
	font-size: 12px;
	font-weight: 700;
	margin-top: 5px;
}

.dropdown-row a {
	letter-spacing: 1px;
	text-transform: capitalize;
}

.dropdown-row {
	margin: 0;
	/* padding: 5px 0; */
}

.dropdown-row a {
	display: block;
	margin: 5px 0;
}

.dropdown-row div[class^="col"] {
	padding: 0 15px;
}

/* #myNavbar ul li:last-child a {
	margin-right: 0;
} */

/* Brand name */

.brandStyle {
	color: #de763b !important;
	font-family : 'Lato', sans-serif;
	font-size: 24px;
}

/* Menu */

.menustyle {
	text-transform: uppercase;
	font-size: 12px;
	font-weight: bold;
}

#user-menu, #town-menu {
	font-size: 12px;
	position: absolute !important;
	z-index: 10000;
}

#user-menu li a, #town-menu li a {
	font-weight: bold;
}



/*-----------------------------------
	Side Navigation Bar Styles
------------------------------------*/
#sideNav {}

#more-towns-in-county {
	font-size: 12px;
}



/*-----------------------------------
	Sub-header Navigation Bar Styles
------------------------------------*/
.nav-pills .btn:active, .nav-pills .btn.active {
	background-color: #2c3e50;
	color: #fff;
	-webkit-box-shadow: inset 0 1px 5px rgba(0,0,0,0.125);
	box-shadow: inset 0 1px 5px rgba(0,0,0,0.125);
}

.nav-pills .btn {
	font-size: 90%;
	margin-right: 5px;
}

.nav-pills .btn:hover {
	background-color: #ECF0F1;
	color: #555;
}

.nav-pills .btn.active:hover {
	background-color: #2c3e50;
	color: #fff;
}


/* experts sub-header */
#sub-header #header-buttons {
	display: inline;
	/*display: none; */
	/*float: left;*/
	margin-left: 10px;
	margin-right: 100px;
	margin-top: 5px;
}

#sub-header #header-buttons .btn-info {
	background-color: #fff;
	border: 1px solid #3d80fb;
	color: #3d80fb;
}

#sub-header #header-buttons .btn-info:hover {
	background-color: #fff;
    border: 1px solid #faa31b;
    color: #faa31b;
}

#sub-header #header-buttons .btn-info:focus {
	text-decoration: none;
	outline: 0;
}

#expert-categories-dropdown-button
, #expert-types-dropdown-button {
	cursor: pointer;
	font-size: 1.55em;
	font-weight: 500;
	/*font-size: 18px;*/
}

#expert-categories-dropdown-button {
	color: #7a7a7a;
}

/*#expert-types-dropdown-button {
	color: #3d80fb;
}*/

#expert-categories-dropdown-menu.dropdown-menu li a
, #expert-types-dropdown-menu.dropdown-menu li a {
	color: #4a4a4a;
	font-size: 15px;
	font-weight: bold;
	letter-spacing: 1px;
}

#expert-categories-dropdown-menu li a:hover
, #expert-types-dropdown-menu li a:hover {
	background-color: #fff !important;
	color: #000;
}


/*-----------------------------------
	Main Picture 
------------------------------------*/

.headpicture{
	background:url(../images/header.jpg);
	background-size:cover;
	background-repeat:no-repeat;
	width: 100%;
	height: 600px;
}


/*-----------------------------------
		Text
------------------------------------*/

/* Titles */
h1, h2, h3, h4, h5, h6 {
  font-family : 'Lato', sans-serif;
  font-weight: bold;
  line-height: 1.2;
  margin: 0 0 0.5em 0;
  /* margin: 1.414em 0 0.5em; */
}

/* h1 {
  color: #5a5b5b;
  margin-top: 0;
  font-size: 3.998em;
} */

h1 {
	font-size: 24px;
	font-weight: 700;
	padding-bottom: 5px;
	margin: 0;
}

h2 {
	color: #0f3960;
	font-size: 19px;
	font-weight: normal;
	margin: 0 0 1.2em 0;
}

h1 + h2 {
}

h3 {font-size: 18px;}

h4 {font-size: 14px;}

h5 {font-size: 12px;}

h6 {font-size: 10px;}




/* Paragraphs */
p {
	margin: 0 0 7px 0;
}


small, .font_small {font-size: 0.707em;}

.town-title {
}

.town-title h3 {
	padding: 0;
	margin: 0;
	padding-bottom: 10px;
	font-size: 1.55em;
	color: #ef8320;
	font-weight: 600;
}

.town-title h2 {
	padding-bottom: 10px;
	margin: 0;
	color: #3d80fb;
	font-size: 1em;
	font-weight: 600;
	text-transform: uppercase;
	/* color: #ef8320; */
}



/*.textStyle {
	color: #989999;
	font-size: 18px;
	text-align: justify;
	line-height: 1.5;
	max-width: 700px;
	margin: 80px auto 0 auto;
} */

.textStyle a {
	color: rgba(62,128,251,1);
	/* text-decoration:underline; */
}

.textStyle a:hover {
	color: #0f3960;
	text-decoration: none;
}



/*-----------------------------------
	Page Layout
------------------------------------*/

main {
	margin-top: 135px;
	/* 
	padding-top: 135px;
	margin-top: 135px; */
}

.container {
	background-color: #fff;
}

.wide-left {
	padding-left: 0;
	padding-top: 10px;
}

/* .wide-left h1 {
	font-size: 32px;
}

.wide-left h2 {
	font-size: 24px;
}

.wide-left h3 {
	font-size: 18px;
} */

.wide-left .well {
	background-color: #fff;
	/*margin: 10px;*/
}

.wide-left .property {
	/*border: 1px solid #f1f0f0;
	border-top: 1px solid #f1f0f0;*/
	width: 100%;
	margin: 0 auto;
}

.narrow-right {
	padding-right: 0;
}

#propertyTabContent .well {
	border-bottom: 1px solid #f1f0f0;
}

#sideNav {
	/*gray background -- background-color: #DCDCDA; */
	padding-top: 15px;
}

#sideNav p {
	margin-bottom: .7em;
}

#sideNav p:last-child {
	margin-bottom: 0;
}

#sideNav .well {
	background-color: #fff;
	padding-top: 5px;
}

#sideNav .well i {
	margin-right: 10px;
}

#sideNav .headingContainer {
	color: #000;
	/* color: #0f3960; */
	/* color: #fff; */
	/* background-color: #0f3960; */
	border-bottom: 5px solid #3d80fb;
	padding-left: 0;
	margin-bottom: 20px;
	position: relative;
	/* -webkit-box-shadow: 0 2px 3px 1px rgba(0,0,0,0.33);
	-moz-box-shadow: 0 2px 3px 1px rgba(0,0,0,0.33);
	box-shadow: 0 2px 3px 1px rgba(0,0,0,0.33); */
}

#sideNav .headingContainer h5 {
	font-size: 1.214em;
	font-weight: 800;
	margin: 5px 0;
	/* padding: 6px; */
	/* text-align: center; */
}

#sideNav .headingContainer a {
	color: #000;
	/* color: #0f3960; */
}

.panel-equal {
	/*height: 420px;*/
	padding-bottom: 50px;
	position: relative;
}

.float-bottom {
	bottom: 0;
	position: absolute;
	max-width: 275px;
	width: 100%;
}

.float-bottom h5 {
	margin: 0 0 7px 0;
}






.panel-default {
	border: 0;
	box-shadow: none;
}

.panel-default .panel-heading {
	background-color: transparent;
	border: 0;
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 12px;
	line-height: 17px;
}

.panel-default .panel-heading:before {
	background-color: #3d80fb;
	content: '';
	height: 1.8em;
	left: 0;
	margin-left: 13px;
	margin-top: 10px;
	position: absolute;
	top: 1px;
	width: 8px;
}

.single-line {
	padding-top: 18px;
}

.panel-body {
	padding: 0 0 0 15px;
	max-width: 275px;
}

.panel-body:after {
	content: none;
}


.pagination {
	margin: 0;
}

.pagination-sm>li>a, .pagination-sm>li>span {
	font-size: 16px;
	padding: 0 5px;
}

.pagination > li > a, .pagination > li > span {
	background-color: #F39C12;
}

.pagination > li > a:hover, .pagination > li > span:hover, .pagination > li > a:focus, .pagination > li > span:focus {
	background-color: #C87F0A;
	border-color: #F39C12;
}

/*-----------------------------------
	Homepage / Town Page Headers
------------------------------------*/
.featureTagline {
	position: absolute; 
	bottom: 40px; 
	width: 50%; 
	padding: 10px 0 13px 40px;
	

	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#3a76e6+0,3a76e6+100&1+85,0+100 */
	background: -moz-linear-gradient(left, rgba(58,118,230,.9) 0%, rgba(58,118,230,.9) 85%, rgba(58,118,230,0) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(58,118,230,.9)), color-stop(85%,rgba(58,118,230,.9)), color-stop(100%,rgba(58,118,230,0))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(left, rgba(58,118,230,.9) 0%,rgba(58,118,230,.9) 85%,rgba(58,118,230,0) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(left, rgba(58,118,230,.9) 0%,rgba(58,118,230,.9) 85%,rgba(58,118,230,0) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(left, rgba(58,118,230,.9) 0%,rgba(58,118,230,.9) 85%,rgba(58,118,230,0) 100%); /* IE10+ */
	background: linear-gradient(to right, rgba(58,118,230,.9) 0%,rgba(58,118,230,.9) 85%,rgba(58,118,230,0) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3a76e6', endColorstr='#003a76e6',GradientType=1 ); /* IE6-9 */

	/*
	background: rgba(61,128,251,.8);
	background: -webkit-linear-gradient(left, rgba(61,128,251,.8) , rgba(61,128,251,.2)); 
	background: -o-linear-gradient(right, rgba(61,128,251,.8), rgba(61,128,251,.2)); 
    background: -moz-linear-gradient(right, rgba(61,128,251,.8), rgba(61,128,251,.2)); 
    background: linear-gradient(to right, rgba(61,128,251,.8) , rgba(61,128,251,.2)); 
    */
    /* Standard syntax (must be last) */
	color: #fff; 
}

.featureTagline h1
	, .featureTagline h2 {
	font-size: 1.7em;
	/*margin: 10px 0 0 0;*/
	text-shadow: 1px 1px #565656;
}

.featureTagline p {
	text-shadow: none;
	margin: 0;
}

/*-----------------------------------
	DTP Section
------------------------------------*/
.dtpLogo {
	 max-width: 150px; 
	 margin: 0 auto; 
	 display: block;
}

/*-----------------------------------
	Breadcrumb Trail
------------------------------------*/
#breadcrumb-trail {
	padding-bottom: 10px;
}

/*-----------------------------------
	Previous Next
------------------------------------*/
.previous-next {
	color: #ccc;
	float: right;
	/*
	border-top: 1px solid #efefef;
	margin: 10px 0 0 0;
	padding: 10px 0 0 0;
	*/
}

.previous-next a span, .previous-next a i {
	color: rgba(62,128,251,1);
}

.previous-next a:hover span, .previous-next a:hover i {
	color: #0f3960;
}

.previous-next img {
	max-width: 75px; 
	vertical-align: middle;
}

.previous-next span {
	font-size: 13px;
	text-transform: uppercase;
}

.previous-next i {
	font-size: 20px;
}

.previous-next img:hover {
	opacity: 0.9;
}




/*  GOOGLE MAPS  ============================================================================= */
#map-canvas, #map-canvas-sale, #map-canvas-lease {
	height: 390px;
	/* line-height:normal; */
    margin: 0;
    padding: 0;
    width: 100%;
    z-index: 1;
}

/*
.column #map-canvas {
	height: 100px;
	width: 400px;
}
*/

/* fix universal max-width: 100% for Google Maps controls */
.gmnoprint, .gm-style img {
    max-width: none !important; 
}

.gm-style-iw {
	font-family: 'Lato', sans-serif;
	font-size: 12pt !important;
	line-height: 1.4em;
	white-space:nowrap;
}

.scrollFix {
	overflow: hidden;
}

.gm-style-iw a {
	outline: none;
}

.gm-style-iw p {
	padding: 20px;
}

.gm-style-iw img {
	float: left;
	width: 120px;
	/* width: 100px; */
}

.iw-townWrapper {}

.iw-unitWrapper {
	margin-right: 10px;
}

.iw-unitWrapper .iw-text {
	margin-left: 130px;
}

/*
.toggleMap {
	float: right;
}


#expandMap, #contractMap, #displayMap, #hideMap {
	color: #111;
	cursor: pointer;
	font-size: 10pt;
	font-style: italic;
	font-weight: normal;
	margin: 5px 0 0 0;
}

#expandMap img, #contractMap img, #displayMap img, #hideMap img {
	width: 21px;
	border: none;
}

#expandMap:hover, #contractMap:hover, #displayMap:hover, #hideMap:hover {
	opacity: 0.4;
	filter: alpha(opacity=40);
}

#contractMap, #hideMap {
	display: none;
}
 */



/*-----------------------------------
	Google Charts
------------------------------------*/
 #townTotalsPieChart
 	, #distributionByUnits
 	, #distributionByLandUnits
 	, #distributionByCBDUnits
 	, #distributionByOccupancyVsLand {
	display: inline-block;
	/* float: left; */
	max-width: 100%;
	opacity: 0.7;
	filter: alpha(opacity=70);
	-moz-opacity: 0.7;
	-khtml-opacity: 0.7;
	overflow: hidden;
	/* margin-top: -20px; 
*/
  	min-height: 200px;
	height: 100%;
	width: 100%;
	/*margin: auto;
	background: ##fff;
	text-align: center;*/
}

.charts {
	min-height: 200px;
	height: 100%;
	width: 100%;
	/*margin: auto;
	background: ##fff;
	text-align: center;*/
}






/*-----------------------------------
	Tabbed Items
------------------------------------*/

.nav-tabs>li.active>a
	, .nav-tabs>li.active>a:hover
	, .nav-tabs>li.active>a:focus {
	color: #ef8320;
}


/*-----------------------------------
	Buttons Items
------------------------------------*/
.btn-group>.btn-group:last-child>.btn:first-child {
	border-radius: 4px;	
}

.btn-group>.btn-group:first-child>.btn:last-child, .btn-group>.btn-group:first-child>.dropdown-toggle {
	border-radius: 4px;		
}

.btn {
	font-weight: 700;
	text-transform: uppercase;
	box-shadow:     0px -1px 5px rgba(0,0,0,.05),
	                0px 1px 5px rgba(0,0,0,.05),
	                1px 0px 5px rgba(0,0,0,.05),
	                -1px 0px 5px rgba(0,0,0,.05);
}

.btn:focus {
	outline: 0;
}

.btn-info, .btn-info:focus {
	background-color: #3d80fb;
	border-color: #3d80fb;
}

.btn-info:hover {
	background-color: #0f3960;
	border-color: #0f3960;
}



/*-----------------------------------
	Sponsors
------------------------------------*/
.sponsors {
	padding: 10px 0 15px 0;
}

.sponsors img {
	max-width: 150px;
}

.sponsors a img:hover {
	opacity: .8;
}



/*-----------------------------------
	Latest Projects
------------------------------------*/

/* Container */

.latestProjects{
	max-width: 1100px;
	margin : 40px;
}

.latestProjects p{
	font-size: 16px;
	color: #757879;
	width: 260px;
	text-align: left;
	margin: 13px auto 60px auto;
}

.latestProjects p a{
	font-size: 12px;
	display: block;
	width: 80px;
	white-space: nowrap;
	margin-top: 6px;
}

.latestProjects img{
	width: 100%;
	/* width:260px; */
}


/*-----------------------------------
		Footer
------------------------------------*/

.footer {
	border-top: 1px solid #e5e5e5;
	/* color: #fff; */
	font-size: 13px;
	margin: 45px auto;
	/* background: rgb(39,141,209); */ 
	padding-bottom: 30px;
}

#footer-wrapper div[class^="col"] {
	padding-top: 23px;
}

/* Social buttons */
.socialButtons {
	padding-right: 10px;
	color: #fff;
}
.socialButtons img{
	width:36px;
	opacity:0.6;
}

.socialButtons a{
	display:inline-block;
	color: #fff;
}

.socialButtons a:hover {
	opacity:0.6;
}

#footerLogoText {
	line-height: 20px;
	padding-left: 38px;
}

#quick-links {
	padding-right: 38px;
}



/*-----------------------------------
	Helper classes
------------------------------------*/

.absolute-center {
  margin: auto;
  position: absolute;
  top: 0; left: 0; bottom: 0; right: 0;
}

.inline {
	display: inline;
}

.inline-block {
	display: inline-block;
}

.noPadding, .no-padding {
	padding:0;
}

.noBorder{
	border: 0;
}

.noMargin, .no-margin {
	margin: 0;
}

.marginAuto {
	margin: 0 auto;
}

.float-right, .cms-float-right {
	float: right;
	margin: 0 0 0 15px;
}

.float-left, .cms-float-left {
	float: left;
	margin: 0 15px 0 0;
}

.row-eq-height {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display:         flex;
}

/*-----------------------------------
	Media queries
------------------------------------*/

/* On smaller screens */

@media (max-width: 1199px) {
	.navbar #header-search {
		left: 235px;
	}

	#top-nav-items li {
		margin: 0 18px 0 0;
	}
}

@media (max-width: 992px) {
	
	/* General */
	
	body{
		/* padding-top: 76px; */
	}

	/*main {
		margin-top: 0;
		min-height: calc(100% - 94px);
	}*/

	/* li{
		padding-left:8px;
	} */
	
	/* h1 {
		margin-top: 80px;
	} */

	/* Navigation bar */
	
	/* .navbar{
		padding: 16px 0;
	} */
	
	/* Main picture */
	
	/* .headpicture{
		height: 250px;
	} */
	
	/* Latest Projects */
	
	/*.textStyle{
		margin-top: 40px;
	}*/
	
	/*.titleStyle{
		margin-top: 70px;
	}*/
	
	/* Footer */
	
	.footer{
		margin: 0 auto;
	}
	
	#footerLogoText{
		padding-left: 15px;
		text-align: center;
	}

	#quick-links {
		padding-right: 0;
		text-align: center;
	}
	
	/* Sharing buttons */
	
	.responsiveAlign {
		text-align: center;
		padding: 5px ;
	}

}

@media (max-width: 991px) {
	main {
		margin-top: 0 !important;
		min-height: calc(100% - 94px);
	}

	main {
		/*padding-top: 125px;
		 margin-top: 125px; */
	}

	nav .container-fluid {
		padding :0;
	}

	#header-navigation {
		position: static;
		width: 100%;
		background: #fff;
		top: 0;
		z-index: 9999;
		max-height: 100vh;
	   	overflow-y: auto;
	   	overflow-x: hidden;
  		-webkit-overflow-scrolling: touch;
	}

    .navbar-header {
        float: none;
        padding: 0;
    }

    .navbar #header-search {
		float: none;
		padding: 10px;
		position: static;
		right: auto;
		top: auto;
		width: 100%;
	}

	.navbar #header-search .fa-search {
		float: left;
		margin: 5px 5px 0 0;
	}

	.navbar #header-search > .form-group {
		width: 100%;
	}

	.navbar #header-search-query {
		background-color: #fff;
		margin-top: 13px;
		width: 100%;
	}

    .navbar-header a {
		font-size: 2.5em;
	}

	.navbar-header img {
		margin: 5px 5px 5px 0;
		vertical-align: middle;
		/*width: 60px;*/
	}

    .navbar-left,.navbar-right {
        float: none !important;
        margin: 0;
    }

    .navbar-toggle {
    	border: 0;
    	color: #0f3960;
        display: block;
        margin: 20px 0 0 0;
        padding: 0;
    }

	.navbar-toggle:hover,
	.navbar-toggle:focus {
    	background-color: transparent !important;
    	color: #3d80fb;
    }

    .navbar-toggle .fa-bars,
    .navbar-toggle .fa-close {
    	font-size: 32px;
    }

    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }

    .navbar-fixed-top {
		top: 0;
		border-width: 0 0 1px;
	}

    .navbar-collapse.collapse {
        display: none!important;
    }

    .navbar-nav {
        float: none !important;
		/* margin-top: 7.5px; */
	}

	.navbar-nav > li {
        float: none;
    }
    
    .navbar-nav > li > a {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .collapse.in {
  		display:block !important;
	}

	.navbar-default .navbar-toggle .icon-bar {
	    background-color: #0f3960;
	}

	.navbar-default .navbar-toggle:hover .icon-bar {
	    background-color: #fff;
	}

	.navbar-toggle {
		/*margin: 0;
		padding: 0;
		position: absolute;
		right: 0;*/
	}

	#myNavbar {
		/*border-top: 1px solid #dadada;*/
		/*border-bottom: 1px solid #dadada;*/
		/* border-right: 8px solid #3d80fb; */
		background-color: #f8f8f8;
		margin-bottom: 7px;
		float: none;
		margin: 0 0 20px 0;
		width: 100%;
	}

	#myNavbar ul {
		/*border-bottom: 1px solid #ededed;*/
		overflow: none !important;
		position: static;
		top: auto;
		right: auto;
		-webkit-border-bottom-right-radius: 0;
		-webkit-border-bottom-left-radius: 0;
		-moz-border-radius-bottomright: 0;
		-moz-border-radius-bottomleft: 0;
		border-bottom-right-radius: 0;
		border-bottom-left-radius: 0;
		-webkit-box-shadow: 0;
		-moz-box-shadow:    0;
		box-shadow:         0;
		padding: 0;
		/*padding: 10px 0;*/
		text-align: left;
	}

	#myNavbar ul li a {
		display: block;
		font-size: 16px !important;
		/*font-size: 1.2em;*/
		padding: 20px 0 20px 10px !important;
	}

	#myNavbar ul.nav > li > a, #mobile-logout-link {
		border-bottom: 1px solid #dadada;
		border-right: 1px solid #dadada;
		border-left: 1px solid #dadada;
	}

	#myNavbar ul.nav > li > a:first-child, #mobile-logout-link {
		border-top: 1px solid #dadada;
	}

	#top-nav-items li {
		display: block;
		margin: 0;
	}

	#top-nav-items li a {
		color: #4a4a4a !important;
	}

	#top-nav-items li#mini-town-nav > a {
		color: #999 !important;
	}

	#top-nav-items li#mini-town-nav {
		float: none;
	}

	/* li.code-enforcement-nav {
		list-style-type: none;
	} */

	#myNavbar .dropdown-menu, #myNavbar #town-menu {
		background-color: transparent;
		border: 0;
		box-shadow: none;
		float: none;
		/*font-size: 1em;*/
		margin: 1em 7px !important;
		padding: 0;
		position: static;
		top: auto;
		width: 100%;
	}

	#town-menu {
		list-style-type: none;
	}

	#myNavbar .dropdown-menu a {
		padding: 10px 0 10px 10px !important;
		border: none !important;
	}

	#myNavbar .dropdown-menu p:first-child a {
		margin: 0 !important;
		padding-top: 0 !important;
	}

	#myNavbar .dropdown-menu a:hover {
		background-color: transparent !important;
	}

	#myNavbar .open {
		display: block;
	}

	#town-homepages, #inactive-town-nav-list, #tca-town-nav-list {
		width: auto;
	}

	#user-menu, #town-menu {
		letter-spacing: 1px;
		position: static !important;
		text-transform: none;
	}

	#user-menu li, #town-menu li {
		padding: 2px 0 2px 15px !important;
	}

	#user-menu li:first-child, #town-menu li:first-child {
		padding-top: 0 !important;
	}

	.narrow-right {
		padding: 0;
	}

	/* #myNavbar ul li {
		display: inline-block;
	}

	#myNavbar ul li a {
		padding: 10px 5px;
	} */

	.menustyle {
		/* margin-left: 10px; */
		text-align: center;
	}

	.container.textstyle {
		padding: 0;
	}

	.row-container {
		margin-bottom: 50px;
	}

	.latestProjects {
		margin-right: 0;
		margin-left: 0;
	}

	/*.panel-equal {
		height: 430px;
	}*/

	.featureTagline {
		position: static;
		display: block;
		width: 100%; 
		text-align: center;
		background-color: rgba(58,118,230,1);
		padding: 10px 10px 13px 10px;
	}

	.featureTagline h1 {
		padding-top: 5px;
		padding: 0;
		margin: 0;
	}

	.featureTagline p {
		padding-bottom: 5px;
		margin-bottom: 0;
	}
}

@media (max-width: 768px) {
	.navbar {
		padding: 0 15px;
	}

	/*.navbar #header-search {
		margin: 5px auto 0 auto;
		position: static;
		right: auto;
		top: auto;
	}

	.navbar #header-search .fa-search {
		float: left;
		margin: 5px 5px 0 0;
	}

	.navbar #header-search-query {
		float: right;
		margin-top: 0;
		margin-bottom: 15px;
		width: 100%;
	}*/

	.navbar-toggle {
		padding: 0 15px;
	}

	#sideNav {
		background-color: #fff;
		padding: 0 15px;
	}

	#sideNav p {
		margin-left: 1em;
	}

	#sideNav p:first-child {
		margin-top: 1em;
	}

	#sideNav .well {
		margin: 0;
		padding: 0;
	}

	#sideNav .well {
		margin: .7em 0 3em 0;
	}

	/*
	#sideNav .well:first-child {
		margin: 1em 0 .7em 0;
	}
	*/

	#sideNav .well:last-child {
		margin: 0;
	}

	#sideNav .headingContainer {
		cursor: pointer;
		margin: 0;
	}

	#sideNav .headingContainer h5 {
		text-align: left;
		margin: 0 0 3px 0;
	}

	.row-container {
		margin-bottom: 0;
	}

	.panel-body {
		max-width: none;
	}

	.panel-equal {
		/*height: auto;*/
		margin-bottom: 50px;
		padding-bottom: 0;
	}

	.latestProjects {
		margin: 40px 0;
	}

	.dtpLogo {
		display: inline;
		margin: 0;
	}

	.float-bottom {
		bottom: auto;
		position: static;
		max-width: none; 
		width: auto;
		margin-top: 20px;
	}

	.float-right, .cms-float-right, .float-left, .cms-float-left {
		display: block;
		float: none !important;
		margin: 0 0 15px 0;
	}

	.previous-next {
		float: none;
		text-align: right;
		margin-bottom: 15px;
	}
}

/*
@media (max-width: 550px) {
	.navbar-header {
		min-height: 125px;
	}

	.navbar-header a {
		font-size: 2.1em;
		line-height: 2.1em;
	}

	.navbar-header img {
		vertical-align: bottom;
		width: 325px;
	}
}
*/


@media (max-width: 400px) {
	main {
		/* padding-top: 75px;
		margin-top: 75px; */
	}

	.navbar-header {
		min-height: 75px;
	}

	.navbar-header img {
		width: 225px;
	}
}


/* @media (max-width: 359px) {
	.navbar-header a {
		font-size: 1.7em;
		line-height: 1.9em;
	}
} */

/* On bigger screens */ 

@media (min-width: 993px) {
	
	/* Sharing buttons */
	
	.responsiveAlign {
		float: right;
	}
}

/*
*/


@media (min-width: 768px) {
	.container {
	    width: 735px;
	}
}


@media (min-width: 992px) {
	.container {
	    width: 960px;
	}
}

@media (min-width: 1200px) {
	.container {
	    width: 1170px;
	}
}



/* print style */
@media print {
	a[href]:after {
		content: none !important;
	}

	main {
		min-height: 0px;
	}

	.col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {
		float: left;
	}

	.col-sm-12 {
		width: 100%;
	}

	.col-sm-11 {
		width: 91.66666666666666%;
	}

	.col-sm-10 {
		width: 83.33333333333334%;
	}

	.col-sm-9 {
		width: 75%;
	}

	.col-sm-8 {
		width: 66.66666666666666%;
	}

	.col-sm-7 {
		width: 58.333333333333336%;
	}

	.col-sm-6 {
		width: 50%;
	}

	.col-sm-5 {
		width: 41.66666666666667%;
	}

	.col-sm-4 {
		width: 33.33333333333333%;
	}

	.col-sm-3 {
		width: 25%;
	}

	.col-sm-2 {
		width: 16.666666666666664%;
	}

	.col-sm-1 {
		width: 8.333333333333332%;
	}

	.sponsors img {
		width: 125px;
	}

	.navbar {
		display: block;
	}

	.town-map {
		display: inline-block;
	}

	#header-navigation {
		position: static;
		width: 100%;
		background: #fff;
		top: 0;
		z-index: 9999;
	}

	/*.footer hr {
		margin: 0;
	}*/

	.footer #footer-wrapper #footerLogoText {
		width:  100% !important;	
	}

}

