/*
Theme Name: Simple Persona
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: 16px;
	font-size: 1rem;
	font-style: italic;
	line-height: 1.555;
	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;
	}

	.no-sidebar .alignwide {
		margin-left: -35px;
		margin-right: -35px; 
		max-width: 1230px;
	}

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

/* 1366px */
@media screen and (min-width: 85.375em) {
	.no-sidebar:not(.full-width-layout) .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: 88px;
	font-size: 5.5rem;
	float: left;
	line-height: 0.6;
	margin: 7px 14px 3px 0;
}

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

/* Image */
.wp-block-image {
	margin-bottom: 28px;
}

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

.wp-block-image figure.alignleft {
	margin: 7px 42px 21px 0;
}

.wp-block-image figure.alignright {
	margin: 7px 0 21px 42px;
}

/* Gallery */
.wp-block-gallery {
	margin-bottom: 28px;
	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: 28px 0;
	padding: 0 0 0 25px;
}

.rtl .wp-block-quote,
.rtl .wp-block-quote.is-large,
.rtl .wp-block-quote.is-style-large {
	padding: 0 25px 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) {
	padding: 0 0 0 25px;
}

.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;
	font-size: 16px;
	font-size: 1rem;
}

@media screen and (min-width: 48em) {
	.wp-block-quote cite {
		font-size: 18px;
		font-size: 1.125rem;
	}
}

/* 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 {
	font-size: 36px;
	font-size: 2.25rem;
	line-height: 1.4;
}

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

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

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

/* 768px */
@media screen and (min-width: 48em) {
	.has-huge-font-size {
		font-size: 52px;
		font-size: 3.25rem;
	}

	.has-large-font-size {
		font-size: 38px;
		font-size: 2.375rem;
	}

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

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

/* 1200px */
@media screen and (min-width: 75em) {
	.has-huge-font-size {
		font-size: 66px;
		font-size: 4.125rem;
	}

	.has-large-font-size {
		font-size: 38px;
		font-size: 2.375rem;
	}
}

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

/* 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: 3px solid;
    border-bottom: 3px solid;
    padding: 2em 0;
    margin: 28px 0;
}

.wp-block-pullquote blockquote {
    border: none;
    padding: 0;
    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: 7px 42px 21px 0;
}

.wp-block-pullquote.alignright  {
	margin: 7px 0 21px 42px;
}

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

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

.wp-block-pullquote blockquote > p {
    font-size: inherit;
    font-weight: inherit;
}

@media screen and (min-width: 48em) {
	.wp-block-pullquote__citation,
	.wp-block-pullquote cite {
		font-size: 18px;
		font-size: 1.125rem;	
	}
}

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

.wp-block-table caption,
.wp-block-table th,
.wp-block-table td {
    padding: 14px;
}

@media screen and (min-width: 75em) {
	.wp-block-table caption,
	.wp-block-table th,
	.wp-block-table td {
	    padding: 14px 28px;
	}	
}

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

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


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

/* Buttons */
.wp-block-button {
	margin-top: 28px;
	margin-bottom: 28px;
}

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

.wp-block-button .wp-block-button__link {
	border: none;
	-webkit-border-radius: 28px;
	border-radius: 28px;
	-webkit-box-shadow: none;
	box-shadow: none;
	display: inline-block;
	font-family: 'Open Sans', sans-serif;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.15em;
	line-height: 1.4;
	padding: 14px 35px;
	text-decoration: none;
	text-transform: uppercase;
	-webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    text-transform: uppercase;
	white-space: nowrap;
}

@media screen and (min-width: 100em) {
	.wp-block-button .wp-block-button__link { 
		font-size: 15px;
		font-size: 0.9375rem;
		padding: 14px 49px;	
	}
}

.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: 28px auto;
}

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

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

.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 {
	color: rgba(145, 145, 145, 0.7);
	font-family: 'Open Sans', sans-serif;
    letter-spacing: 0.05em;
    line-height: 1.75;
}

