#body_1column {
    margin: 14px 0 45px 30px;
    position: relative;
    width: 920px;
}
.profile {
    margin-top: -5px;
    line-height: 1.5;
}

.profile .share-buttons {
    position: absolute;
    top: 40px;
    right: 0;
    margin: 0;
}

.search {
    text-align: right;
    font-size: 12px;
}

.search input {
    margin: 0 3px;
    padding: 3px;
    width: 168px;
    border: 1px solid #3e3e67;
    border-radius: 4px;
}

.search ul {
    font-size: 12px !important;
    text-align: left;
}

.search .ui-autocomplete {
    max-height: 230px;
    overflow-y: auto;
    overflow-x: hidden;
}

.profile h1 {
    margin-top: 18px !important;
    line-height: 1;
    padding: 2px 0;
    font-weight: bold;
    max-width: 750px;
}

.profile h1 span.geography {
    font-weight: normal;
}

.profile .in {
    font-size: 12px;
}

.profile table {
    background-color: #ffffff; /* override global style */
    border-collapse: separate;
    border-spacing: 0;
    vertical-align: baseline;
    width: auto;
    margin: 9px 0 0 -6px;
/*    min-width: 624px;
*/    padding: 0;
}

.profile th, .profile td {
    background-color: #ffffff;
    font-weight: normal;
    padding: 1px 6px;
    text-transform: none;
    color: #000;
    vertical-align: baseline;
    white-space: nowrap;
}

.profile td.value { padding: 1px 0; }
.profile td.margin { padding: 1px 6px; }
.profile td.fn { padding-left: 12px; }
.profile td[scope=row] { padding-right: 12px; }
.profile table.suppressed td.value { padding: 1px 6px 1px 18px; }
.profile table.suppressed td[scope=row] { padding-right: 0; }

.profile tr.rowgroup th {
    background: 0;
}
.profile table tbody:first-of-type tr.rowgroup th {
    background-color: #ffffff;
    border: 0;
}
.profile td.margin, .profile td.note {
    font-size: 10px;
    color: #aaa;
}
.profile td.note {
    text-align: right;
    font-style: italic;
}
.profile td.value, .profile th.value {
    text-align: right;
}
.profile td.fn {
    color: #aaa;
    font-size: 10px;
}

.profile tr.gs th, .profile tr.gs td {
    border-top: 9px solid #fff;
}
.profile tr.rowgroup th, .profile tr.rowgroup td {
    border-top: 27px solid #fff;
}

.profile th[scope=rowgroup] {
    font-weight: bold;
}
.profile tr.rowgroup th {
    background: 0;
    color: #069;
}
.profile tr.rowgroup th div, .profile tbody.tbodygroup tr.rowgroup th div {
    border-bottom: 1px solid #069;
}
.profile th[scope=row] {
    background: #fff;
}

.profile tr td.empty {
    height: 9px;
    border: none;
}

.profile tr:hover td, .profile tr:hover th {
    background-color: #dbe5f1;
}
.profile tr td.empty,
.profile thead tr:hover th,
.profile tr:hover td.fn,
.profile tr.rowgroup:hover th {
    background-color: transparent;
}

