/*
Theme Name: Rosalie
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-x: hidden;
}

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

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

/* Fix Nested alignments */
.page-template-fullwidth-page .wp-block-jetpack-layout-grid.alignfull .alignwide,
.single #primary.col-lg-12 .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. */
.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-lg-12 .wp-block-columns.alignfull,
.single #primary.col-lg-12 .wp-block-audio.alignfull,
.single #primary.col-lg-12 .wp-block-table.alignfull,
.single #primary.col-lg-12 .wp-block-latest-comments.alignfull,
.single #primary.col-lg-12 .wp-block-categories.alignfull,
.single #primary.col-lg-12 .wp-block-latest-posts.alignfull,
.single #primary.col-lg-12 .wp-block-file.alignfull {
	max-width: 90vw;
	transform: translateX( -50% );
	width: 90vw;
}
@media (min-width: 600px) {
	.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-lg-12 .wp-block-columns.alignfull,
	.single #primary.col-lg-12 .wp-block-audio.alignfull,
	.single #primary.col-lg-12 .wp-block-table.alignfull,
	.single #primary.col-lg-12 .wp-block-latest-comments.alignfull,
	.single #primary.col-lg-12 .wp-block-categories.alignfull,
	.single #primary.col-lg-12 .wp-block-latest-posts.alignfull,
	.single #primary.col-lg-12 .wp-block-file.alignfull {
		max-width: 94vw;
		transform: translateX( -50% );
		width: 94vw;
	}
}
@media (min-width: 1200px) {
	.page-template-fullwidth-page .alignwide,
	.single #primary.col-lg-12 .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. */
	.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-lg-12 .wp-block-columns.alignfull,
	.single #primary.col-lg-12 .wp-block-audio.alignfull,
	.single #primary.col-lg-12 .wp-block-table.alignfull,
	.single #primary.col-lg-12 .wp-block-latest-comments.alignfull,
	.single #primary.col-lg-12 .wp-block-categories.alignfull,
	.single #primary.col-lg-12 .wp-block-latest-posts.alignfull,
	.single #primary.col-lg-12 .wp-block-file.alignfull {
		max-width: 96vw;
		transform: translateX( -50% );
		width: 96vw;
	}
}

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

.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 {
	font-size:13px
}
.entry-content p.has-normal-font-size,
.entry-content p.has-regular-font-size {
	font-size: 15px;
	font-size: 0.9375rem;
}
.entry-content p.has-medium-font-size {
	font-size:20px
}
.entry-content p.has-large-font-size {
	font-size:36px
}
.entry-content p.has-huge-font-size,
.entry-content p.has-larger-font-size {
	font-size:42px
}
.has-background {
	background-color: #f5f5f5;
}
.wp-block-cover .has-background {
	color: #000000;
}

/* Gallery */

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

/* Quote */

.wp-block-quote {
	padding-left: 20px;
	border-left: 4px solid #d3b062;
	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 #d3b062;
}

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

.wp-block-cover input[type="text"], 
.wp-block-cover input[type="email"], 
.wp-block-cover input[type="url"], 
.wp-block-cover input[type="password"], 
.wp-block-cover input[type="search"], 
.wp-block-cover textarea,
.wp-block-cover-image input[type="text"], 
.wp-block-cover-image input[type="email"], 
.wp-block-cover-image input[type="url"], 
.wp-block-cover-image input[type="password"], 
.wp-block-cover-image input[type="search"], 
.wp-block-cover-image textarea {
	border: none;
	background: #fff;
}

.wp-block-cover .wp-block-button.is-style-outline .wp-block-button__link, 
.wp-block-cover .wp-block-button__link.is-style-outline,
.wp-block-cover-image .wp-block-button.is-style-outline .wp-block-button__link, 
.wp-block-cover-image .wp-block-button__link.is-style-outline {
    color: #ffffff;
}

/* File */

.wp-block-file a.wp-block-file__button {
	background-color: #ececec;
	display: inline-block;
	padding: 10px 25px;
	color: #000;
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1.5;
	text-decoration: none;
	text-transform: uppercase;
	text-align: center;
	border: 0;
	outline: 0;
	font-weight: 400;
	font-family: 'Montserrat', sans-serif;
	-webkit-transition: .2s all linear;
	-moz-transition: .2s all linear;
	-o-transition: .2s all linear;
	transition: .2s all linear;
	letter-spacing: 1px;
	border-radius: 0;
}

.wp-block-file a.wp-block-file__button:hover {
	border: 0;
	color: #000;
	background-color: #ddd;
	-webkit-transition: .2s all linear;
	-moz-transition: .2s all linear;
	-o-transition: .2s all linear;
	transition: .2s all linear;
}
.wp-block-file a.wp-block-file__button:active {
	background-color: #000;
	color: #fff;
	border: 0;
	-webkit-transition: 0s all linear;
	-moz-transition: 0s all linear;
	-o-transition: 0s all linear;
	transition: 0s all linear;
}

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

.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: #d3b062;
	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: #ececec;
	display: inline-block;
	padding: 10px 25px;
	color: #000;
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1.5;
	text-decoration: none;
	text-transform: uppercase;
	text-align: center;
	border: 0;
	outline: 0;
	font-weight: 400;
	font-family: 'Montserrat', sans-serif;
	-webkit-transition: .2s all linear;
	-moz-transition: .2s all linear;
	-o-transition: .2s all linear;
	transition: .2s all linear;
	letter-spacing: 1px;
	border-radius: 0;
}

.wp-block-button__link:hover {
	border: 0;
	color: #000;
	background-color: #ddd;
	-webkit-transition: .2s all linear;
	-moz-transition: .2s all linear;
	-o-transition: .2s all linear;
	transition: .2s all linear;
}
.wp-block-button__link:active {
	background-color: #000;
	color: #fff;
	border: 0;
	-webkit-transition: 0s all linear;
	-moz-transition: 0s all linear;
	-o-transition: 0s all linear;
	transition: 0s all linear;
}

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

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

/* Post Carousel */

.wp-block-newspack-blocks-carousel article .entry-title {
    text-transform: none;
    padding: 0;
}

.wp-block-newspack-blocks-carousel article .entry-title:before, .wp-block-newspack-blocks-carousel article .entry-title:after {
    content: none;
}

.wp-block-newspack-blocks-carousel article .entry-title a {
    color: #d3b062;
}


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