/* Estos valores son importantes para el modal ********************************/
body, html {
  margin: 0;
  padding: 0;
  height: 100%;
}

.info, .ok, .warning, .error, .validation {
    font-family: Verdana, Geneva, sans-serif;
    text-align:left;
    font-size: 12px;
    font-weight: bold;
    border: 1px solid;
    border-radius:10px;
    margin: 10px 0px;
    padding:1.2em 1em 1.2em 50px; 
    background-repeat: no-repeat;
    background-position: 10px center;
    display:inline-block;   
}
.info {
    color: #00529B;
    background-color: #BDE5F8;
    background-image: url('/images/system/info.png');
}
.ok {
    color: #4F8A10;
    background-color: #DFF2BF;
    background-image:url('/images/system/success.png');
}
.warning {
    color: black; 
    border-color: #9F6000; 
    background-color: #FEEFB3;
    background-image: url('/images/system/warning.png');
}
.error {
    color: black; /* #D8000C; */
    background-color: #FFBABA;
    background-image: url('/images/system/error.png');
    border-color:#CC3333;
}


/*errores en formularios*/
ul.errors li{
    list-style-type: none;
    color: red;
    padding:0;
    margin:0;
    margin-left:-35px;
    margin-top:-5px;
    font-size: 1em;
}


/***** myPopup ****************************************************************/
#myPopup_container {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  /*
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  */
}

#myPopup_content {
  text-align: center;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 10px;
  background:white;
  opacity: .80;
  margin-left: auto;
  margin-right: auto;
}

#myPopup_head{
    font-weight: bold;
    margin-bottom: 0 0 3px 0;
    padding-left:0px;
    padding-right: 15px;
}
#myPopup_text{
    margin-top: 30px;
    text-align: left;
    max-height: 82vh;
    font-family: Verdana, Geneva, sans-serif;
    font-size:1.1em;
    padding: 15px;
    border-radius:10px;
    background-color:rgba(255,255,255,0.8); 
    box-shadow:0 -1px 0 rgba(0,0,0,0.4),0 2px 5px rgba(0,0,0,0.4) inset,0 1px 0 #fff;
    /* overflow-y: auto;  'auto' sometimes make distorsion on design */
    /* overflow: scroll;  sometimes make distorsion on design */ /* Oculta el texto que sobrepasa los límites del contenedor */
    /* white-space: normal; Permitir saltos de línea normales */
}
#myPopup_close{
    color: white;
    font-weight: bold;
    font-size:17px;
    width: 20px;
    height: 20px;
    min-width:20px;
    min-height:20px;
    background:grey;
    cursor: pointer;
    background-image:url('/images/system/btn_close.gif');
    background-repeat:no-repeat;
    background-position:100% 0;
    background-size:cover;  /* cubrir,completar,expandir con una imagen toda una div */
    border-radius:5px;
    margin-right:-15px;
}
/******************************************************************************/

#myOverlayAll{
    opacity: 50%;
    background: black;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0px;
    left: 0px;
}

.multicolumna{
   -moz-column-width: 18em;
   -moz-column-gap: 15px;
   -webkit-column-width: 18em;
   -webkit-column-gap: 15px;
   -webkit-column-rule: 1px solid #ccc;
   -moz-column-rule: 1px solid #ccc;
   
    word-wrap:break-word; /*Rompe las palabras que son más largaas que el ancho de la columna*/ 
    /*word-wrap:normal;*/ /*Se porta de la forma habitual*/
}
.texto_ajustado {
  max-width: 600px; /* Establece el ancho máximo que deseas */
  word-wrap: break-word; /* Rompe palabras largas */
  overflow-wrap: break-word; /* Mejora la compatibilidad con navegadores antiguos */
}

.texto-centrado{
    display:flex;
    justify-content: center;
    align-items: center;
}


.mensajes{
    font-family: Verdana, Geneva, sans-serif;
    font-size: 12px;
}
#mensajesSinBox {
    font-family: Verdana, Geneva, sans-serif;
    font-size: 1em;
    /*font-weight: bold;*/
    margin: 10px 0px;
    padding:15px 10px 15px 15px;
    line-height: 17px;
}
#mensajesEnBox {
    min-width: 200px;
    margin-left:auto;
    margin-right:auto;
    margin-bottom: 1em;
}
