﻿
/*
    TEMPLATE BY: Flexbox Card Grid (CodePen)
*/



/*
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  background-color: #f0f0f0;
}
body {
  color: #999999;
  font-family: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0;
  padding: 1rem;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -moz-font-feature-settings: "liga" on;
}*/
.img-card {
  height: 250px;
  width: 250px;
  max-width: 100%;
  vertical-align: middle;
  margin: auto;
  transition: opacity 0.5s ease;
}
.card__btn {
  background-color: #47b4eb; 
  border-radius: 8px;
  /*border: 1px solid #1791cf;*/
  color: white;
  width: 33%;
  height: 60px;
  text-align: center;
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
  font-size: 17px;
  cursor: pointer;
  float: left;
  transition: background-color 0.5s ease;
}
.card__btn:hover {
  background-color: #30abe8;
}
.btn-group-asesoramiento {
  display:none;
  width: 100%;
}
.cards {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}
.cards__item {
  display: flex;
  min-height: 400px;
  padding: 1rem;
  width: 370px;
}
/*
@media (min-width: 40rem) {
  .cards__item {
    width: 50%;
  }
}
@media (min-width: 56rem) {
  .cards__item {
    width: 33.3333%;
  }
}*/
.card {
  background-color: #e6e6e6;
  border-radius: 0.25rem;
  box-shadow: 5px 20px 20px 10px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  width: 370px;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.5s ease, box-shadow 0.5s ease, border-radius 0.5s ease;
}
.card-default {
  background-color: #8ec157;
  border-radius: 0.25rem;
  box-shadow: 5px 20px 20px 10px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  width: 370px;
  cursor: pointer;
  text-align: center;
  transition: all 0.8s ease;
}
/*.card:hover .card__image {
  -webkit-filter: contrast(100%);
          filter: contrast(100%);
  opacity: 0.8;
}*/
.card:hover {
  background-color: #cccccc;
  border-radius: 1.75rem;
  box-shadow: 5px 20px 30px 10px rgba(0, 0, 0, 0.25);
}
.card-default:hover {
  background-color: #689537;
  border-radius: 1.75rem;
  box-shadow: 5px 20px 30px 10px rgba(0, 0, 0, 0.25);
  transform: scale(1.1);
}
.card__content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 10px;
}
.card__image {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  overflow: hidden;
  position: relative;
  margin-top: 10px;
  transition: -webkit-filter 0.5s cubic-bezier(0.43, 0.41, 0.22, 0.91);
  transition: filter 0.5s cubic-bezier(0.43, 0.41, 0.22, 0.91);
  transition: filter 0.5s cubic-bezier(0.43, 0.41, 0.22, 0.91), -webkit-filter 0.5s cubic-bezier(0.43, 0.41, 0.22, 0.91);
}
.card__image::before {
  content: "";
  display: block;
  padding-top: 100%;
}
.card__image--exercise {
  background-image: url("/Img/exercise.png");
}
.card__image--bed {
  background-image: url("../Img/bed.png");
}
.card__image--food {
  background-image: url("../Img/diet.png");
}
.card__image--wedding {
  background-image: url("../Img/wedding-day.png");
}
.card__image--falling {
  background-image: url("../Img/falling.png");
}
.card__image--man-lifting-an-old-man {
  background-image: url("../Img/man-lifting-an-old-man.png");
}
.card__title {
  color: #595959;
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  text-align: center;
}
.card__title_default {
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  text-align: center;
}
.card__text {
  flex: 1 1 auto;
  font-size: 1rem;
  line-height: 1.5;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  text-align: left;
}


/* ************* Cards Ocupaciones ************ */

.img-card-ocu {
  height: 128px;
  width: 128px;
  max-width: 100%;
  vertical-align: middle;
  margin: auto;
  transition: opacity 0.5s ease;
}

.cards__item_ocu {
  display: inline;
  min-height: 240px;
  padding: 10px;
  width: 350px;
  /*-webkit-perspective: 300px; 
  perspective: 300px;*/
}


.card-ocu {
  background-color: darkgray;
  border-radius: 0.25rem;
  box-shadow: 5px 5px 5px 3px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  width: 330px;
  height: 220px;
  cursor: pointer;
  text-align: center;
  transition: all 0.8s ease;
}

.card-ocu:hover {
  background-color: #75c7f0 !important;
  border-radius: 3.75rem;
  box-shadow: 5px 8px 8px 5px rgba(0, 0, 0, 0.25);
  transform: scale(1);
}

.card__content_ocu {
  display: flex;
  flex-direction: column;
  padding: 2px;
  height: 60px;
}

.card__title_ocu {
  color: white;
  font-size: 1.6rem;
  font-weight: bold;
  letter-spacing: 1px;
  text-align: center;
  height: 100%;
  line-height: 100%;
}

.cards__ocu {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: auto;
  padding: 0;
}








/* ************* Cards Resultados ************ */

.img-card-result {
  height: 128px;
  width: 128px;
  max-width: 100%;
  vertical-align: middle;
  margin: auto;
  transition: opacity 0.5s ease;
}

.cards__item_result {
  display: inline;
  min-height: 240px;
  padding: 10px;
  width: 33%;
  /*-webkit-perspective: 300px; 
  perspective: 300px;*/
}


.card-result {
  background-color: #E4E4E4;
  border-radius: 0.25rem;
  box-shadow: 5px 5px 5px 3px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  width: 100%;
  height: 480px;
  cursor: pointer;
  text-align: center;
  transition: all 0.8s ease;
}

.card-result:hover {
  border-radius: 3.75rem;
  box-shadow: 5px 8px 8px 5px rgba(0, 0, 0, 0.25);
  transform: scale(1.05);
}

.card__content_result {
  display: flex;
  flex-direction: column;
  padding: 2px;
  height: 60px;
}

.cards__result {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: auto;
  padding: 0;
}