/**
 * @file
 * Stark layout method
 *
 * To avoid obscuring CSS added to the page by Drupal or a contrib module, the
 * Stark theme itself has no styling, except just enough CSS to arrange the page
 * in a traditional "Header, sidebars, content, and footer" layout.
 *
 * This layout method works reasonably well, but shouldn't be used on a
 * production site because it can break. For example, if an over-large image
 * (one that is wider than 20% of the viewport) is in the left sidebar, the
 * image will overlap with the #content to the right. The exception to this
 * is IE6 which will just hide the navigation block completely in these
 * instances due to a positioning bug.
 */

/* TEMP */

 /*
 fake SCSS
 $main-background: #fffffc;
 $main-color: #333333;
 $main-highlight: #d42222;
 $main-hover: #dd0000;
 $secondary-background: #fffffa;
 $secondary-color: #222222;
 $maybe-grey: #aaaaaa;
 */



/* standard library */
body {
  background: #fcfcf7;
  color: #333333;
  margin: 0;
}
a {
  color: #d42222;
  text-decoration: none;
}
a:hover {
  color: #dd0000;
}

#content,
#sidebar-first,
#sidebar-second {
  float: left;
  display: inline;
  position: relative;
}
.front #content {
  padding-top: 35px;
}
#content {
  width: 100%;
  /* padding-top: 35px; */
  padding-bottom: 70px;
}
body.sidebar-first #content {
  width: 80%;
  left: 20%; /* LTR */
}
body.sidebar-second #content {
  width: 80%;
}
body.two-sidebars #content {
  width: 60%;
  left: 20%;
}

#sidebar-first {
  width: 20%;
  left: -80%; /* LTR */
}

body.two-sidebars #sidebar-first {
  left: -60%; /* LTR */
}

#sidebar-second {
  float: right; /* LTR */
  width: 20%;
}

.section {
  margin: 10px;
}

/* global */
#header, #navigation, #footer > .section, #breadcrumb {
  max-width: 900px; /* cheap responsive design */
  margin: 0 auto;
}
#main-wrapper {
  max-width: 700px;
  margin: 0 auto;
}
.front-page-width {
  max-width: 1000px !important;
}

/*
.front-page-width .content img {
    max-width: 100%;
    height: auto;
    float: right;
    margin-top: -400px;
    -webkit-box-shadow: 7px 8px 8px 1px rgba(0, 0, 0, 0.52);
    -moz-box-shadow: 7px 8px 8px 1px rgba(0, 0, 0, 0.52);
    box-shadow: 7px 8px 8px 1px rgba(0, 0, 0, 0.52);
}
*/
#breadcrumb {
  display: none;
}
.field-label {
  margin-right: 12px;
}

/* front header */

#main-wrapper-wrapper{
  color: #222222;
  background: #fcfcf7;
}
#front-main-wrapper-wrapper{
  border-width: 20px 15px;
  border-style: solid;
  border-color: #222222;
  color: #222222;
  background: #fffffa;
  background-image: url("http://joewoodsworks.com/fb7/sites/all/themes/images/beckett.gif");
  background-repeat: no-repeat;
  background-position: right bottom;
}
#front-logo {
  display: inline-block;
  margin: 35px 0;
}
#front-logo img {
  max-width: 80vw;
}
/* removed .submitted from this block */
.front .submitted {
  margin-bottom: 21px;
  padding-left: 35px;
  padding-bottom: 0px !important;
  /* color: #aaaaaa; */
}
.node-readmore, .front .workflow-transition-form, .front .workflow-current-state {
  display: none !important;
}
#this-image {
  display: inline-block;
  float: left;
}
.front .node-teaser > h2 {

}
.front .view-header {
  /* this is stuff that needs to go in through the admin interface, actually */
}
.front .view-header p {
  margin: 0;
}
.front .view-header, #block-views-recent-news-block h2 {
  font-size: 2rem;
  margin-top: 0px;
}
#front-main-wrapper-wrapper .views-row .node {
  padding: 15px 0px 15px 150px;
}
.front .field-name-field-image img {
  padding-left: 0px;
  float: left;
  padding: 0;
  margin: 15px 10px;
  background-color: white;
  box-shadow: -2px 2px 7px 0px rgba(0, 0, 0, 0.86);
}
.front #block-system-main {
  max-width: 500px;
  padding-right: 75px;
  display: inline-block;
  float: left;
}
.front .field-items {
  word-wrap: break-word;
}
.front #block-views-recent-news-block {
  max-width: 400px;
  display: inline-block;
  float: left;
}
.front #block-views-recent-news-block p:after {
  content: "...";
}
.front #block-views-recent-news-block .view-footer p:after {
  content: " " !important;
}
.front #block-views-recent-news-block .views-row {
  padding-bottom: 21px;
}
.front #block-views-recent-news-block .field-content a {
  font-size: 1em;
  text-decoration: none;
}
#volume-block {
  font-size: 1.5em;
  font-style: italic;
  color: #222222;
  position: absolute;
  top: 118px;
  left: 392px;
}
.front .node-teaser > h2 {
  font-size: 2rem;
  padding-left: 35px;
  color: #222222;
  margin: 0;
}
.front .node-teaser > .content > .field-name-field-author {
  /* font-size: 2rem; */
  padding-left: 35px;
  margin: 0;

}
.front .node-teaser > h2 > a {
  color: #d42222;
  text-decoration: none;
}
.front .field-type-text-with-summary {
  /* color: #aaaaaa; */
  padding-left: 75px;
}
.front .field-name-body p {
    font-family: 'Lato' !important;
    font-style: normal;
    font-weight: normal;
}
.front .field-type-text-with-summary:before {
  content: '“';
  float: left;
  font-size: 3rem;
  line-height: 1.5rem;
  height: 0.2rem;
}

