/*Charts*/

@keyframes bake-pie {
  from {
    transform: rotate(0deg) translate3d(0,0,0);
  }
}

.pieID {
  display: inline-block;
  vertical-align: top;
  overflow: hidden;
}
.pie {
  height: 200px;
  width: 200px;
  position: relative;
  margin: 0 30px 30px 0;
}
.pie::before {
  content: "";
  display: block;
  position: absolute;
  z-index: 1;
  width: 100px;
  height: 100px;
  background: #EEE;
  border-radius: 50%;
  top: 50px;
  left: 50px;
}
.pie::after {
  content: "";
  display: block;
  width: 120px;
  height: 2px;
  background: rgba(0,0,0,0.1);
  border-radius: 50%;
  box-shadow: 0 0 3px 4px rgba(0,0,0,0.1);
  margin: 220px auto;
  
}
.slice {
  position: absolute;
  width: 200px;
  height: 200px;
  clip: rect(0px, 200px, 200px, 100px);
  animation: bake-pie 1s;
}
.slice span {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  background-color: black;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  clip: rect(0px, 200px, 200px, 100px);
}
.legend-chart {
  list-style-type: none;
  padding: 0;
  margin: 0;
  background: #FFF;
  padding: 15px;
  font-size: 13px;
  box-shadow: 1px 1px 0 #DDD,
              2px 2px 0 #BBB;
  overflow: hidden;
}
.legend-chart:hover {
  overflow-y: scroll;
}
.legend-chart li {
  width: 110px;
  height: 1.25em;
  margin-bottom: 0.7em;
  padding-left: 0.5em;
  border-left: 1.25em solid black;
}
.legend-chart em {
  font-style: normal;
}
.legend-chart span {
  float: right;
}

.chart-primary::before {
  background-color: #20a8d8;
}

.chart-danger::before {
  background-color: #f86c6b;
}

.chart-info::before {
  background-color: #63c2de;
}

.chart-success::before {
  background-color: #4dbd74;
}

.chart-warning::before {
  background-color: #ffc107;
}

.chart-secondary::before {
  background-color: #a4b7c1;
}

.chart-pie-quantity {
  font-weight: bold;
  font-size: 1.75rem !important;
  text-align: center;
  display: block;
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 130px;
  height: 130px;
  margin: auto;
  line-height: 65px;
  padding: 15% 0 0;
}

.card-box {
  -webkit-box-shadow: 0 7px 14px 0 rgb(65 69 88 / 10%), 0 3px 6px 0 rgb(0 0 0 / 7%);
  box-shadow: 0 7px 14px 0 rgb(65 69 88 / 10%), 0 3px 6px 0 rgb(0 0 0 / 7%);
}

