$icon-font-path: "../bower_components/bootstrap-sass-official/assets/fonts/bootstrap/";
// bower:scss
@import "bootstrap-sass-official/assets/stylesheets/_bootstrap.scss";
// endbower

.browsehappy {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

/* Space out content a bit */
body {
  -webkit-font-smoothing: antialiased;
}

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

/* Custom page header */
.header {
  border-bottom: 1px solid #e5e5e5;

  /* Make the masthead heading the same height as the navigation */
  h3 {
    margin-top: 0;
    margin-bottom: 0;
    line-height: 40px;
    padding-bottom: 19px;
  }
}

/* Custom page footer */
.footer {
  color: #777;
  padding: 20px 0;

  p {
    margin-bottom: 0;
  }
}

.container-narrow > hr {
  margin: 30px 0;
}

/* Main marketing message and sign up button */
.jumbotron {
  height: 620px;
  margin-bottom: 0;
  text-align: center;
  border-bottom: 1px solid #e5e5e5;

  .container {
    height: 100%;
  }

  h1, .h1 {
    font-weight: 600;
    margin-bottom: 25px;
  }

  p {
    margin-bottom: 25px;
  }

  .form-inline {
    font-size: 0;
  }

  .form-group {
    margin-right: 5px;
  }
}

.jumbotron-headline {
  display: table;
  height: 100%;
  width: 100%;
}

.jumbotron-headline-cell {
  display: table-cell;
  vertical-align: middle;
}

/* Secondary marketing message and call to action */
.jumbotron-secondary {
  height: 500px;

  h2 {
    font-size: 36px;
    font-weight: 400;

    strong {
      fotn-weight: 600;
    }
  }
}

/* Tertiary marketing message and call to action. */
.jumbotron-tertiary {
  height: 400px;

  h1, .h1 {
    margin-top: 0;
  }
}

/* Sections */
.sections {
  border-bottom: 1px solid #e5e5e5;
  padding: 100px 0;

  .thumbnail {
    margin-bottom: 25px;
  }
}

.sections-narrow {
  padding: 40px 0;
}

.sections-browse {
  background-color: $jumbotron-bg;
  padding: 20px 0;
}

.section-heading {
  font-size: 40px;
}

.section-desc {
  font-size: 18px;
  margin-bottom: 25px;
}

.navbar {
  height: 60px;
}

.navbar-static-top {
  margin-bottom: 0;
}

.navbar-brand {
  padding: 18px 15px;
  height: 60px;
  line-height: normal;
}

.navbar-nav {
  > li {
    > a {
      padding-top: 20px;
      padding-bottom: 20px;
    }
  }
}

.navbar-form {
  .form-group {
    margin-bottom: 0;
  }
}

.nav-tabs-filter {
  margin-bottom: 30px;
}

.navbar-default {
  .navbar-menu {
    > li {
      padding: 0 6px;
      
      > a {
        border-bottom: 2px solid transparent;
        padding: 20px 5px 18px 5px;
      }
      
      &:hover {
        > a {
          background-color: transparent;
        }
      }
      
      &.active {
        > a {
          background-color: transparent;
          border-bottom-color: $gray;

          &:hover {
            background-color: transparent;
          }
        }
      }
    }
  }
}

.navbar-profile {
  @extend .pull-right;
  
  > li {
    float:left;
    margin-left: 7px;
    margin-top: 8px;
    
    > a {
      border: 1px solid darken($gray-lighter,10%);
      border-radius: 50%;
      color: $gray-light;
      line-height: 40px;
      height: 40px;
      padding: 0;
      text-align: center;
      width: 40px;
      
      &:hover {
        background-color: transparent;
        border-color: $gray-light;
      }
      
      > img {
        margin-top: -5px;
      }
      
      &.img-profile {
        border: 0;
        
        .img-circle {
          border: 1px solid darken($gray-lighter,10%);
        }
      }
    }
  }
  
  .dropdown-menu {
    right: 0;
    left: auto;
  }
}

/* Show page */
.show-hero {
  background-color: $jumbotron-bg;
  padding-top: 60px;
  padding-bottom: 60px;
  font-size: 24px;
  text-align: left;

  h1 {
    margin-top: 0;
  }
}

.form-control-group {
  padding-top: $padding-large-vertical;
}

.btn-group-new-alt {
  display: none;
}

/* Responsive: Portrait tablets and up */
@media (max-width: 768px) {
  
  .nav > li.navbar-create-new {
    display: none;
  }
  
  .navbar-brand {
    padding-right: 0;
  }

  .navbar-profile {
    position: absolute;
    top: 0;
    right: 0px;
  }
  
  .navbar-nav {
    background: $body-bg;
    margin-bottom: 0;
    margin-top: 0;
    
    > li {
      > a {
        padding-top: 10px;
        padding-bottom: 10px;
      }
    }
  }
  
  .navbar-form {
    margin-top: 0;
    margin-bottom: 0;
    border-top: 0;
    border-bottom: 0;
  }
  
  .navbar-toggle-left {
    border: 0;
    float: left;
    margin: 15px 0 0 5px;
    padding: 5px 8px 5px 8px;
    
    .caret {
      color: $gray-light;
      border-top-width: 6px;
      border-right-width: 6px;
      border-left-width: 6px;
      margin-left: 0;
    }
  }
  
  .btn-group-new-alt {
    position: fixed;
    bottom: 20px;
    right: 20px;
    
    .btn-primary {
      border-radius: 50%;
      height: 50px;
      width: 50px;
      padding: 0;
    }
    
    .glyphicon-plus {
      font-size: 20px;
    }
  }
}