/*
 * Globals
 */

div.ignore {
    border-top: 5px solid black;
    border-bottom: 5px solid black;
}
body {
    font-family: Georgia, "Times New Roman", Times, serif;
    color: #555;
    padding-top: 50px;

}

h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4,
h5, .h5,
h6, .h6 {
    margin-top: 0;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: normal;
    color: #333;
}


/*
 * Override Bootstrap's default container.
 */

@media (min-width: 1200px) {
    .article-container {
        width: 970px;
    }
}

.index-container img {
    max-width:100%;
}



/* Nav */
nav a {
    color:black;
    /* background-color: rgba(248,104,0); */
}

/* Index */
.index-container {
    
}

/*
 * Article 
 */

.article-container {
    margin-top:40px;
}

.article-post {
    margin-bottom: 60px;
}

.article-post img {
    margin-left:auto;
    margin-right:auto;
}
.article-post h2, h3, h4 {
    padding-left:8px;
    padding-top:15px;
    margin-bottom:15px;
    border-bottom:1px solid rgba(248,104,0,0.25);
}

.article-post-title {
    margin-bottom: 5px;
    font-size: 40px;
}

.article-post-meta {
    margin-bottom: 20px;
    color: #999;
}

.article-header {
    padding-top: 20px;
    padding-bottom: 20px;
}

.article-description {
    font-size: 20px;
    color: #999;
}

.individual-article > div.well {
    min-height:500px;
}

.article-main {
    font-size: 18px;
    line-height: 1.5;
}

.article-main img {
    max-width:50%;
    margin:auto;
    display:block;
}

.article-sidebar {
    color:black;
    font-family:Georgia, 'Times New Roman';
    font-size:10px;
}
.article-sidebar h2, h3, h4 {
    padding-left:8px;
    padding-top:15px;
    margin-bottom:15px;
    border-bottom:0px solid rgba(248,104,0,0.5);
}

.sidebar-module {
    padding: 15px;
    margin: 0 -15px 15px;
}
.sidebar-module-inset {
    padding: 15px;
    background-color: #f5f5f5;
    border-radius: 4px;
}
.sidebar-module-inset p:last-child,
.sidebar-module-inset ul:last-child,
.sidebar-module-inset ol:last-child {
    margin-bottom: 0;
}

/*
 * About Page
 */

.about-container {
    margin-top:60px;
    font-size:18px;
}

.about-container img {
    max-width:100%;
}

.about-container .disclaimer {
    font-size:12px;
}

.about-container .disclaimer h4 {
    text-align:center;
}

.about-container .sincerely {
    text-align:right;
}

/*
 * Resources Page
 */

.resources-container {
    margin-top:100px;
}

/*
 * Train Page
 */

.train-container {
    margin-top:60px;
}

.train-container div.title-wrap {
    text-align:center;
}


.train-container img {
    max-width:200px;
    margin:auto;
    display:block;
}

.train-container blockquote {
    font-size:14px;
}

/*
 * All Tutorials Page
 */

.all-tutorials-container {
    margin-top:60px;
}

.all-tutorials-container img {
    max-width:70%;
    margin:auto;
    display:block;
}

/*
 * CODE
 */
pre {
    position:relative;
    overflow:auto;
    margin-top:10px;

}
code.src {
    overflow:visible;

}
code.src::before {
    display:none;
    position: absolute;
    background-color: rgba(248,104,0,0.5);
    top: -10px;
    right: 10px;
    margin-top:5px;
    padding: 3px;
    border: 1px solid #ccc;
}
code.src:hover::before { display: inline;}
code.sh::before    { content: 'sh'; }
code.R::before     { content: 'R'; }
code.python::before  { content: 'Python'; }
code.scala::before  { content: 'Scala'; }
code.sql::before   { content: 'SQL'; }


/*
 * Footer
 */

footer {
    padding: 40px 0;
    color: #999;
    text-align: center;
    background-color: #f9f9f9;
    border-top: 1px solid #e5e5e5;
}
footer p:last-child {
    margin-bottom: 0;
}