/* Theme Name: Quest WP Theme
 * Theme URI: 
 * Author: Will Jones
 * Author URI: 
 * Description: Custom theme for the Quest website.
 * Version: 0.1
 * License: GNU General Public License v2 or later
 * License URI: http://www.gnu.org/licenses/gpl-2.0.html
 * Tags: responsive, newspaper, 
 * Text Domain: questwptheme
 *
 * This theme, like WordPress, is licensed under the GPL.
 * Use it to make something cool, have fun, and share what you've learned with others. */
/**************************   COLORS   *************************** */
/*************************   TYPOGRAPHY   ************************* */
body {
  font-family: Georgia, serif;
  color: #333333;
  background: #5e0501;
  margin: 0;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale;
  margin-top: 50px;
  font-size: 18px; }
  @media screen and (max-width: 767px) {
    body {
      font-size: 16px; } }

a, a:visited {
  color: #0a60aa; }

h1, h2, h3, h4 {
  font-family: "Lora", Georgia, serif;
  font-weight: bold;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale; }

h1 a, h2 a, h3 a, h4 a {
  color: inherit;
  text-decoration: none; }
  h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover {
    text-decoration: underline; }
  h1 a:active, h2 a:active, h3 a:active, h4 a:active {
    color: #105591;
    text-decoration: underline; }

img {
  max-width: 100%;
  height: auto; }

article {
  padding: 1rem; }
  @media screen and (max-width: 767px) {
    article {
      padding: 0; }
      article .headline {
        font-size: 1.5em; }
      article .subtitle {
        font-size: 1.1em; } }
  article p {
    line-height: 1.8em; }
  article img {
    max-width: 100%;
    height: auto; }
  article .wp-caption {
    max-width: 100%; }
  article li {
    line-height: 1.8em; }

.featured-headline {
  margin: 0.5em 0 0; }
  .featured-headline a {
    color: inherit; }

.headline {
  font-size: 2.2em;
  text-align: center; }

.subtitle {
  font-size: 1.5em;
  text-align: center;
  font-style: italic;
  font-weight: normal;
  font-family: Georgia, serif; }

.center {
  text-align: center; }

.text-right {
  text-align: right; }

.pagination-container {
  margin: 0.6em 0 0.6em; }

.page-numbers, a.page-numbers {
  background: none;
  display: inline-block;
  margin: 0.2em 0 0.2em;
  color: #646464;
  padding: 0.2em 0.5em;
  font-weight: bold;
  text-decoration: none;
  border-radius: 2px;
  border: 1px solid #f8f8f8; }
  .page-numbers.current, a.page-numbers.current {
    color: #5e0501; }

a.page-numbers:hover, a.page-numbers:active {
  border: 1px solid #e6e6e6;
  border-radius: 2px;
  color: #333333;
  background: linear-gradient(white, #f8f8f8);
  box-shadow: inset 0px 1px 0px rgba(255, 255, 255, 0.8), 0px 1px 3px rgba(0, 0, 0, 0.1); }

/***************************   TABLES  *************************** */
article table {
  border-spacing: 0; }
  article table td {
    border-bottom: 1px solid #eeeeee;
    padding: 0.5em; }
  article table th {
    border-color: #5e0501; }

/**************************   LAYOUT   *************************** */
.section {
  clear: both;
  padding: 0;
  margin: 0; }

.main-wrapper {
  overflow: auto;
  background: white; }

.center-container {
  margin: 0 auto;
  padding: 0;
  max-width: 1200px; }

.left {
  width: 66.66%;
  float: left;
  box-sizing: border-box;
  border-right: 1px solid #dddddd;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2); }

.right {
  width: 33.33%;
  float: left; }

@media screen and (max-width: 767px) {
  .left {
    width: 100%; }

  .right {
    display: none; } }
/* Background Colors */
#featured-news {
  /* style for news stories on front page */
  border: 0.25rem #105591 solid;
  border-left: 0.25rem #105591 solid;
  background: white;
  padding: 0;
  margin: 0; }
  #featured-news .story-list {
    padding: 0 0.75rem 0; }
  #featured-news h3 {
    background: #105591;
    margin: 0 0 0.5rem 0;
    padding: 0.75rem 0.75rem 0.2rem; }
    #featured-news h3 a {
      color: white;
      font-size: 1.2em; }

#featured-letters .story-list h4 {
  font-size: 1rem; }

.lightblue {
  background: #0a60aa;
  color: white; }

.darkblue {
  background: #105591;
  color: white; }
  .darkblue a {
    color: white; }

.white {
  background: white; }

.col {
  display: block;
  float: left;
  padding: 1rem 2rem 1rem;
  box-sizing: border-box; }
  .col:first-child {
    padding-left: 2rem; }
  .col:last-child {
    padding-right: 2rem; }

.group {
  clear: both; }
  .group:after, .group:before {
    content: "";
    display: table; }
  .group:after {
    clear: both; }

.span2 {
  width: 16.66%; }

.span3 {
  width: 25%; }

.span4 {
  width: 33.33%; }

.span5 {
  width: 41.66%; }

.span6 {
  width: 50%; }

.span7 {
  width: 58.33%; }

.span8 {
  width: 66.66%; }

.span9 {
  width: 75%; }

.span10 {
  width: 83.33%; }

.span12 {
  width: 100%; }

.padded {
  box-sizing: border-box;
  padding: 0 2rem; }

@media screen and (max-width: 767px) {
  .span2, .span3, .span4, .span5, .span6, .span7, .span8, .span9, .span10, .span12 {
    width: 100%; }

  .col {
    padding: 1rem; }
    .col:first-child, .col:last-child {
      padding: 1rem; } }
/* Lists of Stories */
.story-list {
  list-style-type: none;
  margin: 0;
  padding: 0; }
  .story-list li {
    box-sizing: border-box;
    margin: 0;
    padding: 0.5em 0;
    border-bottom: 1px solid #c8c8c8; }
    .story-list li:nth-of-type(1) h4 {
      font-size: 1.4em; }
  .story-list h2.headline {
    font-size: 1.3em;
    color: black;
    opacity: 0.75; }
    .story-list h2.headline a {
      text-decoration: none;
      color: inherit; }
    .story-list h2.headline:hover {
      opacity: 1; }
  .story-list h3 {
    background: #5e0501;
    display: inline-block;
    text-align: center;
    padding: 0.3rem 0.5rem 0.3rem;
    font-size: 1em;
    margin: 0; }
    .story-list h3 a {
      color: white; }
  .story-list h4 {
    color: #105591;
    font-size: 1em;
    padding: 0.1rem 0 0.1rem;
    margin: 0; }
  .story-list p {
    font-size: 0.9em;
    margin: 0.5em 0; }
  .story-list .byline {
    font-size: 0.8rem; }

/**************************   HEADER   *************************** */
.admin-bar .header {
  top: 32px; }

.header {
  padding: 0.2rem 2rem 0.1rem;
  box-sizing: border-box;
  overflow: auto;
  background: white;
  color: #5e0501;
  top: 0;
  left: 0;
  z-index: 100;
  position: fixed; }
  @media screen and (max-width: 767px) {
    .header {
      background-color: white;
      margin: 0;
      padding: 0.2rem 0 0; } }

.mobile-header {
  display: inline-block; }
  @media screen and (max-width: 767px) {
    .mobile-header {
      display: block;
      border-bottom: 1px solid #333333;
      height: 45px; } }

/* Quest Icon */
#questQ path {
  fill: #5e0501; }
#questQ:hover path {
  cursor: pointer; }

#questQsvg {
  float: left; }

