/* Blueprint Drupal CSS Overrides*/
/* @group blueprint overrides */

thead th, th {
  background: #f7f7f7;
  border-bottom: 1px solid #ccc;
  color: white;
}

th a img {
  margin: 0;
}

tr.even td {
  background: #F1F5FA;
  color:black;
}

tr.odd td {
  background: #fff;
  color:black;
}

td.region, .block-region {
  color:black;
}

fieldset dl, fieldset select {
  margin: 0;
}

.box {
  background: #f7f7f7;
}

div.form-item div.description img {
  margin: 0;
}

div.messages {
  margin-bottom: 1.5em;
  padding: 0.68em;
  font-weight: bold;
}

div.messages.success {
  border: 1px solid #7AC142;
  color: #55872E;
  background: #F1F8EB;
}

div.messages ul {
  margin-bottom: 0;
}

/* @end */

/* @group drupal overrides */

div.admin {
  padding-top: 0; /* fix alignment of admin panel */
}

div.admin-panel {
  padding: 1.5em 0 0 0;
}

div.admin-panel .body {
  padding: 0;
}

div.admin-panel .description {
  margin: 0 0 1.5em 0;
  padding: 0;
}

div.admin .left,
div.admin .right {
  margin:0;
}

#user-admin-filter ul li,
#node-admin-filter ul li {
  list-style: none; /* remove list style from content node filter */
}

.breadcrumb {
  padding-bottom: 0;
  margin-bottom: 1.5em;
}

.more-help-link {
  font-size: 0.9em;
  line-height: 1.667em;
}

input.form-text, textarea {
  border: 1px solid #ccc;
  padding: 0.2em;
}

textarea, input {
  font-size: 1em;
  vertical-align:text-bottom;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

div.form-item {
  margin-bottom: 1.5em;
  margin-top: 1.5em;
}

div.error, tr.error, span.form-required, span.marker {
  color: #8A1F11;
}

.form-item input.error, .form-item textarea.error, .form-item select.error {
  border: 1px solid #DD7777;
  background: #FFCCCC;
  color: #8A1F11;
}

/* fix admin/settings/performance */

.form-item strong.error {
  display: block;
}

.form-item textarea.error {
  padding: 0.2em;
}

.form-item .description {
  font-size: 0.9em;
  line-height: 1.667em; /* more accurate line-height value */
}

fieldset {
  border: 1px solid #ccc;
  padding: 0.5em;
}

fieldset legend {
  display: block;
  font-size: 1em;
  border: 1px solid #ccc;
  padding: 0 0.4em;
}

/* prevent uncessary scrollbars */
fieldset .collapsible {
  overflow: hidden;
}

textarea {
  line-height: 1.5em;
  height: auto;
}

div.resizable-textarea textarea {
  margin-top: 0;
}

html.js fieldset.collapsed {
  background: none;
}

html.js fieldset.collapsible legend a {
  background: transparent url(../images/icons/menu-expanded.gif) no-repeat scroll 0% 50%;
  text-decoration: none;
}

html.js fieldset.collapsed legend a {
  background: transparent url(../images/icons/menu-collapsed.gif) no-repeat scroll 0% 50%;
}

ul.menu li, .item-list ul li {
  margin: 0;
  padding: 0;
}

.tips {
  font-size:1em;
  margin-left:3em;
}

/* remove bottom margins from nested ul elements in menus */

ul.menu li ul {
  margin-bottom: 0;
}

.block ul, ul.menu, .item-list ul {
  margin: 0pt 1.5em 1.5em;
  padding: 0;
}

ul li, ul.menu li, .item-list ul li, li.leaf {
  list-style-image: url(../images/icons/menu-leaf.gif);
}

ul li.expanded {
  list-style-image: url(../images/icons/menu-expanded.gif);
}

ul li.collapsed {
  list-style-image: url(../images/icons/menu-collapsed.gif);
}

div.tabs {
  margin-bottom: 1.5em;
}

ul.secondary {
  margin: 0;
  padding: 0;
}

ul.secondary li {
  padding: 0 0.7em 0 0; /* align subtabs flush to edge */
  margin: 0 0.5em 0 0;
}

ul.primary {
  margin: 1.5em 0;
  line-height: 1.417; /* account for 1px bottom border */
}

ul.primary li a {
  background: #f7f7f7;
  padding: 3px 10px 2px 10px; /* fix alignment of tabs */
}

div.help {
  background: #ffc;
  padding: 0.75em; /* fix alignment of help text */
  margin-bottom: 1.5em;
  color:#111;
}

/* fix alignment on user profile page */

.profile dt {
  margin: 1.5em 0 0 0;
}

/* fix book module */

.book-navigation .page-links {
  background: #F1F5FA;
  border: none;
  padding: 0.75em;
  margin-bottom: 1.5em;
}

.book-navigation .menu {
  padding: 1.417em 0 0 3em;
  margin: 0 0 1.5em 0;
  border-color: #bbb;
}

/* @end */

/* @group basic elements */

blockquote {
  background: url(../images/lquote.png) no-repeat left top;
  font-size: 1em;
  margin: 0 0 1.5em 0;
  padding: 0 0 0 40px;
}

blockquote p {
  margin: 0;
}

#saving {
  background: url(../images/loading.gif) no-repeat 12px 1px;
  padding-left: 36px;
  font-weight: bold;
  font-size: 1em;
  display: none;
}

