/*!
Copyright (c) REBUILD <https://getrebuild.com/> and/or its owners. All rights reserved.

rebuild is dual-licensed under commercial and open source licenses (GPLv3).
See LICENSE and COMMERCIAL in the project root for license information.
*/

.rb-offcanvas-menu .rb-top-header .rb-navbar-header .rb-toggle-left-sidebar .zmdi-arrow-left {
  font-size: 2.11rem;
}

.chart-box .chart-head .chart-title {
  display: none;
}

.chart-box .chart-body {
  margin-top: 0;
  padding-top: 0;
}

#chart-preview {
  background-color: #fff;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1), 0 16px 24px 0 rgba(81, 129, 228, 0.1);
  padding: 0;
  position: relative;
  min-height: 200px;
  overflow: hidden;
}

#chart-preview::after {
  content: attr(title);
  position: absolute;
  top: 14px;
  right: -25px;
  background-color: grey;
  color: #fff;
  transform: rotate(45deg);
  font-size: 12px;
  width: 100px;
  text-align: center;
  padding: 5px;
  line-height: 1;
  text-transform: uppercase;
  z-index: 11;
}

.data-aside,
.config-aside {
  position: fixed;
  height: 100%;
  top: 0;
  margin-top: 61px;
  padding-bottom: 61px;
  box-shadow: inset 0 -1px 0 0 rgba(10, 18, 32, 0.12);
  background-color: #f5f5f5;
}

.data-aside {
  left: 0;
  border-right: 1px solid #e3e3e3;
  width: 230px;
}

.config-aside {
  right: 0;
  border-left: 1px solid #e3e3e3;
  width: 326px;
  z-index: 12;
}

.data-aside .rb-scroller,
.config-aside .rb-scroller {
  height: 100%;
  width: 100%;
}

.config-aside .tooltip .tooltip-inner {
  text-align: left;
}

.rb-content .main-content {
  margin-left: 230px;
  margin-right: 326px;
  width: auto;
  padding: 0 15px;
}

.axis-editor {
  margin-bottom: 15px;
}

.axis-editor .axis {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 10px 0;
}

.axis .axis-head {
  color: #777;
  float: left;
  width: 80px;
  cursor: default;
}

.axis .axis-target {
  margin-left: 80px;
  min-height: 30px;
  margin-top: -6px;
  margin-bottom: -6px;
  padding: 2px 0 0;
}

.axis .axis-target:empty:after {
  content: attr(_title);
  color: #bbb;
  padding-top: 4px;
  display: inline-block;
}

.axis .axis-target > span[data-formula]:not([data-formula='']) li[data-calc='_FORMULA'] {
  color: #4285f4;
}

.axis .axis-target > span[data-formula]:not([data-formula='']) li[data-calc='_FORMULA']::after {
  font-family: 'Material Design Icons', serif;
  content: '\F09DE';
  float: right;
  font-size: 1.1rem;
  margin-right: -2px;
}

.axis-target .item {
  background-color: #4285f4;
  padding: 4px 4px 3px;
  color: #fff;
  display: inline-block;
  margin-right: 3px;
  margin-bottom: 2px;
  position: relative;
  cursor: pointer;
  white-space: nowrap;
}

.axis-target .item::before {
  position: absolute;
  width: 0;
  height: 0;
  content: '';
  transform: rotate(45deg);
  border: 4px solid #eee;
  top: -4px;
  right: -4px;
}

.axis-target .item > span > em {
  font-style: normal;
  margin-left: 4px;
}

.axis-target .item > a {
  display: inline-block;
  width: 14px;
  text-align: center;
}

.axis-target .item > a.del {
  visibility: hidden;
}

.axis-target .item:hover > a.del {
  visibility: visible;
}

.axis-target .item > a:hover {
  opacity: 0.8;
}

.axis-target .dropdown-menu {
  border-width: 0;
  border-radius: 0;
  padding: 4px 0;
}

.axis-target .dropdown-menu .dropdown-divider {
  margin: 4px 0;
}

.axis-target .dropdown-menu .dropdown-item {
  padding: 6px 14px;
}

