/*
    font-family: 'Oswald', sans-serif;
    font-family: 'Source Sans Pro', sans-serif;
    font-family: 'Caveat', cursive;
*/


html {
    background-image: url("../img/white_bed_sheet.png");
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 225px;
    background-color: rgba(255, 255, 255, 0.79);
}

.body-container {
    /* Article teaser text plus body */
    margin: 6px auto;
    max-width: 750px;
}

.body-container p {
    margin: 16px 0 0 0;
}

article {
    background-color: rgba(255, 255, 255, 0.77);
    padding: 0 8px;
    margin: 10px -15px;
}

article li {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 19px;
    margin-top: 4px;
    margin-bottom: 6px;
}

.index-lead {
    margin-top: 16px;
    margin-bottom: 8px;
    background-color: rgb(214, 193, 185);
}

article img {
    display: inline-block;
    height: auto;
    width: 100%;
    max-width: 750px;
    margin-bottom: 6px;
}

.lead-image {
    position: relative;
    width: 100%;
    z-index: 1;
}

.lead-heading {
    position: absolute;
    font-family: 'Oswald', sans-serif;
    font-size: 20px;
    text-shadow: 2px 1px 3px #000;
    color: rgb(254, 232, 226);
    background-color: rgba(0, 0, 0, 0.39);
    margin-right: 31px;
    margin-top: 31px;
    z-index: 9;
    padding: 6px 8px 4px 6px;
}

.lead-text, .lead-text a, .lead-text a:hover {
    display: block;
    margin-top: 6px;
    clear: both;
    color: #111;
}

h1 + .lead {
    margin-top: 45px;
}

.panel {
    border: 0px solid rgb(165, 53, 53);
    -webkit-box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
}

a:focus, a:hover {
    color: #0066c1;
    text-decoration: none;
}

a {
    color: #0965ff;
    text-decoration: none;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', sans-serif;
    text-shadow: 2px 1px 3px #bbb;
    color: #503b3c;
}

.h3, h3 {
    margin-top: 26px;
}

h1, .h1 { font-size: 29px; margin-top: 8px; }
h2, .h2 { font-size: 27px; margin-top: 26px; margin-bottom: 8px; }

.listing-h2 {
    margin-top: 8px;
}

.listing-h2 a {
    color: #660000;
}

.listing-h3 {
    margin-top: 8px;
}

h3>a, h3>a:hover, h3>a:active {
    color: #660000;
}

.btn {
    margin-bottom: 8px;
    background-color: rgba(171, 224, 182, 0.75);
    border-color: #a0a0a0;
}

.btn:hover, .btn:active, .btn:focus {
    background-color: rgba(171, 224, 182, 1);
}

.listing-info {
    color: #777;
    margin-bottom: 12px;
    margin-top: -6px;
    padding-left: 12px;
    padding-top: 8px;
    padding-bottom: 14px;
    background-color: #eee;
    border-radius: 0 0 10px 10px;
    font-size: 12px;
}

.listing-space {
    width: 28px;
    display: inline-block;
}

.thumb160 {
    width: 160px;
    height: auto;
    border-radius: 6px;
}

.listing-teaser {
    padding-left: 20px;
}

.alert {
    margin-bottom: 14px;
    margin-top: 12px;
}

.lead+p {
    font-size: 21px;
    margin-top: -28px;
    margin-bottom: 18px;
}

/*
.lead+p:first-letter {
    float: left;
    color: #444;
    background-color: rgba(204, 204, 204, 0.65);
    border-radius: 10px;
    font-size: 48px;
    line-height: 42px;
    padding-top: 7px;
    padding-bottom: 4px;
    padding-right: 12px;
    margin-right: 1px;
    padding-left: 12px;
    font-family: Georgia;
}
*/

hr {
    clear: both;
    margin: 18px 10px 0 10px;
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.05));
}

.record-body-text {
    clear: both;
}

p {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 19px;
}

blockquote {
    border-left: 5px solid rgba(127, 55, 54, 0.73);
    background-color: rgba(191, 174, 167, 0.28);
    margin-top: 20px;
    margin-bottom: 8px;
    padding-top: 1px;
    padding-bottom: 12px;
    min-height: 125px;
}

blockquote p {
    font-style: italic;
    font-family: Georgia, Times, "Times New Roman", serif;
    font-size: 20px;
}

blockquote img {
    padding-right: 15px;
}

.row {
    margin-right: -8px;
    margin-left: -10px;
}

.navbar {
    min-height: 42px;
    border-radius: 0 0 3px 3px;
}