#saving p {
  margin: 0;
}

#saving-notice {
  font-size: 0.9em;
  background: #ffc;
  font-style: italic;
}

/* @end */

/* @group nodes */

div.node {
  margin: 0 0 1.5em 0;
}

div.node h2 {
  margin-bottom: 0;
}

div.node div.meta {
  font-size: 0.9em;
  line-height: 1.667em;
  margin-bottom: 1.667em;
}

div.meta div.submitted, div.meta div.terms {
  display: inline;
}

div.node ul.links {
  display: block;
  text-align: right;
}

div.node div.meta ul.links {
  display: inline;
  padding: 0 1em 0 0;
}

ul.links li {
  display: inline;
  list-style-type: none;
  padding: 0 0.5em;
}

/* @end */

/* @group comments */

div.indented {
  margin-left:40px;
}

/* @end */

/* @group blocks */

div.block {
  margin-bottom: 1.5em;
}

/* @end */

/* @group block editing */

div.block.with-block-editing
{
  position: relative;
}

div.block.with-block-editing div.edit
{
  display: none;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 40;
  border: 1px solid #eee;
  padding: 0 2px;
  font-size: 9px;
  background-color: #fff;
}

div.block.with-block-editing:hover div.edit
{
  display: block;
}

/* @end */

/* @group pager */

ul.pager {
  line-height: 1.667em;
  margin: 1.667em 0;
  font-size: 0.9em;
}

ul.pager a, ul.pager li.pager-current {
  border: 1px solid #0066B3;
  text-decoration: none;
  margin-right: 3px;
  padding: 3px 6px;
}

ul.pager li.pager-current {
  background: #0066B3;
  color: #fff;
}

ul.pager a:link,
ul.pager a:visited {
  color:#0066B3;
}

ul.pager a:hover,
ul.pager a:focus,
ul.pager a:active {
  background-color: #0066B3;
  color: #fff;
  border: 1px solid #0066B3;
}

ul.pager span.pager-ellipsis {
  padding: 0 0.5em;
}

.item-list .pager li {
  padding:0em;
}

/* @end */

#user-login-form li.openid-link,
#user-login li.openid-link {
  background-position: 0 0;
  padding-left:18px;
}

/* Custom CSS for the Theme */
body {
  background: #131313;
  color: white;
  margin:0;
  padding:0;
  font-family: "Open Sans", Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6,
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
  color:#eee;
}

a { color: #19c6e0; }

#logo {
  padding-top:50px;
}

#logo h1, #logo h4 {
  color:white;
  margin:0;
  padding:0;
}

#logo h1 {
  font-size:500%;
  font-family: 'Raleway', sans-serif;
  text-shadow: 0px -1px 1px #4b4b4b;
}

#logo h1 a, #logo h1 a:visited, #logo h1 a:active {
  text-decoration:none;
  color:white;
}

#logo h4 {
  font-family: 'Open Sans Condensed', sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
}

#header .block {
  float: right;
  font-size: 180%;
  font-family: 'Open Sans Condensed', sans-serif;
  font-style: italic;
  height: 80px;
  width: 320px;
  padding: 10px;
  background: #0d0d0d;
  margin-top:-20px;
}

#header .block em {
  color: #19c6e0;
}

#header {
  height:310px;
  border-bottom: 16px solid #ffd800;
}

#background {
  height:310px;
  overflow:hidden;
}

#header .container {
  height:310px;margin-top:-310px;position:relative;
}

#content.container {
  margin-top:-50px;
  background:black;
  background:#333;
  color:#eee;
}

ul.primary-links {
  overflow:auto;
  font-family: 'Open Sans', sans-serif;
  text-transform: uppercase;
  width:100%;
  background: #ffd800;
  -moz-box-shadow: 0px 0px 20px rgba(0,0,0,0.7);;
  -webkit-box-shadow: 0px 0px 20px rgba(0,0,0,0.7);
  box-shadow: 0px 0px 20px rgba(0,0,0,0.7);
  position:relative;
}

ul.primary-links li {
  display:block;
  float:left;
  overflow:auto;
}

ul.primary-links li a {
  display:block;
  padding:10px 20px;
  text-decoration: none;
  color: #2a2929;
  font-style:italic;
  letter-spacing: 2px;
}