/* Title of website i.e. The Reed College Quest */
.title {
  padding: 0.7rem 0.5rem 0;
  font-size: 1.2em;
  display: inline-block;
  margin: 0; }
  @media screen and (max-width: 1060px) {
    .title {
      display: block;
      text-align: center;
      margin: 0 40px 0 40px;
      font-size: 1em; } }

/* The Main Menu */
.main-menu {
  margin: 0 0 0 2em;
  padding: 0;
  display: inline-block;
  list-style-type: none;
  position: relative;
  font-weight: bold;
  float: none; }
  .main-menu:hover li {
    opacity: 0.3; }
  .main-menu li {
    display: inline-block;
    padding: 0.5rem 1rem 0.8rem;
    margin: 0;
    opacity: 1;
    transition: opacity 0.2s; }
    .main-menu li:hover {
      opacity: 1; }
    .main-menu li a {
      color: inherit;
      text-decoration: none; }

/* Mobile editon */
@media screen and (max-width: 767px) {
  .main-menu {
    margin-left: 0;
    display: block; }
    .main-menu li {
      display: inline-block;
      float: left;
      width: 50%;
      padding: 0;
      margin: 0;
      text-align: center; }
      .main-menu li a {
        box-sizing: border-box;
        display: block;
        padding: 1rem;
        width: 100%;
        color: inherit;
        text-decoration: none; } }
