/*============================================
 * Check Preview
 * ==========================================*/

.custom-check {
  box-shadow: 0 1px 3px rgba(0,0,0,0.5);
  margin: 0 0 20px 0;
  width: 100%;
}

.custom-check .check-image {
  height: auto;
  width: 100%;
}

.custom-check .instructions {
  background-color: #fff;
  border-color: rgba(0,0,0,0.3);
  border: solid 1px #eee;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  cursor: pointer;
  font-size: 21px;
  left: 100px;
  line-height: 30px;
  margin-top: -40px;
  opacity : 0;
  filter: alpha(opacity = 0);
  padding: 20px 40px;
  position: absolute;
  top: -50px;
  white-space: nowrap;
}

.custom-check .hover-message {
  background: url('../../images/cbd/site/pin.png') 0 0 no-repeat;
  cursor: pointer;
  display: block;
  height: 24px;
  left: 0;
  margin: -24px 0 0 -24px;
  position: absolute;
  top: 0;
  width: 24px;
}

.custom-check .preview {
  font-family: 'Arial', sans-serif;
  font-size: 11.5px;
  line-height: 1.2em;
  position: absolute;
}

.custom-check .imprint-preview .symbol-img {
  float: left;
  height: auto;
  margin-right: 5px;
  max-width: 41px;
  min-height: 1px;
  width: 41px;
}

.custom-check .imprint-preview .imprint {
  float: left;
}

.custom-check .check-number-preview .hover-message,
.custom-check .message-preview .hover-message {
  left: auto;
  margin-left: 0;
  margin-right: -24px;
  right: 0;
}

@media (min-width: 1200px) {
  .custom-check .preview {
    font-size: 14px !important;
  }

  .custom-check .imprint-preview .symbol-img {
    height: auto;
    max-width: none;
    min-width: 50px;
    width: auto;
  }
}

@media (max-width: 979px) {
  .custom-check .instructions {
    font-size: 18px;
    left: 50px;
    padding: 15px 30px;
  }

  .custom-check .preview {
    font-size: 8.5px !important;
  }

  .custom-check .imprint-preview .symbol-img {
    height: auto;
    max-width: 30px !important;
    width: 30px;
  }
}

@media (max-width: 767px) {
  .custom-check .instructions, .preview {
    display: inherit;
  }
}