/*
 * Global
 */

body {
    padding-top: 60px;
    padding-bottom: 40px;
}
h1, h2, h3, h4 {
  font-family: 'Marvel', sans-serif;
  font-weight: 700;
}

a {
  color: #648930;
}
a:hover {
  color: #91cf45;
  text-decoration: none;
}

/*
 * Navigation bar
 */

.navbar {
    opacity: 0.85;
}
.navbar-follow-us {
    opacity: 1;
}
.navbar-follow-us .form-text {
    display: inline-block;
    color: #ffffff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 16px;
    vertical-align: middle;
    padding-right: 10px;
}
.navbar-follow-us .navbar-inner {
    padding-left: 10px;
    padding-right: 10px;
    border-top: none;
    /* Old browsers */
    background: rgb(100,137,48);
    /* FF3.6+ */
    background: -moz-linear-gradient(
        top,
        rgba(100,137,48,1) 0%,
        rgba(145,207,69,1) 100%
    );
    /* Chrome,Safari4+ */
    background: -webkit-gradient(
        linear,
        left top,
        left bottom,
        color-stop(0%,rgba(100,137,48,1)),
        color-stop(100%,rgba(145,207,69,1))
    );
    /* Chrome10+,Safari5.1+ */
    background: -webkit-linear-gradient(
        top,
        rgba(100,137,48,1) 0%,
        rgba(145,207,69,1) 100%
    );
    /* Opera 11.10+ */
    background: -o-linear-gradient(top,
        rgba(100,137,48,1) 0%,
        rgba(145,207,69,1) 100%
    );
    /* IE10+ */
    background: -ms-linear-gradient(
        top,
        rgba(100,137,48,1) 0%,
        rgba(145,207,69,1) 100%
    );
    /* W3C */
    background: linear-gradient(
        to bottom,
        rgba(100,137,48,1) 0%,
        rgba(145,207,69,1) 100%
    );
    /* IE6-9 */
    filter: progid:DXImageTransform.Microsoft.gradient(
        startColorstr='#648930',
        endColorstr='#91cf45',
        GradientType=0
    );
}
.btn.social-media {
    padding-right: 2px;
    padding-left: 2px;
}

/*
 * Page header
 */

.ts-logo {
    float: left;
    margin-right: 1em;
    /* Old browsers */
    background: rgb(100,137,48);
    /* FF3.6+ */
    background: -moz-linear-gradient(
        top,
        rgba(100,137,48,1) 0%,
        rgba(145,207,69,1) 100%
    );
    /* Chrome,Safari4+ */
    background: -webkit-gradient(
        linear,
        left top,
        left bottom,
        color-stop(0%,rgba(100,137,48,1)),
        color-stop(100%,rgba(145,207,69,1))
    );
    /* Chrome10+,Safari5.1+ */
    background: -webkit-linear-gradient(
        top,
        rgba(100,137,48,1) 0%,
        rgba(145,207,69,1) 100%
    );
    /* Opera 11.10+ */
    background: -o-linear-gradient(top,
        rgba(100,137,48,1) 0%,
        rgba(145,207,69,1) 100%
    );
    /* IE10+ */
    background: -ms-linear-gradient(
        top,
        rgba(100,137,48,1) 0%,
        rgba(145,207,69,1) 100%
    );
    /* W3C */
    background: linear-gradient(
        to bottom,
        rgba(100,137,48,1) 0%,
        rgba(145,207,69,1) 100%
    );
    /* IE6-9 */
    filter: progid:DXImageTransform.Microsoft.gradient(
        startColorstr='#648930',
        endColorstr='#91cf45',
        GradientType=0
    );
}

.ts-page-header {
    text-align: right;
     /* FF3.6+ */
    background: -moz-linear-gradient(
        top,
        rgba(255,255,255,0.01) 0%,
        rgba(255,255,255,1) 100%
    );
     /* Chrome,Safari4+ */
    background: -webkit-gradient(
        linear,
        left top,
        left bottom,
        color-stop(0%,rgba(255,255,255,0.01)), color-stop(100%,rgba(255,255,255,1))
    );
    /* Chrome10+,Safari5.1+ */
    background: -webkit-linear-gradient(
        top,
        rgba(255,255,255,0.01) 0%,
        rgba(255,255,255,1) 100%
    );
    /* Opera 11.10+ */
    background: -o-linear-gradient(
        top,
        rgba(255,255,255,0.01) 0%,
        rgba(255,255,255,1) 100%
    );
    /* IE10+ */
    background: -ms-linear-gradient(
        top,
        rgba(255,255,255,0.01) 0%,
        rgba(255,255,255,1) 100%
    );
    /* W3C */
    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0.01) 0%,
        rgba(255,255,255,1) 100%
    );
    /* IE6-9 */
    filter: progid:DXImageTransform.Microsoft.gradient(
        startColorstr='#03ffffff',
        endColorstr='#ffffff',
        GradientType=0
    );
}
.ts-page-header h1 {
    margin-right: 10px;
    display: inline-block;
}

/*
 * Home page
 */

