/*!
Theme Name: FoodinJars
Theme URI: towndish.com
Author: Lisa Yoder
AuthorURI: lisayoder.is
Description: Theme for Food in Jars
Version: 1.2
License: The MIT License (MIT)
License URI: http://opensource.org/licenses/MIT
Text Domain: fij
*/
/* FONTS
-------------------------- */
@import url("https://fonts.googleapis.com/css?family=Quattrocento+Sans");
/* LIBRARIES
------------------ */
/* RESET & BASE
------------------ */
/* DEFAULT & RESET CSS*/
/* Table of Contents
==================================================
  1 Generic Styles
  2 Resets
    A Global
    B Media
    C Forms
  3 Typography



/* 1 GENERIC STYLES
================================================== */
/*Mash up based on
  (A) the Bootstrap toolkit from Twitter http://twitter.github.com/bootstrap
  (B) http://csswizardry.com/web-design+/#css
  (C) WordPress image styles */
html {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

*, *:before, *:after {
  -webkit-box-sizing: inherit;
          box-sizing: inherit;
}

html, body {
  height: 100%;
}

/*
div {
  position: relative;
}
*/
.clear {
  clear: both;
}

.aligncenter {
  display: block;
  margin: 0 auto;
}

.textcenter {
  text-align: center;
}

.alignleft {
  float: left;
}

.alignright {
  float: right;
}

img.alignleft {
  margin-right: 1em;
  margin-bottom: 1.8em;
}

img.alignright {
  margin-left: 1em;
  margin-bottom: 1.8em;
}

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

.half {
  width: 45%;
  /* Not exactly half to account for paddings, margins etc. */
}

ul.unstyled {
  list-style-type: none;
}

.hide {
  /* Hide stuff without resorting to display:none; */
  visibility: hidden;
  width: 0 !important;
  height: 0 !important;
  line-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* 2 RESETS
================================================== */
/* 2A GLOBAL RESET
Based on 'reset.css' in the Yahoo! User Interface Library: http://developer.yahoo.com/yui */
*, html, body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, label, fieldset, input, p, blockquote, th, td, address, caption, cite, code, dfn, em, strong, th, var {
  margin: 0;
  padding: 0;
  border: 0;
  font-family: inherit;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
  display: block;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

fieldset {
  border: 0;
}

img {
  border: 0;
  -ms-interpolation-mode: bicubic;
  /* Read more > http://bit.ly/qh1V0T */
}

caption, th {
  text-align: center;
}

q:before, q:after {
  content: '';
}

html {
  overflow-y: scroll;
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

/* The below restores some sensible defaults */
strong {
  font-weight: bold;
}

em {
  font-style: italic;
}

a img {
  border: none;
}

/* Gets rid of IE's blue borders */
/* 2B MEDIA
Based on the Bootstrap toolkit from Twitter http://twitter.github.com/bootstrap */
audio, canvas, video {
  display: inline-block;
  *display: inline;
  *zoom: 1;
}

audio:not([controls]) {
  display: none;
}

/* 2C FORMS
Based on the Bootstrap toolkit from Twitter http://twitter.github.com/bootstrap */
button, input, select, textarea {
  font-size: 100%;
  margin: 0;
  vertical-align: baseline;
  *vertical-align: middle;
}

button, input {
  line-height: normal;
  *overflow: visible;
}

button::-moz-focus-inner, input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

button {
  cursor: pointer;
  -webkit-appearance: button;
}

input[type="button"], input[type="reset"], input[type="submit"] {
  cursor: pointer;
  -webkit-appearance: button;
}

input[type="search"] {
  -webkit-appearance: textfield;
}

input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

textarea {
  overflow: auto;
  vertical-align: top;
}

/* 3 TYPOGRAPHY
================================================== */
.alert {
  background: red;
  color: white;
}

/* 'alert' has a basic style, since it's useful to have it standing out for testing purposes. */
/************************************************************************
 Borrowed from Bourbon: http://bourbon.io/docs/#html5-input-types

 Generate a variable ($all-text-inputs) with a list of all html5 input types that have a text-based input, excluding textarea.
 http://diveintohtml5.org/forms.html
************************************************************************/
/* Bare inputs */
/* Hover Pseudo-class */
/* Focus Pseudo-class */
/* BASE VARIABLES
 *******************/
/* Sizes */
/* Colors */
/* Fonts */
/* Borders */
/* Breakpoints */
/* =TOOLS
------------------ */
/* Mixins + functions (per inuit css) */
/* =LAYOUTS
------------------ */
header {
  background: #f6f7f7;
}

header .c-header {
  border-bottom: 1px solid #eee;
  -webkit-box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
          box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

header .c-header .fl-col {
  float: none;
}

header .c-header .fl-col:first-child {
  -webkit-box-flex: 0;
      -ms-flex: none;
          flex: none;
}

header .c-logo {
  -webkit-transform: rotate(-6deg);
          transform: rotate(-6deg);
}

header .c-logo svg {
  width: 60px;
}

@media (min-width: 48.0625em) {
  header .c-logo svg {
    width: 70px;
  }
}

@media (min-width: 62.0625em) {
  header .c-logo svg {
    width: 80px;
  }
}

header .c-logo a {
  border-bottom: none;
}

header .c-main-nav {
  letter-spacing: .16em;
}

header .c-main-nav ul {
  margin-top: 30px;
}

@media (min-width: 62.0625em) {
  header .c-main-nav ul {
    margin-top: 0;
  }
}

header .c-main-nav a {
  border-bottom: none;
  color: inherit;
}

header .c-main-nav .fl-menu .menu > li {
  text-transform: uppercase;
}

header .c-main-nav ul.fl-menu-horizontal {
  -ms-flex-line-pack: center;
      align-content: center;
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

header .c-main-nav ul.fl-menu-horizontal li.menu-item {
  -webkit-box-flex: 0;
      -ms-flex: 0 0;
          flex: 0 0;
  white-space: nowrap;
}

header .c-main-nav .fl-menu-responsive-toggle-mobile {
  text-align: right;
}

footer {
  color: #444444;
}

footer a {
  color: #E55F44;
}

footer .social-share-icons a:hover {
  color: #F3795A;
}

/* =GENERAL
------------------ */
body, input, textarea {
  color: #444444;
  font-family: "Quattrocento Sans", sans-serif;
  font-size: 14px;
  line-height: 1.625;
}

input, textarea {
  border: 2px solid #E55F44;
  line-height: normal;
  padding: 5px;
  border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
}

button,
input[type="submit"] {
  background: #E55F44;
  border: 2px solid #E55F44;
  color: white;
  padding: 5px 10px;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  clear: both;
}

h1 {
  font-size: 3rem;
  line-height: 1.4;
}

h2 {
  font-size: 2.5rem;
  line-height: 1.4;
}

h3 {
  font-size: 2.2rem;
  line-height: 1.4;
}

h4 {
  font-size: 2rem;
  line-height: 1.4;
}

h5 {
  font-size: 1.8rem;
  line-height: 1.4;
}

h6 {
  font-size: 1.2rem;
  line-height: 1.4;
}

.h--h1 h1, .h--h1 h2, .h--h1 h3, .h--h1 h4, .h--h1 h5, .h--h1 h6 {
  font-size: 3rem;
  line-height: 1.4;
}

.h--h2 h1, .h--h2 h2, .h--h2 h3, .h--h2 h4, .h--h2 h5, .h--h2 h6 {
  font-size: 2.5rem;
  line-height: 1.4;
}

.h--h3 h1, .h--h3 h2, .h--h3 h3, .h--h3 h4, .h--h3 h5, .h--h3 h6 {
  font-size: 2.2rem;
  line-height: 1.4;
}

.h--h4 h1, .h--h4 h2, .h--h4 h3, .h--h4 h4, .h--h4 h5, .h--h4 h6 {
  font-size: 2rem;
  line-height: 1.4;
}

.h--h5 h1, .h--h5 h2, .h--h5 h3, .h--h5 h4, .h--h5 h5, .h--h5 h6 {
  font-size: 1.8rem;
  line-height: 1.4;
}

.h--h6 h1, .h--h6 h2, .h--h6 h3, .h--h6 h4, .h--h6 h5, .h--h6 h6 {
  font-size: 1.2rem;
  line-height: 1.4;
}

.h--underline h1, .h--underline h2, .h--underline h3, .h--underline h4, .h--underline h5, .h--underline h6 {
  color: #E55F44;
  text-transform: uppercase;
  margin-bottom: 1em;
  border-bottom: 2px solid #E55F44;
  letter-spacing: .5px;
}

hr {
  background-color: #ccc;
  border: 0;
  height: 1px;
  margin-bottom: 1.5em;
}

/* Text elements */
p {
  font-size: 1rem;
  margin-bottom: 1.5em;
}

p.wp-caption-text {
  font-size: .8rem;
  font-style: italic;
}

ul, ol {
  margin: 0 0 1.5em 2.5em;
}

ul {
  list-style: square;
}

ol {
  list-style-type: decimal;
}

ol ol {
  list-style: upper-alpha;
}

ol ol ol {
  list-style: lower-roman;
}

ol ol ol {
  list-style: lower-alpha;
}

ul ul, ol ol, ul ol, ol ul {
  margin-bottom: 0;
}

dl {
  margin: 0 1.5em;
}

dd {
  margin-bottom: 1.5em;
}

em, i {
  font-style: italic;
}

blockquote {
  background-color: #f6f7f7;
  font-style: italic;
  font-weight: normal;
  margin: 0 3em;
  border-left: 10px solid #17A5AF;
  padding: 20px 4%;
}

blockquote em, blockquote i, blockquote cite {
  font-style: normal;
}

cite {
  color: #666;
  letter-spacing: 0.05em;
  padding-left: 60px;
}

pre {
  background: #f4f4f4;
  line-height: 1.5;
  margin-bottom: 1.5em;
  overflow: auto;
  padding: 0.75em 1.5em;
}

code, kbd {
  font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr, acronym, dfn {
  cursor: help;
}

address {
  display: block;
  margin: 0 0 1.5em;
}

ins {
  background: #fff9c0;
  text-decoration: none;
}

sup,
sub {
  font-size: 10px;
  height: 0;
  line-height: 1;
  position: relative;
  vertical-align: baseline;
}

sup {
  bottom: 1ex;
}

sub {
  top: .5ex;
}

/* Links */
a {
  color: #E55F44;
}

/* Assistive text */
.assistive-text {
  position: absolute !important;
  clip: rect(1px 1px 1px 1px);
  /* IE6, IE7 */
  clip: rect(1px, 1px, 1px, 1px);
}

#access a.assistive-text:active,
#access a.assistive-text:focus {
  clip: auto !important;
  font-size: 12px;
  position: absolute;
  text-decoration: underline;
  top: 0;
  left: 7.6%;
}

/* =OBJECTS
------------------ */
/* Reusable code patterns (per inuit css) */
.o-row--grey {
  background-color: #f6f7f7;
  border-top: 1px solid #e9ebeb;
}

/* =COMPONENTS
------------------ */
/* Specific code blocks (per inuit css) */
.c-featured-posts .fl-post-carousel {
  position: relative;
}

.c-featured-posts .fl-post-carousel::before, .c-featured-posts .fl-post-carousel::after {
  background-color: rgba(255, 255, 255, 0.666);
  content: '';
  position: absolute;
  top: -20px;
  bottom: -40px;
  z-index: 19;
}

.c-featured-posts .fl-post-carousel::before {
  left: -9999px;
  right: 100%;
  -webkit-transform: translateX(33px);
          transform: translateX(33px);
}

.c-featured-posts .fl-post-carousel::after {
  left: 100%;
  right: -9999px;
  -webkit-transform: translateX(-33px);
          transform: translateX(-33px);
}

.c-featured-posts__row {
  overflow: hidden;
}

.c-featured-posts .bx-viewport {
  overflow: visible !important;
}

.c-featured-posts .fl-post-carousel-post {
  -webkit-box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
          box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.c-featured-posts .carousel-prev,
.c-featured-posts .carousel-next {
  background-color: white;
  border-radius: 100%;
  -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
          box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  opacity: .9;
  padding: 15px !important;
}

.c-filterbar {
  background: #ddfaf8;
  border-bottom: 2px solid #cbf5f4;
  margin-bottom: 1em;
}

.c-filterbar input {
  border-color: #cbf5f4;
}

.c-filterbar select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url(data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjEiIHZpZXdCb3g9IjAgMCAxMjkgMTI5IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAxMjkgMTI5IiB3aWR0aD0iNTEycHgiIGhlaWdodD0iNTEycHgiPgogIDxnPgogICAgPHBhdGggZD0ibTEyMS4zLDM0LjZjLTEuNi0xLjYtNC4yLTEuNi01LjgsMGwtNTEsNTEuMS01MS4xLTUxLjFjLTEuNi0xLjYtNC4yLTEuNi01LjgsMC0xLjYsMS42LTEuNiw0LjIgMCw1LjhsNTMuOSw1My45YzAuOCwwLjggMS44LDEuMiAyLjksMS4yIDEsMCAyLjEtMC40IDIuOS0xLjJsNTMuOS01My45YzEuNy0xLjYgMS43LTQuMiAwLjEtNS44eiIgZmlsbD0iIzAwMDAwMCIvPgogIDwvZz4KPC9zdmc+Cg==);
  background-size: 22px 12px;
  background-position: right center;
  background-repeat: no-repeat;
  border: 2px solid #cbf5f4;
  display: inline-block;
  padding: 5px 34px 5px 10px;
  position: relative;
}

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

.c-filterbar li {
  display: inline-block;
  margin-right: 1em;
  padding-right: 0;
}

.c-fixed-width-sidebar-row__main-col {
  width: calc( 100% - 340px);
}

.c-fixed-width-sidebar-row__sidebar-col {
  width: 340px;
}

.fl-post-grid-post {
  border: none;
}

.c-post-preview__thumbnail {
  margin-bottom: 1em;
  overflow: hidden;
  padding-top: 75%;
  position: relative;
}

.c-post-preview__thumbnail > img {
  display: block;
  height: 100% !important;
  -o-object-fit: cover;
     object-fit: cover;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100% !important;
}

.c-post-preview__title {
  font-size: 1.2rem;
  line-height: 1.2;
}

.c-post-preview__meta {
  color: #a7a8a8;
}

a:hover .c-post-preview__meta {
  color: #E55F44;
}

/* =PROJECT SPECIFIC
------------------ */
div.fl-builder-content a {
  text-decoration: none;
  border-bottom: 1px solid #E55F44;
  padding-bottom: 1px;
}

div.fl-builder-content a:focus, div.fl-builder-content a:active, div.fl-builder-content a:hover {
  border-bottom: 1px solid transparent;
}

div.fl-builder-content .a--ul a {
  text-decoration: none;
  border-bottom: 1px solid #E55F44;
  padding-bottom: 1px;
}

div.fl-builder-content .a--ul a:focus, div.fl-builder-content .a--ul a:active, div.fl-builder-content .a--ul a:hover {
  border-bottom: 1px solid transparent;
}

div.fl-builder-content .a--normal a {
  text-decoration: initial;
  border-bottom: initial;
  padding-bottom: initial;
}

div.fl-builder-content .a--normal a:focus, div.fl-builder-content .a--normal a:active, div.fl-builder-content .a--normal a:hover {
  border-bottom: initial;
}

div.fl-builder-content .a--none a {
  text-decoration: initial;
  border-bottom: initial;
  padding-bottom: initial;
}

div.fl-builder-content .a--none a:focus, div.fl-builder-content .a--none a:active, div.fl-builder-content .a--none a:hover {
  border-bottom: initial;
}

div.fl-builder-content .a--none a {
  text-decoration: none;
}

.fl-module-photo a {
  display: inline-block;
  vertical-align: middle;
}

.fl-module-fl-post-content img {
  height: auto;
  width: 100%;
}

.fl-post-grid-image a {
  border-bottom: 0;
  display: block;
  padding-bottom: 0;
}

.fl-post-grid-image img {
  display: block;
}

.fl-post-grid-title a {
  border-bottom: 0;
  padding-bottom: 0;
}

dl.gallery-item {
  margin: 0;
}

/* Images & Embeds */
embed
iframe,
object {
  max-width: 100%;
}

img {
  max-width: 100%;
}

img[class*="align"], img[class*="wp-image-"], img[class*="attachment-"] {
  height: auto;
}

img.size-full, img.size-large {
  width: 100%;
  height: auto;
  /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}

img.alignleft, img.alignright, img.aligncenter {
  margin-bottom: 1.5em;
}

/* Captions */
/* Galleries */
.gallery-caption {
  color: #444444;
  font-size: 10px;
}

#content .gallery {
  margin: 0 auto 1.5em;
}

#content .gallery a img {
  border: none;
}

#content .gallery-columns-4 .gallery-item {
  width: 23%;
  padding-right: 2%;
}

/* =BLOG SPECIFIC
------------------ */
.fl-module-sidebar .widgettitle {
  color: #E55F44;
  font-size: 1.25rem;
  text-transform: uppercase;
  margin-bottom: 20px;
  border-bottom: 2px solid #E55F44;
  letter-spacing: .5px;
}

.fl-module-sidebar li {
  list-style: none;
}

/* Special Classes */
.no-border {
  border-bottom: none;
  margin-bottom: 0;
  padding: 0;
}

/* Search Widget */
.widget_search form {
  margin: 0 0 10px;
}

.widget_search #s {
  width: 95%;
  display: inline-block;
}

#comments-title {
  padding: 0 0 2.6em;
}

h3#comments {
  font-size: 2rem;
}

