/* #######################################################################

	5.	Mobile layout

####################################################################### */
#content-wrapper {
  width: 100%;
  border: 10px solid #f5f4f0; /* TO Border */
  transition: border-width 0.5s ease-in;
}

blockquote {
  margin: 2em 0;
  border: 1px dotted rgba(0, 0, 0, 0.22);
  border-left: none;
  border-right: none;
  font-size: 110%;
  text-align: center;
  padding: 1.5em 1.5em 0.5em 1.5em;
}

.quote {
  text-align: center;
  font-size: 150%;
  margin-top: 1.5em;
  padding: 2em 0.5em 1.5em 0.5em;
  background: url(../img/quotemark.png) 50% 0 no-repeat;
}

article.format-quote .quote {
  padding: 2em 0;
  background-position: 50% 0;
  font-size: 130%;
}

.archive-content .format-quote .quote {
  margin-top: 1em;
}

.quote-source, .archive-content span.source {
  margin-top: 2em;
  font-size: 65%;
}

.quote-rating-1, .quote-rating-2, .quote-rating-3, .quote-rating-4, .quote-rating-5 {
  margin-top: 0.25em;
  height: 30px;
  background: url(../img/stars.png) 50% 10px no-repeat;
}

.quote-rating-4 {
  background-position: 50% -30px;
}

.quote-rating-3 {
  background-position: 50% -70px;
}

.quote-rating-2 {
  background-position: 50% -110px;
}

.quote-rating-1 {
  background-position: 50% -150px;
}

header {
  width: 100%;
  text-align: center;
  padding: 40px 0 0 0;
}

/* MeanMenu mobile bar */
.mean-container .mean-bar {
  background: var(--literary-page-bg, #6cb4b9) !important;
  display: block;
  position: relative;
  padding: 10px 0;
  min-height: 0;
}

.mean-container .mean-nav {
  background: var(--literary-page-bg, #6cb4b9) !important;
  margin-top: 0 !important;
  z-index: 1;
}

.mean-container .literary-mobile-menu-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 44px;
  padding: 0 6px 0 16px;
  position: relative;
  z-index: 2;
}

.mean-container .literary-mobile-menu-bar .literary-meanmenu-label {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1;
  pointer-events: none;
  flex: 1;
}

.mean-container a.meanmenu-reveal {
  position: relative;
  top: auto;
  right: auto;
  left: auto;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-indent: -9999em !important;
  font-size: 1px !important;
  text-align: left !important;
  background: transparent !important;
}

.mean-container a.meanmenu-reveal span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0;
  background: #fff;
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}

.mean-container a.meanmenu-reveal span + span {
  margin-top: 5px;
}

.mean-container a.meanmenu-reveal.meanclose span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mean-container a.meanmenu-reveal.meanclose span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mean-container a.meanmenu-reveal.meanclose span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

header .logo .site-title {
  display: block;
}

.divider {
  width: 100%;
  height: 1px;
  text-align: center;
  opacity: 0.3;
  padding: 25px 0;
}

.divider .divide {
  margin: 0 auto;
  width: 150px;
}

.announce {
  width: 100%;
  background: rgba(0, 0, 0, 0.1);
  padding: 20px;
}

.announce.social-header {
  padding-top: 0;
  padding-bottom: 0;
  background: rgba(0, 0, 0, 0.2);
}

.announce.social-header .social-links {
  padding: 0.5em 0;
}

.wrapper, .meta.top {
  width: 100%;
}

.meta.top, .sidebar-on .meta.top {
  float: left;
  width: 100%;
  padding: 30px 0 0 0;
  margin: 0 0 1em 0;
  list-style-type: none;
  text-align: center;
}

article.format-standard .meta.top {
  padding: 0;
}

/* Icons */
article.format-video .meta.top {
  background: url(../img/icon-video.png) 50% 4px no-repeat;
}

article.format-aside .meta.top {
  background: url(../img/icon-aside.png) 50% 4px no-repeat;
}

