/*
$navbar-default-link-active-bg:            darken($navbar-default-bg, 6.5%) !default;
$navbar-default-link-disabled-color:       #ccc !default;
$navbar-default-link-disabled-bg:          transparent !default;
*/

#app-layout {
  min-height: 100%;
  position: relative;
  width: 100%;
}

#main-content {
  min-height: 100%;
  margin-bottom: -87px;
  padding-bottom: 140px;
}

#footer {
  z-index: 1005;
  font-size: 13px;
}

#homepage-intro {
  margin: 0 0 60px 0;
  text-align: center;
}

#homepage-intro h1 {
  font-size: 22px;
  margin: 30px 0 10px 0;
}

#homepage-intro p {
  font-size: 22px;
  font-weight: 500;
}

@media (max-width: 480px) {
  #homepage-intro h1 {
    font-size: 18px;
  }

  #homepage-intro p {
    font-size: 18px;
  }
}

.login-header {
  font-size: 20px;
  line-height: 1.6;
  margin: 30px 0;
  text-align: center;
}

#no-pets-message {
  text-align: center;
}

#no-pets-message h1 {
  font-size: 28px;
  margin-bottom: 30px;
}

#no-pets-message div {
  margin-bottom: 60px;
}

#no-pets-message div p {
  font-size: 19px;
  font-weight: 500;
}

.flex-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  margin: 0 -15px;
}

.adv-box {
  background: #fff;
  height: 100%;
}

#cropbox .image-placeholder {
  max-height: 600px;
}

.lost-badge {
  background: url("/assets/img/corner-lost.png") top left no-repeat;
  position: absolute;
  top: 0;
  right: 15px;
  z-index: 999;
  height: 100px;
  width: 100px;
}

#login-to-continue {
  display: none;
  line-height: 1.5em;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 120px 0 0 0;
  background: rgba(0, 0, 0, 0.85);
  overflow: hidden;
  z-index: 9999;
}

.popup-pet {
  background: #fff;
  margin: 0 auto;
  max-width: 935px;
  width: 100%;
}

.popup-content {
  padding-right: 435px;
  position: relative;
  width: 100%;
}

.popup-image img {
  max-height: 100%;
}

.popup-description {
  position: absolute;
  right: 0;
  top: 0;
  width: 400px;
}

.btn-order {
  background: #d1e990 -webkit-gradient(linear, left bottom, left top, from(#aad75d), to(#d1e990));
  background: #d1e990 linear-gradient(to top, #aad75d, #d1e990);
  border: 1px solid #9dba60;
  border-radius: 2px;
  color: #54770f !important;
}

.btn-order:hover {
  background: #aad75d -webkit-gradient(linear, left bottom, left top, from(#d1e990), to(#aad75d));
  background: #aad75d linear-gradient(to top, #d1e990, #aad75d);
  border: 1px solid #9dba60;
  color: #54770f !important;
}

.swiper-wrapper {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

/*
.swiper-wrapper .swiper-slide {
    text-align: center;
}
*/

.swiper-wrapper .swiper-slide img {
  max-height: 100%;
  max-width: 100%;
}

.swiper-pagination {
  padding: 10px 0 0 0;
  position: relative !important;
}

.swiper-button-prev,
.swiper-button-next {
  background-color: rgba(30, 30, 30, 0.8);
  background-image: url("data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjRkZGRkZGIiBoZWlnaHQ9IjQ4IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSI0OCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4gICAgPHBhdGggZD0iTTAgMGgyNHYyNEgweiIgZmlsbD0ibm9uZSIvPiAgICA8cGF0aCBkPSJNMTIgNGwtMS40MSAxLjQxTDE2LjE3IDExSDR2MmgxMi4xN2wtNS41OCA1LjU5TDEyIDIwbDgtOHoiLz48L3N2Zz4=") !important;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 24px 24px !important;
  height: 44px !important;
  width: 44px !important;
}

.swiper-button-prev {
  left: 0px !important;
  -webkit-transform: scaleX(-1);
          transform: scaleX(-1);
}

.swiper-button-next {
  right: 0px !important;
}

.drop-image {
  margin: 20px 0;
}

.drop-image a {
  border: 2px dashed #dee5e7;
  display: block;
  font-size: 50px;
  height: 200px;
  width: 200px;
  margin: 0 auto;
  position: relative;
  text-align: center;
}

.drop-image .add-image-button {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}

.news-article img {
  max-width: 100%;
}

/**
    User profile
*/

#cover {
  -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
          box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

#cover-image {
  background-position: center center;
  background-size: cover;
  height: 260px;
  padding: 20px;
}

#profile-header {
  background: #fff;
  padding: 15px;
}

#profile-header h1 {
  display: inline-block;
}

