/*
Theme Name: Photo Journal Pro
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: 1px solid;
	font-size: 18px;
	font-size: 1.125rem;
	font-style: italic;
	line-height: 1.75;
	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: 667px) {
	.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;
	}
}

/* 667px */
@media screen and (min-width: 41.6875em) {
	.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;
	}

	.no-sidebar.full-width-layout .alignwide {
		max-width: 1750px;
	}
}

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

/* Paragraph */

p.has-drop-cap:not(:focus)::first-letter {
	font-size: 108px;
	font-size: 6.75rem;
	float: left;
	font-weight: 700;
	line-height: .6;
	margin: 14px 16px 0 -3px;
	color: #fff;
}

/* Image */

.wp-block-image {
	margin-bottom: 1.555555555555556em;
}

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

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

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

/* Gallery */

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

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

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

/* Quote */

.wp-block-quote {
	font-weight: 700;
}

.wp-block-quote,
.wp-block-quote.is-large,
.wp-block-quote.is-style-large {
	margin: 1.166666666666667em 0;
	padding: 0 0 0 2.041666666666667em;
	border: 0;
	border-color: transparent;
}

.wp-block-quote.is-style-large:not(.is-style-plain),
.wp-block-quote.is-large:not(.is-style-plain) {
	padding: 0 0 0 2.041666666666667em;
}

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

.wp-block-quote cite {
	display: block;
	font-size: 18px;
	font-size: 1.125rem;
	font-weight: normal;
	font-style: italic;
}

/* 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: 25px;
	border-radius: 25px;
	-webkit-box-shadow: none;
	box-shadow: none;
	display: inline-block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: 800;
	margin-top: 2em;
	padding: 0.7em 2em;
	-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 {
	margin-bottom: 0.4666666666666667em;
	margin-top: 0.8166666666666667em;
}

.has-large-font-size {
	margin-bottom: 0.608695652173913em;
	margin-top: 1.065217391304348em;
}

/* Code */

.wp-block-code {
	border: 0;
}

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

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

/* Table */

.wp-block-table {
	border-collapse: separate;
}

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

.wp-block-table thead th {
	text-align: center;
}

.is-style-outline>.wp-block-button__link:not(.has-text-color),
.wp-block-button__link.is-style-outline:not(.has-text-color) {
	color: #fff;
	border: 1px solid;
}

.is-style-outline>.wp-block-button__link:not(.has-text-color):hover,
.wp-block-button__link.is-style-outline:not(.has-text-color):hover {
	border: 1px solid transparent;
}

.wp-block-buttons .wp-block-button {
	margin-bottom: 1.272727272727273em;
}

.wp-block-search .wp-block-search__input {
	border: 1px solid #949494;
	margin-top: 0;
}

.wp-block-search__button {
	background-color: #5f4b8b;
	border: 0;
	color: #fff;
}

.wp-block-latest-comments__comment-meta a {
	text-decoration: none;
}

.wp-block-calendar table th {
	background-color: #222;
}

.wp-block-calendar th,
.wp-block-calendar tbody td {
	border: 1px solid #1c1c1c;
}

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

/* Buttons */

.wp-block-button {
	margin-top: 1.555555555555556em;
	margin-bottom: 1.555555555555556em;
}

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

.wp-block-button .wp-block-button__link {
	border: 0;
	-webkit-border-radius: 6px;
	border-radius: 6px;
	display: inline-block;
	font-size: 16px;
	font-size: 1rem;
	font-weight: 700;
	padding: 14px 21px;
	line-height: 1.3125;
	letter-spacing: 0.05em;
	text-align: center;
	text-decoration: none;
	text-transform: capitalize;
}
}

.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.555555555555556em 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.is-grid {
	margin-left: 0;
}

/* Comments */

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

.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 .avatar,
.wp-block-latest-comments__comment-avatar {
	border-radius: 0;
}

.wp-block-latest-comments a {
	-webkit-box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 1);
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 1);

}

.wp-block-latest-comments__comment-meta {
	font-size: 16px;
	font-size: 1rem;
	margin-bottom: 0.4em;
}

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

.wp-block-latest-comments__comment-date {
	font-size: 10px;
	font-size: 0.625rem;
	font-weight: 800;
	letter-spacing: 0.1818em;
	margin-top: 0.4em;
	text-transform: uppercase;
}

.editor-block-list__block .wp-block-latest-comments__comment-excerpt p {
	font-size: 14px;
	font-size: 0.875rem;
}

