/*

WARNING! DO NOT EDIT THEME FILES IF YOU PLAN ON UPDATING!

Theme files will be overwritten and your changes will be lost
when updating. Instead, add custom code in the admin under
Appearance > Theme Settings > Code or create a child theme.

*/

/**
* Gutenberg Block Styles
*/

body.has-blocks .fl-post-content > .alignwide {
  max-width: 1100px;
}

body.fl-fixed-width.has-blocks:not(.fl-has-sidebar) .fl-post-content .alignfull {
  width: auto;
  max-width: 100vw;
}

body.fl-full-width.has-blocks:not(.fl-has-sidebar) .fl-post-content .alignfull {
  margin-left: ~"calc(50% - 50vw)";
  margin-right: ~"calc(50% - 50vw)";
  width: auto;
  max-width: 100vw;
}

body.has-blocks .fl-post-content > .alignfull,
body.fl-full-width.page-template-tpl-sidebar.has-blocks .fl-post-content .alignfull {
  margin: 1.5em 0;
  max-width: 100%;
}

body.has-blocks .fl-post-content .alignwide {
  margin-left: -5%;
  margin-right: -5%;
  width: auto;
  max-width: 100vw;
}

/* Lists */
body.has-blocks .fl-post-content ul,
body.has-blocks .fl-post-content ol {
  margin: 1.5em 0;
  list-style-position: outside;
}
body.has-blocks .fl-post-content .alignwide ul,
body.has-blocks .fl-post-content .alignfull ul,
body.has-blocks .fl-post-content .alignwide ol,
body.has-blocks .fl-post-content .alignfull ol {
  max-width: 100%;
}
body.has-blocks .fl-post-content li {
  list-style-position: outside;
}

/* Navigation Block */
body.has-blocks .fl-post-content .wp-block-navigation {
  margin-bottom: 1.5em;
}
body.has-blocks .fl-post-content .wp-block-navigation ul {
  margin-top: 0;
  margin-bottom: 0;
}

/* Media */
.wp-block-embed.type-video > .wp-block-embed__wrapper {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 56.25%;
}

.wp-block-embed.type-video > .wp-block-embed__wrapper > iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

.wp-block-gallery:not(.components-placeholder) {
  margin: 1.5em auto;
}

.wp-block-cover-text p {
  padding: 1.5em 20px;
}
@media screen and (min-width: @mobile-breakpoint) {
  .wp-block-cover-text p {
    padding: 1.5em 0;
  }
}

/* Latest Posts block */
ul.wp-block-latest-posts.alignwide,
ul.wp-block-latest-posts.alignfull,
ul.wp-block-latest-posts.is-grid.alignwide,
ul.wp-block-latest-posts.is-grid.alignwide {
  padding: 0 20px;
}


/* Tables */
.wp-block-table {
  display: block;
  overflow-x: auto;
}

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

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