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

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

/*--------------------------------------------------------------
1.0 General Block Styles
--------------------------------------------------------------*/

/* Alignments */
.site-content {
	overflow: hidden;
}

.post-template-fullwidth-page .alignfull,
.page-template-fullwidth-page .alignfull,
.single #primary.col-md-offset-2 .alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-left: 0;
	margin-right: 0;
	position: relative;
	left: 50%;
	transform: translateX( -50% );
}

/* Nested alignments */
.post-template-fullwidth-page .alignfull .alignwide,
.page-template-fullwidth-page .alignfull .alignwide,
.single #primary.col-md-offset-2 .alignfull .alignwide {
	width: 85vw;
	max-width: 85vw;
	margin-left: 0;
	margin-right: 0;
	position: relative;
	left: 50%;
	transform: translateX( -50% );
}

/* Fix Nested alignments */
.post-template-fullwidth-page .wp-block-jetpack-layout-grid.alignfull .alignwide,
.page-template-fullwidth-page .wp-block-jetpack-layout-grid.alignfull .alignwide,
.single #primary.col-md-offset-2 .wp-block-jetpack-layout-grid.alignfull .alignwide {
    width: 100%;
    max-width: 100%;
    left: 0;
    transform: none;
}

/* Make non image-based blocks a bit narrower, so they don't get cut off. */
.post-template-fullwidth-page .wp-block-columns.alignfull,
.post-template-fullwidth-page .wp-block-audio.alignfull,
.post-template-fullwidth-page .wp-block-table.alignfull,
.post-template-fullwidth-page .wp-block-latest-comments.alignfull,
.post-template-fullwidth-page .wp-block-categories.alignfull,
.post-template-fullwidth-page .wp-block-latest-posts.alignfull,
.post-template-fullwidth-page .wp-block-file.alignfull,
.page-template-fullwidth-page .wp-block-columns.alignfull,
.page-template-fullwidth-page .wp-block-audio.alignfull,
.page-template-fullwidth-page .wp-block-table.alignfull,
.page-template-fullwidth-page .wp-block-latest-comments.alignfull,
.page-template-fullwidth-page .wp-block-categories.alignfull,
.page-template-fullwidth-page .wp-block-latest-posts.alignfull,
.page-template-fullwidth-page .wp-block-file.alignfull,
.single #primary.col-md-offset-2 .wp-block-columns.alignfull,
.single #primary.col-md-offset-2 .wp-block-audio.alignfull,
.single #primary.col-md-offset-2 .wp-block-table.alignfull,
.single #primary.col-md-offset-2 .wp-block-latest-comments.alignfull,
.single #primary.col-md-offset-2 .wp-block-categories.alignfull,
.single #primary.col-md-offset-2 .wp-block-latest-posts.alignfull,
.single #primary.col-md-offset-2 .wp-block-file.alignfull {
	max-width: 90vw;
	transform: translateX( -50% );
	width: 90vw;
}
@media (min-width: 600px) {
	.post-template-fullwidth-page .wp-block-columns.alignfull,
	.post-template-fullwidth-page .wp-block-audio.alignfull,
	.post-template-fullwidth-page .wp-block-table.alignfull,
	.post-template-fullwidth-page .wp-block-latest-comments.alignfull,
	.post-template-fullwidth-page .wp-block-categories.alignfull,
	.post-template-fullwidth-page .wp-block-latest-posts.alignfull,
	.post-template-fullwidth-page .wp-block-file.alignfull,
	.page-template-fullwidth-page .wp-block-columns.alignfull,
	.page-template-fullwidth-page .wp-block-audio.alignfull,
	.page-template-fullwidth-page .wp-block-table.alignfull,
	.page-template-fullwidth-page .wp-block-latest-comments.alignfull,
	.page-template-fullwidth-page .wp-block-categories.alignfull,
	.page-template-fullwidth-page .wp-block-latest-posts.alignfull,
	.page-template-fullwidth-page .wp-block-file.alignfull,
	.single #primary.col-md-offset-2 .wp-block-columns.alignfull,
	.single #primary.col-md-offset-2 .wp-block-audio.alignfull,
	.single #primary.col-md-offset-2 .wp-block-table.alignfull,
	.single #primary.col-md-offset-2 .wp-block-latest-comments.alignfull,
	.single #primary.col-md-offset-2 .wp-block-categories.alignfull,
	.single #primary.col-md-offset-2 .wp-block-latest-posts.alignfull,
	.single #primary.col-md-offset-2 .wp-block-file.alignfull {
		max-width: 94vw;
		transform: translateX( -50% );
		width: 94vw;
	}
}
@media (min-width: 1200px) {
	.post-template-fullwidth-page .alignwide,
	.page-template-fullwidth-page .alignwide,
	.single #primary.col-md-offset-2 .alignwide {
		width: 85vw;
		max-width: 85vw;
		margin-left: 0;
		margin-right: 0;
		position: relative;
		left: 50%;
		transform: translateX( -50% );
	}
	/* Make non image-based blocks a bit narrower, so they don't get cut off. */
	.post-template-fullwidth-page .wp-block-columns.alignfull,
	.post-template-fullwidth-page .wp-block-audio.alignfull,
	.post-template-fullwidth-page .wp-block-table.alignfull,
	.post-template-fullwidth-page .wp-block-latest-comments.alignfull,
	.post-template-fullwidth-page .wp-block-categories.alignfull,
	.post-template-fullwidth-page .wp-block-latest-posts.alignfull,
	.post-template-fullwidth-page .wp-block-file.alignfull,
	.page-template-fullwidth-page .wp-block-columns.alignfull,
	.page-template-fullwidth-page .wp-block-audio.alignfull,
	.page-template-fullwidth-page .wp-block-table.alignfull,
	.page-template-fullwidth-page .wp-block-latest-comments.alignfull,
	.page-template-fullwidth-page .wp-block-categories.alignfull,
	.page-template-fullwidth-page .wp-block-latest-posts.alignfull,
	.page-template-fullwidth-page .wp-block-file.alignfull,
	.single #primary.col-md-offset-2 .wp-block-columns.alignfull,
	.single #primary.col-md-offset-2 .wp-block-audio.alignfull,
	.single #primary.col-md-offset-2 .wp-block-table.alignfull,
	.single #primary.col-md-offset-2 .wp-block-latest-comments.alignfull,
	.single #primary.col-md-offset-2 .wp-block-categories.alignfull,
	.single #primary.col-md-offset-2 .wp-block-latest-posts.alignfull,
	.single #primary.col-md-offset-2 .wp-block-file.alignfull {
		max-width: 96vw;
		transform: translateX( -50% );
		width: 96vw;
	}
}

