@import url('https://fonts.googleapis.com/css2?family=Aleo&display=swap');
@font-face { font-family: Montserrat-Medium; src: url('Montserrat-Medium.ttf'); }
@font-face { font-family: Montserrat-Regular; src: url('Montserrat-Regular.ttf'); } 
@font-face { font-family: Montserrat-Light; src: url('Montserrat-Light.ttf'); } 

:root {
  --darkblue: #1A1D27;
  --lightgray: #f0f0f0;
  --white: #ffffff;
  --gradeA: #00F6F6;
  --gradeB: #00E19C;
  --gradeC: #FFCC00;
  --gradeD: #EB8215;
  --gradeF: #C71935;
}

body { 
	margin:0;
	padding:0; 
	background-color:  var(--darkblue);
}

p {
	font-size: 14px;
}

h1 {
    font-family: Montserrat-Medium;
    font-weight: 500;
    line-height: 44px;
    color: #FFCC00;
}

h2 {
	  font-family: Montserrat-Medium;
	  letter-spacing: 1px;
	  font-size: 12px;
}

h3 {
	  font-family: Montserrat-Medium;
	  letter-spacing: 2px;
	  font-size: 14px;
	  color: #FFF;
	  margin-block-end: 0.5em;
	  margin-block-start: 0em;
}

img {
	width: 50%;
    height: auto;
}

.logo-container {
	width: 75%;
}

#map {
	position:absolute;
	top:0;
	bottom:0;
	left: 0;
	width: 100%;
	/*left: 25%;
  width: 75%;*/
}

.sidebar {
	position: absolute;
	top: 0;
	color: #FFF;
	width: 25%;
	height: 100%;
	font-family: 'Montserrat-Light', sans-serif;
	font-size: 12px;
	background-color: var(--darkblue);
	z-index: 1;
}

.sidebar-header {
	padding-left: 10px;
	padding-right: 15px;
}

.listings {
  height: 100%;
  overflow: auto;
  padding-bottom: 60px;
  padding-left: 14px;
  cursor: pointer;
}

.listings .item {
  border-bottom: 1px solid #eee;
  padding: 10px;
  text-decoration: none;
}

.listings .item:hover {
    background: #f1f1f1;
}

.pad2 {
    padding: 20px;
    padding-right: 50px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.mapboxgl-popup-content {
	min-width: 400px;
	font: 12px/20px 'Helvetica Neue', Arial, Helvetica, sans-serif;
	opacity: 1;
	background-color: var(--lightgray);
	border-radius: 5px;
	padding: 15px;
}

.mapboxgl-popup-content h3 {
	  background: #04003f;
	  color: #FFF;
	  margin: 0;
	  display: block;
	  padding: 10px;
	  border-radius: 3px 3px 0 0;
	  font-weight: 700;
}

.mapboxgl-popup {
	max-width: 400px !important;
}

.popup-header-container {
	height: 55px;
}

.popup-school-name {
	width: 70%;
	float: left;
	font-family: Aleo;
	font-weight: 500;
	font-size: 25px;
	padding-top: 7px;
	padding-left: 18px;
	line-height: 28px;
}

.letter-grade-A {
	width: 30%;
	float: left;
	background-color: var(--gradeA);
	height: 65px;
	width: 65px;
	border-radius: 7px;
	display: table;
}

.letter-grade-B {
	width: 30%;
	float: left;
	background-color: var(--gradeB);
	height: 65px;
	width: 65px;
	border-radius: 7px;
	display: table;
}

.letter-grade-C {
	width: 30%;
	float: left;
	background-color: var(--gradeC);
	height: 65px;
	width: 65px;
	border-radius: 7px;
	display: table;
}

.letter-grade-D {
	width: 30%;
	float: left;
	background-color: var(--gradeD);
	height: 65px;
	width: 65px;
	border-radius: 7px;
	display: table;
}

.letter-grade-F {
	width: 30%;
	float: left;
	background-color: var(--gradeF);
	height: 65px;
	width: 65px;
	border-radius: 7px;
	display: table;
}

.grade {
	display: table-cell;
  vertical-align: middle;
  text-align: center;
	font-family: Montserrat;
	font-weight: 700;
	letter-spacing: 1px;
	font-size: 50px;
	color: #FFF;
}

#menu {
	background: #1a1d27;
	width: 100%;
	font-family: 'Open Sans', sans-serif;
	position: relative;
	text-align: center;
}

#menu a {
	font: 12px/20px 'Montserrat-Regular', 'Helvetica Neue', Arial, Helvetica, sans-serif;
	font-size: 13px;
	background-color: #30323a;
	color: #FFF;
	display: inline-block;
	margin: 0;
	padding: 0;
	padding: 10px;
	text-decoration: none;
	border-bottom: 0;
	border-right: 1px;
	text-align: center;
	border-radius: 10px;
	margin-left: 15px;
	margin-right: 15px;
}

