/* Responsive behavior, when resolution <= 890px, hide short text and show full text */

/* Add a black background color to the top navigation */

.subtitle {
  font-size: 110%;
}

.topnav {
  background-color: rgb(84,99,55);
  overflow: hidden;
  width: 100%;
  display: none;
}

/* Style the links inside the navigation bar */

.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
  height: 20px;
}

/* Hide the link that should open and close the topnav on small screens */

.topnav .icon {
  display: none;
}

/* Dropdown container - needed to position the dropdown content */

.dropdown {
  float: left;
  overflow: hidden;
}

/* Style the dropdown button to fit inside the topnav */

.dropdown .dropbtn {
  font-size: 16px;
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
  min-width: 180px;
  height: 50px;
  text-align: center;
}

/* Style the dropdown content (hidden by default) */

.dropdown-content {
  display: none;
  position: absolute;
  color: #eee;
  background-color: rgb(106, 126, 66);
  min-width: 180px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

/* Style the links inside the dropdown */

.dropdown-content a {
  float: none;
  color: white;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: center;
}

/* Add a dark background on topnav links and the dropdown button on hover */

.topnav a:hover,
.dropdown:hover .dropbtn {
  background-color: rgb(84, 99, 55);
  color: white;
}

/* Add a grey background to dropdown links on hover */

.dropdown-content a:hover {
  background-color: rgb(145, 170, 94);
  color: white;
}

/* Show the dropdown menu when the user moves the mouse over the dropdown button */

.dropdown:hover .dropdown-content {
  display: block;
}

/* Bottom navigation */

.navbar {
  overflow: hidden;
  position: fixed;
  bottom: 0;
  width: 100%;
  min-height: 40px;
}

.navbar a {
  float: left;
  display: block;
  color: #fff;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 15px;
}

.navbar a:hover {
  background: rgb(106, 126, 66);
  color: white;
}

.navbar a.active {
  background-color: rgb(106, 126, 66);
  color: white;
}

.navbar .icon {
  display: none;
}

@media screen and (max-width: 890px) {
  .langview {
    display: none;
  }
  .menuitem {
    display: none;
  }
  .righttext_title {
    display: none;
  }
  .righttext_items, .lefttext_items {
    display: none;
  }
  .examples_margin {
    margin-left:10px;
  }
  table#examples td:nth-child(1) {
    display:none;
  }
  .centertext_title {
    display: block;
  }
  .centertext_items {
    display: block;
  }
  .middlecolumn {
    width: 100%;
    padding: 10px;
    text-align: center;
  }
  .widecolumn {
    text-align: left;
  }
  .rightcolumn {
    padding-left: 0px;
    padding-right:5%;
  }
  .dateview {
    width: 30%;
  }
  .topnav {
    display:block;
  }
  .dottedline {
    display: block;
  }
  .menuview {
    padding-left: 5%;
  }
  .mapview {
    width: 100%;
    height: 500px;
  }
  .newsandeventsresp {
    width:100%;
    display:table;
  }
  .newsandevents {
    display: none;
  }
  .adminview {
    width: 100%;
    padding: 5px;
    text-align: center;
  }
  .wideimage {
    width: 100%;
  }
  
  .xtable {
    display: none;
  }

  #dispoview td:nth-child(4) {
    display:none;
  }
}

@media screen and (max-width: 890px) {
  .topnav a:not(:first-child),
  .dropdown .dropbtn {
    display: none;
  }
  .topnav a.icon {
    float: right;
    display: block;
    height: 20px;
  }
  .topnav.responsive {
    position: relative;
  }
  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
  .topnav.responsive .dropdown {
    float: none;
  }
  .topnav.responsive .dropdown-content {
    position: relative;
  }
  .topnav.responsive .dropdown .dropbtn {
    display: block;
    text-align: left;
  }
  .navbar a:not(:first-child) {
    display: none;
  }
  .navbar a.icon {
    float: right;
    display: block;
  }
  .navbar.responsive .icon {
    position: absolute;
    right: 0;
    bottom: 0;
  }
  .navbar.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}
