body {
  padding-top:51px;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

h1, h2 {
  font-family: "trajan-pro-3",sans-serif;
}

h1, h2 {
  letter-spacing: -1px;
}

h3, h4 {
  font-weight:200;
}

h3 {
  font-size:21px;
  line-height: 1.4;
}

h4 {
  font-size:16px;
  margin-top:1.5em;
}

fieldset {
  border-top:1px solid #eee;
  padding:1.5em 0 1em;
}
legend {
  font-size:14px;
  font-weight:bold;
  border:none;
  padding-top:5px;
  margin:auto;
}
#adoption-dev {
  position:relative;
}
#sash {
  background-image:url(//cdn.shopify.com/s/files/1/0249/1083/t/3/assets/OAP_banner.png?v=16957548837643538617);
  background-repeat:no-repeat;
  background-size:90px 122px;
  background-position:top right;
  width:90px;
  height:122px;
  position:absolute;
  top:98px;
  left:2.5em;
  z-index:945;
}
#price-preview {
  font-size:36px;
  margin:1em 0;
}
#social .pin-btn {
  margin-right:24px;
}
.has-error label {
  color:#b94a48;
}

.logo {
  margin-right: 7px;
  margin-top:-18px;
  max-height:69px;
}

#frame {
  height:275px;
  border-bottom: 1px solid #eee;
  margin-bottom: 1em;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

#frame.donate-header {
  background-image:url(//cdn.shopify.com/s/files/1/0249/1083/t/3/assets/donate_header.jpg?v=2524025191352312741); 
}

#frame.education-header {
  background-image:url(//cdn.shopify.com/s/files/1/0249/1083/t/3/assets/education_header.jpg?v=2176404274812767874);
}

#frame.explore-header {
  background-image:url(//cdn.shopify.com/s/files/1/0249/1083/t/3/assets/explore_header.jpg?v=17032121135749500698);
}

#frame.membership-header {
  background-image:url(//cdn.shopify.com/s/files/1/0249/1083/t/3/assets/membership_header.jpg?v=16328693558330150429);
}

#map {
  height:275px;
  border-bottom:1px solid #eee;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

#map img {
  max-width: none;
}

/* Media Queries */
@media (min-width: 768px) {
  #frame,
  #map {
    height:300px;
  }
}

@media (min-width: 992px) {
  #frame,
  #map {
    height:350px;
  }
}

@media (min-width: 1200px) {
  #frame,
  #map {
    height:400px;
  }
}

#map-canvas {
  height:300px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

#map-canvas h3 {
  margin-top:0;
}

#map-canvas img {
  max-width: none;
}

#meet-form {
  background:#fafafa;
  margin:0 0 1.5em;
  padding:1em 1.5em;
  border-bottom:1px solid #eee;
  border-top:1px solid #eee;
}

#whale-loader {
  background:#000;
  width:44px;
  height:44px;
  padding:10px;
  position:absolute;
  left:45%;
  top:25%;
  border-radius: 10px;
  z-index:999;
}

#whale-loader img {
  width:24px;
  height:24px;
}

#wm-carousel {
  border-bottom:2px solid #000;
}

.lead {
  font-size: 21px;
}

.navbar-inverse .navbar-nav > li > a {
  color:#ccc;
}

.navbar-text {
  margin:5px 0 5px 10px;
}

.navbar-brand {
  padding-top:5px;
  padding-bottom:5px;
}

.navbar-brand img {
  max-height:40px;
  opacity:0.55;
}

.navbar-brand:hover img {
  opacity:1;
}

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .navbar-nav > li > a {
    padding-top:16px;
    padding-bottom:14px;
  }

  .navbar-text {
    margin-top: 16px;
    margin-bottom:14px;
    margin-left:15px;
  }
}

.navbar-inverse .navbar-nav > li > a,
.navbar-inverse .navbar-link {
  font-size:13px;
  font-weight:600;
  text-transform:uppercase;
}

.dropdown-menu > li > a {
  font-weight:400;
}

.gray-section {
  background:#fafafa;
  border-top:1px solid #eee;
  border-bottom:1px solid #eee;
  padding:1.5em 0;
  margin:1.5em 0;
}

.map-caption {
  color:#7e7e7e;
  background:#fafafa;
  font-size:14px;
  line-height:1.1em;
  padding:10px 10px 8px;
  text-align:center;
  margin-bottom:1em;
  border-bottom:1px solid #eee;
}
.map-caption a {
  color:#444;
}

.map-caption a:hover {
  color:#428bca;
}

.no-margin {
  margin:0!important;
}

.popup-form {
  max-width: 600px;
}

.popup-form h3 {
  border-bottom:1px solid #eee;
  margin-top:0;
  padding-bottom:10px;
}

.popup-form .help-block {
  line-height:1.2em;
}

.price {
  font-size:24px;
}

.price del {
  font-size:14px;
  color:#b94a48!important;
}

.quantity-donation {
  min-width:55px;
  max-width:96px;
}

.quantity-field {
  max-width:42px;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.text-right-sm {
  text-align: left;
  margin-bottom:0.5em;
}

.thumbnail {
  margin-bottom:2em;
}

/* Footer */

#footer {
  background: #000;
  margin-top:0;
  padding:1em 0 2em;
}

#footer h4 {
  font-size:13px;
  font-weight:600;
  text-transform:uppercase;
  color: #ccc;
}

