.content-box {
    position: relative;
    height: 100px;

    color: #a9a9a9;
    cursor: pointer;
}

.content-box-overlay {
    background: url('../overlays/06.png') center center;
    /*opacity: .2;*/

    position: absolute;
    height: 100%;
    width: 100%;
    z-index: -1;
}

.content-box-body {
    height: 100%;

    display: flex;
    align-items: center;
}

.content-box-content {
    width: 100%;
}

.content-box-label {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    word-break: break-word;
}

.content-box-value {
    text-align: center;
}

.content-box-icon {
    font-size: 50px;
    padding: 0 20px;
}

.content-box.state-on {
    color: #7fff00;
}

.content-box.state-off {
    color: #a9a9a9;
}

.content-box.state-error {
    color: #ff4500;
}

.content-box-ribbon:before, .content-box-ribbon:after {
  content: ''; 
  position: absolute;
}

.content-box-ribbon:before {
  width: 25px;
  height: 8px;
  right: 82px;
  background: #3c0f00;
  border-radius: 8px 8px 0px 0px;
}

.content-box-ribbon:after {
  width: 8px;
  height: 25px;
  right: 0px;
  top: 82px;
  background: #3c0f00;
  border-radius: 0px 8px 8px 0px;
}

.content-box-ribbon {
  position: absolute;
  overflow: hidden;
  height: 108%;
  width: 100%;
  top: -8px;
  left: 8px;
  color: #ffffff;
}

.content-box-ribbon span {
  position: absolute;
  line-height: 25px;
  height: 25px;
  width: 180px;
  top: 25px;
  right: -50px;
  z-index: 2;
  overflow: hidden;
  border: 1px dashed;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  box-shadow: 0 0 0 3px #ff4500, 0px 21px 5px -18px rgba(0,0,0,0.6);
  background: #ff4500;
  text-align: center;
}