/* front search */
.front #search-block-form {
    float: right;
    margin-top: -105px;
    margin-right: 35px;
}
.front #search-block-form input {
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
  border: 2px solid #aaa;
  min-width: 200px;
  padding: 7px;
}
.front #search-block-form #edit-submit--4, .front #search-block-form #edit-submit {
  min-width: 50px;
  background: #f5f5f5;
}

/* body header */

#header{
    padding: 35px 0px;
    background: #fcfcf7;
}
#navigation {
  display: none; /* remove default navigation */
}
a#logo {
    float: left;
    padding-right: 10px;
}
#site-name {
    margin-bottom: 0;
    padding-top: 5px;
    font-family: 'EB Garamond';
    font-style: normal;
    font-weight: normal;
    font-size: 2em;
}
#site-name > a {
    color: #222222;
    padding: 0 5px;
    margin-left: -5px;
    background: #fffffa;
}

/* content */

.field-name-field-author {
    display: inline-block;
    font-size: 1.4rem;
    padding-bottom: 1.4rem;
}
.node-article .submitted {
  padding-bottom: 1.4rem;
}
.front .field-name-field-author {
    display: block !important;
    padding-bottom: .45rem;
}
.field-name-field-image {
  padding: 35px 0;
}
.front .field-name-field-image {
  padding: 0;
}
.field-name-body {
    font-size: 1rem;
    line-height: 1.6rem;
}
.field-name-field-author-bio {
  font-size: 1rem;
  padding: 35px;
  background: #967152;
  color: #ffffff;
  margin: 35px 0;
}
.field-name-field-author-bio a {
    color: #eeeeef;
}
.field-name-field-author-bio img {
    max-width: 150px;
    float: left;
    margin: 0 25px 0 0;
}
.field-name-field-author-bio .field-item.even:before, .field-name-field-author-bio .field-item.even:after {
    content: " ";
    display: table;
}
.field-name-field-author-bio .field-item.even:after {
    clear: both;
}
.node-unpublished {
    background-color: transparent !important;
}

