@charset "utf-8";
html,body {
    height: 100%;
}
.header {
    position: fixed;
    z-index: 6;
    width: 100%;
    height: 30px;
    top: 0;
    left: 0;
    background-color: #333;
    border-bottom: 2px solid #111;
}
.logo {
    position: absolute;
    left: 15px;
    top: 3px;
}
.lookup {
    position: absolute;
    right: 15px;
    top: 3px;
}
.lookup input {
    border: none;
    background-color: #fff;
    height: 24px;
    float: left;
    padding: 2px 8px;
}
.lookup button {
    border: none;
    background-color: #0084e9;
    color: #fff;
    height: 24px;
}
.lookup button:focus {
    outline: none;
}
.nav {
    text-align: center;
}
.nav ul {
    display: inline-block;
    vertical-align: middle;
    margin: 0;
}
.nav ul li{
    width: 2em;
    font-size: 1.5em;
    color: #b3b3b3;
    float: left;
}
.nav ul li:hover,
.nav ul li.active {
    color: #fff;
    background-color: #121212;
}
.nav .item {
    width: 2em;
    font-size: 1.5em;
    color: #fff;
    display: inline-block;
    vertical-align: middle;
    position: relative;
}
.nav .item img {
    position: absolute;
    top: 100%;
    width: 140px;
    border: 10px solid #fff;
    box-shadow: 0 0 3px rgba(0,0,0,.3);
    visibility: hidden;
}
.nav .item:hover img {
    visibility: visible;
}
.previewBox {
    padding-top: 30px;
    background: url(../images/iframeBg.gif);
    min-height: 100%;
}
.device {
    padding: 20px 0;
}

/* desktop */
.desktop {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding-top: 30px;
}
.desktop iframe {
    width: 100%;
    height: 100%;
    margin: 0;
    border: none;
}
/* /desktop */

/* iPhone */
.iphone {
  box-shadow: inset 0 0 3px 0 rgba(0, 0, 0, 0.2), 0 0 0 1px #999, 0 0 30px 0px rgba(0, 0, 0, 0.7);
  border: 5px solid #d9dbdc;
  background: #f8f8f8;
  padding: 15px;
  border-radius: 50px;
  height: 877px;
  width: 423px;
  position: relative;
  margin: 0 auto;
}

.iphone-top {
  padding: 5px 110px 40px;
  position: relative;
}
.iphone-top .speaker {
  display: block;
  width: 70px;
  height: 6px;
  margin: 0 auto;
  border-radius: 6px;
  background: #292728;
}
.iphone-top .camera {
  display: block;
  margin: 0 auto;
  height: 10px;
  width: 10px;
  border-radius: 50%;
  margin-bottom: 13px;
  background: #333;
}
.iphone-top .sensor {
  display: block;
  width: 15px;
  height: 15px;
  float: left;
  background: #333;
  margin-top: -5px;
  border-radius: 50%;
}

.top-bar, .bottom-bar {
  display: block;
  width: 423px;
  height: 15px;
  border-left: 5px solid #BBB;
  border-right: 5px solid #BBB;
  position: absolute;
  left: -5px;
}

.top-bar {
  top: 65px;
}

.bottom-bar {
  bottom: 65px;
}

.iphone-screen {
  background: #eee;
  border: 1px solid #fff;
  height: 677px;
  width: 375px;
  margin: 0 auto;
  border: 2px solid rgba(0, 0, 0, 0.9);
  border-radius: 3px;
  overflow: hidden;
}
.iphone-screen img {
  width: 100%;
}
.iphone-screen iframe {
    width: 100%;
    height: 100%;
    margin: 0;
    border: none;
}

.buttons .on-off, .buttons .up, .buttons .down, .buttons .sleep {
  display: block;
  background: #CCC;
  position: absolute;
  border-radius: 2px 0px 0px 2px;
}
.buttons .on-off {
  height: 40px;
  width: 3px;
  top: 100px;
  left: -8px;
}
.buttons .up, .buttons .down, .buttons .sleep {
  height: 60px;
  width: 5px;
  left: -10px;
}
.buttons .up {
  top: 170px;
}
.buttons .down {
  top: 250px;
}
.buttons .sleep {
  left: auto;
  right: -10px;
  top: 170px;
  border-radius: 0px 2px 2px 0px;
}

.iphone-bottom {
  padding: 10px 0 0;
}
.iphone-bottom span {
  display: block;
  margin: 0 auto;
  width: 68px;
  height: 68px;
  background: #ccc;
  border-radius: 50%;
  background: -webkit-linear-gradient(315deg, #303233 0%, #b5b7b9 50%, #f0f2f2 69%, #303233 100%);
  background: linear-gradient(135deg, #303233 0%, #b5b7b9 50%, #f0f2f2 69%, #303233 100%);
  position: relative;
}
.iphone-bottom span:after {
  content: "";
  display: block;
  width: 60px;
  height: 60px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  left: 4px;
  top: 4px;
}
/* /iPhone */

/* iPad */
.ipad-front {
  position: relative;
  width: 1198px;
  height: 768px;
  background-color: #000;  
  border-radius: 20px;
  border: 2px solid #888;
  padding: 40px 85px 40px 85px;
  box-shadow: 1px 2px 0px #111;
  margin: 0 auto;
}

.ipad-front-camera {
  width: 14px;
  height: 14px;
  background-color: #222;
  border-radius: 50px;
  position: absolute;
  top: 50%;
  left: 35px;
  margin-top: -7px;
}

.ipad-front-camera span {
  display: block;
  width: 4px;
  height: 4px;
  background-color: #111;
  border-radius: 50px;
  position: absolute;
  top: 5px;
  left: 5px;
}

.ipad-front-display {
  width: 100%;
  height: 100%;
  background-color: #111;
}

.ipad-front-display iframe {
    width: 100%;
    height: 100%;
    border: none;
    margin: 0;
}

.ipad-front-home-button {
  width: 42px;
  height: 42px;
  background-color: #000;
  border:1px solid #111;
  border-radius: 50px;
  position: absolute;
  top: 50%;
  right: 20px;
  margin-top: -21px;
  box-shadow: 1px 1px 2px #666;
}

.ipad-front-home-button span {
  width: 18px;
  height: 18px;
  position: absolute;
  top: 11px;
  left: 11px;
  background-color: #000;
  border:1px solid #444;
  border-radius: 2px;
}
/* /iPad */

@media screen and (max-width: 767px) {
  .header { display: none; }
  .previewBox { padding-top: 0; }
  .desktop { padding-top: 0; }
}