﻿/* Custom CSS overrides for TAOX (2026 tweaks) */
.tisk-output-list {
  list-style: none;
  padding-left: 0;
  margin: 0 0 1.2em 0;
  color: #2B2D35;
}

.tisk-output-list li {
  margin: 0.25em 0;
  color: inherit;
}

@media only screen and (max-width: 767px) {
  #online-visit-widget {
    display: none !important;
  }
  /* On mobile we want headings consistently left-aligned. */
  #content-part h1,
  #content-part h2,
  #content-part h3,
  #content-part h4,
  #content-part h5,
  #content-part h6 {
    text-align: left !important;
  }

  /* Mobile: hide the 4 intro photo tiles (Videa/Weby/Tisky/Aplikace). */
  /* Mobile: make main icon labels smaller (WEB/VIDEO/TISK/MOBIL). */
  .iconbox .fast-link {
    font-size: 0.75em;
    line-height: 1.2;
  }


  #home-icons {
    display: none !important;
  }

  /* Mobile: simplify the green 1999 block text above the animation. */
  #home-content2 .anim-1999-title {
    display: none !important;
  }

  #home-content2 .anim-1999-mobile {
    display: block !important;
    color: #000;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 10px 0;
  }

  /* Prevent long headings from overflowing the viewport. */
  #contact-content .contact-cta-title {
    overflow-wrap: anywhere;
  }

  /* Reference tiles (WEB): on mobile hide title until long-press. */
  #reference-weby-grid .small-square .hover-info {
    opacity: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    min-height: 0 !important;
    -webkit-transform: none !important;
    -moz-transform: none !important;
    -ms-transform: none !important;
    -o-transform: none !important;
    transform: none !important;
  }

  #reference-weby-grid .small-square.touch-hover .hover-info {
    opacity: 1 !important;
  }

  /* Keep reference overlay titles centered (override mobile heading left-align). */
  #reference-weby-grid .hover-info,
  #reference-weby-grid .hover-info h4,
  #reference-weby-grid .hover-info .hover-title {
    text-align: center !important;
  }
  /* On mobile hide VIDEO reference thumbnails (keep the heading + the "Přehrajte si naši reklamu" block). */
  #reference-videa-grid,
  #reference-videa-heading + .portfolio {
    display: none !important;
  }

    /* Mobile: show short category labels in reference headings (WEB/VIDEO/TISK/MOBIL). */
  #refe-content .inner-content2 .refenapd2 {
    font-size: 0 !important;
  }

  #refe-content .inner-content2 .refenapd2::after {
    content: attr(data-short);
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    padding-left: 6px;
    font-size: 32px;
    line-height: 1.1;
    font-weight: 700;
    color: inherit;
  }

  /* Reference section headings: icon left, text right. */
  #refe-content .inner-content2 .refenapd2 {
    display: grid;
    grid-template-columns: 60px 1fr;
    column-gap: 12px;
    align-items: center;
  }

  #refe-content .inner-content2 .refenapd2 img.icons {
    grid-column: 1;
    grid-row: 1;
    width: 44px;
    height: 44px;
    margin: 0 !important;
    justify-self: start;
  }

  /* Home icons: show 2×2 grid on mobile (hide Design tile). */
  #home-icons {
    overflow: hidden;
  }

  /* Flatten the nested bootstrap grid so tiles can flow into a 2×2 layout. */
  #home-icons > .col-xs-12,
  #home-icons > .col-xs-12 > .col-xs-12,
  #home-icons > .col-xs-12 > .col-xs-12 > .col-xs-12 {
    display: contents;
  }

  #home-icons a.swipebox,
  #home-icons a.small-square {
    display: block;
    float: left;
    width: 50% !important;
  }

  #home-icons .small-square.third {
    display: none !important;
  }

  #home-icons:after {
    content: "";
    display: block;
    clear: both;
  }
  /* Mobile app previews: remove big horizontal padding so thumbnails can fill the block. */
  .bg-transparent-img {
    padding: 0 15px 30px 15px !important;
  }
  /* Services: keep section heading left, align item titles with icons. */
  #services-content > h2.refenapd2,
  #services-content > .separator {
    padding-left: 0 !important;
  }

  #services-content .service-item {
    display: grid;
    grid-template-columns: 44px 1fr;
    column-gap: 24px;
    align-items: start;
  }

    
  #services-content .service-item > i {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    margin: 0;
  }

      
  #services-content .service-item > h2 {
    grid-column: 2;
    align-self: center;
    margin-top: 0;
}



  #services-content .service-item > p {
    grid-column: 1 / -1;
  }
}

/* Floating “online visit” vignette */
#online-visit-widget {
  position: fixed !important;
  right: 16px !important;
  bottom: 16px !important;
  z-index: 2147483647 !important;
  pointer-events: auto;
}


#online-visit-widget .ovw-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.88);
  color: #FFFFFF;
  border: 1px solid rgba(86, 193, 168, 0.45);
  border-radius: 999px;
  padding: 10px 14px;
  max-width: 320px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

#online-visit-widget .ovw-toggle:focus {
  outline: 2px solid rgba(86, 193, 168, 0.9);
  outline-offset: 2px;
}

#online-visit-widget .ovw-toggle .icon {
  color: #56c1a8;
  font-size: 20px;
  line-height: 1;
}

#online-visit-widget .ovw-toggle .ovw-label {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
  text-align: left;
}

#online-visit-widget .ovw-panel {
  position: relative;
  margin-top: 10px;
  background: rgba(0, 0, 0, 0.92);
  color: #FFFFFF;
  border: 1px solid rgba(86, 193, 168, 0.35);
  border-radius: 14px;
  padding: 12px 14px 14px 14px;
  max-width: 360px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

#online-visit-widget .ovw-panel p {
  margin: 0 0 10px 0;
  font-size: 13px;
  line-height: 1.35;
  text-align: left;
}

#online-visit-widget .ovw-panel a {
  color: #56c1a8;
  text-decoration: underline;
  font-weight: 700;
}

#online-visit-widget .ovw-close {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.45);
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  line-height: 1;
  padding: 6px;
  position: absolute;
  right: 8px;
  top: 6px;
}

#online-visit-widget.is-open .ovw-panel {
  display: block;
}

@media only screen and (max-width: 480px) {
  #online-visit-widget {
  position: fixed !important;
  right: 16px !important;
  bottom: 16px !important;
  z-index: 2147483647 !important;
  pointer-events: auto;
}

  #online-visit-widget .ovw-toggle,
  #online-visit-widget .ovw-panel {
  position: relative;
    max-width: none;
    width: 100%;
  }
}
#online-visit-widget.is-open #ovw-panel { display: block; }

@media only screen and (max-width: 767px) {
  #online-visit-widget {
    display: none !important;
  }
}

#online-visit-widget .ovw-close-inline {
  margin-left: 8px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1;
  border: 1px solid rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.08);
  color: #fff;
}

#online-visit-widget.is-open .ovw-close-inline {
  display: none;
}

#online-visit-widget .ovw-label {
  white-space: nowrap;
}

.ref-note-left {
  text-align: left !important;
}
