* {
  box-sizing: border-box;
}
html,
body {
  font-family: sans-serif;
  font-size: 14px;
  line-height: 135%;
  color: #333333;
  background-color: #EAEDF2;
}
#page-wrapper {
  max-width: 920px;
  padding: 40px;
  margin: 20px auto;
  background-color: #fff;
}
a {
  color: #369;
}
p,
ul,
ol,
h1,
h2,
h3,
h4,
hr {
  margin-bottom: 20px;
}
hr {
  background-color: #ccc;
  height: 1px;
  border: none;
}
#header {
  position: relative;
  background-color: #2A3143;
  height: 65px;
  overflow: visible;
  z-index: 2;
}
#header h1 {
  background-color: #1A1E29;
  float: left;
  margin: 0;
}
#header h1 a {
  display: block;
  height: 65px;
  padding: 15px 60px 0 15px;
  border: 1px solid #0E0B20;
}
#header a,
#header a:active {
  outline: none !important;
}
#menu {
  overflow: visible;
  height: 65px;
  margin: 0;
}
#menu > li {
  display: block;
  float: left;
  position: relative;
  transition-property: background-color;
  transition-duration: 0.2s;
}
#menu > li > a,
#menu > li > span {
  display: block;
  border-left: 1px solid #3A374A;
  border-right: 1px solid #222035;
  height: 65px;
  line-height: 65px;
  color: white;
  text-decoration: none;
  vertical-align: middle;
  padding: 0 20px 0 15px;
  position: relative;
}
#menu > li > a > img,
#menu > li > span > img {
  opacity: 0.75;
  height: 25px;
  vertical-align: middle;
  display: inline-block;
  position: relative;
  margin-right: 5px;
  top: -1px;
  transition-property: opacity;
  transition-duration: 0.2s;
}
#menu > li > a:before,
#menu > li > span:before {
  content: "";
  display: block;
  position: absolute;
  width: 1px;
  right: -2px;
  top: 0;
  bottom: 0;
  background-color: #3A374A;
}
#menu > li > a {
  font-weight: bold;
}
#menu > li > #menu-dbs-link,
#menu > li #menu-login-link {
  padding-right: 40px;
  position: relative;
}
#menu > li > #menu-dbs-link:after,
#menu > li #menu-login-link:after {
  content: "";
  display: block;
  position: absolute;
  background-image: url("../images/down-arrow.png");
  background-repeat: no-repeat;
  background-size: contain;
  width: 12px;
  height: 12px;
  right: 20px;
  top: 50%;
  margin-top: -6px;
  opacity: 0.75;
  transition-property: opacity;
  transition-duration: 0.2s;
}
#menu > li #menu-login-link {
  font-weight: normal;
}
#menu > li:hover {
  background-color: #343c53;
}
#menu > li:hover > a > img,
#menu > li:hover > a:after {
  opacity: 1 !important;
}
#menu > li#menu-login {
  float: right;
  text-align: right;
}
#menu > li#menu-login > a {
  border: none;
}
#menu > li#menu-login > ul {
  border-radius: 0 0 0 3px;
}
#menu > li > ul {
  background-color: #0E0B20;
  position: absolute;
  top: 100%;
  left: 0;
  width: auto;
  min-width: 100%;
  border-radius: 0 0 3px 3px;
  margin: 0;
  padding: 5px 0;
  visibility: hidden;
  opacity: 0;
  transition-property: opacity;
  transition-duration: 0.2s;
}
#menu > li > ul > li {
  white-space: nowrap;
  border-bottom: 1px solid #191a2e;
}
#menu > li > ul > li > a {
  display: block;
  color: white;
  text-decoration: none;
  padding: 8px 20px;
  opacity: 0.8;
}
#menu > li > ul > li > a:hover {
  opacity: 1;
  background-color: #191a2e;
}
#menu > li > ul > li > a.active {
  opacity: 1;
  font-weight: bold;
}
#menu > li > ul > li:last-child {
  border-bottom: none;
}
#menu > li:hover > ul {
  visibility: visible;
  opacity: 1;
}
#nav {
  position: relative;
  background-color: white;
  padding: 15px 25px;
  margin: 0;
  overflow: hidden;
  font-size: 14px;
  box-shadow: 0 -8px 10px rgba(0, 0, 0, 0.4);
  z-index: 1;
}
#nav > li {
  float: left;
  position: relative;
  padding-right: 25px;
}
#nav > li:before,
#nav > li:after {
  position: absolute;
  content: '';
  display: block;
  width: 0;
  height: 0;
  -moz-transform: scale(0.9999);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 5px solid #AAAAAA;
  right: 9px;
  top: 50%;
  margin-top: -5px;
}
#nav > li:after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  -moz-transform: scale(0.9999);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 5px solid #fff;
  right: 11px;
}
#nav > li:last-child:after,
#nav > li:last-child:before {
  display: none;
}
#nav > li > a {
  color: #444444;
  text-decoration: none;
}
#nav > li > a:hover {
  text-decoration: underline;
}
#nav > li > span,
#nav > li:last-child > a {
  color: #AAAAAA;
}
#messages {
  color: #900;
}
.db-label {
  color: white;
  background-color: #0290FE;
  text-transform: uppercase;
  display: inline-block;
  padding: 6px 40px 5px 15px;
  border-radius: 3px;
  position: relative;
}
.db-label:after {
  content: "";
  display: block;
  position: absolute;
  background-image: url("../images/database.png");
  background-repeat: no-repeat;
  background-size: contain;
  width: 16px;
  height: 16px;
  right: 10px;
  top: 50%;
  margin-top: -8px;
}
input,
select,
button {
  font-family: sans-serif;
  color: black;
  padding: 5px 7px;
  border-radius: 3px;
  font-size: 14px;
}
input[type="text"],
input[type="password"] {
  background-color: #fff;
  border: 1px solid #ccc;
}
button {
  cursor: pointer;
  background-color: #ddd;
  border: none;
  padding: 13px 19px;
  text-transform: uppercase;
}
button:hover {
  background-color: #ccc;
}
button[type="submit"] {
  font-weight: bold;
}
button.inline {
  padding: 6px 15px;
}
#files > li {
  display: block;
  border-bottom: 1px solid #ccc;
  padding: 20px 0;
}
#files > li:last-child {
  border-bottom: none;
}
#files > li > p {
  margin-bottom: 10px;
}
#files > li > p.key {
  font-weight: bold;
  font-size: 110%;
}
#files > li > p.dates {
  font-size: 85%;
  margin-bottom: 0;
}
.file-tag,
.file-uta {
  display: inline-block;
  white-space: nowrap;
  background-color: #ddd;
  border-radius: 3px;
  text-decoration: none;
  padding: 2px 5px;
}
.file-uta {
  background-color: #eee;
  color: #666;
  font-size: 90%;
  cursor: default;
}
a.file-tag:hover {
  background-color: #ccc;
}
#grant-users > li {
  margin-bottom: 10px;
}
#grant-users > li > label {
  display: inline-block;
  margin-left: 20px;
  font-size: 90%;
  margin-top: 3px;
  color: #666;
  cursor: pointer;
}
#grant-users > li > label > input[type="checkbox"] {
  vertical-align: middle;
  position: relative;
  top: -1px;
}
