
@font-face {
  font-family: Roboto_regular;
  src: url("../fonts/RobotoRegular/RobotoRegular.eot");
  src: url("../fonts/RobotoRegular/RobotoRegular.eot?#iefix") format("embedded-opentype"), url("../fonts/RobotoRegular/RobotoRegular.woff") format("woff"), url("../fonts/RobotoRegular/RobotoRegular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: Roboto_bold;
  src: url("../fonts/RobotoBold/RobotoBold.eot");
  src: url("../fonts/RobotoBold/RobotoBold.eot?#iefix") format("embedded-opentype"), url("../fonts/RobotoBold/RobotoBold.woff") format("woff"), url("../fonts/RobotoBold/RobotoBold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}
html {
  height: 100%;
}
body {
  background: url('../images/bg.jpg') center;
  background-size: cover;
  height: 100%;
  margin: 0;
  position: relative;
}
body section.mainWrapper {
  position: relative;
  margin: 0;
  min-height: 720px;
  height: 100%;
  background: url('../images/bottom1.png') center bottom repeat-x;
}
body section.mainWrapper header {
  text-align: center;
}
body section.mainWrapper header img {
  margin: 14px 0 11px 0;
}
body section.mainWrapper div.ads-top {
  max-width: 728px;
  width: 100%;
  max-height: 90px;
  overflow: hidden;
  margin: auto;
}
body section.mainWrapper section#plan {
  z-index: 10;
  margin-top: 20px;
}
body section.mainWrapper section#plan h1 {
  text-align: center;
  color: #ffffff;
  font-size: 16px;
  text-transform: uppercase;
  font-family: 'Roboto_bold', sans-serif;
  margin: 0;
}
body section.mainWrapper section#plan section.timeWrapper {
  z-index: 10;
  margin: 20px auto;
  width: 300px;
  height: 81px;
  position: relative;
  background-color: #ffffff;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}
body section.mainWrapper section#plan section.timeWrapper .highlightTime {
  position: absolute;
  border: solid #f4d46e 3px;
  margin: auto;
  top: 0;
  left: -3px;
  bottom: 0;
  width: 100%;
  height: 26px;
}
body section.mainWrapper section#plan section.timeWrapper .setTime {
  margin: auto;
  width: 100%;
  height: 100%;
  position: relative;
}
body section.mainWrapper section#plan section.timeWrapper .setTime .settingsWrapper {
  width: 100px;
  height: 81px;
  vertical-align: top;
  display: inline-block;
  padding: 0;
  margin: 0;
  position: absolute;
  overflow: hidden;
  font-size: 0;
  letter-spacing: -1px;
}
body section.mainWrapper section#plan section.timeWrapper .setTime .settingsWrapper:first-child {
  left: 0;
}
body section.mainWrapper section#plan section.timeWrapper .setTime .settingsWrapper:nth-child(2) {
  left: 100px;
}
body section.mainWrapper section#plan section.timeWrapper .setTime .settingsWrapper:last-child {
  left: 200px;
}
body section.mainWrapper section#plan section.timeWrapper .setTime ul {
  padding: 0;
  list-style-type: none;
  margin: 0;
  height: 81px;
  position: absolute;
  left: 0;
  margin-top: -297px;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}
