body {
  background-color: #f8f8f8;
}

#wrapper {
  width: 100%;
}

#page-wrapper {
  padding: 0 15px;
  min-height: 568px;
  background-color: #fff;
}

@media (min-width: 768px) {
  #page-wrapper {
    position: inherit;
    margin: 0 0 0 250px;
    padding: 0 30px;
    border-left: 1px solid #e7e7e7;
  }
}

table tr > td > a {
  text-decoration: underline;
  font-weight: bold;
}

.table-sub-text {
  font-size: 0.8em;
  color: #595755;
  display: block;
}

.navbar-top-links li {
  display: inline-block;
}

.navbar-top-links li:last-child {
  margin-right: 15px;
}

.navbar-top-links .dropdown-menu li {
  display: block;
}

.navbar-top-links .dropdown-menu li:last-child {
  margin-right: 0;
}

.navbar-top-links .dropdown-menu li a {
  padding: 3px 10px;
  min-height: 0;
}

.navbar-top-links .dropdown-menu li a div {
  white-space: normal;
}

.navbar-top-links .dropdown-messages,
.navbar-top-links .dropdown-tasks,
.navbar-top-links .dropdown-alerts {
  width: 310px;
  min-width: 0;
}

.navbar-top-links .dropdown-messages {
  margin-left: 5px;
}

.navbar-top-links .dropdown-tasks {
  margin-left: -59px;
}

.navbar-top-links .dropdown-alerts {
  margin-left: -123px;
}

.navbar-top-links .dropdown-user {
  right: 0;
  left: auto;
}

.navbar-clock {
  color: #a4a4a4 !important;
}

.sidebar .sidebar-nav.navbar-collapse {
  padding-right: 0;
  padding-left: 0;
}

.sidebar .sidebar-search {
  padding: 10px;
}

.sidebar ul li {
  border-bottom: 1px solid #e7e7e7;
}

.sidebar ul li a.active {
  background-color: #eee;
}

.sidebar .arrow {
  float: right;
}

.sidebar .fa.arrow:before {
  content: "\f104";
}

.sidebar .active > a > .fa.arrow:before {
  content: "\f107";
}

.sidebar .nav-second-level li,
.sidebar .nav-third-level li {
  border-bottom: 0 !important;
}

.sidebar .nav-second-level li a {
  padding-left: 37px;
}

.sidebar .nav-third-level li a {
  padding-left: 52px;
}

@media (min-width: 768px) {
  .sidebar {
    z-index: 1;
    position: absolute;
    width: 250px;
    margin-top: 41px;
  }

  .navbar-top-links .dropdown-messages,
  .navbar-top-links .dropdown-tasks,
  .navbar-top-links .dropdown-alerts {
    margin-left: auto;
  }
}

.btn-outline {
  color: inherit;
  background-color: transparent;
  transition: all 0.5s;
}

.btn-primary.btn-outline {
  color: #428bca;
}

.btn-success.btn-outline {
  color: #5cb85c;
}

.btn-info.btn-outline {
  color: #5bc0de;
}

.btn-warning.btn-outline {
  color: #f0ad4e;
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -6px;
  margin-left: -1px;
  -webkit-border-radius: 0 6px 6px 6px;
  -moz-border-radius: 0 6px 6px 6px;
  border-radius: 0 6px 6px 6px;
}

.dropdown-submenu > a:after {
  display: block;
  content: " ";
  float: right;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
  border-width: 5px 0 5px 5px;
  border-left-color: #cccccc;
  margin-top: 5px;
  margin-right: -10px;
}

.dropdown-submenu:hover > a:after {
  border-left-color: #555;
}

.dropdown-submenu.pull-left {
  float: none;
}

.dropdown-submenu.pull-left > .dropdown-menu {
  left: -100%;
  margin-left: 10px;
  -webkit-border-radius: 6px 0 6px 6px;
  -moz-border-radius: 6px 0 6px 6px;
  border-radius: 6px 0 6px 6px;
}

.btn-danger.btn-outline {
  color: #d9534f;
}

.btn-primary.btn-outline:hover,
.btn-success.btn-outline:hover,
.btn-info.btn-outline:hover,
.btn-warning.btn-outline:hover,
.btn-danger.btn-outline:hover {
  color: #fff;
}

.chat {
  margin: 0;
  padding: 0;
  list-style: none;
}

.chat li {
  margin-bottom: 10px;
  padding-bottom: 5px;
  border-bottom: 1px dotted #999;
}

