
/* Target elements */

.targets-wrapper {
  margin: 0 13px;
  padding: 10px 0 20px;
  display: flex;
  flex-wrap: wrap;
}

.target,
.target-click,
.target-notice {
  cursor: default;
  font-size: 14px;
  line-height: 50px;
  height: 52px;
  border-radius: 4px;
  overflow: hidden;
  border: 2px solid #e2e2e2;
  background: #fafafa;
  text-align: center;
  font-weight: 500;
  position: relative;
  text-transform: uppercase;
  width: calc(25% - 10px);
  margin: 5px;
  transition: border-color .2s, background-color .2s;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.target:hover,
.target-click:hover,
.target-notice:hover {
  border-color: #bbb;
  background-color: #eee;
}

.target-click,
.target-notice {
  cursor: pointer;
}

.target.active,
.target-click.active,
.target-notice.active {
  color: #49d;
}

@media (max-width: 768px) {

  .target,
  .target-click,
  .target-notice {
    width: calc(50% - 10px);
  }
}

.demo-img {
  width: calc(25% - 10px);
  margin: 5px;
}

@media (max-width: 500px) {
  .demo-img {
    width: calc(50% - 10px);
  }
}

.demo-img>img {
  border: 4px solid #e2e2e2;
  border-radius: 4px;
  width: 100%;
  height: 200px;
}

.demo-img:hover>img {
  filter: contrast(140%);
  border-color: #bbb;
}

@media (max-width: 768px) {
  .demo-img>img {
    border-width: 2px;
  }
}



/* jBox styles */

.ajax-sending {
  color: #49d;
}

.ajax-complete {
  color: #390;
}

.ajax-success tt {
  color: #666;
  display: block;
  padding-top: 10px;
  font-size: 14px;
}

.ajax-error {
  color: #d00;
}
