/* ABillS Default CSS */

._red {
  background-color: #f00;
}

._blue {
  background-color: #8585f3;
}

._yellow {
  background-color: #ff0;
}

._green {
  background-color: #008000;
}

.main_body1 {
  background-color: #f5f5f5;
}

.main_body2 {
  background-color: #f0f;
}

.statusColor4 {
  color: white !important;
  background-color: #808080 !important;
}

.statusColor5 {
  color: white !important;
  background-color: #099 !important;
}

.statusColor6 {
  color: white !important;
  background-color: #87289e !important;
}

.statusColor4, .statusColor5, .statusColor6 {
  background-image: none !important;
  text-shadow: none !important;
}

span.badge.alert-warning {
  color: darkgrey;
  font-weight: 600;
}

@media print {
  a[href]:after {
    content: none;
  }
}

input[type='checkbox'].control-element {
  margin-top: 7px !important;
}

input[type='checkbox'] {
  cursor: pointer;
}

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

textarea {
  resize: vertical;
}

textarea.horizontal-resize {
  resize: both;
}

table {
  width: 100%;
}

/* The input. */
input.mp_input {
  outline: none;
}

/* Ordered list for display results. */
ol.mp_list {
  overflow: hidden;
  position: absolute;
  padding-left: 0;
  width: 344px;
  z-index: 99999;
  /*border: 1px solid silver;*/
  border-radius: 4px;
  margin-left: -160px;
  margin-top: 35px;

}

@media only screen and (max-width: 950px) {
  ol.mp_list {
    margin-left: -35px;
  }
}

/* Each list item, regardless of success, error, etc. */
ol.mp_list li:not(.disabled) {
  cursor: pointer;
}

ol.mp_list li {
  border-bottom: 1px solid silver;
  left: 0;
  right: 0;
  width: 350px;
  padding: 5px 10px;
  margin-left: -5px;
  /*margin: auto 10px;*/
  display: block;
}

ol.mp_list li span.mp_address {
  margin-right: 5px;
}

/* When a request is made that returns zero results. */
ol.mp_list li.mp_no_results {
  display: none;
}

/* When a request is made that doesn't meet the 'minChars' length option. */
ol.mp_list li.mp_min_chars {
  display: none;
}

/* When a request is made that fails during the ajax request. */
ol.mp_list li.mp_error {
  display: none;
}

div.checkbox-block {
  margin-left: 30px;
  text-align: left;
}

button.full-width {
  width: 100%;
}

.file-input .file-visible {
  cursor: pointer;
}

.navbar-form div.input-group {
  min-width: 300px !important;
}

div.box-body ul.pagination.pagination-sm {
  margin: 0 !important;

}

div.box-body ul.pagination.pagination-sm > li > a {
  padding: 2px 5px;
}

/* Uncomment this when somebody requests selects with full content width*/
/*div.box-body .chosen-container.chosen-container-single {*/
/*width: 100% !important;*/
/*}*/

nav.navbar a.header-btn-link {
  color: white;
  padding: 15px 15px;
  float: left;
}

/*Align last td (control buttons) to right side*/
table.table.with-function-fields > tbody > tr > td:last-child {
  text-align: right;
}

table.table.table-striped.table-hover.table-condensed > tbody > tr > td:last-child > a {
  margin: 0 10px;
}

a {
  cursor: pointer;
}

#up-btn {
  z-index: 2600;
  position: fixed;
  right: 0;
  bottom: 90px;
  width: 34%;
  margin-left: 90%;
  opacity: 0.5;
  filter: alpha(opacity=50);
}

#up-btn:hover {
  opacity: 1;
  filter: alpha(opacity=100);
  cursor: pointer;
}

.up-btn-icon {
  z-index: 2600;
  position: absolute;
  display: block;
  right: 5px;
  bottom: 0;
  padding: 0 12px 4px;
  font-size: 1.5em;
}

.form-horizontal .checkbox {
  margin-bottom: 10px;
}

div.box-body > div.button-block:not(.btn-group) > .btn {
  margin: 0 5px;
}

.content-header > .breadcrumb > li + li:before {
  content: '';
  padding: 0 3px;
}

div.box-heading, div.box-header, .box-title {
  text-align: left;
}

h4.table-caption > a > span.fa {
  margin-right: 5px;
}

.bg-red a, .bg-danger a {
  color: #843534;
  font-weight: 700;
}

.bg-red a:hover, .bg-danger a:hover {
  text-decoration: underline;;
}

div.modal-content > div.box {
  margin-bottom: 0;
}

div.input-group > span.input-group-addon.fa {
  top: 0;
}

div.info-tip {
  position: fixed;
  color: white;
  border: 1px solid gray;
  border-bottom: none;
  background-color: #7AB932;
  padding: 3px;
  z-index: 1000;
  /* set this to create word wrap */
  max-width: 200px;
}

.table-striped > tbody > tr.row-active {
  background-color: #dbffdb !important;
}

/*select.normal-width  + div.chosen-container{*/
/*width : 100% !important;*/
/*}*/

.btn-ethernet {
  border-radius: 3px;
  position: relative;
  padding: 3px;
  margin: 0 0 10px 10px;
  min-width: 60px;
  height: 60px;
  text-align: center;
  color: #666;
  border: 1px solid #ddd;
  background-color: #f4f4f4;
  font-size: 12px;
  display: inline-block
}

.btn-ethernet > .icon {
  font-size: 52px;
  display: block
}

.btn-ethernet > .port-num {
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 16px;
  font-weight: 900;
  color: #FFF;

}

.btn-ethernet > .badge {
  position: absolute;
  top: -5px;
  right: -5px;
  font-size: 12px;
  font-weight: 400;
  color: #777;
  border: 1px solid #ddd;
  background-color: #f4f4f4;
  padding: 3px 4px;
  border-radius: 4px;

}

