.container{
  margin-left: 1rem;
  margin-right: 1rem;
}

.modal{
  height: 100vh;
  display: grid;
  place-items: center;
}

.modal__button{
  display: inline-block;
  background-color: red;
  color: #FFF;
  padding: 1rem 1.25rem;
  border-radius: .5rem;
  transition: .3s;
}

.modal__container{
  display: block !important;
  background-color: #14324b;
  overflow: auto !important;
  left: 0;
  display: grid;
  align-items: flex-end;
  transition: all .3s;
  z-index: 10;
  visibility: hidden;
  opacity: 0;
  
  
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  top: 130px;
  z-index: 10;
}

.modal__content{
  height: 900px;
  overflow-y: auto;
  
  position: relative;
  background-color: #14324bf7;
  text-align: center;
  padding: 3rem 2rem 2rem;
  border-radius: 1rem 1rem 0 0;
  transition: all .3s;


  transform: translateY(10%);
}


.modal__close{
  display: inline-flex;
  border-radius: .25rem;
  color: #FFF;
  font-size: 2.5rem;
  position: absolute;
  top: 3rem;
  right: 1rem;
  cursor: pointer;
}

.modal__title{
  color: #fff;
  font-weight: 500;
}


.modal__button-width{
  width: 90%;
}

/* Show modal */
.show-modal{
  visibility: visible;
  opacity: 1;
}

.show-modal .modal__content{
  transform: translateY(0);
}



.content-popup {
  display: flex;
  margin: auto;
  max-width: 1140px;
}
.document-preview {
  width: 40%;
}
.document-data {
  width: 60%;
  text-align: left;
  color: #fff;
  padding: 0 1.5em;
}
.title h3 {
  font-size: 2rem;
  margin: 0 0 0.8em 0;
  line-height: 1.2em;
}
.keywords,
.year,
.tipoArchivo,
.solucion,
.id,
.description {
  font-size: 1.3rem;
  margin-bottom: 0.8em;
}

.uppercase {
  text-transform: uppercase;
}

.buttons-container {
  margin-top: 2em;
  display: flex; 
}
.show-document a,
.download-document a {
  margin-right: 1em;
  text-align-last: center;
  margin-top: 15px;
  border: solid 1px #fff;
  padding: 10px 25px;
  font-size: 1.8rem;
  color: #fff !important;
  
  -webkit-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out; 
}

.fixed {
  overflow: hidden;
}
.full-w {
  width: 100% !important;
}

.page-template-default {
    transition: all .3s;
}


/* For small devices */
@media screen and (min-width: 576px){
  .modal__content{
    margin: auto;
    width: 100%;
    border-radius: 0;
  }
  
}

@media screen and (max-width: 1024px){
    .document-preview {
        width: 30%;
    }
    .document-data {
        width: 70%;
    }
  
    .modal__close {
        font-size: 2rem;
        right: 1rem;
      }
    .title h3 {
        font-size: 1.3rem;
        margin: 0 0 0.5em 0;
      }
    
    .keywords,
    .year,
    .tipoArchivo,
    .solucion,
    .id,
    .description {
        font-size: 1rem;
        margin-bottom: 0.5em;
    }
    
    .show-document a,
    .download-document a {
      font-size: 1em;
      padding: 8px 25px;
    }
    
    .buttons-container {
      margin-top: 1em;
    }
}
@media screen and (max-width: 767px){
    .document-preview {
      display: none;
    }
    .document-data {
      width: 100%;
    }
    .keywords, .year, .tipoArchivo, .solucion, .id, .description {
      font-size: 0.9rem;
    }
}