html * {
   font-family: sans-serif; !important
}

#apt{ width: 100px;}

/* Routing */
.milestext {
  display: inline;
  font-size: 80%;
  color: #888;
}

input{ width: 250px; }

.map-marker { 
  width: 50px; cursor: pointer;
  }

/* Menu Icon */
.em,.em-svg{
  height: 0.8em;
  width: 0.8em;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  display: inline-block;
  vertical-align: middle
}

.em-vpn{
  background-image: url('lock_black.png')
}

.em-logout{
  background-image: url('logout.png')
}

.em-home{
  background-image: url('home.png')
}

/* TRC popup */
.popup-content {
  display: none;
  width: 80%;
  height: 80%;
  position: fixed;
  top: 10%;
  left: 10%;
  background-color: white;
  border: 2px solid #ccc;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  overflow: hidden;
}

.popup-header {
  background-color: #003366;
  color: white;
  padding: 10px;
  font-size: 1.2em;
  position: sticky;
  top: 0;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.popup-body {
  height: calc(100% - 60px);
  overflow-y: auto;
  padding: 20px;
}

.close-button button {
  font-size: 1.2em;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

.left{
  margin-top: 0em;
  margin-bottom: 0em;
  font-size: 12pt;
  line-height: 1.5em;
  clear: both;	
}

/* Search input */
#gfg {
  width: 100%;
  font-size: 24px;
  padding: 12px 20px 12px 40px; 
  border: 1px solid #ddd; 
  margin-bottom: 12px; 
}

/* Table */
td,
th {
  border: 1px solid rgb(190, 190, 190);
  padding: 10px;
}

td {
  text-align: center;
}

tr:nth-child(even) {
  background-color: #eee;
}

th[scope='col'] {
  background-color: #696969;
  color: #fff;
}

th[scope='row'] {
  background-color: #d7d9f2;
}

caption {
  padding: 10px;
  caption-side: bottom;
}

table {
  border-collapse: collapse;
  border: 2px solid rgb(200, 200, 200);
  letter-spacing: 1px;
  font-size: 0.6rem;
}

#myTable {
  border-collapse: collapse;
  width: 100%; 
  border: 1px solid #ddd;
  font-size: 18px; 
}

#myTable th, #myTable td {
  vertical-align: top;
  line-height: 150%;
  text-align: left; 
  padding: 12px;
}

#myTable th {
  color: #FFF;
  background-color: #003366;
}

#myTable tr {
  border-bottom: 1px solid #ddd;
}

#myTable tr.header, #myTable tr:hover {
  background-color: #ddd;
}

.codetext {
  display: none;
}

/* Top Nav */
.topnav {
  overflow: hidden;
  background-color: #666;
}

.topnav a {
  float: left;
  font-size: 16px;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

.topnav a.active {
background-color: #003366;
color: white;
}

.topnav-right {
  float: right;
}

.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  font-size: 16px;  
  border: none;
  outline: none;
  color: #f2f2f2;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

button.dropbtn.active {
    background-color: #003366;
    color: white;
}

.topnav a:hover, .dropdown:hover .dropbtn {
  background-color: #003366;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: #ddd;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* School Zone Map */
#mapsz {height: 250px; width: 100%;}

.sz {border-radius: 8px; color: #FFFFFF; font-size: 14px; padding: 10px 15px; position: relative; white-space: pre-line; line-height: 1.25em;}

.sz.es {background-color: #2CA1C8;}
.sz.es::after {content: ""; position: absolute; left: 50%; top: 100%; transform: translate(-50%, 0); width: 0; height: 0; border-left: 8px solid transparent; border-right: 8px solid transparent; border-top: 8px solid #2CA1C8; }		

.sz.ms {background-color: #DA2C5B;}
.sz.ms::after {content: ""; position: absolute; left: 50%; top: 100%; transform: translate(-50%, 0); width: 0; height: 0; border-left: 8px solid transparent; border-right: 8px solid transparent; border-top: 8px solid #DA2C5B; }		

.sz.is {background-color: #2FB065;}
.sz.is::after {content: ""; position: absolute; left: 50%; top: 100%; transform: translate(-50%, 0); width: 0; height: 0; border-left: 8px solid transparent; border-right: 8px solid transparent; border-top: 8px solid #2FB065; }				

.sz.hs {background-color: #F4B15C;}
.sz.hs::after {content: ""; position: absolute; left: 50%; top: 100%; transform: translate(-50%, 0); width: 0; height: 0; border-left: 8px solid transparent; border-right: 8px solid transparent; border-top: 8px solid #F4B15C; }				

/* School Zone Time Bars */
.time-bar {display: flex; align-items: center; width: 90%; margin: 10px; border: 1px solid #ccc; padding: 1px; border-radius: 8px; background-color: white; }
.bar { position: relative; width: 100%; height: 30px; background-color: #ddd; border-radius: 5px; overflow: hidden;}
.szbar {position: absolute;height: 100%;background-color: #191970;border-radius: 5px;display: flex;justify-content: center;align-items: center;color: white;font-weight: bold;font-size: .7em;}

/* Error Page */
.econtainer {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.ebox {
    width: 300px;
	height: 175px;
    padding: 10px;
	background-color: #333;
    border: 2px solid #222;
	border-radius: 15px;
    text-align: center;
	color: red;
}

.eh {
    border-bottom: 2px solid red;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.ep {
    font-size: 14px;
    color: red;
}

/* Forms List */
.forms {
  list-style: none;
  padding: 0;
}

.forms-item {
  padding: 0;
  margin-bottom: 10px;
}

.forms-link {
  display: block;
  background: #f4f4f4;
  padding: 10px;
  width: 250px;
  border-radius: 5px;
  transition: background 0.3s ease-in-out;
  text-decoration: none;
  color: inherit;
}

.forms-link:hover {
  background: #003366;
  color: white;
}
