body.sidebar_hide .alignfull {
	margin-left : calc( -100vw / 2 + 100% / 2 );
	margin-right : calc( -100vw / 2 + 100% / 2 );
	width: 100vw;
	max-width : 100vw;
}
body.sidebar_hide .alignwide {
	position: relative;
	left: calc( -44vw + 50% );
	width: 88vw;
	max-width: none;
}
.alignfull > img,
.alignwide > img {
	max-width: none;
	width: 100%;
}


/* Gutenberg NEW
----------------------------------------------------------------- */

.editor-block-list__block,
.editor-post-title__block,
.editor-default-block-appender {
	max-width: 1000px !important;
}

body.post-type-page .editor-block-list__block,
body.post-type-page .editor-post-title__block,
body.post-type-page .editor-default-block-appender {
	max-width: 1000px !important;
}

.editor-block-list__block,
.editor-post-title__block,
.editor-default-block-appender {
	max-width: 1000px !important;
}
.wp-block[data-align="wide"],
body.post-type-page .wp-block[data-align="wide"] {
	max-width: 88% !important;
}
.wp-block[data-align="full"],
body.post-type-page .wp-block[data-align="full"] {
	width: calc(100% + 100px) !important;
}

body.sidebar_hide .wp-block-cover.alignwide {
	margin-bottom: 1em;
}

body.sidebar_hide .alignwide {
	left: 0;
	margin-left: 50%;
	-webkit-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	transform: translateX(-50%);
	width: 1170px;
}
body.sidebar_hide.expand_content .alignwide {
	left: 0;
	margin-left: 50%;
	-webkit-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	transform: translateX(-50%);
	width: calc(100% + 160px);
}

.wp-block.editor-block-list__block[data-align=full] img {
	max-width: 100%;
}
.wp-block.editor-block-list__block[data-align=full] {
	max-width: none !important;
}
.editor-post-title__block .editor-post-title__input {
	min-height: 1em;
}


.wp-block-separator.is-style-dots {
	text-align: left;
	max-width: 50%;
	height: 14px;
	line-height: 10px;
	overflow: hidden;
}

.wp-block-image figcaption {
	margin-bottom: 0;
	overflow: auto;
}

/* Style bg */
.style-bg {
	position: relative;
	display: block;
	padding: 5.9em 0;
}
.style-bg:before {
	content: '';
	position: absolute;
	left: -10000px;
	right:-10000px;
	top:0;
	bottom: 0;
	background: #ddd;
	display: block;
	z-index: 1;
}
.style-bg > * {
	position: relative;
	z-index: 2;
}



.style-bg-left {
	position: relative;
	display: block;
	padding: 5.9em 0 5.2em 0;
}
.style-bg-left:before {
	content: '';
	position: absolute;
	left: -10000px;
	right: -100px;
	top:0;
	bottom: 0;
	background: #ddd;
	display: block;
}


.style-bg-top {
	position: relative;
	display: block;
	padding: 6.4em 0 6.4em 0;
}
.style-bg-top:before {
	content: '';
	position: absolute;
	left: -10000px;
	right:-10000px;
	top: 0;
	bottom: 0;
	background: #ddd;
	display: block;
	z-index: 0;
}
.style-bg-top > * {
	position: relative;
}


.style-bg.padding {
	padding: 6.4em 0 5.2em 0;
}
.style-bg.padding .extra_descr {
	margin-bottom: 50px;
}

.style-bg.padding .wp-block-button {
	margin: 1.6em 0 1.8em 0;
}

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

.editor-block-list__insertion-point-inserter .editor-inserter__toggle,
.editor-block-mover .editor-block-mover__control {
	padding: 0;
}
.wp-block-quote:not(.is-large):not(.is-style-large) {
	border-left: 0;
}
.wp-block-columns .wp-block-column .wp-block-quote {
	padding: 0 4em;
}
.wp-block-columns .wp-block-column .wp-block-quote:before {
	left: 1.7rem;
}
.editor-styles-wrapper img {
	max-width: 100%;
}

/* NEW */
/* Gutenberg blocks */
.wp-block-cover.aligncenter {
	display: flex!important;
}
table.is-style-stripes > tbody > tr:nth-child(even) > td {
	background-color: transparent;
}

.has-large-font-size {
	line-height: 1.1;
}
.wp-block-column .wp-block-quote {
	padding: 1.6em 2.2em 2.05em;
}
.wp-block-column .wp-block-quote:first-child {
	margin-top: 0;
}
.wp-block-quote.is-large, .wp-block-quote.is-style-large {
	padding: 2.5em;
}

.wp-block-pullquote.is-style-solid-color blockquote {
	background: transparent;
}
.entry-content > .wp-block-media-text, .entry-summary > .wp-block-media-text {
	margin: 2em 0;
}
.wp-block-separator {
	max-width: 5em;
	margin: 3em 0;
}
.wp-block-separator.is-style-wide {
	max-width: 100%;
}
.wp-block-separator.is-style-dots:before {
	font-size: 21px;
	letter-spacing: 1.5em;
	padding-left: 1px;
}
.wp-block-cover-image.alignleft, .wp-block-cover-image.alignright, .wp-block-cover.alignleft, .wp-block-cover.alignright {
	max-width: 400px;
}

