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

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

/*--------------------------------------------------------------
1.0 Blocks - General Styles
--------------------------------------------------------------*/

/* Captions */
[class^="wp-block-"]:not(.wp-block-gallery) figcaption {
	border: none;
	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;
}

.no-sidebar .alignfull {
	margin-left  : calc( -100vw / 2 + 100% / 2 );
    margin-right : calc( -100vw / 2 + 100% / 2 );
    max-width    : 100vw;
}

.no-sidebar .alignwide {
	margin-left  : calc( -96vw / 2 + 100% / 2 );
    margin-right : calc( -96vw / 2 + 100% / 2 );
	max-width: 96vw;
}

.alignfull.wp-block-cover,
.alignwide.wp-block-cover {
	width: auto;
}

/* 736px */
@media screen and (min-width: 46em) {
	.no-sidebar .alignfull {
		margin-left: calc( -100vw / 2 + 100% / 2  + 30px );
		margin-right: calc( -100vw / 2 + 100% / 2 + 30px );
		max-width: 100vw;
	}

	.no-sidebar .alignwide {
		margin-left  : calc( -100vw / 2 + 100% / 2 + 45px );
	    margin-right : calc( -100vw / 2 + 100% / 2 + 45px );
		max-width: 100vw;
	}
}

/* 900px */
@media screen and (min-width: 56.25em) {
	.no-sidebar .alignfull {
		margin-left: calc( -100vw / 2 + 100% / 2  + 40px );
		margin-right: calc( -100vw / 2 + 100% / 2 + 40px );
	}

	.no-sidebar .alignwide {
		margin-left  : calc( -100vw / 2 + 100% / 2 + 60px );
	    margin-right : calc( -100vw / 2 + 100% / 2 + 60px );
	}
}

/* 1024px */
@media screen and (min-width: 64em) {
	.no-sidebar:not(.full-width) .alignwide {
		margin-left: -58px;
		margin-right: -58px;
		max-width: 1024px;
	}
}

/* 1400px */
@media screen and (min-width: 87.5em) {
	.no-sidebar .alignfull {
    	margin-left  : calc( -1320px / 2 + 100% / 2 );
        margin-right : calc( -1320px / 2 + 100% / 2 );
    	max-width: 1320px;
	}

	.no-sidebar.full-width .alignwide {
	    margin-left: -30px;
	    margin-right: -30px;
	    max-width: 1280px;
	}
}


/*--------------------------------------------------------------
2.0 Blocks - Common Blocks
--------------------------------------------------------------*/

/* Paragraph */

p.has-drop-cap:not(:focus):first-letter {
	float: left;
	font-size: 92px;
	font-size: 5.75rem;
	line-height: 0.6;
	margin: 7px 16px 6px -3px;
}

/* Image */
.wp-block-image {
	margin-bottom: 1.75em;
}

.wp-block-image figure {
	margin-bottom: 0;
	margin-top: 0;
}

.wp-block-image figure.alignleft {
	margin: 0.375em 1.75em 1.75em 0;
}

.wp-block-image figure.alignright {
	margin: 0.375em 0 1.75em 1.75em;
}

/* Gallery */

.wp-block-gallery {
	margin-bottom: 1.75em;
	margin-left: 0;
}

.wp-block-gallery figcaption {
	font-style: italic;
}

.wp-block-gallery.aligncenter {
	display: flex;
	margin: 0 -8px;
}

/* Quote */
.wp-block-quote {
	margin: 0 0 1.75em;
	padding: 0 0 0 1.263157895em;
}

.rtl .wp-block-quote {
	padding: 0 1.263157895em 0 0;
}

.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:not(.is-large):not(.is-style-large) {
	border: 0 solid;
	border-left-width: 4px;
	margin: 0 0 1.4736842105em;
	padding: 0 0 0 1.263157895em;
}

.rtl .wp-block-quote:not(.is-large):not(.is-style-large) {
	border-left-width: 0px;
	border-right-width: 4px;
	padding: 0 1.263157895em 0 0;
}

.wp-block-quote:not(.is-large):not(.is-style-large):before {
	content: none;
}

.wp-block-quote.alignleft p:last-of-type,
.wp-block-quote.alignright p:last-of-type {
	margin-bottom: 0;
}

.wp-block-quote cite,
.wp-block-quote.is-large cite,
.wp-block-quote.is-large footer,
.wp-block-quote.is-style-large cite,
.wp-block-quote.is-style-large footer {
	color: inherit;
	display: block;
	font-size: 16px;
	font-size: 1rem;
	font-style: normal;
	font-weight: 400;
	line-height: 1.75;
	text-align: left;
}

.rtl .wp-block-quote cite,
.rtl .wp-block-quote.is-large cite,
.rtl .wp-block-quote.is-large footer,
.rtl .wp-block-quote.is-style-large cite,
.rtl .wp-block-quote.is-style-large footer {
	text-align: right;
}

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

/* Cover */
.wp-block-cover-image.alignright,
.wp-block-cover.alignright,
.wp-block-cover-image.alignleft,
.wp-block-cover.alignleft,
.wp-block-cover-image.aligncenter,
.wp-block-cover.aligncenter {
	display: flex;
}

/* File */
.wp-block-file .wp-block-file__button {
	border-bottom: 2px solid;
	-webkit-border-radius: 0;
	border-radius: 0;
	-webkit-box-shadow: none;
	box-shadow: none;
	display: inline-block;
	font-size: 16px;
	font-size: 1rem;
	font-weight: 400;
	letter-spacing: 0.046875em;
	line-height: 1;
	margin-top: 2em;
	padding: 0.84375em 0.875em 0.78125em;
	font-family: Montserrat, "Helvetica Neue", sans-serif;
	white-space: nowrap;
}

