* {
    box-sizing: border-box !important;
}

:root {
	--help-top: -300px;
	--help-left: -250px;
	--help-width: 35rem;
}

hr {
	margin: 25px 0;
}

li.usa-button-group__item {
	margin-bottom: .25rem;
}

/* kpi styles */
.js-kpi .qv-object .qv-object-header {
	padding: 0;
}


.js-kpi .qv-object .qv-object-content {
	position: relative;
}

.sn-kpi .sn-kpi-data > div {
	text-align: center;
}

.sn-kpi div {
	flex-flow: row wrap;
	flex: 1 1 100%;
}

.filter-state .qv-object-qsstatistic {
	background-color: transparent !important;
}

@media screen and (min-width: 320px) and (max-width: 1024px){
	.mobile\:grid-col-6 {
		-webkit-box-flex: 0;
        -ms-flex: 0 1 auto;
        flex: 0 1 auto;
        width: 50%;
	}
}

@media screen and (max-width: 480px) {
	.sn-kpi  .sn-kpi-measure-title.sn-kpi-ellips-text{
		width: 130px
	}
}


.sn-kpi  .sn-kpi-measure-title.sn-kpi-ellips-text,
.sn-kpi  .sn-kpi-value > .sn-kpi-ellips-text .kpi-container .statistic span, 
.js-filter-state .statistic .label span{
	-webkit-text-overflow: unset;
	text-overflow: unset;
	white-space: wrap;
	overflow: unset;
	text-align: center;
	font-weight: bold;
	font-size: 0.9rem;
}


.sn-kpi  .sn-kpi-value{
	color: #162e51 !important; /* Overrides Qlik inline styles */
	font-size: 2rem !important; /* Overrides Qlik inline styles */
}

.filter-state .statistic .value span {
	color: #162e51 !important; /* Overrides Qlik inline styles */
	font-size: 1rem !important; /* Overrides Qlik inline styles */
	line-height: 1.2;
	text-align: left;
	padding: 0 !important;
}

.filter-state .statistic .label {
	justify-content: flex-start !important;
	color: rgb(89, 89, 89) !important;
}

.filter-state .statistic .value {
	justify-content: flex-start !important;
}

/* filter styles */
.filter-label *, .filter-state .statistic .label {
	font-family: 'Source Sans Pro', sans-serif !important;
	color: rgb(89,89,89);
	font-size: 1.25rem;
	margin-bottom: 0px;
}

.filter-container header, 
.kpi-container header, 
.kpi-container article, 
.qv-inner-object {
    background-color: transparent !important;
    border: none !important;
}

.qv-object-wrapper article {
    border: none !important;
}

/* Chart height */

.dab-lineChart {
	min-height: 600px;
}

.qv-footer-wrapper {
	padding: 10px;
}


/* Qlik object default heights */
.qv-filter {
	height: 55px;
}

.qvplaceholder.qv-map {
	height: 100%;
}

.qv-layer {
	height: 70px;
}

.qv-layer div.qv-object-title-text {
	font-size: 14px !important;
}

.qv-object .qv-object-title .qv-object-title-text {
	width: calc(100% - 45px);
}

.qv-layer .qv-object-title {
	margin-top: 10px;
	margin-bottom: 0;
}

.qv-xxs {
	height: 55px;
}

.qv-xs {
	min-height: 90px;
}

.qv-sm {
	height: 150px;
}

.qv-md {
	height: 350px;
}

.qv-lg {
	height: 500px;
}

.qv-xl {
	height: 800px;
}


.qvobject, 
.qvplaceholder {
	padding-right: 0;
	padding-left: 0;
}

.qvplaceholder {
	height: 500px
}

@media screen and (max-width: 1024px) {
	.qvplaceholder.qv-map {
		height: 500px;
	}
}


/* will hide both search button on left and selections button on right */
.qv-panel-current-selections .qv-subtoolbar-button.toggle-button, .touch-on .qv-panel-current-selections .qv-subtoolbar-button.toggle-button {
	display: none;
}

/* Object titles */
.qs-container .qsc-item-wrapper .qsc-item header, 
.qv-object .qv-object-header {
	background-color: #005ea2;

}

.dab-lineChart .qs-container .qsc-item-wrapper .qsc-item header,
.dab-barChart .qs-container .qsc-item-wrapper .qsc-item header,
.dab-barChart .qv-object-header {
	margin-bottom: 10px;
}

@media screen and (max-width:480px) {
	.dab-lineChart .qs-container .qsc-item-wrapper .qsc-item header,
	.dab-barChart .qs-container .qsc-item-wrapper .qsc-item header,
	.dab-barChart .qv-object-header {
		margin-bottom: 60px;
	}
}

.qv-object-wrapper header {
	border-top-right-radius: 4px;
	border-top-left-radius: 4px;
}

.qv-object-wrapper .qsc-item header {
	border-top-right-radius: 0;
	border-top-left-radius: 0;
} 

.qs-container .qsc-item-wrapper .qsc-item header h2, 
.qv-object .qv-object-header h2 {
	color: white !important
}

.qv-object .qv-object-header {
	padding: 10px;
}

