.modal-open {
    overflow: hidden;
}

.fade {
  transition: opacity 0.15s linear;
}
.fade:not(.show) {
  opacity: 0;
}

.modal {
  position: fixed;
  top: 0px; /*-5px*/
  left: 0;
  z-index: 1050;
  display: none;
  width: 100%;
  height: 100%; /*95%*/
  overflow: hidden;
  outline: 0;
  align-items: center; 
  margin:auto; /*1.75rem auto;*/
  overflow-x: hidden;
}

.modal-dialog {
  position: relative;
  width: auto;
  margin: 0.5rem;
  width:60%;
  background:#ffffff;
  text-align: center;
  border-radius: 25px;
}

.modal.fade .modal-dialog {
  transition: -webkit-transform 0.3s ease-out;
  transition: transform 0.3s ease-out;
  transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
  -webkit-transform: translate(0, -50px);
  transform: translate(0, -550px);
   margin:auto; /*1.75rem auto;*/

  /* animation: swal2-show .5s;*/

}



.modal.show .modal-dialog {
  /*-webkit-transform: none;*/
  transform: none;
  /*animation: swal2-toast-hide .1s forwards*/

}


/*Backdrop*/
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1040;
  width: 200vw;
  height: 200vh;
  background-color: #000;
}
.modal-backdrop.fade {
  opacity: 0;
}
.modal-backdrop.show {
  opacity: .9;
}

/*
    CABECERA
*/
.modal-header {
    position: relative;
    max-width: 100%;
    margin: 0;
    padding: 0;
    color: #595959;
    font-size: 1.875em;
    font-weight: 600;
    text-align: center;
    text-transform: none;
    word-wrap: break-word;
    background:#e3e6e7;
    overflow:overlay;
    border-radius: 25px 25px 0px 0px!Important;
    min-height: 39px;
}
/*
TITULO
*/
.modal-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 1.8em;
    padding-top: 11px;
    /*min-height: 34px;*/
}
/*
CONTENIDO
*/
.modal-content {
    padding: 0 1.1em;
    margin: 0;
    color: #545454;
    font-size: 1.125em;
    font-weight: 400;
    line-height: normal;
    text-align: center;
    word-wrap: break-word;

}

/*
BODY
*/
.modal-body {
  position: relative;
  flex: 1 1 auto;
}

/*
FOOT
*/
.modal-footer {
    min-height: 15px;
}