.wp-block-file .wp-block-file__button:hover,
.wp-block-file .wp-block-file__button:focus {
	-webkit-box-shadow: none;
	box-shadow: none;
}


/*--------------------------------------------------------------
3.0 Blocks - Formatting
--------------------------------------------------------------*/

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

.has-large-font-size {
	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;
}

/* Code */
.wp-block-code {
	background: transparent;
	border: 0;
	padding: 0;
}

.wp-block-code cite:before,
.wp-block-code small:before {
	content: "\2014\00a0";
}

.wp-block-quote__citation {
	font-size: 16px;
	font-size: 1rem;
}

/* 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.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.75em 1.75em 0;
}

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

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

.wp-block-pullquote__citation,
.wp-block-pullquote cite {
	color: inherit;
	display: block;
	font-size: 16px;
	font-size: 1rem;
	font-style: normal;
	line-height: 1.5;
	text-transform: none;
}

.wp-block-pullquote p,
.wp-block-pullquote.alignleft p,
.wp-block-pullquote.alignright p {
	font-size: inherit;
}

/* Table */
.wp-block-table {
    border-collapse: separate;
    border-spacing: 0;
}

.wp-block-table table,
.wp-block-table th,
.wp-block-table td {
	border: 1px solid;
}

.wp-block-table th,
.wp-block-table td {
	padding: 0.4375em;
}

.wp-block-table th {
	border-width: 0 1px 1px 0;
}

.wp-block-table td {
    border-width: 0 1px 1px 0;
}


/*--------------------------------------------------------------
4.0 Blocks - Layout Elements
--------------------------------------------------------------*/

/* Buttons */
.wp-block-button {
	margin-top: 1.75em;
	margin-bottom: 1.75em;
}

.wp-block-button.alignleft,
.wp-block-button.alignright {
	margin-top: 0;
}

.wp-block-button .wp-block-button__link {
	border: 2px solid;
	-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 {
	-webkit-box-shadow: none;
	box-shadow: none;
}

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

.wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
	max-width: 100px;
}

/* Media & Text */
.wp-block-media-text {
	margin-bottom: 1.75em;
}

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


/*--------------------------------------------------------------
5.0 Blocks - Widgets
--------------------------------------------------------------*/

/* Archives, Categories & Latest Posts */
.wp-block-archives.aligncenter,
.wp-block-categories.aligncenter,
.wp-block-latest-posts.aligncenter {
	list-style-position: inside;
	text-align: center;
}

.wp-block-latest-posts.is-grid {
	list-style: disc;
}

.wp-block-latest-posts__post-date {
	display: block;
	font-family: Montserrat, "Helvetica Neue", sans-serif;
	font-size: 13px;
	font-size: 0.8125rem;
	line-height: 1.6153846154;
	margin-bottom: 0.538461538em;
}

/* Comments */
.wp-block-latest-comments__comment {
	border-top: 1px solid #e8e6e6;
	font-size: inherit;
	margin: 0;
	padding: 1.75em 0;
}

.wp-block-latest-comments article {
	margin-bottom: 0;
}

.blog:not(.has-sidebar) #primary .wp-block-latest-comments article,
.archive:not(.page-one-column):not(.has-sidebar) #primary .wp-block-latest-comments article,
.search:not(.has-sidebar) #primary .wp-block-latest-comments article {
	float: none;
	width: 100%;
}

.wp-block-latest-comments a {
	-webkit-box-shadow: none;
	box-shadow: none;
}

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

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

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

.wp-block-latest-comments__comment-author,
.wp-block-latest-comments__comment-link {
	font-style: italic;
	font-weight: 400;
	text-decoration: none;
}

.wp-block-latest-comments__comment-date {
	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;
}


/*--------------------------------------------------------------
6.0 Blocks - Colors
--------------------------------------------------------------*/

.wp-block-file .wp-block-file__button,
.wp-block-button .wp-block-button__link {
	background-color: #34678a;
	border-color: #34678a;
	color: #fff;
}

.wp-block-file .wp-block-file__button:hover,
.wp-block-file .wp-block-file__button:focus,
.wp-block-button .wp-block-button__link:hover,
.wp-block-button .wp-block-button__link:focus {
	background-color: #1a1a1a;
	border-color: #1a1a1a;
	color: #fff;
}

.wp-block-quote:not(.is-large):not(.is-style-large) {
	border-color: #1a1a1a;
}

.wp-block-table table,
.wp-block-table th,
.wp-block-table td {
	border-color: #d1d1d1;
}

.wp-block-latest-posts__post-date,
.wp-block-latest-comments__comment-date,
[class^="wp-block-"]:not(.wp-block-gallery) figcaption {
	color: #686868;
}

.wp-block-quote cite,
.wp-block-quote.is-large cite,
.wp-block-quote.is-large footer,
.wp-block-quote.is-style-large cite,
.wp-block-quote.is-style-large footer {
	color: #1a1a1a;
}

.wp-block-pullquote__citation,
.wp-block-pullquote cite {
	color: #1a1a1a;
}

.has-white-color {
	color: #fff;
}

.has-white-background-color {
	background-color: #fff;
}

.has-black-color {
	color: #000;
}

.has-black-background-color {
	background-color: #000;
}

.has-medium-black-color {
	color: #222;
}

.has-medium-black-background-color {
	background-color: #222;
}

.has-gray-color {
	color: #555;
}

.has-gray-background-color {
	background-color: #555;
}

.has-medium-gray-color {
	color: #f2f2f2;
}

.has-medium-gray-background-color {
	background-color: #f2f2f2;
}

.has-blue-color {
	color: #34678a;
}

.has-blue-background-color {
	background-color: #34678a;
}