/* 
Theme Name: K9s Default Theme
Description: Default theme for the K9s For Warriors site. Built on Roots.
Author: feature[23]
Author URI: http://www.feature23.com
Template: roots-master
Version: 1.1
*/

@import "/wp-content/themes/k9sdefault/assets/css/font-awesome.min.css";

/*
Red:  #B81F29
Nav:  #333333
Grey: #fafafa

Sponsor Row: #BBBBBB
Footer: #2A2765
Footer Text: #6E69AD

*/

@import url(http://fonts.googleapis.com/css?family=Lato:400,700,900);

/* HACK.JB - until I figure out what this thing is... */
#wpstats { display: none; }

h1, h2, h3, h4, h5, h6, p, span, a {
    font-family: 'Lato', sans-serif;
}

/* hack.dm I'm adding a css transition on all hovering affects for links */

a, 
a:hover {
  -webkit-transition: all .2s ease;
  -moz-transition: all .2s ease;
  -ms-transition: all .2s ease;
  -o-transition: all .2s ease;
  transition: all .2s ease;
}

img {
    width: auto;
    max-width: 100%;
    height: auto;
}

/* Color Classes */

.k9s-bg-white { background-color: #ffffff !important; }
.k9s-bg-dark-grey { background-color: #333333 !important; }
.k9s-bg-medium-grey { background-color: #bbbbbb !important; }
.k9s-bg-light-grey { background-color: #fafafa !important; }
.k9s-bg-red { background-color: #b81f29 !important; }
.k9s-bg-blue { background-color: #2a2765 !important; }
.k9s-bg-light-blue { background-color: #6e69ad !important; }

.k9s-text-white { color: #ffffff !important; }
.k9s-text-dark-grey { color: #333333 !important; }
.k9s-text-medium-grey { color: #bbbbbb !important; }
.k9s-text-light-grey { color: #fafafa !important; }
.k9s-text-red { color:#b81f29 !important; }
.k9s-text-blue { color: #2a2765 !important; }
.k9s-text-light-blue { color: #6e69ad !important; }

/* End Color Classes */

header.navbar {
    margin-bottom: 0;
}

header #LogoHeader {
  padding: 5em 0;
}

/* Smartphones (portrait and landscape) ----------- */
@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 480px) {
  h1.jumbotron-header {
    font-size: 16pt;
  }

  h1.jumbotron-header span.fa {
    font-size: 0.5em;
  }

  h3 {
    font-size: 14pt;
  }
}

@media only screen 
and (max-device-width : 480px) {
  #LogoHeader {
    display: none;
  }
}

    /*header #LogoHeader.scrolled {*/
        /*display: none;*/
    /*}*/

header #NavHeader {
    background-color: #333;
    border: none;
}

#menu-main-nav > li > a {
  color: #ffffff;
}

  #NavHeader li.active > a {
    background-color: #f8f8f8;
    color: #333333;
  }

#NavHeader li>a:hover {
    background-color: #b81f29;
    color: #ffffff;
}

.navbar-header h4 {
  color: #ffffff;
  padding: 0.25em;
}

.navbar {
  border: none;
}

.navbar-default .navbar-nav>.open>a, 
.navbar-default .navbar-nav>.open>a:hover, 
.navbar-default .navbar-nav>.open>a:focus {
  background-color: #b81f29;
  color: #fff;
}
/*
#NavHeader>li>a:hover {
    background-color: #b81f29;
}*/

@media (max-width: 992px) {
  #LogoHeader li>a.social-icon {
    display: none;
  }
}

.logo {
  width: 165px;
  margin-top: -75px;
}

@media (max-width: 768px) {
  #LogoHeader {
    display: none;
  }
}

.dropdown-menu>li>a:hover, 
.dropdown-menu>li>a:focus {
  background-color: #b81f29;
  color: #fff;
}

.carousel-inner {
  height: auto !important;
}

ul.og-grid > li {
    list-style: none;
}

    ul.og-grid > li > a {
        text-decoration: none;
        color: #000000;
        cursor: pointer;
    }

ul.og-grid.og-grid-homepage > li > a {
  height: 35em;
}

.og-grid li.og-expanded > a::after {
  bottom: -0.75em;
}

.post-content-wrapper img.alignleft {
  margin-right: 1.25em;
  margin-bottom: 1.25em;
}

.post-content-wrapper img.alignright {
  margin-left: 1.25em;
  margin-bottom: 1.25em;
}

#StatsRow {
  padding-top: 0;
}

#StatsRow a.btn {
    border: 3px solid #b81f29;
    background-color: #ffffff;
    color: #b81f29;
    font-size: 200%; /* 24 pt */
    font-weight: bold;
    padding: .75em;
    margin-top: .75em;
}

@media only screen and (max-width : 480px) {
  a.btn {
    font-size: 12pt;
  }
}

    #StatsRow a.btn:hover {
        background-color: #fafafa;
    }

.stats-homepage {
  text-align: center;
}

.stats-homepage img {
    width: 70%;
}

.stats-homepage h2,
.stats-homepage h3 {
/*    margin-top: 0;
*/    color: #2a2765;
    font-weight: bold;
    font-size: 36pt;
    text-align: center;
}

.stats-homepage p {
    font-weight: bold;
    font-size: 14pt;
    text-align: center;
}

.stats-row img {
    width: 80%;
    padding-top: 5%;
    padding-bottom: 5%;
}

.stats-row h3 {
    margin-top: 0;
    color: #2a2765;
    font-weight: bold;
    font-size: 24pt;
}

.stats-row > div:nth-child(2) {
    padding: 0;
}

.stats-row p {
    font-weight: bold;
    font-size: 9pt;
}

.elastislide-carousel {
  margin: auto;
  /*padding-top: 1em;*/
  display: table;
}

#SupportersCarousel li img {
    /*max-width:200px;*/
    border: 2px solid #ffffff;
    padding-left: 30px;
    padding-right: 30px;
    max-height: 120px;
}

footer a {
    color: #6369ad;
}

footer a:hover {
    color: #ffffff;
    text-decoration: none;
}

footer ul {
    list-style: none;
    padding-left: 0;
}


/* Pinterest style columns (for testimonials) */
/* http://cssdeck.com/labs/css-only-pinterest-style-columns-layout */

#columns {
  -webkit-column-count: 2;
  -webkit-column-gap: 10px;
  -webkit-column-fill: auto;
  -moz-column-count: 2;
  -moz-column-gap: 10px;
/*  -moz-column-fill: auto;
*/  column-count: 2;
  column-gap: 15px;
  column-fill: auto;
}

@media (max-width: 768px) {
  #columns {
    -webkit-column-count: 1;
    -moz-column-count: 1;
    column-count: 1;
    margin-bottom: 0;
  }
}

