/* Space out content a bit */
body {
  padding-top: 20px;
  padding-bottom: 20px;
}

.div {
  direction: inherit;
}

/* Everything but the jumbotron gets side spacing for mobile first views */
.header,
.marketing,
.footer {
  padding-right: 15px;
  padding-left: 15px;
}

/* Custom page header */
.header {
  border-bottom: 1px solid #e5e5e5;
}
/* Make the masthead heading the same height as the navigation */
.header h3 {
  padding-bottom: 19px;
  margin-top: 0;
  margin-bottom: 0;
  line-height: 40px;
}

/* Custom page footer */
.footer {
  padding-top: 19px;
  color: #777;
  border-top: 1px solid #e5e5e5;
}

/* Customize container */
.full-container {
    margin-right: auto;
    margin-left: auto;
    padding-left: 15px;
    padding-right: 15px;
}
@media (min-width: 768px) {
  .full-container {
    max-width: 100%;
  }
}
@media (min-width: 768px) {
  .container {
    max-width: 730px;
  }
}
.container-narrow > hr {
  margin: 30px 0;
}

/* Main marketing message and sign up button */
.jumbotron {
  text-align: center;
  border-bottom: 1px solid #e5e5e5;
}
.jumbotron .btn {
  padding: 14px 24px;
  font-size: 21px;
}
@media screen and (min-width: 768px) {
  .jumbotron h1,
  .jumbotron .h1 {
    font-size: 36px;
  }
}

@media (max-width: 1023px) {
  .onlylarge {
    display: none;
  }
}

/* Supporting marketing content */
.marketing {
  margin: 40px 0;
}
.marketing p + h4 {
  margin-top: 28px;
}

.container .content p {
  text-align:justify;
}

.blog-nav {
  margin-top: 50px;
  margin-left: 20px;
  margin-right: 20px;
  width: 40%;
}

.blog-nav-left {
  float: left;
}

.blog-nav-right {
  float: right;
}

a.anchor {
  display: block; position: relative; top: -75px; visibility: hidden;
}

a.exact-anchor {
  display: block; position: relative; top: -55px; visibility: hidden;
}

.bs-docs-sidenav {
  margin-top: 50px;
}

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
  /* Remove the padding we set earlier */
  .header,
  .marketing,
  .footer {
    padding-right: 0;
    padding-left: 0;
  }
  /* Space out the masthead */
  .header {
    margin-bottom: 30px;
  }
  /* Remove the bottom border on the jumbotron for visual effect */
  .jumbotron {
    border-bottom: 0;
  }
}

@media (max-width: 950px) {
  .hide-when-narrow {
    display: none !important;
  }
}

.links-folder {
  z-index:1000;
  position:relative;
  display:inline-block;
}
.links-link {
  position:absolute;
  z-index:1001;
  color:white;
  font-size:60%;
  left:3pt;
  top:5pt;
}

.links-img {
  position:relative;
  width: 27px;
  padding-right: 9px;
}

.thumbnail.right-caption > img {
    float: left;
    margin-right: 9px;
}

.thumbnail.right-caption {
    float: left;
}

.thumbnail.right-caption > .caption {
    padding: 4px;
}

@media screen and (max-width: 400px) {
  .blog-nav {
    display: none !important;
  }
}

@media screen and (min-width: 1024px) {
  .blog-nav {
    position: fixed;
    margin-top: 50px;
    z-index: 500;
    width: -moz-calc((100% - 768px - 20px)/2);
    width: -webkit-calc((100% - 768px - 20px)/2);
    width: calc((100% - 768px)/2 - 20px);
  }
  .blog-nav-left {
    left: 0px;
    float: none;
  }
  .blog-nav-right {
    right: 0px;
    float: none;
  }
}
.rtecenter {
  text-align: center;
}
.tweet-container {
  padding: 20px;
  background-color: #9AE4E8;
  max-width: 400px;
  margin: auto;
  font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
}
.tweet-box {
  background: #fff;
  padding: 10px;
  margin: 0;
  color: #333333;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
}
.tweet-box > span {
  width: 95%;
}
.tweet-actions {
  width: 100%;
  padding: 5px 0;
  margin: 0 0 10px 0;
  border-bottom: 1px solid#e6e6e6;
  color: #999;
}
.vertical-text {
    writing-mode:tb-rl;
    -webkit-transform:rotate(90deg);
    -moz-transform:rotate(90deg);
    -o-transform: rotate(90deg);
    -ms-transform:rotate(90deg);
    transform: rotate(90deg);
    white-space:nowrap;
    display:block;
    bottom:0;
    width:20px;
    height:20px;
}
.multiline-label {
  display: inline;
  padding: .2em .6em .3em;
  font-size: 75%;
  font-weight: bold;
  line-height: 1;
  color: #fff;
  text-align: center;
  white-space: pre-wrap/*nowrap*/;
  vertical-align: baseline;
  border-radius: .25em;
}

.dropdown-header {
white-space: normal;
}

.grayout {
    opacity: 0.6; /* Real browsers */
    filter: alpha(opacity = 60); /* MSIE */
}

.highlighted {
    background-color: #ffcccc;
    border-style: solid;
    border-color: #ff0000;
    box-shadow: 0px 0px 20px #ff0000;
}

.terminal a {
    color: white;
}