article.format-audio .meta.top {
  background: url(../img/icon-audio.png) 50% 4px no-repeat;
}

article.format-chat .meta.top {
  background: url(../img/icon-chat.png) 50% 4px no-repeat;
}

article.format-gallery .meta.top {
  background: url(../img/icon-gallery.png) 50% 4px no-repeat;
}

article.format-quote .meta.top {
  background: url(../img/icon-quote.png) 50% 4px no-repeat;
}

article.format-link .meta.top {
  background: url(../img/icon-link.png) 50% 4px no-repeat;
}

article.format-image .meta.top {
  background: url(../img/icon-image.png) 50% 4px no-repeat;
}

article.format-status .meta.top {
  background: url(../img/icon-status.png) 50% 4px no-repeat;
}

.meta li, .sidebar-on .meta li {
  display: inline;
}

.sidebar-on .meta li .separator {
  display: inline;
}

.wrapper {
  padding: 0 10px;
}

.wrapper.full-wrap {
  width: 100%;
  padding-top: 20px;
  margin-top: 2em;
}

.archive-content article {
  width: 100%;
  margin-top: 30px;
  margin-bottom: 50px;
}

.post-thumb {
  display: block;
  text-align: center;
  margin-bottom: 20px;
}

.meta.bottom {
  float: left;
  width: 100%;
  padding: 0;
  margin: 20px 0;
  list-style: none;
  text-align: center;
}

li.more a, .book-cover a.button,
.read-more {
  display: block;
  padding: 12px 0;
  text-align: center;
  border: none;
  border-radius: 0;
}

li.more a:hover, .book-cover a.button:hover, .read-more:hover {
  border: none;
}

.post-content, .the-content {
  width: 100%;
}

.the-content {
  padding: 10px 20px;
}

.page-template-template-blog-php article.format-link .the-content, .home article.format-link .the-content, .archive-content article.format-aside .the-content, article.format-link .single-link .the-content, .archive-content article.format-status .the-content, article.format-status .single-status .the-content {
  padding: 60px 20px 30px 20px;
  text-align: center;
}

.archive-content article.format-aside .the-content {
  padding: 30px 20px;
}

article.format-link .the-content h2 a, article.format-link .the-content h1 a, .article-content article.format-link .the-content h2 a, .home article.format-link .the-content h2 a, .archive article.format-link .the-content h2 a {
  background: url(../img/link-open.png) 50% 15px no-repeat;
  padding-top: 40px;
}

.home .the-content {
  background: none;
  padding-top: 0;
  padding-bottom: 0;
}

.mejs-container {
  max-width: 100%;
}

article.format-chat p {
  text-align: left;
  margin: 0.5em 0;
  padding: 0.5em 0;
}

.home article.format-chat p, .archive article.format-chat p {
  text-align: center;
}

.home article.format-chat p:first-of-type, .archive article.format-chat p:first-of-type {
  text-align: center;
}

#literary-footer {
  display: block;
  width: 100%;
  padding: 30px;
  text-align: center;
}

#literary-footer .wrapper {
  max-width: 90%;
  justify-content: center;
}

.social-links {
  display: flex;
  gap: 8px;
  width: 100%;
  padding-top: 1em;
}

.navigation {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 50px;
  padding: 20px;
}

.navigation .nav-next, .navigation .nav-previous {
  flex: 0 0 50%;
  text-align: center;
  padding: 0;
}

.navigation .nav-previous {
  padding: 20px 0 0 0;
}

.navigation .nav-previous {
  padding-bottom: 0;
}

.pagination {
  display: block;
  width: 100%;
  text-align: center;
}

.pagination ul {
  padding: 0;
  margin: 0 auto;
  list-style-type: none;
}

.pagination li {
  padding: 0;
  margin: 0 0 0 1em;
  display: inline;
}

.pagination li:first-child {
  margin-left: 0;
}

section#main {
  width: 100%;
  min-height: 500px;
}

.sidebar {
  width: 100%;
  padding: 2em 10px 2em 10px;
  margin-top: 2em;
}

