/* apply a natural box layout model to all elements */
*, *:before, *:after {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

/* stretch to window */
html, body {
    height: 100%;
}

/* normalize from default 8px to zero */
html, body, div, p {
    margin: 0;
    padding: 0;
}

body {
    background: #B2D3FF url("/images/img_site/backgroundbluemottle.jpg");
}

div.maincontainer {
    background: #FFFFFF;
    border: 1px solid #B5FF84;
    border-top: none;
    max-width: 1046px;
    margin: 0 auto;
    padding: 0 10px;
}

@media screen and (max-width: 480px) {
    div.maincontainer {
        border: none;
        padding: 0;
    }
}

div.banner {
    align-content: center;
    height: 226px;
    text-align: center;
}

.highlight {
    background-color: #33FF33
}

.linkbar {
    font-family: Times, "Times New Roman", Palatino, serif;
    margin-top: 0;
    margin-bottom: 0;
}

.linklisthead {
    font-family: Times, "Times New Roman", Palatino, serif;
    font-weight: bold
}

.linklisttight {
    font-family: Times, "Times New Roman", Palatino, serif
}

.pgabstract {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    background-color: #CCFFCC;
    margin: 10px auto;
    vertical-align: top;
}

.pgabstract td {
    padding: 0 5px;
    vertical-align: top;
}

.pgabstract ul.linkbar li {
    font-family: Times, "Times New Roman", Palatino, serif;
}

.pgcontents {
    font-family: Times, "Times New Roman", Palatino, serif
}

.pgcontentsbox {
    height: auto;
    width: auto;
    padding: 2px;
    background-color: #CCFFFF;
    font-family: Times, "Times New Roman", Palatino, serif;
}

.pgsubtitle {
    text-align: center;
    color: #333300
}

.pgtitle {
    text-align: center;
    color: #330033
}

.textcaption {
    font-family: "Times New Roman", Times, serif;
    font-style: italic;
    font-size: small;
}

.textnote {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-style: italic
}

.textsmall {
    font-family: Times, "Times New Roman", Palatino, serif;
}

.smallitalic {
    font-size: smaller;
    font-style: italic;
}

a:link {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a:hover, a.linkexternal:link {
    color: #990066;
}

a.linkexternal:hover, a.linkinpage:hover {
    color: #990066;
}

a.linkinpage:link {
    color: #005100;
}

h1, h2, h3, h4, h5, h6 {
    font-family: Times, "Times New Roman", Palatino, serif;
}

li {
    font-family: Verdana, Arial, Helvetica, sans-serif;
}

p {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    margin-top: 7px;
    margin-bottom: 7px
}

ul {
    font-family: Verdana, Arial, Helvetica, sans-serif;
}

em {
	color: #FF0000;
	font-style: normal;
	text-align: left;
}

ol {
    font-family: Verdana, Arial, Helvetica, sans-serif
}

.photocredit {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: xx-small
}

.texttable {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 80%
}

.texttablehead {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: xx-small;
    font-weight: bold
}

.worknote {
    background-color: #FF0000;
    font-family: Times, "Times New Roman", Palatino, serif;
    font-weight: bolder
}

.linkbarsep {
    font-family: Times, "Times New Roman", Palatino, serif;
    background-color: #CCFFFF
}

.titlesubbook {
    font-family: Times, "Times New Roman", Palatino, serif;
    font-size: larger
}

.textkeywords {
    font-family: Times, "Times New Roman", Palatino, serif;
    margin-top: 0;
    margin-bottom: 0;
    color: #999999
}

.textfeatured {
    font-family: Arial, Helvetica, sans-serif
}

.titleblogsummary {
    font-family: Times, "Times New Roman", Palatino, serif;
    font-size: 22px;
}

.titleblogsummary > a, .blogsidebaritem > a {
    color: #000000;
}

.textblogsummary {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-style: italic;
}

.titlesidebar {
    font-family: Times, "Times New Roman", Palatino, serif;
    font-size: 16px;
}

.textsidebar {
    font-family: Times, "Times New Roman", Palatino, serif;
    font-size: 14px;
}

.textreadmorelink {
    color: #D13F29;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.blogsection {
    border-collapse: separate;
    border-spacing: 5px;
    display: table;
    margin-top: 1.2em;
    width: 100%;
}

.blogsectionrow {
    display: table-row;
}

.blogsectionrow > div {
    display: table-cell;
}

.blogsectionsidebar {
    border: 1px solid #CCCCCC;
    border-top: 6px solid #494949;
    width: 175px;
}

.blogsectioncontent, .blogcontent {
    border: 1px solid;
}

.blogcontent {
    margin: 2px;
    padding: 5px;
}

.blogsidebar {
    text-align: center;
}

.blogsidebar .lightbackground {
    background-color: #FCFBF7;
}

.blogsidebar .darkbackground {
    background-color: #F5F2E9;
}

/** fix for div vertical spacing! **/
.blogsidebaritem {
    padding: 1px;
}

.blogsidebaritem p {
    padding: 0 5px;
    text-align: left;
}

.blogsidebaritem > p#sidebartitle {
    font-size: 12px;
    text-align: center;
    text-transform: uppercase;
}

.blogsidebaritem > p#sidebarsubtitle {
    font-family: Times, "Times New Roman", Palatino, serif;
    font-style: italic;
    text-indent: 10px;
}