/* Comments */
.wp-block-latest-comments__comment {
	font-size: inherit;
	margin: 35px 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 .avatar,
.wp-block-latest-comments__comment-avatar {
	border-radius: 0;
}

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

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

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

.wp-block-latest-comments__comment-date {
	display: inline-block;
	font-family: 'Open Sans', sans-serif;
	font-size: 13px;
	font-size: 0.8125rem;
	font-weight: 400;
	line-height: 1.75;
	letter-spacing: 0.075em;
	margin: 0 7px;
	text-transform: capitalize;
}


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

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

.wp-block-file.is-style-outline .wp-block-file__button,
.wp-block-button.is-style-outline .wp-block-button__link {
    background-color: transparent;
    background-image: none;
}

.wp-block-file.is-style-outline .wp-block-file__button,
.wp-block-button.is-style-outline .wp-block-button__link {
  border: 2px solid;
}

.wp-block-file.is-style-outline .wp-block-file__button:not(.has-text-color),
.wp-block-button.is-style-outline .wp-block-button__link:not(.has-text-color) {
  color: currentColor;
}

.wp-block-file .wp-block-file__button.has-white-color,
.wp-block-button .wp-block-button__link.has-white-color {
	color: #fff;
}

.wp-block-file .wp-block-file__button.has-white-background-color,
.wp-block-button .wp-block-button__link.has-white-background-color{
	background-color: #fff;
}

.wp-block-file .wp-block-file__button.has-black-color,
.wp-block-button .wp-block-button__link.has-black-color {
	color: #000;
}

.wp-block-file .wp-block-file__button.has-black-background-color,
.wp-block-button .wp-block-button__link.has-black-background-color{
	background-color: #000;
}

.wp-block-file .wp-block-file__button.has-medium-black-color,
.wp-block-button .wp-block-button__link.has-medium-black-color {
	color: #313131;
}

.wp-block-file .wp-block-file__button.has-medium-black-background-color,
.wp-block-button .wp-block-button__link.has-medium-black-background-color{
	background-color: #313131;
}

.wp-block-file .wp-block-file__button.has-gray-color,
.wp-block-button .wp-block-button__link.has-gray-color {
	color: #fafafa;
}

.wp-block-file .wp-block-file__button.has-gray-background-color,
.wp-block-button .wp-block-button__link.has-gray-background-color{
	background-color: #fafafa;
}

.wp-block-file .wp-block-file__button.has-dark-gray-color,
.wp-block-button .wp-block-button__link.has-dark-gray-color {
	color: #333;
}

.wp-block-file .wp-block-file__button.has-dark-gray-background-color,
.wp-block-button .wp-block-button__link.has-dark-gray-background-color{
	background-color: #333;
}

.wp-block-file .wp-block-file__button.has-medium-gray-color,
.wp-block-button .wp-block-button__link.has-medium-gray-color {
	color: #e5e5e5;
}

.wp-block-file .wp-block-file__button.has-medium-gray-background-color,
.wp-block-button .wp-block-button__link.has-medium-gray-background-color{
	background-color: #e5e5e5;
}

.wp-block-file .wp-block-file__button.has-light-gray-color,
.wp-block-button .wp-block-button__link.has-light-gray-color {
	color: #f7f7f7;
}

.wp-block-file .wp-block-file__button.has-light-gray-background-color,
.wp-block-button .wp-block-button__link.has-light-gray-background-color{
	background-color: #f7f7f7;
}

.wp-block-file .wp-block-file__button.has-green-color,
.wp-block-button .wp-block-button__link.has-green-color {
	color: #28a99d;
}

.wp-block-file .wp-block-file__button.has-green-background-color,
.wp-block-button .wp-block-button__link.has-green-background-color{
	background-color: #28a99d;
}

.wp-block-latest-comments__comment-date {
	color: rgba(145, 145, 145, 0.7);
}

[class^="wp-block-"]:not(.wp-block-gallery) figcaption {
	border-color: #ececec;
	color: rgba(145, 145, 145, 0.7);
}

.wp-block-latest-posts__post-date {
	color: rgba(145, 145, 145, 0.7);
}

.wp-block-pullquote {
    border-color: #313131;
    color: #313131;
}

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

.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: #313131;
}

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

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

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

.has-dark-gray-color {
	color: #333;
}

.has-dark-gray-background-color {
	background-color: #333;
}

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

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

.has-light-gray-color {
	color: #f7f7f7;
}

.has-light-gray-background-color {
	background-color: #f7f7f7;
}

.has-green-color {
	color: #28a99d;
}

.has-green-background-color {
	background-color: #28a99d;
}