@charset "UTF-8";

body {
    margin: 0;
}

#footer {
    text-align: center;
    border-top: 1px solid black;
    text-align: center;
    padding-top: 10px;
}

#main {
    padding: 20px;
}

#homeImage {
    width: 100%;
    margin: 30px 0;
}

#header, #nav {
    height: 120px;
    background: url('image.php?package=ni&file=headerimg.jpg');
    background-size: cover;
    color: white;
}

.logo, #site-name {
    display: inline-block;
}

.brand {
    position: absolute;
    padding-left: 0;
    float: left;
    line-height: 70px;
    text-transform: uppercase;
    font-size: 1.4em;
    text-align: center;
    font-weight: bolder;
    line-height: 40px;
}

.brand a,
.brand a:visited {
    color: #ffffff;
    text-decoration: none;
}

.nav-container {
    max-width: 1000px;
    margin: 0 auto;
}

nav {
    float: right;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    float: left;
    position: relative;
}

nav ul li a,
nav ul li a:visited {
    display: block;
    padding: 0 10px;
    line-height: 70px;
    color: #ffffff;
    text-decoration: none;
}

nav ul li a:hover,
nav ul li a:visited:hover {
    background: #2581DC;
    color: #ffffff;
}

nav ul li a:not(:only-child):after,
nav ul li a:visited:not(:only-child):after {
    padding-left: 4px;
    content: ' ▾';
}

nav ul li ul li {
    min-width: 190px;
}

nav ul li ul li a {
    padding: 15px;
    line-height: 20px;
}

.nav-dropdown {
    position: absolute;
    display: none;
    z-index: 1;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
    background: #56b951;
}

/* Mobile navigation */
.nav-mobile {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    height: 70px;
    width: 70px;
}

@media only screen and (max-width: 850px) {
  .nav-mobile {
      display: block;
  }

  nav {
      width: 100%;
      padding: 70px 0 5px;
  }

  nav ul {
      display: none;
      background: #56b951;
  }

  nav ul li {
      float: none;
  }

  nav ul li a {
      padding: 15px;
      line-height: 20px;
  }

  nav ul li ul li a {
      padding-left: 30px;
  }

  .nav-dropdown {
      position: static;
  }
}

@media screen and (min-width: 851px) {
  .nav-list {
      display: block !important;
  }
}

#nav-toggle {
    position: absolute;
    left: 18px;
    top: 22px;
    cursor: pointer;
    padding: 10px 35px 16px 0px;
}

#nav-toggle span,
#nav-toggle span:before,
#nav-toggle span:after {
    cursor: pointer;
    border-radius: 1px;
    height: 5px;
    width: 35px;
    background: #ffffff;
    position: absolute;
    display: block;
    content: '';
    transition: all 300ms ease-in-out;
}

#nav-toggle span:before {
    top: -10px;
}

#nav-toggle span:after {
    bottom: -10px;
}

#nav-toggle.active span {
    background-color: transparent;
}

#nav-toggle.active span:before, #nav-toggle.active span:after {
    top: 0;
}

#nav-toggle.active span:before {
    transform: rotate(45deg);
}

#nav-toggle.active span:after {
    transform: rotate(-45deg);
}

.required {
    color: red;
    font-weight: bold;
    vertical-align: super;
    font-size: .75em;
}

.required::before {
    content: '*';
}

#dataentry input, #dataentry select, #dataentry textarea {
  width: 90%;
}

#dataentry .error-text {
    color: red;
    font-size: 0.75em;
}

#dataentry tr td:nth-child(1) {
    vertical-align: top;
    white-space: nowrap;
}


#dataentry input.chosen {
    background-color: #d8d8d8;
    cursor: pointer;
}

.entrylabel {
  width: 250px;
}

#excel-receipt {
    border-collapse: collapse;
    width: 100%;
}

#excel-receipt td, #excel-receipt th {
    border: 1px solid #ddd;
    padding: 8px;
}

.custom-table tr:nth-child(even) {
    background-color: #f2f2f2;
}

.custom-table tr:hover {
    background-color: #ddd;
}

#custom-table th {
    padding: 12px 0 12px 0;
    text-align: center;
    background-color: #4caf50;
    color: white;
}

#footer .logo {
    padding-left: 20px;
    padding-right: 20px;
}

#footer img {
    height: 80px;
}

#footer #copyright {
    padding-top: 10px;
}

.ui-tabs.ui-tabs-vertical {
  padding: 0;
  width: 42em;
}

.ui-tabs.ui-tabs-vertical > .ui-widget-header {
  border: none;
}

.ui-tabs.ui-tabs-vertical > .ui-tabs-nav {
  float: left;
  width: 10em;
  background: #CCC;
  border-radius: 4px 0 0 4px;
  border-right: 1px solid gray;
}

.ui-tabs.ui-tabs-vertical > .ui-tabs-nav li {
  clear: left;
  width: 100%;
  margin: 0.2em 0;
  border: 1px solid gray;
  border-width: 1px 0 1px 1px;
  border-radius: 4px 0 0 4px;
  overflow: hidden;
  position: relative;
  right: -2px;
  z-index: 2;
}

.ui-tabs.ui-tabs-vertical > .ui-tabs-nav li a {
  display: block;
  width: 100%;
  padding: 0.6em 1em;
}

.ui-tabs.ui-tabs-vertical > .ui-tabs-nav li a:hover {
  cursor: pointer;
}

.ui-tabs.ui-tabs-vertical > .ui-tabs-nav li.ui-tabs-active {
  margin-bottom: 0.2em;
  padding-bottom: 0;
  border-right: 1px solid white;
}

.ui-tabs.ui-tabs-vertical > .ui-tabs-nav li:last-child {
  margin-bottom: 10px;
}

.ui-tabs.ui-tabs-vertical > .ui-tabs-panel {
  float: left;
  width: 28em;
  border-left: 1px solid gray;
  border-radius: 0;
  position: relative;
  left: -1px;
}

#dataentry > table, #dataentry .ui-tabs-vertical {
  width: 800px;
}

#dataentry .ui-tabs-vertical .ui-tabs-panel {
  font-size: 13px;
  width: 550px;
}

.fieldhelp {
  border: thin solid gray;
  cursor: help;
  font-family: monospace;
}

.fieldhelp:before {
  content: '?';
}

#contactus #thanks {
  margin: 50px 0;
}

.table-info tr td:first-child {
  font-weight: bolder;
}
