html {
  height: 100%;
  width: 100%;
}

body {
  height: 100%;
  width: 100%;
}

* {
  margin: 0;
  padding: 0;
}

.container {
  height: 100%;
  margin: 0 auto 0 auto;
  max-width: 100%;
  position: relative;
  width: 100%;
}

.container .zoom {
  background-color: #ddd;
  height: 100%;
  margin: auto;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.container .zoom img {
  bottom: 0;
  display: block;
  left: 0;
  margin: auto;
  max-height: 100%;
  max-width: 100%;
  position: absolute;
  right: 0;
  top: 0;
  -moz-transform-style: preserve-3d;
  -ms-transform-style: preserve-3d;
  -o-transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  color: #ddd;
}
.zoom-transition {
  transition: -moz-transform ease 200ms;
  transition: -ms-transform ease 200ms;
  transition: -o-transform ease 200ms;
  transition: -webkit-transform ease 200ms;
  transition: transform ease 200ms;
}

/*.grab {cursor: -webkit-grab; cursor: grab;}*/
.draggable-by-jquery-ui {
  cursor: -webkit-grab;
  cursor: -moz-grab;
  cursor: -o-grab;
  cursor: -ms-grab;
  cursor: grab;
}

.draggable-by-jquery-ui:active {
  cursor: -webkit-grabbing;
  cursor: -moz-grabbing;
  cursor: -o-grabbing;
  cursor: -ms-grabbing;
  cursor: grabbing;
}

img.loading {
  background: transparent url(../media/loading_cube.gif) no-repeat scroll center center;
}

/*landscape = paisaje   portrait = retrato*/
@media screen and (orientation: portrait) {
  /* Cubre toda la pantalla del dispositivo */
  .mensaje {
    position: fixed;
    margin: auto;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;

    /* Con esto ajustamos la posición del texto */
    display: flex;
    align-items: center;
    justify-content: center;

    /* Un color de fondo */

    background-color: white;
    /* Debemos superponerlo */
    z-index: 1000;
  }

  /* El texto que vamos a mostrar */
  .mensaje::before {
    content: "Voltee su dispositivo";
    font-size: 9vw;
    padding-top: 100%;
    text-align: center;
  }
  .mensaje::after {
    content: url(../media/mobile-phone-2642.svg);
    width: 60%;
    padding: 0 0 70% 0;
    margin: auto;
    display: block;
    position: absolute;
    animation: rotation 2s infinite linear;
    padding-bottom: 1em;
    background-color: transparent;
  }

  .rotate {
    animation: rotation 2s infinite linear;
    padding-bottom: 1em;
    background-color: transparent;
  }
  @keyframes rotation {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(90deg);
    }
  }
}
