h5, h4, h3, h2, h1 {
   margin-top: 0.5em;
   margin-bottom: 0.5em;
}

.multiRowSelect {
   cursor: default;
}
td.multiRowSelect { white-space: nowrap; }

.config-boolean .ui-button {
   width: 100%;
}

.config-element {
   display: inline-block;
   width: -moz-calc(33% - 4px);
   width: -webkit-calc(33% - 4px);
   width: calc(33% - 4px);
   padding: 2px;
}

.config-wrapper input[type="checkbox"] + label.ui-button,
.config-wrapper .config-element > button.ui-button,
.config-wrapper .setting-element > button.ui-button {
   width: 100%;
}

.setting-element {
   display: inline-block;
   width: -moz-calc(50% - 4px);
   width: -webkit-calc(50% - 4px);
   width: calc(50% - 4px);
   padding: 2px;
}

.config-wrapper {
   /* white-space: nowrap;*/
}

.invoiceNeeded {
   font-weight: bold;
   color: #FF0000;
}

html, body {
   margin: 0;
   padding: 0;
   height: 100%;
}

.bodyWrapper {
   /* min-height: 100%; */
   position: relative;
   margin-left: auto;
   margin-right: auto;
}

#content {
   padding-bottom: 150px;   /* Height of the footer */
}

#footer {
   position: absolute;
   bottom: 0;
   width: 100%;
   height: 150px;
   border-radius: 5px;
   background-color: #424b50;
   font: 16px Arial, "Helvetica Neue", Helvetica, sans-serif;
   text-transform: uppercase;
   color: #FFFFFF;
}

#footer .container {
   padding: 0.5em 0.5em 0.5em 0.5em;
}

#footer .container div {
   float: left;
   width: 290px;
}

#footer a {
   color: #FFFFFF;
   text-decoration: none;
}

div.text {
   margin-top: 80px;
}

#footer .container div:first-child {
   margin-left: 10px;
}

#footer .container div:last-child {
   margin-right: 0;
}

#footer #footerLogo {
   float: right;
}

#header {
   width: 100%;
   height: auto;
   border-radius: 5px;
   background-color: #72828b;
}

#headerLogo {
   width: 100%;
   padding: 0.5em 0.5em 0.5em 0.5em;
}

.ui-tabs .ui-tabs-panel {
   padding: 0.1em 0.1em 0.1em 0.1em;
   margin: 0.1em 0.1em 0.1em 0.1em;
}

.ui-accordion-header {
   padding: 0.1em 0.1em 0.1em 0.1em;
   margin: 0.1em 0.1em 0.1em 0.1em;
}

.ui-accordion .ui-accordion-content {
   padding: 0.1em 0.1em 0.1em 0.1em;
   margin: 0.1em 0.1em 0.1em 0.1em;
}

.ui-accordion-content {
   padding: 0.1em 0.1em 0.1em 0.1em;
   margin: 0.1em 0.1em 0.1em 0.1em;
}


#info, #error {
   position: fixed;
   width: 800px;
   top: 40%;
   left: 50%;
   margin-left: -400px;
   padding: 0 .7em;
   font: 16px Arial, "Helvetica Neue", Helvetica, sans-serif;
}

#info { z-index: 9998; }
#error { z-index: 9999; }

#info p > span:first-child,
#error p > span:first-child {
   float: left;
   margin-right: 0.3em;
}

#info span.message, #error span.message {
   display: inline-block;
}

#info p > span:last-child,
#error p > span:last-child {
   float: right;
   margin-right: 0.3em;
}


.customerNote {
   width: 100%;
   padding: .3em .7em .3em;
   margin: .2em 0 .2em;
   border: 1px solid;
   border-radius: 10px;
   background-color: #cccccc;
}

.usagePlot {
   height: 600px;
   width: 100%;
}

.bodyWrapper {
   width: 95%;
   min-width: 1500px;
}

.form-element > label {
   display: inline-block;
   width: 200px;
   text-align: right;
   margin-right: 0.3em;
}

.form-element > label[role="button"] {
   width: auto;
   min-width: 200px;
}

.info-element > label {
   display: inline-block;
   width: 300px;
   text-align: right;
   padding-right: 0.25em;
   color: #5c8fca;
}

div.instructions {
   color: #5c8fca;
}

.border {
   border: 1px solid;
   border-radius: 15px;
   padding: 10px;
   margin: 10px;
}

.form {
   width: 800px;
}

label.error {
   margin-left: 10px;
   width: auto;
   display: inline;
   color: red;
}

.center-col {
   text-align: center;
}

.no-close .ui-dialog-titlebar-close {
   display: none;
}

/* button toggle icon positioning */
input.ui-helper-hidden-accessible[type="checkbox"] + label span.ui-button-icon-primary + span.ui-button-text {
   margin-left: -16px;
}

/* disable text selection for button labels */
.ui-button {
   -ms-user-select: none; /* IE 10+ */
   -moz-user-select: -moz-none;
   -khtml-user-select: none;
   -webkit-user-select: none;
   user-select: none
}

.map-container {
   width: -moz-calc(100% - 550px);
   width: -webkit-calc(100% - 550px);
   width: calc(100% - 550px);
   height: 900px;
   float: left;
}

