/* NOTE: the pretty font used in images is "Truesdell" */

/* Blocks and layout */

body {
    background-color: #738d2b;
    font-family: "Myriad Pro", Helvetica, sans;
}

div#nav, div#main {
    max-width: 800px;
}
div#nav {
    margin: 28px auto 10px auto;
    text-align: center;
    color: white;
}
div#nav a {
    color: white;
    font-weight: normal;
    text-decoration: none;
}
div#nav a:hover {
    text-decoration: underline;
}
div#nav a:visited {
    color: white;
}
div#nav li {
    display: inline;
    margin: 0px 28px 0px 28px;
}
div#main {
    clear: both;
    min-height: 600px;
    margin: 10px auto auto auto;
    background-color: #e9dfa1;
    position: relative;
    top: 0px;
    right: 0px;
}

body.page-index div#main {
    margin-top: 36px;
    background-image: url("/images/showcase-frontpage.jpg");
    background-repeat: no-repeat;
}

img#logo {
    float: left;
    margin: 40px 30px 0px 370px;
    border-width: 1px;
}
img#earthcraft { position: absolute; top: 0px; right: 0px; }

#motto {
    padding-top: 70px;
    padding-left: 360px;
    font: italic 22pt/30pt "Palatino Linotype", "Book Antiqua", Palatino, serif;
    color: #484f25;
}

div.nav {
    max-width: 800px;
    margin: 24px auto 12px auto;
    height: 64px;
}
div.nav > a { /* Hoots Group logo */
    float: right;
    width: 51px;
    height: 60px;
}
div.nav > div { /* container for motto and tabs */
    float: right;
}
div.nav > div > img { /* "Design Green, Build Green, Live Green" motto */
    float: right;
    height: 35px;
    margin-right: 7px;
}
div.nav ul { /* container for tabs */
    padding-right: 20px;
    height: 25px;
    clear: right;
}
div.nav li { /* tab */
    float: left;
    border: 1px solid #738d2b;
    padding: 4px 16px;
    color: #f1ecd0;
    font-family:"Trebuchet MS",Verdana,Arial,Helvetica,sans-serif;
}
div.nav li.selected { /* tab for division currently being viewed */
    background-color: #586c21;
    border-color: black #f1ecd0 #f1ecd0 black;
}
div.nav li a {
    color: #f1ecd0;
    text-decoration: none;
}

div#navigation {
    padding-top: 80px;
    padding-left: 360px;
    padding-right: 20px;
    font-size: 12pt;
    line-height: 1.35;
}
div#navigation p {
    padding-left: 40px;
    padding-right: 40px;
    padding-bottom: 20px;
}
div#navigation table {
    padding-bottom: 20px;
}
div#navigation table {
    padding-top: 36px;
    padding-bottom: 24px;
}
div#navigation td {
    width: 33%;
    vertical-align: top;
    text-align: center;
}
div#navigation div {
    margin-left: auto;
    margin-right: auto;
}
div#navigation h2 {
    font-size: 13pt;
    line-height: 14pt;
}

img.divisionlogo {
    float: left;
    margin: 28px 80px;
}

/* Sawhorse spash page. */

body.sawhorse div#main {
    min-height: 360px;
}
body.sawhorse div.explanation {
    margin: 52px 16%;
    text-align: center;
    font: 18pt/24pt "Palatino Linotype", "Book Antiqua", Palatino, serif;
    color: #40590c;
}
body.sawhorse p.sawhorselink {
    margin-bottom: 48px;
    text-align: center;
}
body.sawhorse p.sawhorselink a {
    border: 1px solid black;
    padding: 8px;
    background-color: #8c3913;
    color: white;
    text-decoration: none;
}

/* What it looks like when we make Hoots House or Fresh World look like
   its own home page, as Matt Hoots desires. */

