.template_div li{
  cursor: pointer;
  border: 2px solid transparent;
}
.template_div li:hover{
  cursor: pointer;
  border: 2px solid red;
}
.select-checkbox-hidden, .select-color{
  position: absolute;
  visibility: hidden;
}
.template_div li a{
  position: relative;
  display: block;
  width: 100%;
  /*background-image: url('../../../billing/img/layout-check.png');*/
}
.template_div li.check a:before{
  background-image: url('../../../billing/img/layout-check.png');
  content: " ";
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-size: 100% 100%;
}
.color_div li{
  border: 1px solid transparent;
  padding: 1px;
}

.color_div li:hover, .color_div li.check{
  border: 1px solid #347bee;
}

.color_div li a{
  position: relative;
  display: block;
  width: 15px;
  height: 15px;
  border-radius: 2px;
}
.preview-div{
  height: 200px;
  border: 1px dashed;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}