#menu a:last-child {
	border-right:0;
	border: none;
}

#menu a:hover {
	background-color: #4a4d56;
	color: #c6c9d1;
	margin-left: 15px;
	margin-right: 15px;
}

#menu a.active {
	background-color: #8c8f9a;
	color: #ffffff;
	border-radius: 10px;
	margin-left: 15px;
	margin-right: 15px;
	font-weight: bold;
}

#menu a.active:hover {
	background: #c6c9d1;
	border-radius: 10px;
	margin-left: 15px;
	margin-right: 15px;
}

# menu .all-off {

}

#municipal-overlay {
	height: 0px;
	width: 1000px;
	background: #000;
	right: 10px;
	text-align: right;
	bottom: 142px;
	position: absolute;
	color: #fff;
	font: 48px/96px 'Aleo-Regular', 'Source Sans Pro', 'Helvetica Neue', Arial, Helvetica, sans-serif;
}

.map-overlay {
	font: 12px/20px 'Helvetica Neue', Arial, Helvetica, sans-serif;
	position: absolute;
	width: 200px;
	bottom: 72px;
	right: 0;
	padding: 10px;
}

.map-overlay .map-overlay-inner {
	background-color: #fff;
	box-shadow:0 1px 2px rgba(0, 0, 0, 0.10);	
	padding: 10px;
	margin-bottom: 10px;
}

fieldset { border:0px  }

#menu2 {
	background: #1a1d27;
	position: absolute;
	z-index: 1;
	bottom: 10px;
	right: 10px;
	width: 375px;
	font-family: 'Montserrat', 'Open Sans', sans-serif;
}

.pill {
	margin-bottom: 10px;
}

.button {
	background-color: #04003f;
	text-align: center;
	color: #fff;
	display: inline-block;
	margin: 0px;
	padding: 10px;
	position: relative;
	border: none;
	cursor: pointer;
	white-space: nowrap;
	text-overflow: ellipsis;
	font-family: Montserrat;
	font-weight: 700;
	font-size: 18px;
}

.button.a {
	width: 20px;
	background-color: #00F6F6;
	text-decoration: none;
  border-radius: 10px;
	margin-right: 4px;
}

.button.all-off {

}

.button.Off {
	width: 20px;
	background-color: #d5d5d5;
	text-decoration: none;
	border-radius: 10px;
	margin-right: 4px;
}

button.Off:hover {}

.button.a:hover{
	box-shadow:inset 0 0 0 3px rgba(0, 0, 0, 0.2);
}

.button.a:active{
	background-color: #a5d4b2;
}

.button.b {
	width: 20px;
	background-color: #00E19C;
	text-decoration: none;
	border-radius: 10px;
	margin-right: 4px;
}

.button.b:hover{
	box-shadow:inset 0 0 0 3px rgba(0, 0, 0, 0.2);
}

.button.c {
	width: 20px;
	background-color: #fc0;
	text-decoration: none;
	border-radius: 10px;
	margin-right: 4px;
}

.button.c:hover{
	box-shadow:inset 0 0 0 3px rgba(0, 0, 0, 0.2);
}

.button.d {
	width: 20px;
	background-color: #EB6600;
	text-decoration: none;
	border-radius: 10px;
	margin-right: 4px;
}

.button.d:hover{
	box-shadow:inset 0 0 0 3px rgba(0, 0, 0, 0.2);
}

.button.f {
	width: 20px;
	background-color: #C12121;
	text-decoration: none;
	border-radius: 10px;
}

.button.f:hover{
	box-shadow:inset 0 0 0 3px rgba(0, 0, 0, 0.2);
}

.school-filter-btn {
	background-color: #8c8f9a;
	color: #ffffff;
	border-radius: 10px;
	margin-right: 30px;
}

.legend {
	position: absolute;
	bottom: 28px;
	right: 8px;
	width: 400px;
	padding: 15px;
	background-color: var(--darkblue);
	text-align: left;
	border-radius: 10px;
}

.mobile-header {
	position: absolute;
	background-color: #FFF;
	display: none;
}


@media all and (max-width: 600px) {
	  /*
  	.sidebar { display: none; }
  	#map { left: 0%; width: 100%; }
  	.mobile-header {
  		display: block;
  		width: 100%;
  		top: 0;
  		left: 0;
  		height: 100px;
  		z-index: 1;
  	}
  	*/

	.legend {
		width: 100%;
		right: auto;
	}

  .mapboxgl-popup {
  	width: 150px;
  }
  .mapboxgl-popup-content {
  	min-width: 150px;
  }
}