ul.primary-links li a:hover {
  border-bottom:5px solid #e1b51e;
  padding-bottom:5px;
}

#main {
  padding-top:2em;
}

#content.front .node .content div:first-child, #content .node .content div:first-child > img{
  float:left;
  padding:0 1em 1em 0;
  margin: 0;
}

#content.front .node .content div:first-child > img {
  padding: 0;
}

#content div.node {
  font-size:1.2em;
  line-height:1.6em;
}

#block-views-block-background-image-menu-block-1 {
  display:none;
}

/* Front Page */

#header.front {
  height:510px;
}

#header.front #background {
  height:510px;
}

#header.front .container {
  height:510px;margin-top:-510px;position:relative;
}

#header.front .block {
  margin:150px 0 0 0;
}

#content.front #main {
  /* Safari 4-5, Chrome 1-9 */
  background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#1a1a1a), to(#111));

  /* Safari 5.1, Chrome 10+ */
  background: -webkit-linear-gradient(top, #1a1a1a, #111);

  /* Firefox 3.6+ */
  background: -moz-linear-gradient(top, #1a1a1a, #111);

  /* IE 10 */
  background: -ms-linear-gradient(top, #1a1a1a, #111);

  /* IE 6 - 9 */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#1a1a1a', EndColorStr='#111111');

  /* Opera 11.10+ */
  background: -o-linear-gradient(top, #1a1a1a, #111);
}

#content.front.container {
  background: #111;
}

#content.front .node .content div:first-child {
  padding-right:2.5em;
  width: 200px;
}

#content.front .node .content div:first-child img {
  border:10px solid #222;
}

#content.front .nodes {
  overflow:hidden;
}
#content.front .node {
  font-family: 'Open Sans', sans-serif;
  color: #ffe400;
  font-weight:300;
  font-size: 150%;
  width:100%;
  height:295px;
}

#content.front h2 {
  display:none;
}

#content.front .node p {
  width:620px;
  float:left;
}

#nodenav { clear: both; text-align:center; }
#nodenav a { text-decoration: none; margin: 0 5px 0 0; padding: 0px 5px 0 0; color: #00c8dd; font-size:3em;  }
#nodenav a.activeSlide { color: #ffe400; }

/* End Front Page */

/* Recent Books */

#block-views-block-books-menu-new-block-1 div.view-Books div.views-row-1,
#block-views-block-books-menu-new-block-1 div.view-Books div.views-row-2,
#block-views-block-books-menu-new-block-1 div.view-Books div.views-row-3 { display: block; }

#block-views-block-books-menu-new-block-1 {
  background: #1a1a1a;
  padding:30px;
  width:auto;
  overflow:auto;
  color: white;
  font-size:1em;
}

#block-views-block-books-menu-new-block-1 em {
  font-size:1.8em;
  font-family: 'Open Sans Condensed', sans-serif;
  display: block;
}

#block-views-block-books-menu-new-block-1 .views-row {
  width:31%;
  float:left;
  margin-right:2%;
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
  font-size: 0.8em;
}

#block-views-block-books-menu-new-block-1 .view-Books h2 {
  display: none;
}

#block-views-block-books-menu-new-block-1 .view-Books .content div:first-child {
  float:left;
  padding:0 10px 0 5px;
}

div.view-Books tr.odd,
div.view-Books tr.even,
div.view-Books tr.odd td,
div.view-Books thead th,
div.view-Books tr,
div.view-Books tr td,
div.view-Books tr.even td {
  background:none !important;
  border:none;
  vertical-align:top;
}

div.view-Books td > a:first-child {
  font-weight: bold;
  font-size: 1.5em;
  line-height: 1;
  padding-bottom: 1em;
  display: block;
}

div.view-Books td > a:last-child {
  color: #eee;
  /* border-radius: 20px; */
  /* width: auto; */
  padding: 0px 18px 0px 18px;
  /* display: inline-block; */
  font-size: 16px;
  /* font-family: Helvetica, sans-serif; */
  line-height: 40px;
  text-align: center;
  /* color: rgba(255,255,255,1); */
  font-weight: 500;
  text-shadow: 0px -1px 0px rgba(0,0,0,0.75);
}

div.view-Books thead {
  display: none;
}

div.view-Books tr td {
  padding-bottom:3em;
}

div.view-Books table tr td {
  color:#eee;
}

div.view-Books table tr td h3 {
  color:inherit;
}

div.view-Books table tr td a.purchase {
  width:auto;
  display:inline-block;
  background:none;
  color:#eee;
}


/* End Recent Books */

/* News Listing */

.view-News {
  font-size:120%;
}

.view-News .views-field-image-attach-images {
  float:left;
  margin-right:1em;
  width:100px;
}

