﻿body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 600px;
}

/* Brought over from Django site */

.bigblue {
    color: rgb(40, 126, 212);
    font-family: Arial;
    text-align: left;
    font-size: 40px;
}

.smallblack {
    width: 95%;
    display: inline-block;
    font-size: small;
    font-weight: 900;
}

body::after {
    content: "";
    opacity: 0.3;
    background-image: url("https://creekside-static.s3.amazonaws.com/creekside.png");
    background-size: cover;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    position: fixed;
    z-index: -1;
}

.postdiv {
    margin: 5px;
    padding: 5px;
    border-style: solid;
    border-width: 1px;
    border-color: black;
    border-radius: 5px;
    background-color: lightsteelblue;
    width: 95%;
    display: block;
}

    .postdiv:nth-of-type(even) {
        background-color: lightcoral;
        border-color: black;
    }

.posttitle {
    font-size: medium;
    font-weight: bold;
}

.postdate {
    font-size: x-small;
    font-weight: bold;
    float: right;
}

.postauthor {
    font-size: x-small;
    font-weight: bold;
    float: left;
}

.postitem {
    font-size: small;
}

.truncate-text {
    white-space: nowrap;
    font-size: x-small;
    text-overflow: ellipsis;
    width: 98%;
    display: block;
    overflow: hidden;
    height: 2.0em;
    line-height: 0.8em;
}