.btn-ethernet > .badge > .fa {
  font-size: 12px;
}

.btn-ethernet > .badge a {
  color: inherit;
}

.btn-ethernet > .badge-down {
  color: #dd4b39;
}

.btn-ethernet > .badge-down:active, .btn-ethernet > .badge-down:focus, .btn-ethernet > .badge-down:hover {
  color: #00a65a;
}

.btn-ethernet > .badge-up {
  color: #00a65a;
}

.btn-ethernet > .badge-up:active, .btn-ethernet > .badge-up:focus, .btn-ethernet > .badge-up:hover {
  color: #dd4b39;
}

.btn-ethernet > .badge-bottom {
  position: absolute;
  bottom: -12px;
  left: -7px;
  font-size: 13px;
  font-weight: 900;
  color: #777;
  border: 1px solid #ddd;
  background-color: #f4f4f4;
  padding: 0 3px;
  border-radius: 4px;

}

.text-dark-gray {
  color: #666 !important
}

.btn-user > i.fa {
  margin-right: 5px;
}

.chart {
  position: relative;
  display: inline-block;
  width: 120px;
  height: 120px;
  margin-top: 5px;
  margin-bottom: -5px;
  text-align: center
}

.chart canvas {
  position: absolute;
  top: 0;
  left: 0
}

.chart.chart-widget-pie {
  margin-top: 5px;
  margin-bottom: 5px
}

.pie-chart > span {
  left: 0;
  margin-top: -2px;
  position: absolute;
  right: 0;
  text-align: center;
  top: 50%;
  transform: translateY(-50%)
}

.chart > span > img {
  left: 0;
  position: absolute;
  right: 0;
  text-align: center;
  top: 50%;
  width: 60%;
  height: 60%;
  transform: translateY(-50%);
  margin: 0 auto
}

.percent {
  display: inline-block;
  line-height: 120px;
  z-index: 2;
  font-weight: 500;
  font-size: 22px;
  color: #313131
}

.form-group .select2-container {
  position: relative;
  z-index: 2;
  float: left;
  /*width: 100%;*/
  margin-bottom: 0;
  display: table;
  table-layout: fixed;
}
.form-inline .input-group.select{
  min-width: 20%;
}
.input-group.select {
  width: 100%;
  margin-bottom: 0;
}
.form-inline .input-group{
  width: auto;
}

.form-inline .form-group .select2.select2-container{
  min-width: 200px;
}

@media (min-width: 768px) {
  .form-inline .input-group.select {
    display: inline-table;
    width: auto;
    vertical-align: middle;
  }
}

.form-inline .form-group .select2-container {
  display: block;
}

.select2-container--default.select2-container--focus, .select2-selection.select2-container--focus, .select2-container--default:focus, .select2-selection:focus, .select2-container--default:active, .select2-selection:active {
  border-color: #3c8dbc;
  outline: 0;
}

button.close {
  position: relative;
  z-index: 99999;
}

.new-tags {
  border-radius: 3px 0 0 3px;
  color: white;
  display: inline-block;
  height: 26px;
  line-height: 26px;
  padding: 0 20px 0 23px;
  position: relative;
  text-decoration: none;
  -webkit-transition: color 0.2s;
  border-bottom: 0;
  border-top: 0;
  border-right: 0;
  font-size: .7rem!important;
}

.new-tags::before {
  background: #fff;
  border-radius: 10px;
  box-shadow: inset 0 1px rgba(0, 0, 0, 0.25);
  content: '';
  height: 6px;
  left: 10px;
  position: absolute;
  width: 6px;
  top: 10px;
}

.new-tags::after {
  background: #fff;
  border-bottom: 13px solid transparent;
  border-top: 13px solid transparent;
  border-left: 10px;
  border-left-color: inherit;
  border-left-style: solid;
  content: '';
  position: absolute;
  right: 0;
  top: 0;
}

li.mp_item {
  background: wheat !important;
}

.sidebar-mini.sidebar-collapse #search-div {
  display: none !important;
  -webkit-transform: translateZ(0);
}

body:not(.sidebar-mini-md) .content-wrapper, body:not(.sidebar-mini-md) .main-footer, body:not(.sidebar-mini-md) .main-header {
  transition: all .3s ease-in-out;
  transition-property: margin-right, margin-left;
}

.control-sidebar-slide-open .content-wrapper, .control-sidebar-slide-open .main-footer {
  margin-right: 250px;
}

.control-sidebar .section_title {
  font-weight: 400;
  font-size: 1rem;
  padding: 0px 10px;
}

.control-sidebar .user-menu {
  padding: 4px 0;
}

@media (min-width: 768px) {
  .control-label {
    padding-top: 7px;
    margin-bottom: 0;
    text-align: right !important;
  }
}

@media (max-width: 768px) {
  label.text-right {
    text-align: center !important;
  }

  .form-check.text-left {
    text-align: center !important;
  }
}

.input-group-custom-select > .input-group > .select2-container > .selection > .select2-selection--single {
  height: 1.95rem;
  padding: .28rem .5rem;
}

.input-group-custom-select > .input-group > .select2-container > .selection > .select2-selection--single > .select2-selection__arrow{
  height: 26px;
}

.input-group-custom-select > .input-group > .select2-container >
.selection > .select2-selection--single > .select2-selection__rendered >
.select2-selection__clear {
  padding-right: -4px;
  padding-left: 5px;
}

.group-btn {
  margin: 2px;
}

.callout-quoting {
  margin-bottom: 0;
}

.breadcrumb > .breadcrumb-item > a > p {
  margin: 0;
}

.nav-pills .nav-link {
  color: rgb(180, 180, 180) !important;
}

.hidden {
  display: none;
}