body section.mainWrapper section#plan section.timeWrapper .setTime ul li {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  transition: all 1s;
  width: 100px;
  text-align: center;
  font-family: 'Roboto_regular', sans-serif;
  cursor: pointer;
  height: 27px;
  line-height: 27px;
}
body section.mainWrapper section#plan section.timeWrapper .setTime ul li.notChosen {
  color: #aaaaaa;
  font-size: 15px;
}
body section.mainWrapper section#plan section.timeWrapper .setTime ul li.chosen {
  color: #000000;
  font-size: 19px;
}
body section.mainWrapper section#plan #bedTime {
  z-index: 10;
  background-color: #3d2d71;
  margin: auto;
  width: 300px;
  height: 30px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  text-align: center;
  cursor: pointer;
  position: relative;
}
body section.mainWrapper section#plan #bedTime span {
  position: absolute;
  top: 7px;
  left: 9px;
  width: 18px;
  height: 18px;
  background-image: url('../images/sprites.png');
  background-position: 0 0;
}
body section.mainWrapper section#plan #bedTime p {
  color: #ffffff;
  font-family: 'Roboto_regular', sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  line-height: 30px;
}
body section.mainWrapper section#plan p.mode {
  z-index: 10;
  margin: 20px 0;
  text-align: center;
  color: #ffffff;
  font-size: 16px;
  text-transform: uppercase;
  font-family: 'Roboto_bold', sans-serif;
}
body section.mainWrapper section#plan #getUpTime {
  z-index: 10;
  background-color: #e0aa2d;
  margin: auto;
  width: 300px;
  height: 30px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  text-align: center;
  cursor: pointer;
  position: relative;
}
body section.mainWrapper section#plan #getUpTime span {
  position: absolute;
  top: 7px;
  left: 9px;
  width: 18px;
  height: 18px;
  background-image: url('../images/sprites.png');
  background-position: -30px 0;
}
body section.mainWrapper section#plan #getUpTime p {
  color: #ffffff;
  font-family: 'Roboto_regular', sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  line-height: 30px;
  margin: 0;
}
body section.mainWrapper section.caclResult {
  z-index: 10;
  margin-top: 20px;
}
body section.mainWrapper section.caclResult h1 {
  text-align: center;
  color: #f5db79;
  font-size: 16px;
  text-transform: uppercase;
  font-family: 'Roboto_bold', sans-serif;
  margin: 0;
}
body section.mainWrapper section.caclResult p.desc {
  color: #ffffff;
  font-size: 14px;
  font-family: 'Roboto_regular', sans-serif;
  text-align: center;
  margin: 12px auto;
  line-height: 1.2;
  width: 494px;
}
body section.mainWrapper section.caclResult p.desc a {
  font-family: 'Roboto_bold', sans-serif;
  color: #f5db79;
  text-decoration: none;
}
body section.mainWrapper section.caclResult p.desc #wakeUpTime {
  font-family: 'Roboto_bold', sans-serif;
  font-size: 1.1em;
}
body section.mainWrapper section.caclResult ul.instructions {
  width: 300px;
  list-style-type: none;
  margin: 14px auto 10px auto;
  padding: 0;
  font-size: 0;
  line-height: 0;
}
body section.mainWrapper section.caclResult ul.instructions li {
  display: inline-block;
  width: 98px;
  height: 30px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  text-align: center;
  line-height: 30px;
  background-color: #e0aa2d;
  color: #ffffff;
  font-family: 'Roboto_regular', sans-serif;
  font-size: 13px;
  margin: 0 2px 2px 0;
}
body section.mainWrapper section.caclResult ul.instructions li:last-child {
  margin: 0;
}
body section.mainWrapper section.caclResult ul.instructions li.prior {
  background-color: #d48d05;
  font-family: 'Roboto_bold', sans-serif;
}
body section.mainWrapper section.caclResult p.calcAgain {
  width: 300px;
  height: 30px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  text-transform: uppercase;
  font-size: 14px;
  color: #ffffff;
  font-family: 'Roboto_regular', sans-serif;
  line-height: 30px;
  text-align: center;
  background-color: #dd516d;
  cursor: pointer;
  margin: 20px auto 0 auto;
}
body section.mainWrapper section#getUp {
  z-index: 10;
  display: none;
}
body section.mainWrapper section#getUp ul.instructions li {
  background-color: #e0aa2d;
}
body section.mainWrapper section#getUp ul.instructions li.prior {
  background-color: #d48d05;
  font-family: 'Roboto_bold', sans-serif;
}
body section.mainWrapper section#goToBed {
  z-index: 10;
  display: none;
}
body section.mainWrapper section#goToBed ul.instructions li {
  background-color: #3d2d71;
}
body section.mainWrapper section#goToBed ul.instructions li.prior {
  background-color: #291c53;
  font-family: 'Roboto_bold', sans-serif;
}
body section.mainWrapper p.additionalInfo {
  z-index: 10;
  text-align: center;
  margin: 22px 0 8px 0;
  color: #ffffff;
  font-family: 'Roboto_regular', sans-serif;
  font-size: 9px;
  text-transform: none;
}
body section.mainWrapper p.additionalInfo a {
  color: #f5db79;
  font-family: 'Roboto_bold', sans-serif;
  text-decoration: none;
}
body section.mainWrapper div.ads-bottom {
  overflow: hidden;
  z-index: 10;
  color: #ffffff;
  font-family: 'Roboto_regular', sans-serif;
  font-size: 8px;
  text-align: center;
  margin: 30px auto 0 auto;
  max-width: 728px;
}
body section.mainWrapper div.ads-bottom span {
  position: relative;
  padding-left: 10px;
}
body section.mainWrapper div.ads-bottom span span {
  position: absolute;
  top: 1px;
  left: 0;
  width: 10px;
  height: 10px;
  background-image: url('../images/sprites.png');
  background-position: -61px 0;
}
body section.mainWrapper div.ads-bottom ul {
  list-style-type: none;
  display: inline-block;
  padding-left: 0;
  margin: 0;
}
body section.mainWrapper div.ads-bottom ul li {
  width: 110px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  border: solid #ffffff 1px;
  display: inline-block;
  margin-left: 10px;
}
body section.mainWrapper div.ads-bottom ul li a {
  color: #ffffff;
  text-decoration: none;
}
body section.mainWrapper section#animation {
  position: relative;
  z-index: 0;
}
body section.mainWrapper section#animation span#sun {
  position: absolute;
  top: -50px;
  left: 10%;
  width: 40px;
  height: 40px;
  background: url('../images/sun.png') center no-repeat;
  -webkit-animation-name: sun;
  -webkit-animation-duration: 5s;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-timing-function: linear;
  -moz-animation-name: sun;
  -moz-animation-duration: 5s;
  -moz-animation-iteration-count: infinite;
  -moz-animation-timing-function: linear;
  animation-name: sun;
  animation-duration: 5s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}
