/* Glue between template001 and the sb-admin-v2 contract (flash, dropdowns, forms). */
.sb-flash{padding:12px 20px;color:#fff;text-align:center;position:relative;z-index:99999}
.sb-flash-success{background:#1cc88a}.sb-flash-danger{background:#e74a3b}.sb-flash-warning{background:#f6c23e;color:#333}
.top_bar_right_wrapper{display:flex;align-items:center;gap:6px}
.sb-dd{position:relative;display:inline-block}
.sb-dd .sb-dd-toggle{display:inline-flex;align-items:center;gap:4px;font-size:18px;color:#333}
.sb-dd .sb-cur{font-size:12px;text-transform:uppercase}
.sb-dd-menu{display:none;position:absolute;left:0;top:100%;min-width:140px;background:#fff;border:1px solid #e5e5e5;box-shadow:0 6px 20px rgba(0,0,0,.12);border-radius:6px;padding:6px 0;z-index:100000}
.sb-dd-menu.sb-dd-right{left:auto;right:0}
.sb-dd-menu.open{display:block}
.sb-dd-menu a{display:block;padding:8px 16px;color:#333;white-space:nowrap;font-size:14px}
.sb-dd-menu a:hover{background:#f2f3fe}
/* fields wired to .dtmtly / .immediately_updated keep the template's input look */
.dtmtly,.dtmtly001,.immediately_updated{max-width:100%}

/* Social icons hidden for now (markup kept; delete this block to bring them back):
   the footer/side <ul class="social"> and the three social icon layers in the home slider
   (slider-icon2/3/1 = layers 2, 11, 12). */
.social,
#slider-1-slide-1-layer-2,
#slider-1-slide-1-layer-11,
#slider-1-slide-1-layer-12 { display: none !important; }

/* Big screens: the template is full-width by design (layout-full-width + header-fw), which
   pins the logo and the slider's bottom bar to the far left edge of a wide monitor.
   Keep them in the same centred 1240px column as the content sections below. */
@media (min-width: 1241px) {
  .layout-full-width.header-fw #Top_bar .container { max-width: 1240px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
  .tpl-main-slider,
  .tpl-main-slider rs-module-wrap { max-width: 1240px !important; margin-left: auto !important; margin-right: auto !important; }
}

/* Dark pill used in the footer "Our products" row (replaces the QUANTO image): white bold caps + TM. */
.tm-pill {
  display: inline-block; background: #252525; color: #fff !important; text-decoration: none;
  font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 17px; letter-spacing: .03em; line-height: 1;
  text-transform: uppercase; padding: 15px 25px; border-radius: 18px; margin-right: 15px; white-space: nowrap;
  /* overflow:hidden makes the inline-block's baseline its bottom edge, exactly like the <img> pills beside it */
  overflow: hidden; vertical-align: baseline;
}
.tm-pill sup { font-size: .6em; font-weight: 800; vertical-align: super; line-height: 0; margin-left: 1px; }
.tm-pill:hover { background: #000; }

/* eralgo logo: 25% larger than the template's 40px (40 -> 50px high). */
#Top_bar .logo img { height: 50px !important; max-height: none !important; width: auto !important; }

/* eralgo.com service pages (templates/eralgo.com/_service_page.html.erb) */
.svc { max-width: 860px; margin: 0 auto; padding: 40px 20px 60px; }
.svc h1 { margin: 14px 0 12px; }
.svc .svc-lead { font-size: 1.15em; line-height: 1.6; margin-bottom: 22px; }
.svc-section { margin-top: 44px; }
.svc-section h2, .svc-cta h2, .svc-related h2 { margin-bottom: 12px; }
.svc-list { list-style: none; margin: 14px 0 0; padding: 0; }
.svc-list li { position: relative; padding: 9px 0 9px 30px; border-bottom: 1px solid #ececec; }
.svc-list li::before { content: "\2713"; position: absolute; left: 4px; top: 9px; color: #3dbb5e; font-weight: 700; }
.svc-faq { border-bottom: 1px solid #ececec; padding: 12px 0; }
.svc-faq summary { cursor: pointer; font-weight: 600; }
.svc-faq p { margin: 10px 0 0; }
.svc-cta { margin-top: 48px; padding: 32px; background: #f2f3fe; border-radius: 13px; }
.svc-related { margin-top: 40px; }
.svc-related ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* Home page: the two counters (100+ servers, 100 TB of backups) have no icon columns here;
   the template's demo icons (wrap ids bld-wrap-mz6h7estj / bld-wrap-7kkb1x7gf) stay hidden. Delete to restore. */
.bld-wrap-mz6h7estj, .bld-wrap-7kkb1x7gf { display: none !important; }
/* Pill that carries a service name (replaces the QUANTO / LORE / ADM product images in the offer cards). */
.tm-pill.tm-pill-text { margin: 0 0 4px; font-size: 14px; padding: 12px 20px; border-radius: 14px; }

/* Text pages: clear the transparent, floating header (home page excluded, its slider has its own room). */
#Content.tpl-subpage { padding-top: 130px; }
@media (max-width: 767px) { #Content.tpl-subpage { padding-top: 90px; } }

/* Footer spacing: a fixed gap above the footer on text pages (no pin-to-bottom; that looked too low).
   Adjust the number to taste. */
#Content.tpl-subpage { padding-bottom: 100px; }

/* Home page summary bullets are links to the service pages: look like text, react on hover. */
.tpl-list-desc a { color: inherit; text-decoration: none; }
.tpl-list-desc a:hover { color: #3d8f69; text-decoration: underline; }
