$icon-font-path: "fonts/";
$brand-primary: #6cb947;
$text-color: #747c83;
$text-color-inverse: #fff;
$headings-color: #555f64;
$sections-bg: #f0f2f5;
$sections-border: #e7e9eb;
$jumbotron-bg: #42494d;
$navbar-default-bg: #2d4f61;
$navbar-default-border: #2d4f61;
$navbar-default-link-color: #749aa4;
$navbar-default-link-hover-color: #d9e9ed;
$navbar-default-link-active-color: #e6f2f5;
$thumbnail-border: #e6e9ed;
$btn-default-color: #495256;
$btn-default-border: #D4D5D7;

%font-smoothing {
  -webkit-font-smoothing: antialiased;
}

// 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 {
  @extend %font-smoothing;
}

/* Remove the dotted outline */
a,
a:hover,
a:active,
a:focus,
button,
button:hover,
button:active,
button:focus,
object,
embed {
  outline: 0;
}

input::-moz-focus-inner {
  border: 0;
}

/* 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;
  }
}

/* Header */
.sub-header {
  font-size: 26px;
  font-weight: 500;
  margin-top: 10px;
  padding-bottom: 10px;
}

/* Custom page footer */
.footer {
  font-size: 13px;
  padding: 30px 0;
}

.colophon {
  border-top: 1px solid $sections-border;
  margin-top: 30px;
  padding-top: 30px;
}

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

/* Main marketing message and sign up button */
.jumbotron {
  background-color: $jumbotron-bg;
  height: 580px;
  margin-bottom: 0;
  text-align: center;
  border-bottom: 1px solid #e5e5e5;
  position: relative;
  overflow: hidden;

  .container {
    height: 100%;
    position: relative;
    z-index: 3;
  }
}

.jumbotron-auto {
  height: auto;
}

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


  h1, .h1 {
    color: $text-color-inverse;
    font-size: 48px;
    font-weight: 500;
    margin-bottom: 15px;
  }

  p {
    color: $text-color-inverse;
    font-size: 23px;
    font-weight: 500;
    margin-bottom: 30px;
  }
}

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

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

  h2 {
    color: $text-color-inverse;
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 15px;

    strong {
      font-weight: 600;
    }
  }

  @media (max-width: $screen-md-min) {
    height: auto;
  }
}

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

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

  .form-control {
    height: 54px;
    border: 1px solid $text-color-inverse;
    border-radius: 3px;
    box-shadow: none;
  }
  
  .form-control-group {
    padding-top: $padding-large-vertical;
  }

  .btn-primary {
    padding: 15px 25px;
  }

  @media (max-width: $grid-float-breakpoint) {
    .form-group {
      margin-right: 0;
    }

    .btn-primary {
      display: block;
      margin-bottom: 20px;
      width: 100%;
    }
  }
}

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

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

.jumbotron-video {
  position: absolute;
  opacity: .85;
  left: 0;
  top: 0px;
  z-index: 1;
  height: auto;
  width: 100%;
}

.jumbotron-welcome {
  background-color: $text-color-inverse;
}

@media (max-width: $screen-md-min) {
  .jumbotron-video {
    width: auto;
    height: 100%;
  }
}

/* Sections */
.sections {
  background-color: $sections-bg;
  border-bottom: 1px solid $sections-border;
  padding: 100px 0;

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

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

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

.sections-light {
  background-color: $text-color-inverse;
}

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

.section-heading-alt {
  font-size:
}

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

.navbar {
  height: 60px;
}

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

.navbar-brand {
  padding: 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;

      @media (min-width: $grid-float-breakpoint) {
        > a {
          font-weight: 500;
          padding: 20px 15px;
        }
      }

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

      &.active {
        > a {
          background-color: transparent;
          font-weight: bold;

          &:hover,
          &:active,
          &:focus  {
            background-color: transparent;
          }
        }
      }
    }
  }

  @media (max-width: $grid-float-breakpoint) {
    .navbar-menu {
      background-color: darken($navbar-default-bg,10%);

      > li {
        padding: 0;

        > a {
          padding-top: 12px;
          padding-bottom: 12px;
        }

        &:hover {
          > a {
            background-color: transparent;
            color: $navbar-default-link-hover-color;
          }
        }
      }
    }
  }
}

.navbar-profile {
  @extend .pull-right;

  > li {
    float:left;
    margin-left: 15px;
    margin-top: 15px;

    > a {
      color: $navbar-default-link-color;
      line-height: 30px;
      height: 30px;
      padding: 0;
      text-align: center;
      width: 30px;

      &:hover,
      &:focus,
      &:active {
        background-color: transparent;
      }

      &.img-profile {
        background-color: transparent;
        border: 0;
        line-height: 0;
      }
    }

    .glyphicon-plus {
      color: $navbar-default-link-color;
      margin-left: 1px;
    }
  }

  .open {
    > a,
    > a:focus {
      background-color: transparent;
    }
  }

  @media (max-width: $grid-float-breakpoint) {
    position: absolute;
    top: 0;
    right: 0;

    > li {
      &:last-child {
        margin-right: 15px;
      }
    }
  }

}

