/*
 * Critical subset of Weebly's sites.css. Load this after the CDN stylesheet.
 * Rules are isolated in a low-priority layer, so the original CDN and theme
 * styles win whenever they are available. This keeps the clone readable and
 * structurally accurate when cdn11.editmysite.com is blocked or unavailable.
 */
@layer legacy-weebly-base {
  img,
  video,
  iframe {
    max-width: 100%;
  }

  hr {
    margin: 5px 0;
    border: 0;
    border-top: 1px solid #eee;
  }

  .wsite-section-wrap {
    display: table;
    width: 100%;
    table-layout: fixed;
  }

  .wsite-section {
    display: table-cell;
    width: 100%;
    height: 230px;
    vertical-align: middle;
  }

  .wsite-multicol {
    position: relative;
    direction: ltr;
  }

  .wsite-multicol-table {
    position: relative;
    width: 100%;
    padding: 0 !important;
    margin: 0 !important;
    table-layout: fixed;
    border: 0 !important;
    border-collapse: collapse;
  }

  .wsite-multicol-col {
    box-sizing: border-box;
    padding: 0;
    margin: 0 !important;
    vertical-align: top;
    border: 0 !important;
  }

  .wsite-image {
    position: relative;
  }

  .wsite-image img {
    max-width: 100%;
    height: auto;
    border: 0;
  }

  .wsite-image-border-none a img {
    border-width: 0 !important;
  }

  .imageGallery {
    width: 100%;
  }

  .blog-body {
    float: left;
    width: 100%;
  }

  .blog-post {
    position: relative;
  }

  .blog-post .blog-header {
    width: 100%;
    overflow: hidden;
  }

  .blog-post .blog-header,
  .blog-post .blog-header h2.blog-title {
    padding: 0;
    margin: 0;
    line-height: 1.5;
    border: 0;
  }

  .blog-post .blog-date {
    float: left;
    padding: 0;
    margin: 0;
    font-size: 13px;
    line-height: 1;
  }

  .blog-post .blog-comments {
    float: right;
    padding: 0 0 4px;
    margin: 0;
    font-size: 13px;
    line-height: 1;
  }

  .blog-post .blog-separator {
    clear: both;
    height: 2px;
    padding-top: 2px;
    margin: 0 0 5px;
    font-size: 2px;
    border-bottom: 1px solid #ddd;
  }

  .blog-post .blog-content {
    clear: both;
    margin-bottom: 15px;
    text-align: justify;
  }

  .blog-post .blog-read-more {
    text-align: right;
  }

  .blog-sidebar-separator {
    padding: 0 10px;
  }

  .blog-sidebar {
    width: 215px;
  }

  .column-blog {
    float: right;
    width: 200px;
    padding: 0;
    margin: 0;
  }

  .wslide-fallback {
    position: relative;
    width: 100%;
    overflow: hidden;
    text-align: center;
  }

  .wslide-fallback img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    object-fit: contain;
  }

  /* Used only when Weebly's main.js did not create desktop flyout menus. */
  .legacy-runtime-no-weebly-menu .desktop-nav li {
    position: relative;
  }

  .legacy-runtime-no-weebly-menu .desktop-nav li > .wsite-menu-wrap {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 100;
    display: none !important;
    min-width: 230px;
  }

  .legacy-runtime-no-weebly-menu .desktop-nav li:hover > .wsite-menu-wrap,
  .legacy-runtime-no-weebly-menu .desktop-nav li:focus-within > .wsite-menu-wrap {
    display: block !important;
  }

  .legacy-runtime-no-weebly-menu .desktop-nav .wsite-menu-wrap .wsite-menu-wrap {
    top: 0;
    left: 100%;
  }

  .legacy-runtime-no-weebly-menu .desktop-nav .wsite-menu {
    padding: 6px 0;
    background: #fff;
    box-shadow: inset 0 0 0 1px #e1e4e6;
  }

  .legacy-runtime-no-weebly-menu .desktop-nav .wsite-menu li {
    display: block;
    width: 100%;
    margin: 0;
  }

  .legacy-runtime-no-weebly-menu .desktop-nav .wsite-menu a {
    padding: 10px 16px;
    white-space: nowrap;
  }

  @media screen and (max-width: 767px) {
    .wsite-section {
      height: auto;
    }

    td.wsite-multicol-col,
    #blogTable td {
      display: block;
      float: none;
      clear: both;
      width: 100%;
      padding: 0;
      margin: 0;
    }

    #blogTable td .blog-body,
    #blogTable td .column-blog {
      float: none;
      width: 100%;
    }

    #blogTable td .blog-sidebar-separator {
      padding: 0;
    }
  }
}