.testimonial {
  /*display: inline-block;*/
  margin: 0 2px 15px;
  -webkit-column-break-inside: avoid;
  -moz-column-break-inside: avoid;
  column-break-inside: avoid;
  padding: 15px;
  padding-bottom: 5px;
}

/* END Pinterest style columns */


a.thumbnail {
    text-decoration: none;
    color: #000000;
    background-color: transparent;
    border: none;
}

a.thumbnail > img:not(.img-thumbnail) {
    border: 3px #fff solid;
}

.content-row {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.btn.btn-primary {
    background-color: #b81f29 !important;
    border-color: #b81f29 !important;
}

.wrap.container {
    padding: 0;
    width: 100%;
}

.navbar-default .navbar-nav>li>a,
.navbar-default .navbar-brand {
    /*color: #fafafa !important;*/
}

.navbar-default .navbar-nav>li>a:hover,
.navbar-default .navbar-brand:hover {
  /*background-color: #b81f29;*/
  color: #fff;
}

ul.nav.navbar-nav.navbar-right li a.donate {
  color: #fff;
}

ul.nav.navbar-nav.navbar-right li a:hover.donate {
  color: #fff;
}

ul.nav.navbar-nav.navbar-right li a {
  color: inherit;
}

ul.nav.navbar-nav.navbar-right li a:hover {
  color: #b81f29;
}

@media only screen and (max-width : 992px) {
  a.social-icon {
    display: none;
  }
}


/* Jumbotron */

.jumbotron {
    position: relative;
    padding: 0;
}
    .jumbotron img {
        width: 100%;
    }

    .pre-jumbotron-header {
      padding: 0.6em;
      margin: 0;
      text-align: center;
      color: #ffffff;
      background-color: #777777;
    }

    .jumbotron .jumbotron-header {
        margin-top: 0;
        margin-bottom: 0;
        padding-top: 0.6em;
        padding-bottom: 0.6em;
        text-align: center;
        color: #ffffff;
        background-color: #444444;
        /*opacity: .55;*/
    }

    .jumbotron .jumbotron-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        background-color: #222222;
        opacity: .65;
        z-index: 1;
    }