.profile a { color: #069; }

.profile table caption {
    font-size: 12px; 
    text-align: left;
    padding: 0 0 6px 6px;
    font-style: italic;
}

.profile thead th {
    background: transparent;
}
.profile th.options {
    padding: 12px 6px 12px 6px;
    font-size: 10px;
    font-style: normal;
    clear: both;
    background: 0;
    text-align: right;
}
.profile th.options a {
    color: #369;
    text-transform: uppercase;
}

.profile .crumbs {
    font-size: 12px;
}

.profile iframe {
    padding: 0;
    margin: 0;
}

.profile-intro {
    position: relative;
    margin: 2em 0 0 0;
    /*width: 900px;*/
}

.profile-intro p {
    float: right;
    /*margin-top: -150px;*/
    padding: 0;
    width: 400px;
}

.profile-intro .profile-search * {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.profile-intro .profile-search {
    /*position: absolute;
    top: 144px;
    left: 276px;*/
    float: right;
}

.profile-intro .profile-search input {
    display: block;
    font-size: 16px;
    line-height: 20px;
    border: 1px solid #369;
    border-radius: 4px;
    box-shadow: 1px 1px 3px #d1e0ee;
    width: 412px;
    padding: 8px;
    margin-left: -8px;
}

.profile-intro .profile-search label {
    display: block;
    font-size: 16px;
    width: 412px;
    text-align:left;
}

/* reset autocomplete font size */
.profile-intro .search ul {
    font-size: 16px !important;
}

#column4 .search ul {
    font-size: 12px;
}

.search ul {
    border-color: #369 !important;
}

.search ul a {
    color: #222 !important;
}

.search .ui-menu-item a:hover, .search a.ui-state-focus {
    text-decoration: none !important;
    background: none !important;
    background-color: #d1e0ee !important;
    border-color: #369 !important;
}

/*
.profile .search .ui-widget-content {
    border-color: #369 !important;
}

.profile .search .ui-state-hover, .profile .search .ui-state-hover {
    background: none !important;
    background-color: #d1e0ee !important;
    border-color: #369 !important;
}
*/

/*
.profile-intro .ui-state-hover a, .profile .search .ui-state-hover a {
    background: none !important;
    background-color: #d1e0ee !important;
    border-color: #369 !important;
}

.profile-intro .ui-widget-content a, .profile-intro .ui-widget-content a, .profile .search .ui-state-hover a, .profile .search .ui-widget-content a {
    border-color: #369 !important;
}
*/

.profile .notes {
    margin-top: 48px;
}

.profile .notes p {
    font-size: 12px !important;
    margin: 0 0 12px 0;
    padding: 0;
}

.profile .notes ol {
    font-size: 12px;
    margin: 0;
    padding: 0;
    list-style-position: inside;
}

.profile .notes li {
    margin: 0;
    padding: 0;
}

.profile td.value a[rel=footnote] {
    color: #000;
}
.profile table a[rel=footnote]:hover {
    text-decoration: none !important;
}

span.fnid {
    position: relative;
    top: -4px;
    font-size: 9px;
    color: #369;
}

/*
.profile .notes {
    width: 624px;
}
*/

/** geography browser **/

.geography-browser, .geography-browser * {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.geography-browser {
    width: 900px;
    border-radius: 4px;
    position: relative;
    clear: both;
}

.geography-browser ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.geography-browser .places {
    position: relative;
    padding: 0;
}

.profile-map {
    width: 420px;
    height: auto;
    float: left;
}

.places-columns {
    column-count: 4;
    -webkit-column-count: 4;
    -moz-column-count: 4;
    column-fill: balance;
    -moz-column-fill: balance;
}

.geography-browser .places h3 {
    color: #3e3e67;
    display: block;
    padding: 0;
    margin: 24px 0 6px 0 !important;
    border-bottom: 1px dotted #d1e0ee;
    line-height: 1.4;
    text-transform: none;
    font-size: .75em;
}

.places .state h3:first-child {
    margin: 0 0 6px 0 !important;
}

.geography-browser .places li {
    margin: 0;
    padding: 0;
    line-height: 1.5;
    display: block;
}

.profiles-title {
    text-transform: none;
    margin: 48px 0 24px 0 !important;
    color: #3e3e67;
}

/* row-level indenting */
.profile th { padding-left: 6px; padding-right: 6px; }
.profile th.g0 { padding-left: 24px; }
.profile th.g1 { padding-left: 42px; }
.profile th.g2 { padding-left: 60px; }
.profile th.g3 { padding-left: 78px; }

/* table level indenting */
.profile table.np tbody.g1 th,
.profile table.np tbody.g1 tr.rowgroup th[scope=rowgroup] {
    padding-left: 18px;
}

#overview { padding-top: 2em; }
#overview:after {
    content:"";
    display:table;
    clear:both;
}
/* content width 920 */
.chart {
    width: 450px;
    height: 280px;
    float: left;
    padding: 2em 0;
}
.chart:nth-of-type(odd) {
    padding-right: 10px;
}
.chart:nth-of-type(even) {
    padding-left: 9px;
    border-left: 1px solid #eee;
}
.chart:nth-of-type(3),
.chart:nth-of-type(4) {
		border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.profile .content {
    /*
      width: 750px;
      margin-left: 150px;
      */
    width: 920px;
}
.profile .sidebar {
    display: none;
    float: left;
    width: 150px;
}
.profile ul.topics {
    padding: 2em 0 0 0;
    margin: 0;
    list-style: none;
}
.profile ul.stick {
    padding-top: 12px;
    position: fixed;
    top: 0;
}
.profile ul.topics li {
    padding: 0; margin: 0 0 0 0.5em;
}

.profile tbody.subtopic tr.rowgroup th[scope=rowgroup] {
    border-top: 9px solid #fff;
    color: #000;
    font-weight: bold;
}

.profile tbody.subtopic tr.singleton th, .profile tbody.subtopic tr.singleton td {
    border-top: 9px solid #fff;
}
.profile tbody.subtopic tr.singleton th {
    font-weight: bold;
}
.profile tbody.subtopic tr td {
    border-top: 0;
}

.profile-options {
    font-size: 12px;
    text-align: right;
    padding-top: 2em;
}

.profile-options a {
    display: inline-block;
    padding-right: 12px;
}

.notes-and-sources {
    padding-top: 2em;
}

.notes-and-sources h3 {
    font-size: 12px;
    color: #333;
}

.with-margin { display: none; }

table.np .suppressed {
    font-size: 10px;
    font-style: italic;
    color: #aaa;
    text-align: right;
    padding: 1px 12px 1px 12px;
}
.coming-soon {
    font-style: italic;
    font-size: 10px;
    color: #aaa;
    padding-left: 0.5em;
}

.noscroll {
    pointer-events: none;
}

#body_1column h2.planning-district {
    margin-bottom: -18px;
}

table.custom-table {
  border-collapse: collapse;
  border-left: 1px solid #dbe5f1;
  margin: 18px 0 -2em 0;
  vertical-align: bottom;
}

.custom-table th, .custom-table td {
  line-height: 1.2;
  padding: .6em;
  vertical-align: middle;
}
.custom-table td { white-space: nowrap; }

.custom-table tbody th {
  padding-right: 1.8em;
}

.custom-table thead th.time {
  text-align: right;
}

.custom-table tbody th[scope=rowgroup] {
  font-weight: bold;
  margin: 0;
}

.custom-table tbody.rowgroup th[scope=row] {
  padding-left: 1.8em;
}

.custom-table tbody.rowgroup th.time {
  text-align: right;
  padding-right: .6em;
  padding-left: .6em;
}

.custom-table tbody td {
  text-align: right;
  border-right: 1px solid #dbe5f1;
}

.custom-table tbody th[scope=rowgroup] {
  color: #069;
}

.custom-table thead th {
  background: #dbe5f1;
  color: #369;
  border-right: 1px solid #dbe5f1;
}

.custom-table tbody th, .custom-table tbody td {
  border-bottom: 1px solid #dbe5f1;
  border-right: 1px solid #dbe5f1;
  /* border-left: 1px solid #dbe5f1; */
}

.custom-table tbody th[scope=rowgroup] {
  border-right: 1px solid #dbe5f1;
  background: #dbe5f1;
}

.custom-table tbody.rowgroup th.time {
  background: #dbe5f1;
  /* color: #8FABC9; */
  color: #369;
}

.custom-table tbody.rowgroup tr:only-child th.time {
  color: #dbe5f1;
}

.custom-table tbody th.highlight, tbody td.highlight  {
  color: #069;
  font-weight: bold;
}

.custom-table tr:hover td, .custom-table tr:hover th[scope=row] {
    background-color: #fff;
}

#share {
    float: right;
    margin: 3em 0 0 0;
}
#share .follow, #share .addthis_vertical_follow_toolbox {
    display: none;
}

