﻿#messageBox
{
    display: flex;
    position: fixed;
    z-index: 10000;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0,0,0,0.5);
    align-content: center;
    justify-content: center;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
}

#messageBox .ventana {
    display: flex;
    width: auto;
    min-width: 500px;
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    align-items: stretch;
}


#messageBox .contenido {
    display: flex;
    flex-direction: row;
    align-content: center;
    align-items: center;
}
#messageBox .contenido .icono {
    display:block;
    margin-left:10px;
    width:64px;
    height:64px;
    min-width:64px;
    min-height:64px;
    background-position:center center;
    background-repeat:no-repeat;
}
#messageBox .contenido .icono.pregunta {
    background-image:url('../../Img/MessageBox/msgBoxPregunta.png');
}
#messageBox .contenido .icono.error {
    background-image:url('../../Img/MessageBox/msgBoxError.png');
}
#messageBox .icono.aviso {
    background-image:url('../../Img/MessageBox/msgBoxAviso.png');
}
#messageBox .contenido .icono.informacion,
#messageBox .contenido .icono.info
 {
    background-image:url('../../Img/MessageBox/msgBoxInformacion.png');
}

#messageBox .contenido .icono.print,
#messageBox .contenido .icono.imprime
 {
    background-image:url('../../Img/MessageBox/msgBoxPrint.png');
}

#messageBox .contenido .icono.reloj
 {
    background-image:url('../../Img/MessageBox/msgBoxReloj.png');
}
#messageBox .contenido .icono.aviso
 {
    background-image:url('../../Img/MessageBox/msgBoxAviso.png');
}



#messageBox .contenido .texto {
    display: flex;
    flex-grow: 1;
    text-align: center;
    min-height: 60px;
    font-size: 20px;
    justify-content: center;
    align-items: center;
    padding:20px;
        flex-direction: column;
}




#messageBox .botones {
    margin:0px;
    padding:10px;
    overflow:hidden;
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    flex-direction: row;
    max-width: 100%;
    flex-wrap: wrap;
}







#messageBox .ventana.temblar {
  animation: messageBoxTemblar 0.82s cubic-bezier(.36,.07,.19,.97) both;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  perspective: 1000px;
}


@keyframes messageBoxTemblar {
  10%, 90% {
    transform: translate3d(-1px, 0, 0);
  }
  
  20%, 80% {
    transform: translate3d(2px, 0, 0);
  }

  30%, 50%, 70% {
    transform: translate3d(-4px, 0, 0);
  }

  40%, 60% {
    transform: translate3d(4px, 0, 0);
  }
}




@media (max-width: 600px) {
    #messageBox .ventana
    {
        min-width:unset;
    }

    #messageBox .contenido
    {
        flex-direction: column;
    }

    #messageBox .icono {
        width:100%;
    }


}