/*sidebar customizations for reporting */

#main-header li {
	padding-top:16px;
	border: 2px solid #fff;
	padding-left:4px;
}

#main-header ul {
	border-top: 1px solid #fff;
	border-bottom: 1px solid #fff;
}

li.current_page_item {
	background-color:#fff;
}

#main-header container.clearfix.et_menu_container {
	margin:0px !important;
}

body div#page-container header#main-header div.container.clearfix.et_menu_container {
		margin:0px !important;
}

/* probably ill advised 
#et-main-area .container {
	max-width:100% !important;
	width: 100% !important;
	padding: 40px 30px 30px 10px !important;
}*/

/* Make every post full width */

.et_right_sidebar #sidebar {
  display: none;
}

/*
.et_right_sidebar #left-area {
  width: 1080px;
  margin: 0px;
  padding: 0px;
}
*/

.et_right_sidebar #main-content .container:before {
  display: none;
}

/*Height at least the window size */
#main-content {
	min-height:100vh;
}

.et-box-content{
	color:#666 !important;
}

/* Place chart start */

.floatingBox {
	padding: 3em 2em 3em 2em;
	position: relative;
	background-color: #fff;
	border-radius: 8px;
	-webkit-box-shadow: 0 0 40px 0 rgba(0,0,0,.3);
	box-shadow: 0 0 40px 0 rgba(0,0,0,.3);
	margin:18px 0px 18px 0px;
}

.locationChart {
	height:400px;
	color:#fff;
	border:none !important;
	font-size:.7rem;
}

.locationChart th {
	background-color: #fff !important;
	border: 0 !important;
}

@media only screen and (min-width: 565px) {
.locationChart {
	font-size:.9rem;
	font-weight:bold;
}
}

/* Place chart end */

/* Fixes for all CSS charts */

.fixedTH {
	text-align: center;
	color:#333 !important;
	padding: 12px 1px 1px 1px !important;

}

.charts-css.column:not(.stacked) tbody tr td {
	max-width:80px;
	margin:0 auto
}
/* Fixes for all CSS charts end */

.geoFullWidthContainer {
	width:100%;
}



.CrimeGradeSurround{
	text-align:center;
	background-color: #DBE8F4 !important;
	margin: 12px 0px 12px 0px;
	padding: 30px 10% 30px 10%;
}

.widerContainer {
	background-color:#fff;
}

.wideMapHolder {
	margin:auto;
	max-width: min(85%, 160vh) !important;
}

.gradeBox {
	background:#fff;
	display:inline-block;
	margin:10px;
	padding: 40px 20px 40px 20px;
	border-top: 6px solid; 
	border-radius: 4px;
	width:100%;
}

.gradeLinks {
	text-decoration:underline;
	color:inherit;
}

.infoLink a{
	text-decoration:underline;
	color:#bebebe;
	font-size:small;
}

.overallGradeLetter {
	font-size:4rem;
	padding-bottom:1.5rem;
	line-height: 4rem;
}

.overallGradeText {
	font-size:1.5rem;
}

.crimeCallout {
	color: #dd4545;
	font-size:1.25rem;	
}

.crimeAnswer {
	color:#207440;
	font-size:1.25rem;	
}

.crimeFacts {
	text-align:left;
	padding-bottom:1rem !important;
}

.cta1 {
	background: #141481;
  color: #ffffff !important;
  display: inline-block !important;
  text-align: center;
  padding: 13px 35px 13px 35px;
  border-radius: 4px;
  margin: 10px;
  border: none;
}

.ctaBlock {
	max-width: 99vw;
}

::-moz-selection {
  background: #004A2A;
  color: #ffffff;
}

::selection {
  background: #004A2A;
  color: #ffffff;
}

table tr:nth-child(odd) td{
  background-color: #E4E4E4;
}

table th, .summaryStats th{
  background-color: #666 !important;
	color: #fff !important;
  text-transform: none;
}

.mtr-table td:first-child {
	font-weight:bold;
}

.gradeComponents tr td, .gradeComponents tr{
	background-color:#fff !important;
	border-style:none;
	padding:5px !important;
}

.gradeComponents {
	border-style:none !important;
}

.blankRow, td.blankRow.mtr-td-tag{
	color:transparent !important;
	background-color: #fff !important;
	border-color: #fff !important;
}

.SummaryStats{
	padding:10px;
}
.CompareTable{}

.comment-body {
  padding-left: 0px;
}

.breadcrumb {
	font-size: calc(100% - 2px);
}

.summaryWrapper {
  width:100%;
  text-align:center;
	margin-bottom:12px;
}

.summaryBox {
  border:2px solid #022845;
  width:60%;
  margin:auto;
}

.summaryTopBackground {
  background-color:#022845;
  padding:10px;
}

.summaryHeading {
  color:#fff;
  font-size: 18px;
  line-height: 20px;
  font-weight:bold;
}

.summaryText {
  padding:20px;
}

/* Map and nav stuff start */

.AboveMapMenu {
  border:1px solid #d9d9d9;
  margin: 0px 12px -2px 12px; 
}

.PlaceNavMenu p {
  padding:0px;
}

.placeNavList2 {
	padding-left:0px !important; 
}

.MapSurround {
	position: relative;
  background: #f4f4f4;
  border:1px solid #d9d9d9;
  border-top: 0 none;
  margin: 0px 12px 12px 12px;
}

/* force mapbox maps to absolute positioning within a 16:9 container */
.mapboxgl-map {
	position: absolute !important;
}

