  .directory-container {
    font-family: 'Roboto', sans-serif;
    margin-bottom: 2em;
    text-align: center;
    max-width: 1000px;
    width: 100%;
    margin: 0 auto 40px;
    line-height: 1.42857143;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
  }

  .directory-container p {
    margin: 10px 40px 30px;
  }

  .btn-info {
    color: #111;
    background-color: #fff;
    border-color: #efefef;
    border-radius: 4px;
    padding: 10px;
    width: 300px;
    margin-bottom: 5px !important;
  }

  .btn-info:hover {
    background: #efefef;
    border-color: #efefef;
    color: #111 !important;
  }

  .btn-info:focus {
    color: #111;
    background-color: #fff;
    border-color: #efefef;
    outline: 0px;
  }

  .btn-info:active {
    background: #133e65 !important;
    color: #fff !important;
  }

  .magistrado {
    text-align: center;
    border: 2px solid #CFDFF1;
    padding: 20% 2% 5%;
    border-radius: 10px;
    color: #36506B;
  }

  .magistradopic {
    width: 90px;
    margin: 0 auto;
    border: 3px solid #CFDFF1;
    border-radius: 50%;
    position: relative;
    top: 45px;
  }

  .magistradopic img,
  .magistradopic2 img {
    border-radius: 100px;
  }

  .magistrado-name {
    font-weight: bold;
    font-size: 11pt;
  }

  .magistrado-cargo {
    font-weight: 400;
    font-size: 10pt !important;
    font-family: 'Roboto';
    color:#133e65;
}

  .boton-link a {
    padding: 8px !important;
    width: 280px;
    border: 1px solid #133e65;
    border-radius: 50px;
    color: #133e65;
    text-transform: uppercase;
    font-size: 12px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 500;
    font-family: 'Raleway';
    letter-spacing: .7px;
    text-decoration: none;
    margin: 0 auto;
  }

  .boton-link a:hover {
    background: #133e65;
    transition: .3s;
    color: #fff;
  }

  .directory-subtitle2 {
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    color: #A3B723;
    padding-top: 20px;
    padding-bottom: 10px;
    letter-spacing: .7px;
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    text-transform: uppercase;
  }

  .modal-dialog {
    max-width: 700px;
    width: 100%;
  }

  .modal-header {
    background: #fff;
    color: #fff;
    text-align: left;
    border-radius: 0px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
    border-bottom: 1px solid #CFDFF1;
  }

  .modal-title {
      font-weight: bolder;
      font-size: 16pt !important;
      color: #36506B;
  }

  .magistradopic2 {
    width: 120px;
    margin-left: 10px;
    margin-right: 20px;
    border-radius: 50%;
    border: 3px solid #CFDFF1;
  }

  .modal-content {
    border: 2px solid #CFDFF1;
    border-radius: 0.3rem;
    outline: 0;
    margin-top: 40% !important;
  } 

  .magistradopic2 img {
    border: 2px solid #fff;
  }

  .magistrado-correo {
    font-size: 12pt !important;
    color: #36506B;
  }

  .modal-body {
    position: relative;
    padding: 30px;
    font-size: 12pt;
    text-align: justify;
  }

  .modal-header .close {
    position: absolute;
    text-align: right;
    margin-right: -20px !important;
    padding: 0 30px 0;
    color: #000;
  }

  .close {
    font-size: 35px;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 1px 0 #111;
    opacity: 0.5;
  }

  @media only screen and (min-width:300px) and (max-width:450px) {
    .magistradopic {
      width: 70px;
    }

    .magistrado-cargo {
      font-size: 11pt;
    }

    .boton-link {
      font-size: 10px;
      padding: 5px;
    }
    .modal-content {
      margin-top: 5% !important;
    }
  }