/*
Theme Name: Clean Education
Description: Used to style Gutenberg Blocks in the editor.
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 General Typography
2.0 General Block Styles
3.0 Blocks - Common Blocks
4.0 Blocks - Formatting
5.0 Blocks - Layout Elements
6.0 Blocks - Widgets
--------------------------------------------------------------*/

/*--------------------------------------------------------------
1.0 General Typography
--------------------------------------------------------------*/
.editor-post-title__block .editor-post-title__input {
	color: inherit;
	font-size: 26px;
	font-size: 1.625rem;
	font-weight: 700;
	font-family: Montserrat, "Helvetica Neue", sans-serif;
	line-height: 1.25;
	margin: 0 0 1.25em;
	padding: 0;
	text-align: left;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	-ms-hyphens: auto;
	hyphens: auto;
}

.rtl .editor-post-title__block .editor-post-title__input {
	text-align: right;
}

.editor-styles-wrapper a {
	box-shadow: 0 1px 0 0 currentColor;
}

.editor-styles-wrapper a:hover,
.editor-styles-wrapper a:focus {
	box-shadow: none;
}

/* Editor Font Size */
.has-huge-font-size {
	font-size: 28px;
	font-size: 1.75rem;
	line-height: 1.3;
}

.has-large-font-size,
.editor-post-title__block .editor-post-title__input {
	font-size: 26px;
	font-size: 1.625rem;
	line-height: 1.25;
}

.has-normal-font-size {
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.75;
}

.has-small-font-size {
	font-size: 13px;
	font-size: 0.8125rem;
	line-height: 1.5;
}

.wp-block-quote,
.editor-styles-wrapper .wp-block-quote p {
	font-size: inherit;
	font-style: inherit;
	line-height: inherit;
}


/*--------------------------------------------------------------
2.0 General Block Styles
--------------------------------------------------------------*/

/* Main column width */
.editor-styles-wrapper {
	margin: 0 !important;
	max-width: 100% !important; /* Override where editor-style.css is affecting this */
}

.wp-block {
	max-width: 872px; /* 842px + 30px to account for padding. */
}

.wp-block-separator {
	border: 0;
	margin: 1.75em auto;
}

/* List styles */
.edit-post-visual-editor ul:not(.wp-block-gallery),
.editor-block-list__block ul:not(.wp-block-gallery),
.block-library-list ul,
.edit-post-visual-editor ol,
.editor-block-list__block ol,
.block-library-list ol,
.block-library-list .editor-rich-text__tinymce,
.block-library-list .editor-rich-text__tinymce ol {
	margin: 0 0 1.75em 1.25em;
	padding: 0;
}

.edit-post-visual-editor ul:not(.wp-block-gallery),
.editor-block-list__block ul:not(.wp-block-gallery),
.block-library-list ul {
	list-style: disc;
}

.edit-post-visual-editor ol,
.editor-block-list__block ol,
.block-library-list ol {
	list-style: decimal;
	margin-left: 1.25em;
}

.edit-post-visual-editor ul:not(.wp-block-gallery) li,
.editor-block-list__block ul:not(.wp-block-gallery) li,
.edit-post-visual-editor ol li,
.editor-block-list__block ol li,
.block-library-list li,
.block-library-list .editor-rich-text__tinymce ol {
	margin-bottom: 0;
}

.edit-post-visual-editor ul:not(.wp-block-gallery) li > ul,
.editor-block-list__block ul:not(.wp-block-gallery) li > ul,
.block-library-list li > ul,
.edit-post-visual-editor li > ol,
.editor-block-list__block li > ol,
.block-library-list li > ol {
	margin-left: 1.25em;
	margin-bottom: 0;
}

.wp-block-table__cell-content {
	padding: 0;
}

.rtl .edit-post-visual-editor ul:not(.wp-block-gallery),
.rtl .editor-block-list__block ul:not(.wp-block-gallery),
.rtl .block-library-list ul,
.rtl .edit-post-visual-editor ol,
.rtl .editor-block-list__block ol,
.rtl .block-library-list ol {
	margin-left: 0;
	margin-right: 1.25em;
	padding: 0;
}

.rtl .edit-post-visual-editor ol,
.rtl .editor-block-list__block ol,
.rtl .block-library-list ol {
	margin-left: 1.25em;
	margin-right: 1.25em;
}

/* Captions */
[class^="wp-block-"]:not(.wp-block-gallery) figcaption {
	border: none;
	color: #686868;
	font-size: 13px;
	font-size: 0.8125rem;
	font-style: italic;
	line-height: 1.6153846154;
	padding-top: 0.5384615385em;
	text-align: left;
}