.navbar-header {
    height: 42px;
}

.navbar-inverse {
    background-color: rgba(0, 0, 0, 0.85);
    border-color: rgba(123, 43, 43, 0.83);
    color: #cacaca;
    height: 42px;
}

.container-fluid>.navbar-collapse, .container-fluid>.navbar-collapsing, .container>.navbar-collapse, .container>.navbar-collapsing {
    margin-bottom: -6px;
    margin-top: 6px;
    -webkit-transition: height 0.01s;
    -moz-transition: height 0.01s;
    -ms-transition: height 0.01s;
    -o-transition: height 0.01s;
    transition: height 0.01s;
}

.container-fluid>.navbar-header, .container>.navbar-header {
    margin-bottom: -6px;
}

.nav>li>a {
    margin-top: -10px;
    margin-bottom: 9px;
    padding-bottom: 10px;
    color: #eee;
}

.in .nav>li>a {
    background-color: rgba(0, 0, 0, 0.85);
    color: #cacaca;
}

.navbar-inverse .navbar-nav>li>a:focus, .navbar-inverse .navbar-nav>li>a:hover {
    color: #fff;
    background-color: rgba(0, 0, 0, 0.85);
}

.navbar-inverse .navbar-nav>.active>a, .navbar-inverse .navbar-nav>.active>a:focus, .navbar-inverse .navbar-nav>.active>a:hover {
    background-color: #7f3736;
}

.navbar-brand {
    margin-top: -9px;
    padding: 15px 18px 15px 0;
}

.in .navbar-brand {
    padding: 15px 18px 15px 8px;
}

.navbar-inverse .navbar-toggle, .navbar-toggle:focus, .navbar-inverse .navbar-toggle:hover, .navbar-inverse .navbar-toggle:active {
    margin-bottom: 0px;
    margin-top: 3px;
    background-color: rgba(193, 78, 75, 0.6);
}

/* Nudge down the top of dropped navbar menu */
.navbar-collapse.in, .navbar-collapsing {
    margin-top: 6px;
}

.masthead {
    position: relative;
    height: 240px;
    margin: 0px -15px 0px -15px;
    background-image: url("../img/header-background.png");
    background-repeat: no-repeat;
    background-position: left; 
    background-color: #CCC;
    border-radius: 0 0 13px 13px;
}

.masthead-null {
    position: relative;
    height: 42px;
    margin: 0px -15px 0px -15px;
}

.masthead-logo {
    position: absolute;
    padding-left: 8px;
    bottom: 4px;
    right: 4px;
}

.logo-right {
    position: absolute;
    padding-left: 8px;
    bottom: 4px;
    right: 4px;
    max-width: 100%;
}

.external-logo {
    border-radius: 5px;
    margin: 12px 0 8px 0;
    max-width: 100%;
    height: auto;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.45);
}

a img {outline : none;}

.image-caption {
    margin: -4px 3px 0 0;
}

.image-share {
    height: 34px;
    width: 34px;
}

.image-caption-text {
    margin: 8px 4px 0 0;
}

#hashover form div.cmtbox, #hashover .cmtbubble {
    background-color: rgba(186, 169, 162, 0.42);
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: rgba(169, 144, 134, 0.7);
}

.footer p {
    font-size: 14px;
}

p.footer-text {
    padding-top: 4px;
    font-size: 13px;
    color: #303030;
}

.footer-polaroid {
    height: 125px;
    width: auto;
    float:left;
}

.footer-icons {
    margin: 8px 0 8px 15px;
}

.lower-footer {
    margin: 0 8px 0 8px;
}

.lower-footer a {
    color: rgb(65, 102, 178);
}

@media (max-width: 991px) {
    .logo-right {
        height: 150px;
        max-width: 100%;
    }
}

/* Left/Right gutter drops to 0 */
@media (max-width: 767px) {
    .masthead {    border-radius: 0; }
    .navbar { border-radius: 0; }
    article { border-radius: 0; border-right-width: 0; border-left-width: 0; }
    body { margin-bottom: 330px; }
    
}

/* Portrait phones and smaller */
@media (max-width: 480px) {
    .logo-right { height: 120px; max-width: 100%; }
    body { margin-bottom: 310px; }
}

/* Very, very small devices! */
@media (max-width: 400px) {
    .logo-right { display: none; }
    body { margin-bottom: 290px; }
    .footer-names { display: none; }
}

/* Unfeasibly small devices! */
@media (max-width: 300px) {
    .logo-right { display: none; }
    body { margin-bottom: 420px; }
}
