/* Fix for the tabs under the header in the edit mode */
.fl-builder-edit #dpr-header,
.fl-builder-edit.header-overlapping-used #dpr-header { z-index: 1; }
.fl-builder-edit #main,
.et_fb_desktop_mode #main,
.et_fb_preview_active #main { z-index: inherit !important; }

/* Hide the transparent heade in the Elementor edit mode to avoid conflicts */
body.elementor-editor-active.header-overlapping-used #dpr-header { display: none; }

/* Fix the height automatically in the custom header style */
#dpr-header .elementor-section-wrapper {
    height: auto !important;
}

/* Fix image alignment with caption issue */
.elementor-widget-image .elementor-image img {
    display: inline-block;
}

/* Fix background hover color on the photoswipe buttons */
.pswp__button:hover {
    background-color: transparent;
}

/* Fix bug with overlay in Chrome */
.elementor-background-overlay,
.subheader-overlay {
	-webkit-transform: translateZ(0);
}