.chat li.left .chat-body {
  margin-left: 60px;
}

.chat li.right .chat-body {
  margin-right: 60px;
}

.chat li .chat-body p {
  margin: 0;
}

.panel .slidedown .glyphicon,
.chat .glyphicon {
  margin-right: 5px;
}

.chat-panel .panel-body {
  height: 350px;
  overflow-y: scroll;
}

.login-panel {
  margin-top: 25%;
}

.flot-chart {
  display: block;
  height: 400px;
}

.flot-chart-content {
  width: 100%;
  height: 100%;
}

.btn-circle {
  width: 30px;
  height: 30px;
  padding: 6px 0;
  border-radius: 15px;
  text-align: center;
  font-size: 12px;
  line-height: 1.428571429;
}

.btn-circle.btn-lg {
  width: 50px;
  height: 50px;
  padding: 10px 16px;
  border-radius: 25px;
  font-size: 18px;
  line-height: 1.33;
}

.btn-circle.btn-xl {
  width: 70px;
  height: 70px;
  padding: 10px 16px;
  border-radius: 35px;
  font-size: 24px;
  line-height: 1.33;
}

.show-grid [class^="col-"] {
  padding-top: 10px;
  padding-bottom: 10px;
  border: 1px solid #ddd;
  background-color: #eee !important;
}

.show-grid {
  margin: 15px 0;
}

.huge {
  font-size: 40px;
}

.panel-green {
  border-color: #5cb85c;
}

.panel-green .panel-heading {
  border-color: #5cb85c;
  color: #fff;
  background-color: #5cb85c;
}

.panel-green a {
  color: #5cb85c;
}

.panel-green a:hover {
  color: #3d8b3d;
}

.panel-red {
  border-color: #d9534f;
}

.panel-red .panel-heading {
  border-color: #d9534f;
  color: #fff;
  background-color: #d9534f;
}

.panel-red a {
  color: #d9534f;
}

.panel-red a:hover {
  color: #b52b27;
}

.panel-yellow {
  border-color: #f0ad4e;
}

.panel-yellow .panel-heading {
  border-color: #f0ad4e;
  color: #fff;
  background-color: #f0ad4e;
}

.panel-yellow a {
  color: #f0ad4e;
}

.panel-yellow a:hover {
  color: #df8a13;
}

#rightMenuArea {
  margin-right: 0px;
}

.word-wrap {
  word-wrap: break-word;
  min-width: 160px;
  max-width: 160px;
}

.eoLine {
  width: 400px !important;
}

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

.cursor-hand {
  cursor: pointer;
  cursor: hand;
}

.form-box {
  background-color: #f8f8f8;
  border-color: #ddd;
  border-style: solid;
  border-width: 1px 1px 1px 1px !important;
  border-radius: 4px 4px 4px 4px;
  padding: 8px;
}

.form-box-input {
  margin-bottom: 12px;
}

.modal-menu-button {
  margin-left: 4px;
}

.modal-footer-left {
  float: left;
}

.modal-footer-right {
  margin-top: 8px;
}

.modal-label-bar {
  margin: 0px !important;
}

.modal-label-option {
  margin-top: 8px !important;
}

.modal-separator {
  padding: 4px !important;
  display: block;
  background-color: #efefef;
  margin: 4px 8px 6px 44px;
  font-weight: bold;
  font-size: 1.25rem;
}

.modal-separator p {
  padding-top: 12px;
}

.modal-title {
  margin-top: 0;
}

.checkbox-nopad {
  margin: 0;
}

.order-line-item {
  margin-bottom: 12px;
  padding: 8px;
  background-color: #fff !important;
}

.order-item-box {
  margin-bottom: 16px !important;
}

.order-table thead th {
  background-color: #efefef;
  font-size: 1.1em;
}

.order-table > tfoot > tr > td {
  background-color: #f2f2f2;
  vertical-align: middle;
}

.order-item-sub {
  background-color: #292929;
  /* color: #EFEFEF; */
}

.circle-icon-text {
  color: #efefef;
  font-size: 0.85em;
  font-weight: bolder;
}

#overlay {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  background: #fff;
  /* opacity: 0.8; */
  /* filter: alpha(opacity=100); */
  z-index: 20000;
  background: #fff;
}

#loading {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -128px 0 0 -280px;
}

.round-bar {
  padding: 16px 48px 16px 48px;
}

.loading-screen-text {
  color: white;
  font-weight: bold;
  text-align: center;
  width: 100%;
  font-size: 3em;
}

