/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 45px;
  position: relative;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  /* Set the fixed height of the footer here */
  height: 45px;
  background-color: #f5f5f5;
}


/* Custom page CSS
-------------------------------------------------- */

:root {
  --bkgcolor: #000551;
}

/* Not required for template or sticky footer method. */

body > .container {
  padding: 35px 15px 0;
}

body {
  background-color: var(--bkgcolor);

  /*background-color: #000551;*/

  /*background-color: #c7ddef !important;*/
  /*background-color: #ccc !important;*/
  background-image: url("../img/background-new.png") !important;
  background-repeat: repeat;
}

h2 {
  font-family: 'Lato', sans-serif;
  color: #404040;
  font-weight: 100;
}

h4 {
  font-family: 'Lato', sans-serif;
  font-size: 22px;
}

h5 {
  font-family: 'Lato', sans-serif;
  color: #404040;
  font-size: 18px;
}

h6 {
  font-family: 'Lato', sans-serif;
  color: #404040;
  font-size: 16px;
}

label {
  font-family: 'Lato', sans-serif;
  color: #404040;
  font-weight: normal;
  text-align: right;
}


.container .text-muted {
  margin: 20px 0;
}

.footer > .containertest {
  height: 45px;
  padding-top: 10px;
  margin-bottom: 0px;
  padding-right: 15px;
  padding-left: 15px;
}

.panel {
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  /*border-top: 1px solid #ffffff;*/
  border-radius: 5px;
  margin-top: 0px;
  margin-left: 0px;
  margin-right: 0px;
}

.panel-body {
  padding: 15px;
  /*background-color: transparent;*/
  border-radius: 5px;
}

.panel-heading {
  /*text-align: right;*/
}

.panel-title {
  font-size: 28px;
  margin-right: 20px;
}

.panel-default {
  /*padding: 15px;*/
}

code {
  font-size: 80%;
}

.btn-primary {
  /*background-color: #337ab7 !important;*/
  border-color: #2e6da4 !important;
  border: 0 solid;
}

.show-busy-modal {

}

.form-group > div {
  /*text-align: right;*/
}

.form-control {
  /*margin-top: 5px;*/
  /*margin-bottom: 5px;*/
}

.input-group {
  margin: 0 0 10px 0;
  width: 100%;
}

form {
  margin: 0;
}

table {
  /*max-width: 100%;*/
}


.table-condensed {
  font-size: 13px;
}

#nav-logo > img {
  max-width: 100px;
  margin: 2px 20px 0 0;
}

.nav > li > a:hover {
  background-color: #ccc !important;
}

.nav > .navbar-nav > li {
  height: 100%;
}

.nav > .navbar-nav > li > a {
  padding: 15px 0 15px 0;
}

.nav > .navbar-nav > .active > a, .nav > .navbar-nav > .active > a:hover {
  background-color: #337ab7 !important;
  color: #fff !important;
}

.navbar-nav > .user {
  text-align: right;
  padding: 8px 10px 5px 0;
  font-size: 12px;
  color: #999999;
}


.rowbox {
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
  background-color: #FFFFFF;
  padding: 10px 10px 20px 10px;
  margin-left: 2px;
  margin-right: 2px;
  margin-top: 10px;
}

.rowbox-outline {
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  border: 2px solid #049FEB;
  background-color: #f2f2f2;
  -webkit-box-shadow: #B3B3B3 2px 2px 2px;
  -moz-box-shadow: #B3B3B3 2px 2px 2px;
  box-shadow: #B3B3B3 2px 2px 2px;
  padding: 0px 10px 0px 10px;
  margin-bottom: 20px;
  margin-top: 20px;
  margin-left: 15px;
  margin-right: 15px;
}

.rowbox-old {
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
  border: 2px solid #049FEB;
  background-color: #FFFFFF;
  -webkit-box-shadow: #B3B3B3 2px 2px 2px;
  -moz-box-shadow: #B3B3B3 2px 2px 2px;
  box-shadow: #B3B3B3 2px 2px 2px;
  padding: 20px 20px 40px 20px;
  margin-bottom: 20px;
  margin-top: 20px;
}

.logbox {
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  background-color: #222426;
  color: #e0e0e0;
  padding: 5px 5px 5px 10px;
  text-align: left;
  max-height: 400px;
  overflow: scroll;
}

.outputbox {
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  background-color: #ffffff;
  padding: 5px 5px 5px 10px;
  max-height: 400px;
  overflow: scroll;
}

.outputbox2 {
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  background-color: #ffffff;
  padding: 5px 5px 5px 10px;
  max-height: 400px;
  word-wrap: break-word;
  overflow: scroll;
}

/*
 * Global add-ons
 */

.sub-header {
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

/*
 * Top navigation
 * Hide default border to remove 1px line.
 */
.navbar-fixed-top {
  border: 0 !important;
}

/*
 * Sidebar
 */

/* Hide for mobile, show later */
.sidebar {
  display: none;
}

@media (min-width: 768px) {
  .sidebar {
    position: fixed;
    top: 0px;
    bottom: 0;
    left: 0;
    z-index: 1000;
    display: block;
    padding: 20px;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
    background-color: #f5f5f5;
    border-right: 1px solid #eee;
  }
}

/* Sidebar navigation */
.nav-sidebar {
  margin-right: -21px; /* 20px padding + 1px border */
  margin-bottom: 20px;
  margin-left: -20px;
}

.nav-sidebar > li > a {
  padding-right: 20px;
  padding-left: 20px;
}

.nav-sidebar > .active > a,
.nav-sidebar > .active > a:hover,
.nav-sidebar > .active > a:focus {
  color: #fff;
  background-color: #428bca;
}


/*
 * Main content
 */

.main {
  padding: 20px;
}

@media (min-width: 768px) {
  .main {
    padding-right: 40px;
    padding-left: 40px;
  }
}

.main .page-header {
  margin-top: 0;
}

th {
  padding: 15px;
}

td {
  padding: 15px;
}

.fixed_width_cell_40 {
  width: 40px;
  overflow: hidden;
  white-space: nowrap;
}

.fixed_width_cell_120 {
  width: 120px;
  overflow: hidden;
  white-space: nowrap;
}

.left-offset {
  margin-left: 80px;
}

.text-overflow-400 {
  max-width: 400px;
  margin: 0 auto;
  overflow: hidden;
  text-overflow: ellipsis;
}

.text-overflow-100 {
  max-width: 100px;
  margin: 0 auto;
  overflow: hidden;
  text-overflow: ellipsis;
}

.text-overflow-150 {
  max-width: 150px;
  margin: 0 auto;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ui-autocomplete-category {
  font-weight: bold;
  padding: 10px 0 0 5px;
  margin: 0;
  line-height: 1.5;
}

.text-wrap {
  overflow-wrap: break-word;
  word-break: break-word;
  word-wrap: break-word;
}

label.required {
  font-weight: bold;
}

label.required:after {
  content: " *";
  color: red;
}

textarea.json {
  font-family: monospace;
  white-space: pre;
  overflow-wrap: normal;
  overflow-x: scroll;
}