/* ==================================================
	Data Sources Collapsibles /tools/data_sources.html
================================================== */
.sr-only { clip: rect(0 0 0 0); height: 1px ;margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
#clear-ds-filter:focus {color: #495057; background-color: #fff; border-color: #6bb2ff; outline: 0; box-shadow: 0 0 0 0.2rem rgba(0, 113, 234, 0.25);}
			
.data-legend { border: 1px solid #ccc; border-bottom: none; border-radius: 4px 4px 0 0; padding: 1em; background: #f6f6f6; text-align: center; }
.data-legend ul { list-style: none; padding: 0; margin: 1rem 0 0 0; }
.data-legend li { padding: .15em 0 .15em .5em; margin: 0 0 0 .5em; display: inline-block; }
	.data-legend li:first-child { padding-left: 0; margin-left: 0; border-left: none; }
.data-legend img { box-shadow: 0 1px 1px rgba(0,0,0,.3); vertical-align: text-bottom; }
.data-legend img:not(.external) { width: 24px; height: 24px; }
.data-sources { text-shadow: none; border-top: 1px solid #ccc; }
.data-sources .icons { float: right; list-style: none; margin: 0; padding: 0; min-height: 24px; width: 13em; }
.data-sources .icons li { display: inline-block; width: 24px; height: 24px; margin: 0 .5em; }
.data-sources .icons li img { box-shadow: 0 1px 1px rgba(0,0,0,.3); }
.data-sources > ul { border: 1px solid #ccc; border-top: none; border-bottom: none; list-style: none; margin: 0; padding: 0; }
.data-sources > ul > li {border-bottom: 1px solid #ccc; padding: .5em 1em; margin: 0; background: #e1f9d3; background: -moz-linear-gradient(top, rgba(238,249,231,1) 0%, rgba(225,249,211,1) 100%); background: -webkit-linear-gradient(top, rgba(238,249,231,1) 0%,rgba(225,249,211,1) 100%); background: linear-gradient(to bottom, rgba(238,249,231,1) 0%,rgba(225,249,211,1) 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eef9e7', endColorstr='#e1f9d3',GradientType=0 );}
.data-sources > ul > li a { font-size: 1.1em; font-weight: bold; }
.data-sources p { margin: .15em 0; padding: 0; }
.data-sources .iconContainer {display: flex; justify-content: space-between;}
.data-sources .dataFlex {display: flex; justify-content: space-between; flex-wrap: wrap;}
.data-sources .dataHeader {width: 80%;}
.data-sources .dataIcons {align-self: center; width: 18%;}
.data-sources .icon {width: 24px; height: 24px;}
.data-sources a {text-decoration:none; color: #145584;}

@media (max-width: 768px) {
	.data-sources .dataHeader {width: 75%;}
	.data-sources .dataIcons {width: 23%;}
}
@media (max-width: 576px) {
	.data-sources .dataHeader {width: 70%;}
	.data-sources .dataIcons {width: 28%;}
}
@media (max-width: 500px) {
	body.data .data-sources .dataHeader {width: 60%;}
	body.data .data-sources .dataIcons {width: 36%;}
}

.toggleData { display: block; }
	.toggleData:hover h3, .toggleData:focus h3 { background: #ecf4fd; }
.toggleData span { padding-left: 1.25em; background: url("../i/data-toggle.png") left 7px no-repeat; }
.toggleData span.open { background-position: left -127px; } 

.data-sources .tog-control {border: 1px solid #ccc; border-top: none; margin: 0; padding: 0; font-size: 1em; background: #d4e8fd; background: -moz-linear-gradient(rgba(236,244,253,1) 0%, rgba(212,232,253,1) 100%); background: -webkit-linear-gradient(rgba(236,244,253,1) 0%, rgba(212,232,253,1) 100%); background: -webkit-gradient(linear, 0 0, 0 100%, from(rgba(236,244,253,1)), to(rgba(212,232,253,1))); background: -o-linear-gradient(rgba(236,244,253,1) 0%, rgba(212,232,253,1) 100%); background: linear-gradient(rgba(236,244,253,1) 0%, rgba(212,232,253,1) 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ecf4fd', endColorstr='#d4e8fd',GradientType=0 );}
.data-sources h2 {display: inline-block; margin-top: 0.4em; font-size: 1.3em; font-weight: 900; vertical-align: text-bottom; line-height: 1.1;}
.data-sources .tog-title .dataHeader {width: auto; margin-right: auto; margin-top: 0; margin-bottom: 0;}
.data-sources .tog-title .dataIcons {width: auto; margin-left: auto;}
.data-sources .tog-content .dataHeader {width: 100%; margin-top: 0;}
.data-sources .tog-content .dataIcons {width: 100%;}
.data-sources .iconContainer {justify-content: flex-start;}
.data-sources .icon {margin-left: 0.5rem;}
.data-sources h2 {padding: 0;}
.data-legend ul {margin-top: 0;}
.data-legend h2, .data-sources h2 > span {font-size: 1.4em;}
.data-sources h2 span.ds-count {margin-top: 0; font-size: 1.125em;}
.tog-control button {display: flex; margin: 0; padding: .65em 1rem;}
.tog-control button:hover {background: transparent;}
.tog-control .tog-title {display: flex; justify-content: flex-start; align-items: center; width: 100%; color: #145584;}
.state {padding: 0; align-self: center;}
.tog-control button[aria-expanded="true"] { background: transparent; color: #000; }
.tog-control button .state svg { height: 18px; width: 18px; transform: rotate(0deg); transition: transform .2s ease-in-out; }
.tog-control button[aria-expanded="true"] .state svg { transform: rotate(90deg); }
.filterWrapper {display: flex; flex-direction: column; align-items: flex-start; justify-content: center; margin-bottom: 1.5rem; text-align: left;}
#data-source-filterer.form-control {width: 100%; display: inline-block; margin-right: 0.25rem;}
.filterInputGroup {width: 100%;}
.empty-filter-results {border: 1px solid #ccc; border-top: none; border-radius: 4px 4px 0 0; padding: 1.5rem 1rem 1rem; background: #f6f6f6;}
#open-all {margin: 0 0 0.75rem;}
#close-all {margin-bottom: 0.25rem;}
.submit {width: 100%;}
#clear-ds-filter {width: 100%; display: block; margin-top: 0.5rem; box-shadow: inset 0 1px 0 rgba(255,255,255,.4), inset 0 -1px 0 rgba(0,0,0,.3), 0 1px 0 #fff;}
.data-legend .extlink {position: relative; margin-top: 0.5rem;}
.data-legend .extlink img {position: relative; bottom: 3px;}
.data-legend ul {margin: .25rem 0 0 1.25rem; font-weight: 300!important; text-align: left;}
.data-legend li {padding: 0.15em 0; margin: 0 0 0.5rem; display: block;}
.data-legend p.source-types {margin-bottom: 0.25rem;}
.data-legend p, .data-legend h2, .data-legend h2.h3 {text-align: left;}
.data-legend h2.h3 {font-size: 1.25rem; font-weight: 700;}
.data-legend input[type="checkbox"] {height: 1.125rem; width: 1.125rem;}
.data-legend .form-check-input {margin-bottom: 0.4rem;}
.data-legend .form-check-label {margin-left: 0.25rem;}
.data-legend strong {font-weight: 400;}

@media (min-width: 805px) {
	.empty-filter-results {text-align: center;}
}
@media (min-width: 768px) {
	.filterWrapper {flex-direction: row; position: relative;}
	.filterWrapper label {position: relative; bottom: 2px; margin: 0;}
	.filterInputGroup, #data-source-filterer.form-control {width: auto;}
	#clear-ds-filter {padding: 0.25rem 0.5rem; font-size: 0.875rem; line-height: 1.5; border-radius: 0.2rem;}
	#data-source-filterer.form-control {width: calc(100% - 55px); height: calc(1.5em + 0.5rem + 2px); padding: 0.25rem 0.5rem; font-size: 0.875rem; line-height: 1.5; border-radius: 0.2rem;}
}

@media (min-width: 576px) {
	.data-sources .tog-content .dataHeader {width: calc(100% - 150px); margin-right: auto; margin-top: 0;}
	.data-sources .tog-content .dataIcons {width: auto; margin-left: auto; margin-right:6px}
	.data-sources .iconContainer {justify-content: center;}
	#open-all {margin: 0 0.5rem 0.25rem 0;}
	.submit {width: auto;}
	.filterWrapper {align-items: center; text-align: center;}
	.data-legend p, .data-legend h2, .data-legend h2.h3, .data-legend ul {text-align: center;}
	.data-legend ul {margin: .25rem 0 0 0;}
	.data-legend li {padding: 0.15em 0 0.15em 0.5em; margin: 0 0 0 1.5rem; display: inline-block; text-align: center;}
}
@media (min-width: 450px) {
	.filterWrapper label {margin: 0 5px 0 0;}
	#clear-ds-filter {width: auto; display: inline-block; margin-top: 0;}
	#data-source-filterer.form-control {width: calc(100% - 69px);}
}

.data-sources .ds-category > ul > li {border-bottom: 1px solid rgb(204, 204, 204); padding: 0.5em 1em; margin: 0px; background: linear-gradient(rgb(238, 249, 231) 0%, rgb(225, 249, 211) 100%);}
.data-sources .ds-category > ul {border-width: 1px 1px; border-style: none solid; border-color: rgb(204, 204, 204) rgb(204, 204, 204); border-image: initial; border-top: none; border-bottom: none; list-style: none; margin: 0px; padding: 0px;}
.data-sources .ds-category > ul > li a {font-size: 1.1em; font-weight: bold;}