.map-container > div {
   width: 100%;
   height: 100%;
   position: relative;
   background-color: rgb(229, 227, 223);
}

div.ColVis {
   float: left;
   margin-bottom: 0;
}

button.ColVis_Button {
   height: auto;
   margin-left: 1em;
   padding: 0.2em 0.5em;
}

.dataTables_wrapper .buttons:empty {
   display: none;
}

/*
 * Filter
 */
.dataTables_filter input.highlighted {
   background-color: #90EE90;
}

.ui-icon.yellow {
   background-image: url(images/ui-icons_yellow_256x240.png);
}

.generated-input-wrapper {
   position: relative;
   display: inline-block;
}

.generated-input-wrapper > span {
   position: absolute;
   top: 5px;
   right: 3px;
}

.select2-container .select2-search__field:not([placeholder='']) {
   width: 100% !important;
}

td > span.ui-icon {
   float: left;
   margin: 3px 3px 0px 0px;
}

.rtp-dropping-packets { background-color: red; }
.markdown-view {
   max-height: 500px;
   overflow-y: auto;
   background: white;
   border: 1px solid #999;
   margin-top: 1em;
   padding: 0 1em;
}

.ui-tabs-anchor[data-note-count][href|="#notes"]:after {
    content: attr(data-note-count);

    display: inline-block;
    line-height: 1em;
    text-align: center;
    min-width: 1em;
    padding: 1px 3px;
    margin-left: 0.5em;
    margin-bottom: -2px;

    color: white;
    background: rgb(255, 51, 59);
    border: 1px black solid;
    border-radius: 1em;
    text-shadow: 0px 0px 2px black;
}

.align-right { text-align: right; }

.ui-dialog-content > div.progress-cancel {
   margin-top: 0.5em;
   text-align: center;
}

.col-no-wrap { white-space: nowrap; }

span.deactivated {
   opacity: 0.65;
   text-decoration: line-through;
}

.codec-row {
   display: inline-block;
   border-top: 1px solid darkgray;
   padding: 0.25em;
   width: 100%;
}

.codec-row:first-child { border-top: none; }

.codec-row > div {
   display: inline-block;
   margin-right: 3em;
}
.codec-row > div > label { margin-right: 0.25em; }
.codec-row div:first-child { width: 200px; }
.codec-row input[type="checkbox"] + label.ui-button { width: 100%; }
.codec-row input[role="spinbutton"] { width: 2em; }

.codec-row a.priority:hover { color: white; cursor: pointer; }

span.row-expander {
   display: inline-block;
   height: 100%;
   width: 16px;
   margin: 0;
}

td.tree-child {
   padding: 3px 0px !important;
}

tr.disable-selection td:not(.multiRowSelect) {
   text-decoration: line-through;
   opacity: 0.7;
}

div.tree-gutter { display: inline-block; }
.tree-gutter .parent, .tree-gutter .leaf {
   display: inline-block;
   width: 16px;
   height: 16px;
   text-align: center;
   overflow: hidden;
   user-select: none;
}

.tree-table table {
   table-layout: fixed;
   word-break: break-word;
}

.tree-child .fg-toolbar {
    display: none; /* This hides the toolbar element that may be creating the grey line */
}

.tree-child .dataTables_wrapper .dataTable tr {
    border: none; /* This removes borders from the table rows */
}

td.tree-child .dataTables_scrollHead {
   display: none;
}

tr:not([data-tree-expanded="false"]) > td > div.subtree-count { display: none; }
tr[data-tree-expanded="false"] > td > div.primary-count { display: none; }
div.subtree-count[data-nonzero="true"]:after { content: "*"; }

/* Status colors */
.ui-status-working {
	background-color: #4b840b;
}
.ui-status-not-working {
	background-color: #cd0a0a;	
}

/* bulk load file upload */
.upload-area{
  width: 100%;
  height: 80px;
  border: 2px dotted gray;
  margin-bottom: 8px;
  text-align: center;
  overflow: auto;
  color: gray;
}
.upload-area:hover {
  color: black;
}
.upload-area-info {
  margin-top: 30px;
  text-align: center;
  font-weight: normal;
  font-family: sans-serif;
  font-size: medium;
}
.bulk-load-elem {
   margin-top: 8px;
}
#id-bulk-upload-file {
  display: none;
}
#id-bulk-load-control {
   display: inline-block;
   width: auto;
   margin-right: 12px;
}
#id-bulk-load-badge-icon {
   display: inline-block;
   position: absolute;
   width: 24px;
   height: 24px;
   border-radius: 12px;
   margin-left: -14px;
	background-color: #4b840b;
}
#id-bulk-load-badge-icon.hidden {
   width: 0;
   z-index: 1;
}

div.gateway-status-error {
   width: 100%;
   height: 100%;
   background-color: red;
   padding-bottom: 0.25em;
}

.dataTable.no-footer .no-border, 
.dataTable.no-footer .no-border td, 
.dataTable.no-footer .no-border th {
    border: none !important;
}


.no-border, .no-border td, .no-border th {
    border: none !important;
}

.oauthTokenCertLabel-container {
    display: inline-block;
    width: 23.6%;
    margin-right: 0.3em;
    text-align: right;
    vertical-align: top;
}
.oauthTokenCertTextarea-container {
    display: inline-block;
    width: 72%;
}