/* Newly added for Blocks after WP 6.0 */

/* Left/Right Aligned */
.wp-block-image figure.alignright,
.wp-block-image figure.alignleft,
.wp-block[data-align="left"] .wp-block-image,
.wp-block[data-align="right"] .wp-block-image,
.wp-block-cover.alignleft,
.wp-block-cover.alignright,
.wp-block-pullquote.alignleft,
.wp-block-pullquote.alignright,
.wp-block[data-align="left"]>.wp-block-pullquote,
.wp-block[data-align="right"]>.wp-block-pullquote,
[data-align="left"]>.wp-block-cover,
[data-align="right"]>.wp-block-cover,
.wp-block-embed.alignleft,
.wp-block-embed.alignright,
.wp-block[data-align="left"]>.wp-block-embed,
.wp-block[data-align="right"]>.wp-block-embed {
	max-width: 320px;
	width: 100%;
}

/* wp-block-quote */

.wp-block-quote,
.wp-block-quote.has-text-align-right,
.wp-block-quote.has-text-align-left,
.wp-block-quote.has-text-align-center,
.wp-block-quote.is-style-large:not(.is-style-plain),
.wp-block-quote.is-large:not(.is-style-plain) {
	border: 0;
	border-color: transparent;
	padding-right: 0;
}

.wp-block-quote.is-style-plain:before {
	content: none;
}

.wp-block-quote.is-style-plain {
	padding: 0;
}

.wp-block-quote:not(.is-style-plain).has-text-align-center {
	padding-top: 2.45em;
}

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

blockquote.wp-block-quote.has-text-align-center:before {
	left: 50%;
	transform: translateX(-50%);
}

blockquote.wp-block-quote.has-text-align-right {
	padding: 0 2.041666666666667em 0 0;
}

blockquote.wp-block-quote.has-text-align-right:before {
	left: unset;
	right: 0;
}

blockquote.wp-block-quote.has-text-align-right,
blockquote.wp-block-quote.has-text-align-right cite {
	text-align: right;
}

blockquote.wp-block-quote.has-text-align-left,
blockquote.wp-block-quote.has-text-align-left cite {
	text-align: left;
}

blockquote.wp-block-quote.has-text-align-center,
blockquote.wp-block-quote.has-text-align-center cite {
	text-align: center;
}

blockquote.wp-block-quote.has-text-align-left.is-style-large:not(.is-style-plain) cite,
blockquote.wp-block-quote.has-text-align-left.is-style-large:not(.is-style-plain) footer,
blockquote.wp-block-quote.has-text-align-left.is-large:not(.is-style-plain) cite,
blockquote.wp-block-quote.has-text-align-left.is-large:not(.is-style-plain) footer {
	text-align: left;
}

blockquote.wp-block-quote.has-text-align-center.is-style-large:not(.is-style-plain) cite,
blockquote.wp-block-quote.has-text-align-center.is-style-large:not(.is-style-plain) footer,
blockquote.wp-block-quote.has-text-align-center.is-large:not(.is-style-plain) cite,
blockquote.wp-block-quote.has-text-align-center.is-large:not(.is-style-plain) footer {
	text-align: center;
}

blockquote.wp-block-quote.has-text-align-right.is-style-large:not(.is-style-plain) cite,
blockquote.wp-block-quote.has-text-align-right.is-style-large:not(.is-style-plain) footer,
blockquote.wp-block-quote.has-text-align-right.is-large:not(.is-style-plain) cite,
blockquote.wp-block-quote.has-text-align-right.is-large:not(.is-style-plain) footer {
	text-align: right;
}

/* Pullquote */

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

.wp-block-pullquote blockquote {
	padding: 0;
	margin-bottom: 0;
}

.wp-block-pullquote {
	border: 0;
	padding: 35px 0;
	border-bottom: 4px solid #5f4b8b;
	border-top: 4px solid #5f4b8b;
}

.wp-block-pullquote.aligncenter {
	padding: 0 0 0 2.041666666666667em;
}

.wp-block-pullquote,
.wp-block-pullquote p,
.wp-block-pullquote.has-text-align-left p,
.wp-block-pullquote.has-text-align-right p,
.wp-block-pullquote.alignleft p,
.wp-block-pullquote.alignright p {
	font-size: 24px;
}

.wp-block-pullquote__citation,
.wp-block-pullquote cite {
	display: block;
	font-size: 18px;
	font-size: 1.125rem;
	font-weight: normal;
	text-transform: capitalize
}

