/*
Theme Name: Catch Everest
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 {
	font-size: 14px;
	font-size: 0.875rem;
	font-style: italic;
	line-height: 1.6153846154;
	margin: 10px;
}

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

body {
    overflow-x: hidden;
}

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

@media screen and (max-width: 1000px) and (min-width: 751px) {
	.no-sidebar .alignwide {
	    margin-left: 0;
	    margin-right: 0;
	    max-width: 750px;
	}
}

/* 1001px */
@media screen and (min-width: 1001px) {
	.no-sidebar .alignwide {
	    margin-left: -120px;
	    margin-right: -120px;
	    max-width: 930px;
	}

	.no-sidebar .alignfull,
	.no-sidebar-full-width .alignfull {
		margin-left: -40px;
		margin-right: -40px;
		max-width: 1140px;
	}
}

@media screen and (max-width: 1189px) {
	.no-sidebar .alignfull {
		margin-left: -210px;
		margin-right: -210px;
		max-width: 990px;
	}
}

@media screen and (max-width: 1020px) {
	.no-sidebar .alignfull {
		margin-left: -195px;
		margin-right: -195px;
		max-width: 960px;
	}
	.no-sidebar-full-width .alignfull {
		margin-left: -30px;
		margin-right: -30px;
		max-width: 960px;
	}
}

@media screen and (max-width: 1000px) {
	.no-sidebar .alignfull {
		margin-left: -30px;
		margin-right: -30px;
		max-width: 750px;
	}

	.no-sidebar-full-width .alignfull {
		max-width: 750px;
	}
}

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

/* Paragraph */

p.has-drop-cap:not(:focus)::first-letter {
	float: left;
	font-size: 102px;
	font-size: 6.375rem;
	line-height: 0.6;
	margin: 10px 14px -3px -3px;
}

/* Image */

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

.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: 30px;
	margin-left: 0;
}

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

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

/* 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: 30px;
	font-size: 1.875rem;
}

.has-large-font-size {
	font-size: 24px;
	font-size: 1.5rem;
}

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

.has-small-font-size {
	font-size: 16px;
	font-size: 1rem;
}

.has-extra-small-font-size {
	font-size: 13px;
	font-size: 0.8125rem;
}

@media screen and (max-width: 1020px) {
	.has-huge-font-size {
		font-size: 26px;
		font-size: 1.625rem;
	}
	.has-large-font-size,
	.entry-content h2,
	.comment-content h2 {
		font-size: 22px;
		font-size: 1.375rem;
	}
}


/* Quote */

.wp-block-quote {
	background: #efefef;
	border: 0;
	display: block;
	font-weight: bold;
	position: relative;
}

.wp-block-quote:before {
  content: "\201C";
  font-size: 100px;
  font-size: 6.25rem;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: 0.65;
  letter-spacing: normal;
  width: 100%;
}

.wp-block-quote:before {
	position: absolute;
	top: 35px;
}

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

.wp-block-quote.has-text-align-right:before {
	right: 25px;
}

.wp-block-quote.has-text-align-left:before {
	left: 25px;
}

.wp-block-quote,
.wp-block-quote.has-text-align-center,
.wp-block-quote.has-text-align-right,
.wp-block-quote.has-text-align-left {
	border: 0;
	padding: 70px 30px 30px 30px;
}

.wp-block-pullquote.is-style-solid-color blockquote {
	background: #efefef;
	max-width: 100%;
}

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

.wp-block-quote cite {
	font-size: 14px;
	font-size: 0.875rem;
	font-style: italic;
	font-weight: normal;
	margin-top: 14px;
}

.wp-block-quote.is-large p,
.wp-block-quote.is-style-large p,
.wp-block-pullquote p {
	font-size: 20px;
	font-size: 1.25rem;
	font-weight: bold;
}

.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 {
	font-size: 18px;
	font-size: 1.125rem;
}

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

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

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

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

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

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

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

/* Pullquote */

.wp-block-pullquote {
	border-top: 4px solid #000;
	border-bottom: 4px solid #000;
	margin: 30px 0;
	padding: 0;
}

.wp-block-pullquote.alignleft {
	border-top: 0;
	border-bottom: 0;
	border-left: 4px solid #000;
}

.wp-block-pullquote.alignright {
	border-top: 0;
	border-bottom: 0;
	border-right: 4px solid #000;
}

.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 30px 7px 0;
}

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

.wp-block-pullquote blockquote {
	background-color: transparent;
	margin-bottom: 0;
}

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

.wp-block-pullquote.is-style-solid-color {
	border: 0;
}

.wp-block-pullquote.is-style-solid-color blockquote p {
	font-size: 20px;
	font-size: 1.25rem;
	font-weight: bold;
}

.wp-block-pullquote.is-style-solid-color blockquote cite {
	font-style: italic;
}

/* Table */

.wp-block-table {
    border-collapse: separate;
    margin-bottom: 30px;
}

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

.wp-block-table thead {
	border-bottom: 0;
}

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

.wp-block-table th,
.wp-block-table td {
	border-width: 0 1px 1px 0;
}

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

/* Code */
.wp-block-code {
	background: #eee;
	border: 0;
	border-radius: 0;
	font-family: "Courier 10 Pitch", Courier, monospace;
	padding: 1.75em;
}

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

/* Buttons */

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

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

.wp-block-button .wp-block-button__link {
	-webkit-border-radius: 0;
	border-radius: 0;
	-webkit-box-shadow: none;
	box-shadow: none;
	display: inline-block;
	font-size: 15px;
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1;
	padding: 15px 30px;
	text-transform: uppercase;
	-webkit-transition: background-color 0.2s ease-in-out;
	transition: background-color 0.2s ease-in-out;
	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: 30px auto;
}

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

/* Media & Text */

.wp-block-media-text {
	margin-bottom: 1.75em;
}

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


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

.wp-block-file .wp-block-file__button,
.wp-block-button .wp-block-button__link {
	background-color: #0088cc;
	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: #000;
	color: #fff;
	text-decoration: none;
}

.wp-block-table td,
.wp-block-table th,
.wp-block-table.is-style-stripes td,
.wp-block-table.is-style-stripes th {
	border-color: #e5e5e5;
}

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

.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-dark-gray-color {
	color: #3a3d41;
}

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

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

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

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

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

.has-blue-color {
	color: #0088cc;
}

.has-blue-background-color {
	background-color: #0088cc;
}
