* { font-size: 12px; box-model: border-box; Font-family: Helvetica Neue, Helvetica, Arial, sans-serif;}
body { margin:0;}

#frameOne {
  margin:0px auto;
  background-color:#fff;
  width:100%;
  height:100%;
}

#header {
  padding:18px;
  width:auto;
  height:auto;
  font-size:1.3em;
  color:#fff;
  background-color: #222;
}

#topnav {
  width:100%;
  height:auto;
  background-color:#3E5970;
  display:block;
}

#content {
  width:100%;
  height:auto;
  background-color:#fff;
  color:#000;
	display:flex;
}

#leftnav, #rightnav {
  padding:10px;
  width:auto;
  min-width: 10%;
  height:auto;
  background-color:#ddd;
  color:#000;
  position: relative;
  z-index:2;
  min-width: 10%;
}

#right, #right_wide {
  width:100%;
  height:auto;
  background-color:#fff;
  color:#000;
  padding: 20px;    
  display: flex;
  flex-direction: column;
  min-width: 85%;
  max-width: 100%;
}

#right_wide {
  min-width: 100%;
}

#bottom {
  clear:both;
  width:988px;
  height:1px;
}

h1, h2, h3, h4, h5, h6 {
  color:#222;
}

#leftnav a,
#leftnav a:link,
#leftnav a:active,
#leftnav a:visited,
#leftnav a:focus,
#rightnav a,
#rightnav a:link,
#rightnav a:active,
#rightnav a:visited,
#rightnav a:focus {
  font-size:1em;
  color:#000;
}

table, form {
	width: 100% !important;
}

tbody, th, td {
	width: auto;
	padding: 4px;
}

table.normal {
  border:1px solid #3E5970;
  background-color:#ffffff;
}

td.heading,
td.heading a,
td.heading a:link,
td.heading a:active,
td.heading a:visited {
  background-color:#3E5970;
  color:#ffffff;
  font-size:1em;
  word-break:break-all;
}

td.rptheading {
  background-color:#ffffff;
  border:1px solid black;
  color:#000000;
  font-size:1em;
  font-weight:bold;
  word-break:break-all;
}

td.rptheadgreen {
  background-color:#ccffcc;
  border:1px solid black;
  color:#000000;
  font-size:1em;
  font-weight:bold;
  word-break:break-all;
  height:24px;
}

td.rptheadyellow {
  background-color:#ffff99;
  border:1px solid black;
  color:#000000;
  font-size:1em;
  font-weight:bold;
  word-break:break-all;
  height:24px;
}

td.reportgreen {
  background-color:#ccffcc;
  border:1px solid black;
  color:#000000;
  font-size:1em;
  word-break:break-all;
  height:24px;
}

td.report {
  background-color:#ffffff;
  border:1px solid black;
  color:#000000;
  font-size:1em;
  word-break:break-all;
}

td.subhead,
td.subhead a,
td.subhead a:link,
td.subhead a:active,
td.subhead a:visited {
  background-color:#B5C3CD;
  color:#3E5970;
  font-size:1em;
  word-break:break-all;
}

td.normal {
  background-color:#A7B7C3;
  height:24px;
  font-size:1em;
  color:#000000;
  padding:0px;
  word-break:break-all;
}

td.smheading,
td.smheading a,
td.smheading a:link,
td.smheading a:active,
td.smheading a:visited {
  background-color:#3E5970;
  color:#ffffff;
  font-size:1em;
  word-break:break-all;
}

td.smsubhead,
td.smsubhead a,
td.smsubhead a:link,
td.smsubhead a:active,
td.smsubhead a:visited {
  background-color:#B5C3CD;
  color:#3E5970;
  font-size:1em;
  word-break:break-all;
}

td.small,
td.small a,
td.small a:link,
td.small a:active,
td.small a:visited {
  background-color:#A7B7C3;
  height:18px;
  font-size:1em;
  color:#000000;
  padding:2px;
  word-break:break-all;
}