.loading-screen-box {
  display: flex;
  justify-content: center;
}

.loading-center {
  width: 100%;
  display: block;
  background-image: linear-gradient(to left top, #1e323d, #2a2928);
  font-family: inherit;
  text-align: center;
  margin-top: 18%;
  font-size: 4em;
  text-shadow: #1e323d;
  color: #ebebeb;
  padding: 28px;
  border: 1px solid white;
}

.loading-center:after {
  opacity: 0.7;
}

/*
Uploader Control
*/
#trigger-upload {
  color: white;
  background-color: #00abc7;
  font-size: 14px;
  padding: 7px 20px;
  background-image: none;
}

#fine-uploader-manual-trigger .qq-upload-button {
  margin-right: 15px;
}

#fine-uploader-manual-trigger .buttons {
  width: 36%;
}

#fine-uploader-manual-trigger .qq-uploader .qq-total-progress-bar-container {
  width: 60%;
}

/*
Scroll Table Block
*/

div.scroll-block {
  overflow-y: scroll;
  height: 20px;
}

div.scroll-block .form-group {
  margin-left: 1px;
}

div.scroll-block .form-group div > span {
  display: inline-block;
  font-size: 0.9em;
  margin-top: 4px;
}

/*
Mini Ui Tables
*/

.sort-control {
  cursor: pointer !important;
}

.sort-filters .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 22px !important;
}

.sort-filters .select2-container .select2-selection--single {
  height: 24px;
  font-size: 0.8em;
}

.sort-filters .select2,
.sort-filters .select2-selection__rendered {
  height: 20px;
}

.completed-row {
  color: #b3b3b3;
  font-style: italic;
}

.pending-row-danger {
  font-weight: bolder;
}

/*
Modal Full Screen & transparent classes
*/

/* .modal-transparent */
.modal-transparent {
  background: transparent;
}

.modal-transparent .modal-content {
  background: #ffffff;
}

.modal-backdrop.modal-backdrop-transparent {
  background: #ffffff;
}

.modal-backdrop.modal-backdrop-transparent.in {
  opacity: 0.9;
  filter: alpha(opacity=90);
}

/* .modal-fullscreen */

.modal-fullscreen {
  background: #ffffff;
}

.modal-fullscreen .modal-content {
  background: transparent;
  border: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.modal-backdrop.modal-backdrop-fullscreen {
  background: #ffffff;
}

.modal-backdrop.modal-backdrop-fullscreen.in {
  opacity: 0.97;
  filter: alpha(opacity=97);
}

/* .modal-fullscreen size: we use Bootstrap media query breakpoints */

.modal-fullscreen .modal-dialog {
  margin: 0;
  margin-right: auto;
  margin-left: auto;
  width: 100%;
}

@media (min-width: 768px) {
  .modal-fullscreen .modal-dialog {
    width: 750px;
  }
}

@media (min-width: 992px) {
  .modal-fullscreen .modal-dialog {
    width: 970px;
  }
}

@media (min-width: 1200px) {
  .modal-fullscreen .modal-dialog {
    width: 1170px;
  }
}

@media (max-width: 768px) {
  #main-nav-toggle {
    float: left;
    display: inline;
    padding: 0;
    margin: 0;
  }

  #rightMenuArea,
  .hidden-small-menu {
    display: none;
  }

  #topnav.navbar-header {
    max-height: 40px !important;
    background-color: #00a0f2;
  }

  #topnav.navbar-nav,
  .navbar-brand {
    margin: 0;
  }

  #page-wrapper {
    margin-left: 0;
  }
}

/*
The mini loader
*/
#mini-loader {
  margin-top: 18%;
  outline: none;
}

#mini-loader .modal-content {
  padding: 12px 12px 0 12px;
}

#mini-loader .modal-content > div.row {
  padding: 24px;
}

#mini-loader .mini-loader-msg {
  font-size: 1.1em;
  font-weight: bolder;
  margin-left: 8px;
}

#mini-loader .fade {
  opacity: 0;
  -webkit-transition: opacity 1s linear;
  transition: opacity 1s linear;
}

/*
* Select input fields
*/

.input-search-field {
  cursor: pointer !important;
}

/*
Mini Data Table
*/
table.mini-table {
  font-size: 0.9em;
}

/*
Phone Number Validation classes
*/
.phone-invalid {
  color: #d11010;
  text-decoration: line-through;
}

.phone-international {
  color: #0a0199;
}

