.is-sticky #site-header,
.is-sticky #top-bar-wrap {
  position: fixed;
}
.is-sticky #top-bar-wrap {
  z-index: 1000;
}
.is-sticky #site-header {
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 999;
}
.is-sticky #site-header.no-shadow {
  box-shadow: none;
}
.is-sticky #site-header-inner {
  padding: 0;
  transition: padding 0.3s ease;
}
.is-sticky #site-header,
.is-sticky #top-bar-wrap,
.is-sticky .header-top {
  opacity: 0.95;
}

#site-header.top-header .is-sticky .header-top {
  position: fixed;
}

#site-header.medium-header .is-sticky .bottom-header-wrap {
  position: fixed;
}

#site-header.custom-header .is-sticky .owp-sticky {
  position: fixed;
}

#site-header.fixed-scroll,
#top-bar-wrap.top-bar-sticky {
  transition: opacity 0.3s, background-color 0.3s;
}

.is-sticky #site-header.fixed-scroll {
  width: auto;
}

/* Sticky effects */
.is-sticky #site-header.slide-effect {
  -ms-transform: translateY(-100%);
  transform: translateY(-100%);
}
.is-sticky #site-header.slide-effect.show {
  -ms-transform: translateY(0);
  transform: translateY(0);
  transition: all 0.5s ease;
}

#site-header.top-header.slide-effect .is-sticky .header-top {
  -ms-transform: translateY(-100%);
  transform: translateY(-100%);
}

#site-header.top-header.slide-effect.show .header-top {
  -ms-transform: translateY(0);
  transform: translateY(0);
  transition: all 0.5s ease;
}

#site-header.medium-header.slide-effect .is-sticky .bottom-header-wrap {
  -ms-transform: translateY(-100%);
  transform: translateY(-100%);
}

#site-header.medium-header.slide-effect.show .bottom-header-wrap.fixed-scroll {
  -ms-transform: translateY(0);
  transform: translateY(0);
  transition: all 0.5s ease;
}

#site-header.custom-header.slide-effect .is-sticky .owp-sticky {
  -ms-transform: translateY(-100%);
  transform: translateY(-100%);
}

#site-header.custom-header.slide-effect.show .owp-sticky {
  -ms-transform: translateY(0);
  transform: translateY(0);
  transition: all 0.5s ease;
}

.is-sticky #site-header.up-effect {
  transition: all 0.5s ease;
}
.is-sticky #site-header.up-effect.header-up {
  -ms-transform: translateY(-100%);
  transform: translateY(-100%);
}
.is-sticky #site-header.up-effect.header-down {
  -ms-transform: translateY(0);
  transform: translateY(0);
}

#site-header.top-header.up-effect .is-sticky .header-top {
  transition: all 0.5s ease;
}

#site-header.top-header.up-effect.header-up .header-top {
  -ms-transform: translateY(-100%);
  transform: translateY(-100%);
}
#site-header.top-header.up-effect.header-down .header-top {
  -ms-transform: translateY(0);
  transform: translateY(0);
}

#site-header.medium-header.up-effect .is-sticky .bottom-header-wrap {
  transition: all 0.5s ease;
}

#site-header.medium-header.up-effect.header-up .bottom-header-wrap.fixed-scroll {
  -ms-transform: translateY(-100%);
  transform: translateY(-100%);
}
#site-header.medium-header.up-effect.header-down .bottom-header-wrap.fixed-scroll {
  -ms-transform: translateY(0);
  transform: translateY(0);
}

#site-header.custom-header.up-effect .is-sticky .owp-sticky {
  transition: all 0.5s ease;
}

#site-header.custom-header.up-effect.header-up .owp-sticky {
  -ms-transform: translateY(-100%);
  transform: translateY(-100%);
}
#site-header.custom-header.up-effect.header-down .owp-sticky {
  -ms-transform: translateY(0);
  transform: translateY(0);
}

/* Logo */
#site-logo .sticky-logo-link,
#site-header.center-header #site-navigation-wrap .middle-site-logo .sticky-logo-link {
  display: none;
}

.is-sticky #site-header #site-logo.has-sticky-logo #site-logo-inner .custom-logo-link, .is-sticky #site-header.center-header #site-navigation-wrap .middle-site-logo.has-sticky-logo .custom-logo-link {
  display: none;
}
.is-sticky #site-header #site-logo #site-logo-inner .sticky-logo-link, .is-sticky #site-header.center-header #site-navigation-wrap .middle-site-logo .sticky-logo-link {
  display: block;
}

#site-header.full_screen-header #site-logo.has-full-screen-logo.opened .sticky-logo-link {
  display: none;
}

/* Sticky */
#site-header #site-logo #site-logo-inner,
#site-header .oceanwp-social-menu .social-menu-inner, #site-header.full_screen-header .menu-bar-inner {
  transition: height 0.3s ease;
}
#site-header #site-navigation-wrap .dropdown-menu > li > span.opl-logout-link {
  transition: all 0.3s ease;
}

.is-sticky #site-header.shrink-header #site-logo #site-logo-inner,
.is-sticky #site-header.shrink-header .oceanwp-social-menu .social-menu-inner,
.is-sticky #site-header.shrink-header .after-header-content .after-header-content-inner {
  height: 54px;
}
.is-sticky #site-header.shrink-header #site-navigation-wrap .dropdown-menu > li > a,
.is-sticky #site-header.shrink-header .oceanwp-mobile-menu-icon a,
.is-sticky #site-header.shrink-header .after-header-content .after-header-content-inner > a,
.is-sticky #site-header.shrink-header .after-header-content .after-header-content-inner > div > a,
.is-sticky #site-header.shrink-header #site-navigation-wrap .dropdown-menu > li > span.opl-logout-link {
  line-height: 54px;
}
.is-sticky #site-header.shrink-header.full_screen-header .menu-bar-inner {
  height: 54px;
}

/* Full width header when scrolling */
#top-bar-wrap.has-full-width-top #top-bar,
#site-header.has-full-width-header #site-header-inner {
  transition: width 0.4s ease;
}

.is-sticky #top-bar-wrap.has-full-width-top #top-bar,
.is-sticky #site-header.has-full-width-header #site-header-inner {
  width: 100%;
  max-width: 100%;
  padding-left: 30px;
  padding-right: 30px;
}

.is-sticky #top-bar-wrap.has-full-width-top,
.is-sticky #site-header.has-full-width-header {
  width: 100% !important;
  left: 0;
  right: 0;
}

.is-sticky #site-header.has-full-width-header #site-header-inner #site-navigation-wrap,
.is-sticky #site-header.has-full-width-header #site-header-inner #site-header.full_screen-header #site-navigation-wrap {
  right: 18px;
}

.is-sticky #top-bar-wrap.has-full-width-top #top-bar #top-bar-social.top-bar-right {
  right: 30px;
}
.is-sticky #top-bar-wrap.has-full-width-top #top-bar #top-bar-social.top-bar-left {
  left: 30px;
}