﻿html,
body,
#PageContent,
#RenderBody {
  height: 100%;
}

body {
  background-color: whitesmoke;
}

#PageContent {
  padding: 0;
  padding-top: 50px;
}

.navbar-header {
  width: 194px;
}

#NavHeader {
  font-size: 23px;
  letter-spacing: -1px;
  position: absolute;
  color: whitesmoke;
  font-weight: bold;
  margin-right: 8px;
  height: 50px;
  padding-left: 49px;
  width: 187px;
  /*border-right: 1px solid grey;*/
}

.dropdown-menu > li > a {
  color: #58595b;
  cursor: pointer;
}

.dropdown-menu > li:hover {
  background-color: #e6e6e8;
}

li.dropdown-submenu > ul.dropdown-menu {
  /*align with parent*/
  position: relative;
  top: -26px;
  /*Negative margins so it doesn't affect the parent's spacing or size*/
  margin-bottom: -999px;
  margin-right: -999px;
}
@media (max-width: 767px) {
  /*Override the above to make submenus appear directly inside the menus when the screen is narrow*/
  li.dropdown-submenu > ul.dropdown-menu {
    top: 0;
    margin-left: -1px;
    border-top-left-radius: 0;
    margin-bottom: 0px;
    margin-right: 0px;
  }
}

.navOption:hover {
  background-color: #759eb7;
  height: 50px;
}

.navOption {
}

.navOption > a {
  color: whitesmoke;
  font-family: sans-serif;
  text-transform: uppercase;
  font-weight: 700 !important;
  padding-top: 15px !important;
  font-size: 11px;
  /*border-right: 1px solid #e6e6e8;*/
  text-align: center;
  height: 40px; /* Keeps the bottom part of the navigation option from triggering the dropdown. This helps when doing tasks near the navbar. */
}

.navOption > ul > li > a:hover {
  background-color: lightgray;
}

#NavBar button {
  background-color: #759eb7;
  text-transform: uppercase;
  font-weight: 700;
  margin-top: 12px;
  font-size: 11px;
  border: 0;
  outline: 0;
}
#NavBar button:active {
  box-shadow: none;
}

.navOption > a.username {
  font-size: 10px;
  max-width: 139px;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 40px;
}

#userHam > .navbar-nav {
  margin: 0px 0px;
}

.dropdown-submenu > ul > li > a:hover {
  background-color: lightgray;
}

.navOption > a:hover,
#NavBar button:hover {
  text-shadow: 1px 1px 1px #1b5374 !important;
}

.navbar-nav > li > a:hover,
.navbar-nav > li > a:focus {
  height: 50px !important;
  background-color: #759eb7 !important;
  color: whitesmoke !important;
}

.nav .open > a,
.nav .open > a:focus,
.nav .open > a:hover {
  background-color: #759eb7;
  height: 50px !important;
}

#userHam > ul > li > a {
  color: whitesmoke;
  padding: 15px !important;
  height: 50px !important;
}

#userHam > ul > li > a:hover {
  text-shadow: 1px 1px 1px #dae1e8 !important;
}

#userHam > ul > li {
  height: 50px !important;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

@media (max-width: 767px) {
  #bars3 > ul > li > a {
    padding-left: 15px;
    text-align: center;
  }

  #bars3 > ul > li > ul > li > a {
    text-align: center;
    padding-left: 15px !important;
  }

  #bars3 > ul > li > ul > li > a:hover {
    background-color: lightgray;
  }

  .navbar-nav .dropdown-submenu > a:before {
    margin-top: 8px;
    border-color: inherit;
    border-style: solid;
    border-width: 4px 4px 0;
    border-left-color: transparent;
    border-right-color: transparent;
  }
}

@media (max-width: 480px) {
  #bars3 > ul > li > a {
    padding-left: 15px !important;
    text-align: center;
  }

  #bars3 > ul > li > ul > li > a:hover {
    background-color: lightgray;
  }

  #bars3 > ul > li > ul > li > a {
    text-align: center;
    padding-left: 15px !important;
  }
}

#bars3 {
  float: left;
}

#userHam {
  float: left;
}

#bars3.open {
  width: 53px;
  height: 50px;
}

#userHam > ul > li.open {
  width: 64px;
  margin-top: 0;
}

#userHam > ul > li.open > a {
  padding-top: 15px;
  height: 50px;
}

#userHam > ul > li.open > ul {
  border: 1px solid lightgray;
  background-color: white;
}

#userHam > ul > li.open > ul > li.divider {
  border: 1px solid lightgray;
}

#userHam > ul > li.open > ul > li > a {
  color: gray;
}

#bars3.open > ul > li > a {
  color: grey;
}

#userHam > ul > li.open > ul > li > a:hover {
  background-color: whitesmoke;
}

