/*!
 * Bootstrap v2.1.1
 *
 * Copyright 2012 Twitter, Inc
 * Licensed under the Apache License v2.0
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Designed and built with all the love in the world @twitter by @mdo and @fat.
 */

// CSS Reset
@import "bootstrap/reset.less";

// Core variables and mixins
@import "variables.less"; // Modify this for custom colors, font-sizes, etc
@import "bootstrap/mixins.less";

// Grid system and page structure
@import "bootstrap/scaffolding.less";
@import "bootstrap/grid.less";
@import "bootstrap/layouts.less";

// Base CSS
@import "bootstrap/type.less";

ul, ol {
  list-style: square;
}

blockquote {
  font-style: italic;
  color: @grayLight;
}

@import "bootstrap/code.less";
@import "bootstrap/forms.less";
@import "bootstrap/tables.less";

// Components: common
//@import "bootstrap/sprites.less";
@import "bootstrap/dropdowns.less";
//@import "bootstrap/wells.less";
//@import "bootstrap/component-animations.less";
//@import "bootstrap/close.less";

// Font Awesome
@import "font-awesome.less";

// Components: Buttons & Alerts
@import "bootstrap/buttons.less";

.btn-huge {
  padding: 15px 18px;
  font-size: @baseFontSize + 4px;
  line-height: normal;
  .border-radius(6px);
}

@import "bootstrap/button-groups.less";
@import "bootstrap/alerts.less"; // Note: alerts share common CSS with buttons and thus have styles in buttons.less

// Components: Nav
@import "bootstrap/navs.less";
@import "bootstrap/navbar.less";

.navbar .brand {
  color: @grayDark;
}

.navbar-fixed-top,
.navbar-static-top {
  .navbar-inner {
    box-shadow: none;
  }
}

.navbar-inner {
  background-image: none;
  background-repeat: no-repeat;
  filter: none;
}


//@import "bootstrap/breadcrumbs.less";
//@import "bootstrap/pagination.less";
//@import "bootstrap/pager.less";

// Components: Popovers
//@import "bootstrap/modals.less";
//@import "bootstrap/tooltip.less";
//@import "bootstrap/popovers.less";

// Components: Misc
//@import "bootstrap/thumbnails.less";
//@import "bootstrap/labels-badges.less";
//@import "bootstrap/progress-bars.less";
//@import "bootstrap/accordion.less";
//@import "bootstrap/carousel.less";
@import "bootstrap/hero-unit.less";

.hero-unit {
  background-image: url("../img/hero_bg.png");
  padding: 0;
  h1 {
    font-size: 44px;
  }
}

// Theme customs

body {
  padding-top: @navbarHeight + 1;
}

footer {
  .nav li {
    .pull-left;
    a {
      padding: 0 15px;
      &:hover {
        background-color: inherit;
      }
    }
  }
  a {
    color: @navbarLinkColor;

    &:active {
      color: @navbarLinkColorActive;
    }
    &:hover {
      color: @navbarLinkColorHover;
      text-decoration: none;
    }
  }
}

.content {
  h1, h2, h3, h4, h5, h6,
  p, blockquote,
  li, dd, dt {
    font-family: @altFontFamily;
    font-size: @baseFontSize * 1.6;
  }

  h1, h2, h3, h4, h5, h6 {
    font-style: italic;
    font-weight: normal;
  }
  h1 {
    font-size: @baseFontSize * 2.6;
  }
  h2 {
    font-size: @baseFontSize * 2.4;
  }
  h3 {
    font-size: @baseFontSize * 2.2;
  }
  h4 {
    font-size: @baseFontSize * 2.0;
  }
  h5 {
    font-size: @baseFontSize * 1.8;
  }
  h6 {
    font-size: @baseFontSize * 1.6;
  }

  p, li, dt, dd {
    line-height: 1.4;
  }
  p {
    margin: 10px 0 20px;
  }
  li, dd {
    margin-left: 1.5em;
  }
  dt {
    font-style: italic;
  }

  section {
    padding: 60px 0 40px;
  }


  // Specifics to Sphinx

  :target:before {
    content: "";
    display: block;
    height: @navbarHeight + 1;
    margin-top: -(@navbarHeight + 1);
    visibility: hidden;
  }

  .section {
    margin-top: 30px;
  }

  .footnote,
  .footnote p {
    font-family: @baseFontFamily;
    font-size: @baseFontSize;
  }
  .footnote p {
    margin: 0;
  }

  .admonition {
    .alert;
    .alert-block;

    &.warning {
      .alert-danger;
    }
    .admonition-title {
      font-style: italic;
    }

    > p, > ul {
      margin-bottom: 0;
    }
  }

  .rubric {
    margin: 30px 0 10px;
    font-style: italic;
  }

  tt {
    padding: 0 3px 2px;
    #font > #family > .monospace;
    font-size: @baseFontSize + 2;
    font-weight: normal;
    font-style: normal;
    padding: 2px 4px;
    color: #d14;
    background-color: #f7f7f9;
    border: 1px solid #e1e1e8;
    .border-radius(3px);
  }

  ul.search li {
    margin-left: 0.5em;
    padding-left: 0;
    background: none;
  }

}

.ac {
  text-align: center;
}

// Utility classes
@import "bootstrap/utilities.less"; // Has to be last to override when necessary