/* Submitting content */
/* hacky way to hide the issue field from contributors */
.form-item.form-type-textfield.form-item-field-issue-und-0-value {
  display: none;
}
/* footblob!
#foot_blob {
  width: 100%;
  background: #afb7cf;
  background-image: url("http://joewoodsworks.com/fb7/sites/all/themes/images/triangular.png");
  display: inline-block;
  text-align: center;
  margin: 0 auto;
  padding: 70px 0;
}
#foot_blob > div {
  display: inline-block;
  margin: 0 auto;
}
#foot_blob > div > div {
    background: #333333;
    -webkit-box-shadow: 7px 8px 8px 1px rgba(0, 0, 0, 0.52);
    -moz-box-shadow: 7px 8px 8px 1px rgba(0, 0, 0, 0.52);
    box-shadow: 7px 8px 8px 1px rgba(0, 0, 0, 0.52);
    width: 260px;
    padding: 35px;
    display: inline-block;
    margin: 0 auto;
    margin: 20px;
    text-align: left;
    vertical-align: top;
}
#foot_blob > div > div a {
  color: #d42222;
}
#foot_blob h2 {
  background: #d42222;
  color: #fffffa;
  display: inline-block;
  padding: 0 5px;
  margin-top: 0;
  font-weight: bold;
} */
#foot_blob {
  padding: 70px 0;
  overflow: hidden;
  background: #992222;
  color: #222222;
  background-image: url(http://joewoodsworks.com/fb7/themes/stark/images/heather-zabriskie-65701copy.jpg);
  background-attachment: fixed;
}
#foot_blob h2 {
  color: #ffffff;
}
#foot_blob a {
  color: #223322;
  font-weight: bold;
}
.region-foot-blob{
  max-width: 882px;
  margin: 0 auto;
}
#foot_blob td {
  max-width: 205px;
  padding: 10px;
  vertical-align: top;
}
#foot_blob h2 {
  padding-left: 22px;
}
.footy-item {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 1.5rem;
}
.footy-item li {
    width: 200px;
    height: auto;
    float: left;
    margin: 10px;
    padding: 37px;
    border-radius: 5px;
    background: rgba(255, 255, 255, .8);
    height: 145px;

}
/*
.footy-item li:hover {
  background: rgba(255, 255, 255, .8);
}
*/
/*
.footy-item li:nth-child(4n+4) {
    border: 2px dashed black;
}
.footy-item li:nth-child(5n+1) {
    background: #fbfbfb;
}
.footy-item li:nth-child(7n+2) {
    border: 2px solid black;
}
.footy-item li:nth-child(5) {
    background: #f5f5f5;
}
.front .footy-item .views-field-created, .front .footy-item .views-field-field-genre {
  color: #aaa;
  font-size: 0.8rem;
}
*/
/* footer */

#footer h2 {
  color: #222222;
}
#footer {
  border-width: 10px 6px;
  border-style: solid;
  border-color: #222222;
  background: #fffffa;
  color: #333333;
  padding: 70px;
  min-height: 400px;
}

#footer a {
  color: #333333;
}
.region-footer {
  display: inline-block;
}
.region.region-footer > div {
    width: 400px;
    min-height: 100px;
    max-width: 500px;
    float: left;
    padding: 15px;
    margin: 8px;
}
.region-footer > div > h2 {
    margin-top: 0;
}
.region-footer > div:nth-child(2) {
    float: right;
}
#footer_two {
    margin: 0 auto;
    height: 100%;
    background: #fffffa;
    padding: 70px 0;
    text-align: center;
    color: #333333;
}
.a-footer-image-with-padding-on-the-right {
  padding-right: 7px;
}
.footer-logo {
  padding-top: 35px;
}

@media (min-width: 1288px) {
  #foot_blob {
    background-size: 100% auto;
  }
}
@media (max-width: 1045px) {
  #footer {
    text-align: center;
  }
  .region.region-footer > div {
    float: none;
    text-align: left;
  }
  #content, #sidebar-first, #sidebar-second, .front #block-system-main, .front #block-views-recent-news-block {
    float: none;
  }
  .front .region-content {
    float: none;
    /* text-align: center; */
    margin: 0 auto;
  }
  .view-content {
    text-align: left;
  }
  #volume-block {
    top: 73px;
  }
  .front #block-system-main {
    display: inline;
  }
}
@media (max-width: 881px) {
  .region-foot-blob {
    max-width: 588px;
  }
  .content img {
    max-width: 95vw;
    height: auto;
  }
  .front .field-type-text-with-summary {
    max-width: 45vw;
  }
  .front #search-block-form {
    display: none;
  }
}
@media (max-width: 587px) {
  .region-foot-blob {
    max-width: 274px;
  }
  #volume-block {
    display: none;
  }
  .front .field-name-field-image img {
    margin: 0 auto;
    margin-left: 25vw;
    margin-bottom: 15px;
    float: none;
  }
  #front-main-wrapper-wrapper .views-row .node {
    padding: 0;
    display: inline-block;
    margin: 0 auto;
  }
  .front .field-type-text-with-summary {
    max-width: inherit;
  }
  .region.region-footer > div {
    display: inline;
  }
  /* .footy-item li {
    float: none;
    margin: 0 auto;
    margin-bottom: 35px;
  }*/
}