#ts-carousel {
    margin-top: 20px;
    margin-bottom: 0px;
}
.carousel-caption {
    padding-top: 0px;
    padding-bottom: 0px;
}
.carousel-caption h2 {
    color: white;
}

/*
 * Page body
 */

.ts-content {
    background-color: white;
}

.ts-content, .ts-sidebar {
    margin-top: 20px;
    padding: 1em;
    border-radius: 5px;
}

/*
 * Sidebar
 */

.ts-sidebar {
    background: rgba(0,0,0,0.75);
}

.ts-sidebar ul {
    color: white;
}

.ts-sidebar .well, .ts-sidebar .ts-user-block {
    background: white;
    background: rgba(255,255,255,0.85);
}

.well .accordion-group, .well .accordion-inner {
    border-color: #dddddd;
}
.ts-sidebar .well .accordion-group, .ts-sidebar .well .accordion-inner {
    border-color: #bbbbbb;
}

.ts-sidebar h2 {
    margin-top: 0px;
    margin-left: -14px;
    padding-left: 14px;
    margin-right: -14px;
    padding-right: 14px;
    text-align: right;
    color: white;
}

.ts-sidebar .ts-user-block {
    margin-bottom: 14px;
}

.ts-sidebar .ts-user-block img {
    margin-right: 1em;
}

.ts-sidebar .ts-user-block ul {
    color: #333333;
}

.ts-sidebar .nav-tabs li.active a, .ts-sidebar .nav-tabs li a:hover {
    background: rgba(255,255,255,0.25);
}

.ts-sidebar .nav-tabs li.active a {
    color: white;
    background: rgba(255,255,255,0.25);
}

.ts-sidebar .tab-content {
    color: white;
    margin-bottom: 10px;
}

.ts-sidebar .inverse, .ts-footer .inverse {
    color: #999999;
}


.ts-ad-sidebar, .ts-ad-banner {
    margin-bottom: 14px;
    text-align: center;
}

.ts-ad-sidebar {
    background: rgba(255,255,255,0.25);
    border-radius: 5px;
    padding-top: 20px;
    padding-bottom: 15px;
}

/*
 * Footer
 */

.ts-footer {
    margin-top: 14px;
    padding-top: 14px;
    padding-bottom: 14px;
    color: white;
    background: rgba(0,0,0,0.75);
}

.ts-footer .span4 {
    margin: 0px;
    padding-left: 14px;
}

#ts-facebook-wrapper * {
    width: 100% !important;
    background: rgba(255,255,255,0.85);
}

#ts-twitter-wrapper * {
    width: 100% !important;
    background: rgba(255,255,255,0.85);
}

#ts-consulting-wrapper {
    padding-right: 14px;
}
#ts-consulting-wrapper p {
    width: 100%;
}
#ts-consulting-wrapper h2 {
    margin-top: 0px;
}

/*
 * Articles
 */

article.thumbnail {
    margin-bottom: 15px;
}

article.thumbnail img {
    margin-right: 1em;
    margin-bottom: 0.5em;
}

article.thumbnail header h3 {
    margin-top: 0px;
    margin-bottom: 0px;
}

/*
 * Questions
 */

article.question blockquote {
    margin-top: 1em;
}

article blockquote p {
    margin-bottom: 1em;
}

article.question .accordion-inner {
    background-color: #f5f5f5;
}


.article-body li, .content-series li {
    margin-bottom: 0.5em;
}
.article-body  img {
  display: block;
  margin: auto;
  margin-bottom: 1em;
  margin-top: 1em;
}
.article-body img.pull-left {
  margin-right: 1em;
}
.article-body img.pull-right {
  margin-left: 1em;
}
.article-body .caption div {
  font-style: italic;
  text-align: center;
  margin-bottom: 1em;
}

/*
 * Comments
 */

article.comment {
    padding-top: 10px;
    margin-bottom: 10px;
    border-top: 2px solid #91cf45;
    border-bottom: 1px solid #e3e3e3;
}

article blockquote.about-the-author img.thumbnail,
        article.comment img.thumbnail {
    margin-right: 1em;
    margin-bottom: 0.5em;
}

article.comment header h4 {
    margin-bottom: 0px;
}

article.comment header p {
    margin-top: 0px;
}

/*
 * Search form
 */
form.search-form {
    margin-bottom: 14px;
}

.search-results, .snippets-list {
    margin-top: 1em;
}
.search-results .thumbnail, .snippets-list .thumbnail {
    margin-right: 1em;
}

/*
 * Product list
 */
.product-list {
    margin-top: 1em;
}
.product-list .synopsis {
    margin-bottom: 0.5em;
}

/*
 * Embeds
 */
iframe.youtube {
    width: 100%;
}
div.vimeo {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    height: auto;
    margin-bottom: 1em;
}
div.vimeo iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/*
 * Misc
 */
.label-warning a, .label-success a, .label-info a {
    color: white;
}

@media (max-width: 979px) {
    body {
        padding-bottom: 0px;
    }
    .navbar.navbar-follow-us {
        margin-top: 0px;
    }
}