.rtl [class^="wp-block-"]:not(.wp-block-gallery) figcaption {
	text-align: right;
}


/*--------------------------------------------------------------
3.0 Blocks - Common Blocks
--------------------------------------------------------------*/

/* Paragraph */
.wp-block-paragraph.has-drop-cap:not(:focus):first-letter {
	float: left;
	font-size: 96px;
	font-size: 6rem;
	line-height: 0.6;
	margin: 6px 16px 6px -3px;
}

.rtl .wp-block-paragraph.has-drop-cap:not(:focus):first-letter {
	margin: 6px 6px -3px 16px;
}

/* Audio */
.wp-block-audio audio {
	display: block;
	width: 100%;
}

/* Gallery */
.editor-styles-wrapper .wp-block-gallery {
	margin-left: 0;
	margin-right: 0;
}

/* File */
.wp-block-file__textlink {
	box-shadow: 0 1px 0 0 currentColor;
	color: #007acc;
}

.wp-block-file .wp-block-file__button {
	background-color: #34678a;
	border-bottom: 2px solid #34678a;
	-webkit-border-radius: 0;
	border-radius: 0;
	-webkit-box-shadow: none;
	box-shadow: none;
	color: #fff;
	display: inline-block;
	font-size: 16px;
	font-size: 1rem;
	font-weight: 400;
	font-family: Montserrat, "Helvetica Neue", sans-serif;
	letter-spacing: 0.046875em;
	line-height: 1;
	outline: 0;
	padding: 0.84375em 0.875em 0.78125em;
	text-transform: capitalize;
	white-space: nowrap;
}

/* Tables */

.wp-block-table td,
.wp-block-table th {
	border-color: #f7f7f7;
	padding: 10px;
}

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


/*--------------------------------------------------------------
4.0 Blocks - Formatting
--------------------------------------------------------------*/

/* Code */
.wp-block-code {
	border: 0;
	padding: 0.125em 0.25em;
}

.wp-block-code .editor-plain-text {
	background-color: #d1d1d1;
	color: inherit;
	font-size: 1em;
	font-family: Inconsolata, monospace;
}

/* Classic */
.wp-block-freeform.block-library-rich-text__tinymce {
	overflow: visible;
}

.wp-block-freeform.block-library-rich-text__tinymce blockquote {
	border: 0 solid #1a1a1a;
	border-left-width: 4px;
	overflow: hidden;
	-webkit-box-shadow: none;
	box-shadow: none;
	margin: 0 0 1.4736842105em;
	padding: 0 0 0 1.263157895em;
	position: relative;
}

.rtl .wp-block-freeform.block-library-rich-text__tinymce blockquote {
	border-left-width: 0;
	border-right-width: 4px;
	padding: 0 1.263157895em 0 0;
}

.wp-block-freeform.block-library-rich-text__tinymce blockquote p {
	font-size: inherit;
}

.wp-block-freeform.block-library-rich-text__tinymce blockquote cite {
	color: #1a1a1a;
	display: block;
	line-height: 1.75;
}

.wp-block-quote.is-large,
.wp-block-quote.is-style-large {
	border: none;
	padding: 1.75em 0;
	margin: 1.75em 0;
}

.wp-block-quote.is-large p,
.wp-block-quote.is-style-large p {
	color: initial;
	font-size: 24px;
	font-size: 1.5rem;
	line-height: 1.2173913043;
	margin-bottom: 1em;
}

.wp-block-quote__citation {
	color: #1a1a1a;
	display: block;
	font-size: 16px;
	font-size: 1rem;
	font-style: normal;
	font-weight: 400;
	line-height: 1.5;
	margin: 0;
	text-decoration: none;
}

.wp-block-quote__citation:before {
	content: "\2014\00a0";
}

.wp-block-freeform.block-library-rich-text__tinymce blockquote.alignleft,
.wp-block-freeform.block-library-rich-text__tinymce blockquote.alignright {
	width: -webkit-calc(50% - 0.736842105em);
	width: calc(50% - 0.736842105em);
}

.wp-block-freeform.block-library-rich-text__tinymce blockquote.alignleft {
	margin: .375em 1.75em 1.75em 0;
}

.wp-block-freeform.block-library-rich-text__tinymce blockquote.alignright {
	margin: 0.375em 0 1.75em 1.75em;
}

.wp-block-freeform.block-library-rich-text__tinymce blockquote.aligncenter {
	margin-bottom: 1.75em;
}

.wp-block-pullquote.alignleft,
.wp-block-pullquote.alignright {
    max-width: none;
    width: calc(50% - 0.736842105em);
    padding-left: 0;
    text-align: left;
}