body.halfhome div#main {
    /*background: #e9dfa1 url('/images/halfhome-top-gradient.png')
    repeat-x left top;*/
}
body.halfhome div#main > div.clear {
    /* since a home page might be split into two, we can't have a little
       1px-high div at the bottom tying the two together */
    height: 0px;
}

table.halfhome {
    margin: 24px auto 24px;
}
table.halfhome td.blurb {
    width: 250px;
    padding-left: 36px;
    vertical-align: middle;
    font: italic 15pt/19pt "Palatino Linotype", "Book Antiqua", Palatino, serif;
}

div.greenbggap {
    clear: both;
    width: 100%;
    height: 12px;
    background-color: #738d2b;
}

table.twocolumns td.column {
    width: 50%;
    padding: 18px;
    background: #e9dfa1 url('/images/halfhome-top-gradient.png')
    repeat-x left top;
}
table.twocolumns td.leftcolumn {
    border-right: 12px solid #738d2b;
}
table.twocolumns td.column td.essay {
    margin: 0px;
    padding: 0px;
}

/* The "divisionrule" is the division-specific navigation bar that sits
   near the top of each page in a Hoots Group division, as the first
   thing inside of the manila-colored box that holds the content. */

div.divisionrule {
    height: 22px;
    margin: 0px 0px 8px 18px;
    border-bottom: 1px solid black;
    padding-top: 4px;
    padding-right: 60px;
}
div.divisionrule ul {
    display: inline;
    margin-bottom: 10px;
}
div.divisionrule li {
    display: inline;
    margin: 2px;
    padding: 0px 6px;
    background-color: #48581b;
    color: white;
    font-weight: bold;
}
div.divisionrule li.elsewhere {
    background-color: #ccc38d;
}
div.divisionrule li.elsewhere:hover {
    background-color: #fffadc;
}
div.divisionrule a {
    text-decoration: none;
}

/* */

div.navicon {
    position: relative;
    height: 116px;
    width: 108px;
    background-image: url("/images/dropshadow.png");
    background-repeat: no-repeat;
}
div.navicon img {
    position: absolute;
    top: 8px;
    left: 8px;
    border: 0px solid white;
}
div#navigation div.navicon img:hover {
    border-style: solid;
    border-color: black;
}
a, a:visited {
    color: #48581b;
}
a:hover {
    text-decoration: underline;
}

ul#footer {
    margin-top: 18px;
    padding: 18px 12px 12px 12px;
    font-weight: bold;
    text-align: center;
}
ul#footer li {
    border-top: 1px solid black;
    padding: 6px;
    display: inline;
}

form#post_form {
    z-index: 10;
    position: absolute;
    top: 230px;
    left: 200px;
    border: 1px solid black;
    padding: 8px;
    background-color: #c0c0c0;

}

/* */

#portfolioblurb {
    position: absolute;
    top: 480px;
    left: 18px;
    width: 300px;
    font: italic 12pt/15pt "Palatino Linotype", "Book Antiqua", Palatino, serif;
}
#portfolioblurb p {
    padding: 8px 18px;
    margin-bottom: 8px;
    background-image: url("/images/blurb-bg.png");
}
#portfolioblurb .buttons {
    width: 100%;
    text-align: center;
}

/* Divisions of the Hoots Group (like Sawhorse). */

body div.bigpicture {
    margin-top: 18px;
}
body.hootshouse div.bigpicture {
    background-image: url("/images/hootshouse-display.jpg");
}
body.sawhorse div.bigpicture {
    background-image: url("/images/sawhorse-display.jpg");
}
body.freshworld div.bigpicture {
    background-image: url("/images/hootshouse-display.jpg");
/*    background-image: url("/images/hootshouse-display.jpg");*/
}

/* change these later to be more diverse */
body.about div.bigpicture {
    background-image: url("/images/hootshouse-display.jpg");
}
body.partners div.bigpicture {
    background-image: url("/images/hootshouse-display.jpg");
}
body.faq div.bigpicture {
    background-image: url("/images/hootshouse-display.jpg");
}

