.interactiveContainer {
    width: 100%;
}
.tabBar {
    font: .9em/1.2 "RobotoRegular", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
/* Edit width based on number of tabs to display
In this example, width = 9% for 10 tabs + cell borders */
.tabItem {
    width: 9%;
    padding: 2px 0px 2px 0px;
    float: left;
    margin-left: -1px;
    border: #aaa solid 1px;
    border-right: none;
    cursor: pointer;
    text-align: center;
    /* font-size: 11px; */
    font-weight: 500;
    text-transform: uppercase;
    color: #ccc;
}
.tabItem:first-child {
    border-radius: 7px 0px 0 7px;
    border-top-left-radius: 2px;
    border-bottom-left-radius: 2px;
}
.tabItem:last-child {
    border-radius: 0px 7px 7px 0px;
    border-top-right-radius: 2px;
    border-bottom-right-radius: 2px;
    border-right: 1px solid #aaa;
}
.tabItem:hover {
    color: #E34B4B;
}
.tabItem.selected {
    color: maroon;
    background: #eee;
    box-shadow: inset 1px 1px 7px -2px #555;
    color: white !important;
    font-weight: 400;
    border: 1px solid #E34B4B !important;
    background: #E34B4B !important;
    pointer-events: none;
}



/* QUERY TOPIC PICKER */
#profile #query-topic-picker h2 {
    /* position: absolute;
    line-height: 1.8em;
    padding-left: .8em; */
}
#query-topic-picker input {
    /* font-size: 1.6em;
    padding: .25em .5em 0;
    width: 100%; */
	font-size: 1.2em;
}

/* BASIC ELEMENTS */
a {
    color: #014948;
}
a.permalink {
    text-decoration: none;
    color: inherit;
}
a:hover {
    color: #02aeab;
}
a.permalink span,
a.permalink i {
    color: #777;
    display: none;
}
a.permalink:hover {
    color: inherit;
}
a.permalink:hover span,
a.permalink:hover i {
    display: inherit;
}
p, .serif {
    /* font-family: "Merriweather", Georgia, serif; */
    margin: 0 0 1em;
}
.caption {
    margin-top: .25em;
    padding-top: .25em;
    font-size: .83em;
    font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.caption-group {
    margin-right: 1em;
}

.display-type,
.leader {
    font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.leader {
    font-weight: bold;
    text-transform: uppercase;
}

h1.title {
    font-size: 2.5em;
}
.wrapper {
    width: auto;
    margin: 0 1.5em;
	font-family: "RobotoRegular", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

#cover-map {
    position: relative;
    height: 35em;
    /* margin-bottom: 2em; */
}
#slippy-map {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

#cover-profile {
    position: relative;
}
#cover-profile article {
    /* margin-top: 3em;
    background-color: #fff;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    border: 1px solid #02aeab;
    padding: .67em 1.25em .33em; */
	
	margin-top: 3em;
	padding:6px;
	background: rgba(0,0,0,0);
	box-shadow: 0 0 15px rgba(0,0,0,0.2);
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

.article-content-wrapper{
	padding: .67em 1.25em .33em; 
	background: rgba(255,255,255, .95);
	width: 100%;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

#cover-profile ul {
    list-style: none;
    font-size: .83em;
}
#cover-profile strong {
    float: left;
    margin-right: .5em;
}
#cover-profile .header-extra-links ul {
    float: left;
    padding: 0;
    margin: .5em 0 1.5em;
}
.column-row {
    clear: both;
}
.column-full, .column-half, .column-third, .column-two-thirds,
.column-quarter, .column-three-quarters, .column-golden-wide,
.column-golden-narrow {
    float: left;
    margin: 0 2% 0 0;
}
.header-for-columns {
    margin: 0 2% 1em 0;
}
.column-full { width: 98%; }
.column-half { width: 48%; }
.column-third { width: 31%; }
.column-two-thirds { width: 65%; }
.column-quarter { width: 23%; }
.column-three-quarters { width: 73%; }
.column-golden-wide { width: 58%; }
.column-golden-narrow { width: 38%; }

