.flipcard-content {
  margin: 2rem 0;
  display: -ms-grid;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
}

.flipcard {
  color: inherit;
  min-width: 200px;
  width: 100%;
  height: 400px;
  -webkit-perspective: 1000px;
  perspective: 1000px;
  position: relative;
  display: block;
  cursor: pointer;
}

.flipcard-col-2 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.flipcard-col-2 .descripcion h3 {
  color: #102e4a;
  font-size: 26px;
  font-weight: 700;
  line-height: 32px;
}

.flipcard-col-2 .descripcion div {
  font-style: italic;
}

.flipcard-col-2 .descripcion ul {
  padding-left: 20px;
}

.flipcard .back,
.flipcard .front {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  border-radius: 8px;
  background-position: center;
  background-size: cover;
  position: absolute;
  height: 100%;
  width: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-transition: ease-in-out 600ms;
  transition: ease-in-out 600ms;
  padding: 1rem;
}

.flipcard .back p,
.flipcard .front h4 {
  color: #fff;
  margin-bottom: 0;
  line-height: 18px;
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
}

.flipcard .front {
  background-size: cover;
  color: #fff;
  overflow: hidden;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: end;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: start;
}

.flipcard .front:before {
  position: absolute;
  display: block;
  content: "";
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: -webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, 0.6)), color-stop(50%, rgba(0, 0, 0, 0)));
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 50%);
  z-index: -1;
}

.flipcard:hover .front {
  -webkit-transform: rotateY(180deg);
  transform: rotateY(180deg);
}

.flipcard:nth-child(2n):hover .front {
  -webkit-transform: rotateY(-180deg);
  transform: rotateY(-180deg);
}

.flipcard .front p {
  text-transform: initial;
}

.flipcard .back {
  background: #BFC0C5;
  -webkit-transform: rotateY(-180deg);
  transform: rotateY(-180deg);
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: end;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.flipcard .back .content {
  color: #fff;
  width: 100%;
}

.flipcard .back .content p {
  font-size: 14px;
}

.flipcard .back .content h4 {
  font-weight: 600;
  font-size: 18px;
  line-height: 20px;
  text-transform: initial;
  margin-bottom: 5px;
  color: var(--brcolor);
}

.flipcard .back .content p:nth-child(2) {
  font-size: 12px;
  line-height: 18px;
}

/* .flipcard .back .content p:last-child {
  display: none;
} */

.flipcard .back a {
  text-decoration: none;
  color: #fff;
  -webkit-transform: translateX(0px);
  transform: translateX(0px);
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  padding: 0 10px;
}

.flipcard .back a:hover {
  -webkit-transform: translateX(10px);
  transform: translateX(10px);
}

.flipcard .back .description {
  display: none;
}

.flipcard:hover .back {
  -webkit-transform: rotateY(0deg);
  transform: rotateY(0deg);
}

.flipcard:nth-child(2n) .back {
  -webkit-transform: rotateY(180deg);
  transform: rotateY(180deg);
}

.flipcard:nth-child(2n):hover .back {
  -webkit-transform: rotateY(0deg);
  transform: rotateY(0deg);
}

.flipcard-content ~ #flipcard-modal .btn-close {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 15px;
  min-width: initial;
}

.flipcard-content ~ #flipcard-modal .btn-close:hover {
  background-color: transparent;
}

.flipcard-content ~ #flipcard-modal .btn-close:focus {
  -webkit-box-shadow: none;
  box-shadow: none;
}

.flipcard-content ~ #flipcard-modal .modalData .modalImage {
  width: 300px;
  min-height: 350px;
  overflow: hidden;
  border-radius: 8px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .flipcard-content ~ #flipcard-modal .modalData .modalImage {
    float: left;
    margin-right: 30px;
  }
}

.flipcard-content ~ #flipcard-modal .modalData .modalContent {
  margin-top: 1rem;
  color: #102e4a;
}

.flipcard-content ~ #flipcard-modal .modalData .modalContent h4 {
  font-weight: 700;
  font-size: 18px;
  line-height: 18px;
  text-transform: initial;
  color: var(--brcolor);
}

.flipcard-content ~ #flipcard-modal .modalData .modalContent p:last-child {
  font-size: 12px;
  line-height: 15px;
}

.flipcard-content ~ #flipcard-modal .modalData .data {
  margin-top: 15px;
  font-family: "Montserrat", sans-serif;
}

.flipcard-content ~ #flipcard-modal .modalData .data ul {
  padding-left: 350px;
}

#flipcard-modal .modalData .data ul li::marker,
.flipcard-col-2 .descripcion ul li::marker {
  color: var(--brcolor);
}

.flipcard-content .owl-dots .owl-dot span {
    width: 14px;
    height: 14px;
}

.flipcard-content .owl-dots .owl-dot.active span,
.flipcard-content .owl-dots .owl-dot:hover span {
    background: var(--brcolor);
}