.post-template-fullwidth-page .wp-block-embed.is-type-video.alignfull iframe,
.page-template-fullwidth-page .wp-block-embed.is-type-video.alignfull iframe {
	width: 100% !important;
	height: 100% !important;
}

.post-template-fullwidth-page .wp-block-embed.is-type-video iframe,
.page-template-fullwidth-page .wp-block-embed.is-type-video iframe {
	max-height: 100%;
}

/* Captions */
[class^="wp-block-"] figcaption {
	font-size: .75em;
}

[class^="wp-block-"]:not(.wp-block-gallery) figcaption {
	color: inherit;
	text-align: left;
}
.wp-block-image.alignfull figcaption {
    margin: .5em 1em 1em 1em;
}

.rtl [class^="wp-block-"]:not(.wp-block-gallery) figcaption {
	text-align: right;
}

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

/* Paragraph */

p.has-drop-cap:not(:focus)::first-letter {
	font-size: 5em;
	margin-top: 0.15em;
}
[class^="wp-block-"] *:not(.has-text-color) strong,
.has-text-color strong {
    color: inherit;
}
.entry-content p.has-small-font-size,
.entry-summary p.has-small-font-size {
	font-size: 13px
}
.entry-content p.has-normal-font-size,
.entry-content p.has-regular-font-size,
.entry-summary p.has-normal-font-size,
.entry-summary p.has-regular-font-size {
	font-size: 15px;
    font-size: 0.9375rem;
}
.entry-content p.has-medium-font-size,
.entry-summary p.has-medium-font-size {
	font-size: 20px
}
.entry-content p.has-large-font-size,
.entry-summary p.has-large-font-size {
	font-size: 36px
}
.entry-content p.has-huge-font-size,
.entry-content p.has-larger-font-size,
.entry-summary p.has-huge-font-size,
.entry-summary p.has-larger-font-size {
	font-size: 42px
}
.has-background {
	background-color: #f5f5f5;
}
.wp-block-cover .has-background {
	color: #000000;
}
.has-background-dim a { 
	color: #fff; 
	border-bottom: 1px solid #fff;
}

