figure {
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 0px;
  margin-left: 0px;
}

*, *::after, *::before {
  box-sizing: border-box;
}

.clear {
  clear: both;
}

.ModHover {
  margin-top: 0px;
  margin-right: auto;
  margin-bottom: 0px;
  margin-left: auto;
  width: 98%;
}

.grid {
  position: relative;
  margin-top: 0px;
  margin-right: auto;
  margin-bottom: 0px;
  margin-left: auto;
  list-style-type: none;
  list-style-position: outside;
  list-style-image: none;
  text-align: left;
}

.grid figure {
  position: relative;
  float: left;
  overflow: hidden;
  max-width: 365px;
  max-height: 282px;
  background-color: #05223f;
  background-image: none;
  background-repeat: repeat;
  background-attachment: scroll;
  background-position: 0% 0%;
  text-align: left;
  cursor: pointer;
}

.grid figure img {
  position: relative;
  display: block;
  min-height: 100%;
  max-width: 100%;
}

.grid figure figcaption {
  padding-top: 2em;
  padding-right: 2em;
  padding-bottom: 2em;
  padding-left: 2em;
  color: white;
  font-size: 1em;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.grid figure figcaption::before, .grid figure figcaption::after {
  pointer-events: none;
}

.grid figure figcaption, .grid figure figcaption > a {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
}

.grid figure figcaption > a {
  z-index: 1000;
  text-indent: 200%;
  white-space: nowrap;
  font-size: 0px;
  opacity: 0;
}

.grid figure h3 {
  font-family: "Open Sans", Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-weight: 100;
  font-size: 1em;
}

.grid figure h3, .grid figure p {
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 0px;
  margin-left: 0px;
}

.grid figure p {
  letter-spacing: 1px;
  font-size: 0.75em;
  font-weight: normal;
}

figure.effect-lily img {
}

figure.effect-lily figcaption {
  text-align: left;
}

figure.effect-lily figcaption > div {
  position: absolute;
  bottom: 0px;
  left: 0px;
  padding-top: 2em;
  padding-right: 2em;
  padding-bottom: 2em;
  padding-left: 2em;
  width: 100%;
  height: 100%;
}

figure.effect-lily h3, figure.effect-lily p {
  transform: translate3d(0px, 190px, 0px);
}

figure.effect-lily h3 {
transition: transform 0.35s ease 0s;
}

figure.effect-lily p {
  opacity: 0;
}

figure.effect-lily:hover p {
  opacity: 1;
}

figure.effect-lily:hover img {
  opacity: 0.2;
}

figure.effect-lily:hover h3 img {
  opacity: 1;
}

figure.effect-lily:hover img, figure.effect-lily:hover h3, figure.effect-lily:hover p {
  transform: translate3d(0px, 0px, 0px);
}

figure.effect-lily:hover p {
transition-delay: 0.05s;
transition-duration: 0.35s;
}

@media (max-width: 1080px) {
  .grid figure { display: inline-block; float: none; margin: 0px auto; width: 100%; }
  .grid figure p { font-size: 0.8em; line-height: 1.2em; }
  figure.effect-lily h3, figure.effect-lily p { transform: translate3d(0px, 180px, 0px); }
  figure.effect-lily figcaption > div { padding: 2em; }
}

@media (max-width: 990px) {
  figure.effect-lily h3, figure.effect-lily p { transform: translate3d(0px, 160px, 0px); }
  .grid figure p { font-size: 0.7em; }
}

@media (max-width: 910px) {
  figure.effect-lily h3, figure.effect-lily p { transform: translate3d(0px, 200px, 0px); }
  .grid figure p { font-size: 0.9em; }
}

@media (max-width: 750px) {
  figure.effect-lily h3, figure.effect-lily p { transform: translate3d(0px, 180px, 0px); }
}

@media (max-width: 690px) {
  figure.effect-lily h3, figure.effect-lily p { transform: translate3d(0px, 160px, 0px); }
  .grid figure p { font-size: 0.7em; }
}

@media (max-width: 590px) {
  figure.effect-lily h3, figure.effect-lily p { transform: translate3d(0px, 190px, 0px); }
}

@media (max-width: 390px) {
  figure.effect-lily h3, figure.effect-lily p { transform: translate3d(0px, 170px, 0px); }
}

@media (max-width: 350px) {
  figure.effect-lily h3, figure.effect-lily p { transform: translate3d(0px, 140px, 0px); }
  figure.effect-lily p span { display: none; }
  figure.effect-lily figcaption > div { padding: 2em 1em; }
}

#bord2 {
  border-collapse: collapse;
}

#fondo1 {
  background-color: #ffffcc;
  color: #ffff66;
}