#profile-header h1 small {
  font-size: 13px;
  margin-left: 15px;
}

#profile-header .thumb-lg {
  margin-top: -63px;
  position: relative;
  z-index: 999;
}

#profile-header .thumb-lg img {
  border: #fff 2px solid;
  background-color: #fff;
}

#profile-header .social-stats {
  float: right;
}

#profile-header .follow-button {
  float: left;
  margin: 0 30px 0 0;
}

#profile-tabs {
  background: #fff;
  margin-bottom: 30px;
}

#profile-tabs.sticky {
  position: fixed;
  top: 0px;
  margin: 0 auto;
  -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
          box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
  z-index: 999;
}

#profile-tabs .nav-pills > li + li {
  margin: 0;
}

#profile-tabs .nav > li > a {
  border-bottom: #ffffff 2px solid;
  border-radius: 0;
  color: #98a6ad;
  padding: 12px 24px;
  text-align: center;
}

#profile-tabs .nav > li > a > i {
  margin-right: 6px;
}

#profile-tabs .nav > li > a:hover {
  border-bottom: #f2f2f2 2px solid;
}

#profile-tabs .nav > li > a.router-link-exact-active {
  background: #fff;
  border-bottom: #4267b2 2px solid;
  color: #4267b2 !important;
}

#profile-tabs .action-buttons {
  float: right;
}

#profile-tabs.sticky .action-buttons {
  display: none;
}

.cc-window.cc-banner {
  font-size: 13px;
  padding: 5px 10px;
}

.nav .btn-outline {
  background: transparent;
  border: #fff 3px solid;
  border-radius: 30px;
  color: #fff;
  padding: 5px 14px;
}

.nav .btn-outline:hover,
.nav .btn-outline:active {
  color: #4267b2 !important;
  background-color: #fff !important;
}

/**
 *  Homepage
 */

#homepage {
  background: #fff;
  font-family: 'Montserrat', sans-serif;
}

#homepage .intro {
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(66, 103, 178, 0.8)), to(rgba(66, 103, 178, 0.8))), url(/images/frontpage_header.jpg?c6e54602146a9822db8e5c00e6605fd2);
  background-image: linear-gradient(rgba(66, 103, 178, 0.8), rgba(66, 103, 178, 0.8)), url(/images/frontpage_header.jpg?c6e54602146a9822db8e5c00e6605fd2);
  background-color: #363f48;
  background-size: cover;
  background-attachment: scroll;
  background-position: center;
  color: #fff;
  padding: 200px 0;
  text-align: center;
}

#homepage .intro .title {
  font-size: 36px;
  margin: 0 0 30px 0;
}

#homepage .intro .slogan {
  font-size: 16px;
}

#homepage .intro .btn-outline {
  background: transparent;
  border: #fff 3px solid;
  border-radius: 30px;
  color: #fff;
  margin-top: 120px;
  padding: 14px 30px;
}

#homepage .intro .btn-outline:hover {
  background: #fff;
  color: #4267b2;
  font-weight: bold;
}

#homepage .search {
  padding: 85px 0;
  text-align: center;
}

#homepage .search .title {
  color: #4267b2;
  font-size: 36px;
  line-height: 58px;
}

#homepage .features {
  padding: 85px 0;
  text-align: center;
}

#homepage .features .title {
  color: #1c2b36;
  font-size: 36px;
  line-height: 58px;
}

#homepage .features .lead {
  font-size: 16px;
  margin-bottom: 50px;
}

#homepage .features .feature-items .item {
  border: 2px solid #f2f6fa;
  border-radius: 3px;
  margin: 0 0 20px 0;
  padding: 30px 0;
  text-align: center;
}

#homepage .features .feature-items .item .item-title {
  font-size: 20px;
  line-height: 32px;
  margin: 10px 0;
}

#homepage .features .feature-items .item .item-icon {
  color: #4267b2;
  font-size: 60px;
  line-height: 60px;
}

#homepage .features .feature-items .item .item-descr {
  color: #818e9b;
  font-size: 14px;
  line-height: 22px;
}

#homepage .pets {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-flow: row wrap;
          flex-flow: row wrap;
}

#homepage .pets .item {
  -webkit-box-flex: 1;
      -ms-flex: 1 20%;
          flex: 1 20%;
  overflow: hidden;
  positopn: relative;
}

#homepage .pets .item .item-title {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  z-index: 10;
  color: #fff;
  font-size: 20px;
  line-height: 32px;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

#homepage .pets .item img {
  -webkit-transform: scale(1);
  transform: scale(1);
  -webkit-transition: .3s ease-in-out;
  transition: .3s ease-in-out;
}

