:root {
  --rick-header-offset: 72px;
  --rick-header-bg: #74675f;
  --rick-header-bg-hover: #665950;
}

body {
  padding-top: var(--rick-header-offset) !important;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

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

.elementor-location-header,
header.elementor-location-header {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  width: 100%;
  background: var(--rick-header-bg) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.elementor-location-header .e-con,
.elementor-location-header .e-con-inner,
.elementor-location-header [data-element_type="container"] {
  background-color: var(--rick-header-bg) !important;
}

.elementor-location-header .elementor-nav-menu--main .elementor-item,
.elementor-location-header .elementor-nav-menu--dropdown .elementor-item {
  background-color: transparent !important;
}

.elementor-location-header .elementor-nav-menu--main .elementor-item:hover,
.elementor-location-header .elementor-nav-menu--dropdown .elementor-item:hover,
.elementor-location-header .elementor-item-active {
  background-color: var(--rick-header-bg-hover) !important;
}

.elementor-location-header svg,
.elementor-location-header .e-font-icon-svg {
  width: 20px !important;
  height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
}

.elementor-location-header .e-search .e-fas-times {
  display: none !important;
}

.elementor-location-header .e-search,
.elementor-location-header .e-search-form,
.elementor-location-header .e-search-input-wrapper {
  min-height: 0 !important;
  height: auto !important;
}

body.admin-bar .elementor-location-header {
  top: 32px;
}

/* Static export: Elementor popup templates should not render as page content. */
[data-elementor-type="popup"],
.elementor-location-popup,
.dialog-widget,
.dialog-lightbox-widget {
  display: none !important;
  visibility: hidden !important;
}

@media (max-width: 782px) {
  :root {
    --rick-header-offset: 68px;
  }

  body.admin-bar .elementor-location-header {
    top: 46px;
  }
}