/* Gallery */

.wp-block-gallery {
	margin: 0 0 27px;
}

/* Quote */

.wp-block-quote {
    padding-left: 20px;
    border-left: 4px solid #626262;
	margin: 40px 0;
}
.wp-block-quote p {
    padding-left: 0;
    border-left: none;
    margin-left: 0;
}
.wp-block-quote.is-large,
.wp-block-quote.is-style-large {
	margin: 40px 0;
	border-left: 4px solid #626262;
}

.wp-block-quote.is-large p,
.wp-block-quote.is-style-large p {
	font-size: 22px;
	font-style: normal;
}

.wp-block-quote__citation, 
.wp-block-quote cite, 
.wp-block-quote footer {
	font-size: 14px;
    font-size: 0.875rem;
    font-weight: 400;
    text-transform: uppercase;
    font-style: normal;
    font-family: 'Lora', serif;
    color: #000;
}

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

@media (min-width: 50em) {
	.wp-block-quote.is-large p,
	.wp-block-quote.is-style-large p {
		font-size: 28px;
	}
}

/* Audio */

.wp-block-audio {
	margin: 0 0 27px;
}

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

/* Cover */

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

.wp-block-cover-image .wp-block-cover-image-text,
.wp-block-cover-image .wp-block-cover-text,
.wp-block-cover-image h2,
.wp-block-cover .wp-block-cover-image-text,
.wp-block-cover .wp-block-cover-text,
.wp-block-cover h2 {
	font-size: 1.5em;
}

/* File */

.wp-block-file a.wp-block-file__button {
	background-color: #000;
    display: inline-block;
    padding: 8px 12px;
    color: #fff;
    font-size: 11px;
    font-size: 0.6875rem;
    line-height: 1.5;
    text-decoration: none;
    text-transform: uppercase;
    text-align: center;
    border: none;
    outline: 0;
    font-weight: 700;
    font-family: 'Lora', serif;
    -webkit-transition: .08s all linear;
    -moz-transition: .08s all linear;
    -o-transition: .08s all linear;
    transition: .08s all linear;
	letter-spacing: 1px;
	border-radius: 0;
}

.wp-block-file a.wp-block-file__button:hover {
	color: #fff;
	background-color: #4e4e4e;
}
.wp-block-file a.wp-block-file__button:active {
    color: #fff;
    background-color: #4e4e4e;
}

.rtl .wp-block-file * + .wp-block-file__button {
	margin-left: .75em;
	margin-right: 0;
}

/* Video */

.wp-block-video video {
	width: 100%;
}

/* Image*/

.wp-block-image {
    margin-bottom: 24px;
}

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

/* Verse */

.wp-block-verse {
	font-style: italic;
}

/* Pullquote */
.wp-block-pullquote {
    border-top: 4px solid #000;
    border-bottom: 4px solid #000;
    color: #626262;
}

.wp-block-pullquote blockquote {
	padding-left: 0;
	padding-right: 0;
	margin: 0;
	font-style: inherit;
	color: inherit;
}

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

.wp-block-pullquote blockquote p {
	font-style: inherit;
    border-left: none;
    margin: 0;
    color: inherit;
	padding: 0;
	text-align: inherit;
}

.wp-block-pullquote cite,
.wp-block-pullquote.alignleft cite,
.wp-block-pullquote.alignright cite {
	text-align: center;

}

