/*
Theme Name: Alchemist
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: inherit;
	font-style: italic;
	line-height: inherit;
	margin: 0;
	padding: 14px 21px;
	text-align: center;
}

.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;
}


/* 1024px */
@media screen and (max-width: 1023px) and (min-width: 768px) {
	.alignfull  {
		margin-left  : calc( -96vw / 2 + 100% / 2 );
	    margin-right : calc( -96vw / 2 + 100% / 2 );
		max-width: 96vw;
	}

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

/* 1024px */
@media screen and (min-width: 64em) {
	.no-sidebar .alignfull  {
		margin-left  : calc( -96vw / 2 + 100% / 2 );
	    margin-right : calc( -96vw / 2 + 100% / 2 );
		max-width: 96vw;
	}
	.no-sidebar.fluid-layout .alignfull {
		margin-left  : calc( -100vw / 2 + 100% / 2 );
	    margin-right : calc( -100vw / 2 + 100% / 2 );
	    max-width    : 100vw;
	}
}

/* 1366px */
@media screen and (min-width: 85.375em) {
	.no-sidebar .alignwide {
	    margin-left: -120px;
	    margin-right: -120px;
	    max-width: 1230px;
	}
}

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

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

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

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

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

.wp-block-image figure.alignleft {
	margin: 0.75em 1.750em 1.750em 0;
}

.wp-block-image figure.alignright {
	margin: 0.75em 0 1.750em 1.750em;
}

/* Gallery */
.wp-block-gallery {
	margin-bottom: 1.750em;
	margin-left: 0;
}

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

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

/* Quote */
.wp-block-quote,
.wp-block-quote.is-large,
.wp-block-quote.is-style-large {
	margin: 0 0 1.4em;
	padding: 50px 0 0 0;
}

.wp-block-quote.is-large p,
.wp-block-quote.is-style-large p {
	font-style: inherit;
	font-size: inherit;
	font-weight: inherit;
}

.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 {
	color: inherit;
	display: block;
	font-size: 16px;
	font-size: 1rem;
	font-style: italic;
	font-weight: 300;
}

/* 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 {
	-webkit-border-radius: 5px;
	border-radius: 5px;
	-webkit-box-shadow: none;
	box-shadow: none;
	display: inline-block;
	font-size: 13px;
	font-size: 0.875rem;
	font-weight: 600;
	margin-top: 2em;
	padding: 13px 28px;
	-webkit-transition: background-color 0.2s ease-in-out;
	transition: background-color 0.2s ease-in-out;
	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: 42px;
	font-size: 2.375rem;
	line-height: 1.3125;
}

.has-large-font-size {
	font-size: 32px;
	font-size: 2rem;
	line-height: 1.325;
}

.has-normal-font-size {
	font-size: 16px;
	font-size: 1.1rem;
	line-height: 1.647058823529412;
}

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


/* 1024px */
@media screen and (min-width: 64em) {
	.has-huge-font-size {
	   font-size: 50px;
	   font-size: 3.125rem;
	}

	.has-large-font-size {
		font-size: 40px;
		font-size: 2.5rem;
	}
}

/* 1366px */
@media screen and (min-width: 85.375em) {
	.has-huge-font-size {
	   font-size: 59px;
	   font-size: 3.6875rem;
	}

	.has-large-font-size {
		font-size: 48px;
		font-size: 3rem;
	}

	.has-normal-font-size {
		font-size: 18px;
		font-size: 1.125rem;
	}


	.has-small-font-size {
		font-size: 14px;
		font-size: 0.875rem;
	}
}

/* 1600px */
@media screen and (min-width: 100em) {
	.has-huge-font-size {
	   font-size: 70px;
	   font-size: 3.875rem;
	}

	.has-large-font-size {
		font-size: 58px;
		font-size: 2.625rem;
	}

	.wp-block-button .wp-block-button__link {
		padding: 12px 35px;

	}
}


/* 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;
}

/* Pullquote */
.wp-block-pullquote {
    border-top: 4px solid;
    border-bottom: 4px solid;
    padding: 0;
    margin: 1.75em 0;
}

.wp-block-pullquote blockquote {
    border: none;
    padding: 1.75em;
    margin: 0;
}

.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.412em 1.9444444444444444em 1.9444444444444444em 0;
}

.wp-block-pullquote.alignright  {
	margin: 0.412em 0 1.9444444444444444em 1.9444444444444444em;
}

.wp-block-pullquote__citation,
.wp-block-pullquote cite {
	display: block;
	font-size: 13px;
	font-size: 0.8125rem;
	text-transform: none;
	font-style: normal;
	font-weight: 400;
	line-height: 2.15;
}

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


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

.wp-block-table,
.wp-block-table caption {
	border-top: 1px solid;
}

.wp-block-table tr {
	border-bottom: 1px solid;
}

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

.wp-block-table th,
.wp-block-table td {
	border: none;
}


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

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

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

.wp-block-button .wp-block-button__link {
	-webkit-border-radius: 26px;
	border-radius: 26px;
	border: none;
	display: inline-block;
	font-size: 16px;
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: 0.5px;
	line-height: 1.75;
	padding: 10px 28px;
	text-decoration: none;
	text-transform: uppercase;
	-webkit-transition: 0.5s ease;
	-moz-transition: 0.5s ease;
	-o-transition: 0.5s ease;
	transition: 0.5s ease;
}

.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: 2.059em auto;
}

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

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

.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 li {
	margin-bottom: 7px;
}

.wp-block-latest-posts.is-grid {
	margin-left: 0;
}

.wp-block-latest-posts__post-date {
	font-size: 12px;
	font-size: 0.8125rem;
    letter-spacing: 0.1em;
    line-height: 1.75;
    text-transform: uppercase;
}

/* Comments */
.wp-block-latest-comments__comment {
	border-top: 1px solid;
	margin: 0;
	padding: 35px 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 {
	margin-bottom: 14px;
}

.wp-block-latest-comments__comment-meta,
.wp-block-latest-comments__comment-excerpt p {
	font-size: 17px;
	font-size: 1.0625;
}

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

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

.wp-block-latest-comments__comment-date {
	display: block;
	font-size: 12px;
	font-size: 0.8125rem;
	font-weight: 400;
	line-height: 1.75;
	letter-spacing: 0.1em;
	margin: 7px 0 0;
	text-transform: uppercase;
}

.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 {
	text-align: left;
}


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

.wp-block-file .wp-block-file__button,
.wp-block-button .wp-block-button__link {
	background-color: #e1716b;
	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: #000;
	color: #fff;
}

.wp-block-pullquote__citation,
.wp-block-pullquote cite {
	color: rgba(17,17,17,0.51);
}

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

[class^="wp-block-"]:not(.wp-block-gallery) figcaption {
	background-color: rgba(17,17,17,0.51);
}

.wp-block-pullquote {
    border-color: #e1716b;
    color: rgba(17,17,17,0.51);
}

body .wp-block-pullquote blockquote:before {
	content: none;
}

.wp-block-table,
.wp-block-table caption,
.wp-block-table tr,
.wp-block-latest-comments__comment {
	border-color: #ebebeb;
}

.wp-block-quote:not(.is-large):not(.is-style-large) {
	border-color: #e1716b;
	padding-top: 0;
}

.wp-block-table thead th {
	background-color: #f9f9f9;
}

.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-gray-color {
	color: #999999;
}

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

.has-yellow-color {
	color: #e1716b;
}

.has-yellow-background-color {
	background-color: #e1716b;
}