div.bigpicture {
    float: right;
    height: 720px;
    width: 336px;
    margin-left: 18px;
}
div.bigpicture p {
    margin: 18px 18px 5px;
    padding: 8px 18px;
    background-image: url("/images/blurb-bg.png");
    font: italic 12pt/15pt "Palatino Linotype", "Book Antiqua", Palatino, serif;
}
div.bigpicture div.buttons {
    text-align: center;
}

body.divisionmain div.intro {
    margin-left: 140px;
    margin-right: 0px;
    font: italic 14pt/17pt "Palatino Linotype", "Book Antiqua", Palatino, serif;
}
body.divisionmain div.intro p.gallery {
    padding: 30px 20px 20px 220px;
    width: 280px;
}
body.divisionmain div.intro img {
    margin: 6px 18px 8px 0px;
}

.essay {
    clear: left;
    margin-left: 36px;
    margin-right: 36px;
    padding-top: 1px;
    font-size: 11pt;
    line-height: 15pt;
}
.essay h3 {
    font-weight: bold;
}
.essay p {
    margin-top: 15pt;
    margin-bottom: 15pt;
}
.essay img {
    margin: 0px 15px 8px 0px;
}
.essay li {
    list-style-type: disc;
    margin-top: 15pt;
    margin-bottom: 15pt;
    margin-left: 3em;
}

body.press div#main {
    background: #e9dfa1 url('/images/press-pattern.png') repeat-y right top;
}
body.press div.essay {
    width: 400px;
}
body.press div.essay p {

}

/* The table that holds press articles. */

#presstable {
    margin-left: 40px;
}
#presstable th {
    padding-bottom: 0px;
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
}
#presstable td {
    vertical-align: top;
    padding: 12px 18px 18px;
}
#presstable td.cover {
    text-align: center;
    padding-top: 18px;
}
#presstable td.blurb {
    font: 12pt/16pt "Palatino Linotype", "Book Antiqua", Palatino, serif;
    color: #484f25;
}
#presstable p.periodical {
    margin-top: 0px;
    margin-bottom: 4px;
    font-family: "Myriad Pro", Helvetica, sans;
    font-size: 10pt;
    line-height: 12pt;
}


/* The main Fresh World site has a picture of each technology, which
   should be placed to the right of its list item. */

table.technologies td {
    padding: 18px 18px 18px 0px;
    vertical-align: middle;
}
table.technologies img {
    border: 4px solid black;
}
table.technologies p {
    margin: 0px;
}

/* A "stack" of photos down the right hand side of the page, as on the
   technology pages. */

div.photo_stack {
    padding-top: 20px;
    width: 380px;
    float: right;
}
div.photo_stack img {
    display: block;
    float: right;
    margin-bottom: 20px;
    margin-right: 20px;
    border: 10px solid black;
}

/* Articles on the "press" page */

div.article > * {
    margin-left: 100px;
}
div.article > div.cover {
    margin-left: 0px; /* override 100px default */
    float: left;
    clear: left;
    min-width: 85px;
}
div.article > div.cover > * {
    display: block;
    text-align: center;
}
div.article > h2 {
    margin-left: 0px; /* override 100px default */
    clear: left;
    margin-top: 18px;
    margin-bottom: 18px;
    border-top: 1px solid black;
    font: 14pt/16pt "Palatino Linotype", "Book Antiqua", Palatino, serif;
}
div.article > p.periodical {
    margin-top: 4px;
    font-size: 9pt;
    line-height: 9pt;
}

/* Text styles */

h2, h3 {
    font: 22pt/30pt "Palatino Linotype", "Book Antiqua", Palatino, serif;
    color: #484f25;
}
h2 a {
    font-weight: normal;
    text-decoration: none;
}
h2 a:hover {
    background-color: #e0d79b;
}

/* Footer at the bottom of page. */