body section.mainWrapper section#animation span#stars {
  position: absolute;
  top: -50px;
  right: 8%;
  width: 197px;
  height: 97px;
  background: url('../images/stars.png') center no-repeat;
}
body section.mainWrapper section#animation span#stars span#moon {
  position: absolute;
  top: 0;
  right: 50px;
  width: 39px;
  height: 40px;
  background: url('../images/moon.png') center no-repeat;
  -webkit-animation-name: moon;
  -webkit-animation-duration: 2.5s;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-timing-function: linear;
  -moz-animation-name: moon;
  -moz-animation-duration: 2.5s;
  -moz-animation-iteration-count: infinite;
  -moz-animation-timing-function: linear;
  animation-name: moon;
  animation-duration: 2.5s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}
body section.mainWrapper section#sleepStages {
  display: none;
  z-index: 50;
  position: fixed;
  bottom: 0;
  background: url('../images/bottomFixed.png') center;
  background-size: cover;
  width: 100%;
  height: 55px;
}
body section.mainWrapper section#sleepStages div#button {
  margin: auto;
  width: 150px;
  height: 30px;
  background-color: #f5f5f5;
  position: absolute;
  bottom: 10px;
  right: 0;
  left: 0;
  text-align: center;
  cursor: pointer;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}
body section.mainWrapper section#sleepStages div#button span {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 24px;
  height: 24px;
  background-image: url('../images/sprites.png');
  background-position: -82px 0;
}
body section.mainWrapper section#sleepStages div#button a {
  line-height: 30px;
  margin: 0;
  color: #333333;
  font-family: 'Roboto_bold', sans-serif;
  font-size: 13px;
  text-decoration: none;
  padding-left: 20px;
}
@media all and (max-width: 800px) {
  body section.mainWrapper div.ads-top {
    width: 90%;
    height: auto;
  }
  body section.mainWrapper div.ads-top img {
    width: 100%;
  }
  body section.mainWrapper section#animation span#stars {
    right: 2%;
  }
  body section.mainWrapper section#animation span#sun {
    left: 5%;
  }
}
@media all and (max-width: 550px) {
  body section.mainWrapper {
    min-height: 670px;
  }
  body section.mainWrapper header {
    margin: auto;
    width: 230px;
  }
  body section.mainWrapper header img {
    width: 100%;
  }
  body section.mainWrapper section#plan section.timeWrapper {
    height: 99px;
  }
  body section.mainWrapper section#plan section.timeWrapper .highlightTime {
    height: 28px;
  }
  body section.mainWrapper section#plan section.timeWrapper .setTime .settingsWrapper {
    height: 99px;
  }
  body section.mainWrapper section#plan section.timeWrapper .setTime ul {
    height: 99px;
    margin-top: -363px;
  }
  body section.mainWrapper section#plan section.timeWrapper .setTime ul li.notChosen {
    font-size: 18px;
    height: 33px;
    line-height: 33px;
  }
  body section.mainWrapper section#plan section.timeWrapper .setTime ul li.chosen {
    font-size: 22px;
    height: 33px;
    line-height: 33px;
  }
  body section.mainWrapper section.caclResult p.desc {
    font-size: 11px;
    width: 90%;
    line-height: 1.3;
  }
  body section.mainWrapper div.ads-bottom {
    width: 95%;
  }
  body section.mainWrapper div.ads-bottom span {
    margin-left: 10px;
  }
  body section.mainWrapper div.ads-bottom span span {
    margin-left: 0;
  }
  body section.mainWrapper div.ads-bottom ul {
    width: 75%;
    padding-left: 0;
    margin: 0;
  }
  body section.mainWrapper div.ads-bottom ul li {
    width: 29%;
    margin-left: 2%;
  }
  body section.mainWrapper div.ads-bottom ul li li:last-child {
    margin-right: 10px;
  }
  body section.mainWrapper section#animation span#stars {
    width: 150px;
    height: 75px;
  }
  body section.mainWrapper section#animation span#stars span#moon {
    right: 0;
  }
  body section.mainWrapper section#animation span#sun {
    left: 3%;
  }
}
@media all and (max-width: 450px) {
  body section.mainWrapper section#animation {
    display: none;
  }
}
@media all and (max-width: 350px) {
  section.mainWrapper body section#plan section.timeWrapper {
    width: 90%;
  }
  section.mainWrapper body section#plan #bedTime {
    width: 90%;
  }
  section.mainWrapper body section#plan #bedTime p {
    font-size: 12px;
  }
  section.mainWrapper body section#plan #getUpTime {
    width: 90%;
  }
  section.mainWrapper body section#plan #getUpTime p {
    font-size: 12px;
  }
  section.mainWrapper body section.caclResult ul.instructions {
    width: 95%;
    text-align: center;
  }
  section.mainWrapper body section.caclResult ul.instructions li {
    width: 32%;
  }
  section.mainWrapper body section.caclResult ul.instructions li:nth-child(3n) {
    margin-right: 0;
  }
  section.mainWrapper body section.caclResult p.calcAgain {
    width: 90%;
  }
  section.mainWrapper body div.ads-bottom ul {
    width: 65%;
  }
}
@-moz-keyframes sun {
  from {
    -moz-transform: rotate(0deg);
  }
  to {
    -moz-transform: rotate(360deg);
  }
}
@-webkit-keyframes sun {
  from {
    -webkit-transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
  }
}
@keyframes sun {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@-moz-keyframes moon {
  from {
    -moz-transform: rotate(-10deg);
  }
  50% {
    -moz-transform: rotate(38deg);
  }
  to {
    -moz-transform: rotate(-10deg);
  }
}
@-webkit-keyframes moon {
  from {
    -webkit-transform: rotate(-10deg);
  }
  50% {
    -webkit-transform: rotate(38deg);
  }
  to {
    -webkit-transform: rotate(-10deg);
  }
}
@keyframes moon {
  from {
    transform: rotate(-10deg);
  }
  50% {
    transform: rotate(38deg);
  }
  to {
    transform: rotate(-10deg);
  }
}
