/* GLOBAL STYLES
    -------------------------------------------------- */
/* Padding below the footer and lighter body text */

body {
    padding-bottom: 40px;
    color: #5a5a5a;
    /* Background image from www.subtlepatterns.com  */
    background: transparent url('../images/dark_wood.png') scroll repeat;
}

h1, .h1 {
    font-weight: 800;
}

a {
    color: #679043;
}

a:hover {
    color: #3b6417;
}

.center {
    text-align: center;
}

.syntaxhighlighter {
    padding: 8px 0;
}

.twitter, .facebook, .linkedin, .googleplus, .email, .rss {
    position: relative;
    display: inline-block;
    width: 64px;
    height: 64px;
    margin: 2px;
    padding: 0px;
    background-color: transparent;
    background-image: url('../images/social.png');
}

.twitter {
    background-position: left top;
}

    .twitter:hover {
        background-position: left bottom;
    }

.facebook {
    background-position: -64px top;
}

    .facebook:hover {
        background-position: -64px bottom;
    }

.linkedin {
    background-position: -128px top;
}

    .linkedin:hover {
        background-position: -128px bottom;
    }

.googleplus {
    background-position: -192px top;
}

    .googleplus:hover {
        background-position: -192px bottom;
    }

.email {
    background-position: -256px top;
}

    .email:hover {
        background-position: -256px bottom;
    }

.rss {
    background-position: right top;
}

    .rss:hover {
        background-position: right bottom;
    }

/* CUSTOMIZE THE NAVBAR
    -------------------------------------------------- */

/* Special class on .container surrounding .navbar, used for positioning it into place. */
.navbar-wrapper {
    position: relative;
    z-index: 10;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Remove border and change up box shadow for more contrast */
.navbar .navbar-inner {
    border: 0;
    -webkit-box-shadow: 0 2px 10px rgba(0,0,0,.25);
    -moz-box-shadow: 0 2px 10px rgba(0,0,0,.25);
    box-shadow: 0 2px 10px rgba(0,0,0,.25);
}

/* Navbar links: increase padding for taller navbar */
.navbar .nav > li > a {
    padding: 15px 20px;
}

/* Offset the responsive button for proper vertical alignment */
.navbar .btn-navbar {
    margin-top: 10px;
}

.nav-pills>li.active>a, .nav-pills>li.active>a:hover, .nav-pills>li.active>a:focus {
    color: #fff;
    background-color: #6b9447;
}

.nav > li > a:hover, .nav > li > a:focus {
    color: #fff;
    background-color: #3b6417;
}


/* CONTENT
    -------------------------------------------------- */

.page-header {
    margin-top: 20px;
}

.maincontent {
    min-height: 35px;
    margin-bottom: 15px;
    padding: 1% 2%;
    background-color: #ffffff;
    border: 1px solid #e3e3e3;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: 0 0px 5px rgba(0,0,0,.5);
    -moz-box-shadow: 0 0px 5px rgba(0,0,0,.5);
    box-shadow: 0 0px 5px rgba(0,0,0,.5);
}

    /* Center align the text within the three columns below the carousel */
    .maincontent .span4 {
        text-align: center;
    }

    .maincontent h2 {
        font-weight: normal;
    }

    .maincontent .span4 p {
        margin-left: 10px;
        margin-right: 10px;
    }


/* Featurettes
    ------------------------- */

.featurette {
    padding-top: 120px; /* Vertically center images part 1: add padding above and below text. */
    overflow: hidden; /* Vertically center images part 2: clear their floats. */
}

.featurette-image {
    margin-top: -120px; /* Vertically center images part 3: negative margin up the image the same amount of the padding to center it. */
}

    /* Give some space on the sides of the floated elements so text doesn't run right into it. */
    .featurette-image.pull-left {
        margin-right: 40px;
    }

    .featurette-image.pull-right {
        margin-left: 40px;
    }

/* Thin out the marketing headings */
.featurette-heading {
    font-size: 50px;
    font-weight: 300;
    line-height: 1;
    letter-spacing: -1px;
}

footer {
    color: #ccc;
}

/* RESPONSIVE CSS
    -------------------------------------------------- */

@media (max-width: 979px) {

    .container.navbar-wrapper {
        margin-bottom: 0;
        width: auto;
    }

    .navbar-inner {
        -moz-border-radius: 0;
        -webkit-border-radius: 0;
        border-radius: 0;
        margin: -20px 0;
    }

    .carousel .item {
        height: 500px;
    }

    .carousel img {
        width: auto;
        height: 500px;
    }

    .featurette {
        height: auto;
        padding: 0;
    }

    .featurette-image.pull-left,
    .featurette-image.pull-right {
        display: block;
        float: none;
        max-width: 40%;
        margin: 0 auto 20px;
    }
}


@media (max-width: 767px) {

    .navbar-inner {
        margin: -20px;
    }

    .carousel {
        margin-left: -20px;
        margin-right: -20px;
    }

        .carousel .container {
        }

        .carousel .item {
            height: 300px;
        }

        .carousel img {
            height: 300px;
        }

    .carousel-caption {
        width: 65%;
        padding: 0 70px;
        margin-top: 100px;
    }

        .carousel-caption h1 {
            font-size: 30px;
        }

        .carousel-caption .lead,
        .carousel-caption .btn {
            font-size: 18px;
        }

    .maincontent .span4 + .span4 {
        margin-top: 40px;
    }

    .featurette-heading {
        font-size: 30px;
    }

    .featurette .lead {
        font-size: 18px;
        line-height: 1.5;
    }
}