.bg-gradient {
  background-image: -o-linear-gradient(135deg,#014ba7,#0183d0);
  background-image: linear-gradient(-45deg,#014ba7,#0183d0);
  background-position: center;
}

.bg-primary-gradient {
  background-image: -o-linear-gradient(135deg,#35acd6,#269cc5);
  background-image: linear-gradient(-45deg,#1b8eb7,#20a8d8);
  background-position: center;
}

.bg-danger-gradient {
  background-image: -o-linear-gradient(135deg,#ca2a29,#f75d5c);
  background-image: linear-gradient(-45deg,#ca2a29,#f75d5c);
  background-position: center;
}

.bg-info-gradient {
  background-image: -o-linear-gradient(135deg,#56bddb,#24b4de);
  background-image: linear-gradient(-45deg,#56bddb,#24b4de);
  background-position: center;
}

.bg-success-gradient {
  background-image: -o-linear-gradient(135deg,#32a058,#44b76c);
  background-image: linear-gradient(-45deg,#32a058,#44b76c);
  background-position: center;
}

.bg-warning-gradient {
  background-image: -o-linear-gradient(135deg,#c69500,#f7b900);
  background-image: linear-gradient(-45deg,#c69500,#f7b900);
  background-position: center;
}

.bg-secondary-gradient {
  background-image: -o-linear-gradient(135deg,#7e99a7,#94a5af);
  background-image: linear-gradient(-45deg,#7e99a7,#94a5af);
  background-position: center;
  color: #ffffff;
}

/* Vertical */

.vertical-bar .progress-bar-chart {
  float: left;
  height: 50px;
  width: 12px;
  margin-right: 1px;
}

.vertical-bar .progress-track-chart {
  position: relative;
  width: 8px;
  height: 100%;
  background: #ebebeb;
}

.vertical-bar .progress-fill-chart {
  position: relative;
  background: #825;
  height: 50%;
  width: 8px;
  color: #fff;
  text-align: center;
  font-family: "Lato","Verdana",sans-serif;
  font-size: 12px;
  line-height: 20px;
  transition: width 0.6s ease;
}

.rounded-chart .progress-track-chart,
.rounded-chart .progress-fill-chart {
  box-shadow: inset 0 0 5px rgba(0,0,0,.2);
  border-radius: 3px;
}

.bg-primary-gradient .vertical-bar .progress-fill-chart {
  background: #075d7b;
}

.bg-primary-gradient .vertical-bar .progress-track-chart {
  background: #39b4de;
}

.bg-primary-gradient .active-chart{
  -webkit-box-shadow: 0 7px 14px 0 rgb(65 69 88 / 10%), 0 3px 6px 0 rgb(30 158 203);
  box-shadow: 0 1px 4px 0 rgb(11 94 123), 0px 0px 0px 0 rgb(30 158 203);
}

.bg-primary-gradient .vertical-bar .progress-track-chart:hover {
  background: #0b7da5;
  transition: background .3s ease;
}

.bg-danger-gradient .vertical-bar .progress-fill-chart {
  background: #a20706;
}

.bg-danger-gradient .vertical-bar .progress-track-chart {
  background: #f97776;
}

.bg-danger-gradient .active-chart{
  -webkit-box-shadow: 0 7px 14px 0 rgb(65 69 88 / 10%), 0 3px 6px 0 rgb(219 62 61);
  box-shadow: 0 1px 4px 0 rgb(49 6 5), 0px 0px 0px 0 rgb(125 43 42);
}

.bg-danger-gradient .vertical-bar .progress-track-chart:hover {
  background: #b93d3d;
  transition: background .3s ease;
}

.bg-info-gradient .vertical-bar .progress-fill-chart {
  background: #0f80a0;
}

.bg-info-gradient .vertical-bar .progress-track-chart {
  background: #7cd3ec;
}

.bg-info-gradient .active-chart{
  -webkit-box-shadow: 0 7px 14px 0 rgb(65 69 88 / 10%), 0 3px 6px 0 rgb(86 189 219);
  box-shadow: 0 1px 4px 0 rgb(7 90 115), 0px 0px 0px 0 rgb(8 99 125);
}

.bg-info-gradient .vertical-bar .progress-track-chart:hover {
  background: #309ebd;
  transition: background .3s ease;
}

.bg-primary-gradient .badge-primary {
  color: #fff;
  background-color: #1280a7;
}

.bg-info-gradient .badge-info {
  color: #111;
  background-color: #08a7d6;
}

.swl-dt::before {
  width: 100% !important;
  right: 0px !important;
}
.swl-dt::after {
  width: 100% !important;
  left: 0px !important;
}

.bg-primary-gradient .btn-primary:active, .bg-primary-gradient .btn-primary.active, .bg-primary-gradient .show > .btn-primary.dropdown-toggle {
  box-shadow: 2px 0px 0px 0px #095773;
}
.bg-danger-gradient .btn-danger:active, .bg-danger-gradient .btn-danger.active, .bg-danger-gradient .show > .btn-danger.dropdown-toggle {
  box-shadow: 2px 0px 0px 0px #880604;
}
.bg-info-gradient .btn-info:active, .bg-info-gradient .btn-info.active, .bg-info-gradient .show > .btn-info.dropdown-toggle {
  box-shadow: 2px 0px 0px 0px #07789a;
  border-color: #1d9abf;
}