.axis-target.ui-droppable-active,
.axis-target.ui-droppable-hover {
  background-color: #fff7c5;
}

.data-info {
  padding: 0 15px;
}

.data-info + .data-info {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.data-info > h5 {
  color: #777;
  margin: 10px 0;
  line-height: 18px;
}

.data-info ul {
  margin-bottom: 11px;
}

.data-info ul li > a,
.data-info ul li > span,
a.ui-draggable.ui-draggable-dragging {
  display: block;
  padding: 4px 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.data-info ul li a:hover,
a.ui-draggable.ui-draggable-dragging {
  background-color: rgba(255, 255, 255, 0.9);
  cursor: move;
}

a.ui-draggable.ui-draggable-dragging {
  display: block;
  min-width: 179px !important;
}

.data-info .esource a {
  position: relative;
  cursor: default;
  font-size: 14px;
}

.data-info .esource a i.zmdi {
  float: left;
  font-size: 1.2rem;
  line-height: 20px;
}

.data-info .esource a > span {
  float: right;
  display: none;
  cursor: pointer;
}

.data-info .esource a > span i.zmdi {
  color: #777;
  font-size: 1.45rem;
}

.data-info .esource a > span:hover i.zmdi {
  color: #4285f4;
}

.data-info .esource a:hover > span {
  display: block;
}

.data-info .input {
  margin-bottom: 9px;
  padding: 0 6px;
  position: relative;
}

.data-info .input .form-control {
  border-width: 0;
  background-color: rgba(255, 255, 255, 0.4);
  height: 30px !important;
  line-height: 30px !important;
  padding: 0;
  transition: padding 0.2s;
  font-size: 14px;
}

.data-info .input .form-control + .icon {
  position: absolute;
  right: 12px;
  top: 8px;
  color: #999;
  font-size: 15px;
}

.data-info .input .form-control:hover,
.data-info .input .form-control:focus {
  background-color: #ddd;
  padding: 0 6px;
}

.input .form-control[disabled] {
  background-color: rgba(255, 255, 255, 0.4) !important;
  cursor: default;
}

a.ui-draggable.ui-draggable-dragging {
  min-width: 150px;
  border-radius: 2px;
}

.data-info ul li i.icon,
.data-info ul.fields li a::before {
  display: inline-block;
  width: 15px;
  color: #4285f4;
}

.data-info ul.fields li a::before {
  font-size: 0.9rem;
  content: '#';
}

.data-info .fields li.text a::before,
.data-info .fields li.clazz a::before {
  content: 'T';
}

.data-info .fields li.date a::before,
.data-info .fields li.time a::before {
  content: 'D';
}

.data-info .fields li.num a::before {
  content: 'N';
}

.data-info .fields li.map a::before {
  content: 'T';
  color: #fbbc05;
}

.data-info .fields li.list a::before {
  content: 'T';
  color: #fbbc05;
}

.chart-type > a {
  display: inline-block;
  width: 40px;
  height: 40px;
  padding: 4px;
  margin: 4px 0 4px 6px;
  cursor: not-allowed;
}

.chart-type > a.select {
  box-shadow: 0 0 0 2px rgba(81, 130, 227, 0.06), inset 0 0 0 2px rgba(81, 129, 228, 0.6);
  background-color: #fff !important;
}

.chart-type > a.active {
  cursor: pointer;
}

.chart-type > a.active:hover {
  background-color: rgba(255, 255, 255, 0.6);
}

.chart-type > a > i {
  width: 32px;
  height: 32px;
  display: inline-block;
  background: url(../img/charts-sprite.svg?v=1.10) 0 0 no-repeat;
}

.chart-type > a > i.C200 {
  background-position: -1244px -1464px;
}

.chart-type > a.active > i.C200 {
  background-position: -1180px -1464px;
}

.chart-type > a > i.C310 {
  background-position: -202px -1288px;
}

.chart-type > a.active > i.C310 {
  background-position: -170px -1288px;
}

.chart-type > a > i.C220 {
  background-position: -1138px -1326px;
}

.chart-type > a.active > i.C220 {
  background-position: -1106px -1326px;
}

.chart-type > a > i.C210 {
  background-position: -1148px -1464px;
}

.chart-type > a.active > i.C210 {
  background-position: -1501px -1406px;
}

.chart-type > a > i.C240 {
  background-position: -1469px -1406px;
}

.chart-type > a.active > i.C240 {
  background-position: -1437px -1406px;
}

.chart-type > a > i.C250 {
  background-position: -1258px -1288px;
}

.chart-type > a.active > i.C250 {
  background-position: -1226px -1288px;
}

.chart-type > a > i.C230 {
  background-position: -1010px -1326px;
}

.chart-type > a.active > i.C230 {
  background-position: -978px -1326px;
}

.chart-type > a > i.C330 {
  background-position: -768px -871px;
}

.chart-type > a.active > i.C330 {
  background-position: -709px -387px;
}

.chart-type > a > i.C370 {
  background-position: -1212px -1464px;
}

.chart-type > a.active > i.C370 {
  background-position: -1020px -1464px;
}

.chart-type > a > i.C290 {
  background-position: -394px -1288px;
}

.chart-type > a.active > i.C290 {
  background-position: -362px -1288px;
}

.chart-type > a > i.C340 {
  background-position: -1105px -722px;
}

.chart-type > a.active > i.C340 {
  background-position: -956px -1464px;
}

.chart-type > a > i.C280 {
  background-position: -714px -1288px;
}

.chart-type > a.active > i.C280 {
  background-position: -650px -1288px;
}

.chart-type > a > i.C271 {
  background-position: -970px -1288px;
}

.chart-type > a.active > i.C271 {
  background-position: -938px -1288px;
}

.chart-type > a > i.C360 {
  background-position: -1330px -1326px;
}

.chart-type > a.active > i.C360 {
  background-position: -1372px -1464px;
}

.chart-type > a > i.C243 {
  background-position: -1322px -1288px;
}

.chart-type > a.active > i.C243 {
  background-position: -1290px -1288px;
}

.chart-type > a.DATALIST2,
.chart-type > a.PARETO {
  transform: translateY(7px);
}

.chart-type > a > i.DATALIST2,
.chart-type > a > i.PARETO {
  position: absolute;
  background: none;
  font-size: 29px;
  color: #ddd;
  margin-top: 2px;
  margin-left: 1px;
}

.chart-type > a > i.PARETO {
  font-size: 20px;
  margin-left: 5px;
  margin-top: 7px;
}

.chart-type > a.active > i.DATALIST2,
.chart-type > a.active > i.PARETO {
  color: #4285f4;
}

.chart-option label {
  margin-bottom: 12px;
}

.rbcolors > a + a,
.rbcolors input[type='color'] {
  margin-left: 5px;
}

.rbcolors {
  margin-bottom: 12px;
}

.J_opt-DATALIST2 input,
.J_opt-CNMAP select,
.themeStyle {
  border: 0 none;
  outline: 0 none;
  width: 80px;
  border-bottom: 1px solid #ccc;
  padding: 2px;
  margin-left: 5px;
  text-align: center;
}

.J_opt-DATALIST2 input:focus,
.J_opt-CNMAP select:focus,
.themeStyle:focus {
  border-color: #4285f4;
}

.rb-content.DATALIST2 .axis-target .dropdown-item.J_date,
.rb-content.DATALIST2 .axis-target .dropdown-item.J_clazz,
.rb-content.DATALIST2 .axis-target .dropdown-divider,
.rb-content.DATALIST2 .axis-target .item > span > em {
  display: none;
}

.chart-box.TREEMAP {
  padding-top: 25px;
}

.chart-box.CNMAP {
  padding-top: 30px;
}

.ui-draggable-dragging.field {
  box-shadow: rgba(0, 0, 0, 0.2) 0 2px 6px;
  width: 199px;
}

.gradient-bg-list {
  text-align: center;
}

.gradient-bg-list > a {
  display: inline-block;
  width: 57px;
  height: 23px;
  margin: 0 3px;
  margin-top: 1px;
}

.gradient-bg-list > a:hover {
  opacity: 0.8;
}
