.category-card {
  height: 300px;
  margin-bottom: 15px;
  background-color: white;
  -webkit-transition: -webkit-box-shadow 0.3s;
  transition: -webkit-box-shadow 0.3s;
  transition: box-shadow 0.3s;
  transition: box-shadow 0.3s, -webkit-box-shadow 0.3s;
  -webkit-perspective: 800px;
          perspective: 800px;
}

.category-card .card {
  height: 100%;
  width: 100%;
  position: absolute;
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
  -webkit-transition: -webkit-transform 1s;
  transition: -webkit-transform 1s;
  transition: transform 1s;
  transition: transform 1s, -webkit-transform 1s;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
}

.category-card .card div.category-card-description {
  display: none;
}

.category-card .card.flipped div.category-card-description {
  display: block;
}

.category-card .card.flipped div.category-card-img {
  display: none;
}

.category-card .card .side {
  margin: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -webkit-box-shadow: 1px 1px 6px 2px rgba(0, 0, 0, 0.3);
          box-shadow: 1px 1px 6px 2px rgba(0, 0, 0, 0.3);
  -webkit-transition: -webkit-box-shadow 0.3s;
  transition: -webkit-box-shadow 0.3s;
  transition: box-shadow 0.3s;
  transition: box-shadow 0.3s, -webkit-box-shadow 0.3s;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.category-card .card .side:hover {
  -webkit-box-shadow: 3px 4px 13px 4px rgba(0, 0, 0, 0.3);
          box-shadow: 3px 4px 13px 4px rgba(0, 0, 0, 0.3);
}

.category-card .card .side.back {
  -webkit-transform: rotateY(180deg);
          transform: rotateY(180deg);
}

.category-card .card .side .category-card-heading .heading {
  font-weight: bold !important;
  text-align: left;
  margin: 0;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.category-card .card .side .category-card-heading .subheading {
  font-size: 17px;
}

.category-card .card .side .category-card-img img {
  width: 100%;
  height: 160px;
  -o-object-fit: cover;
     object-fit: cover;
}

.category-card .card .side .divider {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
}

.category-card .card .side .category-card-heading,
.category-card .card .side .category-card-content,
.category-card .card .side .category-card-actions,
.category-card .card .side .category-card-description {
  padding: 10px;
}

.category-card .card .side .category-card-description {
  overflow: auto;
}

.category-card .card .side .category-card-description h6 {
  font-weight: bold;
  font-size: 16px;
}

.category-card .card .side .category-card-actions {
  text-align: right;
}

.recommended-field {
  border: 1px solid #8a6d3b;
  border-radius: 4px;
  padding: 12px;
  margin-bottom: 15px;
}

.recommended-badge {
  display: inline-block;
  padding: 3px 6px;
  border-radius: 3px;
  background: #fcf8e3;
  color: #8a6d3b;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}

.recommended-field > .recommended-badge {
  float: right;
}

.form-answer {
  margin-top: 5px;
}

.form-answer-input {
  background-color: #fff !important;
  border: 0px;
  -webkit-box-shadow: none !important;
          box-shadow: none !important;
}

select.form-answer-input {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-left: 0;
}

