#flash_alert {
  text-align: center;
}

#login {
  color: green;
}

#logout {
  color: red;
}

#searchbox {
  padding-top: 0.75em;
}

footer {
  position: fixed;
  bottom: 0;
  width: 75%;
  height: 60px;
  line-height: 60px;
  text-align: center;
  margin-left: 10%;
}

.site {
  margin-left: 1em;
}

.nav_link:link {
  text-decoration: none;
}

.footer_item {
  margin-right: 3%;
}

.editor_btn {
  float: right;
}

body {
  background-color: lightgray;
}

img {
  text-align: center;
}

.nav_bar_item {
  font-weight: bolder;
}

/* instruction navigation */

.instruction-ul {
  list-style-type: none;
  margin: 0 0 0 1em;
  padding: 0;
  overflow: hidden;
}

.instruction-ul li {
  float: left;
}

.instruction-ul li a {
  display: block;
  text-align: center;
  padding-right: 2em;
  text-decoration: none;
}

.instruction-link {
  color: dimgray;
  font-weight: bold;
}

.instruction-link:hover {
  text-decoration: none;
}

.faw-icon {
  font-size: large;
}

.remove-icon {
  float: right;
  font-size: x-large;
}

a, a:hover, a:active, a:visited, a:focus {
  text-decoration: none;
}

/* search */

#search_input {
  padding-left: 1em;
}

#search_ul {
  /* Remove default list styling */
  list-style-type: none;
  padding: 0;
  margin: 0;
  position: absolute;
  width: 10%;
}

#search_ul li a {
  border: 1px solid #ddd;
  margin-top: -1px;   /* Prevent double borders */
  background-color: #f6f6f6;
  padding: 2%;
  text-decoration: none;
  color: black;
  display: none;
}

#search_ul li a:hover:not(.header) {
  background-color: lightgray;  /* Add a hover effect to all links, except for headers */
}

.navbar-nav li:hover > ul.dropdown-menu {
  display: block;
}
.dropdown-submenu {
  position:relative;
}
.dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top:-6px;
}

/* rotate caret on hover */
.dropdown-menu > li > a:hover:after {
  text-decoration: underline;
  transform: rotate(-90deg);
} 
