.bold {
  font-weight: bold;
}

/*.modal {*/
/*  z-index: 2021 !important;*/
/*}*/

@media (min-width: 768px) {
  .modal-dialog {
    width: 700px !important;
  }
}

.row-control {
  margin-bottom: 6px !important;
}

.row-content {
  margin-bottom: 12px !important;
}

.row-content:last-of-type, .row-content:last-child {
  margin-bottom: 0 !important;
}

/* hpanel */
.hpanel.hpanel-sub {
  margin-right: 0 !important;
  margin-bottom: 12px !important;
  /*margin-top: 6px !important;*/
}

.hpanel.hpanel-sub2 {
  margin-right: 0 !important;
  margin-bottom: 6px !important;
}

.hpanel.hpanel-sub2 .panel-body {
  border: 1px solid #04bc04;
}

.hpanel .panel-body {
  border-top: 2px solid #f36f21;
}

.hpanel.hpanel-red .panel-body {
  border-top-color: #e74c3c;
}

.hpanel.hpanel-green .panel-body {
  border-top-color: #62cb31;
}

.hpanel.hpanel-blue .panel-body {
  border-top-color: #4285F4;
}

.hpanel.hpanel-yellow .panel-body {
  border-top-color: #ffb606;
}

.hpanel-sub .panel-body {
  padding: 12px !important;
}

.hpanel-sub2 .panel-body {
  padding: 0 !important;
}

#heading__title {
  font-size: 18px;
}

.heading-title {
  font-weight: 600;
}

/* Host Dashboard */
.host-fullname-span {
  font-size: 18px;
}

.host-name-span {
  font-weight: 600;
  cursor: pointer;
}

.host-name-span:hover {
  text-decoration: underline;
}

.host-host-span {
  color: #4285F4;
  font-weight: 600;
  cursor: pointer;
}

.host-host-span:hover {
  text-decoration: underline;
}

.host-entity-span {
  color: #62cb31;
  font-weight: 600;
  cursor: pointer;
}

.host-entity-span:hover {
  text-decoration: underline;
}

.status-container {
  display: inline-block;
  white-space: nowrap;
  font-size: 11px;
}

.status-green, .status-red, .status-grey, .status-dark-grey, .status-yellow {
  padding: 2px 3px;
  text-transform: uppercase;
  text-align: center;
  min-width: .7em;
  line-height: 1em;
  display: inline-block;
}

.status-green {
  color: #fff;
  border: 1px solid #2f9f5e;
  background-color: #34af67;
}

.status-red {
  color: #fff;
  border: 1px solid #d23d3d;
  background-color: #d64e4e;
}

.status-grey {
  color: #acbbc2;
  background-color: #ebebeb;
  border: 1px solid #ccd5d9;
}

.status-dark-grey {
  border: 1px solid #80898d;
  background-color: #8a9397;
}

.status-yellow {
  color: #fff;
  border: 1px solid #e79e0b;
  background-color: #f1a50b;
}

.status-green:not(:last-of-type), .status-red:not(:last-of-type), .status-grey:not(:last-of-type),
.status-dark-grey:not(:last-of-type), .status-yellow:not(:last-of-type) {
  border-right: none;
}

.subtitle-link {
  padding: 3px 5px;
  line-height: 1em;
  display: inline-block;
}

.subtitle-link:not(:last-of-type) {
  margin-right: 10px;
}

.subtitle-link a {
  color: #4285F4;
  font-weight: 600;
}

.subtitle-link.active {
  border: 1px solid #4285F4;
  background-color: #4285F4;
  color: #fff;
}

.subtitle-link.active a {
  color: #fff;
}

.btn-add {
  border: 1px solid #2C68AC !important;
  background-color: #2C68AC !important;
  color: #fff;
  padding: 3px 10px;
  margin-left: 5px;
  font-size: 12px;
  line-height: 1.5;
}

.btn-cancel {
  border: 1px solid #F4B841 !important;
  background-color: #F4B841 !important;
  color: #fff;
  padding: 3px 10px;
  margin-left: 5px;
  font-size: 12px;
  line-height: 1.5;
}

.btn-save {
  border: 1px solid #D55745 !important;
  background-color: #D55745 !important;
  color: #fff;
  padding: 3px 10px;
  margin-left: 5px;
  font-size: 12px;
  line-height: 1.5;
}

.btn-clear {
  border: 1px solid #E93323 !important;
  background-color: #E93323 !important;
  color: #fff;
  padding: 3px 10px;
  margin-left: 5px;
  font-size: 12px;
  line-height: 1.5;
}

.btn-add:hover, .btn-cancel:hover, .btn-save:hover, .btn-clear:hover {
  color: #fff !important;
}

.btn-direction {
  color: #ffffff;
  background-color: #5bc0de;
  border-color: #46b8da;
}

.btn-direction:hover,
.btn-direction:focus,
.btn-direction:active {
  color: #ffffff;
  background-color: #39b3d7;
  border-color: #269abc;
}

a.hintbox-link {
  border-bottom: 1px dotted;
  transition: color 0.2s ease-out;
  cursor: pointer;
  color: #1f2c33;
}

a.action-link {
  border-bottom: 1px dotted;
  transition: color 0.2s ease-out;
  cursor: pointer;
  color: #1f2c33;
}

a.item-link {
  color: #0275b8;
  text-decoration: none;
  transition: color 0.2s ease-out;
  cursor: pointer;
}

a.item-link-alt {
  border-bottom: 1px solid rgba(118, 141, 153, 0.35);
  transition: color 0.2s ease-out;
  cursor: pointer;
}

a.grey {
  color: #768d99;
}

a.orange {
  color: #f24f1d;
}

a.green {
  color: #429e47;
}

a.disabled, a.dt-table-link.disabled {
  color: #8a8c8f;
  cursor: not-allowed;
}

span.span-value {
  /*font-style: italic;*/
  color: #953b39;
}

span.span-name {
  font-weight: bold;
}

.form-row h4 {
  /*margin-top: 0;*/
  font-size: 14px;
  font-weight: 600;
  color: #1f2c33;
  line-height: 14px;
  margin-top: 10px;
}

div.dt-button-collection {
  width: 200px !important;
  z-index: 2002 !important;
}

a.dt-button {
  white-space: normal !important;
}

