/*
Theme Name: Affinity
Theme URI: https://wordpress.com/themes/affinity/
Description: Affinity is a classic one-page theme designed with weddings and family announcements in mind.
Version: 1.0.7
Author: Automattic
Author URI: http://wordpress.com/themes/
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: affinity
Tags: blog, custom-background, custom-colors, custom-header, featured-image-header, featured-images, flexible-header, full-width-template, rtl-language-support, theme-options, threaded-comments, translation-ready, one-column, two-columns, right-sidebar
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Accessibility
# Alignments
# Clearings
# Typography
# Forms
# Buttons
# Formatting
# Lists
# Tables
# Navigation
# Links
# Layout
	## Posts
	## Pages
# Comments
# Widgets
# Infinite scroll
# Media
	## Galleries
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
  font-family: sans-serif;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
  display: block;
}

audio,
canvas,
progress,
video {
  display: inline-block;
  vertical-align: baseline;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

[hidden],
template {
  display: none;
}

a {
  background-color: transparent;
}

a:active,
a:hover {
  outline: 0;
}

abbr[title] {
  border-bottom: 1px dotted;
}

b,
strong {
  font-weight: bold;
}

dfn {
  font-style: italic;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

mark {
  background: #ff0;
  color: #000;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

img {
  border: 0;
}

svg:not(:root) {
  overflow: hidden;
}

figure {
  margin: 1em 40px;
}

hr {
  box-sizing: content-box;
  height: 0;
}

pre {
  overflow: auto;
}

code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

button, #infinite-handle span,
input,
optgroup,
select,
textarea {
  color: inherit;
  font: inherit;
  margin: 0;
}

button, #infinite-handle span {
  overflow: visible;
}

button, #infinite-handle span,
select {
  text-transform: none;
}

button, #infinite-handle span,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer;
}

button[disabled], #infinite-handle span[disabled],
html input[disabled] {
  cursor: default;
}

button::-moz-focus-inner, #infinite-handle span::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

input {
  line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

fieldset {
  border: 1px solid silver;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

legend {
  border: 0;
  padding: 0;
}

textarea {
  overflow: auto;
}

optgroup {
  font-weight: bold;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}
.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  color: #5e5853;
  display: block;
  font-size: 13.2px;
  font-size: 0.825rem;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
  /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
  outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
  display: inline;
  float: left;
  margin: 0.4em 1.6em 0.4em 0;
}

.alignright {
  display: inline;
  float: right;
  margin: 0.4em 0 0.4em 1.6em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
  content: "";
  display: table;
  table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
  clear: both;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
#infinite-handle span,
input,
select,
textarea {
  color: #1e1c1b;
  font-family: Lora, Baskerville, Georgia, Times, serif;
  font-size: 16px;
  font-size: 1rem;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  clear: both;
  font-family: Lora, Baskerville, Georgia, Times, serif;
  font-style: italic;
  font-weight: normal;
  margin-top: 0.2em;
  margin-bottom: 0.2em;
}

h1 {
  font-size: 34px;
  font-size: 2.125rem;
}

h2 {
  font-size: 29.2px;
  font-size: 1.825rem;
}

h3 {
  font-size: 26px;
  font-size: 1.625rem;
}

h4 {
  font-size: 18px;
  font-size: 1.125rem;
  margin-top: 0.4em;
  margin-bottom: 0.4em;
}

h5 {
  font-size: 16px;
  font-size: 1rem;
  margin-top: 0.8em;
  margin-bottom: 0.8em;
}

h6 {
  font-size: 14px;
  font-size: 0.875rem;
  margin-top: 0.8em;
  margin-bottom: 0.8em;
}

p {
  margin-top: 0;
  margin-bottom: 1.6em;
}

dfn, cite, em, i {
  font-style: italic;
}

blockquote {
  color: #99908a;
  font-size: 18px;
  font-size: 1.125rem;
  font-style: italic;
  margin: 0;
  border-top: 3px solid #e8e9ea;
  padding-top: .8em;
  border-bottom: 1px solid #e8e9ea;
  margin-bottom: .8em;
  padding-bottom: .8em;
}
blockquote.aligncenter {
  text-align: center;
}
blockquote p:last-of-type {
  margin-bottom: 0;
}
blockquote blockquote {
  border-top: 0;
  border-bottom: 0;
  padding-left: .8em;
  padding-bottom: 0;
}
blockquote cite {
  display: block;
  text-align: right;
  font-style: normal;
  font-size: 16px;
  font-size: 1rem;
}

address {
  margin: 0 0 1.6em;
}

pre {
  background: #e8e9ea;
  font-family: "Courier 10 Pitch", Courier, monospace;
  font-size: 13.2px;
  font-size: 0.825rem;
  line-height: 1.6;
  margin-bottom: 1.6em;
  max-width: 100%;
  overflow: auto;
  padding: 1.6em;
}

code, kbd, tt, var {
  font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
  font-size: 13.2px;
  font-size: 0.825rem;
}

abbr, acronym {
  border-bottom: 1px dotted #666666;
  cursor: help;
}

mark, ins {
  background: #fff9c0;
  text-decoration: none;
}

big {
  font-size: 125%;
}

blockquote, q {
  quotes: "" "";
}
blockquote:before, blockquote:after, q:before, q:after {
  content: "";
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
  color: #99908a;
  border: 3px solid #e8e9ea;
  border-radius: 3px;
  margin-bottom: 1.6em;
  transition: 0.3s;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
  color: #5e5853;
  border-color: #99908a;
  outline: none;
}

select {
  border: 1px solid #e8e9ea;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"] {
  padding: .5em;
}

textarea {
  padding-left: .4em;
  width: 100%;
}

/* Jetpack Comment Form */
.affinity-front-page .contact-form {
  margin: 0 auto;
}

.con