.view-News .views-row {
  clear:both;
  margin:1em 0 3em 0;
  overflow:auto;
}

.view-News .views-field-body {
  float:left;
  width:700px;
}

.view-News a {
  color:#eee;
  font-weight:bold;
}

/* End News Listing */

/* Node Full View */

.node .content .image-attach-body {
  float:left;
  padding:0 1em 1em 0;
  margin:0;
}

.node .submitted {
  display:none;
}

tbody tr:nth-child(even) td, tbody tr.even td {
  background:#444;
}

table {
  border-collapse:collapse;
}

table th td{
  color:#111;
  border-bottom:3px solid #444;
}

.node-unpublished {
  background:transparent;
}

/* End Node Full View */

/* Footer */
footer {
  color: #585858;
  font-size: 0.9em;
}

footer a.feed-icon {
  float:right;
  padding-left:1em;
  display:block;
}
/* End Footer */

a.purchase,
a.purchase:visited,
.button {
  background: -webkit-linear-gradient(top, rgba(110,140,12,1) 0%,rgba(67,97,21,1) 100%);
  background:    -moz-linear-gradient(top, rgba(110,140,12,1) 0%,rgba(67,97,21,1) 100%);
  background:     -ms-linear-gradient(top, rgba(110,140,12,1) 0%,rgba(67,97,21,1) 100%);
  background:      -o-linear-gradient(top, rgba(110,140,12,1) 0%,rgba(67,97,21,1) 100%);
  background:         linear-gradient(top, rgba(110,140,12,1) 0%,rgba(67,97,21,1) 100%);
  -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
         border-radius: 20px;
  width: auto;
  padding: 0px 18px 0px 18px;
  display: inline-block;
  font-size: 16px;
  font-family: Helvetica, sans-serif;
  line-height: 40px;
  text-align: center;
  color: rgba(255,255,255,1);
  font-weight: 500;
  text-shadow: 0px -1px 0px rgba(0,0,0,0.75)
}

a.purchase:hover,
.button:hover {
  background-color: rgba(173,132,132,1);
  background: -webkit-linear-gradient(top, rgba(136,167,35,1) 0%,rgba(76,112,23,1) 100%);
  background:    -moz-linear-gradient(top, rgba(136,167,35,1) 0%,rgba(76,112,23,1) 100%);
  background:     -ms-linear-gradient(top, rgba(136,167,35,1) 0%,rgba(76,112,23,1) 100%);
  background:      -o-linear-gradient(top, rgba(136,167,35,1) 0%,rgba(76,112,23,1) 100%);
  background:         linear-gradient(top, rgba(136,167,35,1) 0%,rgba(76,112,23,1) 100%);
}
a.purchase:active, .button:active {}

/* Fix slider height */
.front .views-element-container.contextual-region .contextual-region {
  height: 0px;
}

/* Fix Menu */
ul.links {
  margin: 0;
  padding: 0;
}

#main .content div:last-child > a {
  background: -webkit-linear-gradient(top, rgba(110,140,12,1) 0%,rgba(67,97,21,1) 100%);
  background: -moz-linear-gradient(top, rgba(110,140,12,1) 0%,rgba(67,97,21,1) 100%);
  background: -ms-linear-gradient(top, rgba(110,140,12,1) 0%,rgba(67,97,21,1) 100%);
  background: -o-linear-gradient(top, rgba(110,140,12,1) 0%,rgba(67,97,21,1) 100%);
  background: linear-gradient(top, rgba(110,140,12,1) 0%,rgba(67,97,21,1) 100%);
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
  width: auto;
  padding: 0px 18px 0px 18px;
  display: inline-block;
  font-size: 16px;
  font-family: Helvetica, sans-serif;
  line-height: 40px;
  text-align: center;
  color: rgba(255,255,255,1);
  font-weight: 500;
  text-shadow: 0px -1px 0px rgba(0,0,0,0.75);
}

.form-item label {
  display: block;
  font-weight: bold;
}

.js-form-type-textarea div textarea{
  width: 95%;
}

[data-drupal-selector="edit-preview"] {
  display: none;
}

[data-drupal-selector="edit-submit"] {
  border-radius: 0;
  background: #fff;
  color: #666;
  margin-bottom: 1em;
  border: solid 1px #444;
}

[data-drupal-selector="edit-submit"]:hover {
  background: #aaa;
  color: #111;
}

h4 {
  font-size: 1.2em;
  line-height: 1.25;
  margin-bottom: 1.25em;
}

#main .content .related-content a {
  border: none !important;
  background: none !important;
  color: #19c6e0 !important;
  font-weight: normal !important;
  padding: 0 0 0 0.5em !important;
  font-size: 1em !important;
  line-height: 1 !important;
}

.related-content {
  .padding-top: 1.2em;
}