.navbar-dropdown-menu {
  right: 0;
  left: auto;

  &:after {
    border-bottom: 10px solid;
    border-right: 10px solid rgba($gray-darker, 0);
    border-left: 10px solid rgba($gray-darker, 0);
    color: darken($navbar-default-bg,10%);
    content: '';
    display: block;
    height: 0;
    margin-left: 2px;
    position: absolute;
    top: -10px;
    right: 10px;
    vertical-align: middle;
    width: 0;
  }

  > li {
    > a {
      color: $navbar-default-link-color;
      padding: 12px 15px;

      &:hover {
        color: $navbar-default-link-hover-color;
        background-color: rgba($gray-darker, 0);
      }
    }
  }

  .divider {
    background-color: rgba($navbar-default-link-color, .15);
    margin: 0;
  }
}

.open > .navbar-dropdown-menu {
  background-color: darken($navbar-default-bg,10%);
  display: block;
  width: 200px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  top: 43px;
  right: -5px;

  @media (max-width: $grid-float-breakpoint) {
    position: fixed;
    width: 100%;
    left: 0;
    top: 58px;

    &:after {
      right: 20px;
    }
  }
}

.navbar-collapse {
  border-top: 0;
}

.navbar-links {
  > li {
    display: inline-block;

    > a {
      color: #303030;
      font-weight: bold;
      padding: 19px 15px;

      &:hover {
        background-color: transparent;
        color: $brand-primary;
      }
    }
  }
}

@media (max-width: 768px) {
  .navbar-brand {
    padding-right: 0;
  }

  .navbar-nav {
    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;
  }

  // Default navbar
  .navbar-default {
    .navbar-toggle-left {
      color: $navbar-default-link-color;
      border: 0;
      float: left;
      margin: 15px 0 0 5px;
      padding: 5px 8px 5px 8px;

      &:hover,
      &:focus,
      &:active {
        color: $navbar-default-link-hover-color;
        background-color: transparent;
      }
    }
  }
}

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

  h1 {
    margin-top: 0;
  }
}

.btn {
  border-color: transparent;
  border-radius: 3px;
  font-weight: 500;
  transition: .3s ease-in-out;

  &:hover {
    border-color: transparent;
  }

  &:active,
  &:focus {
    border-color: rgba($gray-darker, 0.3);
    outline: none 0;
    box-shadow: inset 0 0 200px rgba($gray-darker, 0.3);
  }
}

.btn-default {
  border-color: $btn-default-border;

  &:hover {
    background-color: $btn-default-bg;
    border-color: darken($btn-default-border,15%);
    color: darken($btn-default-color,15%);
  }
}

.btn-lg {
  font-weight: 500;
}

/* Media Object */
.media-welcome {
  .media-left {
    padding-right: 20px;
  }
}

/* Mixin and adjust the regular image class */
.thumbnail {
  background-color: $thumbnail-bg;
  border: 1px solid $thumbnail-border;
  box-shadow: 0 1px 1px rgba($gray-base, 0.03);
  padding: 0;

  > img {
    margin-top: 40px;
  }

  .caption {
    padding: 20px;
    text-align: center;
  }

  .caption-heading {
    color: darken($headings-color,5%);
    font-size: 18px;
    margin-bottom: 15px;
  }

  .caption-meta {
    color: #98a4b0;
    font-size: 13px;
    margin-bottom: 5px;
  }

  .caption-label {
    @extend .label;
    @extend .label-default;
    background-color: #98a4b0;
  }

  .action-bar {
    border-top: 1px solid $sections-border;
    padding: 20px;
    @extend .clearfix;

    ul {
      list-style-type: none;
      margin-bottom: 0;
      margin-left: -10px;
      padding-left: 0;

      li {
        float: left;
        margin-left: 10px;
      }
    }
  }

  .action-add {
    border: 1px dotted
  }

  .btn-add-pet {
    display: inline-block;
    height: 30px;
    width: 30px;
    border: 1px dashed #AAA;
    border-radius: 100%;
    position: relative;

    .glyphicon {
      color: #C3C6CA;
      margin: 5px 0 0 8px;
    }
  }
}

.thumbnail-wrapper {
  margin-bottom: 20px;
}

/* Modals - Search */
.modal-search {
  .modal-dialog {
    border: 0;
    height: 100%;
    margin: 0;
    padding: 0;
    width: 100%;
  }
  
  .modal-content {
    height: 100%;
    box-shadow: none;
    border-radius: 0;
    border: 0;
  }
  
  .modal-header {
    border: 0;
    padding: 50px 0 20px 0;
    
    .close {
      font-size: 34px;
      position: absolute;
      top: 10px;
      right: 10px;
    }
    
    h4 {
      margin-bottom: 5px;
      text-transform: uppercase;
      font-weight: bold;
      font-size: 14px;
    }
  }
  
  .modal-body {
    padding: 0 0 40px;
    
    form {
      background-color: $gray-lighter;
      border-radius: 3px;
      box-shadow: inset 0 -1px 2px rgba(0, 0, 0, 0.03);
    }
    
    .form-control {
      background-color: transparent;
      border-radius: 0;
      border: 0;
      box-shadow: none;
      color: $gray-dark;
      height: 60px;
      padding: 10px 15px;
      font-size: 32px;
      line-height: 60px;
      font-weight: bold;
    }
    
    .btn-default {
      border: 0;
      background: transparent;
      padding: 20;
    }
    
    .glyphicon-search {
      color: $gray-light;
      font-size: 20px;
    }
  }
  
  .modal-seach-result {
    h5 {
      margin-bottom: 20px;
    }
  }
}