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

/*--------------------------------------------------------------
>>--> TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 Blocks - General Block Styles
2.0 Blocks - Common Blocks
3.0 Blocks - Formatting
4.0 Blocks - Layout Elements
5.0 Blocks - Widgets
6.0 Blocks - Color Styles
7.0 Blocks - Editor Wrap Size
8.0 Blocks - Patterns
--------------------------------------------------------------*/

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

/* Captions */

[class^="wp-block-"]:not(.wp-block-gallery) figcaption {
	font-style: italic;
	margin-bottom: 1.5em;
	text-align: left;
}

.rtl [class^="wp-block-"]:not(.wp-block-gallery) figcaption {
	text-align: right;
}
  
.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 (min-width: 64em) {
	.no-sidebar .alignfull {
		margin-left: calc(-94vw / 2 + 100% / 2);
		margin-right: calc(-94vw / 2 + 100% / 2);
		max-width: 94vw;
	}

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

/* 1290px */
@media screen and (min-width: 80.625em) {
	.no-sidebar .alignfull {
		margin-left: calc(-1290px / 2 + 100% / 2);
		margin-right: calc(-1290px / 2 + 100% / 2);
		max-width: 1290px;
	}

	.no-sidebar:not(.fluid-layout) .alignwide {
		margin-left: -120px;
		margin-right: -120px;
		max-width: 1280px;
	}

	.no-sidebar.full-width-layout:not(.fluid-layout) .alignwide {
		margin-left: -10px;
		margin-right: -10px;
		max-width: 1250px;
	}
}
  
  /*--------------------------------------------------------------
  2.0 Blocks - Common Blocks
  --------------------------------------------------------------*/
  
  /* Paragraph */
  
p.has-drop-cap:not(:focus)::first-letter {
	font-size: 5em;
	margin-top: 0.075em;
}
  
/* Image */

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

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

.wp-block-image figure.alignleft {
	margin-right: 1.5em;
}

.wp-block-image figure.alignright {
	margin-left: 1.5em;
}

/* Gallery */

.wp-block-gallery {
	margin-bottom: 1.5em;
}

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

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

/* Quote */

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

.wp-block-quote.is-large {
    padding: 1em 2em;
}

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

.no-sidebar .wp-block-cover.alignfull,
.no-sidebar .wp-block-image.alignfull,
.no-sidebar .wp-block-gallery.alignfull,
.no-sidebar .wp-block-pullquote.alignfull,
.no-sidebar .wp-block-table.alignfull,
.no-sidebar .wp-block-audio.alignfull,
.no-sidebar .wp-block-categories.alignfull {    
    width: 100vw;
    max-width : 100vw;
    margin-left  : calc( -100vw / 2 + 100% / 2 );
    margin-right : calc( -100vw / 2 + 100% / 2 );
}
.no-sidebar .wp-block-embed.is-type-video.alignfull iframe {    
    width: 100vw !important;
    max-width : 100vw;
    margin-left  : calc( -100vw / 2 + 100% / 2 ) !important;
    margin-right : calc( -100vw / 2 + 100% / 2 ) !important;
}

.no-sidebar .wp-block-image.alignfull figcaption,
.no-sidebar .wp-block-audio.alignfull figcaption {
    text-align: center;
    max-width: 1200px;
    width: 90%;
    padding: 0 15px;
    margin: 5px auto 0;
}

.no-sidebar .wp-block-table.alignfull {
    display: table;
}

.no-sidebar .wp-block-audio.alignfull {
	padding: 0 20px;
}

.no-sidebar .wp-block-categories.alignfull {
    padding: 0 50px;
}

.no-sidebar .wp-block-gallery.alignfull {
    padding: 0 25px;
}

/* File */

.wp-block-file .wp-block-file__button {
	background-color: #222;
	-webkit-border-radius: 2px;
	border-radius: 2px;
	-webkit-box-shadow: none;
	box-shadow: none;
	color: #fff;
	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 {
	background-color: #767676;
	-webkit-box-shadow: none;
	box-shadow: none;
}

/* Separator */

.wp-block-separator {
	border-color: #eee;
	border: 0;
}
  
/*--------------------------------------------------------------
3.0 Blocks - Formatting
--------------------------------------------------------------*/

/* Editor Font Size */

pre.wp-block-verse {
	font-family: Inconsolata, monospace;
}

.editor-post-title__block .editor-post-title__input {
	font-family: "Roboto Slab", sans-serif;
	font-size: 24px;
	font-size: 1.5rem;
	font-weight: 500;
	line-height: 1.25;
	margin: 0 0 35px;
	padding: 0;
	text-align: center;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	-ms-hyphens: auto;
	hyphens: auto;
}

h2, h3 {
	font-size: 1.3em;
}

h1 {
	font-size: 2em;
	margin: .67em 0;
}

.aligncenter.wp-block-site-logo {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

/* Quotes */

.wp-block-quote,
.wp-block-quote.has-text-align-right {
	border: 0;
}

.wp-block-quote.has-text-align-right {
	padding: 67px 0 0 0;
}

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

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

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

.wp-block-quote,
.wp-block-pullquote {
	color: #888;
	font-size: 16px;
	-webkit-hyphens: none;
	-moz-hyphens: none;
	-ms-hyphens: none;
	hyphens: none;
	letter-spacing: 0.3px;
	line-height: 1.625;
	margin-bottom: 20px;
	padding: 16px 20px 1px;
	position: relative;
	quotes: none;
}

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

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

.wp-block-pullquote.alignright.is-style-solid-color,
.wp-block-pullquote.alignleft.is-style-solid-color,
.wp-block-pullquote.aligncenter.is-style-solid-color,
.wp-block-pullquote.is-style-solid-color {
	padding: 35px;
}

.wp-block-quote.has-text-align-center {
	padding-left: 0;
	padding-right: 0;
}

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

.wp-block-quote p,
.wp-block-pullquote.is-style-solid-color blockquote p,
.wp-block-pullquote p {
	margin-bottom: 28px;
}

.wp-block-quote cite,
.wp-block-pullquote cite {
	font-weight: 400;
	text-transform: capitalize;
	font-size: 13px;
	font-size: 0.8125rem;
	line-height: 2.15;
	color: #999999;
}

.wp-block-quote.is-style-large cite {
	font-weight: 700;
	text-transform: capitalize;
	font-size: inherit;
	color: #999999;
}

.wp-block-quote.is-large,
.wp-block-quote.is-style-large {
padding-top: 67px;
}

/* >= 1660px */
@media screen and (min-width: 103.75em) {
	.wp-block-quote,
	.wp-block-pullquote,
	.wp-block-pullquote p,
	.wp-block-pullquote.is-style-solid-color blockquote p,
	.wp-block-pullquote.alignleft p,
	.wp-block-pullquote.alignright p {
		font-size: 22px;
		font-size: 1.375rem;
	}
}

/* PULLQUOTE */

.wp-block-pullquote {
	padding: 35px 0;
}

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

.wp-block-pullquote {
	border-bottom: 5px solid;
	border-top: 5px solid;
}

.wp-block-pullquote.alignleft,
.wp-block-pullquote.alignright {
	border-bottom: 0;
	border-top: 0;
	border-left: 5px solid;
	padding: 0 0 0 35px;
	text-align: left;
}

.wp-block-pullquote.alignleft blockquote,
.wp-block-pullquote.alignright blockquote {
	margin: 0;
}

.wp-block-pullquote.alignright {
	border-left: 0;
	border-right: 5px solid;
	padding-left: 0;
	padding-right: 35px;
	text-align: right;
}

/* BUTTONS */

.wp-block-file .wp-block-file__button,
.wp-block-button .wp-block-button__link {
	font-size: 16px;
	font-size: 1rem;
	border: none;
	-webkit-border-radius: 6px;
	border-radius: 6px;
	font-weight: 700;
	line-height: 1.75;
	padding: 10px 28px;
	text-transform: capitalize;
}

/* > = 1366px */
@media screen and (min-width: 85.375rem) {
	.wp-block-file .wp-block-file__button,
	.wp-block-button .wp-block-button__link {
		padding: 11px 35px;
	}
}

  /* Table */

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

.wp-block-table thead th {
	border-bottom: 2px solid #bbb;
	padding-bottom: 0.5em;
}

.wp-block-table tr {
	border-bottom: 1px solid #eee;
}

.wp-block-table th,
.wp-block-table td {
    border-color: #ccc;
    padding: 15px 25px;
}

.rtl .wp-block-table th,
.rtl .wp-block-table td {
	text-align: right;
}
  
  /*--------------------------------------------------------------
  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.wp-block-latest-posts__list {
	list-style: disc;
	padding-left: 25px;
  }
  
  .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__comment,
  .wp-block-latest-comments__comment-excerpt p {
	font-size: inherit;
  }
  
  .wp-block-latest-comments .avatar,
  .wp-block-latest-comments__comment-avatar {
	border-radius: 0;
  }
  
  .wp-block-latest-comments__comment-meta {
	margin-bottom: 14px;
  }
  
  .wp-block-latest-comments__comment-author,
  .wp-block-latest-comments__comment-link {
	text-decoration: none;
  }
  
  .wp-block-latest-comments__comment-date {
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1.75;
	margin-top: 7px;
	text-transform: capitalize;
  }

  .editor-block-list__block .wp-block-latest-comments__comment-excerpt p {
	font-size: 14px;
	font-size: 0.875rem;
}
  
  .wp-block-gallery .item {
	padding-left: 0;
  }
  
  .wp-block-calendar a {
	text-decoration: none;
  }

.wp-block-calendar tbody td, 
.wp-block-calendar th {
	text-align: center;
}

.wp-block-calendar table {
  border-width: 1px;
}

.wp-block-calendar table thead th {
	border-right-color: #fff;
}

.wp-block-calendar table thead th:last-child {
	border-right-color: #ddd;
}
  
  table tr:last-child td {
	border-bottom: 0;
  }
  
  table tr td:last-child {
	border-right: 0;
  }
  
  .wp-block-table thead {
	border-bottom: 0;
  }
  
  .wp-block-table td,
  .wp-block-table th {
	padding: 14px 28px;
  }
  
  thead th,
  .wp-block-table td,
  .wp-block-table th,
  tbody td {
	border-width: 0 1px 1px 0;
  }

ul.blocks-gallery-grid {
	margin: 0;
}
  /*--------------------------------------------------------------
  6.0 Blocks - Colors
  --------------------------------------------------------------*/
  
  .wp-block-file .wp-block-file__button,
  .wp-block-search .wp-block-search__button,
  .wp-block-button .wp-block-button__link {
	background-color: #222222;
	color: #fff;
  }
  
  .is-style-outline .wp-block-button__link,
  .is-style-outline .more-link,
  .is-style-outline .button {
	border: 1px solid #222222;
	background-color: transparent;
	color: #222222;
  }
  
  .is-style-outline .wp-block-button__link:hover,
  .is-style-outline .wp-block-button__link:focus,
  .is-style-outline .more-link:hover,
  .is-style-outline .more-link:focus,
  .is-style-outline .button:hover,
  .is-style-outline .button:focus {
	border-color: transparent;
  }
  
  .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: #ef3636;
	color: #fff;
  }
  
  .wp-block-table,
  .wp-block-table caption,
  .wp-block-table th,
  .wp-block-table td {
	border-color: #ebebeb;
  }
  
  .wp-block-pullquote,
  .wp-block-pullquote.alignleft,
  .wp-block-pullquote.alignright,
  .wp-block-quote.is-large,
  .wp-block-quote.is-style-large,
  .wp-block-quote {
	border-color: #1e88e5;
  }
  
  .wp-block-latest-comments__comment-date,
  [class^="wp-block-"]:not(.wp-block-gallery) figcaption {
	color: #999;
  }
  
/* Background Color */

.has-blue-background-color {
    background-color: #2c7dfa;
}

.has-green-background-color {
    background-color: #07d79c;
}

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

.has-black-background-color {
    background-color: #2f3633;
}

.has-white-background-color {
	background-color: #fff;
}

.has-grey-background-color {
    background-color: #82868b;
}

/* Text Color */

.has-blue-color {
    color: #2c7dfa;
}

.has-green-color {
    color: #07d79c;
}

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

.has-black-color {
    color: #2f3633;
}

.has-white-color {
	color: #fff;
}

.has-grey-color {
    color: #82868b;
}
  
.wp-block-button .wp-block-button__link.has-white-color,
.wp-block-pullquote.is-style-solid-color.has-white-color,
.has-white-color {
	color: #fff;
}

/* WHITE COLOR */

.wp-block-button .wp-block-button__link.has-white-background-color,
.wp-block-pullquote.is-style-solid-color.has-white-background-color {
	background-color: #fff;
}

.wp-block-button .wp-block-button__link.has-white-color,
.wp-block-pullquote.is-style-solid-color blockquote.has-white-color,
.wp-block-pullquote blockquote.has-white-color {
	color: #fff;
}

/* BLACK COLOR */

.wp-block-button .wp-block-button__link.has-black-background-color,
.wp-block-pullquote.is-style-solid-color.has-black-background-color {
background-color: #000;
}

.wp-block-button .wp-block-button__link.has-black-color,
.wp-block-pullquote.is-style-solid-color blockquote.has-black-color,
.wp-block-pullquote blockquote.has-black-color {
	color: #000;
}

/* DARK GRAY COLOR */

.wp-block-button .wp-block-button__link.has-dark-gray-background-color,
.wp-block-pullquote.is-style-solid-color.has-dark-gray-background-color {
	background-color: #666666;
}

.wp-block-button .wp-block-button__link.has-dark-gray-color,
.wp-block-pullquote.is-style-solid-color blockquote.has-dark-gray-color,
.wp-block-pullquote blockquote.has-dark-gray-color {
	color: #666666;
}

/* LIGHT BLACK COLOR */

.wp-block-button .wp-block-button__link.has-light-black-background-color,
.wp-block-pullquote.is-style-solid-color.has-light-black-background-color {
	background-color: #111111;
}

.wp-block-button .wp-block-button__link.has-light-black-color,
.wp-block-pullquote.is-style-solid-color blockquote.has-light-black-color,
.wp-block-pullquote blockquote.has-light-black-color {
	color: #111111;
}

/* FADE BLACK COLOR */

.wp-block-button .wp-block-button__link.has-fade-black-background-color,
.wp-block-pullquote.is-style-solid-color.has-fade-black-background-color {
	background-color: #222222;
}

.wp-block-button .wp-block-button__link.has-fade-black-color,
.wp-block-pullquote.is-style-solid-color blockquote.has-fade-black-color,
.wp-block-pullquote blockquote.has-fade-black-color {
	color: #222222;
}

/* RED COLOR */

.wp-block-button .wp-block-button__link.has-red-background-color,
.wp-block-pullquote.is-style-solid-color.has-red-background-color {
background-color: #ef3636;
}

.wp-block-button .wp-block-button__link.has-red-color,
.wp-block-pullquote.is-style-solid-color blockquote.has-red-color,
.wp-block-pullquote blockquote.has-red-color {
	color: #ef3636;
}

.wp-block-button.is-style-outline .wp-block-button__link.has-red-border-color,
.wp-block-pullquote.is-style-solid-color.has-red-border-color,
.wp-block-button__link.is-style-outline
.wp-block-button__link.has-red-border-color {
	border-color: #ef3636;
}

/*--------------------------------------------------------------
7.0 Blocks - Editor Wrap Size
--------------------------------------------------------------*/
.wp-block {
    max-width: 840px;
}

/*--------------------------------------------------------------
8.0 Blocks - Patterns
--------------------------------------------------------------*/
.wp-block-buttons {
    margin-top: 3rem;
    margin-right: auto;
    margin-bottom: 3rem;
    margin-left: auto;
}

.wp-block-cover {
    margin-bottom: 3em;
}

button:focus,
button:hover,
.button:focus,
.button:hover,
.faux-button:focus,
.faux-button:hover,
.wp-block-button .wp-block-button__link:focus,
.wp-block-button .wp-block-button__link:hover,
.wp-block-file .wp-block-file__button:focus,
.wp-block-file .wp-block-file__button:hover,
input[type="button"]:focus,
input[type="button"]:hover,
input[type="reset"]:focus,
input[type="reset"]:hover,
input[type="submit"]:focus,
input[type="submit"]:hover {
    text-decoration: underline;
}

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

.wp-block-separator.is-style-dots:before {
    background: none;
    color: inherit;
    font-size: 3.2rem;
    font-weight: 700;
    height: auto;
    letter-spacing: 1em;
    padding-left: 1em;
    position: static;
    transform: none;
    width: auto;
}
  