/*
Add-ons for bootstrap for additional control support
*/

.navbar-input-group {
  font-size: 0px; /*removes whitespace between button and input*/
}

.navbar-input-group input {
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
}

.navbar-input-group .btn {
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
  border-left: 0px;
}

/*
Add-ons for bootstrap and select2
*/

.admin-modal-form .select2-container .select2-selection--single {
  display: inline-block !important;
  width: 100%;
}

div.has-error .select2-selection {
  border: 1px solid #a94442;
  border-radius: 4px;
}

.admin-modal-form .select2-container .select2-selection--single,
.admin-small-form .select2-container .select2-selection--single {
  max-height: 32px;
  height: 32px;
  padding: 2px 5px;
  font-size: 12px;
  line-height: 1.5;
  border-radius: 3px;
  border: 1px solid #ddd;
}

.sort-filters .select2-container .select2-selection--single {
  max-height: 24px;
  height: 24px;
  padding: 2px 2px;
  font-size: 10px;
  border-radius: 3px;
  border: 1px solid #ddd;
}

.admin-modal-form .select2-container .select2-container--default .select2-container--below {
  max-height: 30px !important;
}

.admin-modal-form .select2-container--bootstrap {
  margin-bottom: 4px !important;
}

/*
Additional CSS controls for metri-tech
*/

.adminModalRow {
  margin-left: 6px;
  margin-right: 6px;
}

.admin-modal-form div.form-group {
  display: block;
}

.admin-modal-form div.form-group:after {
  content: "\a";
  white-space: pre;
}

.modal-input-group-pad {
  margin-bottom: 4px;
}

.modal-small-txt {
  font-size: 0.75em !important;
}

#sub-nav.affix {
  position: fixed;
  top: 0;
  z-index: 10;
  display: block;
  margin-top: 0;
}

.small-tabs.nav-tabs > li > a {
  font-size: 0.75em;
  border-color: #d4d4d4;
  font-weight: bolder;
  padding: 4px;
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:focus {
  background-color: #4e5864;
  color: white;
  font-weight: bolder;
}

.admin-navbar-pad {
  margin-top: 8px;
  margin-bottom: 4px;
}

.nav-settings-menu {
  height: 40px;
}

.admin-smallui-header > h1 {
  font-size: 25px;
  height: 38px;
}

.admin-smallui-form-toggle {
  margin-top: 4px;
  cursor: pointer;
}

.page-header {
  /*margin: 10px;*/
  /*height: 38px;*/
}

#topnav .navbar-brand {
  padding-left: 0;
  padding-top: 15px;
  font-size: 18px;
  width: 210px;
  font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 500;
  line-height: 1.1;
  text-rendering: optimizeLegibility;
  background: -webkit-linear-gradient(#848384, #000000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#topnav-menu > ul > li > a {
  padding-top: 18px;
  padding-left: 6px;
  padding-right: 12px;
}

.input-xs {
  height: 22px;
  padding: 2px 5px;
  font-size: 12px;
  line-height: 1.5; /* If Placeholder of the input is moved up, rem/modify this. */
  border-radius: 3px;
}

.form-create-update {
  padding-top: 8px;
  color: #9a9a9a;
}

.form-create-update a {
  color: #00bf9f;
}

form.admin-small-form .form-group {
  margin-bottom: 10px;
}

.admin-small-form select,
.admin-table-search select {
  font-size: 0.9em;
  padding: 0 0 0 0 !important;
  height: 24px;
}

.admin-small-form input,
label,
.admin-table-search input,
label {
  height: 24px;
  padding: 2px 5px;
  font-size: 12px;
  line-height: 1.5; /* If Placeholder of the input is moved up, rem/modify this. */
  border-radius: 3px;
}

.admin-small-form label {
  font-size: 0.75em;
  padding: 0;
  text-align: right;
}

.admin-tab-content > table {
  font-size: 0.85em;
}

.admin-small-form input {
  min-height: 30px;
}

.admin-small-form select {
  min-height: 30px;
}

.admin-small-form span select {
  padding-top: 6px;
}

.admin-modal-form select,
.admin-modal-form textarea,
.admin-modal-form input {
  margin-bottom: 4px;
}

.admin-tab-menu > nav.navbar {
  min-height: 20px;
  border: 0;
  border-bottom: 1px solid #aaa;
  padding: 0;
  background-color: #efefef;
  border-radius: 0;
  margin-bottom: 6px;
}

.admin-tab-menu > nav.navbar > div.container-fluid,
.admin-tab-menu > nav.navbar > div.container-fluid > div.navbar-collapse {
  padding-left: 0;
}

.admin-tab-menu ul > li > a {
  font-size: 0.9em;
  border: 0;
  padding: 6px;
  padding-top: 8px;
}

.admin-small-form > .form-control,
.admin-small-form > .input-group-addon,
.admin-small-form > .input-group-btn > .btn {
  height: 24px;
  padding: 1px 5px;
  font-size: 12px;
  line-height: 1.5;
}

.admin-small-form input[type="radio"],
input[type="checkbox"] {
  margin-top: 0;
}

.btn-fineUploader {
  margin-bottom: 5px;
}

.sub-form-padding {
  padding-left: 0;
  padding-right: 0;
}

div.multi-control div {
  text-align: left;
  padding-left: 0;
  padding-right: 5px;
}

div.multi-control input {
  margin-left: 5px;
}

.full-size-map {
  width: 100%;
  height: 600px;
}

.app-footer div.row {
  padding-top: 15px;
  min-height: 40px;
}

h6.admin-label,
h5.admin-label,
h4.admin-label,
h3.admin-label,
h2.admin-label,
h1.admin-label {
  margin: 0;
}

.draggable-row {
  cursor: -webkit-grab;
  cursor: -moz-grab;
}

.dragging-row {
  cursor: move;
  cursor: -webkit-grab;
}

.ui-sortable-helper {
  display: table;
}

.panel-heading-button-spacer button,
.panel-heading-button-spacer span {
  margin-left: 2px;
}

.control-upload-file-zone {
  min-height: 175px;
}

.control-upload-file-zone i {
  margin: 16px 8px 8px 8px;
}

.alert p .btn {
  display: inline;
}

.font-white {
  color: #ffffff;
}

.font-bold {
  font-weight: 800;
}

input[type="radio"]:checked + label {
  font-weight: bold;
}

.admin-dashboard-graph {
  margin-bottom: 32px;
}

.admin-global-settings {
  margin-bottom: 12px;
}

#card-line-modal {
  background-color: #e3f2fd !important;
}