.lui-tab .lui-tab__text, 
.qv-object .qv-object-title {
	margin-bottom: 0;
}

.lui-tab .lui-tab__text {
	color: white !important;
}

.qs-container .qsc-item-wrapper .qsc-item {
	border: none;
}

/* Tabs */
.qs-container .qsc-tab-row .lui-tabset {
	display: flex;
	flex-flow: row nowrap;
	justify-content: space-between;
	background-color: #f0f0f0;
}

.usa-button-group .usa-button {
	background-color: #162e51;
}

.usa-button-group button.usa-button.usa-button--active {
	background-color: #005ea2;
}

.qs-container .qsc-tab-row .lui-tab.lui-active, .qs-container .qsc-tab-row .lui-tab:hover {
	background-color: #005ea2;
	border-bottom: 2px solid #005ea2;
}

.qs-container .qsc-tab-row .lui-tab {
	background-color: #162e51;
	border-bottom: 2px solid #162e51;
	border-top-right-radius: 4px;
	border-top-left-radius: 4px;
	margin-right: 2px;
	max-width: none;
}

.qs-container .qsc-tab-row .lui-tab:last-of-type{
	margin-right: 0px;
}

/*Header Icon Styles */
.dw-icon-container {
	position: absolute;
	right: 0;
	z-index: 5;
	padding-right: 5px;
	top: 38px;
}

.kpi-container i {
	color: #162e51
}

.kpi-container .dw-icon-container {
	position: relative;
	top: -20px;
	height: 25px;
	padding-right: 0;
	order: 2;
}

.kpi-container > div {
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
}

.dw-btn {
	background: transparent;
	border: none;
	color: white;
	cursor: pointer;
	font-size: 1.25rem;
	font-weight: normal;
	padding: 0;
}

.dw-btn i {
	padding: 10px 8px;
}

.dw-btn:hover {
	color: #dddddd;
}



.dw-btn--help::before {
	background-color: #343434fc;
    border: 2px solid white;
    border-radius: 4px;
    box-shadow: 3px 2px 7px rgba(0, 0, 0, 0.4);
    color: white;
	content: attr(title);
    font-size: 1rem;
	left: var(--help-left);
    line-height: 1.2;
	opacity: 0;
    position: fixed;
    padding: 15px;
	top: var(--help-top);
    text-align: left;
	visibility: hidden;
	width: var(--help-width);
	z-index: 0;
}


.dw-btn--help:focus::before {
	opacity: 1;
	position: absolute;
	transition: top 0.12s ease-out, opacity 0.2s cubic-bezier(1,0,.48,.98) 0.1s;
	visibility: visible;
	z-index: 1;
}

.dw-single-chart,
.js-map .dw-icon-container {
	top: 0;
}


@media screen and (max-width: 480px) {
	.dw-btn i {
		padding: 15px;
	}
	.dw-icon-container {
        top: 77px;
        background-color: #005ea2;
        right: unset;
        width: 100%;
        justify-content: space-around;
        display: flex;
    }

	.dw-single-chart, .js-map .dw-icon-container {
		top: 40px;
	}
}

.qv-object-map .map-content {
	background: #101010;
	border: 1px solid gray;
	border-top: none;
}


/* Text */

.qv-object .qv-inner-object {
	overflow: unset;
}

.ql-editor {
	overflow: unset !important;
}

.box {
    margin-bottom: 2rem;
    max-width: 100%;
    overflow: auto;
}

.box--related-info .box__title {
    background-color: #4d8055;
    border-color: #4d8055;
    color: #fff;
}

.box--rss .box__title, 
.box--related-info .box__title, 
.box--news .box__title, 
.box--multipurpose .box__title, 
.box--highlight .box__title, 
.box--blog .box__title, 
.box--alert .box__title {
    margin-bottom: 0;
    text-align: center;
	padding: 1.25rem;
}

.box span {
	font-size: 1.36rem !important;
}

.box--related-info .box__content {
	border: 1px solid #565c65;
    border-color: #4d8055;
	padding: 1.25rem;
	font-size: 1.06rem;
}

.box--rss .box__content, 
.box--related-info .box__content, 
.box--news .box__content, 
.box--multipurpose .box__content, 
.box--highlight .box__content, 
.box--blog .box__content, 
.box--alert .box__content {
    border-bottom-width: .25rem;
    margin: 0;
}

.usa-list li {
	font-size: 1.06rem;
}

.usa-button.js-clear {
	width: 100%
}
canvas {
	transition: all 0.25s ease-in;
}

/* Sticky */
.sticky-container {
	position: relative;
	background-color: #fff;
	z-index: 6;
	transition: position .2s ease-out;
}

.stick {
    position : fixed;
    left: 0;
    right: 0;
	animation: smoothScroll .15s forwards;
}

@keyframes smoothScroll {
	0% {
		transform: translateY(-250%);
	}
	100% {
		transform: translateY(-200%);
	}
}

@media screen and (max-width: 640px) {
	.MuiPaper-root.MuiPaper-elevation.MuiPaper-rounded.MuiPaper-elevation8.MuiPopover-paper.css-1dmzujt {
		width: 100% !important
	}
}