/** Appium Bootstrapified **/
body {
  position: relative;
  padding-top: 50px;
}

.masthead {
  padding: 70px 0 80px;
  margin-bottom: 0;
  color: #fff;
}

.masthead p {
  font-size: 40px;
  font-weight: 200;
  line-height: 1.25;
  position: relative;
}

.masthead p.small {
  font-size: 16px;
  max-width: 713px;
  margin: 0 auto 10px auto;
}

.jumbotron {
  position: relative;
  padding: 40px 0;
  color: #fff;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .4), 0 0 30px rgba(0, 0, 0, .075);
  -webkit-box-shadow: inset 0 3px 7px rgba(0, 0, 0, .2), inset 0 -3px 7px rgba(0, 0, 0, .2);
  -moz-box-shadow: inset 0 3px 7px rgba(0, 0, 0, .2), inset 0 -3px 7px rgba(0, 0, 0, .2);
  box-shadow: inset 0 3px 7px rgba(0, 0, 0, .2), inset 0 -3px 7px rgba(0, 0, 0, .2);
}

.jumbotron .code-bg {
  position: absolute;
  top: 0;
  opacity: .1;
}

.jumbotron .container {
  position: relative;
  z-index: 2;
}

.jumbotron h1 {
  font-size: 80px;
  font-weight: bold;
  letter-spacing: -1px;
  line-height: 1;
}

.jumbotron h1.appium-logo {
  background: url(../img/appium-logo-white.png);
  width: 354px;
  height: 107px;
  overflow: hidden;
  text-indent: -200%;
  margin: 18px auto;
}

.jumbotron::after {
  background: rgba(0, 28, 49, 0.74);
  background: -moz-linear-gradient(45deg, rgba(10, 4, 14, 0.92) 0%, rgba(0, 28, 49, 0.74) 100%);
  background: -webkit-gradient(linear, left bottom, right top, color-stop(0%, rgba(10, 4, 14, 0.92)), color-stop(100%, rgba(0, 28, 49, 0.74)));
  background: -webkit-linear-gradient(45deg, rgba(10, 4, 14, 0.92) 0%, rgba(0, 28, 49, 0.74) 100%);
  background: -o-linear-gradient(45deg, rgba(10, 4, 14, 0.92) 0%, rgba(0, 28, 49, 0.74) 100%);
  background: -ms-linear-gradient(45deg, rgba(10, 4, 14, 0.92) 0%, rgba(0, 28, 49, 0.74) 100%);
  background: linear-gradient(45deg, rgba(10, 4, 14, 0.92) 0%, rgba(0, 28, 49, 0.74) 100%);
  content: '';
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.jumbotron::before {
  /*superb pattern A re-make of the Gradient Squares pattern.

Made by Dimitar Karaytchev. */
  content: '';
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: url(../img/masthead-pattern.png) repeat center center;
  opacity: 1;
}

.jumbotron a:hover {
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 255, 255, .25);
}

.jumbotron a img {
  opacity: .5;
  -webkit-transition: all .2s ease-in-out;
  -moz-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
}

.jumbotron a:hover img {
  opacity: 1;
}

.jumbotron a {
  color: #fff;
  color: rgba(255, 255, 255, .5);
  -webkit-transition: all .2s ease-in-out;
  -moz-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
}

