/*
Theme Name: Twenty Sixteen
Description: Used to style the TinyMCE editor.
*/


/**
 * Table of Contents:
 *
 * 1.0 - Body
 * 2.0 - Typography
 * 3.0 - Elements
 * 4.0 - Alignment
 * 5.0 - Caption
 * 6.0 - Galleries
 * 7.0 - Audio / Video
 * 8.0 - RTL
 */


/**
 * 1.0 - Body
 */

body {
  max-width: 600px;
  margin: 20px 40px;
  font-family: Merriweather, Georgia, serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  color: #1a1a1a;
  vertical-align: baseline;
}

body.post-type-page {
  max-width: 840px;
}


/**
 * 2.0 - Typography
 */

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 56px 0 28px;
  clear: both;
  font-weight: 900;
}

h1 {
  font-size: 33px;
  line-height: 1.2727272727;
}

h2 {
  font-size: 28px;
  line-height: 1.25;
}

h3 {
  font-size: 23px;
  line-height: 1.2173913043;
}

h4,
h5,
h6 {
  font-size: 19px;
  line-height: 1.1052631579;
}

h4 {
  text-transform: uppercase;
  letter-spacing: .13333em;
}

h6 {
  font-style: italic;
}

h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child,
h6:first-child {
  margin-top: 0;
}

p {
  margin: 0 0 28px;
}

b,
strong {
  font-weight: 700;
}

dfn,
cite,
em,
i {
  font-style: italic;
}

blockquote {
  padding: 0 0 0 24px;
  margin-bottom: 28px;
  overflow: hidden;
  font-size: 19px;
  font-style: italic;
  line-height: 1.4736842105;
  color: #686868;
  border-left: 4px solid #1a1a1a;
}

blockquote:not(.alignleft):not(.alignright) {
  margin-left: -28px;
}

blockquote blockquote:not(.alignleft):not(.alignright) {
  margin-left: 0;
}

blockquote:before,
blockquote:after {
  display: table;
  content: "";
}

blockquote:after {
  clear: both;
}

blockquote > :last-child {
  margin-bottom: 0;
}

blockquote cite,
blockquote small {
  font-size: 16px;
  line-height: 1.75;
  color: #1a1a1a;
}

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

blockquote strong,
blockquote b {
  font-weight: 400;
}

blockquote.alignleft,
blockquote.alignright {
  width: -webkit-calc(50% - 14px);
  width:         calc(50% - 14px);
  padding: 18px 0 0;
  border: 0 solid #1a1a1a;
  border-top-width: 4px;
}

address {
  margin: 0 0 28px;
  font-style: italic;
}

code,
kbd,
tt,
var,
samp,
pre {
  font-family: Inconsolata, monospace;
}

pre {
  max-width: 100%;
  padding: 14px;
  margin: 0 0 28px;
  overflow: auto;
  font-size: 16px;
  line-height: 1.3125;
  word-wrap: break-word;
  white-space: pre;
  white-space: pre-wrap;
  border: 1px solid #d1d1d1;
}

code {
  padding: 2px 4px;
  background-color: #d1d1d1;
}

abbr[title] {
  cursor: help;
  border-bottom: 1px dotted #d1d1d1;
}

mark,
ins {
  padding: 2px 4px;
  color: #fff;
  text-decoration: none;
  background: #007acc;
}

sup,
sub {
  position: relative;
  height: 0;
  font-size: 75%;
  line-height: 0;
  vertical-align: baseline;
}

sub {
  top: -6px;
}

sup {
  bottom: -3px;
}

small {
  font-size: 80%;
}

big {
  font-size: 125%;
}


/**
 * 3.0 - Elements
 */

hr {
  height: 1px;
  margin-bottom: 28px;
  background-color: #d1d1d1;
  border: 0;
}

ul,
ol {
  padding: 0;
  margin: 0 0 28px 0;
}

ul {
  list-style: disc;
}

ol {
  list-style: decimal;
}

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

li > ul,
blockquote > ul {
  margin-left: 20px;
}

li > ol,
blockquote > ol {
  margin-left: 24px;
}

dl {
  margin: 0 0 28px;
}

dt {
  font-weight: bold;
}