td.smallShade,
td.smallShade a,
td.smallShade a:link,
td.smallShade a:active,
td.smallShade a:visited {
  background-color:#ffffcc;
  height:18px;
  font-size:1em;
  color:#000000;
  padding:2px;
  word-break:break-all;
}

td.smallShadeRed,
td.smallShadeRed a,
td.smallShadeRed a:link,
td.smallShadeRed a:active,
td.smallShadeRed a:visited {
  background-color:#ff0000;
  height:18px;
  font-size:1em;
  color:#000000;
  padding:2px;
  word-break:break-all;
}

td.smallShadeYellow,
td.smallShadeYellow a,
td.smallShadeYellow a:link,
td.smallShadeYellow a:active,
td.smallShadeYellow a:visited {
  background-color:#FFFF00;
  height:18px;
  font-size:1em;
  color:#000000;
  padding:2px;
  word-break:break-all;
}

a,
a:link,
a:active,
a:visited,
a:focus {
  font-size:1em;
  color:#0033cc;
}

#right input[type=submit] {
  margin-top: 10px;
  background-color: #999;
  border: 1px solid #999;
  color: #fff;
  padding: 10px;
  border-radius: 4px;
}

#right input[type=text], 
#right input[type=password], 
#right input[type=email], 
#right input[type=number], 
#right select,
.datepicker {
  margin: 10px;
  background-color: #fff;
  border: 1px solid #999;
  color: #000;
  padding: 3px 10px 3px 10px !important;
  width: 85%;
}

#right textarea {
  width: 100%;
  height: 150px;
  padding: 12px 20px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  background-color: #fff;
  font-size: 1.2em;
  margin:10px;
}

#leftnav form input[type=text] {
  padding-left: 10px;
  padding-right: 10px;
}

#leftnav form input[type=text],
#leftnav form input[type=submit] {
	margin-top: 10px;
	width: 100% !important;
}

#leftnav form select{
	margin-top: 10px;
	width: 100% !important;
}

#leftnav input[type=submit] {
  margin-top: 10px;
  background-color: #999;
  border: 1px solid #999;
  color: #fff;
  padding: 10px;
  border-radius: 4px;
  width: 95%;
}

/*
input.normal {
  height:18px;
  border:0px;
  padding:1px;
  border:1px solid #3E5970;
  font-size:1em;
}

input.small {
  height:16px;
  border:0px;
  padding:1px;
  border:1px solid #3E5970;
  font-size:1em;
}
*/

.red { color:#660033; }

.logButtons {
  width:15px;
  height:15px;
  border:1px solid #3E5970;
  font-size:1em;
  background-color:#B5C3CC;
  margin-bottom:4px;
}

.logButtonsOn {
  width:15px;
  height:15px;
  border:1px solid #3E5970;
  font-size:1em;
  background-color:#ffff00;
  margin-bottom:4px;
}

#fuel1 {
  margin:0px;
  padding:0px;
  width:720px;
  display:none;
}

#comments1 {
  margin:0px;
  padding:0px;
  width:720px;
  display:none;
}

#primary_nav_wrap ul {
  list-style:none;
  position:relative;
  margin:0;
  padding:0;
  display:flex;
  justify-content:space-around;
  flex-wrap:wrap;
}

#primary_nav_wrap ul li {
  position:relative;
  margin:0;
  padding:0;
}

#primary_nav_wrap ul li a {
  display:block;
  color:#fff;
  text-decoration:none;
  font-weight:700;
  font-size:1em;
  padding:15px 10px;
}

#primary_nav_wrap ul li.current-menu-item { background:#3E5970; }

#primary_nav_wrap ul li:hover { background:#9daeba; }

#primary_nav_wrap ul ul {
  display:none;
  position:absolute;
  top:100%;
  left:0;
  background:#3E5970;
  padding:0;
  z-index: 9999999999;
}

