@font-face {
  font-family: "Gantari";
  src: url("fonts/Gantari-Regular.ttf");
}

@font-face {
  font-family: "GantariLight";
  src: url("fonts/Gantari-Light.ttf");
}

@font-face {
  font-family: "GantariBold";
  src: url("fonts/Gantari-Bold.ttf");
}

@font-face {
  font-family: "GantariSemiBold";
  src: url("fonts/Gantari-SemiBold.ttf");
}

div#quad { 
    background-color: #000; 
    font-size: 0; width: 90%; 
    margin: 0 auto;
    /*box-shadow: 0 0 0 12px rgba(0,0,0,0.8);*/
    box-shadow: 10px 10px 16px -10px rgba(0,0,0,0.75);
    -webkit-box-shadow: 10px 10px 16px -10px rgba(0,0,0,0.75);
    -moz-box-shadow: 10px 10px 16px -10px rgba(0,0,0,0.75);
  }

  div#quad figure { 
    margin: 0; width: 50%; 
    height: auto; transition: 1s; 
    display: inline-block; 
    position: relative; overflow: hidden; 
   /* border-width: 6px;
    border-color: #000000;
    border-style: solid;*/
    margin: 0px 0px 1px, 1px;

  }
  div#quad figure:hover { cursor: pointer; z-index: 4; }
  div#quad figure img { width: 100%; height: auto; }
  div#quad figure:nth-child(1) { transform-origin: top left; }
  div#quad figure:nth-child(2) { transform-origin: top right; }
  div#quad figure:nth-child(3) { transform-origin: bottom left; }
  div#quad figure:nth-child(4) { transform-origin: bottom right; }
  div#quad figure figcaption { 
    margin: 0 ; opacity: 0; 
    background: rgba(0,0,0,0.7); 
    color: #fff; padding: .2rem; 
    font-size: 1rem; 
    position: absolute; 
    top:10px; left:10px; width: 70%;
    transition: 0.8s 1s opacity; 
  }
  .expanded { transform: scale(2); z-index: 5;  }
  div#quad figure.expanded figcaption { opacity: 1; }
  div.full figure:not(.expanded) { pointer-events: none; }

  ul.common-list{
    margin-left:20px;
    margin-top:10px;
    list-style-type:disc;
    overflow: auto;
    list-style-position:outside;
    font-family: inherit;
    font-weight: 600;
    padding: 0px 6px 12px 20px;
    border-radius: 4px;
    /*box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);*/
  }
  
ul.common-list li{
    width: 98%;
    margin: 0px 0px 0px 0px;
    font-size: 0.7rem;
    color:rgb(255, 255, 255);
  }

p.fig-desc{
    font-family: Gantari, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.5rem;
    line-height: normal;
    margin-bottom: 0;
}

div#quad figure h4{ 
  margin-left:3%;
  font-size: 1.1rem;
  color:#ffffff;
  /*background-color: #0a86a9;*/
  padding:1px;
  padding-left: 4px;
  width:70%;
  margin-bottom: 0;
}

div#quad figure h5{ 
  margin-left:6%;
  padding-top:0.2rem;
  font-size: .45rem;
 /* color:#1fed4c;*/
  color:#ff8724;
  font-size: 0.56rem;
}

p.epigrafeTaller{
  display:block;
  padding: 0.98rem;
  min-width:70%;
  max-width: 100%;
  text-align: left;
  font-family: GantariLight, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: rgba(26, 26, 26, 0.9);
  font-size: 1.1rem;
  font-weight: 600;
  position:absolute;
  top:10px;
  left:10px;
  margin:auto;
  color:#ffffff;
  opacity:1;
  transition: 0.9s 1s opacity; 
}
p.ocultar{opacity:0}

@media screen and (max-width: 992px) {

      div#quad { 
        background-color: #000; 
        font-size: 0; width: 100%; 
        margin: 0 auto;
        box-shadow: 0 0 12px rgba(0,0,0,0.8);
      }

      div#quad figure figcaption { 
        margin: 0 ; opacity: 0; 
        background: rgba(0,0,0,0.7); 
        color: #fff; padding: .3rem; 
        font-size: 0.7rem; 
        position: absolute; 
        top:0; left:0; width: 100%;
        height: 100%;
        transition: 1s 1s opacity; 
      }
      ul.common-list{
        display:block;
        margin-left:20px;
        margin-top: 0px;
        list-style-type:disc;
        overflow: auto;
        list-style-position:outside;
        font-family: inherit;
        padding: 0px 0px 6px 10px;
      }

      ul.common-list li{
        width: 98%;
        margin: 0px 0px 0px 0px;
        font-size: 0.4rem;
        color:rgb(255, 255, 255);
      }

      p.fig-desc{
        font-family: Verdana, Geneva, Tahoma, sans-serif;
        font-size: .42rem;
        line-height: 1.2vh ;
        margin-top:0;
      }

      div#quad figure h4{ 
      margin:0;
      margin-bottom: 0;
      margin-top: 0;
      margin-left:4%;
      font-size: 0.6rem;
      font-weight: 600;
      padding: 0px;
      }

      div#quad figure h5{ 
      margin:0;
      margin-left:6%;
      font-size: 0.5rem;
      padding:0px;
      }

      p.epigrafeTaller{
        font-size: 0.86rem;
        padding:0.3rem;
      }
  
}