.nopassword,
.nocomments {
  color: #444444;
  font-size: 24px;
  margin: 26px 0;
}

.commentlist {
  list-style: none;
  margin: 0 auto;
  width: 100%;
}

.commentlist > li.comment {
  position: relative;
  border-top: 1px solid #17A5AF;
  padding: 30px 0 35px;
}

.commentlist > li.comment:first-of-type {
  border-top: none;
}

.commentlist .pingback {
  border-top: 1px solid #17A5AF;
  padding: 30px 0 35px;
}

.commentlist .children {
  list-style: none;
  margin: 0 0 10px 20px;
}

.commentlist .children .children {
  margin: 10px 0 10px 10px;
}

.commentlist .children li.comment {
  position: relative;
}

.reply {
  padding-top: 20px;
}

article.comment {
  border-bottom: 1px solid #000;
  padding: 10px 0;
}

.comment-meta {
  margin-bottom: 12px;
}

.comment-meta .fn,
.comment-meta time {
  font-style: normal;
  display: block;
  clear: right;
  color: #444444;
}

.avatar {
  float: left;
  padding-right: 10px;
  vertical-align: bottom;
}

.comment-content p {
  margin-bottom: 1em;
}

.comment-content p:last-of-type {
  margin-bottom: 0;
}

/* Post author highlighting */
.commentlist > li.bypostauthor,
.commentlist .children > li.bypostauthor {
  border: 1px solid #BDE4E9;
  background-color: #f6f7f7;
  color: #E55F44;
  padding: 20px 20px 30px;
  margin: 30px 20px 30px;
}