#footer {
    clear: both;
    max-width: 800px;
    margin: 24px auto;
    color: #e9dfa1;
    font-size: 14px;
    line-height: 17px;
    border-collapse: collapse;
}
#footer td {
    padding: 0px 16px;
}
#footer .foo {
    background-color: #819e30;
}
#footer li {
    list-style-type: disc;
    margin-left: 1em;
}
#footer p, #footer ul {
    margin: 8px 0px;
}
#footer h3 {
    font-weight: bold;
    color: white
}
#footer a, #footer a:visited {
    color: #e9dfa1;
}
#newsbrief, #blogbrief {
    width: 35%;
}
#blogbrief, #contactus {
    border-left: 1px solid #738D2B;; /* foo #e9dfa1;*/
}
#footer .littlenav { text-align: center; padding-bottom: 0px; }
#footer .littlenav a { color: white; text-decoration: none; }
#footer .littlenav a:visited { color: white; }

#footer .address { text-align: center; padding: 24px 0; }
#footer .address .dot { color: white; }

.cornerlogo {
    float: left;
    margin: 18px;
    border: 1px solid #e9dfa1;
}
.cornerlogo:hover {
    border: 1px solid black;
}

#footer td.socialbuttons img {
    position: relative;
    bottom: -10px;
}

/* Page title style, common to all pages except the index page. */

h1 {
    margin: 0px 24px 36px 36px;
    padding-top: 4px;
    font: 32pt/32pt "Palatino Linotype", "Book Antiqua", Palatino, serif;
    color: #484f25;
    border-top: 1px solid black;
}
div#littlenav { /* used when there is no ul#littlenav to display */
    height: 40px;
}
ul#littlenav {
    padding: 30px 10px 4px 36px;
}
ul#littlenav li {
    display: inline;
}
ul#littlenav a {
    text-decoration: none;
}
ul#littlenav li.off {
    color: #ccc38d;
}

body.division h1 {
    margin-bottom: 0px;
}
.supertitle {
    border-bottom: 1px solid #484f25;
}

/* Portfolio */

body.portfolio div.topgap {
    height: 30px;
}

body.portfolio h2 {
    margin-left: 30px;
    margin-right: 30px;
    border-top: 1px solid #484f25;
    border-bottom: 1px solid #484f25;
    text-align: center;
}

body.portfolio table.project_table {
    border-collapse: collapse;
    margin: 20px; /* so table border does not overflow enclosing div */
}
body.portfolio table.project_table td {
    border: 20px solid #e9dfa1;
    width: 33%;
    background-color: white;
    padding: 12px;
    font-size: 11pt;
    line-height: 15pt;
}
body.portfolio table.project_table h3 {
    margin-bottom: 10px;
    font-size: 12pt;
    line-height: 12pt;
}
body.portfolio table.project_table p {
    margin: 15pt 0px;
    font-size: 11pt;
    line-height: 15pt;
}
body.portfolio table.project_table td.first_project h3 {
    margin-bottom: 10px;
    font-size: 15pt;
    line-height: 15pt;
}
body.portfolio table.project_table td.first_project p {
    margin: 28pt 18px;
    font-size: 11pt;
    line-height: 19pt;
}

body.portfolio div.project_area {
    padding: 10px;
}
body.portfolio div.main_project_wrapper {
    float: left;
    width: 66%;
}
body.portfolio div.other_project_wrapper {
    float: right;
    width: 33%;
}
body.portfolio div.project {
    margin: 10px;
    padding: 2px;
}
body.portfolio div.main_project {
    background-color: white;
    position: relative;
    float: left;
    height: 280px;
    /*border-top: 1px solid black;*/
    /*background-color: #f0eac9;/*xxx*/
    padding: 2px;
}
body.portfolio div.other_project {
    background-color: white;
    position: relative;
    float: right;
    height: 130px;
    /*border-top: 1px solid black;*/
    /*background-color: #f0eac9;/*xxx*/
}
body.portfolio div.project h2 {
    background-color: #ccc38d;
    padding-left: 8px;
}
body.portfolio div.project a:hover {
    background-color: #ccc38d;
    text-decoration: underline;
}
body.portfolio div.project img {
    float: right;
}
body.portfolio div.project p {
    padding: 18px;
    line-height: 24px;
}