@media only screen and (max-width : 480px) {
  .jumbotron .jumbotron-header {

  }

  .jumbotron .jumbotron-overlay {

  }
}

/* End Jumbotron */

a.img-overlayed {
    position: relative;
}

a.img-overlayed:hover div.img-overlay {
    display: block;
}

.img-overlay {
    position: absolute;
    height: 96%;
    width: 96%;
    top: 2%;
    left: 2%;
    background-color: #6e69ad;
    opacity: .65;
    display: none;
}

ul.nav > li > a.fa {
    font-size: 5rem;
}

ul.nav.navbar-nav.navbar-right li:nth-child(5) {
    margin-right: 19rem;
}

.fa.fa-star {
    font-size: 32pt;
    vertical-align: middle;
    margin: 0px 22px;
    padding-bottom: .2em;
}

.tagline {
    color: #B81F29;
    font-weight: bold;
    text-transform: uppercase;
    max-width: 65%;
}

.aside-box {
    background-color: #ededed;
    padding: 1.5em;
    margin-top: 1.5em;
    margin-bottom: 1.5em;
    -webkit-box-shadow: 1px 1px 1px 1px #aaaaaa;
    -moz-box-shadow: 1px 1px 1px 1px #aaaaaa;
    box-shadow: 1px 1px 1px 1px #aaaaaa;
}

.aside-box:nth-child(1) {
    margin-top: 0;
}

.aside-box h3 {
    margin-top: 0;
}


/* Hero Unit with Inset */
@media only screen
and (max-width : 1224px) {
    .hero-callout {
        display: none;
    }
}

.hero-content-wrapper {
    position: relative;
}

.hero-content-wrapper img {
    width: 100%;
}

@media (max-width: 768px) {
  .hero-content-wrapper img {
    min-height: 250px;
  }

  .row.stats-row {
    text-align: center;
  }

    .row.stats-row img {
      width: 50%;
    }
}


.hero-callout {
  position: absolute;
  bottom: 40%;
  right: 10%;
  padding: 15px;
  width: 450px;
  height: 40%;
}

.hero-callout p {
    font-size: 16px;
}

.hero-callout button {
    margin-top: 20px;
}

@media screen and (min-width: 768px) {
  .carousel-indicators {
    bottom: -80px;
  }
}

.carousel-indicators {
  color: #bbb;
}
.carousel-indicators li {
  display: inline-block;
  width: auto;
  height: auto;
  margin: 0 4px;
  text-indent: inherit;
  border: none;
  border-radius: 0px;
  cursor: pointer;
  font-size: 24px;
}

.carousel-indicators .active {
  color: #b81f29;
  background-color: transparent;
  height: auto;
  width: auto;
  /*margin: 0 4px;*/
}

.carousel-caption {
    padding-bottom: 60px;
}

.carousel-control {
  opacity: 1;
}

.carousel-inner {
  height: 400px;
}

.carousel-control.left,
.carousel-control.right {
  background-image: none;
}

.carousel-control .icon-prev, 
.carousel-control .glyphicon-chevron-left,
.carousel-control .icon-next, 
.carousel-control .glyphicon-chevron-right {
  background-color: rgba(0,0,0,.65);
  padding: .45em;
  -webkit-border-radius: 1000px;
    -moz-border-radius: 1000px;
      border-radius: 1000px;
}

/* End Hero Unit with Inset */

.container.content-row h2 {
  margin-left: auto;
  margin-right: auto;
  float: none;
  padding: 3em 0;
  width: 91%;
  font-weight: 900;
  line-height: 1.4;
}

article > h4 {
  font-weight: 900;
}

article a.thumbnail img {
/*   width: 220px; */
  width: inherit;
  height: 220px;
}

@media (max-width: 360px) {
  article a.thumbnail img {
    height: auto;
  }

  #StatsRow a.btn {
    font-size: 1.4em;
  }

  .fa.fa-star {
    font-size: 1em;
    margin-left: 5px;
    margin-right: 5px;
  }

  .carousel-control {
    font-size: 1em;
  }

  .content-row {
    padding-top: 0.5em;
  }

  .container.content-row h2 {
    padding-top: 0.5em;
    padding-bottom: 0.5em;
  }

  #og-grid {
    overflow: hidden;
  }
}