#card-line-item {
  background-color: #bbdefb;
}

img.partPrimaryMedia {
  margin: 16px 8px 8px 8px !important;
  border: solid 0.4em #eee;
  border-radius: 0.1em;
}

@media (max-width: 767px) {
  .admin-small-form label {
    margin-left: 14px;
  }

  .select2 {
    width: 100% !important;
  }
}

@media (min-width: 768px) {
  .admin-small-form label {
    margin-left: 14px;
  }

  .select2 {
    width: 100% !important;
  }
}

@media (min-width: 992px) {
  .admin-small-form label {
    margin-left: 14px;
  }
}

@media (min-width: 1200px) {
  .admin-small-form label {
    margin-left: 0;
  }
}

.tab-content tbody {
  overflow-y: auto; /* Trigger vertical scroll    */
  overflow-x: hidden; /* Hide the horizontal scroll */
}

.header-list-table h3 {
  padding: 0;
  margin: 0;
}

.header-list-table .sub-text {
  color: #999999;
}

.stock-log-table-body tr td h5 {
  margin-top: 0;
  margin-bottom: 0;
}

.modal-wide-format .modal-dialog {
  margin-left: 12vw;
  margin-right: 12vw;
  width: 76%;
}

.part-inventory-label {
  margin-left: 8px;
}

.keyword-tag {
  text-decoration: none !important;
}

i.crumb-arrow {
  border: solid #aaaaaa;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 3px;
  margin-right: 4px;
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}

.spa-menu-button {
  margin: 2px;
}

.passwordRules {
}

.passwordRules h3 {
  font-size: 16px;
  margin: 0;
  font-weight: bolder;
}

.passwordRules ul li {
  font-size: 0.7em;
}

.sidebar-icon {
  font-size: 1.4em;
}

.sidebar-collapse {
  width: 100%;
  text-align: left;
  padding: 8px 15px;
  margin: 0;
}

.sidebar .active:first-child {
  background-color: #4e5864;
  color: white;
}

.spa-main-submit {
  margin-bottom: 6px;
  padding: 6px;
}

.spa-main-submit div.form-group {
  margin-bottom: 0 !important;
}

.main-field-set {
  margin-bottom: 0;
}

span.req {
  color: #bf2321 !important;
  font-weight: bold;
}

.pagination > li.disabled {
  pointer-events: none;
}