/* For browsers that don't support the full screen API, force the map to go fullscreen when on mobile */
.map--fullscreen {
	position: fixed !important;
	width: 100% !important;
	height: 100% !important;
	top: 0px;
	left: 0px;
	z-index: 99999;
}

.legend-key{
  padding: .5em;
  min-height: 1em;
  min-width: 115px;
  display: inline-block;
  color: white;
  text-align: center;
}

.highestvalue {
    background-color: #473383;
}

.highvalue {
    background-color: #207440;
}

.midvalue {
    background-color: #e1cc62;
}

.lowvalue {
    background-color: #dd4545;
}

.zerovalue {
    background-color: #c7c7c7;
}

.keyblock {
  text-align: center;
}

/* Map and nav stuff end */

.after-legend {
	font-size: calc(100% - 1px);
	text-align:center;
}


/* SimpleMaps fix for Divi */
.simplemapsfix {
  position: relative !important;
}

/* turturkeykey - all elements with ids starting with map */
[id^="map"] {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    left: 0;
}

/* turturkeykey code start */
.MapSurround .triggerWrapper, .MapSurround .mapWrapper { /* wrapper for the static img; it will act as wrapper for the hover effect */
  /* added for aspect ratio preservation */
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  position: relative;
}
.triggerWrapper:hover {
	cursor: pointer;
}
.triggerWrapper:hover:after, .triggerWrapper:hover:before { /* fade the shadow and message in */
 	  opacity: 1; 
    -ms-transform: translateY(0);
    -moz-transform: translateY(0);
    -webkit-transform: translateY(0);
    transform: translateY(0);
}

.triggerWrapper::before { /* shadow definition */
    background: rgba(0,0,0,0.4);
    content: '';
  	opacity: 0.001;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1;
    -ms-transition: opacity 400ms ease;
    -moz-transition: opacity 400ms ease;
    -webkit-transition: opacity 400ms ease;
    transition: opacity 400ms ease;
}
.triggerWrapper::after { /* message definition */
    background: rgba(0,0,0,0.4);
    border: 1px solid #737373;
    color: #fafaff;
    content: 'Load Interactive Map'; /* you can customize the text here */
  	opacity: 0.001;
    height: 54px;
    left: 0;
    position: absolute;
    top: 0;
    margin: auto;
    width: 220px; /* if you add longer text, you may want to increase this width */
    bottom: 0;
    right: 0;
    z-index: 2;
    -ms-border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    line-height: 54px;
    font-size: 18px;
    -ms-text-shadow: 0 1px #000;
    -moz-text-shadow: 0 1px #000;
    -webkit-text-shadow: 0 1px #000;
    text-shadow: 0 1px #000;
    text-align: center;
    font-weight: bold;
    -ms-transition: all 250ms ease;
    -moz-transition: all 250ms ease;
    -webkit-transition: all 250ms ease;
    transition: all 250ms ease;
    -ms-transform: translateY(6px);
    -moz-transform: translateY(6px);
    -webkit-transform: translateY(6px);
    transform: translateY(6px);    
}

.triggerWrapper br {
	display:none;
}

.MapSurround .triggerWrapper img {/* adjust img size to match the map */
 	position: absolute;
  left: 0;
  width: 100%;
  top: 0;
  bottom: 0;
  margin: auto;
}
/* turturkeykey code end */

.standardWrapper {
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  position: relative;
}

.gradeA\+{border-color:#207440;}
.gradeA{border-color:#448145;}
.gradeA\-{border-color:#608d4a;}
.gradeB\+{border-color:#7b9a4e;}
.gradeB{border-color:#94a653;}
.gradeB\-{border-color:#aeb358;}
.gradeC\+{border-color:#c7bf5d;}
.gradeC{border-color:#e1cc62;}
.gradeC\-{border-color:#e3bb5e;}
.gradeD\+{border-color:#e39855;}
.gradeD{border-color:#e38551;}
.gradeD\-{border-color:#e1724d;}
.gradeF{border-color:#dd4545;}

.gradeA\+Txt{color:#207440;font-weight:bold;}
.gradeATxt{color:#448145;font-weight:bold;}
.gradeA\-Txt{color:#608d4a;font-weight:bold;}
.gradeB\+Txt{color:#7b9a4e;font-weight:bold;}
.gradeBTxt{color:#94a653;font-weight:bold;}
.gradeB\-Txt{color:#aeb358;font-weight:bold;}
.gradeC\+Txt{color:#c7bf5d;font-weight:bold;}
.gradeCTxt{color:#e1cc62;font-weight:bold;}
.gradeC\-Txt{color:#e3bb5e;font-weight:bold;}
.gradeD\+Txt{color:#e39855;font-weight:bold;}
.gradeDTxt{color:#e38551;font-weight:bold;}
.gradeD\-Txt{color:#e1724d;font-weight:bold;}
.gradeFTxt{color:#dd4545;font-weight:bold;}

/* zip search box start */

.FormBodyInput {
  border-radius: 6px 6px 6px 6px;
  height: 50px;
  padding: 16px !important;
  font-size: 16px;
  max-width: 195px;
}

.FormBodySubmit {
  border-radius: 6px 6px 6px 6px;
  background:#4141AA;
  border-color:#4141AA;
  border: none;
  color:#fff;
  height:50px;
  font-size: 16px;
  margin-left: 6px;
  margin-bottom: 14px;
}


/* zip search box end */

.LinkBlocks p {
	padding-bottom: 0px;
}