#primary_nav_wrap ul ul li {
  float:none;
  width:200px;
}

#primary_nav_wrap ul ul a {
  line-height:120%;
  padding:10px 15px;
}

#primary_nav_wrap ul ul ul {
  top:0;
  left:100%;
}

#primary_nav_wrap ul li:hover>ul { display:block; }

#leftnav form .header_a  {
	padding: 10px !important;
	display: flex;
	flex-wrap: wrap;
	flex-direction: column;
	width: auto;
	height: auto;
	background-color: #fff !important;
}

#leftnav b {
	color: #000 !important;
}

#leftnav form div a {
	margin-top: 10px;
	background-color: #fff !important;
}

#leftnav p a {
	display: block;
	width: 96%;
	background-color: #eee !important;
	color: #000 !important;
	text-decoration: none;
	padding: 4px !important;
}

/* PHPGRID OVERRIDE =========================*/

* { font-size: 12x !important; }

#right .ui-jqgrid .ui-jqgrid-btable {
    table-layout: auto;
}

#right .ui-jqgrid-view {
	width: 100%;
	min-width: 500px;
	max-width: 2200px;
}

#right .ui-jqgrid {
	padding: 0px 0px 30px 0px !important;
}

#list2_pager {
	height: auto;
}

#right #list1_toppager {
	height: auto;
}

#right #list1_pager {
	overflow: visible;
}

#right table tr {
	text-align:left !important;
/* 	padding-left: 10px; */
}

#right table td {
  display:table-cell;
  vertical-align:middle;
  text-align: center;
  border-bottom: 1px solid #000033;
}

#right .ui-jqdialog-content table td {
  text-align:left !important;	
}

#list1_pager_left table {
	margin-left: 0px;
}

#right .ui-widget{
  font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
}

#right .ui-widget input,#right .ui-widget select,#right .ui-widget textarea, #right .ui-widget button{
  font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
  font-size: .8em;
}

#right .ui-widget-content{
  border:1px solid #3E5970;
  background:#f6f6f6;
  color:#000;
}

#right .ui-jqgrid #right .ui-jqgrid-toppager #right .ui-pg-div span#right .ui-icon {
  margin: 0 -1px;
}

#right .ui-widget-header{
  border:1px solid #3E5970;
  background:#3E5970;
  color:#fff;
  border-radius: 0;
}

#right .ui-state-default,#right .ui-widget-content .ui-state-default, #right .ui-widget-header .ui-state-default{
  background:#f6f6f6;
  color:#000;
  border-radius: 0;
}

#right .ui-state-default a,#right .ui-state-default a:link,#right .ui-state-default a:visited{
  color:#222;
}

#right .ui-state-hover a,#right .ui-state-hover a:hover,#right .ui-state-hover a:link,#right .ui-state-hover a:visited,#right .ui-state-focus a,#right .ui-state-focus a:hover,#right .ui-state-focus a:link,#right .ui-state-focus a:visited{
  color:#222;
}

#right .ui-corner-all,#right .ui-corner-top,#right .ui-corner-left,#right .ui-corner-tl{
  border-top-left-radius:0px
}

#right .ui-corner-all,#right .ui-corner-top,#right .ui-corner-right,#right .ui-corner-tr{
  border-top-right-radius:0px
}

#right .ui-corner-all,#right .ui-corner-bottom,#right .ui-corner-left,#right .ui-corner-bl{
  border-bottom-left-radius:0px
}

#right .ui-corner-all,#right .ui-corner-bottom,#right .ui-corner-right,#right .ui-corner-br{
  border-bottom-right-radius:0px
}

#right .ui-widget-overlay{
  background:#3E5970;
}

#right .ui-widget-shadow{
  margin:-8px 0 0 -8px;
  padding:15px;
  background:#3E5970;
  border-radius:0;
}

#right .ui-alt-rows {
  background-color: #fefefe;
}

