.noOverflow {
  overflow: hidden; }

.modal-wrapper {
  z-index: 1050;
  position: fixed; }
  .modal-wrapper .modal-backdrop {
    opacity: 0.8;
    filter: alpha(opacity=80); }

.modal {
  display: block;
  overflow: auto;
  text-align: center; }
  .modal .modal-dialog {
    z-index: 1060;
    width: auto;
    text-align: left;
    /* on rétablit l'alignement du texte */
    -webkit-perspective: 1300px;
    -moz-perspective: 1300px;
    perspective: 1300px;
    max-width: 100%; }
    .modal .modal-dialog.no-backdrop .modal-backdrop {
      display: none; }
    .modal .modal-dialog .modal-content {
      z-index: 1050;
      border-radius: 2px;
      width: 600px;
      padding: 10px;
      max-width: 100%;
      margin: 0; }

.flexbox .modal > .modal-backdrop {
  display: none; }
.flexbox .modal .modal-dialog {
  display: -webkit-box;
  display: -moz-box;
  display: box;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -moz-box-align: center;
  box-align: center;
  -webkit-align-items: center;
  -moz-align-items: center;
  -ms-align-items: center;
  -o-align-items: center;
  align-items: center;
  -ms-flex-align: center;
  -webkit-box-pack: center;
  -moz-box-pack: center;
  box-pack: center;
  -webkit-justify-content: center;
  -moz-justify-content: center;
  -ms-justify-content: center;
  -o-justify-content: center;
  justify-content: center;
  -ms-flex-pack: center;
  position: absolute;
  width: 100%;
  min-height: 100%;
  margin: 0;
  padding: 10px;
  max-height: initial; }

.no-flexbox .modal-dialog {
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  position: absolute;
  left: 50%;
  top: 50%;
  margin: 0;
  padding: 10px;
  max-height: 100%; }
  .no-flexbox .modal-dialog .modal-backdrop {
    display: none; }
.no-flexbox.no-csstransforms .modal-dialog {
  left: auto;
  top: auto;
  margin: auto; }

.lt-ie8 .modal-content {
  display: inline;
  zoom: 1; }