.subhead {
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.subhead h1 {
  font-size: 60px;
  margin-top: 28px;
}

a:hover {
  color: #005580;
  text-decoration: underline;
}

.masthead-links {
  margin: 0;
  list-style: none;
}

.masthead-links li {
  display: inline;
  padding: 0 10px;
  color: rgba(255, 255, 255, .25);
}

.bs-docs-social {
  text-align: center;
  background-color: #f5f5f5;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #ddd;
}

.bs-docs-social-buttons {
  margin-left: 0;
  margin-bottom: 0;
  padding-left: 0;
  list-style: none;
}

.bs-docs-social-buttons li {
  display: inline-block;
  padding: 5px 8px;
  line-height: 1;
}

.marketing h1 {
  margin: 60px 0 10px;
  font-size: 60px;
  font-weight: 200;
  line-height: 1;
  letter-spacing: -1px;
}

.marketing .marketing-byline {
  margin-bottom: 40px;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.25;
  color: #999;
}

.marketing {
  text-align: center;
  color: #5a5a5a;
}

.marketing .prettyprint {
  text-align: left;
  padding: 5px 20px 0 20px;
}

.marketing .ninja {
  width: 300px;
  padding: 20px;
  margin: 0 auto 20px auto;
}

.marketing h2 {
  font-weight: 200;
  margin-bottom: 5px;
}

.thick-line {
  height: 10px;
  background-color: rgb(231, 203, 223);
  display: block;
  content: '';
  border-bottom: 1px solid #ddd;
}

.footer {
  text-align: center;
  padding: 30px 0;
  margin-top: 70px;
  border-top: 1px solid #e5e5e5;
  background-color: #f5f5f5;
}

.footer-links li {
  display: inline;
  padding: 0 2px;
}

.footer-links li:after {
  content: '·';
  color: #999999;
  margin-left: 7px;
}

.footer-links li:last-child:after {
  content: none;
}

body > .navbar .brand {
  padding-right: 0;
  padding-left: 0;
  margin-left: 20px;
  float: right;
  font-weight: bold;
  color: #000;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .1), 0 0 30px rgba(255, 255, 255, .125);
  -webkit-transition: all .2s linear;
  -moz-transition: all .2s linear;
  transition: all .2s linear;
}

body > .navbar .brand:hover {
  text-decoration: none;
  color: rgb(205, 251, 255);
  text-shadow: 0 1px 0 rgba(255, 255, 255, .1), 0 0 30px rgba(255, 255, 255, .4);
}

section {
  padding-top: 30px;
}

.bs-docs-sidenav {
  width: 228px;
  margin: 30px 0 0;
  padding: 0;
  background-color: #fff;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, .065);
  -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, .065);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .065);
}

.bs-docs-sidenav.affix, .bs-docs-sidenav.affix-bottom {
  position: fixed;
  top: 40px;
}

/*
.bs-docs-sidenav.affix-bottom  {
  position: absolute;
top: auto;
bottom: 270px;
}
*/

.bs-docs-sidenav {
  width: 260px;
  margin: 30px 0 0;
  padding: 0;
  background-color: #fff;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, .065);
  -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, .065);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .065);
}

.bs-docs-sidenav > li:first-child > a {
  -webkit-border-radius: 6px 6px 0 0;
  -moz-border-radius: 6px 6px 0 0;
  border-radius: 6px 6px 0 0;
}

.bs-docs-sidenav > li > a {
  display: block;
  width: 190px;
  margin: 0 0 -1px;
  padding: 8px 14px;
  border: 1px solid #e5e5e5;
}

#we-need-desc {
  min-height: 330px;
}

#introducing-appium {
  background: url(../img/introducing-appium.gif);
  width: 599px;
  height: 262px;
  margin: 31px auto;
  font-size: 52px;
  text-align: left;
  line-height: 121px;
  margin-bottom: 0;
}

.video-js {
  margin: 0 auto 20px auto;
}

#readmeMarkdown section {
  padding-top: 10px;
}

/* Default padding on jumbotron is excessive */
.jumbotron {
  padding: 0;
}

/* custom divider for documentation buttons */
.button_divider {
  visibility: hidden;
  width: 0px;
  height: 0.4em;
}

/* http://stackoverflow.com/questions/19073813/how-to-center-navbar-nav-element-in-bootstrap-3 */
@media (min-width: 768px) {
  .navbar-nav-center {
    margin: 0 auto;
    display: table;
    table-layout: fixed;
    float: none;
  }
}