#right .ui-state-highlight, #right .ui-widget-content #right .ui-state-highlight, #right .ui-widget-header #right .ui-state-highlight {
  border: 1px solid #fad42e;
  background: #fbec88;
  color: #363636;
}

#right .ui-state-hover,#right .ui-widget-content .ui-state-hover,#right .ui-widget-header .ui-state-hover,#right .ui-state-focus,#right .ui-widget-content .ui-state-focus,#right .ui-widget-header .ui-state-focus{
  border:1px solid #79b7e7;
  background:#d0e5f5;
  font-weight:bold;
  color:#1d5987
}

#right .ui-jqgrid tr.ui-row-ltr td {
  text-align: left;
  border-right-width: 1px;
  border-right-color: inherit;
  border-right-style: solid;
  border-color: #eee;
}

#right .ui-jqgrid tr.ui-row-ltr td {
  border-right-width: 1px;
  border-right-color: inherit;
  border-right-style: solid;
  border-color: #eee;
  display:table-cell;
  vertical-align:middle;
  text-align:center;
}

td.smheading, td.smheading a, td.smheading a:link, td.smheading a:active, td.smheading a:visited {
    word-break: normal !important;
}

.ui-jqdialog {
	width: 60% !important;
  height: 60% !important;
  overflow: scroll !important;
  z-index: 99999 !important;
  left: 20% !important;
  top: 15% !important;
}

.ui-jqdialog-content .CaptionTD {
	white-space: normal !important;
}

.logButtons, .logButtonsOn {
  width: 23px;
  height: 20px;
}

#right .ui-widget input, #right .ui-widget input div { font-size: 14px !important;}

#topnav a {
	color: white;
	padding-left: 18px;
}

#right table th, #right table th a {
  background-color: #3E5970;
  color: #ffffff;
}

td.smallShadeRed {
	background-color: #e74c3c!important;
}

td.smallShadeYellow {
	background-color: #f39c12!important;
}

td .ui-button {
  display: none !important;
}

.pagination {
  overflow-x: scroll;
}

.pagination a {
  margin-left: 0.3em;
}

.locdetail-table td {
    text-align: left !important;
}

/* ==========================================*/

.input-container {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  flex-wrap: wrap;
}
.header_a {
  padding:2px;background-color:#ccccff;border:1px solid #666666;font-size:14px;
}
.header_default_view {
  padding:2px;background-color:#ccccff;font-size:12px;
}

input[type=submit], input[type=button], button {
  cursor:pointer;
}

#openFuel, #openComments {
    height: 20px;
    width: 23px;
    margin-bottom: 4px;
}

.quick-track-tbl td .selectize-control {
    position: relative;
    width: 100% !important;
    margin: 0px;
    white-space: nowrap;
}

tbody, th, td {
    vertical-align: middle;
}

/* MESSAGE UI FOR ACTIONS */
.ui-message {
    position: static;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    z-index: 999999999;
    font-family: sans-serif;
    text-align: center;
    border-radius: 10px!important;
    font-size: 15px;
}

.ui-message p {
  font-size: 15px!important;
}

.ui-loading {
    background-color: #fff;
    border: 1px solid #ccc;
    color: #333;
}

.ui-success {
    background-color: #dff0d8;
    border: 1px solid #d6e9c6;
    color: #3c763d;
}

.ui-error {
    background-color: #f2dede;
    border: 1px solid #ebccd1;
    color: #a94442;
}

.ui-close {
    position: relative;
    float: right;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

.ui-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999998;
}

input[type=button], input[type=submit], input[type=text], .selectize-input, input[type=tel], input[type=number], select, button {
    border-radius: 4px !important;
}

.btn-toggle {
    background-color: #27ae60!important;
}

input[type=button], input[type=submit] {
    background-color: #3498db!important;
    border: none !important;
    color: #FFF!important;
}

.selectize-input {
  padding: 5px 12px!important;
}

.selectize-dropdown, .selectize-input, .selectize-input input {
  line-height: 15px !important;
}

