/* Layout fallback. The tagDiv Newspaper core stylesheet was not in the archive,
   so header, menu, grid and article chrome have to be rebuilt here. */

*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Open Sans', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  color: #222;
  background: #fff;
  margin: 0;
  line-height: 1.7;
  font-size: 16px;
}

img, video, iframe { max-width: 100%; height: auto; }

a { color: #4db2ec; text-decoration: none; }
a:hover { color: #222; }

.td-visual-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

.mfp-hide,
.td-display-none,
#login-form,
#login-form-mobile {
  display: none !important;
}

/* Off-canvas chrome must not occupy space above the header */
#td-mobile-nav,
.td-menu-background,
.td-search-background,
.td-search-wrap-mob {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  z-index: 10000;
  overflow: auto;
}
#td-mobile-nav {
  width: 300px;
  max-width: 86vw;
  background: #fff;
  box-shadow: 4px 0 24px rgba(0, 0, 0, .18);
  padding: 16px 18px 32px;
}
.td-menu-background,
.td-search-background {
  width: 100%;
  background: rgba(0, 0, 0, .45);
}
.td-search-wrap-mob {
  width: 100%;
  background: #fff;
  padding: 20px;
}
body.td-menu-mob-open-menu #td-mobile-nav,
body.td-menu-mob-open-menu .td-menu-background,
body.td-search-opened .td-search-wrap-mob,
body.td-search-opened .td-search-background {
  visibility: visible !important;
}
.td-mobile-main-menu { list-style: none; margin: 16px 0 0; padding: 0; }
.td-mobile-main-menu > li > a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  color: #222;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .04em;
}

.td-scroll-up { display: none; }
.td-more-articles-box { display: none; }
.td-more-articles-box.td-front-end-display-block {
  display: block;
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 50;
  width: 280px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .18);
  padding: 14px;
}

.td-container {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

/* Header */
.td-header-style-1 .td-header-top-menu-full { display: none; }

.td-header-sp-logo { text-align: center; padding: 26px 15px 18px; }
.td-header-sp-logo .td-logo { margin: 0; font-weight: inherit; }
.td-header-sp-logo .td-main-logo {
  display: inline-block;
  font-family: 'Roboto', 'Open Sans', sans-serif;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #111;
  line-height: 1;
}
.td-header-sp-logo .td-main-logo::after { content: "Flottenheimers"; }
.td-header-sp-logo .td-main-logo:hover { color: #4db2ec; }

.td-main-menu-logo,
#td-top-mobile-toggle { display: none; }

.td-header-menu-wrap-full {
  background: #222;
  border-bottom: 3px solid #4db2ec;
}
.td-header-menu-wrap { background: #222; }
.td-header-menu-wrap.td-affix {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  width: 100%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}

.td-header-main-menu,
.td-header-main-menus {
  display: flex !important;
  align-items: center;
  min-height: 48px;
  background: #222 !important;
  padding-top: 0;
  padding-bottom: 0;
}
#td-header-menu {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
}
.menu-menu-container { flex: 1 1 auto; min-width: 0; }

.td-header-menu-wrap ul,
.sf-menu,
#td-header-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sf-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.sf-menu > li { position: relative; }
.sf-menu > li > a {
  display: block;
  padding: 0 13px;
  line-height: 48px;
  color: #fff !important;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .05em;
}
.sf-menu > li > a:hover,
.sf-menu > li.current-menu-item > a,
.sf-menu > li.current_page_item > a { color: #4db2ec !important; }

.header-search-wrap {
  position: relative;
  margin-left: auto;
  flex: 0 0 auto;
}
#td-header-search-button,
#td-header-search-button-mob {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: #fff;
}
#td-header-search-button-mob { display: none; }
#td-header-search-button .td-icon-search,
#td-header-search-button-mob .td-icon-search { display: none; }
#td-header-search-button::before {
  content: "Søg";
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.td-drop-down-search { display: none; }
.header-search-wrap .td-drop-down-search.td-drop-down-search-open,
.header-search-wrap:focus-within .td-drop-down-search {
  display: block;
  position: absolute;
  right: 0;
  top: 100%;
  z-index: 30;
  min-width: 280px;
  background: #fff;
  padding: 12px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .16);
}
.td-head-form-search-wrap { display: flex; }
#td-header-search {
  flex: 1;
  border: 1px solid #ddd;
  padding: 8px 10px;
  font: inherit;
  font-size: 14px;
}
#td-header-search-top {
  border: 0;
  background: #4db2ec;
  color: #fff;
  font-weight: 700;
  padding: 8px 14px;
  cursor: pointer;
}