#HamButton > ul {
  height: 50px;
  margin: 0;
}

.ul {
  height: 50px;
  margin: 0;
}

.li.open {
  height: 50px;
}

#bars3.open > a {
  height: 50px;
}

#bars3.open > ul {
  border: 1px solid lightgray;
  background-color: white;
}

.li.open > ul > li:hover {
  background-color: whitesmoke;
}

.li.open > ul > li > a {
  color: #58595b;
}

.li.open > ul > li > a:hover {
  color: lightgray;
}

.li {
  height: 50px;
}

#HamButton {
  height: 50px;
  min-width: 134px;
  top: 0 !important;
  position: absolute;
  right: 0 !important;
}

#NavBar {
  background-color: #3b708f;
  height: 50px;
  z-index: 1000;
}

#NavBar .popover {
  max-width: none;
}

.navbar {
  border: 0 !important;
}

.dropdown-submenu > .dropdown-menu {
  top: 0;
  -webkit-border-radius: 0 6px 6px 6px;
  -moz-border-radius: 0 6px 6px;
  border-radius: 0 6px 6px 6px;
  left: -155px !important;
}

.dropdown-submenu:hover > .dropdown-menu {
  display: block;
}

#bars3 > ul > li {
  text-align: center;
}

#bars3 > ul > li.dropdown-submenu > a::before {
  border-bottom: 4px solid transparent !important;
  border-style: solid solid solid dashed !important;
  border-top: 4px solid transparent !important;
  border-width: 4px 4px 4px 0 !important;
  content: "" !important;
  display: block !important;
  float: left !important;
  height: 0 !important;
  margin-left: -8px !important;
  margin-top: 6px !important;
  width: 0 !important;
}

.modal {
  overflow-y: auto;
}

.modal-open {
  /*overflow: auto;*/
  margin-right: 0;
}

.bootbox .modal-dialog {
  top: 15%;
}

.bootbox .modal-header .modal-title {
  font-size: 20px;
  font-weight: 700;
}

.bootbox .modal-body .bootbox-body {
  font-size: 15px;
  text-align: center;
  vertical-align: middle;
}

