/* Add additional stylesheets below
-------------------------------------------------- */
/*
  Bootstrap's documentation styles
  Special styles for presenting Bootstrap's documentation and examples
*/



/* Body and structure
-------------------------------------------------- */

body {
  position: relative;
}

/* Code in headings */
h3 code {
  font-size: 14px;
  font-weight: normal;
}

.page-header {
  border-bottom: 1px solid #e5e5e5;
}

hr {
  border-top: 1px solid #e5e5e5;
}
/* Sections
-------------------------------------------------- */

/* padding for in-page bookmarks and fixed navbar */
section {
  padding-top: 30px;
}
section > .page-header,
section > .lead {
  color: #5a5a5a;
}
section > ul li {
  margin-bottom: 5px;
}


/* Jumbotrons
-------------------------------------------------- */

/* Base class
------------------------- */
.jumbotron {
  position: relative;
  padding: 80px 0 30px;
  color: #fff;
  text-align: left;
  text-shadow: 0 1px 3px rgba(0,0,0,.4), 0 0 30px rgba(0,0,0,.075);
  background: #666666; /* Old browsers */
  background: -moz-linear-gradient(45deg, #666666 0%, #cccccc 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left bottom, right top, color-stop(0%,#666666), color-stop(100%,#ccccccc)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(45deg,  #666666 0%,#ccccccc 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(45deg,  #666666 0%,#cccccc 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(45deg,  #666666 0%,#cccccc 100%); /* IE10+ */
  background: linear-gradient(45deg,  #666666 0%,#cccccc 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#666666', endColorstr='#cccccc',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
  -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 h1 {
  font-weight: bold;
  line-height: 1;
  text-transform: uppercase;
}
.jumbotron p {
  font-size: 19px;
  font-weight: 300;
  line-height: 1;
  margin-bottom: 30px;
}

/* Link styles (used on .masthead-links as well) */
.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;
}
.jumbotron a:hover {
  color: #fff;
  text-shadow: 0 0 10px rgba(255,255,255,.25);
}


/* Pattern overlay
------------------------- */
.jumbotron .container {
  position: relative;
  z-index: 2;
}
.jumbotron:after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: url(../img/bs-docs-masthead-pattern.png) repeat center center;
  opacity: .4;
}
@media
only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (   min--moz-device-pixel-ratio: 2),
only screen and (     -o-min-device-pixel-ratio: 2/1) {

  .jumbotron:after {
    background-size: 150px 150px;
  }

}


.scrollspy-example {
  height: 200px;
  overflow: auto;
  position: relative;
}


/* Sidenav for Docs
-------------------------------------------------- */

.bs-docs-sidenav {
  width: 228px;
  margin: 0 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 > a {
  display: block;
  width: 190px \9;
  margin: 0 0 -1px;
  padding: 8px 20px;
  border-bottom: 1px solid #e5e5e5;
  color: #464646;
  text-transform: uppercase;
  font-family: 'Merriweather Sans', sans-serif;
}
.bs-docs-sidenav > li > a:hover {
  color: #f7941d;
}
.bs-docs-sidenav > li.logo {
  padding-top: 40px;
  padding-bottom: 20px;
  text-align: right;
}

.bs-docs-sidenav > li.info {
  padding-top: 40px;
  text-align: right;
}

.bs-docs-sidenav > li.info > a {
  display: block;
  width: 190px \9;
  margin: 0 0 -1px;
  padding: 8px 14px;
  border: 0px;
  text-transform: none;
}

.bs-docs-sidenav > li.info > a.resume {
  text-transform: uppercase;
  color: #f7941d;
}
.bs-docs-sidenav > li.info > a.resume:hover {
  color: #333333;
}
.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:last-child > a {
//  -webkit-border-radius: 0 0 6px 6px;
//     -moz-border-radius: 0 0 6px 6px;
//          border-radius: 0 0 6px 6px;
}
.bs-docs-sidenav > .active > a {
  position: relative;
  z-index: 2;
  padding: 9px 20px;
  border: 0;
  text-shadow: 0 1px 0 rgba(0,0,0,.15);
  -webkit-box-shadow: inset 1px 0 0 rgba(0,0,0,.1), inset -1px 0 0 rgba(0,0,0,.1);
     -moz-box-shadow: inset 1px 0 0 rgba(0,0,0,.1), inset -1px 0 0 rgba(0,0,0,.1);
          box-shadow: inset 1px 0 0 rgba(0,0,0,.1), inset -1px 0 0 rgba(0,0,0,.1);
  text-transform: uppercase;
}
/* Chevrons */
.bs-docs-sidenav .icon-chevron-right {
  float: right;
  margin-top: 2px;
  margin-right: -6px;
  opacity: .25;
}
.bs-docs-sidenav > li > a:hover {
  background-color: #f5f5f5;
}
.bs-docs-sidenav a:hover .icon-chevron-right {
  opacity: .5;
}
.bs-docs-sidenav .active .icon-chevron-right,
.bs-docs-sidenav .active a:hover .icon-chevron-right {
  background-image: url(../img/glyphicons-halflings-white.png);
  opacity: 1;
}
.bs-docs-sidenav.affix {
  top: 0px;
}
.bs-docs-sidenav.affix-bottom {
  position: absolute;
  top: auto;
  bottom: 270px;
}




/* Responsive
-------------------------------------------------- */

/* Desktop large
------------------------- */
@media (min-width: 1200px) {
  .bs-docs-container {
    max-width: 970px;
  }
  .bs-docs-sidenav {
    width: 258px;
  }
  .bs-docs-sidenav > li > a {
    width: 230px \9; /* Override the previous IE8-9 hack */
  }
}

/* Desktop
------------------------- */
@media (max-width: 980px) {
  .bs-docs-sidenav {
    top: 0;
    width: 218px;
    margin-top: 30px;
    margin-right: 0;
  }
}

/* Tablet to desktop
------------------------- */
@media (min-width: 768px) and (max-width: 979px) {

  /* Widen masthead and social buttons to fill body padding */
  .jumbotron {
    margin-top: -20px; /* Offset bottom margin on .navbar */
  }
  /* Adjust sidenav width */
  .bs-docs-sidenav {
    width: 166px;
    margin-top: 20px;
  }
  .bs-docs-sidenav.affix {
    top: 0;
  }
}

/* Tablet
------------------------- */
@media (max-width: 767px) {

  /* Widen masthead and social buttons to fill body padding */
  .jumbotron {
    padding: 40px 20px;
    margin-top:   -20px; /* Offset bottom margin on .navbar */
    margin-right: -20px;
    margin-left:  -20px;
  }

  /* Sidenav */
  .bs-docs-sidenav {
    width: auto;
    margin-bottom: 20px;
  }
  .bs-docs-sidenav.affix {
    position: static;
    width: auto;
    top: 0;
  }
}

/* Landscape phones
------------------------- */
@media (max-width: 480px) {
  
  h1 {
    font-size: 19px;  	
  }

  .jumbotron {
    padding: 20px;
  }
  .jumbotron h1 {
    font-size: 19px;
  }
  .jumbotron p,
  .jumbotron .btn {
    font-size: 16px;
    line-height: 1.4;
  }
  .jumbotron .btn {
    display: block;
    margin: 0 auto;
  }

}