.sidebar h5 {
  margin-bottom: 0.5em;
}

.sidebar .widget {
  width: 100%;
  padding: 0 0 1em 0;
}

.sidebar a {
  opacity: 0.7;
}

.sidebar ul {
  line-height: 1.4;
  padding: 0;
  margin: 0;
  list-style-type: none;
}

.sidebar ul ul {
  margin-top: 1em;
  margin-left: 1em;
}

.sidebar ul ul ul {
  margin-left: 2em;
}

.sidebar li {
  margin: 0.25em 0 0.75em 0;
}

.sidebar input.s {
  margin: 0.25em 0;
  width: 100%;
}

.single-portfolio .the-content {
  margin-bottom: 50px;
}

.single-portfolio .no-budge .the-content {
  margin-bottom: 20px;
}

.portfolio-item {
  position: relative;
  float: left;
  background: #fff;
  width: 94%;
  margin-top: 30px;
  margin-left: 3%;
  line-height: 0;
  margin-bottom: 20px;
}

.portfolio-item img {
  width: 100%;
}

.portfolio-content {
  position: absolute;
  top: 0;
  left: 0;
  line-height: 1.2;
  width: 80%;
  padding: 20px 10%;
  opacity: 0;
}

.portfolio-item:hover .portfolio-content {
  opacity: 1;
}

.portfolio-item:hover img {
  opacity: 0.07;
}

.portfolio-item, .portfolio-item:hover, .portfolio-item .portfolio-content, .portfolio-item:hover .portfolio-content, .portfolio-item img, .portfolio-item:hover img {
  transition: all 0.25s ease-in;
}

.single-portfolio .flexslider {
  margin-bottom: 20px;
}

.flexslider, .stacked {
  float: left;
  width: 100%;
}

.stacked ul {
  padding: 0;
  margin: 0;
  list-style-type: none;
}

.stacked ul li {
  padding: 0;
  margin-bottom: 20px;
}

.flex-direction-nav a {
  text-align: center;
  line-height: 36px;
}

.tweets {
  float: left;
  width: 100%;
  font-size: 80%;
}

.twitter-avatar img {
  width: 25px;
  height: 25px;
  margin-right: 10px;
  float: left;
}

.tweets ul,
.tweets ul li {
  padding: 0;
  margin: 0;
  list-style-type: none;
}

.tweets ul li {
  margin-bottom: 1em;
}

.tweet_timestamp, .tweet_intents, .tweets .follow, .sidebar a.follow {
  font-size: 80%;
  display: block;
}

.sidebar a.follow {
  display: inline-block;
}

.tweet_intents {
  margin-top: 0.5em;
}

/* ----- Single ----- */
.single .post-content.audio {
  margin-bottom: 20px;
}

.comment-system, #comments, #respond, div.comments {
  float: left;
  width: 100%;
}

img.avatar {
  width: 25px;
}

#respond-title a {
  display: block;
}

#respond {
  float: left;
}

#respond form, .commentlist {
  float: left;
  width: 100%;
  padding: 0;
  margin: 0;
}

#reply-title {
  float: left;
}

#respond-title a:hover {
  opacity: 0.8;
}

p.form-allowed-tags {
  width: 95%;
}

ol.commentlist {
  padding-top: 10px;
  padding-bottom: 30px;
}

ol.commentlist p {
  line-height: 1.4;
}

ol.commentlist li {
  list-style-type: none;
  padding: 35px 0 0 0;
  padding-bottom: 0;
  position: relative;
  float: left;
  width: 100%;
}

ol.commentlist li:first-of-type {
  border: none;
}

ol.commentlist li ul {
  margin: 25px 0 30px 0;
  float: left;
  width: 100%;
  padding-left: 0;
}

ol.commentlist li li {
  padding-left: 5%;
  width: 95%;
  float: left;
  border-bottom: none;
}

.comment-body, .comment-author {
  float: right;
  width: 89%;
  margin: -5px 0 0 0;
  padding: 0;
}