/** small screen rules **/
@media only screen and (max-device-width: 600px) {
    .profile-intro,
    .profile-intro .intro,
    .profile-search,
    .geography-browser,
    #body_1column {
      -webkit-box-sizing: border-box;
      -moz-box-sizing: border-box;
      box-sizing: border-box;
      width: 100%;
    }
    .map-container {
        max-width:90%;
    }
    .profile .content,
    .map-container > iframe,
    .chart,
    .profile table {
        max-width:100%;
    }
    .profile th, .profile td {
        white-space:normal !important;
    }
    .profile-map {
      margin-top: 1em;
    }
    .data-highlight img {
      width: 330px;
      height: 100%;
      float: none;
      margin: 0 0 10px 0;
    }
    .places-columns,
    .duluth-neighborhoods-listing,
    .city-neighborhoods-listing,
    .minneapolis-communities-listing,
    .minneapolis-neighborhoods-listing,
    .st-paul-neighborhoods-listing {
      column-count: 2;
      -webkit-column-count: 2;
      -moz-column-count: 2;
    }
    .profile-intro .profile-search input {
        margin-left: 0;
        width: 100%;
    }
    .profile .share-buttons {
        position: relative;
        top: 0;
        right: 0;
    }
    .profile .search {
        position: relative;
        top: 10px;
    }
}

/** no footer on printed profiles **/

@media only print {
    #body_1column {
        margin: 0;
    }
    #footerwrap {
        display: none;
    }
}