#LoadingProgress {
  transition: none !important;
  background: rgb(248, 255, 232); /* Old browsers */
  background: -moz-linear-gradient(
    left,
    rgba(248, 255, 232, 1) -1%,
    rgba(248, 255, 232, 1) 0%,
    rgba(227, 245, 171, 1) 0%,
    rgba(244, 244, 244, 1) 0%,
    rgba(244, 244, 244, 1) 0%,
    rgba(255, 255, 255, 1) 0%,
    rgba(244, 244, 244, 1) 0%,
    rgba(119, 209, 23, 1) 19%,
    rgba(119, 209, 23, 1) 19%,
    rgba(119, 209, 23, 1) 58%,
    rgba(119, 209, 23, 1) 58%,
    rgba(119, 209, 23, 1) 58%,
    rgba(119, 209, 23, 1) 58%,
    rgba(119, 209, 23, 1) 58%,
    rgba(119, 209, 23, 1) 58%,
    rgba(107, 221, 46, 1) 100%,
    rgba(107, 221, 46, 1) 100%
  ); /* FF3.6+ */
  background: -webkit-gradient(
    linear,
    left top,
    right top,
    color-stop(-1%, rgba(248, 255, 232, 1)),
    color-stop(0%, rgba(248, 255, 232, 1)),
    color-stop(0%, rgba(227, 245, 171, 1)),
    color-stop(0%, rgba(244, 244, 244, 1)),
    color-stop(0%, rgba(244, 244, 244, 1)),
    color-stop(0%, rgba(255, 255, 255, 1)),
    color-stop(0%, rgba(244, 244, 244, 1)),
    color-stop(19%, rgba(119, 209, 23, 1)),
    color-stop(19%, rgba(119, 209, 23, 1)),
    color-stop(58%, rgba(119, 209, 23, 1)),
    color-stop(58%, rgba(119, 209, 23, 1)),
    color-stop(58%, rgba(119, 209, 23, 1)),
    color-stop(58%, rgba(119, 209, 23, 1)),
    color-stop(58%, rgba(119, 209, 23, 1)),
    color-stop(58%, rgba(119, 209, 23, 1)),
    color-stop(100%, rgba(107, 221, 46, 1)),
    color-stop(100%, rgba(107, 221, 46, 1))
  ); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(
    left,
    rgba(248, 255, 232, 1) -1%,
    rgba(248, 255, 232, 1) 0%,
    rgba(227, 245, 171, 1) 0%,
    rgba(244, 244, 244, 1) 0%,
    rgba(244, 244, 244, 1) 0%,
    rgba(255, 255, 255, 1) 0%,
    rgba(244, 244, 244, 1) 0%,
    rgba(119, 209, 23, 1) 19%,
    rgba(119, 209, 23, 1) 19%,
    rgba(119, 209, 23, 1) 58%,
    rgba(119, 209, 23, 1) 58%,
    rgba(119, 209, 23, 1) 58%,
    rgba(119, 209, 23, 1) 58%,
    rgba(119, 209, 23, 1) 58%,
    rgba(119, 209, 23, 1) 58%,
    rgba(107, 221, 46, 1) 100%,
    rgba(107, 221, 46, 1) 100%
  ); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(
    left,
    rgba(248, 255, 232, 1) -1%,
    rgba(248, 255, 232, 1) 0%,
    rgba(227, 245, 171, 1) 0%,
    rgba(244, 244, 244, 1) 0%,
    rgba(244, 244, 244, 1) 0%,
    rgba(255, 255, 255, 1) 0%,
    rgba(244, 244, 244, 1) 0%,
    rgba(119, 209, 23, 1) 19%,
    rgba(119, 209, 23, 1) 19%,
    rgba(119, 209, 23, 1) 58%,
    rgba(119, 209, 23, 1) 58%,
    rgba(119, 209, 23, 1) 58%,
    rgba(119, 209, 23, 1) 58%,
    rgba(119, 209, 23, 1) 58%,
    rgba(119, 209, 23, 1) 58%,
    rgba(107, 221, 46, 1) 100%,
    rgba(107, 221, 46, 1) 100%
  ); /* Opera 11.10+ */
  background: -ms-linear-gradient(
    left,
    rgba(248, 255, 232, 1) -1%,
    rgba(248, 255, 232, 1) 0%,
    rgba(227, 245, 171, 1) 0%,
    rgba(244, 244, 244, 1) 0%,
    rgba(244, 244, 244, 1) 0%,
    rgba(255, 255, 255, 1) 0%,
    rgba(244, 244, 244, 1) 0%,
    rgba(119, 209, 23, 1) 19%,
    rgba(119, 209, 23, 1) 19%,
    rgba(119, 209, 23, 1) 58%,
    rgba(119, 209, 23, 1) 58%,
    rgba(119, 209, 23, 1) 58%,
    rgba(119, 209, 23, 1) 58%,
    rgba(119, 209, 23, 1) 58%,
    rgba(119, 209, 23, 1) 58%,
    rgba(107, 221, 46, 1) 100%,
    rgba(107, 221, 46, 1) 100%
  ); /* IE10+ */
  background: linear-gradient(
    to right,
    rgba(248, 255, 232, 1) -1%,
    rgba(248, 255, 232, 1) 0%,
    rgba(227, 245, 171, 1) 0%,
    rgba(244, 244, 244, 1) 0%,
    rgba(244, 244, 244, 1) 0%,
    rgba(255, 255, 255, 1) 0%,
    rgba(244, 244, 244, 1) 0%,
    rgba(119, 209, 23, 1) 19%,
    rgba(119, 209, 23, 1) 19%,
    rgba(119, 209, 23, 1) 58%,
    rgba(119, 209, 23, 1) 58%,
    rgba(119, 209, 23, 1) 58%,
    rgba(119, 209, 23, 1) 58%,
    rgba(119, 209, 23, 1) 58%,
    rgba(119, 209, 23, 1) 58%,
    rgba(107, 221, 46, 1) 100%,
    rgba(107, 221, 46, 1) 100%
  ); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f8ffe8', endColorstr='#6bdd2e',GradientType=1 ); /* IE6-9 */
  box-shadow: none !important;
  position: relative;
}

/*.progress-bar.active, .progress.active .progress-bar {
    animation: 0.5s linear 0s 0 normal infinite running progress-bar-stripes !important;
}*/

.bootbox .modal-content {
  max-height: 700px;
}

.bootbox-body {
  max-height: 500px;
  overflow: auto;
}

/**modal form dialog**/
.vertical-alignment-helper {
  display: table;
  height: 100%;
  width: 100%;
  pointer-events: none;
}
.vertical-alignment-helper > .vertical-align-center {
  display: table-cell;
  vertical-align: middle;
  pointer-events: none;
}
.vertical-alignment-helper > .vertical-align-center > .modal-content {
  display: table;
  margin: 0 auto;
  pointer-events: all;
}
.vertical-alignment-helper > .vertical-align-center > .modal-dialog {
  /*for Alerts modal*/
  pointer-events: all;
}

.modal input.form-control-static {
  border: 0;
  background: none;
}
/**end modal form dialog**/

.bootbox-close-button {
  display: none;
}

.site-picker-container > #picker-temp > #order {
  height: 32px;
}

#order > .panel > .panel-heading {
  height: 30px;
}