input.searchsubmit {
  display: none;
}

.contact-form input, .password-protect input, input.s, textarea, input[type=text] {
  border: 1px solid #e1e1e1;
  background: #fff;
  width: 64%;
  padding: 0.95em;
}

#map {
  float: left;
  width: 100%;
  height: 220px;
}

input.s {
  width: 100%;
  border: none;
}

.password-protect input[type=submit] {
  margin-top: 20px;
  opacity: 1;
}

.contact-form textarea, #respond form textarea {
  width: 100%;
}

.contact-form input, #respond form input {
  margin-right: 20px;
}

.contact-form form {
  padding-top: 0.25em;
}

textarea {
  width: 90%;
  height: 10em;
}

input[type=text],
input[type=submit],
input[type=password],
input[type=url],
input[type=email],
input[type=tel],
textarea,
button,
.form-submit input, .comment-reply a {
  -webkit-appearance: none;
  border-radius: 0;
  outline: none;
}

.comment-reply a {
  font-size: 75%;
  padding: 6px 9px 8px 9px;
}

/* ----- Archive & Search ----- */
.archive-post-content {
  margin-bottom: 20px;
}

h1.searching span {
  background: #f5f2c9;
  padding: 4px;
}

.top-search {
  float: right;
  width: 100%;
}

.top-search a {
  position: relative;
  display: block;
  float: right;
  width: 44px;
  height: 44px;
  background-image: url(../img/cross.png);
  background: url(../img/magnify.png) 50% 50% no-repeat rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.top-search a.cross {
  background-image: url(../img/cross.png);
}

.top-search a:hover {
  background-color: rgba(0, 0, 0, 0.2);
}

.top-search span {
  visibility: hidden;
}

.top-search input.s {
  display: none;
  float: right;
  width: 85.35%;
  border: none;
  position: relative;
  z-index: 1;
  padding-top: 10px;
  padding-bottom: 10px;
  min-height: 44px;
  opacity: 0.6;
}

.archive-content.content {
  margin-top: -10px;
}

/* ----- Page ----- */
.page article,
.tax-book-categories article,
.tax-book-tags article {
  width: 100%;
}
@media (min-width: 768px) {
  .page article,
  .tax-book-categories article,
  .tax-book-tags article {
    margin-bottom: 50px;
  }
}

.page .meta {
  text-align: center;
}

label.error {
  width: 100%;
  color: #f00;
  margin: 0.5em 0 1em 0;
}

input.error, textarea.error {
  border: 1px solid #f00;
}

.pnf .post-content {
  text-align: center;
  width: 100%;
  padding-right: 0;
}

.pnf .pnf-actions {
  margin: 1.5em 0;
}

.pnf .searchform {
  margin: 2em auto 0;
  max-width: 24em;
}

.page-template-template-blog-php .post-content.up {
  margin-bottom: -60px;
}

/* ----- Archives Page ----- */
article .archives-content ul {
  padding: 0;
  margin: 0.5em 0 2em 0;
  list-style-type: none;
}

article .archives-content ul li a {
  display: inline-block;
  padding: 4px 0 4px 20px;
  margin-bottom: 0.25em;
  transition: all 0.25s ease-in;
}

article .archives-content ul li a:hover {
  padding-left: 35px;
  transition: all 0.25s ease-in;
}

.comment-body, .comment-author {
  width: 85%;
}

.author-meta {
  float: left;
  width: 100%;
  text-align: center;
  padding: 30px 0 0 0;
}

.author-meta img {
  border: 1px solid #EAEAE9;
}

/* ----- Books ----- */
.book-cover {
  float: left;
  width: 100%;
  text-align: center;
}

.page-template-template-books-php .book-cover img:hover, .page-template-template-books-php .book-cover img,
.tax-book-categories .book-cover img:hover, .tax-book-categories .book-cover img,
.tax-book-tags .book-cover img:hover, .tax-book-tags .book-cover img {
  transition: opacity 0.25s ease-in;
}

.book-cover img:hover {
  opacity: 0.5;
}

.book-cover ul {
  padding: 0.5em 0 1em 0;
  margin: 0;
  list-style-type: none;
}

.book-cover ul li {
  margin: 0.5em 0;
}

.book-cover a.button {
  margin-bottom: 1em;
}

.page-template-template-books-php .book-cover,
.tax-book-categories .book-cover,
.tax-book-tags .book-cover {
  margin: 30px 0;
  width: 76%;
  padding-left: 12%;
}

.page-template-template-books-php .book-cover .button,
.tax-book-categories .book-cover .button,
.tax-book-tags .book-cover .button {
  margin: 20px 0 0 0;
  width: 215px;
  display: inline-block;
}

.flex-clear {
  float: left;
  width: 100%;
}

.flexslider.book-flex {
  max-width: 100%;
  width: 215px;
  margin-top: 50px;
}

.flexslider.book-flex * {
  opacity: 1;
}

.flexslider.book-flex .flex-direction-nav {
  position: absolute;
  top: -35px;
  padding: 0;
  width: 100%;
  z-index: 1;
  text-align: left;
}

.flexslider.book-flex .flex-direction-nav:hover a {
  opacity: 1;
}

.flexslider.book-flex .flex-direction-nav a:hover {
  opacity: 0.7;
}

.book-flex .book-cover {
  width: 100%;
}

.book-flex .book-cover img {
  margin-bottom: 10px;
}

.book-cover img, .book-cover img:hover {
  transition: opacity 0.25s ease-in;
}

.book-flex .flex-next, .book-flex .flex-prev, .flexslider.book-flex:hover .flex-next, .flexslider.book-flex:hover .flex-prev {
  float: left;
  top: auto;
  bottom: auto;
  left: auto;
  right: auto;
  display: inline-block;
  padding: 0;
  width: 44px;
  height: 44px;
  transition: opacity 0.25s ease-in;
  border: none;
}

.book-flex .flex-next:hover, .book-flex .flex-prev:hover {
  transition: opacity 0.25s ease-in;
}

.book-flex .flex-next {
  margin-left: 54px;
  margin-top: -28px;
  background-position: 50% 9px;
}

#literary-footer .widgets, .footer-widget {
  float: left;
  width: 100%;
  margin-bottom: 30px;
}