canvas.rn-item-trend-canvas {
  height: 500px !important;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

canvas.rn-topology-map-popup-canvas {
  height: 400px !important;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

.rn-topology-map-popup-tab-content.tab-content {
  height: 426px;
  position: relative;
}

.rn-topology-map-popup-tab-content .tab-pane {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.rn-topology-map-popup-tab-content .tab-pane.active {
  position: relative;
  opacity: 1;
  visibility: visible;
}

/* json syntax highlight */
.json pre {
  outline: 1px solid #ccc;
  padding: 5px;
  margin: 5px;
}

.json pre .string {
  color: green;
}

.json pre .number {
  color: darkorange;
}

.json pre .boolean {
  color: blue;
}

.json pre .null {
  color: magenta;
}

.json pre .key {
  color: red;
}

/* search highlight */
span.highlight {
  background-color: yellow;
  border-radius: .125em;
}

/* rn-modal */
body.rn-modal-open {
  overflow: hidden;
  position: fixed;
  width: 100%
}

.rn-modal { /* rn-modal (background) */
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1005; /* Sit on top when using with RnHintbox */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.5); /* Black w/ opacity */
}

.rn-modal-helper { /* vertical-alignment-helper */
  position: relative;
  display: table;
  height: 100%;
  width: 100%;
  pointer-events: none;
}

.rn-modal-center { /* vertical-align-center */
  display: table-cell;
  vertical-align: middle;
  pointer-events: none;
}

.rn-modal-content { /* modal-content */
  position: relative;
  background-color: #fff;
  width: inherit;
  height: inherit;
  margin: 0 auto;
  pointer-events: all;
  border-radius: 5px;
  border: none;
  box-shadow: 0 0 1px rgb(0 0 0 / 10%), 0 2px 4px rgb(0 0 0 / 20%);
}

.rn-modal-body {
  position: relative;
  padding: 20px 30px;
}

.rn-modal-footer {
  background: #f2f2f2;
  padding: 15px;
  text-align: right;
  border-top: 1px solid #e5e5e5;
}

@media (min-width: 768px) {
  .rn-modal-center {
    width: 700px !important;
  }
}

/* styles from pages */
.vertical-alignment-helper {
  display: table;
  height: 100%;
  width: 100%;
  pointer-events: none;
}

.vertical-align-center {
  display: table-cell;
  vertical-align: middle;
  pointer-events: none;
}

.modal-content {
  width: inherit;
  height: inherit;
  margin: 0 auto;
  pointer-events: all;
}

.select2-hidden-accessible {
  position: fixed !important;
}

/* status-table */
.status-table {
  width: 100%;
}

.status-table th {
  padding: 4px 10px;
}

.status-table td {
  padding: 4px 10px;
  border-bottom: 1px solid #ebeef0;
}

.status-table td.td-name {
  background-color: #E7EAEC;
}

.status-form label.control-label {
  padding-top: 7px;
}

.status-form .button-row button {
  display: inline-block;
  min-width: 100px;
  margin: 0 5px;
  padding: 5px 10px;
  text-align: center;
}

/* from admin */
.form-required > label:before {
  content: '* ';
  color: red;
}

span.form-has-required.pull-right {
  margin-right: 10px;
}

span.form-has-required:after {
  content: '(* Required field)';
  color: red;
}

/* Thumbnail styles for dropdown options */
.select2-thumbnail-item {
  display: flex;
  align-items: center;
  padding: 5px;
}

.select2-thumbnail {
  width: 40px;
  height: 40px;
  border-radius: 3px;
  margin-right: 10px;
  object-fit: cover;
}

.select2-thumbnail-small {
  width: 20px;
  height: 20px;
  border-radius: 2px;
  margin-right: 5px;
  object-fit: cover;
}

.thumbnail-option {
  display: flex;
  align-items: center;
  padding: 8px;
}

.thumbnail-img {
  width: 50px;
  height: 50px;
  border-radius: 4px;
  margin-right: 15px;
  object-fit: cover;
}

.thumbnail-selection {
  display: flex;
  align-items: center;
}

.thumbnail-img-small {
  width: 25px;
  height: 25px;
  border-radius: 3px;
  margin-right: 8px;
  object-fit: cover;
}

/* Ensure proper dropdown height */
.select-image .select2-results__option {
  padding: 0 !important;
}

.select-image .select2-results__option--highlighted .thumbnail-option {
  background-color: #5897fb;
  color: white;
}

canvas.rn-chart2-canvas {
  height: 400px !important;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

.rn-topology-map-controls .dropdown-menu > li > a {
  padding: 3px 12px;
}

.rn-topology-map-controls .dropdown-menu .dropdown-submenu {
  position: relative;
}

.rn-topology-map-controls .dropdown-menu .dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -6px;
  margin-left: -1px;
  border-radius: 0 6px 6px 6px;
  min-width: 160px;
}

.rn-topology-map-controls .dropdown-menu .dropdown-submenu:hover > .dropdown-menu {
  display: block;
}

.rn-topology-map-controls .dropdown-toggle-submenu::after {
  content: "▸";
  float: right;
  margin-left: 10px;
  border: none;
}

.rn-topology-map-controls .dropdown-item i {
  margin-right: 4px;
  width: 16px;
  text-align: center;
}

.rn-time-picker-select2 + .select2-container .select2-selection__rendered,
.rn-time-picker-select2 + .select2-container .select2-selection__placeholder {
  font-size: 11px !important;
  line-height: 1 !important;
}

/*** RnHintbox */
.rn-hintbox {
  z-index: 1002;
  position: absolute;
  overflow-y: auto;
  min-width: 300px;
  max-width: 50%;
  overflow-wrap: anywhere;

  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  color: rgba(0, 0, 0, 0.87);

  padding: 0;
  background-color: #FFFFFF;
  border-radius: 2px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);

  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/*** RnList */
.rnlist-table {
  width: 100%;
  background-color: #fff;
  border-collapse: separate;
  border-spacing: 0;
  border: none;
}

.rnlist-table thead th {
  /*color: #768d99;*/
  color: #21130d;
  height: 100%;
  overflow: hidden;
  white-space: nowrap;
  padding: 6px 5px;
  vertical-align: bottom;
  border-bottom: 2px solid #dce2e5;
  text-align: left;
}

.rnlist-table tbody th, .rnlist-table tbody td {
  padding: 6px 5px;
  position: relative;
  border-bottom: 1px solid #ebeef0;
  line-height: 18px;
  vertical-align: top;
}

.rnlist-table tfoot td {
  /*color: #768d99;*/
  color: #21130d;
  height: 100%;
  overflow: hidden;
  white-space: nowrap;
  padding: 6px 5px;
  vertical-align: top;
  border-top: 2px solid #dce2e5;
  text-align: left;
}

.rnlist-table tbody tr:last-child th, .rnlist-table tbody tr:last-child td {
  border-bottom: 0;
}

.rnlist-table th:first-child, .rnlist-table td:first-child {
  padding-left: 10px;
}

.rnlist-table th:last-child, .rnlist-table td:last-child {
  padding-right: 10px;
}

.rnlist-table td .btn:not(:first-child) {
  margin-left: 5px;
}

.rnlist-header-sortable {
  cursor: pointer;
  position: relative;
}

.rnlist-header-sortable:before {
  bottom: 50%;
  content: "▲";
  transform: scale(0.85);
}

.rnlist-header-sortable:after {
  top: 50%;
  content: "▼";
  transform: scale(0.85);
}

.rnlist-header-sortable:before, .rnlist-header-sortable:after {
  position: absolute;
  display: block;
  opacity: .15;
  right: 1em;
  line-height: 10px;
  font-size: 1em;
}

.rnlist-header-sortable-asc.rnlist-header-sortable:before, .rnlist-header-sortable-desc.rnlist-header-sortable:after {
  opacity: .6;
}

.rnlist-link {
  color: #0275b8;
  text-decoration: none;
}

.rnlist-link:hover {
  text-decoration: underline;
}

.rnlist-status {
  padding: 3px;
}

.rnlist-radio {
  margin-bottom: 0 !important;
  height: 22px;
}

.rnlist-radio input[type="radio"] {
  margin-top: -1px;
  vertical-align: middle;
}

.rnlist-checkbox {
  padding: 0 !important;
  clear: both;
  overflow: hidden;
}

.rnlist-checkbox label {
  margin: 0 !important;
  border: 1px solid #f1f3f4;
  font-weight: normal;
  text-align: center;
  float: left;
  height: 22px;
  width: 22px;
  line-height: 20px;
  border-radius: 2px;
}

.rnlist-checkbox input[type="checkbox"]:empty {
  display: none;
}

.rnlist-checkbox input[type="checkbox"]:empty ~ label {
  position: relative;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.rnlist-checkbox input[type="checkbox"]:empty ~ label:before {
  position: absolute;
  display: block;
  top: 0;
  bottom: 0;
  left: 0;
  content: '';
  background: #f1f3f4;
}

.rnlist-checkbox input[type="checkbox"]:empty ~ label:before {
  width: 22px;
}

.rnlist-checkbox input[type="checkbox"]:hover:not(:checked):not([disabled]) ~ label:before {
  content: '\2714';
  color: #C2C2C2;
}

.rnlist-checkbox input[type="checkbox"]:hover:not(:checked) ~ label {
  color: #888;
}

.rnlist-checkbox input[type="checkbox"]:checked ~ label:before {
  content: '\2714';
  color: #fff;
  background-color: #5cb85c;
}

.rnlist-checkbox input[type="checkbox"][disabled] ~ label:before {
  cursor: not-allowed;
}

.rnlist-checkbox input[type="checkbox"]:checked[disabled] ~ label:before {
  background-color: #eee;
  color: #888;
}

.rnlist-checkbox input[type="checkbox"]:checked ~ label:before {
  border-radius: 2px;
}

.rnlist-checkbox input[type="checkbox"]:checked ~ label {
  color: #fff;
  background-color: #5cb85c;
}

.rnlist-checkbox input[type="checkbox"]:focus ~ label:before {
  box-shadow: 0 0 0 2px #999;
}

.rnlist-checkbox-div {
  width: 100%;
  padding: 5px;
  border-radius: 4px;
  background-color: #fff;
  border: 1px solid #dee6ed;
}

.rnlist-checkbox-div label.rnlist-checkbox {
  margin-bottom: 0;
}

.rnlist-checkbox-div .rnlist-inline-title {
  float: left;
  line-height: 22px;
  margin-left: 10px;
  margin-bottom: 0 !important;
  height: 22px;
}

.input-xs {
  height: 24px;
  padding: 2px 10px;
  font-size: 11px;
  line-height: 1.5;
  border-radius: 3px;
}

.rnlist-checkbox-div.input-xs {
  padding: 3px;
  border-radius: 3px;
}

.rnlist-form-row .rnlist-checkbox-div.input-xs,
.rnlist-row .rnlist-checkbox-div.input-xs,
.rnlist-header .rnlist-checkbox-div.input-xs {
  width: 26px;
}

.input-xs .rnlist-checkbox label {
  height: 16px;
  width: 16px;
  line-height: 14px;
}

.input-xs .rnlist-checkbox input[type="checkbox"]:empty ~ label:before {
  width: 16px;
}

tr.rnlist-form-row td:not([data-col='theRowSelect']) .rnform-checkbox-div,
tr.rnlist-form-row input,
tr.rnlist-form-row select,
tr.rnlist-form-row textarea,
tr.rnlist-form-row .select2-selection {
  background-color: #eee;
}

tr.rnlist-form-row.editing td:not([data-col='theRowSelect']) .rnform-checkbox-div,
tr.rnlist-form-row.editing input,
tr.rnlist-form-row.editing select,
tr.rnlist-form-row.editing textarea,
tr.rnlist-form-row.editing .select2-selection {
  background-color: #fff;
}

/*** RnItem */

.myItemsStatusPanel {
  max-height: 600px;
  overflow-y: auto;
}

.fullscreen .myItemsStatusPanel {
  height: calc(100vh - 60px);
  max-height: calc(100vh - 60px);
}

.myItemsStatusPanel .dt-icon-container {
  position: relative;
  display: inline-block;
  margin: 5px 2px;
}

.fullscreen .myItemsStatusPanel .dt-icon-container {
  margin: 10px;
}

.myItemsStatusPanel.size-100 .dt-icon-container i {
  font-size: 40px;
}

.myItemsStatusPanel.size-125 .dt-icon-container i {
  font-size: 50px;
}

.myItemsStatusPanel.size-150 .dt-icon-container i {
  font-size: 60px;
}

.myItemsStatusPanel.size-75 .dt-icon-container i {
  font-size: 30px;
}

.myItemsStatusPanel.size-50 .dt-icon-container i {
  font-size: 20px;
}

.myItemsStatusOverviewDiv .hpanel-sub {
  margin-bottom: 0 !important;
}

/*** RnMenu */
.rn-rotate-90 {
  transform: rotate(90deg);
}

.rn-right {
  float: right;
}

/*** RnMenu */
.rn-menu {
  z-index: 1000;
  position: absolute;
  overflow-y: auto;
  min-width: 200px;
  /*max-width: 320px;*/

  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  color: rgba(0, 0, 0, 0.87);

  padding: 0;
  background-color: #FFFFFF;
  border-radius: 2px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);

  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.rn-menu h3 {
  padding: 10px 16px 2px;
  margin: 0;
  font-size: 16px;
  font-weight: bold;
}

.rn-menu h3.border {
  border-bottom: 1px solid #EAEAEA;
  padding-bottom: 7px;
  margin-bottom: 5px;
}

.rn-menu ul {
  list-style-type: none;
  margin: 0 0 5px;
  padding: 0;
}

.rn-menu li {
  padding: 0 16px;
  min-height: 28px;
  line-height: 28px;
  cursor: pointer;
  white-space: nowrap;
}

.rn-menu li * {
  display: inline-block;
  vertical-align: middle;
}

.rn-menu li span {
  margin-left: 16px;
}

.rn-menu li.subtitle {
  cursor: default;
  background-color: #334433;
  color: #ffffff;
  font-size: x-small;
  text-transform: uppercase;
  margin: 5px 0;
}

.rn-menu li.dummy {
  cursor: default;
  color: #aaaaaa;
}

.rn-menu li.check {
  padding: 0 24px;
  height: 28px;
  line-height: 28px;
  cursor: pointer;
}

.rn-menu li.check.unchecked i {
  color: transparent;
}

.rn-menu li.divider {
  margin: 5px 0;
  min-height: 1px;
  height: 1px;
  background-color: #EAEAEA;
  cursor: default;
}

.rn-menu li.divider:hover {
  background-color: #EAEAEA;
}

.rn-menu li.label {
  font-weight: bold;
  cursor: default;
}

.rn-menu li.label:hover {
  background-color: inherit;
}

.rn-menu li.subtitle:hover {
  background-color: #334433;
}

.rn-menu li:hover {
  background-color: #EEEEEE;
}

.rn-menu .icon-wrapper {
  height: inherit;
  line-height: inherit;
}

.rn-icons {
  color: rgba(0, 0, 0, 0.54);
}

.rn-icons.md-18 {
  font-size: 18px;
}

.rn-icons.md-24 {
  font-size: 24px;
}

.rn-icons.md-36 {
  font-size: 36px;
}

.rn-icons.md-48 {
  font-size: 48px;
}

/*** RnPBar */
/* Progress bar */
.progress__box {
  display: none;
  width: 100%;
  position: absolute;
  top: 250px;
  z-index: 100;
}

.progress__bg {
  /*display: none;*/
  width: 400px;
  margin: 0 auto;
  position: relative;
  background-color: antiquewhite;
  border: 1px #3498db solid;
}

.progress__bg:after {
  content: "Loading ...";
  position: absolute;
  top: 0;
  right: 10px;
  color: #f36f21;
  font-weight: bold;
  font-size: larger;
  padding-top: 3px;
  /*z-index: -1;*/
}

.progress__bar {
  width: 1%;
  height: 30px;
  background-color: #4CAF50;
}

/*** RnSlider */
.slider__container {
  background-color: #04bc04;
}

.slider__control {
  min-height: 300px;
  max-height: 900px;
  width: 1px;
  align-items: center;
  text-align: center;
}

.slider__control__left {
  float: left;
}

.slider__control__right {
  float: right;
}

.slider__wrapper {
  margin-left: 1px;
  margin-right: 1px;
}

.slider__button__prev, .slider__button__next {
  color: #ddd;
  width: 50px;
  height: 50px;
  border: 1px solid #eee;
  text-align: center;
  line-height: 50px;
  font-size: 20px;
  margin: 125px auto;
}

.slider__button__prev:hover, .slider__button__next:hover {
  color: #666;
  border-color: #ccc;
}

.slider__slide {
  height: 300px;
  float: left;
  margin: 0;
  padding: 0;
  background-color: #fff;
}

.slider__content {
  height: 300px;
  border: #dee6ed 1px solid;
  border-top-color: #04bc04;
  border-bottom-width: 0;
  text-align: center;
  padding: 0 8px;
  margin: -1px 0 0 -1px
}

.slider__gauge {
  margin-top: 80px !important;
}

.slider__kpi {
  margin-top: 86px !important;
}

.slider__kpi {
  padding-left: 24px !important;
  padding-right: 24px !important;
  text-align: left;
}

.slider__kpi h4 {
  font-size: 14px !important;
  font-weight: bold !important;
}

canvas {
  height: 300px !important;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

.slider__style__1 {
  width: 100%;
}

.slider__style__2 {
  width: 100%;
}

@media only screen and (min-width: 1100px) {
  .slider__style__1 {
    width: 50%;
  }

  .slider__style__2 {
    width: 100%;
  }
}

@media only screen and (min-width: 1500px) {
  .slider__style__1 {
    width: 25%;
  }

  .slider__style__2 {
    width: 50%;
  }

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

/*** RnGauge */
.gauge {
  position: relative;
  margin: 10px auto;
}

.gauge__container {
  margin: 0;
  padding: 0;
  position: absolute;
  left: 50%;
  overflow: hidden;
  text-align: center;
  transform: translateX(-50%);
}

.gauge__background {
  z-index: 0;
  position: absolute;
  background-color: #C5CAE9;
  top: 0;
  border-radius: 300px 300px 0 0;
}

.gauge__data {
  z-index: 1;
  position: absolute;
  background-color: #3F51B5;
  margin-left: auto;
  margin-right: auto;
  border-radius: 300px 300px 0 0;
  transform-origin: center bottom;
}

.gauge__center {
  z-index: 2;
  position: absolute;
  background-color: #fff;
  margin-right: auto;
  border-radius: 300px 300px 0 0;
}

.gauge__marker {
  z-index: 3;
  background-color: #fff;
  position: absolute;
  width: 1px;
}

.gauge__needle {
  z-index: 4;
  background-color: #E91E63;
  height: 3px;
  position: absolute;
  transform-origin: left center;
}

.gauge__value {
  z-index: 4;
  position: absolute;
  margin-left: auto;
  margin-right: auto;
  transition: all 1s ease-out;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
}

.gauge__labels {
  display: table;
  margin: 0 auto;
  position: relative;
}

.gauge__label--low {
  display: table-cell;
  text-align: center;
}

.gauge__label--spacer {
  display: table-cell;
}

.gauge__label--high {
  display: table-cell;
  text-align: center;
}

.gauge__text {
  margin: 0 auto;
  position: relative;
  text-align: center;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
}

.gauge-red .gauge__background {
  background-color: #f8e5ec;
}

.gauge-red .gauge__data {
  background-color: #e74c3c;
}

.gauge-red .gauge__text {
  color: #e74c3c;
}

.gauge-green .gauge__background {
  background-color: #c0c9c2;
}

.gauge-green .gauge__data {
  background-color: #62cb31;
}

.gauge-green .gauge__text {
  color: #62cb31;
}

.gauge-blue .gauge__background {
  background-color: #C5CAE9;
}

.gauge-blue .gauge__data {
  background-color: #4285F4;
}

.gauge-blue .gauge__text {
  color: #4285F4;
}

.gauge-yellow .gauge__background {
  background-color: #f3e7d2;
}

.gauge-yellow .gauge__data {
  background-color: #ffb606;
}

.gauge-yellow .gauge__text {
  color: #ffb606;
}

/*
 * Now define the rules that depend on the size of
 * the gauge. We start with sizing for a smaller
 * window size.
 */

.gauge {
  height: calc(140px + 3em);
}

.gauge__container {
  width: 280px;
  height: 140px;
}

.gauge__marker {
  height: 140px;
  left: 140px;
}

.gauge__background {
  width: 280px;
  height: 140px;
}

.gauge__center {
  width: 168px;
  height: 84px;
  top: 56px;
  margin-left: 56px;
}

.gauge__data {
  width: 280px;
  height: 140px;
}

.gauge__value {
  width: 280px;
  height: 140px;
  top: 84px;
}

.gauge__needle {
  left: 140px;
  top: 137px;
  width: 140px;
}

.gauge__labels {
  width: 280px;
  top: 140px;
}

.gauge__label--low {
  width: 56px;
}

.gauge__label--spacer {
  width: 168px;
}

.gauge__label--high {
  width: 56px;
}

.gauge__text {
  width: 280px;
  top: 140px;
}

/*
 * Adjust the gauge size by viewports.
 */

@media only screen and (min-width: 992px) {
  .gauge {
    height: calc(120px + 3em);
  }

  .gauge__container {
    width: 240px;
    height: 120px;
  }

  .gauge__marker {
    height: 120px;
    left: 120px;
  }

  .gauge__background {
    width: 240px;
    height: 120px;
  }

  .gauge__center {
    width: 144px;
    height: 72px;
    top: 48px;
    margin-left: 48px;
  }

  .gauge__data {
    width: 240px;
    height: 120px;
  }

  .gauge__value {
    width: 240px;
    height: 120px;
    top: 72px;
  }

  .gauge__needle {
    left: 120px;
    top: 117px;
    width: 120px;
  }

  .gauge__labels {
    width: 240px;
    top: 120px;
  }

  .gauge__label--low {
    width: 48px;
  }

  .gauge__label--spacer {
    width: 144px;
  }

  .gauge__label--high {
    width: 48px;
  }

  .gauge__text {
    width: 240px;
    top: 120px;
  }
}

@media only screen and (min-width: 1200px) {
  .gauge {
    height: calc(80px + 3em);
  }

  .gauge__container {
    width: 160px;
    height: 80px;
  }

  .gauge__marker {
    height: 80px;
    left: 80px;
  }

  .gauge__background {
    width: 160px;
    height: 80px;
  }

  .gauge__center {
    width: 96px;
    height: 48px;
    top: 32px;
    margin-left: 32px;
  }

  .gauge__data {
    width: 160px;
    height: 80px;
  }

  .gauge__value {
    width: 160px;
    height: 80px;
    top: 48px;
  }

  .gauge__needle {
    left: 80px;
    top: 77px;
    width: 80px;
  }

  .gauge__labels {
    width: 160px;
    top: 80px;
  }

  .gauge__label--low {
    width: 32px;
  }

  .gauge__label--spacer {
    width: 96px;
  }

  .gauge__label--high {
    width: 32px;
  }

  .gauge__text {
    width: 160px;
    top: 80px;
  }
}

/*
 * As an option, the `gauge--liveupdate` class can be added
 * to the main gauge element. When this class is present,
 * we add a transition that animates any changes to the gauge
 * value. Currently, the app does not use this option because
 * all the inputs that can change gauge values are present
 * on tab panels that are different from the gauge itself.
 * Therefore, users won't be able to see any gauge changes
 * when they make input changes. The code is available, though,
 * should this change.
 */

.gauge--liveupdate .gauge__data,
.gauge--liveupdate .gauge__needle {
  -webkit-transition: all 1s ease-in-out;
  transition: all 1s ease-in-out;
}

/*
 * For a given gauge value, x, ranging from 0.0 to 1.0, set
 * the `transform: rotate()` property according to the
 * following equation: `-0.5 + 0.5x turns` The default
 * properties below represent an x value of 0.
 */

.gauge__data {
  transform: rotate(-.50turn);
}

.gauge__needle {
  transform: rotate(-.50turn);
}

/*** RnGaugeChart */
.gc__container {
  position: relative;
  width: 100%;
  height: 100%;
}

.gc__label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.gc__label h1 {
  font-size: 48px;
  font-weight: 600;
}

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

.gc__text-left {
  text-align: left;
}

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

/*** RnConfig */
.rnconfig-table td, .rnconfig-table th {
  padding: 5px;
  white-space: nowrap;
  color: #666;
}

.rnconfig-table th {
  text-transform: uppercase;
}

.rnconfig-table tr.active td {
  color: #cc5522;
}

.config__message {
  display: none;
  text-align: center;
  color: #cc5522;
  border-bottom: #cc5522 1px solid;
  margin: -5px -10px 5px;
  height: 30px;
  padding-top: 3px;
}

.config__message .btn {
  padding: 2px 4px !important;
}

.config__box {
  display: none;
  background-image: url("img/bg1.png");
  background-repeat: repeat;
  border-top: #ccccaa 1px solid;
  margin: -5px -10px 0;
  padding: 0;
}

.config__sub {
  display: none;
  background-image: url("img/bg4.png");
  background-repeat: repeat;
  border-top: #ccccaa 1px solid;
}

.config__sub__header {
  background-image: url("img/bg6.png");
  background-repeat: repeat;
  border-bottom: #ccccaa 1px solid;
  height: 32px;
  color: #fff2e6;
  font-size: 14px;
  font-weight: bold;
  text-align: left;
  padding-left: 20px;
  padding-top: 5px;
}

.config__sub__actions {
  padding-right: 30px;
}

.config__sub_box {
  padding: 0 !important;
}

.config__header {
  background-image: url("img/bg5.png");
  background-repeat: repeat-x;
  border-bottom: #999977 1px solid;
  height: 30px;
  line-height: 28px;
  color: #000;
  font-size: 14px;
  font-weight: bold;
  text-align: left;
  padding-left: 20px;
}

.config__body {
  margin: 5px 20px !important;
}

.config__content {
  margin: 0 !important;
}

.config__cell {
  padding: 5px 5px !important;
  color: #666;
}

.config__cell.active {
  color: #cc5522;
}

.config__cell .config__edit__btn {
  padding: 2px 4px !important;
}

.config__footer {
  border-top: #2a6496 1px solid;
  border-bottom: #2a6496 1px solid;
  margin: 5px 20px !important;
}

.config__actions {
  padding: 5px 20px !important;
}

/* class applies to select element itself, not a wrapper element */
.config__select {
  display: inline;
  font-size: 16px;
  font-family: sans-serif;
  font-weight: 700;
  color: #444;
  line-height: 1.2;
  padding: .2em 1.4em .2em .8em;
  width: 100%;
  max-width: 100%; /* useful when width is set to anything other than 100% */
  box-sizing: border-box;
  margin: 0;
  border: 1px solid #aaa;
  box-shadow: 0 1px 0 1px rgba(0, 0, 0, .04);
  border-radius: .5em;
  appearance: none;
  background-color: #fff;
  /*
  Note: BG image below uses 2 urls. The first is an svg data uri for the arrow icon, and the second is the gradient.
        For the icon, if you want to change the color, be sure to use `%23` instead of `#`, since it's a url.
        You can also swap in a different svg icon or an external image reference
  */
  background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007CB2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E'),
  linear-gradient(to bottom, #ffffff 0%, #e5e5e5 100%);
  background-repeat: no-repeat, repeat;
  /* arrow icon position (1em from the right, 50% vertical) , then gradient position*/
  background-position: right .7em top 50%, 0 0;
  /* icon size, then gradient */
  background-size: .65em auto, 100%;
}

/* Hide arrow icon in IE browsers */
.config__select::-ms-expand {
  display: none;
}

/* Hover style */
.config__select:hover {
  border-color: #888;
}

/* Focus style */
.config__select:focus {
  border-color: #aaa;
  box-shadow: 0 0 1px 3px rgba(59, 153, 252, .7);
  color: #222;
  outline: none;
}

/* Set options to normal weight */
.config__select option {
  font-weight: normal;
}

/* Support for rtl text, explicit support for Arabic and Hebrew */
*[dir="rtl"] .config__select, :root:lang(ar) .config__select, :root:lang(iw) .config__select {
  background-position: left .7em top 50%, 0 0;
  padding: .6em .8em .5em 1.4em;
}

/* Disabled styles */
.config__select:disabled, .config__select[aria-disabled=true] {
  color: graytext;
  background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22graytext%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E'),
  linear-gradient(to bottom, #ffffff 0%, #e5e5e5 100%);
}

.config__select:disabled:hover, .config__select[aria-disabled=true] {
  border-color: #aaa;
}

/*** RnFilter */
.filter-panel {
  margin: 10px 0;
}

.filter-panel .filter-body {
  background: #fff;
  border: 1px solid #dee6ed;
  border-top: 2px solid #f36f21;
  border-radius: 2px;
  padding: 20px;
  position: relative;
}

.filter-panel .filter-heading {
  color: inherit;
  font-weight: 600;
  padding: 10px 4px;
  transition: all .3s;
  border: 1px solid transparent;
}

.filter-panel .filter-heading.collapsed {
  background: #fff;
  border: 1px solid #dee6ed;
  padding: 10px 10px;
  border-radius: 2px;
}

.filter-row {
  padding: 6px 5px;
  position: relative;
  border-bottom: 1px solid #ebeef0;
  line-height: 18px;
  vertical-align: top;
}

.filter-row:hover {
  background-color: #C3E2F4;
}

.filter-row h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #1f2c33;
  line-height: 19px;
}

.filter-row h3 {
  margin-top: 0;
  margin-bottom: 5px;
  font-size: 11px;
  text-transform: uppercase;
  color: #768d99;
  letter-spacing: 1px;
  text-rendering: optimizeLegibility;
}

.filter-span {
  display: inline-block;
  height: 18px;
  position: relative;
  margin-right: 10px;
}

.filter-span.active {
  background-color: #768d99;
  color: #fff;
  padding: 0 4px;
  -webkit-border-radius: 2px;
  border-radius: 2px;
}

.filter-row a {
  border-bottom: 1px dotted;
  cursor: pointer;
  color: #1f2c33;
}

.filter-span.active a {
  color: #fff;
  text-decoration: none;
}

/*** RnKPI */
.kpi {
  padding-left: 20px;
  padding-right: 20px;
}

.kpi__title {
  font-size: 12px;
}

.kpi__value {
  font-size: 20px;
}

.kpi__value.big {
  font-size: 36px;
  font-weight: 600;
}

.kpi__bar {
  height: 5px;
  border-radius: 2px;
  margin-top: 10px;
  margin-bottom: 10px;
  overflow: hidden;
  background-color: #ffb606;
  border-right: 4px solid #eba600;
}

.kpi-red .kpi__bar {
  background-color: #e74c3c;
  border-right: 4px solid #e43725;
}

.kpi-red .kpi__value {
  color: #e74c3c;
}

.kpi-green .kpi__bar {
  background-color: #62cb31;
  border-right: 4px solid #58b62c;
}

.kpi-green .kpi__value {
  color: #62cb31;
}

.kpi-blue .kpi__bar {
  background: #4285F4;
  border-right: 4px solid #4285F4;
}

.kpi-blue .kpi__value {
  color: #4285F4;
}

.kpi-yellow .kpi__bar {
  background-color: #ffb606;
  border-right: 4px solid #eba600;
}

.kpi-yellow .kpi__value {
  color: #ffb606;
}

.kpi__status {
  padding: 5px 10px;
  background-color: #cccccc;
  color: #ffffff;
}

/*** spectrum */
.sp-container {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-block;
  *display: inline;
  *zoom: 1;
  z-index: 9999994;
  overflow: hidden;
}

.sp-container.sp-flat {
  position: relative;
}

.sp-container,
.sp-container * {
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
}

.sp-top {
  position: relative;
  width: 100%;
  display: inline-block;
}

.sp-top-inner {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

.sp-color {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 20%;
}

.sp-hue {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 84%;
  height: 100%;
}

.sp-clear-enabled .sp-hue {
  top: 33px;
  height: 77.5%;
}

.sp-fill {
  padding-top: 80%;
}

.sp-sat, .sp-val {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.sp-alpha-enabled .sp-top {
  margin-bottom: 18px;
}

.sp-alpha-enabled .sp-alpha {
  display: block;
}

.sp-alpha-handle {
  position: absolute;
  top: -4px;
  bottom: -4px;
  width: 6px;
  left: 50%;
  cursor: pointer;
  border: 1px solid black;
  background: white;
  opacity: .8;
}

.sp-alpha {
  display: none;
  position: absolute;
  bottom: -14px;
  right: 0;
  left: 0;
  height: 8px;
}

.sp-alpha-inner {
  border: solid 1px #333;
}

.sp-clear {
  display: none;
}

.sp-clear.sp-clear-display {
  background-position: center;
}

.sp-clear-enabled .sp-clear {
  display: block;
  position: absolute;
  top: 0px;
  right: 0;
  bottom: 0;
  left: 84%;
  height: 28px;
}

.sp-container, .sp-replacer, .sp-preview, .sp-dragger, .sp-slider, .sp-alpha, .sp-clear, .sp-alpha-handle, .sp-container.sp-dragging .sp-input, .sp-container button {
  -webkit-user-select: none;
  user-select: none;
}

.sp-container.sp-input-disabled .sp-input-container {
  display: none;
}

.sp-container.sp-buttons-disabled .sp-button-container {
  display: none;
}

.sp-container.sp-palette-buttons-disabled .sp-palette-button-container {
  display: none;
}

.sp-palette-only .sp-picker-container {
  display: none;
}

.sp-palette-disabled .sp-palette-container {
  display: none;
}

.sp-initial-disabled .sp-initial {
  display: none;
}

.sp-sat {
  background-image: linear-gradient(to right, #fff, rgba(204, 154, 129, 0));
  -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType = 1, startColorstr=#FFFFFFFF, endColorstr=#00CC9A81)";
  filter: progid:DXImageTransform.Microsoft.gradient(GradientType=1, startColorstr='#FFFFFFFF', endColorstr='#00CC9A81');
}

.sp-val {
  background-image: linear-gradient(to top, #000, rgba(204, 154, 129, 0));
  -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#00CC9A81, endColorstr=#FF000000)";
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00CC9A81', endColorstr='#FF000000');
}

.sp-hue {
  background: linear-gradient(to bottom, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
}

.sp-1 {
  height: 17%;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0000', endColorstr='#ffff00');
}

.sp-2 {
  height: 16%;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffff00', endColorstr='#00ff00');
}

.sp-3 {
  height: 17%;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ff00', endColorstr='#00ffff');
}

.sp-4 {
  height: 17%;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ffff', endColorstr='#0000ff');
}

.sp-5 {
  height: 16%;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0000ff', endColorstr='#ff00ff');
}

.sp-6 {
  height: 17%;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff00ff', endColorstr='#ff0000');
}

.sp-hidden {
  display: none !important;
}

.sp-cf:before, .sp-cf:after {
  content: "";
  display: table;
}

.sp-cf:after {
  clear: both;
}

.sp-cf {
  *zoom: 1;
}

@media (max-device-width: 480px) {
  .sp-color {
    right: 40%;
  }

  .sp-hue {
    left: 63%;
  }

  .sp-fill {
    padding-top: 60%;
  }
}

.sp-dragger {
  border-radius: 5px;
  height: 5px;
  width: 5px;
  border: 1px solid #fff;
  background: #000;
  cursor: pointer;
  position: absolute;
  top: 0;
  left: 0;
}

.sp-slider {
  position: absolute;
  top: 0;
  cursor: pointer;
  height: 3px;
  left: -1px;
  right: -1px;
  border: 1px solid #000;
  background: white;
  opacity: .8;
}

.sp-container {
  border-radius: 0;
  background-color: #ECECEC;
  border: solid 1px #f0c49B;
  padding: 0;
}

.sp-container, .sp-container button, .sp-container input, .sp-color, .sp-hue, .sp-clear {
  font: normal 12px "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, sans-serif;
  box-sizing: border-box;
}

.sp-top {
  margin-bottom: 3px;
}

.sp-color, .sp-hue, .sp-clear {
  border: solid 1px #666;
}

.sp-input-container {
  float: right;
  width: 100px;
  margin-bottom: 4px;
}

.sp-initial-disabled .sp-input-container {
  width: 100%;
}

.sp-input {
  font-size: 12px !important;
  border: 1px inset;
  padding: 4px 5px;
  margin: 0;
  width: 100%;
  background: transparent;
  border-radius: 3px;
  color: #222;
}

.sp-input:focus {
  border: 1px solid orange;
}

.sp-input.sp-validation-error {
  border: 1px solid red;
  background: #fdd;
}

.sp-picker-container, .sp-palette-container {
  float: left;
  position: relative;
  padding: 10px 10px 300px 10px;
  margin-bottom: -290px;
}

.sp-picker-container {
  width: 172px;
  border-left: solid 1px #fff;
}

.sp-palette-container {
  border-right: solid 1px #ccc;
}

.sp-palette-only .sp-palette-container {
  border: 0;
}

.sp-palette .sp-thumb-el {
  display: block;
  position: relative;
  float: left;
  width: 24px;
  height: 15px;
  margin: 3px;
  cursor: pointer;
  border: solid 2px transparent;
}

.sp-palette .sp-thumb-el:hover, .sp-palette .sp-thumb-el.sp-thumb-active {
  border-color: orange;
}

.sp-thumb-el {
  position: relative;
}

.sp-initial {
  float: left;
  border: solid 1px #333;
}

.sp-initial span {
  width: 30px;
  height: 25px;
  border: none;
  display: block;
  float: left;
  margin: 0;
}

.sp-initial .sp-clear-display {
  background-position: center;
}

.sp-palette-button-container,
.sp-button-container {
  float: right;
}

.sp-replacer {
  margin: 0;
  overflow: hidden;
  cursor: pointer;
  padding: 4px;
  display: inline-block;
  *zoom: 1;
  *display: inline;
  border: solid 1px #91765d;
  background: #eee;
  color: #333;
  vertical-align: middle;
}

.sp-replacer:hover, .sp-replacer.sp-active {
  border-color: #F0C49B;
  color: #111;
}

.sp-replacer.sp-disabled {
  cursor: default;
  border-color: silver;
  color: silver;
}

.sp-dd {
  padding: 2px 0;
  height: 16px;
  line-height: 16px;
  float: left;
  font-size: 10px;
}

.sp-preview {
  position: relative;
  width: 25px;
  height: 20px;
  border: solid 1px #222;
  margin-right: 5px;
  float: left;
  z-index: 0;
}

.sp-palette {
  *width: 220px;
  max-width: 220px;
}

.sp-palette .sp-thumb-el {
  width: 16px;
  height: 16px;
  margin: 2px 1px;
  border: solid 1px #d0d0d0;
}

.sp-container {
  padding-bottom: 0;
}

.sp-container button {
  background-color: #eeeeee;
  background-image: linear-gradient(to bottom, #eeeeee, #cccccc);
  border: 1px solid #ccc;
  border-bottom: 1px solid #bbb;
  border-radius: 3px;
  color: #333;
  font-size: 14px;
  line-height: 1;
  padding: 5px 4px;
  text-align: center;
  text-shadow: 0 1px 0 #eee;
  vertical-align: middle;
}

.sp-container button:hover {
  background-color: #dddddd;
  background-image: linear-gradient(to bottom, #dddddd, #bbbbbb);
  border: 1px solid #bbb;
  border-bottom: 1px solid #999;
  cursor: pointer;
  text-shadow: 0 1px 0 #ddd;
}

.sp-container button:active {
  border: 1px solid #aaa;
  border-bottom: 1px solid #888;
  -webkit-box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee;
  box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee;
}

.sp-cancel {
  font-size: 11px;
  color: #d93f3f !important;
  margin: 0 5px 0 0;
  padding: 2px;
  vertical-align: middle;
  text-decoration: none;

}

.sp-cancel:hover {
  color: #d93f3f !important;
  text-decoration: underline;
}


.sp-palette span:hover, .sp-palette span.sp-thumb-active {
  border-color: #000;
}

.sp-preview, .sp-alpha, .sp-thumb-el {
  position: relative;
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==);
}

.sp-preview-inner, .sp-alpha-inner, .sp-thumb-inner {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

.sp-palette .sp-thumb-inner {
  background-position: 50% 50%;
  background-repeat: no-repeat;
}

.sp-palette .sp-thumb-light.sp-thumb-active .sp-thumb-inner {
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAIVJREFUeNpiYBhsgJFMffxAXABlN5JruT4Q3wfi/0DsT64h8UD8HmpIPCWG/KemIfOJCUB+Aoacx6EGBZyHBqI+WsDCwuQ9mhxeg2A210Ntfo8klk9sOMijaURm7yc1UP2RNCMbKE9ODK1HM6iegYLkfx8pligC9lCD7KmRof0ZhjQACDAAceovrtpVBRkAAAAASUVORK5CYII=);
}

.sp-palette .sp-thumb-dark.sp-thumb-active .sp-thumb-inner {
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjEwMPRyoQAAAMdJREFUOE+tkgsNwzAMRMugEAahEAahEAZhEAqlEAZhEAohEAYh81X2dIm8fKpEspLGvudPOsUYpxE2BIJCroJmEW9qJ+MKaBFhEMNabSy9oIcIPwrB+afvAUFoK4H0tMaQ3XtlrggDhOVVMuT4E5MMG0FBbCEYzjYT7OxLEvIHQLY2zWwQ3D+9luyOQTfKDiFD3iUIfPk8VqrKjgAiSfGFPecrg6HN6m/iBcwiDAo7WiBeawa+Kwh7tZoSCGLMqwlSAzVDhoK+6vH4G0P5wdkAAAAASUVORK5CYII=);
}

.sp-clear-display {
  background-repeat: no-repeat;
  background-position: center;
  background-image: url(data:image/gif;base64,R0lGODlhFAAUAPcAAAAAAJmZmZ2dnZ6enqKioqOjo6SkpKWlpaampqenp6ioqKmpqaqqqqurq/Hx8fLy8vT09PX19ff39/j4+Pn5+fr6+vv7+wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAAP8ALAAAAAAUABQAAAihAP9FoPCvoMGDBy08+EdhQAIJCCMybCDAAYUEARBAlFiQQoMABQhKUJBxY0SPICEYHBnggEmDKAuoPMjS5cGYMxHW3IiT478JJA8M/CjTZ0GgLRekNGpwAsYABHIypcAgQMsITDtWJYBR6NSqMico9cqR6tKfY7GeBCuVwlipDNmefAtTrkSzB1RaIAoXodsABiZAEFB06gIBWC1mLVgBa0AAOw==);
}