.commentlist > li.bypostauthor .comment-meta .fn, .commentlist > li.bypostauthor .comment-meta time,
.commentlist .children > li.bypostauthor .comment-meta .fn,
.commentlist .children > li.bypostauthor .comment-meta time {
  color: #E55F44;
}

.entry-title,
.entry-title a {
  clear: both;
  color: #E55F44;
}

.entry-date {
  color: #E55F44;
  font-size: 11px;
}

.pibfi_pinterest {
  display: block !important;
}

#zlrecipe-container {
  font-size: 16px;
}

#zlrecipe-container #zlrecipe-ingredients-list li {
  list-style-type: disc !important;
}

.fl-post-info-sep:first-of-type {
  display: none;
}

.London_time_2 {
  height: 40px !important;
}

/* Handle sticky posts */
/* Comment Form */
#respond {
  margin: 0 0 1.5em;
  position: relative;
  width: 100%;
}

#respond .comment-form-author,
#respond .comment-form-email,
#respond .comment-form-url,
#respond .comment-form-comment {
  position: relative;
  margin: 5px 0 0;
}

#respond .comment-form-author label,
#respond .comment-form-email label,
#respond .comment-form-url label,
#respond .comment-form-comment label {
  color: #444444;
  display: inline-block;
  padding: 0px 10px 8px;
  position: relative;
  width: 20%;
  z-index: 1;
}

