
.fo-kbs-wrap{
  --fo-border:#d9d0c2;
  --fo-border-strong:#bfb3a0;
  --fo-red:#d71920;
  --fo-blue:#1683c8;
  --fo-green:#138a25;
  --fo-violet:#6d3b8c;
  --fo-bg:#fbf8f2;
  --fo-paper:#fffdf9;
  --fo-soft:#f5efe5;
  --fo-text:#151515;
  --fo-muted:#6e6558;
  --fo-font-selected:"Roboto Slab", Georgia, "Times New Roman", serif;
  width:min(130%, 1430px);
  max-width:calc(100vw - 32px);
  position:relative;
  left:50%;
  transform:translateX(-50%);
  font-family:var(--fo-font-selected) !important;
  color: var(--fo-text);
  line-height: 1.35;
}

.fo-kbs-wrap,
.fo-kbs-wrap *,
.fo-kbs-wrap *::before,
.fo-kbs-wrap *::after{box-sizing:border-box}

.fo-kbs-wrap table,
.fo-kbs-wrap thead,
.fo-kbs-wrap tbody,
.fo-kbs-wrap tr,
.fo-kbs-wrap th,
.fo-kbs-wrap td{
  background:#fff !important;
  color:var(--fo-text);
  font-family:var(--fo-font-selected) !important;
}