.wp-block-pullquote.alignleft {
	margin: 0.375em 1.5em 1em 0;
}

.wp-block-pullquote.alignright  {
	margin: 0.375em 0 1em 1.5em;
}

.wp-block-pullquote.alignleft blockquote,
.wp-block-pullquote.alignright blockquote {
	margin: 0;
}

.rtl .wp-block-freeform.block-library-rich-text__tinymce .alignleft {
	float: left;
}

.rtl .wp-block-freeform.block-library-rich-text__tinymce .alignright {
	float: right;
}

.wp-block-freeform.block-library-rich-text__tinymce code {
	background-color: transparent;
	-webkit-border-radius: 0;
	border-radius: 0;
	padding: 0;
}

/* Pullquote */
.wp-block-pullquote {
	border: none;
	color: inherit;
	margin: 0;
	padding: 0;
	text-align: left;
}

.rtl .wp-block-pullquote {
	text-align: right;
}

.wp-block-pullquote blockquote > .editor-rich-text p {
	font-size: inherit;
}

.editor-styles-wrapper .wp-block-pullquote .wp-block-pullquote__citation {
	color: #1a1a1a;
	display: block;
	font-size: 16px;
	font-size: 1rem;
	font-style: normal;
	font-weight: 400;
	line-height: 1.5;
	text-transform: none;
	text-decoration: none;
}

.editor-styles-wrapper .wp-block-pullquote .wp-block-pullquote__citation:before {
	content: "\2014\00a0";
}

.wp-block-freeform.block-library-rich-text__tinymce pre {
	color: inherit;
	font-size: 15px;
	font-family: "Courier 10 Pitch", Courier, monospace;
}


/*--------------------------------------------------------------
5.0 Blocks - Layout Elements
--------------------------------------------------------------*/

/* Buttons */
.wp-block-button .wp-block-button__link {
	background-color: #34678a;
	border: 2px solid #34678a;
	-webkit-border-radius: 0;
	border-radius: 0;
	-webkit-box-shadow: none;
	box-shadow: none;
	display: inline-block;
	font-family: Montserrat, "Helvetica Neue", sans-serif;
	font-size: 16px;
	font-size: 1rem;
	font-weight: 400;
	letter-spacing: 0.046875em;
	line-height: 1;
	outline: 0;
	padding: 0.84375em 0.875em 0.78125em;
	white-space: nowrap;
}

.wp-block-button .wp-block-button__link:hover,
.wp-block-button .wp-block-button__link:focus {
	background-color: #111;
	border-color: #111;
	color: #fff;
	-webkit-box-shadow: none;
	box-shadow: none;
}

/* Media & Text */
.wp-block-media-text *:last-child {
	margin-bottom: 0;
}

/*--------------------------------------------------------------
6.0 Blocks - Widgets
--------------------------------------------------------------*/

/* Archives, Categories & Latest Posts */
[data-align="center"] .wp-block-archives ul,
[data-align="center"] .wp-block-categories ul,
[data-align="center"] .wp-block-latest-posts ul {
	list-style-position: inside;
}

/* Latest Comments */
.wp-block-latest-comments {
	margin: 0;
}

.wp-block-latest-comments__comment {
	font-size: inherit;
}

.wp-block-latest-comments__comment-meta {
	font-size: inherit;
	margin-bottom: 14px;
}

.editor-block-list__block .wp-block-latest-comments__comment-meta a {
	font-style: italic;
	box-shadow: none;
	font-weight: 400;
	text-decoration: none;
}

.wp-block-latest-comments__comment-date {
	color: #686868;
	display: block;
	font-family: Montserrat, "Helvetica Neue", sans-serif;
	font-size: 13px;
	font-size: 0.8125rem;
	line-height: 1.6153846154;
	letter-spacing: 0;
	margin: 7px 0 0;
	text-transform: capitalize;
}

.wp-block-latest-comments .wp-block-latest-comments__comment {
	border-top: 1px solid #f0f0f0;
	margin: 0;
	padding: 30px 0;
}

.wp-block-latest-comments__comment-excerpt p:last-child {
	margin-bottom: 0;
}

.editor-block-list__block-edit ul {
	margin-left: 0;
}

/* Latest Posts */
.wp-block-latest-posts li {
	margin-bottom: 0.55em;
}

.edit-post-visual-editor .wp-block-latest-posts.is-grid li {
	margin-bottom: 0.55em;
}

.edit-post-visual-editor .wp-block-latest-posts__post-date {
    color: inherit;
    display: block;
    font-size: 13px;
    font-size: 0.8125rem;
    line-height: 1.615384615;
    margin-bottom: 0.538461538em;
}