/* Clearfix pseudos must not become flex items */
.td-pb-row::before,
.td-pb-row::after,
.td-block-row::before,
.td-block-row::after,
.vc_row.td-pb-row::before,
.vc_row.td-pb-row::after {
  display: none !important;
  content: none !important;
}

.td-pb-row,
.td-block-row,
.td-related-row {
  display: flex !important;
  flex-wrap: wrap;
  width: 100%;
}
.td-pb-span12, .td-block-span12 { width: 100%; max-width: 100%; flex: 0 0 100%; }
.td-pb-span8 { width: 66.666% !important; max-width: 66.666% !important; flex: 0 0 66.666% !important; padding: 0 12px; }
.td-pb-span6, .td-block-span6 { width: 50%; max-width: 50%; flex: 0 0 50%; padding: 0 10px; }
.td-pb-span4 { width: 33.333% !important; max-width: 33.333% !important; flex: 0 0 33.333% !important; padding: 0 12px; }
.td-pb-span3 { width: 25%; max-width: 25%; flex: 0 0 25%; padding: 0 12px; }
.td-related-span4 { width: 33.333%; max-width: 33.333%; flex: 0 0 33.333%; padding: 0 8px; }

.td-main-content-wrap { padding: 22px 0 10px; }
.td-pb-article-list, .td-post-template-default { padding-top: 8px; }

/* Homepage rows sit outside .td-container and were shrink-wrapping to the left edge. */
.td-main-content-wrap > .tdc-content-wrap {
  width: 100%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}
.td-pb-row > .tdc-row,
.tdc-zone.td-pb-row > .tdc-row,
.td-pb-row > .vc_row,
.td-pb-row > .wpb_row {
  flex: 1 1 100% !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0;
}

/* Block titles */
.td-block-title-wrap { margin: 4px 0 16px; }
.block-title,
.td-block-title,
.td-related-title {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  border-bottom: 2px solid #222;
}
.block-title > span,
.td-block-title > span,
.td-related-title .td-cur-simple-item,
.td-related-title a {
  display: inline-block;
  background: #222;
  color: #fff !important;
  padding: 7px 10px 6px;
  margin-bottom: -2px;
}
.td-subcat-filter:not(:has(li)) { display: none; }
.td_block_trending_now:not(:has(a)) { display: none; }
.td-post-category:empty,
a.td-post-category:empty { display: none; }
.td-excerpt:empty,
.td-module-meta-info:empty { display: none; }