.blogsidebaritem + .blogsidebaritem {
    border-top: 1px dotted #CCCCCC;
    padding-top: 1em;
}

.blogitem {
    margin: 5px 20px;
}

.blogitem + .blogitem {
    margin-top: 2em;
}

.blogitem img.leadin {
    float: left;
    margin: 4px;
    position: relative;
}

.blogitemfooter {
    border-top: 1px dotted #CCCCCC;
}

/**********
 ** NAVIGATION
 *********/
#navigation {
    background-color: #B5FF84;
    margin: 0 auto;
    padding: 5px 0;
    text-align: center;
}

#navigation > li {
    background-color: #CDF2C7;
    border: 1px solid #6C9FD8;
    display: inline-block;
    list-style: none;
    position: relative;
    vertical-align: middle;
}

#navigation > li:last-child {
    background: none;
    border: none;
}

#navigation > li > a:link, #navigation > li > b > a:link {
    font-size: 1.10em;
}

#navigation > li .bold {
    font-weight: bold;
}

#navigation li a {
    display: block;
    font-family: Times, "Times New Roman", Palatino, serif;
    padding: 5px 4px;
    text-align: left;
}

#navigation .subnav {
    background-color: #CDF2C7;
    display: none;
    left: 0;
    list-style: none;
    padding: 0 0;
    position: absolute;
    z-index: 30;
    width: 250px;

    box-shadow: 2px 4px 4px 2px rgba(0, 0, 0, 0.35);
    -moz-box-shadow: 2px 4px 4px 2px rgba(0, 0, 0, 0.35);
    -webkit-box-shadow: 2px 4px 4px 2px rgba(0, 0, 0, 0.35);

    border-radius: 5px;
    border-top-left-radius: 0;
    -moz-border-radius: 5px;
    -moz-border-radius-topleft: 0;
    -webkit-border-radius: 5px;
    -webkit-border-top-left-radius: 0;
}

#navigation .subnav > li {
    border-bottom: 1px solid #D7D7D7;
    display: block;
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    text-align: left;
}

#navigation .subnav > li:last-child {
    border: none;
}

#navigation .subnav > li a {
    display: block;
    padding: 10px 15px;
}

#navigation .subnav > li:hover {
    background: #4BD520;
    border-bottom: 1px solid #3B3B3B;
}

/** position lower level navs **/
#navigation .subnav li.subnav-lower ul {
    left: 250px;
    top: 0;
}

/* background highlight for list items */
#navigation > li:hover {
    background: #4BD520;
}

#navigation li.subnav-lower li:hover:first-child {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
}

/* disable background for search box */
#navigation > li:hover:last-child {
    background: none;
}

/* clear corner radius for Home, View Cart, and search */
#navigation > li:hover:first-child, #navigation > li:hover:nth-last-child(2), #navigation > li:hover:last-child {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    -moz-border-radius-topleft: 0;
    -moz-border-radius-topright: 0;
    -webkit-border-top-left-radius: 0;
    -webkit-border-top-right-radius: 0;
}

/* clear left corner radius for first sub-nav item */
#navigation ul.subnav > li:hover:first-child {
    border-top-left-radius: 0;
    -moz-border-radius-topleft: 0;
    -webkit-border-top-left-radius: 0;
}

/* clear lower border and apply bottom edge cornering for last sub-nav items */
#navigation ul.subnav > li:hover:last-child {
    border: none;

    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    -moz-border-radius-bottomleft: 5px;
    -moz-border-radius-bottomright: 5px;
    -webkit-border-bottom-left-radius: 5px;
    -webkit-border-bottom-right-radius: 5px;
}

#navigation li:hover > ul.subnav {
    display: inline-block;
}

/* inject small search icon */
#navigation form#sitesearch input[type=text] {
    background: white url('/images/img_site/search.png') right no-repeat;
    padding: 0 18px 2px 0;
}

#navigation form#sitesearch:before {
    content: 'Search';
}

/* explicit view cart image height and alignment */
#navigation .viewCart {
    vertical-align: middle;
}
