.mf-container{width: 300px; height: 250px; margin: 10px auto; overflow: hidden; border: 1px solid #000; position: relative;}
.masthead{width: 100%; height: 35px; position: absolute; top: 0; left: 0; z-index: 10;}
.blur{ -webkit-filter: blur(1px); }
.luxuri{ position: absolute; top: 100px; left: 10px; z-index: 10; -webkit-filter: blur(0);
				-webkit-animation: luxurimove 1s 0 1, luxout 2s 4s 1; /* Safari 4+ */
				-moz-animation:    luxurimove 1s 0 1, luxout 2s 4s 1; /* Fx 5+ */
				-o-animation:      luxurimove 1s 0 1, luxout 2s 4s 1; /* Opera 12+ */
				animation:         luxurimove 1s 0 1, luxout 2s 4s 1; /* IE 10+ */}
.eight{position: absolute; top: 85px; left: 215px; z-index: 10; -webkit-filter: blur(0);
				-webkit-animation: eightmove 1s 0 1, eightout 2s 4s 1;; /* Safari 4+ */
				-moz-animation:    eightmove 1s 0 1, eightout 2s 4s 1;; /* Fx 5+ */
				-o-animation:      eightmove 1s 0 1, eightout 2s 4s 1;; /* Opera 12+ */
				animation:         eightmove 1s 0 1, eightout 2s 4s 1;; /* IE 10+ */}

.mattress{position: absolute; top: 65px; left: 0; z-index: 1; -webkit-filter: blur(0);
				-webkit-animation: mattressmove 1s 0 1, mattressout 2s 4s 1;
				-moz-animation:    mattressmove 1s 0 1, mattressout 2s 4s 1;
				-o-animation:      mattressmove 1s 0 1, mattressout 2s 4s 1;
				animation:         mattressmove 1s 0 1, mattressout 2s 4s 1; 
      }

@-webkit-keyframes luxurimove {
  0%   { left: -400px;}
  100% { left: 10px;}
}
@-moz-keyframes luxurimove {
  0%   { left: -400px;}
  100% { left: 10px;}
}
@-o-keyframes luxurimove {
  0%   { left: -400px;}
  100% { left: 10px;}
}
@keyframes luxurimove {
  0%   { left: -400px;}
  100% { left: 10px;}
}

@-webkit-keyframes eightmove {
  0%   { left: 410px;}
  100% { left: 215px;}
}
@-moz-keyframes eightmove {
  0%   { left: 410px;}
  100% { left: 215px;}
}
@-o-keyframes eightmove {
  0%   { left: 410px;}
  100% { left: 215px;}
}
@keyframes eightmove {
  0%   { left: 410px;}
  100% { left: 215px;}
}


@-webkit-keyframes luxout {
  0%   { left: 10px;}
  100% { left: -400px;}
}
@-moz-keyframes luxout {
  0%   { left: 10px;}
  100% { left: -400px;}
}
@-o-keyframes luxout {
  0%   { left: 10px;}
  100% { left: -400px;}
}
@keyframes luxout {
  0%   { left: 10px;}
  100% { left: -400px;}
}


@-webkit-keyframes eightout {
  0%   { left: 215px;}
  100% { left: 410px;}
}
@-moz-keyframes eightout {
  0%   { left: 215px;}
  100% { left: 410px;}
}
@-o-keyframes eightout {
  0%   { left: 215px;}
  100% { left: 410px;}
}
@keyframes eightout {
  0%   { left: 215px;}
  100% { left: 410px;}
}

@-webkit-keyframes mattressmove {
  0%   { top: -320px;}
  100% { top: 65px;}
}
@-moz-keyframes mattressmove {
  0%   { top: -320px;}
  100% { top: 65px;}
}
@-o-keyframes mattressmove {
  0%   { top: -320px;}
  100% { top: 65px;}
}
@keyframes mattressmove {
  0%   { top: -320px;}
  100% { top: 65px;}
}

@-webkit-keyframes mattressout {
  0%   { top:65px;}
  100% { top: -320px;}
}
@-moz-keyframes mattressout {
  0%   { top:65px;}
  100% { top: -320px;}
}
@-o-keyframes mattressout {
  0%   { top:65px;}
  100% { top: -320px;}
}
@keyframes mattressout {
  0%   { top:65px;}
  100% { top: -320px;}
}

.replacebug{width: 128px; height: 123px; position: absolute; top: 45px; left: 90px; z-index: 10;
				-webkit-animation: bugin 1.5s 1, bugout 2s 3.5s 1; /* Safari 4+ */
				-moz-animation:    bugin 1.5s 1, bugout 2s 3.5s 1;/* Fx 5+ */
				-o-animation:      bugin 1.5s 1, bugout 2s 3.5s 1; /* Opera 12+ */
				animation:         bugin 1.5s 1, bugout 2s 3.5s 1;
}

.replacetext{width: 278px; max-height: 61px; position: absolute; top: 155px; left: 10px; z-index: 8; display:none;}
@-webkit-keyframes bugin {
  0%   { left:-150px;}
  100% { left: 90px;}
}
@-moz-keyframes bugin {
  0%   { left:-150px;}
  100% { left: 90px;}
}
@-o-keyframes bugin {
  0%   { left:-150px;}
  100% { left: 90px;}
}
@keyframes bugin {
  0%   { left:-150px;}
  100% { left: 90px;}
}
@-webkit-keyframes bugout {
  0%   { left:90px;}
  100% { left: 390px;}
}
@-moz-keyframes bugout {
  0%   { left:90px;}
  100% { left: 390px;}
}
@-o-keyframes bugout {
  0%   { left:90px;}
  100% { left: 390px;}
}
@keyframes bugout {
  0%   { left:90px;}
  100% { left: 390px;}
}

@keyframes rotating {
  from {
    transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
  }
}
@-webkit-keyframes rotating /* Safari and Chrome */ {
  from {
    transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
  }
}
.rotating {
  -webkit-animation: rotating 1.5s linear 3, rotating 1.5s 3.5s linear 4;
  -moz-animation: rotating 1.5s linear 3, rotating 1.5s 3.5s linear 4;
  -ms-animation: rotating 1.5s linear 3, rotating 1.5s 3.5s linear 4;
  -o-animation: rotating 1.5s linear 3, rotating 1.5s 3.5s linear 4;
  animation: rotating 1.5s linear 3, rotating 1.5s 3.5s linear 4;
}

.sealy{position: absolute; top: 75px; left: 10px;
        -webkit-animation: luxurimove 1.25s 1; /* Safari 4+ */
        -moz-animation:    luxurimove 1.25s 1;/* Fx 5+ */
        -o-animation:      luxurimove 1.25s 1; /* Opera 12+ */
        animation:         luxurimove 1.25s 1;
}
.sale{position: absolute; width: 125px; top: 50px; left: 160px;
        -webkit-animation: salemove 1.25s 1; /* Safari 4+ */
        -moz-animation:    salemove 1.25s 1;/* Fx 5+ */
        -o-animation:      salemove 1.25s 1; /* Opera 12+ */
        animation:         salemove 1.25s 1;
}



@-webkit-keyframes salemove {
  0%   { left: 410px;}
  100% { left: 160px;}
}
@-moz-keyframes salemove {
  0%   { left: 410px;}
  100% { left: 160px;}
}
@-o-keyframes salemove {
  0%   { left: 410px;}
  100% { left: 160px;}
}
@keyframes salemove {
  0%   { left: 410px;}
  100% { left: 160px;}
}

.shopnow{position: absolute; bottom: 0; left: 0;}