/* Homepage hero — compact text cards when the photo is missing */
.td-big-grid-wrapper {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 10px;
  margin: 0 0 28px;
  width: 100%;
}
.td-big-grid-scroll { display: contents; }
.td-big-grid-post {
  position: relative;
  min-height: 0;
  background: #f3f5f7;
  overflow: hidden;
  display: flex;
  align-items: center;
  border-radius: 2px;
}
.td-big-grid-post-0 {
  grid-row: span 3;
  min-height: 0;
  background: #1c1c1c;
}
.td-big-grid-post .td-module-thumb,
.td-big-grid-post .td-meta-info-container { width: 100%; }
.td-big-grid-post .td-meta-info-container { padding: 16px 18px; }
.td-big-grid-post-0 .td-meta-info-container { padding: 28px 26px; }
.td-big-grid-post .entry-title { margin: 0; font-size: 16px; line-height: 1.35; }
.td-big-grid-post-0 .entry-title { font-size: 28px; line-height: 1.25; }
.td-big-grid-post .entry-title a { color: #1c1c1c; }
.td-big-grid-post-0 .entry-title a { color: #fff; }
.td-big-grid-post .entry-title a:hover,
.td-big-grid-post-0 .entry-title a:hover { color: #4db2ec; }

.td-big-grid-post:has(img) {
  min-height: 148px;
  background: #111;
  align-items: flex-end;
}
.td-big-grid-post-0:has(img) { min-height: 340px; }
.td-big-grid-post:has(img) .td-module-thumb {
  position: absolute;
  inset: 0;
  display: block;
}
.td-big-grid-post:has(img) .td-image-wrap,
.td-big-grid-post:has(img) .td-module-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.td-big-grid-post:has(img) .td-meta-info-container {
  position: relative;
  z-index: 1;
  margin-top: auto;
  background: linear-gradient(transparent, rgba(0, 0, 0, .72));
  padding: 36px 16px 14px;
}
.td-big-grid-post-0:has(img) .td-meta-info-container { padding: 64px 22px 20px; }
.td-big-grid-post:has(img) .entry-title a,
.td-big-grid-post-0:has(img) .entry-title a { color: #fff; }

/* Article cards */
.td_module_wrap { margin-bottom: 16px; }
.td_module_4 {
  background: #f4f6f8;
  padding: 16px 16px 14px;
  height: 100%;
}
.td_module_4 .td-module-thumb:has(img) {
  display: block;
  margin: -16px -16px 14px;
  height: 210px;
  overflow: hidden;
}
.td_module_4 .td-module-thumb img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}
.td_module_1 .entry-title,
.td_module_2 .entry-title,
.td_module_mx4 .entry-title {
  margin: 8px 0 0;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 700;
}
.td_module_4 .entry-title {
  margin: 0;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 700;
}
.entry-title a, .td-module-title a { color: #222; }
.entry-title a:hover, .td-module-title a:hover { color: #4db2ec; }

.td_module_6 {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #eee;
}
.td_module_6 .item-details { flex: 1; min-width: 0; }
.td_module_6 .entry-title { margin: 0; font-size: 14px; line-height: 1.4; font-weight: 700; }
.td-module-thumb:not(:has(img)) { display: none; }
.td-module-thumb:has(img) {
  display: block;
  background: #eee;
  overflow: hidden;
}
.td_module_4 .td-module-thumb:has(img),
.td_module_2 .td-module-thumb:has(img),
.td_module_1 .td-module-thumb:has(img) { margin-bottom: 8px; }
.td_module_6 .td-module-thumb:has(img) { flex: 0 0 96px; width: 96px; }

.td_block_wrap { margin-bottom: 28px; }
.td-ss-main-sidebar .td_block_wrap,
.td-main-sidebar .td_block_wrap { margin-bottom: 22px; }

/* Article */
.td-crumb-container {
  font-size: 12px;
  color: #888;
  margin: 0 0 18px;
}
.entry-crumbs a { color: #4db2ec; }
.td-bread-sep {
  font-style: normal;
  font-size: 0;
}
.td-bread-sep::before {
  content: "/";
  font-size: 12px;
  color: #bbb;
  margin: 0 6px;
}

/* Article markup nests the sidebar inside the main column.
   Flatten those wrappers so the sidebar sits beside the article. */
.td-post-template-default > .td-pb-row {
  align-items: flex-start;
}
.td-post-template-default > .td-pb-row > .td-pb-span8,
.td-post-template-default > .td-pb-row > .td-pb-span8 > .td-ss-main-content {
  display: contents;
}
.td-post-template-default > .td-pb-row article {
  flex: 0 0 66.666%;
  width: 66.666%;
  max-width: 66.666%;
  padding-right: 28px;
}
.td-category { list-style: none; margin: 0 0 8px; padding: 0; }
.td-category li { display: inline-block; }
.entry-category a,
.td-category a {
  display: inline-block;
  background: #4db2ec;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 3px 7px;
}
.entry-category a:hover, .td-category a:hover { color: #fff; opacity: .85; }

.td-post-title .entry-title,
.td-post-header h1.entry-title {
  font-family: 'Roboto', 'Open Sans', sans-serif;
  font-size: 34px;
  line-height: 1.25;
  font-weight: 700;
  color: #111;
  margin: 8px 0 16px;
}
.td-post-featured-image { margin: 0 0 20px; }
.td-post-featured-image img { display: block; width: 100%; }

.td-post-content,
.tdb-block-inner,
.td-main-content article,
article .td_block_wrap {
  font-size: 17px;
  line-height: 1.75;
  color: #222;
}
.td-post-content p,
.td-post-content .a0sdg6 p { margin: 0 0 1.15em; }
.td-post-content h1, .td-post-content h2, .td-post-content h3,
.td-post-content h4, .td-post-content .a0sdg6 h2, .td-post-content .a0sdg6 h3 {
  font-family: 'Roboto', 'Open Sans', Helvetica, Arial, sans-serif;
  font-weight: 700;
  line-height: 1.3;
  color: #111;
  margin: 1.2em 0 .5em;
}
.td-post-content ul, .td-post-content ol { margin: 0 0 1.15em 1.3em; }
.td-post-content img { border-radius: 2px; }
.td-post-content table { border-collapse: collapse; width: 100%; margin: 0 0 1.2em; }
.td-post-content th, .td-post-content td { border: 1px solid #e0e0e0; padding: 8px 10px; text-align: left; }
.td-post-content th { background: #f6f6f6; font-weight: 700; }
.td-post-sharing:not(:has(a[href])) { display: none; }

.td-related-title { margin-top: 28px; }
.td_module_related_posts .entry-title { font-size: 15px; margin: 8px 0 0; line-height: 1.35; }

/* Footer */
.td-footer-wrapper {
  background: #1a1a1a;
  color: #ccc;
  margin-top: 36px;
  padding: 36px 0 16px;
}
.td-footer-wrapper a { color: #fff; }
.td-footer-wrapper a:hover { color: #4db2ec; }
.td-footer-wrapper .block-title,
.td-footer-wrapper .td-block-title {
  border-bottom-color: #333;
}
.td-footer-wrapper .block-title > span,
.td-footer-wrapper .td-block-title > span {
  background: transparent;
  color: #fff !important;
  padding: 0 0 8px;
  border-bottom: 2px solid #4db2ec;
}
.td-footer-wrapper .td_module_6 { border-bottom-color: #333; }
.td-footer-wrapper .entry-title a { color: #eee; }
.td-footer-bottom-full {
  border-top: 1px solid #333;
  margin-top: 10px;
  padding: 14px 0;
  font-size: 13px;
  color: #999;
}
.romlifooter { color: #bbb; font-size: 14px; }
.romlifooter a { color: #4db2ec; }

hr { border: 0; border-top: 1px solid #e6e6e6; margin: 1.6em 0; }

@media (max-width: 900px) {
  .td-pb-span8,
  .td-pb-span4,
  .td-pb-span6,
  .td-pb-span3,
  .td-block-span6,
  .td-related-span4 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }
  .td-big-grid-wrapper { grid-template-columns: 1fr; }
  .td-big-grid-post-0 { grid-row: auto; }
  .td-big-grid-post-0 .entry-title { font-size: 22px; }
  .td-post-title .entry-title,
  .td-post-header h1.entry-title { font-size: 26px; }
  .td-post-template-default > .td-pb-row article {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    padding-right: 0;
  }
  .td-header-sp-logo .td-main-logo { font-size: 26px; }
  #td-top-mobile-toggle { display: block; }
  #td-top-mobile-toggle a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 48px;
    color: #fff;
    font-weight: 700;
    font-size: 12px;
  }
  #td-top-mobile-toggle a::before { content: "Menu"; }
  #td-header-search-button { display: none; }
  #td-header-search-button-mob { display: inline-flex; }
  #td-header-search-button-mob::before {
    content: "Søg";
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
  }
  .sf-menu { display: none; }
}
