/* The Modal (background) */
/*
modal1-container
modal1-page
modal1-body
modal1-footer
*/
.modal1-container {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 67; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  justify-content:center;
  align-items:center;
  overflow: hidden; /* Enable scroll if needed */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s
}

/* Modal page */
.modal1-page {
  background-color: #fefefe;    
  z-index: 47; /* Sit on top */
  padding: 0;
  border: 1px solid #888;
  width: 80%;
  height: 90%;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
}

/* Add Animation */
@-webkit-keyframes animatetop {
  from {top:-60px; opacity:0} 
  to {top:0; opacity:1}
}

@keyframes animatetop {
  from {top:-60px; opacity:0}
  to {top:0; opacity:1}
}

/* The Close Button */
.modal1-close1 {
  float: right;
  font-size: 16px;
}

.modal1-close1:hover,
.modal1-close1:focus {
  cursor: pointer;
}

.modal1-header {
  padding: 2px 16px;
  background-color: #3a3f46;
  color: white;
}

.modal1-body {
    padding: 2px 16px;
    overflow-y: scroll;
    background-color: white;
    width:100%;
    height: 90%;
    
}

.modal1-body a {
    text-decoration: none;
}

.modal1-footer {
  padding: 2px 16px;
  background-color: #FF0;
  color: white;
  display:flex;
  justify-content:center;
  display: absolute;
  bottom:0px;
}

.modal1-tabla-body-row{
    width:100%;
    padding:5px;
    display: flex;
    flex-direction: column;
    border-bottom: thin dotted #999;
}

.modal1-tabla-body-row:hover{
    background-color: #FFFF55;
}


@media only screen and (max-width: 600px) {
    .modal1-body {
        height: 85%;

    }
}

.mensaje-modal {
    width:100%;
    height: 100%;
    top:0;
    left:0;
    z-index:45;
    background-color: rgba(0,0,0,0.5);
    position: fixed;
    align-items:center;
    justify-content:center;
    padding:35px;
    display: flex;
}
.mensaje-modal div {
    background-color: #fff;
    width:350px;
    padding:30px;
    display:flex;
    justify-content:center;
    align-items:center;
    border-radius: 15px;
}
.div-modal-down {
    width:100%;
    height: 60px;
    bottom:0;
    left:0;
    z-index:65;
    background-color: rgba(0,0,0,0.5);
    position: fixed;
    border-top: thin solid black;
    display:none;
}
.div-modal-down div {
    background-color: #fff;
    width:100%;
    height:100%;
    padding:10px;
    display:flex;
    justify-content:center;
    align-items:center;
    flex-direction: column;
}