#footer ul {
  list-style:none;
  padding:0;
}

#footer ul li {
  font-size:12px;
  list-style:none;
  font-weight:600;
}

#footer #copyright {
  border-top:1px solid #282828;
  color:#999;
  margin:1.5em 0 0;
  padding:2em 0 0;
  text-align:center;
}

#footer #copyright p {
  font-size:12px;
}

/* Newsletter Signup */

#newsletter {
  border-top:1px solid #eee;
  background: #fafafa;
  margin-top:3em;
  padding:1.5em 0;
}

#newsletter h3 {
  font-size:21px;
  font-weight:200;
  margin:0;
}

#newsletter .links a {
  padding-left:21px;
  padding-top:4px;
  font-size:12px;
  height:24px;
  display:inline-block;
}

#newsletter .links a.facebook {
  background-size: 14px 14px;
  background-image:url("//cdn.shopify.com/s/files/1/0249/1083/t/3/assets/facebook-icon.png?v=10728148969756491785");
  background-repeat: no-repeat;
  background-position:0 5px;
  margin-right:14px;
}

#newsletter .links a.instagram {
  background-size: 14px 14px;
  background-image:url("//cdn.shopify.com/s/files/1/0249/1083/t/3/assets/instagram-icon.png?v=12186645744080692892");
  background-repeat: no-repeat;
  background-position:0 5px;
  margin-right:14px;
}

#newsletter .links a.twitter {
  background-size: 24px 24px;
  background-image:url("//cdn.shopify.com/s/files/1/0249/1083/t/3/assets/twitter-icon.png?v=17463117687713466921");
  background-repeat: no-repeat;
  margin-right:14px;
}

#newsletter .links a.signup {
  background-size: 16px 16px;
  background-image:url("//cdn.shopify.com/s/files/1/0249/1083/t/3/assets/email-icon.png?v=9011146658544428883");
  background-repeat: no-repeat;
  background-position:0 5px;
}

#signup, #promo {
  max-width:362px;
}

#promo h3, 
#promo p,
#signup p {
  max-width:362px;
}

#signup h3,
#promo h3 {
  margin-top:0;
}

/* Product Images */



/* Product Tiles */

#products .thumbnail .caption h2 {
  font-size:14px;
  margin:0;
  margin:0;
  line-height:1em;
}

#products .thumbnail .caption p {
  margin:0;
}

#products .thumbnail .caption .price {
  font-size:11px;
  line-height:1.2em;
  color:#999;
}

#products .thumbnail .caption .price del {
  font-size:9px !important;
  line-height:1.2em !important;
  color:#d9534f !important;
}

#products .thumbnail .banner { 
  position:absolute;
  text-transform:uppercase;
  z-index:99;
  font-size:10px;
  line-height:13px;
  left:20px;
  top:5px;
  color:#fff !important;
  background-color:#428bce;
  padding:1px 4px;
  font-weight:200;
  -webkit-box-shadow: 1px 1px 1px rgba(50, 50, 50, 0.3);
  -moz-box-shadow:    1px 1px 1px rgba(50, 50, 50, 0.3);
  box-shadow:         1px 1px 1px rgba(50, 50, 50, 0.3);
}

/* Search Bar */

#search-form {
  width:300px;
  padding:5px 10px;
}

#search .media {
  border-top:1px solid #eee;
  padding-top:1.5em;
}

/* Social Buttons */

#social {
  margin-top:20px;
  padding-top:20px;
  border-top:1px dashed #eee;
}

#social div {
  display:inline-block;
  margin-right:2px;
}

/* Meet The Whales */

#whale-viewer {
  background:#222;
  border-bottom:1px solid #eee;
  height:271px;
  overflow:hidden;
  position:relative;
}

@media (min-width: 768px) {
  .text-right-sm {
    text-align: right;
    margin-bottom:0;
  }

  #whale-viewer {
    height:271px;
  }
}

@media (min-width: 992px) {
  .text-right-sm {
    text-align: right;
    margin-bottom:0;
  }

  #whale-viewer {
    height:350px;
  }
}

@media (min-width: 1200px) {
  .text-right-sm {
    text-align: right;
    margin-bottom:0;
  }
  
  #whale-viewer {
    height:400px;
  }
}

#whale-viewer a img {
  opacity:0.2;
  transition: opacity 0.5s;
  -webkit-transition: opacity 0.5s;
}

#whale-viewer #no-results {
  background:#222;
  border-radius: 10px;
  color:#aaa;
  left:50%;
  margin:-35px 0 0 -104px;
  padding:15px;
  position:absolute;
  text-align:center;
  top:50%;
  z-index:500;
}

#whale-viewer #no-results a {
  color:#eee;
}

#whale-viewer #no-results a:hover {
  color:#fff;
}

/* TODO: Remove this after changeover */
#whales .whale-tile {
  color:#fff;
  position:absolute;
  bottom:3em;
  left:28px;
  text-shadow:#000 1px 1px 0;
  font-size:90%;
}

.orcashop img {
  height:280px; 
  display: block; 
  margin: 0 auto; 
}

.orcashop {
  text-align:center 
}

/* Tag filter dropdown */
.filter .coll-filter {
  padding: 0.5rem 2rem 0.5rem 0.5rem;
  border: 1px solid #ddd;
  border-radius: 3px;
  margin-bottom: 1rem;
}

.filter p {
  margin-bottom: 0.25rem;
}