/* The Search Box */
.header .search-box {
  display: inline-block;
  float: right;
  position: relative; }

.search-box {
  position: relative; }

.search-box-input, .search-box-submit {
  margin: 0.5rem 0 0;
  font-size: 0.9em;
  box-sizing: border-box; }

.header .search-box-input {
  width: 10em;
  border: none; }
  .header .search-box-input:focus {
    width: 15em; }

.search-box-input {
  padding: 0.4rem 1rem 0.4rem 1.75em;
  width: 100%;
  transition: width 0.2s ease;
  border-radius: 2px;
  border: 1px solid #969696;
  color: #5e0501; }
  .search-box-input:focus {
    width: 15em; }

.search-box-submit {
  display: hidden;
  width: 5em;
  position: relative;
  padding: 6px 15px;
  left: -8px;
  border: none;
  background: none;
  background-color: white;
  color: #5e0501; }
  .search-box-submit:hover {
    cursor: pointer;
    background-color: #aa1913; }

#search-icon {
  position: absolute;
  top: 1rem;
  left: 0.4rem; }
  #search-icon path {
    fill: #5e0501; }

input[type='submit'] {
  appearance: none;
  border-radius: 0; }

@media screen and (max-width: 767px) {
  .header .search-box {
    margin: 0; }
  .header .search-box-input {
    width: 100%;
    box-sizing: border-box; }
    .header .search-box-input:focus {
      width: 100%; }

  .search-box {
    display: block;
    float: none;
    width: 100%;
    margin: 0.5rem 5% 0.5rem;
    box-sizing: border-box; }

  fieldset {
    border: none;
    padding: none;
    margin: none; }

  .search-box-input {
    border: 1px solid #969696;
    width: 90%; }
    .search-box-input:focus {
      width: 90%; }

  .search-box-submit {
    width: 0;
    margin: 0 5% 0 0; } }
/* Menu icon */
@media screen and (min-width: 768px) {
  .mobile {
    display: none; } }

.icon {
  background: none;
  border: none;
  float: left;
  position: absolute;
  top: 7px;
  right: 5px; }
  @media screen and (max-width: 767px) {
    .icon {
      display: block; } }
  .icon path {
    fill: #5e0501; }

.active-button path {
  fill: #0a60aa; }

.navigation-container {
  max-height: 800px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  display: inline; }
  @media screen and (max-width: 767px) {
    .navigation-container {
      background: white;
      color: #333333;
      display: block; }
      .navigation-container.closed {
        max-height: 0; } }

/**************************   FOOTER   *************************** */
.footer ul {
  list-style-type: none;
  padding: 0;
  margin: 0; }
  .footer ul li {
    display: inline-block;
    padding: 1rem;
    margin: 0; }

/*************************   GALLERY   ************************* */
/* Gallery */
.gallery-container {
  padding: 1rem 0 2rem;
  background: #0a0a0a;
  color: white;
  width: 100%;
  padding: 0;
  margin: 0;
  overflow: hidden;
  position: relative;
  visbility: hidden; }

.featured-gallery {
  background: #0a0a0a;
  display: block;
  margin: 0;
  padding: 0;
  top: 0;
  left: 0;
  clear: both;
  position: relative;
  overflow: hidden; }
  .featured-gallery .slide {
    width: 100%;
    box-sizing: border-box;
    float: left;
    position: relative;
    padding: 0;
    max-height: 600px;
    overflow: hidden; }
  .featured-gallery .headline {
    position: absolute;
    bottom: 1em;
    width: 100%; }
  .featured-gallery .headline a {
    display: block;
    text-shadow: 0 1px 3px black; }
  .featured-gallery img {
    width: 100%;
    margin: 0 auto; }
  @media screen and (max-width: 767px) {
    .featured-gallery .slide {
      padding: 0; }
    .featured-gallery .headline {
      width: calc(100% - 2rem);
      font-size: 1.4em; } }

.counter {
  width: 170px;
  position: relative;
  top: -30px;
  padding: 0;
  margin: 0 auto;
  height: 0;
  clear: both; }
  .counter div {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    padding: 0;
    margin: 10px 10px;
    display: inline-block;
    background: white;
    transition: opacity 0.2s;
    opacity: 0.8;
    box-shadow: 0 0 2px #333333; }
    .counter div:hover {
      opacity: 1;
      cursor: pointer; }
  .counter .counter-on {
    background: #5e0501;
    transition: opacity 0.2s;
    opacity: 1; }
    .counter .counter-on:hover {
      background: #5e0501; }

/* positions for the featured images to be in */
/*************************   IMAGES   ************************* */
.full-width {
  width: 100%;
  display: block;
  margin: 0 auto; }

.image {
  width: 100%; }

.caption {
  margin-top: 0.1rem 0 1rem;
  padding: 0;
  font-size: 0.8em; }

/**************************   COMMENTS   *************************** */
.button {
  box-sizing: border-box;
  padding: 0.2em 0.5em 0.2em;
  border-radius: 2px;
  border: 1px solid rgba(51, 51, 51, 0.1);
  text-decoration: none;
  display: inline-block; }
  .button:hover, .button:active {
    border: 1px solid rgba(51, 51, 51, 0.2);
    box-shadow: inset 1px 1px 2px rgba(255, 255, 255, 0.2), 1px 1px 3px rgba(0, 0, 0, 0.1); }

.comments-container {
  margin: 0 -1em 0;
  padding: 0 2em 1em; }
  @media screen and (max-width: 767px) {
    .comments-container {
      padding: 0 1em 1em; } }

#respond {
  background: white;
  margin: 0;
  padding: 1em 0 1em;
  border-radius: 4px; }
  #respond input, #respond textarea {
    max-width: calc(100% - 2em);
    font-size: 1rem;
    margin: 0.5em 0 0.5em;
    border-radius: 2px;
    border: 1px solid #c8c8c8; }
  #respond #submit {
    font-family: Georgia, serif;
    background: white;
    font-size: 1rem;
    padding: 0.2em 0.5em 0.2em;
    border-radius: 2px;
    border: 1px solid rgba(51, 51, 51, 0.1); }
    #respond #submit:hover, #respond #submit:active {
      border: 1px solid rgba(51, 51, 51, 0.2);
      box-shadow: inset 1px 1px 2px rgba(255, 255, 255, 0.2), 1px 1px 3px rgba(0, 0, 0, 0.1); }

ol.commentlist {
  list-style-type: none;
  padding: 0; }
  ol.commentlist ol, ol.commentlist ul {
    list-style-type: none;
    padding-left: 0.2em; }
  ol.commentlist li {
    border: 1px solid #dddddd;
    border-left: 6px solid #5e0501;
    padding-bottom: 0.5em;
    padding: 1em;
    margin-bottom: 1.5em;
    margin-right: 1em;
    margin-left: 1em;
    border-radius: 4px;
    background: white; }
  ol.commentlist .comment-body {
    padding-bottom: 1em; }
  ol.commentlist .comment-meta {
    font-size: 0.8em; }
    ol.commentlist .comment-meta a {
      color: #646464; }
  ol.commentlist .reply a {
    padding: 0.2em 0.5em 0.2em;
    border-radius: 2px;
    border: 1px solid #f8f8f8;
    color: #333333;
    text-decoration: none; }
    ol.commentlist .reply a:hover {
      border: 1px solid #e6e6e6;
      border-radius: 2px;
      background: linear-gradient(white, #f8f8f8);
      box-shadow: inset 0px 1px 0px rgba(255, 255, 255, 0.8), 0px 1px 3px rgba(0, 0, 0, 0); }
  ol.commentlist > li {
    margin-left: 0; }

/**************************   PRINTING   *************************** */
@media print {
  .right {
    display: none; }

  .header {
    display: none; }

  .comments-container {
    display: none; }

  .left {
    width: calc(100%-4em);
    padding: 0 4em 0;
    margin: 0; }

  .footer {
    display: none; }

  body {
    font-size: 14px; } }