/* STATS */
.stat {
    width: 100%;
    color: #111;
    margin: 0;
    padding: 0;
}
.stat:hover {
    color: #111;
}
.context,
.context-phrases {
    font-size: .9em;
    font-weight: 500;
    color: #777;
}
.data-drawer.grid {
    font-size: .83em;
    padding-top: 0;
}
.grid .name,
.grid .value,
.grid .context {
    display: inline-block;
}
.grid .name {
    font-weight: bold;
}
.grid .value {
    min-width: 7em;
    text-align: right;
    padding-right: 1em;
}
.grid .context {
    font-size: .9em;
    margin-bottom: -.1em;
    min-width: 4em;
}
.stat .context {
    margin-left: .33em;
    display: none;
}
.stat:hover .context {
    display: inline-block;
}
.stat:hover .secondary .context {
    display: block;
}
.context-phrases {
    display: block;
    list-style: none;
    padding: 0;
    margin: 0;
}
.context-phrases li {
    line-height: 1.4;
    margin-bottom: .5em;
}
.context-phrases strong {
    color: #666;
}
.stat .primary {
    display: block;
    margin-bottom: 1em;
}
.stat .primary .name {
    display: block;
    font-size: 1.2em;
    font-weight: 400;
    line-height: 1.3;
}
.stat .primary .context {
    font-size: .5em;
}
.stat .primary .value {
    display: block;
    font-size: 2.2em;
    line-height: 1;
    margin: 0 0 .1825em;
    font-weight: 700;
}
.stat .primary .value sup {
    font-size: .5em;
    vertical-align: middle;
    top: -.83em;
}
.stat .secondary {
    display: block;
}
#cover-profile .stat .secondary {
    margin-bottom: .67em;
}
.stat .secondary .value {
    font-size: 1.2em;
    font-weight: 700;
    margin-right: .1em;
}
.stat .secondary .context {
    margin: 0 0 .67em;
}
.secondary.stacked .name {
    display: block;
}
.stat-suffix {
    font-size: .5em;
}
.stat-row select {
    max-width: 100px;
    font-size: .8em;
}
.stat-row {
    border-top: 1px solid #eff1e9;
    padding-top: 2em;
}
.stat-row.grouped-row {
    border: none;
    padding-top: 0;
}
.stat-row:first-child {
    border-top: none;
    padding-top: 0;
}


/* TABLES */
table {
    margin: 0 0 2em 0;
    font-size: .8em;
}
thead {
    border-bottom: 1px solid #d9ddca;
}
th {
    background-color: #eff1e9;
    min-width: 7em;
    vertical-align: bottom;
}
thead.left-align th {
    text-align: left;
}
th:first-child {
    -webkit-border-top-left-radius: 4px;
    -moz-border-radius-topleft: 4px;
    border-top-left-radius: 4px;
}
th:last-child {
    -webkit-border-top-right-radius: 4px;
    -moz-border-radius-topright: 4px;
    border-top-right-radius: 4px;
}
th, td {
    padding: .25em .75em;
}
td {
    vertical-align: top;
}
table .name {
    text-align: left;
    font-weight: 700;
    white-space: nowrap;
}
table .value {
    text-align: right;
}
tr:hover td,
tr.highlight td,
.grid .highlight,
.grid .hover {
    background-color: #e0e4d4;
}
table .percentage, table .raw-number {
    display: block
}
table .alt-number {
    display: none;
}
.indent-0 {
    padding-left: 0;
}
.indent-1 {
    padding-left: 1em;
}
.indent-2 {
    padding-left: 2em;
}
.indent-3 {
    padding-left: 3em;
}
.indent-4 {
    padding-left: 4em;
}
.indent-5 {
    padding-left: 5em;
}
.indent-6 {
    padding-left: 6em;
}
.indent-7 {
    padding-left: 7em;
}
td.indent-1 {
    padding-left: 1.75em;
}
td.indent-2 {
    padding-left: 2.75em;
}
td.indent-3 {
    padding-left: 3.75em;
}
td.indent-4 {
    padding-left: 4.75em;
}
td.indent-5 {
    padding-left: 5.75em;
}
td.indent-6 {
    padding-left: 6.75em;
}
td.indent-7 {
    padding-left: 7.75em;
}


.content-container {
    padding: 2em 0;
    clear: both;
}
.data-view .content-container {
    padding: 1em 0;
}
.header-container {
    padding: 2em 0 0;
    clear: both;
}
.content-container .header-container {
    padding-top: 1em;
}
#header-container h1 {
    padding-right: 370px;
}

