.ios-sdk-background{
  background:url(images/splash.jpg) no-repeat center bottom;
  background-size: cover;
}

.install > div        { display:none; }
.install:target > div { display:block; }

.fill-white pre { background-color:transparent; }

.fill-notes {
  background-color: #374f59;
}

/* Code + Demos
------------------------------------------------------- */

.highlight {
  background-color: #f8f8f8;
  margin: 0;
}

.highlight pre { word-wrap: break-word; }

.highlight pre {
  overflow: auto;
  white-space: pre;
  word-break: normal;
  word-wrap: normal;
}

/* phone */

.device {
  border-radius: 30px;
  border-style: solid;
  border-color: #374f59;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.device.device-phone-v {
  max-width: 300px;
}
.device.device-phone-v.device-white,
.device.device-phone-h.device-white {
  border-color: #fff;
}

.device.device-phone-v, .device.device-phone-v.device-white, {
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}

.device.device-phone-v .device-content {
  max-height: 400px;
}

.device.device-phone-v:before,
.device.device-phone-v:after {
  content: '';
  z-index: 10;
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  top: -35px;
  height: 10px;
  width: 10px;
  border-radius: 50%;
  background-color: rgba(0,0,0,.25);
}

.device.device-phone-v.device-white:before,
.device.device-phone-v.device-white:after {
  content: '';
  z-index: 10;
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  top: -35px;
  height: 10px;
  width: 10px;
  border-radius: 50%;
  background-color: rgba(0,0,0,.05);
}

.device.device-phone-v:after, .device.device-phone-v.device-white:after  {
  top: auto;
  bottom: -50px;
  height: 30px;
  width: 30px;
}

@media (max-width: 350px ){
  .device.device-phone-v {
    border-width: 60px 15px;
  }
}

.device.device-phone-h {
  border-width: 25px 70px;
}

.device.device-phone-h .device-content {
  max-height: none;
}

.device.device-phone-h:before,
.device.device-phone-h:after {
  content: '';
  z-index: 10;
  display: block;
  position: absolute;
  margin: auto;
  left: none;
  height: 10px;
  width: 10px;
  border-radius: 50%;
  background-color: rgba(0,0,0,.25);
}
.device.device-phone-h.device-white:before,
.device.device-phone-h.device-white:after {
  content: '';
  z-index: 10;
  display: block;
  position: absolute;
  margin: auto;
  left: none;
  height: 10px;
  width: 10px;
  border-radius: 50%;
  background-color: rgba(0,0,0,.05);
}

.device.device-phone-h:after, .device.device-phone-h.device-white:after {
  top: 50%;
  left: -50px;
  height: 30px;
  width: 30px;
  margin-top: -15px;
}

.device.device-phone-h:before, .device.device-phone-h.device-white:before {
  top: 50%;
  right: -35px;
  margin-top: -5px;
}

@media (max-width: 500px) {
  .device.device.device-phone-h {
    border-width: 15px 55px;
  }
  .device.device-phone-h:after, .device.device-phone-h.device-white:after {
    width: 20px;
    height: 20px;
    left: -40px;
    margin-top: -10px;
  }
}

@media (max-width: 400px) {
  .device.device.device-phone-h {
    border-width: 15px 40px;
  }
  .device.device-phone-h:after, .device.device-phone-h.device-white:after {
    width: 20px;
    height: 20px;
    left: -30px;
    margin-top: -10px;
  }

  .device.device-phone-h:before, .device.device-phone-h.device-white:before {
    top: 50%;
    right: -25px;
    margin-top: -5px;
  }
}

/* Search and toggle
------------------------------------------------------- */

.rounded-toggle.guide-toggle {
  margin: 10px;
  padding: 4px;
  border-radius: 20px;
  vertical-align: middle;
}

.rounded-toggle.guide-toggle label.short {
  display: none;
}

.rounded-toggle.guide-toggle input[type=radio]:checked > label, .rounded-toggle a.active {
  background: #fff;
  color: rgba(0, 0, 0,.5);
}

.rounded-toggle input[type=radio]:checked > label {
  background: #fff;
  color: rgba(0, 0,0 ,.5);
}

.rounded-toggle.guide-toggle label.long {
  display: inline-block;
}

.rounded-toggle.guide-toggle label,
.rounded-toggle.guide-toggle a {
  cursor: pointer;
  vertical-align: top;
  display: inline-block;
  border-radius: 28px;
  padding: 7px 21px;
  font-size: 12px;
  color: rgba(0, 0, 0, .5);
  line-height: 20px;
}

.fill-denim .rounded-toggle input[type=radio]:checked + label,
.fill-denim .rounded-toggle .active {
  background: #fff;
}

@media only screen and (max-width:740px) {

  .rounded-toggle.guide-toggle label,
  .rounded-toggle.guide-toggle a {
    cursor: pointer;
    vertical-align: top;
    display: inline-block;
    border-radius: 28px;
    padding: 7px 7px;
    font-size: 12px;
    color: rgba(0, 0, 0, .5);
    line-height: 20px;
  }

  .rounded-toggle.guide-toggle label.short {
    display: inline-block;
  }

  .rounded-toggle input[type=radio]:checked + label + label.short,
  .rounded-toggle a.active {
    background: white;
    color: rgba(0, 0, 0, .5);
  }

  .rounded-toggle.guide-toggle label.long {
    display: none;
  }

}

/* Guides */

.code-demo .highlight {
  border-radius: 5px 5px 0 0;
  position: relative;
  background-color: #fff;
  margin-top: 10px;
}

.code-demo {
  position: relative;
}

.code-demo .highlight {
  display: none;
}
.code-demo .highlight.active {
  display: block;
}


.code-demo code,
.code-demo pre {
  background: none;
}

.code-demo pre {
  padding: 20px 20px 55px;
}

.rounder-bottom {
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}
