@import url('layout.css');

body {
    color: #000;
    font-size: small;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-style: normal;
    background-color: #abc;
}

#container {
    height: 100%;
    width: 100%;
    margin: auto;
    background-repeat: repeat-y;
    background-color: #fff;
}

#masthead {
    text-align: center;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
    width: 80%;
    padding: 0;
    background-color: #fff;
}

#content {
    float: center;
    padding: 15px;
    overflow: auto;
    background-color: #fff;
    margin: auto;
    position: relative;
    max-width: 80%;
}

#rightsidebar {
    margin-top: 50px;
    margin-right: 5%;
    position: relative;
    float: right;
    width: 144px;
    background-color: #fff;
}

.quote {
    font-size: 1.5em;
    font-family: 'Droid Serif', serif;
    color: black;
}

@media screen and (max-width: 1000px) {
    #rightsidebar {
        background-color: black;
        margin-top: auto;
    }
    
    #content {
        float: center;
        margin: auto;
        max-width: 90%;
    }
    
    #footer {
        min-width: 90%;
    }
    
    #masthead {
        min-width: 90%;
    }
    
    h1, h2, h3, .quote {
        text-align: center;
    }
}

#sidebar {
    margin-top: 50px;
    position: relative;
    float: left;
    width: 144px;
    background-color: #fff;
}

#navigation {
    margin-right: 0px;
    margin-left: 0px;
    background-color: #d3d3d3;
    overflow: hidden;
    text-align: center;
}

#column_l {
    width: 420px;
    margin: 0 0 0 10px;
    padding: 0 10px 10px 10px;
}

#column_r {
    width: 193px;
    margin: 0;
    float: right;
    background-color: #eef;
    position: relative;
    right: 10px;
    padding-right: 5px;
    padding-left: 5px;
}

#footer {
    text-align: center;
    background-color: #89a;
    margin-right: auto;
    margin-left: auto;
    overflow: hidden;
    padding: 3px;
    top: auto;
    height: 50px;
    max-width: 80%;
}


/* Styles for Masthead */

#masthead img {
    float: center;
}

#masthead p {
    color: #000;
    font-size: x-small;
    text-align: right;
    margin: 10px 10px 0 10px;
}


/* Styles for Navigation */

#navigation ul {
    list-style-type: none;
    width: 100%;
    margin: 0;
    padding: 0;
}

#navigation li {
    float: left;
}

#navigation a {
    color: #000;
    text-decoration: none;
    margin: 0 1px;
    padding: 5px;
    display: block;
    border: 1px solid #d3d3d3;
}

#navigation a:hover {
    background-color: #f2f2f2;
    border: 1px solid #f2f2f2;
}


/* Styles for Content */

h1 {
    color: red;
    font-size: 2.0em;
}

h2 {
    color: red;
    font-size: 1.75em;
}

h3 {
    color: black;
    font-size: 1.5em;
}

h4 {
    color: black;
    font-size: 1.25em;
}

h5 {
    color: black;
    font-size: 0.75em;
}

h6 {
    color: black;
    font-size: 0.5em;
}

big {
    color: red;
    font-size: medium;
}

#column_r p {
    color: #000;
    font-size: x-small;
    text-align: left;
    margin: 0;
    padding: 5px;
}

#column_r h4 {
    margin-bottom: 0;
}

/* Styles for Footer */

#footer p {
    color: #fff;
    font-size: x-small;
    margin-top: 2px;
    margin-bottom: 6px;
}

#footer a {
    color: #fff;
    text-decoration: underline;
}

#footer a:hover {
    color: #000;
    text-decoration: none;
}


/* Styles for Links */

a {
    color: #456;
    text-decoration: underline;
    font-size: small;
}

a:hover {
    color: #965;
    text-decoration: underline;
}

.style_bold {
    font-weight: bold;
}

.style_italic {
    font-style: italic;
}