dd {
  margin: 0 0 28px;
}

table,
th,
td,
.mce-item-table,
.mce-item-table th,
.mce-item-table td {
  border: 1px solid #d1d1d1;
}

table a {
  color: #007acc;
}

table,
.mce-item-table {
  width: 100%;
  margin: 0 0 28px;
  border-spacing: 0;
  border-collapse: separate;
  border-width: 1px 0 0 1px;
}

table th,
.mce-item-table th,
table caption {
  padding: 7px;
  font-size: 16px;
  font-weight: 700;
  text-align: left;
  vertical-align: baseline;
  border-width: 0 1px 1px 0;
}

table td,
.mce-item-table td {
  padding: 7px;
  font-size: 16px;
  vertical-align: baseline;
  border-width: 0 1px 1px 0;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border: 0;
}

a img {
  display: block;
}

figure {
  margin: 0;
}

del {
  opacity: .8;
}

a {
  color: #007acc;
  text-decoration: none;
  box-shadow: 0 1px 0 0 currentColor;
}

fieldset {
  padding: 14px;
  margin: 0 0 28px;
  border: 1px solid #d1d1d1;
}


/**
 * 4.0 - Alignment
 */

.alignleft {
  float: left;
  margin: 6px 28px 28px 0;
}

.alignright {
  float: right;
  margin: 6px 0 28px 28px;
}

.aligncenter {
  display: block;
  margin: 0 auto 28px;
  clear: both;
}


/**
 * 5.0 - Caption
 */

.wp-caption {
  max-width: 100%;
  padding: 0;
  margin-bottom: 28px;
  text-align: inherit;
  background: transparent;
  border: none;
}

.wp-caption-text,
.wp-caption-dd {
  padding-top: 7px;
  font-size: 13px;
  font-style: italic;
  line-height: 1.6153846154;
  color: #686868;
}


/**
 * 6.0 - Galleries
 */

.mce-content-body .wpview-wrap {
  margin-bottom: 28px;
}

.gallery {
  padding: 0;
  margin: 0 -1.1666667%;
}

.gallery .gallery-item {
  display: inline-block;
  width: 100%;
  max-width: 33.33%;
  padding: 0 1.1400652% 2.2801304%;
  text-align: center;
  vertical-align: top;
}

.gallery-columns-1 .gallery-item {
  max-width: 100%;
}

.gallery-columns-2 .gallery-item {
  max-width: 50%;
}

.gallery-columns-4 .gallery-item {
  max-width: 25%;
}

.gallery-columns-5 .gallery-item {
  max-width: 20%;
}

.gallery-columns-6 .gallery-item {
  max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
  max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
  max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
  max-width: 11.11%;
}

.gallery .gallery-caption {
  margin: 0;
  font-size: 13px;
}

.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
  display: none;
}


/**
 * 7.0 - Audio / Video
 */

.wp-audio-shortcode a,
.wp-playlist a {
  box-shadow: none;
}

.mce-content-body .wp-audio-playlist {
  padding-bottom: 0;
  margin: 0;
}

.mce-content-body .wp-playlist-tracks {
  margin-top: 0;
}

.mce-content-body  .wp-playlist-item {
  padding: 10px 0;
}

.mce-content-body .wp-playlist-item-length {
  top: 10px;
}


/**
 * 8.0 - RTL
 */

.rtl blockquote {
  border: 0 solid #1a1a1a;
  border-right-width: 4px;
}

.rtl blockquote.alignleft,
.rtl blockquote.alignright {
  border: 0 solid #1a1a1a;
  border-top-width: 4px;
}

.rtl blockquote:not(.alignleft):not(.alignright) {
  padding: 0 24px 0 0;
  margin-right: -28px;
}

.rtl blockquote blockquote:not(.alignleft):not(.alignright) {
  margin-right: 0;
  margin-left: auto;
}

.rtl li > ul,
.rtl blockquote > ul {
  margin-right: 20px;
  margin-left: auto;
}

.rtl li > ol,
.rtl blockquote > ol {
  margin-right: 24px;
  margin-left: auto;
}

.rtl table th,
.rtl .mce-item-table th,
.rtl table caption {
  text-align: right;
}
