/*
Theme Name: Foodie World
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-left: 1px solid;
	border-right: 1px solid;
	border-bottom: 1px solid;
	color: inherit;
	font-size: inherit;
	font-style: italic;
	line-height: 1.75;
	margin: 0;
	padding: 7px 14px;
	text-align: center;
}

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

.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( -94vw / 2 + 100% / 2 );
    margin-right : calc( -94vw / 2 + 100% / 2 );
	max-width: 94vw;
}

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

	.no-sidebar.full-width-layout .alignwide {
		margin-left: -40px;
		margin-right: -40px;
		max-width: 1600px;
	}
}


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

/* Paragraph */
p.has-drop-cap:not(:focus):first-letter {
	float: left;
	font-size: 100px;
	font-size: 6.25rem;
	font-weight: 500;
	line-height: 0.6;
	margin: 11px 14px 3px -10px;
}

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

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

.wp-block-image figure.alignleft {
	margin-top: 7px;
	margin-right: 35px;
}

.wp-block-image figure.alignright {
	margin-top: 7px;
	margin-left: 35px;
}

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

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

.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: 17px;
	font-size: 1.0625rem;
	font-weight: 600;
	font-style: italic;
	line-height: inherit;
}

/* 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 {
	background-color: #ff6b08;
	border: none;
	-webkit-border-radius: 35px;
	border-radius: 35px;
	-webkit-box-shadow: none;
	box-shadow: none;
	color: #fff;
	display: inline-block;
	font-size: 15px;
	font-size: 0.9375rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	line-height: 1.3125;
	margin-top: 2em;
	padding: 14px 35px;
	text-decoration: none;
	text-transform: uppercase;
	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: 34px;
	font-size: 2.125rem;
}

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

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

.has-small-font-size {
	font-size: 12px;
	font-size: 0.75rem;
}

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

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

	.has-large-font-size,
	.editor-post-title__block .editor-post-title__input {
		font-size: 43px;
		font-size: 2.6875rem;	
	}

	.has-normal-font-size {
		font-size: 17px;
		font-size: 1.0625rem;
	}
}

/* 1200px */
@media screen and (min-width: 75em) { 
	.has-large-font-size,
	.editor-post-title__block .editor-post-title__input {
		font-size: 52px;
		font-size: 3.25rem;
	}
}

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

/* Code */
.wp-block-code {
	background: transparent;
	border: 0;
	color: inherit;
	font-size: 1em;
	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-top: 5px solid;
    border-bottom: 5px solid;
    color: inherit;
    padding: 28px 0;
    margin: 1.75em 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-top: 7px;
	margin-right: 35px;
}

.wp-block-pullquote.alignright  {
	margin-top: 7px;
	margin-left: 35px;
}

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

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

/* Table */
.wp-block-table th,
.wp-block-table td {
    padding: 0.8235294117647059em 1.647058823529412em;
}

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


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

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

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

.wp-block-button .wp-block-button__link {
	border: none;
	-webkit-border-radius: 35px;
	border-radius: 35px;
	-webkit-box-shadow: none;
	box-shadow: none;
	display: inline-block;
	font-size: 15px;
	font-size: 0.9375rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	line-height: 1.3125;
	padding: 14px 35px;
	text-decoration: none;
	text-transform: uppercase;
	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: 2.470588235294118em 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 {
	color: inherit;
	display: block;
	font-size: 13px;
	font-size: 0.8125rem;
	line-height: 1.615384615;
	margin-bottom: 0.538461538em;
}

/* Comments */
.wp-block-latest-comments__comment {
	border-top: 1px solid;
	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;
	text-decoration: 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: 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-weight: 500;
	text-decoration: none;
}

.wp-block-latest-comments__comment-date {
	color: inherit;
	display: block;
	font-size: 12px;
	font-size: 0.75rem;
	line-height: inherit;
	letter-spacing: 0.05em;
	margin: 7px 0 0;
	text-transform: uppercase;
}


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

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

.wp-block-pullquote,
.wp-block-quote:not(.is-large):not(.is-style-large) {
	border-color: #f36608;
}

.wp-block-latest-comments__comment {
	border-color: #f2f2f2;
}

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

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

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

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

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

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

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

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

.has-orange-color {
	color: #f36608;
}

.has-orange-background-color {
	background-color: #f36608;
}