.fo-kbs-toolbar{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin:0 0 14px}
.fo-kbs-action,.fo-kbs-print{
  appearance:none;
  border:1px solid #d7ccbb;
  background:#fff;
  color:#443b30;
  border-radius:999px;
  padding:10px 16px;
  cursor:pointer;
  font:600 14px/1.2 Arial, Helvetica, sans-serif;
  box-shadow:0 2px 8px rgba(0,0,0,.04);
}
.fo-kbs-action:hover,.fo-kbs-print:hover{background:#faf6ef}
.fo-kbs-pdf{border-color:#d5b9b9;color:#8b1a1a}
.fo-kbs-action.is-busy{opacity:.65;cursor:wait}

.fo-kbs-sheet{
  width:100%;
  max-width:none;
  margin:0 auto;
  background:var(--fo-paper);
  border:1px solid #efe4d4;
  border-radius:26px;
  box-shadow:0 14px 40px rgba(56,38,10,.08);
  padding:28px 26px 24px;
  overflow:hidden;
}

.fo-kbs-header{
  display:grid;
  grid-template-columns:170px 1fr;
  gap:24px;
  align-items:center;
  margin-bottom:16px;
  padding:10px 4px 18px;
  border-bottom:1px solid #efe6da;
}
.fo-kbs-logo{text-align:center}
.fo-kbs-logo img{max-width:160px;max-height:180px;width:auto;height:auto}
.fo-kbs-header-text{text-align:center}
.fo-kbs-parish{
  font-weight:800;
  line-height:1.04;
  letter-spacing:-.01em;
}
.fo-kbs-parish-1{font-size:34px}
.fo-kbs-parish-2{font-size:32px}
.fo-kbs-contact{
  font:400 21px/1.3 var(--fo-font-selected) !important;
  color:#4d4338;
  margin-top:8px;
}
.fo-kbs-divider{border-top:1px solid #d6ccbf;margin:12px auto 12px;max-width:620px}
.fo-kbs-week-heading{margin:0;color:var(--fo-red);font-size:26px;line-height:1.12;text-transform:none;font-weight:800}
.fo-kbs-range{font-size:21px;color:#564b40;margin-top:4px}

.fo-kbs-days{display:block}
.fo-kbs-day{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  table-layout:fixed;
  margin:12px 0;
  font-size:18px;
  border:1px solid var(--fo-border) !important;
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 4px 14px rgba(51,34,0,.05);
}
.fo-kbs-day th,.fo-kbs-day td{
  border-right:1px solid var(--fo-border) !important;
  border-bottom:1px solid var(--fo-border) !important;
  padding:8px 10px;
  vertical-align:middle;
}
.fo-kbs-day tr > *:last-child{border-right:0 !important}
.fo-kbs-day tbody tr:last-child td{border-bottom:0 !important}
.fo-kbs-day thead th{
  font-family:var(--fo-font-selected) !important;
  font-weight:800;
  text-align:left;
  background:#fffaf3 !important;
  padding-top:10px;
  padding-bottom:10px;
}

.fo-col-label{width:13%}
.fo-col-note{width:13%}
.fo-col-time{width:10%}
.fo-col-intention{width:64%}

.fo-day-name{white-space:nowrap}
.fo-day-date{text-align:center !important;white-space:nowrap}
.fo-day-title{text-transform:none;letter-spacing:0}
.fo-entry-note,.fo-entry-time{font-weight:700;text-align:right;font-family:var(--fo-font-selected) !important}
.fo-entry-time{white-space:nowrap}
.fo-entry-intention{font-style:italic;color:#3d3228}
.fo-mass-label{
  vertical-align:top !important;
  font-style:normal;
  font-family:var(--fo-font-selected) !important;
  font-weight:700;
  color:#5d5246;
  background:#faf7f1 !important;
}

.fo-style-red thead th{color:var(--fo-red)}
.fo-style-blue thead th{color:var(--fo-blue)}
.fo-style-green thead th{color:var(--fo-green)}
.fo-style-violet thead th{color:var(--fo-violet)}
.fo-style-black thead th{color:#111}

.fo-kbs-notes{
  margin:18px 0 0;
  font-size:19px;
  background:#fff;
  border:1px solid #e7ddcf;
  border-radius:16px;
  padding:18px 20px;
  box-shadow:0 4px 14px rgba(51,34,0,.04);
}
.fo-kbs-notes p{margin:.5em 0}
.fo-kbs-notes ul,.fo-kbs-notes ol{margin:.5em 0 .5em 1.4em}
.fo-kbs-source{text-align:right;margin-top:12px;color:#8b8174;font:12px/1.3 Arial,sans-serif}
.fo-not-found{padding:12px;border:1px solid #ddd;background:#fafafa;border-radius:10px}

/* Denný box na hlavnej stránke */
.fo-kbs-daily{
  --fo-accent:#333;
  --fo-font-selected:"Roboto Slab", Georgia, "Times New Roman", serif;
  font-family:var(--fo-font-selected);
  border:1px solid #e4dbcf;
  border-left:5px solid var(--fo-accent);
  border-radius:18px;
  background:#fff;
  box-shadow:0 8px 24px rgba(0,0,0,.05);
  overflow:hidden;
  color:#171717;
}
.fo-kbs-daily.fo-style-red{--fo-accent:#d71920}
.fo-kbs-daily.fo-style-blue{--fo-accent:#1683c8}
.fo-kbs-daily.fo-style-green{--fo-accent:#138a25}
.fo-kbs-daily.fo-style-violet{--fo-accent:#6d3b8c}
.fo-kbs-daily.fo-style-black{--fo-accent:#222}
.fo-kbs-daily__eyebrow{padding:10px 16px 8px;background:#f9f6f1;color:#66584a;font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.05em}
.fo-kbs-daily__header{display:grid;grid-template-columns:minmax(150px,220px) 1fr;gap:16px;padding:15px 18px;border-bottom:1px solid #ece4d8;align-items:center;background:#fff}
.fo-kbs-daily__date{display:flex;flex-direction:column;gap:2px;color:var(--fo-accent)}
.fo-kbs-daily__date strong{font-size:20px;text-transform:capitalize;font-family:var(--fo-font-selected)}
.fo-kbs-daily__date span{font-size:14px;color:#645a4d;font-family:var(--fo-font-selected)}
.fo-kbs-daily__feast{font-family:var(--fo-font-selected);font-size:22px;font-weight:700;color:var(--fo-accent)}
.fo-kbs-daily__entries{padding:2px 0}
.fo-kbs-daily__entry{display:grid;grid-template-columns:82px minmax(90px,130px) 1fr;gap:12px;align-items:start;padding:11px 18px;border-top:1px solid #eee}
.fo-kbs-daily__entry:first-child{border-top:0}
.fo-kbs-daily__time{font-size:18px;font-weight:800;font-family:var(--fo-font-selected)}
.fo-kbs-daily__label{font-size:15px;font-weight:700;font-family:var(--fo-font-selected)}
.fo-kbs-daily__intention{font-family:var(--fo-font-selected);font-size:17px;font-style:italic;line-height:1.35}
.fo-kbs-daily__empty{padding:14px 16px;color:#666}

.fo-kbs-standalone{margin:0;padding:12px;background:#eee}
.fo-kbs-standalone .fo-kbs-wrap{max-width:1180px;margin:0 auto}
.fo-kbs-standalone .fo-kbs-sheet{padding:12px 18px;box-shadow:0 2px 16px rgba(0,0,0,.12)}


@media(max-width:760px){
  .fo-kbs-wrap{width:calc(100vw - 16px);max-width:none}
  .fo-kbs-sheet{padding:18px 14px;border-radius:18px}
  .fo-kbs-header{grid-template-columns:84px 1fr;gap:12px;padding:2px 0 12px}
  .fo-kbs-logo img{max-width:82px;max-height:100px}
  .fo-kbs-parish-1,.fo-kbs-parish-2{font-size:22px}
  .fo-kbs-contact{font-size:14px}
  .fo-kbs-week-heading{font-size:19px}
  .fo-kbs-range{font-size:14px}
  .fo-kbs-day{font-size:14px;table-layout:auto}
  .fo-kbs-day thead,.fo-kbs-day tbody,.fo-kbs-day tr,.fo-kbs-day th,.fo-kbs-day td{display:block}
  .fo-kbs-day colgroup{display:none}
  .fo-kbs-day thead tr{display:grid;grid-template-columns:1fr 1fr}
  .fo-kbs-day thead .fo-day-title{grid-column:1/-1}
  .fo-kbs-day thead th{border-bottom:0 !important}
  .fo-kbs-day thead th:last-child{border-bottom:1px solid var(--fo-border) !important}
  .fo-kbs-day tbody tr{display:grid;grid-template-columns:82px 72px 1fr;border-top:1px solid var(--fo-border)}
  .fo-kbs-day tbody td{border:0 !important;border-right:1px solid var(--fo-border) !important;padding:8px}
  .fo-kbs-day tbody td:last-child{border-right:0 !important}
  .fo-kbs-day .fo-mass-label{display:none}
  .fo-entry-note,.fo-entry-time{text-align:left}
  .fo-kbs-notes{font-size:15px;padding:14px 15px}
}

@media(max-width:600px){
  .fo-kbs-daily__header{grid-template-columns:1fr;gap:5px}
  .fo-kbs-daily__entry{grid-template-columns:68px 90px 1fr;gap:8px;padding:10px 12px}
  .fo-kbs-daily__feast{font-size:18px}
  .fo-kbs-daily__intention{font-size:15px}
  .fo-kbs-daily__time{font-size:16px}
}

@media print{
  body{background:#fff !important}
  .fo-kbs-toolbar,.site-header,.site-footer,header.entry-header,.wp-block-post-title{display:none!important}
  .fo-kbs-wrap{width:100%;max-width:none;left:auto;transform:none}
  .fo-kbs-sheet{max-width:none;width:100%;box-shadow:none;border:0;border-radius:0;padding:0;background:#fff}
  .fo-kbs-wrap{font-size:10pt}
  .fo-kbs-header{grid-template-columns:145px 1fr;gap:15px;padding:0 0 10px;border-bottom:0}
  .fo-kbs-logo img{max-width:140px;max-height:145px}
  .fo-kbs-parish-1{font-size:24pt}
  .fo-kbs-parish-2{font-size:22pt}
  .fo-kbs-contact{font-size:13pt}
  .fo-kbs-week-heading{font-size:15pt}
  .fo-kbs-range{font-size:13pt}
  .fo-kbs-day{font-size:10.5pt;margin:5px 0;break-inside:avoid;box-shadow:none;border-radius:0;border:1.4px solid #111 !important}
  .fo-kbs-day th,.fo-kbs-day td{padding:2px 5px;border-width:1.4px !important;border-color:#111 !important}
  .fo-kbs-day thead th{background:#fff !important}
  .fo-kbs-notes{font-size:11pt;box-shadow:none;border:0;padding:0;margin-top:12px}
  .fo-kbs-source{font-size:7pt}
  .fo-kbs-standalone{padding:0;background:#fff}
  .fo-kbs-standalone .fo-kbs-sheet{padding:0;box-shadow:none}
  .fo-kbs-action,.fo-kbs-toolbar{display:none!important}
  .fo-kbs-daily{box-shadow:none}
  @page{size:A4 portrait;margin:10mm}
}


/* v1.1.3 – kompaktná, kontrastná tlač na jednu A4 */
@media print{
  html,body{margin:0!important;padding:0!important;background:#fff!important}
  body{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}
  .fo-kbs-toolbar,.site-header,.site-footer,header.entry-header,.wp-block-post-title,.fo-kbs-source{display:none!important}
  .fo-kbs-wrap{
    width:100%!important;
    max-width:none!important;
    left:auto!important;
    transform:none!important;
    margin:0!important;
    padding:0!important;
    color:#000!important;
    line-height:1.13!important;
    font-family:var(--fo-font-selected)!important;
    font-weight:500!important;
  }
  .fo-kbs-sheet{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    background:#fff!important;
  }
  .fo-kbs-header{
    grid-template-columns:27mm 1fr!important;
    gap:4mm!important;
    align-items:center!important;
    margin:0 0 2.2mm!important;
    padding:0 0 1.6mm!important;
    border-bottom:0!important;
  }
  .fo-kbs-logo img{max-width:26mm!important;max-height:28mm!important}
  .fo-kbs-parish{color:#000!important;font-weight:800!important;line-height:1.01!important}
  .fo-kbs-parish-1{font-size:17pt!important}
  .fo-kbs-parish-2{font-size:16pt!important}
  .fo-kbs-contact{font-size:8.6pt!important;line-height:1.12!important;margin-top:1mm!important;color:#000!important;font-weight:500!important}
  .fo-kbs-divider{margin:1.3mm auto 1.2mm!important;border-color:#444!important;max-width:128mm!important}
  .fo-kbs-week-heading{font-size:12.4pt!important;line-height:1.04!important;margin:0!important;font-weight:800!important}
  .fo-kbs-range{font-size:9.2pt!important;line-height:1.05!important;margin-top:.7mm!important;color:#000!important;font-weight:500!important}
  .fo-kbs-days{margin:0!important;padding:0!important}
  .fo-kbs-day{
    width:100%!important;
    margin:1.35mm 0!important;
    border:1.15pt solid #000!important;
    border-radius:0!important;
    box-shadow:none!important;
    font-size:8.45pt!important;
    line-height:1.08!important;
    table-layout:fixed!important;
    break-inside:avoid!important;
    page-break-inside:avoid!important;
  }
  .fo-kbs-day th,.fo-kbs-day td{
    padding:.65mm 1.25mm!important;
    border-color:#000!important;
    border-width:.65pt!important;
    color:#000!important;
    background:#fff!important;
    font-family:var(--fo-font-selected)!important;
  }
  .fo-kbs-day thead th{
    font-size:8.5pt!important;
    line-height:1.05!important;
    font-weight:800!important;
    padding-top:.75mm!important;
    padding-bottom:.75mm!important;
  }
  .fo-day-name,.fo-day-date,.fo-day-title{font-weight:800!important}
  .fo-entry-note,.fo-entry-time,.fo-mass-label{font-weight:700!important;color:#000!important}
  .fo-entry-intention{font-size:8.25pt!important;line-height:1.08!important;font-weight:500!important;color:#000!important;font-style:italic!important}
  .fo-col-label{width:12%!important}
  .fo-col-note{width:13%!important}
  .fo-col-time{width:9%!important}
  .fo-col-intention{width:66%!important}
  .fo-kbs-notes{
    margin:2.2mm 1.2mm 0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    background:#fff!important;
    color:#000!important;
    font-size:8.6pt!important;
    line-height:1.16!important;
    font-weight:500!important;
  }
  .fo-kbs-notes p{margin:.9mm 0!important}
  .fo-kbs-notes ul,.fo-kbs-notes ol{margin:1mm 0 1mm 4mm!important;padding:0!important}
  .fo-kbs-notes h1,.fo-kbs-notes h2,.fo-kbs-notes h3,.fo-kbs-notes h4{margin:1.5mm 0 .8mm!important;line-height:1.05!important;color:#000!important}
  .fo-kbs-standalone{padding:0!important;background:#fff!important}
  .fo-kbs-standalone .fo-kbs-wrap{max-width:none!important;margin:0!important}
  .fo-kbs-standalone .fo-kbs-sheet{padding:0!important;box-shadow:none!important}
  @page{size:A4 portrait;margin:5mm}
}

/* v1.2.0 – obrázok svätca/slávnosti v dennom paneli */
.fo-kbs-daily{position:relative;isolation:isolate;min-height:230px}
.fo-kbs-daily__content{position:relative;z-index:2;width:100%}
.fo-kbs-daily--has-image .fo-kbs-daily__content{width:74%}
.fo-kbs-daily__saint-image{
  position:absolute;
  z-index:1;
  top:0;
  right:0;
  bottom:0;
  width:31%;
  min-width:250px;
  overflow:hidden;
  display:flex;
  align-items:flex-end;
  justify-content:flex-end;
  padding:8px 10px 8px 0;
  border-radius:0 17px 17px 0;
  pointer-events:auto;
  background:transparent;
  -webkit-mask-image:linear-gradient(to right,transparent 0%,rgba(0,0,0,.10) 12%,rgba(0,0,0,.45) 30%,#000 48%,#000 100%);
  mask-image:linear-gradient(to right,transparent 0%,rgba(0,0,0,.10) 12%,rgba(0,0,0,.45) 30%,#000 48%,#000 100%);
}
.fo-kbs-daily__saint-image::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:2;
  background:linear-gradient(to right,rgba(255,255,255,.93) 0%,rgba(255,255,255,.46) 24%,rgba(255,255,255,.10) 54%,rgba(255,255,255,0) 100%);
  pointer-events:none;
}
.fo-kbs-daily__saint-image img{
  width:100%;
  height:100%;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  object-position:right bottom;
  display:block;
  filter:saturate(.9) contrast(.98) brightness(1.03);
}
.fo-kbs-daily--has-image .fo-kbs-daily__eyebrow,
.fo-kbs-daily--has-image .fo-kbs-daily__header,
.fo-kbs-daily--has-image .fo-kbs-daily__entries{background:rgba(255,255,255,.98)}

@media(max-width:900px){
  .fo-kbs-daily--has-image .fo-kbs-daily__content{width:79%}
  .fo-kbs-daily__saint-image{width:28%;min-width:190px;opacity:.9;padding:6px 8px 6px 0}
}
@media(max-width:700px){
  .fo-kbs-daily{min-height:0}
  .fo-kbs-daily--has-image .fo-kbs-daily__content{width:100%}
  .fo-kbs-daily__saint-image{width:42%;min-width:0;opacity:.16;pointer-events:none}
  .fo-kbs-daily__saint-image::before{background:linear-gradient(to right,rgba(255,255,255,1) 0%,rgba(255,255,255,.76) 40%,rgba(255,255,255,.35) 100%)}
}
@media print{
  .fo-kbs-daily__saint-image{display:none!important}
  .fo-kbs-daily--has-image .fo-kbs-daily__content{width:100%!important}
}

/* v1.2.2 – stiahnutie oznamov ako obrázok */
.fo-kbs-image{border-color:#b9cbd9;color:#24506b}
.fo-kbs-image:hover{background:#f3f8fb}


/* v1.2.2.1 – vylepšený administrátorský Náhľad tlače / PDF
   Zachováva rozloženie verzie 1.2.2, zväčšuje čitateľnosť,
   používa Roboto Slab a zobrazuje erb vľavo hore. */
.fo-kbs-standalone{
  background:#eeeeee !important;
  padding:12px !important;
}
.fo-kbs-standalone .fo-kbs-wrap{
  --fo-font-selected:"Roboto Slab", Georgia, "Times New Roman", serif !important;
  width:calc(100vw - 24px) !important;
  max-width:210mm !important;
  margin:0 auto !important;
  left:auto !important;
  transform:none !important;
  font-family:var(--fo-font-selected) !important;
}
.fo-kbs-standalone .fo-kbs-sheet{
  width:100% !important;
  max-width:none !important;
  margin:0 auto !important;
  padding:5mm !important;
  background:#fffdf9 !important;
  border:1px solid #eadfce !important;
  border-radius:12px !important;
  box-shadow:0 2px 12px rgba(0,0,0,.10) !important;
  overflow:visible !important;
}
.fo-kbs-standalone .fo-kbs-header{
  display:grid !important;
  grid-template-columns:30mm minmax(0,1fr) !important;
  gap:4mm !important;
  align-items:center !important;
  margin:0 0 2.5mm !important;
  padding:0 0 2mm !important;
  border-bottom:1px solid #e8ddcd !important;
}
.fo-kbs-standalone .fo-kbs-logo{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-width:28mm !important;
}
.fo-kbs-standalone .fo-kbs-logo img{
  display:block !important;
  width:auto !important;
  height:auto !important;
  max-width:27mm !important;
  max-height:30mm !important;
  object-fit:contain !important;
  visibility:visible !important;
  opacity:1 !important;
}
.fo-kbs-standalone .fo-kbs-header-text{
  text-align:center !important;
}
.fo-kbs-standalone .fo-kbs-parish-1{
  font-size:19pt !important;
  line-height:1.02 !important;
}
.fo-kbs-standalone .fo-kbs-parish-2{
  font-size:18pt !important;
  line-height:1.02 !important;
}
.fo-kbs-standalone .fo-kbs-contact{
  font-size:10.5pt !important;
  line-height:1.15 !important;
  margin-top:1mm !important;
}
.fo-kbs-standalone .fo-kbs-divider{
  margin:1.5mm auto 1.2mm !important;
}
.fo-kbs-standalone .fo-kbs-week-heading{
  font-size:14pt !important;
  line-height:1.05 !important;
}
.fo-kbs-standalone .fo-kbs-range{
  font-size:11pt !important;
  line-height:1.08 !important;
}
.fo-kbs-standalone .fo-kbs-day{
  width:100% !important;
  margin:1.6mm 0 !important;
  font-size:12pt !important;
  line-height:1.08 !important;
  font-family:var(--fo-font-selected) !important;
  table-layout:fixed !important;
}
.fo-kbs-standalone .fo-kbs-day th,
.fo-kbs-standalone .fo-kbs-day td{
  padding:.65mm 1.2mm !important;
  font-family:var(--fo-font-selected) !important;
}
.fo-kbs-standalone .fo-kbs-day thead th{
  font-size:12pt !important;
  line-height:1.06 !important;
}
.fo-kbs-standalone .fo-entry-intention{
  font-size:12pt !important;
  line-height:1.08 !important;
}
.fo-kbs-standalone .fo-kbs-notes{
  font-family:var(--fo-font-selected) !important;
  font-size:12pt !important;
  line-height:1.16 !important;
  margin-top:2.5mm !important;
  padding:2.5mm 3mm !important;
  overflow:visible !important;
}
.fo-kbs-standalone .fo-kbs-notes p{
  margin:1mm 0 !important;
}

@media print{
  .fo-kbs-standalone{
    padding:0 !important;
    background:#fff !important;
  }
  .fo-kbs-standalone .fo-kbs-wrap{
    --fo-font-selected:"Roboto Slab", Georgia, "Times New Roman", serif !important;
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    font-family:var(--fo-font-selected) !important;
  }
  .fo-kbs-standalone .fo-kbs-sheet{
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    box-shadow:none !important;
    overflow:visible !important;
  }
  .fo-kbs-standalone .fo-kbs-header{
    grid-template-columns:30mm minmax(0,1fr) !important;
    gap:4mm !important;
    margin:0 0 2mm !important;
    padding:0 0 1.5mm !important;
  }
  .fo-kbs-standalone .fo-kbs-logo img{
    max-width:27mm !important;
    max-height:29mm !important;
  }
  .fo-kbs-standalone .fo-kbs-parish-1{font-size:18pt !important}
  .fo-kbs-standalone .fo-kbs-parish-2{font-size:17pt !important}
  .fo-kbs-standalone .fo-kbs-contact{font-size:10pt !important}
  .fo-kbs-standalone .fo-kbs-week-heading{font-size:13.5pt !important}
  .fo-kbs-standalone .fo-kbs-range{font-size:10.5pt !important}
  .fo-kbs-standalone .fo-kbs-day{
    margin:1.2mm 0 !important;
    font-size:12pt !important;
    line-height:1.04 !important;
  }
  .fo-kbs-standalone .fo-kbs-day th,
  .fo-kbs-standalone .fo-kbs-day td{
    padding:.4mm 1mm !important;
  }
  .fo-kbs-standalone .fo-kbs-day thead th,
  .fo-kbs-standalone .fo-entry-intention{
    font-size:12pt !important;
    line-height:1.04 !important;
  }
  .fo-kbs-standalone .fo-kbs-notes{
    font-size:12pt !important;
    line-height:1.10 !important;
    margin:1.8mm 0 0 !important;
    padding:0 !important;
    border:0 !important;
    box-shadow:none !important;
  }
  @page{size:A4 portrait;margin:5mm}
}


/* v1.2.2.2 – jemne väčšie riadkovanie v tlačovom náhľade, stále na A4 */
.fo-kbs-standalone .fo-kbs-day{
  line-height:1.12 !important;
  margin:1.75mm 0 !important;
}
.fo-kbs-standalone .fo-kbs-day th,
.fo-kbs-standalone .fo-kbs-day td{
  padding:.78mm 1.2mm !important;
}
.fo-kbs-standalone .fo-kbs-day thead th,
.fo-kbs-standalone .fo-entry-intention{
  line-height:1.10 !important;
}
.fo-kbs-standalone .fo-kbs-notes{
  line-height:1.19 !important;
}
.fo-kbs-standalone .fo-kbs-logo{
  position:relative !important;
  z-index:5 !important;
}
.fo-kbs-standalone .fo-kbs-logo img{
  position:relative !important;
  z-index:6 !important;
}

@media print{
  .fo-kbs-standalone .fo-kbs-day{
    line-height:1.08 !important;
    margin:1.35mm 0 !important;
  }
  .fo-kbs-standalone .fo-kbs-day th,
  .fo-kbs-standalone .fo-kbs-day td{
    padding:.55mm 1mm !important;
  }
  .fo-kbs-standalone .fo-kbs-day thead th,
  .fo-kbs-standalone .fo-entry-intention{
    line-height:1.07 !important;
  }
  .fo-kbs-standalone .fo-kbs-notes{
    line-height:1.13 !important;
  }
}


/* v1.2.2.3 – spoľahlivé zobrazenie erbu v Náhľade tlače/PDF */
.fo-kbs-standalone .fo-kbs-logo{
  display:flex !important;
  align-items:flex-start !important;
  justify-content:center !important;
  overflow:visible !important;
}
.fo-kbs-standalone .fo-kbs-logo img{
  display:block !important;
  width:auto !important;
  height:auto !important;
  max-width:29mm !important;
  max-height:32mm !important;
  object-fit:contain !important;
  opacity:1 !important;
  visibility:visible !important;
}
@media print{
  .fo-kbs-standalone .fo-kbs-logo img{
    max-width:28mm !important;
    max-height:31mm !important;
  }
}