body.portfolio div.gallerylist {
    height: 100%;
    width: 32%;
    padding: 0px;
    margin-left: 500px; /* room for the div#project boxes */
/*    background-color: #f0e5a6;*/
}
body.portfolio div.albumthumb {
    margin-top: 15px;
    margin-left: 55px;
    width: 160px;
    font: 12pt/15pt "Palatino Linotype", "Book Antiqua", Palatino, serif;
}
body.portfolio div.albumthumb a {
    text-decoration: none;
}
body.portfolio div.house {
    margin-left: 24px;
}
body.portfolio div.house, body.portfolio div.sawhorse {
    border-right: 1px solid #e9dfa1;
}
body.portfolio div.gallerylist a {
    color: black;
}
body.portfolio div.gallerylist h2 {
    width: 100%;
    padding-bottom: 2px; /* keep descenders off of border */
    border-bottom: 1px solid black;
    font: 14pt/17pt "Palatino Linotype", "Book Antiqua", Palatino, serif;
}
body.portfolio div.gallerylist h2 img {
    float: left;
    margin: 4px 8px 8px 4px;
}
body.portfolio table#galleries {
    margin-top: 24px;
    margin-bottom: 16px;
    margin-left: auto;
    margin-right: auto;
}
body.portfolio table#galleries td, body.portfolio table#galleries th {
    text-align: center;
    padding: 8px;
}

/* Project */

body.project div.project_photo_box {
    width: 700px;
    margin-left: auto;
    margin-right: auto;
}
body.project div.project_photos {
    float: left;
}
body.project div.project_photos img {
    margin: 24px;
    display: block;
}
body.project p.nav {
    margin: 18px 0px;
    text-align: center;
    display: none;
}
body.project #main_image {
    float: right;
    margin: 0px;
    padding: 0px;
}
body.project #main_image img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
body.project ul#wide_photo_box li {
    display: float;
}
body.project div.project_text {
    clear: both;
}
body.project div.project_text > * {
    margin: 18px 48px;
    font-size: 12pt;
    line-height: 17pt;
}

/* Gallery */

.page-gallery .supertitle a {
    font-size: 18pt;
    font-style: italic;
    font-weight: normal;
    text-decoration: none;
}
.page-gallery .supertitle a:hover {
    background-color: #e0d79b;
}
.page-gallery #main_image {
    float: left;
    width: 300px;
    height: 400px;
    margin: 0px 48px;
}
.page-gallery #main_image img {
    border: 12px solid black;
}
.page-gallery #main ul.gallery_list {
    display: inline-block;
}
.page-gallery p.blurb {
    padding: 0px 36px 24px 36px;
    font: italic 12pt/18pt "Palatino Linotype", "Book Antiqua", Palatino, serif;
}
.page-gallery .caption {
    font: italic 12pt/14pt "Palatino Linotype", "Book Antiqua"s, Palatino, serif;
    background: #e9dfa1;
}
.page-gallery #main ul.gallery_list {
    width: 400px;
}
.page-gallery p.nav {
    margin: 18px 0px;
    text-align: center;
    display: none;
}
.page-gallery .otherprojects {
    clear: both;
    text-align: right;
}

/* Literals */

.clear { clear: both; height: 1px; }
.clearleft { clear: left; height: 1px; }
.floatleft { margin: 8px; margin-left: 0px; float: left; }

/* Temporary */

#tab-mockup {
    background-color: #738D2B;
    margin-top: 10px;
    margin-bottom: 0px;
}
#tab-mockup + div.clear {
    height: 0px;
}

/* Contact form that goes to salesforce */

#contactform {
    padding-bottom: 24px;
}
#contactform td {
    vertical-align: top;
}