#respond input[type="email"], #respond input[type="number"], #respond input[type="password"], #respond input[type="search"], #respond input[type="tel"], #respond input[type="text"], #respond input[type="url"], #respond input[type="color"], #respond input[type="date"], #respond input[type="datetime"], #respond input[type="datetime-local"], #respond input[type="month"], #respond input[type="time"], #respond input[type="week"],
#respond textarea {
  position: relative;
  display: inline-block;
  border: 2px solid #17A5AF;
  padding: 10px;
  border-radius: 5px;
  width: 75%;
}

#respond textarea {
  min-height: 150px;
  resize: vertical;
}

#respond .form-submit {
  float: left;
  margin: 0 0;
}

#respond input[type=submit] {
  cursor: pointer;
  margin: 20px 0;
  padding: 5px;
  border: 1px solid #E55F44;
  border-radius: 6px;
  text-transform: uppercase;
  background-color: #f6f7f7;
  color: #17A5AF;
}

#respond input[type=submit]:hover {
  background-color: #fff;
}

#respond .logged-in-as a {
  color: #444444;
}

#respond p {
  margin-bottom: 1em;
}

a.comment-reply-link {
  color: #E55F44;
  display: inline-block;
  text-decoration: none;
  border: 1px solid #E55F44;
  padding: 5px;
  border-radius: 6px;
  text-transform: uppercase;
  background-color: #f6f7f7;
}

a.comment-reply-link:hover {
  background-color: #fff;
}

#cancel-comment-reply-link {
  color: #444444;
  display: block;
  position: absolute;
  right: 1.5em;
  text-decoration: none;
  top: 1.1em;
  margin-left: 10px;
  text-decoration: none;
}

.commentlist #respond {
  margin: 1.5em 0 0;
  width: auto;
}

.form-allowed-tags {
  display: none;
}

.comment-subscription-form {
  clear: both;
  display: block;
}