#homepage .pets .item:hover img {
  -webkit-transform: scale(1.3);
  transform: scale(1.3);
}

#homepage .mobile-app {
  padding: 85px 0;
}

#homepage .mobile-app .title {
  color: #1c2b36;
  font-size: 36px;
  line-height: 58px;
  text-align: center;
}

#homepage .mobile-app .block-title {
  font-size: 24px;
  margin-top: 100px;
  margin-bottom: 20px;
}

#homepage .mobile-app .btn-outline {
  background: transparent;
  border: #4267b2 3px solid;
  border-radius: 30px;
  color: #4267b2;
  margin-top: 40px;
  padding: 14px 30px;
}

#homepage .mobile-app .btn-outline:hover {
  color: #4267b2;
  opacity: 0.8;
}

#homepage .register {
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(66, 103, 178, 0.8)), to(rgba(66, 103, 178, 0.8))), url(/images/frontpage_footer.jpg?c53c1959ee620acc6ba5c4c7af8ad0ba);
  background-image: linear-gradient(rgba(66, 103, 178, 0.8), rgba(66, 103, 178, 0.8)), url(/images/frontpage_footer.jpg?c53c1959ee620acc6ba5c4c7af8ad0ba);
  background-color: #363f48;
  background-size: cover;
  background-attachment: scroll;
  background-position: center;
  color: #fff;
  padding: 150px 0;
  text-align: center;
}

#homepage .register .title {
  font-size: 36px;
  margin: 0 0 30px 0;
}

#homepage .register .slogan {
  font-size: 16px;
  font-weight: 700;
}

#homepage .register .slogan > p {
  margin-bottom: 20px;
}

#homepage .register .btn-outline {
  background: transparent;
  border: #fff 3px solid;
  border-radius: 30px;
  color: #fff;
  margin-top: 120px;
  padding: 14px 30px;
}

#homepage .register .btn-outline:hover {
  background: #fff;
  color: #4267b2;
  font-weight: bold;
}

@media (max-width: 480px) {
  #homepage .intro {
    padding: 100px 0;
  }

  #homepage .search {
    padding: 30px 0;
  }

  #homepage .search .title {
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 20px;
  }

  #homepage .features {
    padding: 30px 0;
  }

  #homepage .features .title {
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 20px;
  }

  #homepage .pets {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }

  #homepage .pets .item {
    -webkit-box-flex: 2;
        -ms-flex: 2 50%;
            flex: 2 50%;
  }

  #homepage .mobile-app {
    padding: 30px 0;
  }

  #homepage .mobile-app .title {
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 20px;
  }

  #homepage .mobile-app .block-title {
    margin: 10px 0;
    text-align: center;
  }

  #homepage .mobile-app .btn-outline {
    margin: 20px 0;
  }

  #homepage .register {
    padding: 20px 0;
  }
}

@media (max-width: 600px) {
  #cover {
    position: relative;
  }

  #cover-image {
    height: 160px;
  }

  #profile-tabs .nav > li > a {
    padding: 12px 16px;
  }

  #profile-header .social-stats {
    clear: both;
    float: none;
    margin-top: 10px;
    text-align: right;
  }

  #profile-tabs .action-buttons {
    position: absolute;
    top: 170px;
    right: 0;
  }

  #profile-tabs .action-buttons a,
  #profile-tabs .action-buttons button {
    border-radius: 50px;
  }

  #profile-tabs .action-buttons a > span,
  #profile-tabs .action-buttons button > span {
    display: none;
  }
}

@media (max-width: 480px) {
  #profile-header {
    position: relative;
  }

  #profile-header h1 {
    clear: both;
    display: block;
    font-size: 20px;
    padding: 10px 0;
  }

  #profile-header h1 small {
    display: block;
    margin: 0;
  }

  #profile-header .social-stats {
    clear: both;
    float: none;
    margin-top: 10px;
    text-align: center;
  }

  #profile-header .follow-button {
    float: none;
    margin: 0;
  }

  #profile-tabs .nav > li > a {
    padding: 12px 12px;
  }

  #profile-tabs .nav > li > a > i {
    display: none;
  }
}

/* max-width 640px, mobile-only styles, use when QAing mobile issues */

@media only screen and (max-width: 40em) {
  .row > .col-xs-6:nth-child(2n+1) {
    clear: left;
  }

  .navbar-default .navbar-toggle .icon-bar {
    background-color: #ffffff;
  }

  .adv-image {
    height: auto;
  }

  .adv-image img {
    position: static;
  }

  #login-to-continue {
    padding: 20px 0 0 0;
    position: absolute;
  }

  #cropbox .image-placeholder {
    max-height: 400px;
  }
}

/* min-width 641px and max-width 1024px, use when QAing tablet-only issues */

