/* Gutenberg
----------------------------------------------------------------- */
/* TinyMCE Toolbar */
.editor-block-list__layout .mce-toolbar .mce-btn i {
  font-family: "dashicons", "tinymce";
}

.editor-block-list__layout .mce-toolbar .mce-btn button,
.editor-block-list__layout input[type="text"][role="button"] {
  background-color: transparent !important;
}

.editor-block-list__layout .mce-toolbar .mce-btn button {
  color: #333 !important;
  padding: 2px 3px !important;
}

/* Post title */
.editor-post-title__block .editor-post-title__input {
  min-height: 1em;
  height: unset;
}

/* Editor area  */
div.edit-post-layout {
  height: unset;
}

body.edit-post-visual-editor {
  font-size: 14px !important;
  padding: 3em 0;
  min-height: 50vh;
  -webkit-flex-shrink: 0;
  -ms-flex-shrink: 0;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

/* Editor area width for all post types */
.editor-writing-flow {
  margin: 0 auto;
}

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

/* Editor area width for pages without sidebar */
body.sidebar_position_hide.expand_content .editor-writing-flow,
body.sidebar_position_hide.expand_content .editor-block-list__block,
body.sidebar_position_hide.expand_content .editor-post-title__block,
body.sidebar_position_hide.expand_content .editor-default-block-appender {
  max-width: 1170px !important;
}

/* Editor area width for custom layouts */
body.post-type-cpt_layouts .editor-block-list__block,
body.post-type-cpt_layouts.sidebar_position_hide.expand_content .editor-block-list__block,
body.post-type-cpt_layouts .editor-post-title__block,
body.post-type-cpt_layouts .editor-default-block-appender {
  max-width: none !important;
}

body.single-cpt_layouts .trx-addons-layout--single-preview {
  max-width: 1170px !important;
  position: relative;
  margin: 0 auto;
}

/* Theme grid */
@media (min-width: 600px) {
  /* Core columns in the editor */
}

/* Core columns in the frontend */
.wp-block-columns {
  -webkit-flex-wrap: nowrap;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
}

.wp-block-column:nth-child(odd) {
  margin-right: 0;
}

.wp-block-column:nth-child(even) {
  margin-left: 0;
}

.wp-block-column:not(:first-child) {
  margin-left: 15px;
}

.wp-block-column:not(:last-child) {
  margin-right: 15px;
}

/* Kadence columns in the editor */
.kt-gutter-default > .innerblocks-wrap > .editor-inner-blocks > .editor-block-list__layout > [data-type="kadence/column"] {
  margin-right: 30px;
}

/* Kadence columns in the frontend */
.kt-gutter-default > .wp-block-kadence-column {
  margin-right: 30px;
}

/* CoBlocks columns in the frontend */
.has-small-gutter > [class*="wp-block-coblocks-"]:not(:first-child) {
  margin-left: 15px;
}

.has-small-gutter > [class*="wp-block-coblocks-"]:not(:last-child) {
  margin-right: 15px;
}

/* Sidebar holder for the editor */
body.edit-post-visual-editor:not(.post-type-cpt_layouts):not(.sidebar_position_hide) {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: -webkit-box;
  display: flex;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  flex-direction: row;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  -webkit-box-pack: center;
  justify-content: center;
  -webkit-flex-shrink: 0;
  -ms-flex-shrink: 0;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.sidebar_position_hide .editor-post-sidebar-holder,
body.post-type-cpt_layouts .editor-post-sidebar-holder {
  display: none;
}

.editor-post-sidebar-holder {
  width: 370px;
  -webkit-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
  background-color: #f0f0f0;
  min-height: 75vh;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: -webkit-box;
  display: flex;
  -webkit-align-items: center;
  -ms-flex-align: center;
  -webkit-box-align: center;
  align-items: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  -webkit-box-pack: center;
  justify-content: center;
}

.editor-post-sidebar-holder:before {
  content: 'Sidebar';
  display: inline-block;
  -webkit-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  transform: rotate(90deg);
  font-size: 3em;
  line-height: 1em;
  font-weight: bold;
  color: #ccc;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Wide and Full blocks */
.alignfull > img,
.alignwide > img {
  max-width: none;
  width: 100%;
}

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

body:not(.sidebar_position_hide) .editor-block-list__layout .alignwide,
body:not(.sidebar_position_hide) .editor-block-list__block[data-align="wide"],
body:not(.sidebar_position_hide) .editor-block-list__layout .alignfull,
body:not(.sidebar_position_hide) .editor-block-list__block[data-align="full"] {
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.sidebar_position_hide .editor-block-list__layout .alignwide,
body.sidebar_position_hide.expand_content .editor-block-list__layout .alignwide,
body.sidebar_position_hide .editor-block-list__block[data-align="wide"],
body.sidebar_position_hide.expand_content .editor-block-list__block[data-align="wide"] {
  max-width: none !important;
  width: calc(100% + 10em);
  margin-left: -5em;
}

body.sidebar_position_hide .editor-block-list__layout .alignfull,
body.sidebar_position_hide.expand_content .editor-block-list__layout .alignfull,
body.sidebar_position_hide .editor-block-list__block[data-align="full"],
body.sidebar_position_hide.expand_content .editor-block-list__block[data-align="full"] {
  max-width: none !important;
  width: calc(100% + 24em);
  margin-left: -12em;
}

/* Fix for some core blocks in the edit mode
------------------------------------------------- */
/* Cover image */
.editor-block-list__block .wp-block-cover .wp-block-cover-text {
  color: #fff !important;
}

/* Media & Text */
.wp-block-media-text .has-medium-font-size {
  line-height: 1.5em;
}

.wp-block-media-text .has-large-font-size {
  line-height: 1.4em;
}

.wp-block-media-text .has-huge-font-size {
  line-height: 1.3em;
}

/* Kadence blocks 
---------------------------------------- */
.editor-block-list__block .kt-tabs-title-list {
  margin-bottom: 0;
  padding-left: 0;
}

.editor-block-list__block .kt-tabs-layout-vtabs > .kt-tabs-wrap > .kt-tabs-title-list li {
  margin-bottom: 1px;
}

.editor-block-list__block .kt-tabs-content-wrap {
  border: 1px solid #ddd;
}

/* NEW */
.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 {
  width: 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;
}

.sidebar_hide .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper:before {
  outline: none;
}

.wp-block-pullquote[class*="-background-color"] > blockquote {
  background: none !important;
}

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

figure.wp-block-audio figcaption,
figure.wp-block-video figcaption,
figure.wp-block-embed figcaption {
  position: static;
  -webkit-transition: none;
  -o-transition: none;
  transition: none;
  margin: 0.5em 0 0;
}

figure.wp-block-audio:hover figcaption,
figure.wp-block-video:hover figcaption,
figure.wp-block-embed:hover figcaption {
  margin-bottom: 0;
}

figure.wp-block-audio figcaption, figure.wp-block-video figcaption, figure.wp-block-embed figcaption {
  opacity: 1 !important;
}

.wp-block-table {
  width: auto;
}

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

/* figure */
figure .block-editor-rich-text__editable[data-is-placeholder-visible="true"] {
  position: absolute !important;
  background: transparent !important;
}

.blocks-gallery-item .is-selected .block-editor-rich-text figcaption {
  padding-top: 48px !important;
}

.wp-block-image .components-resizable-box__container {
  display: block;
}

.block-editor-rich-text {
  width: 100%;
}

[data-type="core/image"][data-align="center"] .block-editor-block-list__block-edit figure .block-editor-rich-text,
[data-type="core/image"][data-align="left"] .block-editor-block-list__block-edit figure .block-editor-rich-text,
[data-type="core/image"][data-align="right"] .block-editor-block-list__block-edit figure .block-editor-rich-text {
  width: auto;
}

/* new */
.wp-block-gallery .blocks-gallery-image figcaption,
.wp-block-gallery .blocks-gallery-item figcaption {
  position: absolute !important;
}

.wp-block-gallery .blocks-gallery-item a:hover + figcaption,
.wp-block-gallery .blocks-gallery-item img:hover + figcaption {
  margin-bottom: -9em;
}

.blocks-gallery-item .block-editor-rich-text figcaption:not([data-is-placeholder-visible="true"]) {
  position: relative !important;
}

.wp-block-cover + .wp-block-cover,
.wp-block-audio + .wp-block-cover,
.wp-block-cover + p, .wp-block-video + p,
.gallery + p, .wp-block-archives-dropdown + .wp-block-calendar,
.wp-block-calendar + p, .wp-block-categories-dropdown + p,
.wp-block-search + p, .wp-block-group.has-background + span + .wp-block-columns,
.wp-block-media-text + .wp-block-media-text, .wp-block-media-text + p,
.wp-block-table + .wp-block-table, .wp-caption + p {
  margin-top: 1em;
}

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

.wp-block-gallery.columns-3, .wp-block-gallery.columns-7 {
  margin-bottom: 1em;
}

.wp-block-latest-posts.wp-block-latest-posts__list,
.wp-block-latest-comments {
  padding-left: 0;
}

.wp-block-search__button:after, .wp-block-search__button .strike-text:after {
  display: none;
}

.wp-block-group .wp-block-group__inner-container {
  padding: 1em;
}

.wp-block-button.is-style-squared .wp-block-button__link {
  border-radius: 0;
}

ul.wp-block-archives,
ul.wp-block-rss {
  padding-left: 1.65em;
}

.wp-block-group__inner-container h1,
.wp-block-group__inner-container h2,
.wp-block-group__inner-container h3,
.wp-block-group__inner-container h4,
.wp-block-group__inner-container h5,
.wp-block-group__inner-container h6 {
  margin-top: 0;
}

.widget ul.wp-block-social-links {
  padding-left: 0;
  overflow: visible;
}

.widget ul.wp-block-social-links > li {
  margin: 0;
}

.widget ul.wp-block-social-links > li:before,
.widget ul.wp-block-social-links > li a:after {
  display: none;
}

/*# sourceMappingURL=gutenberg.css.map */