.footer-widget h5 {
  margin-bottom: 1em;
}

#literary-footer input.s {
  width: 100%;
  opacity: 0.5;
}

.widget {
  text-align: left;
}

.widget ul {
  padding: 0;
  margin: 0;
  list-style-type: none;
}

.widget ul li {
  padding: 0;
  margin: 0.25em 0 0.75em 0;
}

/* ----- Box-sizing ----- */
.announce, .meta.top, .wrapper, #content-wrapper, footer, .the-content, .navigation, .contact-form input, .password-protect input, input.s, textarea, input[type=text], .sidebar {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

/* Borders */
.divider .divide {
  margin: 0 auto;
  border-top: 1px solid #fff; /* TO - Border */
}

.wrapper.full-wrap {
  border-top: 1px solid #fff; /* TO - Border */
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

article.format-chat p {
  border-bottom: 1px solid #ccc;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1); /* TO - Border */
}

article.format-chat p:first-of-type {
  border-top: 1px solid #ccc;
  border-top: 1px solid rgba(0, 0, 0, 0.1); /* TO - Border */
}

.home article.format-chat p, .archive article.format-chat p {
  border-bottom: 1px solid #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3); /* TO - Border */
}

.home article.format-chat p:first-of-type, .archive article.format-chat p:first-of-type {
  border-top: 1px solid #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.3); /* TO - Border */
}

.sidebar {
  border-top: 1px solid #fff; /* TO - Border */
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.announce a, .meta a, #literary-footer a, .sidebar a, .pagination a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.flex-direction-nav a {
  color: #fff;
}

.page-template-template-portfolio-php .the-content {
  text-align: left;
}

.clearboth.trio {
  display: none;
}