/* table */

.wp-block-table thead,
.wp-block-table tfoot,
.wp-block-table.is-style-stripes figcaption {
	border: 0;
}

.wp-block-table thead th {
	text-align: left;
}

.wp-block-table.is-style-stripes figcaption {
	padding: 0;
}

.wp-block-table table {
	margin-bottom: 0;
}

.wp-block-table.is-style-stripes tbody tr:nth-child(2n+1) {
	background-color: #111;
}

.wp-block-table.is-style-stripes {
	border-bottom: 0;
}

pre.wp-block-verse {
	font-family: Inconsolata, monospace;
}



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


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

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

.wp-block-latest-comments__comment-date {
	color: #333;
}

[class^="wp-block-"]:not(.wp-block-gallery) figcaption {
	border-color: #1c1c1c;
	color: #999;
}

.wp-block-pullquote,
.wp-block-pullquote cite,
.wp-block-pullquote footer,
.wp-block-pullquote__citation,
.wp-block-quote cite,
.wp-block-quote footer,
.wp-block-quote__citation {
	color: #afafaf;
}

/* White Color ---------------------
------------------------------------ */

.wp-block-pullquote.is-style-solid-color blockquote.has-white-color cite,
.wp-block-button .wp-block-button__link.has-white-color,
.wp-block-button.is-style-outline>.wp-block-button__link.has-white-color,
.wp-block-button__link.is-style-outline.has-white-color,
.has-white-color {
	color: #ffffff;
}

.wp-block-pullquote.is-style-solid-color.has-white-background-color,
.wp-block-button .wp-block-button__link.has-white-background-color,
.has-white-background-color {
	background-color: #ffffff;
}

.is-style-outline>.wp-block-button__link.has-white-color,
.wp-block-button__link.is-style-outline.has-white-color {
	border-color: #ffffff;
}

/* Black Color ---------------------
------------------------------------ */

.wp-block-pullquote.is-style-solid-color blockquote.has-black-color cite,
.wp-block-button .wp-block-button__link.has-black-color,
.wp-block-button.is-style-outline>.wp-block-button__link.has-black-color,
.wp-block-button__link.is-style-outline.has-black-color,
.has-black-color {
	color: #000000;
}

.wp-block-pullquote.is-style-solid-color.has-black-background-color,
.wp-block-button .wp-block-button__link.has-black-background-color,
.has-black-background-color {
	background-color: #000000;
}

.is-style-outline>.wp-block-button__link.has-black-color,
.wp-block-button__link.is-style-outline.has-black-color {
	border-color: #000000;
}

/* Gray Color ---------------------
------------------------------------ */

.wp-block-pullquote.is-style-solid-color blockquote.has-gray-color cite,
.wp-block-button .wp-block-button__link.has-gray-color,
.wp-block-button.is-style-outline>.wp-block-button__link.has-gray-color,
.wp-block-button__link.is-style-outline.has-gray-color,
.has-gray-color {
	color: #1c1c1c;
}

.wp-block-pullquote.is-style-solid-color.has-gray-background-color,
.wp-block-button .wp-block-button__link.has-gray-background-color,
.has-gray-background-color {
	background-color: #1c1c1c;
}

.is-style-outline>.wp-block-button__link.has-gray-color,
.wp-block-button__link.is-style-outline.has-gray-color {
	border-color: #1c1c1c;
}

/* Pink Color ---------------------
------------------------------------ */

.wp-block-pullquote.is-style-solid-color blockquote.has-pink-color cite,
.wp-block-button .wp-block-button__link.has-pink-color,
.wp-block-button.is-style-outline>.wp-block-button__link.has-pink-color,
.wp-block-button__link.is-style-outline.has-pink-color,
.has-pink-color {
	color: #5f4b8b;
}

.wp-block-pullquote.is-style-solid-color.has-pink-background-color,
.wp-block-button .wp-block-button__link.has-pink-background-color,
.has-pink-background-color {
	background-color: #5f4b8b;
}

.is-style-outline>.wp-block-button__link.has-pink-color,
.wp-block-button__link.is-style-outline.has-pink-color {
	border-color: #5f4b8b;
}

.rtl .wp-block-quote,
.rtl .wp-block-quote.is-large,
.rtl .wp-block-quote.is-style-large {
	padding: 0 2.041666666666667em 0 0;
}
