.android-sdk-background {
  background:url(images/splash.png) no-repeat center 20px;
  background-size: cover;
  background-color: #8382C5;
}

.android-service-background {
  background:url(images/service-splash.png) no-repeat center top;
  background-size: cover;
  background-color: #8382C5;
}

.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;
}

.sdk-title {
  padding-top: 30px;
  font-size: 20px;
}

/* phone */

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


.device-details {
    display: block;
    width: 96%;
    height: 17px;
    position: absolute;
    bottom: -32px;
    left: 0;
    background: radial-gradient(rgba(0,0,0,0.5) 20%, transparent 60%) 0 0,radial-gradient(rgba(0,0,0,0.05) 20%, transparent 60%) 3px 3px;
    background-color: #374F59;
    background-size: 4px 4px;
    border-radius: 1px;
    right: 0;
    margin-left: auto;
    margin-right: auto;
}
.device-details-2 {
    display: block;
    width: 69%;
    height: 17px;
    position: absolute;
    TOP: -26px;
    left: 0;
    background: radial-gradient(rgba(0,0,0,0.5) 20%, transparent 60%) 0 0,radial-gradient(rgba(0,0,0,0.05) 20%, transparent 60%) 3px 3px;
    background-color: #374F59;
    background-size: 4px 4px;
    border-radius: 1px;
    right: 0;
    margin-left: auto;
    margin-right: auto;
}

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

.device.device-phone-v {
    border-radius: 10px;
    border-right: 0px solid #374f59;
    border-left: 0px solid #374f59;
    border-top: 40px solid #374f59;
    border-bottom: 50px solid #374f59;
}

.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: 20px;
    right: auto !important;
    margin: auto;
    top: -23px;
    height: 10px;
    width: 10px;
    border-radius: 15px;
    background-color: rgba(0,0,0,.25);
    border: 2px solid rgba(0, 0, 0, 0.29);
}

.device.device-phone-v.device-white:before{
  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  {
   display: none;
}


.device.device-phone-v img {
      max-width: 100%;
    vertical-align: top;
    border-bottom: 22px solid rgb(36, 56, 64);
    border-left: 20px solid rgb(36, 56, 64);
    border-right: 20px solid rgb(36, 56, 64);
    border-top: 20px solid rgb(36, 56, 64);
}

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

*/
.device.device-phone-h {
    border-width: 1px 40px 1px 46px;
}

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

.device.device-phone-h img {
      max-width: 100%;
    vertical-align: top;
    border-bottom: 22px solid rgb(36, 56, 64);
    border-left: 20px solid rgb(36, 56, 64);
    border-right: 20px solid rgb(36, 56, 64);
    border-top: 20px solid rgb(36, 56, 64);
}
.device.device-phone-h .device-details-2 {
    display: block;
    width: 20px;
    height: 100%;
    position: absolute;
    TOP: 0;
    left: -29px;
    background: radial-gradient(rgba(0,0,0,0.5) 20%, transparent 60%) 0 0,radial-gradient(rgba(0,0,0,0.05) 20%, transparent 60%) 3px 3px;
    background-color: #374F59;
    background-size: 4px 4px;
    border-radius: 1px;
    right: auto;
    /* margin-left: auto; */
    /* margin-right: auto; */
}

.device.device-phone-h .device-details {
    display: block;
    width: 20px;
    height: 70%;
    position: absolute;
    bottom: 0;
    left: auto !important;
    background: radial-gradient(rgba(0,0,0,0.5) 20%, transparent 60%) 0 0,radial-gradient(rgba(0,0,0,0.05) 20%, transparent 60%) 3px 3px;
    background-color: #374F59;
    background-size: 4px 4px;
    border-radius: 1px;
    right: -28px;
    /* margin-left: auto; */
    /* margin-right: auto; */
    top: 0;
    bottom: 0;
    margin-top: auto;
    margin-bottom: auto;
}

.device.device-phone-h:before,
.device.device-phone-h:after {
    content: '';
    z-index: 10;
    display: block;
    position: absolute;
    left: 20px;
    right: auto;
    margin: auto;
    top: -23px;
    height: 10px;
    width: 10px;
    border-radius: 15px;
    background-color: rgba(0,0,0,.25);
    border: 2px solid rgba(0, 0, 0, 0.29);
}
.device.device-phone-h:before, .device.device-phone-h:after {
    content: '';
    z-index: 10;
    display: block;
    position: absolute;
    left: auto;
    right: -22px;
    margin: auto;
    top: 30px;
    height: 10px;
    width: 10px;
    border-radius: 15px;
    background-color: rgba(0,0,0,.25);
    border: 2px solid rgba(0, 0, 0, 0.29);
}
.device.device-phone-h:after, .device.device-phone-h.device-white:after  {
   display: none;
}





@media (max-width: 900px) {
.device.device-phone-h img {
    max-width: 100%;
    vertical-align: top;
    border-bottom: 15px solid rgb(36, 56, 64);
    border-left: 10px solid rgb(36, 56, 64);
    border-right: 15px solid rgb(36, 56, 64);
    border-top: 10px solid rgb(36, 56, 64);
}
}


@media (max-width: 700px) {
  .device.device-phone-h:before, .device.device-phone-h:after {
      top: 20px;
  }
}


@media (max-width: 640px) {
  .device.device-phone-h img {
      max-width: 100%;
      vertical-align: top;
      border-bottom: 12px solid rgb(36, 56, 64);
      border-left: 10px solid rgb(36, 56, 64);
      border-right: 10px solid rgb(36, 56, 64);
      border-top: 10px solid rgb(36, 56, 64);
  }

  .device.device-phone-h:before, .device.device-phone-h:after {display: none;}
  .device.device-phone-h {
    border-width: 1px 30px 1px 30px;
    }
    .device.device-phone-h .device-details-2 {
    display: block;
    width: 12px;
    left: -19px;
  }
  .device.device-phone-h .device-details {
    display: block;
    width: 12px;
    right: -20px;
  }
  .device.device-phone-v img {
    max-width: 100%;
    vertical-align: top;
    border-bottom: 12px solid rgb(36, 56, 64);
    border-left: 10px solid rgb(36, 56, 64);
    border-right: 10px solid rgb(36, 56, 64);
    border-top: 10px solid rgb(36, 56, 64);
}
}
/*
@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 10px 0;
  vertical-align: middle;
  background: none;
  padding: 0;
}

.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: 10px 10px 0 0;
  padding: 7px 21px;
  font-size: 12px;
  color: rgba(0, 0, 0, .5);
  line-height: 20px;
  background: rgba(255,255,255,0.25);
}

.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: block;
}
.code-demo .highlight.inactive {
  display: none;
}


.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;
}