.wp-block-image figure.aligncenter {
	display: table!important;
}
.wp-block-embed-twitter twitter-widget {
	margin-bottom: 0!important;
}

figcaption,
wp-block-image {
	box-sizing: border-box;
}
figcaption,
figure.wp-block-video figcaption,
figure.wp-block-embed figcaption {
	position: static;
	transition: none;
	margin: 0;
}


figure.wp-block-audio:hover figcaption,
figure.wp-block-video:hover figcaption,
figure.wp-block-embed:hover figcaption {
	margin-bottom: 0;
	opacity: 1;
}
.sidebar_hide .wp-block-embed.wp-embed-aspect-1-1 .wp-block-embed__wrapper iframe,
.sidebar_hide .wp-block-embed.wp-embed-aspect-1-2 .wp-block-embed__wrapper iframe,
.sidebar_hide .wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper iframe,
.sidebar_hide .wp-block-embed.wp-embed-aspect-9-16 .wp-block-embed__wrapper iframe,
.sidebar_hide .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper iframe,
.sidebar_hide .wp-block-embed.wp-embed-aspect-18-9 .wp-block-embed__wrapper iframe,
.sidebar_hide .wp-block-embed.wp-embed-aspect-21-9 .wp-block-embed__wrapper iframe {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.sidebar_hide .wp-block-embed.wp-embed-aspect-1-1 .wp-block-embed__wrapper:before,
.sidebar_hide .wp-block-embed.wp-embed-aspect-1-2 .wp-block-embed__wrapper:before,
.sidebar_hide .wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper:before,
.sidebar_hide .wp-block-embed.wp-embed-aspect-9-16 .wp-block-embed__wrapper:before,
.sidebar_hide .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper:before,
.sidebar_hide.wp-block-embed.wp-embed-aspect-18-9 .wp-block-embed__wrapper:before,
.sidebar_hide.wp-block-embed.wp-embed-aspect-21-9 .wp-block-embed__wrapper:before {
	content: "";
	display: block;
	padding-top: 50%;
}
.sidebar_hide .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper:before {
	padding-top: 56.25%;
}
body.sidebar_hide .wp-block-columns.alignfull .wp-block-column {
	padding: 0 1.5em;
}
.wp-block-gallery .blocks-gallery-image figcaption,
.wp-block-gallery .blocks-gallery-item figcaption {
	box-sizing: border-box;
}
p[style*="font-size:"],
.has-large-font-size,
.has-huge-font-size,
.has-small-font-size,
.has-normal-font-size,
.has-medium-font-size {
	line-height: 1.3em;
}

.wp-block-cover .wp-block-cover-text,
.wp-block-cover .wp-block-cover-text strong,
.wp-block-cover .wp-block-cover-text a {
	color: #fff !important;
}

.wp-block-cover .wp-block-cover-text a:hover {
	color: #222d35 !important;
}

.wp-block-embed__wrapper {
	position: relative;
}

.wp-block-gallery .blocks-gallery-caption {
	position: static;
	display: block;
	width: 100%;
	margin-bottom: 1em;
}
figure.wp-block-gallery:hover .blocks-gallery-caption {
	opacity: 1;
}
figure.wp-block-gallery .blocks-gallery-item figure .blocks-gallery-item__caption {
	opacity: 1;
	max-height: 75%;
}

.wp-block-group.has-background {
	padding: 1em;
}

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

.has-small-font-size {
	padding-top: 1em;
}


figure.wp-block-audio {
	overflow: visible;
}

.wp-block-cover .wp-block-cover__inner-container p {
	margin: 0;
}

.gallery .gallery-item:hover figcaption:hover {
	bottom: 0;
}

.wp-block-calendar table>tbody>tr>td {
	border: none !important;
}

.wp-block-calendar table a,
.wp-block-calendar .wp-calendar-nav a {
	text-decoration: none;
}

.wp-block-group p:last-child, .is-layout-constrained p:last-child {
    margin-bottom: 0 !important;
}

.wp-block-post-author__avatar img {
    width: 1.25em;
    height: 1.25em;
    line-height: 1.25em;
    text-align: center;
    -webkit-border-radius: 50%;
    -ms-border-radius: 50%;
    border-radius: 50%;
	vertical-align: middle;
}

/* Responsive */

@media (max-width: 767px) {
	body.sidebar_hide .alignfull,
	body.sidebar_hide .alignwide {
		position: relative;
		display: block;
		margin: 0;
		padding: 0;
		width: 100%;
		max-width: 100%;
	}
	body.sidebar_hide .wp-block-columns.alignfull .wp-block-column {
		padding: 0;
	}
}
