/*
Theme Name: Sutherland Distilling
Theme URI: http://sutherlanddistilling.com
Description: A wordpress theme developed with 
<a href="http://twitter.github.io/bootstrap">Bootstrap</a>
for <a href="http://sutherlanddistilling.com">Sutherland Distilling</a>.

Author: Jeff Larimer 
Author URI: http://sutherlanddistilling.com/
Version: 1.0
Tags: bootstrap

License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Thanks to Zac Gordon for help getting started using Bootstrap with Wordpress:
http://blog.teamtreehouse.com/responsive-wordpress-bootstrap-theme-tutorial
*/

@import url('bootstrap/css/bootstrap.css'); 
@import url('bootstrap/css/bootstrap-responsive.css');

body {
    font: 16px 'Roboto', sans-serif;
    font-weight: 400;
    background-color: #000;
}

/* For single-column template */
.span12 {
    width: 910px;
}

/* General styles */

hr {
    margin: 0;
    color: #810E15;
    border: 0;
}

h1 {
    font-size: 22px;
    color: #810E15;
    border-bottom: 2px solid #810E15;
}

h2 {
    font-size: 20px;
    color: #B27019;
}

h3 {
    font-size: 18px;
    color: #000;
    text-decoration: underline;
}

a {
    color: #B27019;
}

a:hover {
    color: #810E15;
    text-decoration: none;
}

/* Banner styles **/
.banner {
    width: 100%;
    position: absolute;
}

.banner.chrome-bar {
    background: url(images/chrome.png) center center fixed;
    background-size: cover;
    height: 40px;
    top: 50px;
}

.banner.chrome-bar-lines {
    border-top: 1px solid #999;
    border-bottom: 1px solid #999;
    height: 32px;
    position: absolute;
    top: 53px;
}

/* Main part of page, w/transparency over background image */
.main {
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center center;
}

.main.home {
    background-image: url(images/bg-home.jpg);
}

.main.about {
    /* Image from:
       http://farmhousemalt.blogspot.com/2013/07/
       why-maltster-must-understand-brewing.html */
    background-image: url(images/bg-about.jpg);
}

.main.spirits {
    background-image: url(images/bg-spirits.jpg);
}

.main.distillery {
    background-image: url(images/bg-distillery.jpg);
}

.main.availability {
    background-image: url(images/bg-availability.jpg);
}

.main.contact {
    background-image: url(images/bg-contact.jpg);
}

/* Navbar */

.navbar {
    position: absolute;
    width: 960px;
    left: 46%;
    margin-left: -480px;
}

/* logo */
.navbar .brand {
    position: absolute;
    top: 0;
    z-index: 1;
}

.navbar .nav {
    margin-top: 47px;
    width: 800px;
    padding-left: 320px;
    z-index: 0;
}

.navbar-inner {
    background: none;
    box-shadow: none;
    border: none;
}

/* Override of Bootstrap IE issue:
 * http://stackoverflow.com/questions/15911272/bootstrap-ie-background-color-issue
 */
.navbar-inner {
    filter: none;
}

.navbar .nav > li a {
    font-weight: 800;
    color: #000;
    padding: 14px;
    text-transform: uppercase;
    text-shadow: none;
}

.navbar .nav > li > a:focus, .navbar .nav > li > a:hover, 
.navbar .nav > li.current_page_item > a,
.navbar .nav > li.current_page_parent >a,
.navbar .nav > li.current_page_ancestor > a {
    color: #810E15;
}

/* Content body of pages */
.content-container {
    /* don't allow bootstrap's responsive css to 
       stretch the content container beyond 940
       on larger screens */
    max-width: 940px;
}

.content {
    height: auto;
    min-height: 570px;
    background: #FFF;
    background: rgba(255,255,255,0.90);
    margin: 150px 0px 35px 0;
    padding: 0 20px;
    overflow: hidden;
}

.content .content-body {
    max-height: 450px;
    overflow: auto;
}

.content .wp-post-image {
    margin-top: 50px;
}

/* Sub-nav */
.subnav h1 a {
    color: #810E15;
}

.subnav h1 a:hover {
    color: #B27019;
}

.nav-pills li {
    display: table-cell;
    border-left: 1px solid #930000;
    vertical-align: middle;
}

.nav-pills li:first-of-type {
    border-left: none;
}

.nav-pills li a {
    font-size: 18px;
    padding: 4px 10px;
    margin: 0;
}

.nav-pills .current_page_item a {
    color: #000;
}

.nav > li > a:hover, .nav > li > a:focus {
    color: #000;
    background-color: transparent;
}

/* Image Galleries */
#pageGallery {
    margin-top: 50px;
    width: 165px;
    margin-left: auto;
    margin-right: auto;
}

#pageGallery img {
    border: 2px solid #cbcbcb;
}

/* override of gallery style */
.gallery_box_single .gallery.clearfix {
    display: inline;
}

/* Footer */
footer {
    padding: 5px;
    border-top: 2px solid #999;
    border-bottom: 2px solid #999;
    color: #fff;
    font-weight: normal;
}

footer .copyright {
    font-size: 12px;
}

/* Homepage carousel */

.home .content {
    background: none;
    min-height: 1px;
}

.carousel-wrapper {
    background: url(images/chrome.png) center center fixed;
    background-size: cover;
    width: 862px;
    margin: auto;
    padding: 6px 0;
    border-radius: 3px;
}

.carousel {
    width: 850px;
    margin: 0 auto;
}

/* Over-21 modal */
body.splash {
    background-color: #555;
    color: #fff;
}

#over-21-modal > .modal-body {
    background-color: #000;
    padding-top: 50px;
    margin-bottom: 0;
    min-height: 400px;
}

#over-21-modal .over-21-text {
    margin: 50px;
    font-size: 2em;
    font-weight: bold;
}

#over-21-modal .chrome-bar {
    background: url(images/chrome.png) no-repeat center center fixed;
    background-size: cover;
    margin: 20px auto;
    width: 250px;
    border-radius: 50px;
    height: 40px;
    padding-top: 20px;
    font-size: 1.2em;
}

#over-21-modal a {
    cursor: pointer;
    margin: 0 35px;
}

/* Coming soon page */
body.coming-soon {
    background-color: #000;
    color: #FFF;
}

.coming-soon > div {
    margin-top: 150px;
}

.coming-soon-text {
    margin-top: 70px;
    font-size: 1.5em;
    font-weight: bold;
}

.coming-soon-links {
    margin-top: 80px;
}

.coming-soon-links a {
    margin: 0 50px;
    text-decoration: none;
}

/** Overrides for mobile **/
@media only screen 
and (min-width : 320px) 
and (max-width : 560px) {
    /* nav links horizontal stack */
    .navbar .nav {
        width: 200px !important;
        margin-left: 20px !important;
    }
    /* min size, constant background so
     * nav links are visible */
    .main {
        min-height: 300px !important;
        background-image: url(images/bg-home.jpg) !important;
    }
    /* Remove chrome banner */
    .banner.chrome-bar, .banner.chrome-bar-lines {
        background: none !important;
        border: none !important;
    }
    /* push content down below nav stack */
    .content {
        margin-top: 300px !important;
    }
    /* hide carousel on home page */
    .carousel-wrapper {
        display: none;
    }
    /* push email link/img down */
    footer .footer-email {
        display: block !important;
    }
}