article,
article.column-full {
    margin-bottom: 4em;
}
header.section-contents {
    float: left;
    width: 13em;
}
header.section-contents h1 {
    font-size: 1em;
    margin: 0;
    padding: .6em 0 .55em .8em;
    background-color: #eff1e9;
    -webkit-border-top-left-radius: 4px;
    -moz-border-radius-topleft: 4px;
    border-top-left-radius: 4px;
    -webkit-border-bottom-left-radius: 4px;
    -moz-border-radius-bottomleft: 4px;
    border-bottom-left-radius: 4px;
}
article .section-container {
    background-color: #fff;
    margin-left: 13em;
    padding: .6em 1.2em 1.2em;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-border-top-left-radius: 0;
    -moz-border-radius-topleft: 0;
    border-top-left-radius: 0;
}
header.section-contents h1,
article .section-container,
.card {
    border-top: 1px solid #e8eadf;
    border-bottom: 1px solid #cad0b5;
}
.card {
    display: block;
    font-size: 1.2em;
    margin: 0;
    padding: 0;
    text-decoration: none;
    background-color: #e0e4d4;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}
.card:hover {
    color: #111;
}
.card .caption {
    font-size: 1em;
    font-weight: bold;
    display: block;
    padding: .83em 1em;
    margin: 0;
}
.card .more {
    font-size: .83em;
    margin-left: .25em;
    color: #cc4c3f;
    white-space: nowrap;
}
.card:hover .more {
    color: #f55b2c;
}
.card-container .card {
    margin-bottom: 1.5em;
}
.card img {
    width: 100%;
    margin: 0;
}
.explain {
    font-size: .83em;
    padding: 0 1em;
}
.sidebar-block .explain {
    padding: .5em 0;
}
.typeahead-container .explain {
    clear: both;
    margin-top: .5em;
}
.sidebar-block {
    margin-bottom: 2em;
}
.sidebar-block ul {
    font-size: .83em;
    font-weight: bold;
}
.expanded-table ul {
    list-style: none;
    padding: 0;
    margin-top: .75em;
    font-size: .9em;
}
.preview-table ul {
    font-weight: normal;
    list-style: none;
    padding: 0;
    margin-bottom: 0;
    font-size: .8em;
}
.preview-table ul.open {
    margin-bottom: .5em;
}
.expanded-table ul li,
.preview-table ul li {
    margin-bottom: .2em;
}
.expand-preview {
    display: block;
    text-align: center;
    text-decoration: none;
    font-size: .83em;
    font-weight: bold;
    padding: .33em 0;
    border-top: 1px solid #E8EADF;
}

.glossary-term {
    border-bottom: 1px dashed #777;
    cursor: help;
}

/* section {
    margin-bottom: 2em;
} */
.wide-content {
    overflow-x: auto;
}
.section-container section {
    margin-bottom: 3em;
}
#profile .section-container section {
    margin-bottom: 2em;
}
.section-container section:last-child {
    margin-bottom: .5em;
}
header.section-contents h1,
section h2 {
    font-size: 1em;
    line-height: 1.3;
    margin-bottom: 1em;
}
header.section-contents h1 a {
    font-size: .83em;
    line-height: 1.6em;
    font-weight: normal;
    float: right;
    padding-right: 1em;
}

aside {
    float: left;
    margin-left: -14.4em;
    width: 13em;
    padding: .25em .67em .67em 1.1em;
}
aside h3 {
    font-size: .9em;
}
aside p,
aside ul {
    font-size: .83em;
	line-height: 1.4;
}
aside ul {
    margin: .33em .67em .67em 1em;
    padding: 0;
}
aside ul.sumlev-list,
aside ul.search-filter-list {
    list-style: none;
    margin: 0.33em 0 .67em .67em;
    padding: 0;
}
aside ul.search-filter-list{
    margin-top: .67em;
}
aside ul.sumlev-list .remove,
aside ul.search-filter-list .remove {
    margin-left: .5em;
}
aside li {
    margin-bottom: .25em;
}
aside ul.sumlev-list li,
aside ul.search-filter-list li {
    line-height: 1.2;
    margin-bottom: .5em;
}
aside sup {
    font-size: 1.25em;
    top: -.125em;
}
aside .aside-block {
    margin: 1em 0 1.5em;
    clear: both;
}
.search-results aside .aside-block {
    margin: 0 0 2em;
}
aside .search input {
    font-size: .83em;
    margin: .33em 0 0;
    padding: .15em .5em 0;
    width: 100%;
}
aside #geography-add-parent {
    margin-bottom: .2em;
}
aside .action-button {
    font-size: .83em;
    display: block;
    margin-bottom: 1em;
}




