@import url(https://fonts.googleapis.com/css?family=Anton);
@import url(https://fonts.googleapis.com/css?family=Roboto:300,400);
body {
  margin: 0;
}
#mainContainer {
  z-index: 70;
  display: block;
  position: absolute;
  overflow: hidden;
  width: 300px;
  height: 250px;
  font-family: 'Roboto', sans-serif;
  background-color: #FFF;
  top: 0;
  left: 0;
}


/* PERMANENT ELEMENTS INIT*/

.stroke {
  position: absolute;
  display: block;
  border-style: solid;
  border-width: 1px;
  border-color: #ccc;
  top: 0;
  left: 0;
}

#clickTag {
  position: absolute;
  z-index: 90;
  display: block;
  cursor: pointer;
  width: 298px;
  height: 248px;
  top: 0;
  left: 0;
}

.chromecast-logo {
  position: absolute;
  display: block;
  width: 119px;
  height: 24px;
  top: 213px;
  left: 20px;
  background: url(chromecast_logo.png) no-repeat center center;
  background-size: 100%; 
  z-index: 30;
}
.blue-button {
  z-index: 99;
  position: absolute;
  cursor: pointer;
  text-align: center;
  top: 213px;
  left: 180px;
  color: #FFF;
  width: 105px;
  height: 24px;
  font-size: 0.7em;
  border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border: 2px solid 1672B9;
  background: #0370ea;
  background: -moz-linear-gradient(top,#008dfd 0,#0370ea 100%);
  background: -webkit-gradient(linear,left top,left bottom,color-stop(0,#008dfd),color-stop(100%,#0370ea));
  background: -webkit-linear-gradient(top,#008dfd 0,#0370ea 100%);
  background: -o-linear-gradient(top,#008dfd 0,#0370ea 100%);
  background: -ms-linear-gradient(top,#008dfd 0,#0370ea 100%);
  background: linear-gradient(top,#008dfd 0,#0370ea 100%);

}
.blue-button:hover{
    background: -moz-linear-gradient(top,#008dfd 30%,#0370ea 100%);
    background: -webkit-gradient(linear,left top,left bottom,color-stop(30%,#008dfd),color-stop(100%,#0370ea));
    background: -webkit-linear-gradient(top,#008dfd 30%,#0370ea 100%);
    background: -o-linear-gradient(top,#008dfd 30%,#0370ea 100%);
    background: -ms-linear-gradient(top,#008dfd 30%,#0370ea 100%);
    background: linear-gradient(top,#008dfd 30%,#0370ea 100%);
    cursor: pointer;
} 

.blue-button span {
  position: absolute;
  display: block;
  top: 57%;
  left: 50%;
  transform: translate(-50%, -51%);
  -webkit-transform: translate(-50%, -51%);
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  width: 92px;
  margin-top:-1px;
  font-weight: 400;
  letter-spacing: 0.02em;
}
/* PERMANENT ELEMENTS END*/


/* FRAME 1 */

#frame1 {
  display: block;
}

#intro-message {
  position: relative;
  font-family: 'Anton', sans-serif;
  font-size: 45px;
  font-weight: 400;
  text-align: left;
  letter-spacing: 0.0em;
  line-height: 0.91em;
  top: 20px;
  left: 20px;
  color: #3da9e6;
}

.period {
  font-size: .8em;
  position: absolute;
  margin-top: 4px;
}


/* FRAME 2 */
.hand-phone {
  position: absolute;
  display:none;
  top: 101px; 
  left: 120px;  
  width: 65px;
  height: 136px;
  background: url(hand-phone.png) no-repeat center center;
  background-size: 100%;
  z-index: 19;
  transform: rotate(5deg);
  -webkit-transform: rotate(5deg);
  transition: all 0.4s ease;
  -webkit-transition: all 0.4s ease;
}
.hand-phone.move{
  top: 96px ;
  left: 160px ; 
  transform: rotate(0deg);
  -webkit-transform: rotate(0deg);
}

.hand-pointer {
  position: absolute;
  display: none; 
  top: 235px;
  right: -35px;
  width: 120px;
  height: 113px;
  background: url(hand-pointer.png) no-repeat center center;
  background-size: 100%;
  z-index: 30;
  transform: rotate(0deg) scale(1.25, 1.25);
  -webkit-transform: rotate(0deg) scale(1.25, 1.25);

  -webkit-transition: all .66s ease;
  -moz-transition: all .66s ease;
  -ms-transition: all .66s ease;
  transition: all .66s ease;
  
}
.hand-pointer.move1{
  top: 119px;
  right: -18px ;
  transform: rotate(10deg) scale(1,1);
  -webkit-transform: rotate(10deg) scale(1,1);
}
.hand-pointer.move2{
  top: 250px ;
  right: -58px ;
  transform: rotate(20deg) scale(1.25, 1.25);
  -webkit-transform: rotate(20deg) scale(1.25, 1.25);
}
.tv {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 263px;
  height: 161px;
  background: url(tv-show.jpg) no-repeat center center;
  background-size: 100%;
  display:none;
  z-index: 10;
}

.tv-temp {
  position: absolute;
  top: 22px;
  left: 21px;
  width: 253px;
  height: 142px;
  background: url(tv-temp-low.jpg) no-repeat center center;
  background-size: 100%;
  display:none;
  z-index: 15;
}

.chromecast_icon{
  position: absolute;
  top: 105px;
  left: 161px;
  background: rgba(0,0,0,0.8) url(chromecast_icon_sprite.svg) center -15px no-repeat;
  background-size: 70%;
  border-radius: 50%;
  -webkit-border-radius:50%;
  width: 25px;
  height: 25px;
  z-index: 30;
  display: none;
  transform: rotate(0deg);
  -webkit-transform: rotate(0deg);
  -webkit-transition-property: top, left, transform;
  transition-property: top, left, border, transform;
  -webkit-transition-duration: 0.4s;
  transition-duration: 0.4s;
  -webkit-transition-timing-function: ease; 
  transition-timing-function: ease;
}
.chromecast_icon.full{
  background-position: center 4px;
}
.chromecast_icon.move{
  top: 100px;
  left: 197px;
  transform: rotate(-6deg);
  -webkit-transform: rotate(-6deg);
}

.cast_ring {
  border:2px solid #0ce2ff;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  height: 100px;
  width: 100px;
  position: absolute;
  left: -39.75px;
  top: -40px;
  opacity: 0.0;
  display: none;
}

.cast_ring.one {
   /*@keyframes name | duration | timing-function | delay | 
   iteration-count | direction | fill-mode | play-state */
   -webkit-animation: pulsate 2s ease-out 0.85s both infinite;
   animation: pulsate 2s ease-out 0.85s both infinite;
}

.cast_ring.two {
  -webkit-animation: pulsate 2s ease-out 1.35s both infinite;
  animation: pulsate 2s ease-out 1.35s both infinite;
}

.cast_ring.three {
  -webkit-animation: pulsate 2s ease-out 1.85s both infinite;
  animation: pulsate 2s ease-out 1.85s both infinite;
}

.cast_ring.four {
  -webkit-animation: pulsate 2s ease-out 2.35s both infinite;
  animation: pulsate 2s ease-out 2.35s both infinite;
}

@-webkit-keyframes pulsate {
  0% {
    -webkit-transform: scale(0.15, 0.15);
    opacity: 0.0;
    filter: alpha(opacity=0);
  }
  24% {
    opacity: 1.0;
    filter: alpha(opacity=100);
    -webkit-transform: scale(0.65, 0.65);
  }
  50% {
    opacity: 0.1;
    filter: alpha(opacity=10);
  }
  100% {
    -webkit-transform: scale(1, 1);
    opacity: 0.0;
    filter: alpha(opacity=0);
  }
}
@-moz-keyframes pulsate {
  0% {
    transform: scale(0.15, 0.15);
    opacity: 0.0;
    filter: alpha(opacity=0);
  }
  24% {
    opacity: 1.0;
    filter: alpha(opacity=100);
    transform: scale(0.65, 0.65);
  }
  50% {
    opacity: 0.1;
  }
  100% {
    transform: scale(1, 1);
    opacity: 0.0;
  }
}

@keyframes pulsate {
  0% {
    -ms-transform: scale(0.15, 0.15);
    transform: scale(0.15, 0.15);
    opacity: 0.0;
    filter: alpha(opacity=0);
  }
  24% {
    opacity: 1.0;
    filter: alpha(opacity=100);
    -ms-transform: scale(0.65, 0.65);
    transform: scale(0.65, 0.65);
  }
  50% {
    opacity: 0.1;
    filter: alpha(opacity=10);
  }
  100% {
    -ms-transform: scale(1, 1);
    transform: scale(1, 1);
    opacity: 0.0;
    filter: alpha(opacity=0);
  }
}


/* FRAME 3 */
#endframe-copy{
  color: #666;
  font-size: 16px;
  line-height: 1.2em;
  top: 20px;
  position: absolute;
  z-index: 30;
  left: 20px;
  opacity: 0;
  font-weight: 300;
  -webkit-transition: all .5s ease-out;
  -moz-transition: all .5s ease-out;
  -ms-transition: all .5s ease-out;
  transition: all .5s ease-out;
}
#endframe-copy.show{
  opacity: 1;
}

#legal{
  color: #dfdfdf;
  font-size: 8px;
  line-height: 1.2em;
  font-family: 'Roboto';
  font-weight: 300;
  bottom: 90px;
  left: 27px;
  position: absolute;
  z-index: 30;
  display: none;
  -webkit-transition: all .5s ease-out;
  -ms-transition: all .5s ease-out;
  transition: all .5s ease-out;
}

.register{
    font-size: 5px;
    position: absolute;
    top: -2px;
    left: 61px;
}

.price{
  opacity: 0;
  -webkit-transition: all .5s ease-out;
  -moz-transition: all .5s ease-out;
  -ms-transition: all .5s ease-out;
  transition: all .5s ease-out;
}
.price.show{
  opacity: 1;
}

.grey {
  color: #737373;
}

#grey-bar {
  position: absolute;
  top: 200px;
  left: 0px;
  width: 300px;
  height: 50px;
  z-index: 30;
  background: #eeeeee; /* Old browsers */
  /* IE9 SVG, needs conditional override of 'filter' to 'none' */
  background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2VlZWVlZSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmZmZmZmYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
  background: -moz-linear-gradient(top,  #eeeeee 0%, #ffffff 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#eeeeee), color-stop(100%,#ffffff)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top,  #eeeeee 0%,#ffffff 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top,  #eeeeee 0%,#ffffff 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top,  #eeeeee 0%,#ffffff 100%); /* IE10+ */
  background: linear-gradient(to bottom,  #eeeeee 0%,#ffffff 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#ffffff',GradientType=0 ); /* IE6-8 */
}


.pause {
  -webkit-animation-play-state: paused !important;
  animation-play-state: paused !important;
}

.end-ring-one {
  opacity: 0.5 !important;
  filter: alpha(opacity=100) !important;
  transform: scale(0.4, 0.4) !important;
  -webkit-transform: scale(0.4, 0.4) !important;
  -webkit-animation: none !important;
  animation: none !important;
}

.end-ring-two{
  opacity: 0.7 !important;
  filter: alpha(opacity=100) !important;
  transform: scale(0.7, 0.7) !important;
  -webkit-transform: scale(0.7, 0.7) !important;
  -webkit-animation: none !important;
  animation: none !important;
}

.end-ring-three {
  opacity: 0.2 !important;
  transform: scale(0.9, 0.9) !important;
  -webkit-transform: scale(0.9, 0.9) !important;
  -webkit-animation: none !important;
  animation: none !important;
}
.forecast-legal{
  font-size: 8px;
  font-weight: 300;
  color: #787878;
  position: absolute;
  top: 10px;
  right: 10px;
}