/**
* set padding to make room for bootstrap menu
*
*/
body {
	padding-bottom: 30px;
	touch-action: auto !important
}

body, button, input, select, textarea {
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol" !important;
}

.sticky-container {
	position: fixed;
	width: 100%;
	z-index: 3;
}

.lui-popover-container {
	z-index: 1000000;
}

#dashboard.container {
	padding-top: 185px;
}

.dashboard-tabs {
	background-color: #0071bc;
}

.dashboard-tabs a.nav-link {
	color: #fff;
	border-radius: 0;
}

.dashboard-tabs .nav-item a.active, .dashboard-tabs a.nav-link:hover {
	background-color: #205493;
}

.nav-fill {
	margin: auto;
}

.altrow {
	margin-top:15px;
	margin-bottom: 15px;
	background-color: #eee;
}
/* Hide right button panel on CurrentSelections bar, hide left button panel at mobile size */
.qv-collapsed-listbox {
    background-color: #FFFFFF;
    border-color: #404040;
}

.qv-panel-current-selections .qv-selections-pager {
    padding-right: 0px;
}

.qv-filterpane-collapsed {
	background: #fff;

}

h6 {
		text-transform: none;
}


@media (max-width: 992px) {
	#dashboard.container {
		padding-top: 225px;
	}
}

@media (max-width: 767px) {
	.affix {
		position: static;
	}
	.highchart {
		width: 350px;
	}
	#dashboard.container {
		padding-top: 265px;
	}
}

@media (max-width: 650px) {
    .buttons.borderbox {
        display: none;
    }
    .qv-panel-current-selections .qv-selections-pager {
        padding-left: 0px;
    }
	#dashboard.container {
		padding-top: 305px;
	}
}

@media (max-width: 576px) {
	#dashboard.container {
		padding-top: 345px;
	}
}

@media (max-width: 396px) {
	#dashboard.container {
		padding-top: 385px;
	}
}

/* Bootstrap style fixes */
.sel-toolbar-span-icon { 
    top: -10px; 
}
.qv-panel-current-selections .qv-selections-pager {
    padding-right: 0px;
}
@media (max-width: 600px) {
    .buttons.borderbox {
        display: none;
    }
    .qv-panel-current-selections .qv-selections-pager {
        padding-left: 0px;
    }
}
/*
* need to set the height for objects
* set top padding to make room for selection toolbar
*/
/* So jumbotron clears selection bar */
.jumbotron {
    margin-top: 36px;
	padding:10px;
	
}
/* Factsheet properties */
.factsheet {
	font-family: 'QlikView Sans', sans-serif;
	font-weight: bold;
	font-size: 16px;
	color: #808080;
}

/* Modify bootstrap container */
.container {
    /*width: 98% !important;*/
	max-width: 1400px;
}
/* Set heights for chart areas */
.qvobject, .qvplaceholder {
    height: 415px;
	width: 100%;
}

/* Keeps object heading text from cutting off */
.qv-object .qv-object-title .qv-object-title-text {
	max-width: 85%;
	line-height: 2;
	margin: 0.5rem 0 -0.5rem;
}

/*
 * Overrides Bootstrap navbar z-index to avoid conflict with selections bar
 */
button.qcmd, button.utilitiy-btn {
  background-color: #76b66c;
  border: 1px solid #76b66c;
  border-radius: 4px;
  color: #fff;
  display: inline-block;
  font-size: 87.5%;
  font-weight: bold;
  height: 30px;
  line-height: 22px;
  margin: 0 0 1.5em;
  padding: 0 .5em;
  text-align: center;
  text-decoration: none;
  vertical-align: baseline;
  cursor: pointer;
}

button:focus,button:hover {
	background-color:#85cf7a;
	border-color:#85cf7a;
	outline:0;
}
	
.qv-st-links-interactive .qv-st-data-cell a, .qv-st-links-interactive .qv-st-data-cell a:visited {
    color: #52a2cc !important;
    cursor: pointer !important;
	text-decoration: underline !important;
}

/* Tab styles */ 
.nav-tabs > li > a {
  border-bottom: 1px solid #4477aa;
  cursor: pointer;
}

.nav-tabs > li.active > a {
  border: 1px solid #4477aa !important;
  background-color: #d2e3f8 !important;
  border-bottom-color: transparent;
  font-weight:bold;
}

.nav-tabs > li > a:hover{
  background-color: #d2e3f8 !important;
  border: 1px solid #4477aa !important;
  font-weight:bold;
}

// Specific element styles
#facilities_table_dl .btn {
	height: 100%;
}

.bootstrap_inside .btn {
	height: 100% !important;
}

/* Card styles */
.card-container {
	width: 100%;
	margin-bottom: 1rem;
	
}

.card-content {
	padding: 0 1rem 1rem 1rem;
	box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
}

.card-actions {
	position: absolute;
	right: 1.5rem;
	padding: 0;
	text-align: right;
	z-index: 2;
	width: 100px;
	margin-left: auto;
}

.card-actions button {
	cursor: pointer;
	background-color: transparent;
	color: rgb(128, 128, 128);
	border: none;
	font-size: 24px !important;
	margin: 1rem 0;
}

.card-container.fullscreen {
	background-color: #ffffff;
	position: fixed;
	padding: 0;
	top: 2.3rem;
	left: 0;
	height: calc(100% - 2.3rem);
	width: 100%;
	max-width: 100%;
	z-index: 10000000;
}

.card-container.fullscreen .card-content,
.card-container.fullscreen .qvobject {
	height: 100%;
}


/* Hide download btn for maps */
.map .downloaddata {
	display: none;
}

/* .card-container .qv-object .qv-object-title {
	margin-top: 0.75rem;
	margin-bottom: 2rem;
}

.card-container.has-subtitle .qv-object .qv-object-title {
	margin-top: 0;
	margin-bottom: 2rem;
}

.card-container .qv-object .qv-object-footnote, .qv-object .qv-object-subtitle {
	margin-top: -1.5rem;
} */

/* Legend styles */
.legend {
	margin-bottom: 1rem;
	padding: 0.75rem;
	box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
	height: calc(100% - 1rem);
}

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

.legend-square {
	border: 1px solid #ccc;
    display: inline-block;
	vertical-align: middle;
    width: 17px;
    height: 17px;
    margin: 0 4px 4px;
}

.legend.inline {
	height: unset;
}

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

.hidden {
	display: none;
}

/* Built-in qlik styles */
#popup {
	background-color: #c3534b;
	color: #FFFFFF;
	position: fixed;
	max-width: 250px;
	padding: 10px;
	margin: 10px;
	bottom: 0;
	right: 0;
	display: none;
	border-radius: 5px;
	z-index: 6;
	font-family: sans-serif;
}

.close {
	cursor: pointer;
	background: 0 0;
	border: 0;
	float: right;
	font-size: 21px;
	font-weight: 700;
	line-height: 1;
	color: #000;
	text-shadow: 0 1px 0 #fff;
	opacity: .2;
	position: absolute;
	right: 9px;
	top: 7px;
}

.close:hover {
	opacity: .5;
}

#popupText {
	margin-right: 23px;
}

.data-toggle {
	width:200px;
	color: white !important;
	padding: 0px 10px 0px 10px;
}


.data-filter { 
	padding: 0px 5px 0px 5px;
	height: 40px;

 }