/* MEDIA QUERIES */
@media only screen and (min-width: 1140px) {
    .wrapper {
        width: 1120px;
        margin: 0 auto;
    }
} /* END: @media only screen and (min-width: 1140px) */
@media only screen and (max-width: 1139px) {
    .chosen {
        margin: 0 0 1em;
    }

} 
/* END: @media only screen and (max-width: 1139px) */

@media only screen and (max-width: 768px) {
    article,
    article.column-full {
        margin-bottom: 2em;
    }
    header.section-contents {
        float: none;
        width: auto;
        margin: 0;
    }
    header.section-contents h1 {
        padding-left: 1.2em;
        margin-bottom: 0;
        border-bottom: none;
        -webkit-border-top-left-radius: 4px;
        -moz-border-radius-topleft: 4px;
        border-top-left-radius: 4px;
        -webkit-border-top-right-radius: 4px;
        -moz-border-radius-topright: 4px;
        border-top-right-radius: 4px;
        -webkit-border-bottom-left-radius: 0;
        -moz-border-radius-bottomleft: 0;
        border-bottom-left-radius: 0;
    }
    article .section-container {
        margin-top: 0;
        margin-left: 0;
        border-top: none;
        -webkit-border-top-right-radius: 0;
        -moz-border-radius-topright: 0;
        border-top-right-radius: 0;
    }
    section aside {
        float: none;
        margin-left: 0;
        width: auto;
        padding: 0;
    }
    aside .action-button {
        display: inline-block;
    }
    #glossary aside {
        float: right;
        margin: 0 0 2em 2em;
        padding: 1em;
        width: 200px;
    }
    aside ul.sumlev-list {
        margin: .33em 0;
    }
    aside ul.sumlev-list li {
        float: left;
        margin: 0 0 .67em .67em;
    }
    aside ul.sumlev-list li:last-child {
        margin-right: 1em;
    }
    #chosen-table h2 {
        padding-left: 0;
    }
    .column-full,
    .column-golden-wide,
    .column-golden-narrow {
        float: none;
        clear: both;
        width: auto;
        margin-right: 0;
    }
    .column-half .column-half {
        float: left;
        clear: none;
        width: 47%;
        margin-right: 3%;
    }
    .centered {
        text-align: left;
    }
    #cover-map {
        height: auto;
        margin: 1em;
        -webkit-border-radius: 4px;
        -moz-border-radius: 4px;
        border-radius: 4px;
    }
    #cover-map #slippy-map {
        height: 200px;
    }
    #cover-profile {
        margin: 200px 1em 0;
    }
    #cover-profile article {
        background-color: inherit;
        border: none;
        width: 100%;
        padding: 1em .25em;
        margin-top: 0;
		box-shadow:none;
    }
	.article-content-wrapper
	{
		padding: 1em .25em;
		border: none;
	}
	
    #homepage #profile h1,
    #homepage #explore h1 {
        float: none;
        width: auto;
    }
    #homepage #geography-select {
        font-size: 1.6em;
        padding: .25em .5em 0;
        width: 100%;
    }
    #homepage .input-wrapper {
        padding-top: 0;
        padding-left: 0;
        margin-bottom: 1em;
    }
    #explore-topic-metadata p {
        width: auto;
        float: none;
        text-align: left;
        padding: 0 0 .25em 1em;
    }
    #homepage #geography-select-wrapper .action-button {
        font-size: 1.1em;
    }
    .card {
        font-size: 1em;
    }
    .topic aside img {
        width: 300px;
    }
    #header-container h1 {
        padding: 1em 0 0;
        clear: both;
    }
} 
/* END: @media only screen and (max-width: 768px) */