.wp-block-pullquote.is-style-solid-color blockquote {
    text-align: center;
    max-width: 60%;
}

/* Table */

.wp-block-table td {
	font-weight: inherit;
}

.wp-block-table th {
	text-align: left;
}
.wp-block-table table {
	border: 0;
	border-bottom: 1px solid #ededed;
	border-collapse: collapse;
	border-spacing: 0;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.5;
	margin: 0 0 20px;
	width: 100%;
}
.wp-block-table thead,
.wp-block-table tfoot {
	border: 0;
}
.wp-block-table th,
.wp-block-table td {
	font-weight: normal;
	text-align: left;
}
.wp-block-table th {
	border: 0;
	font-weight: bold;
	text-transform: uppercase;
	border-top: 1px solid #ededed;
	font-family: 'Lora', serif;
	font-size: 14px;
	padding: 8px 10px 8px 0;
}
.wp-block-table td {
	border: 0;
	border-top: 1px solid #ededed;
	padding: 6px 10px 6px 0;
}
.rtl .wp-block-table th {
	text-align: right;
}

/* hr */
hr[class^="wp-block-"] {
	border-color: #000000;
	border-right: none;
	border-left: none;
	margin-top: 25px;
    margin-bottom: 25px;
}

@media (min-width: 750px) {
	hr[class^="wp-block-"] {
		margin-top: 50px;
		margin-bottom: 50px;
	}
}

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

/* Buttons */
.wp-block-button {
	margin: 20px 0;
}

.wp-block-button .wp-block-button__link {
	background-color: #000;
    display: inline-block;
    padding: 8px 12px;
    color: #fff;
    font-size: 11px;
    font-size: 0.6875rem;
    line-height: 1.5;
    text-decoration: none;
    text-transform: uppercase;
    text-align: center;
    border: none;
    outline: 0;
    font-weight: 700;
    font-family: 'Lora', serif;
    -webkit-transition: .08s all linear;
    -moz-transition: .08s all linear;
    -o-transition: .08s all linear;
    transition: .08s all linear;
	letter-spacing: 1px;
	border-radius: 0;
}

.wp-block-button .wp-block-button__link:hover {
	color: #fff;
	background-color: #4e4e4e;
}
.wp-block-button .wp-block-button__link:active {
	color: #fff;
    background-color: #4e4e4e;
}

.is-style-outline .wp-block-button__link {
    background-color: transparent;
	border: 1px solid;
	color: #000;
}

.has-background-dim .wp-block-button .wp-block-button__link,
.has-background-dim button {
	color: rgba(255, 255, 255, 0.5);
	border: 1px solid rgba(255, 255, 255, 0.5);
	background-color: transparent;
}
.has-background-dim .wp-block-button .wp-block-button__link:hover,
.has-background-dim button:hover {
	color: #FFFFFF;
	border-color: #FFFFFF;
	background-color: transparent;
}
.has-background-dim .wp-block-button .wp-block-button__link:active,
.has-background-dim button:active {
	color: #000;
	border-color: #FFFFFF;
	background-color: #FFFFFF;
}

/* Separator */

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

/* Media & Text */

.wp-block-media-text {
	margin-bottom: 27px;
}

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

/* Contact info */

.wp-block-jetpack-contact-info {
    line-height: 1.60;
}

/* Social */

.wp-social-link a,
.wp-social-link a:active,
.wp-social-link a:hover,
.wp-social-link a:visited,
.wp-social-link svg {
	color: inherit;
	background-color: transparent;
}

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

/* Categories, Latest Posts & Archives */

.wp-block-categories.aligncenter,
.wp-block-categories.aligncenter ul,
.wp-block-latest-posts.aligncenter,
.wp-block-archives.aligncenter {
	list-style-position: inside;
	margin-left: 0;
	margin-right: 0;
	text-align: center;
}

/* Latest Comments */

.wp-block-latest-comments {
	margin-left: 0;
	margin-right: 0;
}

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

/* Latest Posts */

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