/*** BASIC STYLES ***/
body {margin: 0; padding: 0; background: #DBD8D1; font: 12px/1.5 verdana, sans-serif; color: #000; min-width: 800px;}

input {font: 12px/100% verdana, sans-serif;}
textarea, select {font: 12px/160% verdana, sans-serif;}

h1, h2, h3, h4, h5, h6 {margin: 0; padding: 0; font-family: helvetica, arial, sans-serif;}
h1 {font-size: 200%; font-weight: normal;}
h2 {font-size: 170%; padding-top:0.3em;}
h3 {font-size: 130%;}
h4 {font-size: 120%;}
h5 {font-size: 110%;}
h6 {font-size: 100%; font-weight:600;}

p {margin: 1em 0;}

a:link {color: #027AC6; text-decoration: underline;}
a:visited {color: #00598F;}
a:hover {text-decoration: none;}
a:active {color: #5895be;}

h2 a:link, h2 a:visited {color: #614F41; text-decoration: none;}
.views-field-title h2 {margin-bottom: 1em;}

ul, ol, .item-list ul {margin: 1em 0 1em 40px; padding: 0;}
.item-list ul li {margin-left: 0;}

a, img {border: 0; outline: 0;}

table {margin: 1em 0; width: 100%;}
tbody {border: 0;}
th {border-bottom: 2px solid #d3e7f4; color: #494949; font-weight: bold;}
td, th {padding: .3em .5em;}


/* misc */
.node {margin: 1.5em 0 3em 0;}

a.dne {color: #C60206;} /* link to create a page that doesn't exist yet */

#edit-field-subtitle-0-value, #edit-field-edition-0-value, #edit-field-copublisher-0-value, #edit-field-author-0-value, #edit-field-contributors-0-value, #edit-field-series-0-value, #edit-field-trim-0-value, #edit-field-inclusion-0-value {width: 95%;} /* fields on add book page */

.messages, .error, .warning {padding: .5em 1em !important; margin: 1em 0 2em !important;}
.messages {background: #C2EFC2;}
.error {color: #EFB3B3;}

.breadcrumb {font-size: 92%; padding: 1em 0;}
.breadcrumb a {color: #614F41 !important; text-decoration: none;}
.breadcrumb a:hover {text-decoration: underline;}

#aaup {text-align: center; position: absolute; bottom: 2em; right: -210px; width: 210px;}
#aaup a {background: url(images/aaup.png); display: block; width: 80px; height: 30px; text-indent: -99999px; margin: 0 auto;}

#corner-right, #corner-left {position: absolute; bottom: 0; width: 15px; height: 15px; background: url(images/corners.png); z-index: 99;}
#corner-right {background-position: 100% 100%; right: -210px;}
#corner-left {background-position: 0 100%;}

#edit-submit-EventCalendar {margin-left:-100px !important;}

body#tinymce {background: #fff; min-width: 1px; padding: 0 1em;} /* tinymce creates another body; override inherited styles */


/*** LAYOUT ***/
#wrapper {max-width: 1100px; margin: 0 auto;}
#main-wrapper {position: relative; clear: both; float: left; width: 100%; overflow: hidden; background: #f7f2ec;}
#main {float: left; width: 200%; margin-left: -210px; position: relative; right: 100%; background: #fff;}
#main-inner {float: left; width: 100%; margin-left: -50%; position: relative; left: 420px; background: #f7f2ec; padding-bottom: 1em;}
#content {float: left; width: 50%; position: relative; right: 210px;}
#content-inner {margin: 0 240px; position: relative; left: 200%; overflow: hidden;}
.sidebar {float: right; width: 170px; position: relative;} /* sidebar content is 170px wide plus 20px of padding on either side */
#sidebar-left {right: 20px; padding-bottom: 2em;}
#sidebar-right {left: 50%; margin-right: 60px; padding-bottom: 8em;}




/*** HEADER ***/
#header {clear: both; float: left; width: 100%; background: #000;}

#utility {height: 30px; width: 100%; background: #000; font-size: 92%; text-align: right; color: #fff;}
#utility div {width: 97%; max-width: 1084px; margin: 0 auto; border: solid #000; border-width: 7px 16px 0 0;}
#utility a {color: #fff; text-decoration: none;}

#banner {height: 125px; position: relative; z-index: 9;}
#banner-inner {height: 125px; width: 240px; position: relative; z-index: 49;}
#banner-inner a {background: url(images/osu-tag.gif); height: 119px; width: 101px; margin: -35px 0 0 35px; position: absolute; text-indent: -9999px; z-index: 99;}
#banner-press {background: url(images/osupress.png); width: 398px; height: 33px; position: absolute; bottom: 10px; right: 0; text-indent: -9999px;}

#menu, #menu ul {list-style: none; margin: 0;}
#menu {background: #614F41; height: 2em; width: 100%; text-align: center; line-height: 2em;}
#menu li {float: left; position: relative; z-index: 1;}
#menu li li {background: #614F41; float: none; width: 100%;}
#menu a {color: #fff; text-decoration: none; display: block; width: 100%;}
#menu a:hover, #menu li:hover {background: #6C5B4E;}
#menu ul {display: none; width: 100%; position: absolute; z-index: 10;}
*+html #menu ul {margin-left: -50%;}
#menu :hover ul {display: block;}

#menu-home {width: 11.5%;}
#menu-find {width: 14.5%;}
#menu-order {width: 16%;}
#menu-news {width: 16.5%;}
#menu-authors {width: 15%;}
#menu-support {width: 14.5%;}
#menu-about {width: 11.99%;}
*+html #menu-about {width: 11.85%;}

.views-table td {background:#f7f2ec;}




/*** FOOTER ***/
#footer {clear: both; float: left; width: 100%; padding: 1.5em 0; font-size: 92%; line-height: 1.25; height: 13em;}
#footer p {margin: 0 0 1em;}
#footer ul {margin: 0; list-style: none;}
#footer a {color: #000;}

#footer-left {border-right: 1px solid #252525; padding: 0 12px 0 15px; width: 182px; float: left; margin-right: 16px;}
#footer-right div {width: 14%; float: left;}
#footer-right .one {width: 11.5%;}
#footer-right .two {width: 14%;}
#footer-right .three {width: 16%;}
#footer-right .four {width: 15%;}
#footer-right p a {font-weight: 900; color: #D85A1A;}
#footer-right a {text-decoration: none;}
#footer-right a:hover {text-decoration: underline;}




/*** SIDEBARS ***/
.sidebar h2 {font-size: 1.2em; font-weight: 900; margin: 1em 0;}
.sidebar a {color: #614F41 !important;}
#sidebar-right div#cart {background: no-repeat url(images/cart.png); margin: 1em 0; line-height: 23px; padding-left: 3em;}

#sidebar-left #contact h2 {background: url(http://osupress.oregonstate.edu/sites/all/themes/osupress/images/bar.png) no-repeat right; line-height: 24px; padding-left: 25px; margin: 2em -20px 1em 0; color: #fff; font-size: 12px; font-weight: 400; font-family: verdana, sans-serif;}
#sidebar-left #block-block-56 img {margin: 0 0 .5em;}
#sidebar-left p img {margin: 0 5px -3px 0;}
#sidebar-left a {text-decoration: none;}

/* sidebar-right: search box */
#search {border-bottom: 1px solid #252525; padding-bottom: 1em;}
#search .input {background: 0 100% url(images/search.png); width: 122px; height: 14px; border: 0; padding: 3px 4px;}
#search .submit {width: 35px; line-height: 16px;}
#search select {background: url(images/search.png); width: 170px; height: 18px; border: 0; line-height: 14px;}
#search option {background: #fff;}
#search-book, #search-author, .search-advanced {display: none;}

/* sidebar-right: Of Further Interest, New Titles */
#block-block-31, #block-block-81, #block-block-101 {width: 190px;}
#block-block-31 h2 {margin-bottom: -10px;}
#block-block-31 .content {float: left; width: 190px;}
#block-block-31 .content div {width: 75px; height: 120px; float: left; margin: 20px 20px 0 0;}
#block-block-31 p, #block-block-81 p, #block-block-101 p {float: left; width: 100%; text-align: right; margin-top: 1em;}
#block-block-31 p a {margin-right: 15px;}
#block-block-31 a, #block-block-31 a:hover span, #block-block-81 a, #block-block-81 a:hover span, #block-block-101 a, #block-block-101 a:hover span {text-decoration: none;}
#block-block-31 a span, #block-block-81 a span, #block-block-101 a span {text-decoration: underline;}

/* sidebar-right: New Titles */
#block-block-81 h2, #block-block-101 h2 {margin-bottom: -5px;}
#block-block-81 img, #block-block-101 img {margin: 12px 17px 0 0;}
#block-block-81 p, #block-block-101 p {margin-left: -15px;}

/* sidebar-left: Get a Catalog */
#block-block-21 img {margin-top: 2em;}
#block-block-21 p {margin: 0 0 2em;}




/*** STYLES FOR SPECIFIC PAGE(S) ***/

/** homepage **/
.front .view-display-id-page {margin: 1em 0 3em;}
.front .view-display-id-page .views-field-title {font-size: 16px; font-family: helvetica, arial, sans-serif; font-weight: 900;}
.front .view-display-id-page .views-field-title a {color: #000; text-decoration: none;}
.front .view-display-id-page .views-field-title a:hover {text-decoration: underline;}
.front .view-display-id-page .views-field-teaser .field-content {display: inline;}
.views-row {margin-bottom:2em;}
.views-field-body {margin-bottom:0.5em;}


/* homepage: In the Spotlight */
#block-views-frontpage-block_1 {max-width: 600px;}
#block-views-frontpage-block_1 h2 {font-size: 16px; margin-bottom: .5em;}
#block-views-frontpage-block_1 .views-row {float: left; width: 33%;}
#block-views-frontpage-block_1 .views-row-2 {text-align: center;}
#block-views-frontpage-block_1 .views-row-3 {text-align: right;}
#block-views-frontpage-block_1 .views-row img {max-width: 95%;}


/** blog **/
.view-id-frontpage .views-field-created, .view-id-archive .views-field-created {margin-bottom: 10px; font-size: .9em;}
.view-id-frontpage .views-field-title .field-content {font-size: 100%; font-weight: 600;}
.view-id-archive .views-field-title a {font-size: 16px; font-family: helvetica, arial, sans-serif; font-weight: 600; text-decoration: none; color: #000;}
.view-id-archive .views-field-title a:hover {text-decoration: underline;}
.created {margin: -1em 0 1em; font-size: .9em;} /* post pages */

/** author pages **/
.author-sidebar {float: left; text-align: center;}
.author-sidebar a {color: #614F41;}
.author-photo {position: relative; margin-bottom: 1em;}
.author-photo img {display: block;}
.author-photo div {position: absolute; background: url(images/corners.png); width: 15px; height: 15px;}
.c, .d {bottom: 0;}
.b, .d {right: 0;}
div.b {background-position: -100% 0;}
div.c {background-position: 0 -100%;}
div.d {background-position: -100% -100%;}

#author-titles {padding-top: 2em; width: 100%; float: left;}
#author-titles p {float: left; width: 100%; font-size: 11px; height: 3.6em; line-height: 1.2em; text-align: center; overflow: hidden; margin: 0 0 -2em;}
#author-titles-inner {text-align: center;}
#author-titles-inner div {float: left; margin: 1em 0 0; width: 100px;}
#author-titles img {max-width: 90px;}
#next, #back {text-decoration: none; color: #614F41; font-size: 14px; font-weight: 900; display: block; float: left; margin-top: 70px; line-height: 20px; width: 20px; outline: 0;}


/** book pages **/
.node-type-book .node {margin-top: -.8em;}
.cover {text-align: center; padding: 1em 0;}
#book-info {margin: 1em 0 1em 2em; text-indent: -2em; font-style: italic;}
#book-info p {margin: 0;}
#addToCart {margin: 0 0 2em;}

/** book list glossary **/
#glossary {margin: .5em 0; text-align: center; line-height: 1.4em; border: solid #bbb; border-width: 1px 0; padding: .3em;}
#glossary a {text-decoration: none; color: #614F41; padding: 3px 6px; margin: 0 -4px;}
#glossary a:hover {text-shadow: #DBD8D1 0 0 3px;}

/* add spacing on multi-line book lists */
.page-titles #content li {margin: 0 0 .6em 0;} 
.page-series .views-field-field-author-value {margin-bottom: .6em;}

/* New/Forthcoming and series list */
.view-new-books img, .view-series-list img {float: left; margin-left: -93px;}
.view-new-books .views-row, .view-series-list .views-row {clear: both; padding: .75em 0 .75em 93px;}

/* Calendar */
.view-EventCalendar .views-field-title a {font-weight: 900; text-decoration: none;}


/** search results pages **/
.url {color: #015F00; font-size: 11px; padding: .3em 0 2em; font-style: italic;}
.search-thumb, #finder-page-41 .views-field-field-cover-fid img {float: left; padding: 0 1em 1em 0;}
.search-results dt {clear: both; padding-bottom: .5em;}
.search-results dd {margin: 0;}
.search-results a, .finder-results a {color: #614F41;}
.search-results a:visited, .finder-results a:visited {color: #3F342B;}

#search-totals {position: absolute; right: 0; margin-top: -2.5em; font-size: 11px;}

.pager {margin: .5em 1em 1em 1em !important; text-align: center; line-height: 1.4em; border: solid #bbb; border-width: 1px 0; padding: .3em !important;}
.pager a {text-decoration: none; padding: .1em;}
dl + .item-list {padding: 0 0 .5em;}

#finder-page-41 .views-row {margin: 0 0 1em; clear: both;}

.page-search-node h2, .page-search-node #search-form {display: none;}
.page-search-node .box h2 {display: block;}



/* hide errors */
.page-search-node .error {display: none;}

/*** CART ***/
#cart th {background: #614F41; color: #fff; font-weight: 900; border: 0; border-right: 2px solid #fff;}
#cart th:last-child {border: 0;}
#cart th, #cart .meta {text-align: center;}
#cart .meta td {padding: 10px 0;}
#cart .action {background: #DBD8D1;}
#cart .meta td.cart-book {width: 65%; text-align: left; padding-left: 10px;}
#cart .subtotal {text-align: right;}

/*** ADMIN ***/
#osu-press-admin dt {font-weight: 900; margin-top: 1em;}
#osu-press-admin dt a {text-decoration: none;}
#osu-press-admin dt a:hover {color: #5895be;}
#admin-define-new-book label {position: relative; line-height: 2em;}
#admin-define-new-book label input, #admin-define-new-book select {position: absolute; left: 5em; top: -2px;}
#admin-define-new-book label input {width: 7.7em;}