@media only screen and (max-width: 640px) {
    .tool-set {
        float: none;
        margin: .5em 0 1em;
    }
    #menu-toggle {
        display: block;
    }
    #menu {
        float: none;
        display: block;
        padding: 1em 0 .67em;
        display: none;
    }
    #menu input {
        margin-left: 0;
    }
    #menu input,
    #menu .tt-dropdown-menu {
        width: 100%;
    }
    #menu .tool-group {
        width: 47%;
    }
    #menu .separator {
        width: 6%;
    }
    #menu a.button i {
        display: inherit;
    }
    #menu .tt-dropdown-menu {
        height: 200px;
    }
    .section-container section,
    .stat-row [class^="column-"] {
        margin-bottom: 2em;
    }
    .stat-row [class^="column-"]:last-child {
        margin-bottom: 0;
    }
    .column-half,
    .column-two-thirds,
    .column-third,
    .column-three-quarters {
        float: none;
        clear: both;
        width: auto;
        margin-right: 0;
    }
    .column-quarter,
    .column-third.card {
        float: left;
        clear: none;
        width: 47%;
        margin-right: 3%;
    }
    #page-footer ul.ul-icon-list {
        text-align: left;
    }
    #page-footer li {
        margin-bottom: .5em;
    }
    #geography-picker .column-quarter,
    #query-geography-picker .column-quarter {
        width: 100%;
        font-size: 1.2em;
    }
    #geography-picker #sumlevs-standard,
    #query-geography-picker #sumlevs-standard {
        float: left;
        padding-right: 3em;
        margin-top: 0;
    }
    #geography-picker #sumlevs-schools,
    #query-geography-picker #sumlevs-schools {
        margin-top: 1.4em;
    }
    #profile #query-topic-picker .typeahead-container {
        display: block;
        padding: 0 .75em;
    }
    #profile #query-topic-picker h2 {
        position: relative;
        margin-bottom: .33em;
    }
    #geography-picker li,
    #query-geography-picker li {
        margin-bottom: .67em;
    }
    #query-topic .query-chosen,
    #query-geographies .query-chosen,
    #query-release .query-chosen,
    #query-go .query-chosen {
        margin-left: 6em;
    }
    #query-builder-bar [id^="query-"] {
        margin-top: .5em;
    }
    #query-builder-bar section[id$="-picker"] {
        padding: 2%;
    }
    #query-builder-bar .leader {
        text-indent: .5em;
    }
    .topic aside img {
        width: 250px;
    }
    .header-container {
        padding-top: 1em;
    }
} /* END: @media only screen and (max-width: 640px) */
@media only screen and (max-width: 480px) {
    .column-third,
    .column-half .column-half,
    .column-quarter,
    .column-third.card {
        float: none;
        clear: both;
        width: auto;
        margin-right: 0;
    }
    h1.title {
        font-size: 2em;
    }
    .stat .primary .value {
        font-size: 1.8em;
    }
    .stat .primary .name {
        font-size: 1.1em;
    }
    #menu {
        padding-top: 0;
    }
    #menu .tool-group {
        float: none;
        width: 100%;
        margin-right: 0;
        margin-top: 1em;
    }
    #menu .separator {
        display: none;
    }
    #cover-map #slippy-map {
        height: 150px;
    }
    #cover-profile {
        margin-top: 150px;
    }
    h1.article-header {
        font-size: 2.2em;
    }
    #homepage #geography-full-text,
    #homepage #topic-full-text {
        font-size: 1.2em;
    }
    .callout h3 {
        font-size: 21px;
    }
    #homepage .content-container {
        padding: 2em 0 1em;
    }
    #homepage .content-container:first-child {
        padding-top: 1em;
    }
    #geography-picker #sumlevs-standard {
        float: none;
        padding-right: .33em;
    }
    #geography-picker #sumlevs-schools {
        margin-top: .33em;
    }
    #glossary aside {
        float: none;
        margin: 0;
        padding: 1em;
        width: auto;
    }
    .wide-only {
        display: none;
    }
    .narrow-only {
        display: inline;
    }
    .topic aside {
        float: none;
        display: block;
        margin: 1em 0;
    }
    .topic aside img {
        width: 100%;
    }
}
@media only screen and (max-width: 360px) {
    h1.article-header {
        font-size: 2.2em;
    }
}