/* Global header */
.et-l--header,
.et-l--header .et_builder_inner_content,
.dwo-global-header,
.dwo-global-header .et_builder_inner_content,
.dwo-global-header .et_pb_section,
.dwo-global-header .et_pb_row,
.dwo-global-header .et_pb_column,
.dwo-global-header .et_pb_code,
.dwo-global-header .et_pb_code_inner {
  overflow: visible !important;
}

.dwo-global-header,
.et_pb_section_0_tb_header.dwo-global-header {
  position: sticky !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  z-index: 99999 !important;
  background: #fff;
  transform-origin: top center;
}

.dwo-global-header > .et_pb_row_0_tb_header,
.dwo-global-header > .et_pb_row:first-child {
  position: relative !important;
  z-index: 10010 !important;
}

.dwo-global-header > .et_pb_row_1_tb_header,
.dwo-global-header > .et_pb_row:nth-child(2) {
  position: relative !important;
  z-index: 1000 !important;
}

body.admin-bar .dwo-global-header {
  top: 32px !important;
}

@media (max-width: 782px) {
  body.admin-bar .dwo-global-header {
    top: 46px !important;
  }
}

/* Header transitions and sticky state */
.dwo-global-header,
.dwo-global-header .et_pb_row,
.dwo-global-header .et_pb_column,
.dwo-global-header .et_pb_menu,
.dwo-global-header .menu_logo_global,
.dwo-global-header .menu_logo_global img {
  transition:
    padding .25s ease,
    margin .25s ease,
    width .25s ease,
    max-width .25s ease,
    height .25s ease,
    max-height .25s ease,
    transform .25s ease,
    box-shadow .25s ease !important;
}

.dwo-global-header .menu_logo_global img {
  width: 250px !important;
  max-width: 250px !important;
  height: auto !important;
}

.dwo-global-header .menu_logo_global a {
  display: inline-block;
  line-height: 0;
}

.dwo-global-header.et_pb_sticky,
.dwo-global-header.et_pb_sticky--top {
  box-shadow: 0 4px 18px rgba(0, 0, 0, .12);
}

.dwo-global-header.et_pb_sticky .et_pb_row_1_tb_header,
.dwo-global-header.et_pb_sticky--top .et_pb_row_1_tb_header {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  min-height: 56px !important;
}

.dwo-global-header.et_pb_sticky .menu_logo_global img,
.dwo-global-header.et_pb_sticky--top .menu_logo_global img {
  width: 170px !important;
  max-width: 170px !important;
}

.dwo-global-header.et_pb_sticky .et_pb_menu_0_tb_header,
.dwo-global-header.et_pb_sticky--top .et_pb_menu_0_tb_header {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Sites bar */
.dwo-sites-bar {
  position: relative !important;
  z-index: 10020 !important;
  font-size: 13px;
  background: #111;
  overflow: visible !important;
}

.dwo-sites-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 6px 20px;
  display: flex;
  gap: 4px;
  align-items: center;
  white-space: nowrap;
  overflow: visible !important;
}

.dwo-sites-bar a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 1px 10px;
  border: 1px solid transparent;
  border-radius: 3px;
  background: rgb(68, 72, 87);
  color: rgba(255, 255, 255, .82);
  text-decoration: none;
  font-weight: 500;
  line-height: 1;
  transition:
    background .16s ease,
    color .16s ease,
    border-color .16s ease;
}

.dwo-sites-bar a:hover {
  background: #565b6d;
  color: #fff;
}

.dwo-sites-bar a:focus-visible {
  outline: 2px solid #ffcc00;
  outline-offset: 2px;
}

.dwo-sites-bar a.is-current {
  background: #68A23F;
  color: #fff;
  font-weight: 600;
  border-color: #395822;
}

.dwo-sites-bar a[data-url="dohledovekamery.cz"] {
  pointer-events: none;
  cursor: default;
}

/* Sites bar tooltip */
.dwo-sites-bar a::after {
  content: attr(data-url);
  position: absolute;
  left: 50%;
  top: calc(100% + 9px);
  transform: translateX(-50%) translateY(-2px);
  z-index: 10030 !important;
  padding: 5px 9px;
  border-radius: 6px;
  background: #68A23F;
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .18);
  transition:
    opacity .16s ease,
    transform .16s ease,
    visibility .16s ease;
}

.dwo-sites-bar a::before {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(100% + 3px);
  transform: translateX(-50%);
  z-index: 10030 !important;
  border: 6px solid transparent;
  border-bottom-color: #68A23F !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity .16s ease,
    visibility .16s ease;
}

.dwo-sites-bar a:hover::after,
.dwo-sites-bar a:hover::before,
.dwo-sites-bar a:focus-visible::after,
.dwo-sites-bar a:focus-visible::before {
  opacity: 1;
  visibility: visible;
}

.dwo-sites-bar a:hover::after,
.dwo-sites-bar a:focus-visible::after {
  transform: translateX(-50%) translateY(0);
}

/* Compact sites bar */
@media (max-width: 1180px) {
  .dwo-sites-bar {
    width: 100%;
    font-size: 12.5px;
    overflow: hidden !important;
  }

  .dwo-sites-bar::before,
  .dwo-sites-bar::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 2;
    width: 22px;
    pointer-events: none;
  }

  .dwo-sites-bar::before {
    left: 0;
    background: linear-gradient(90deg, #000, rgba(0, 0, 0, 0));
  }

  .dwo-sites-bar::after {
    right: 0;
    background: linear-gradient(270deg, #000, rgba(0, 0, 0, 0));
  }

  .dwo-sites-bar-inner {
    max-width: none;
    padding: 6px 18px;
    gap: 6px;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto !important;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }

  .dwo-sites-bar-inner::-webkit-scrollbar {
    display: none;
  }

  .dwo-sites-bar a {
    flex: 0 0 auto;
    min-height: 28px;
    padding: 0 10px;
    white-space: nowrap;
    scroll-snap-align: start;
  }

  .dwo-sites-bar a.is-current {
    display: none !important;
  }

  .dwo-sites-bar a::before,
  .dwo-sites-bar a::after {
    display: none !important;
  }
}

.et_pb_menu--without-logo .et_pb_menu__menu>nav>ul>li {
    margin-right: 10px;
}