.ast-hb-account-login-wrapper .ast-hb-account-login {
  position: fixed;
  left: 50%;
  top: 50%;
  padding: 35px;
  max-height: 550px;
  width: 340px;
  margin: 0 0 0 -170px;
  background-color: #f1f1f1;
  z-index: 1000011;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}

.ast-hb-account-login-wrapper .ast-hb-account-login-bg {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: #000;
  opacity: .7;
  z-index: 1000010;
  transition: all 0.3s;
}

.ast-hb-account-login-wrapper .ast-hb-login-header .ast-hb-login-close {
  background: 0 0;
  border: 0;
  font-size: 24px;
  line-height: 1;
  padding: .4em;
  color: inherit;
  -js-display: flex;
  display: flex;
  box-shadow: none;
}

.ast-hb-account-login-wrapper #loginform input[type=text],
.ast-hb-account-login-wrapper #loginform input[type=password] {
  width: 100%;
  max-width: 100%;
  margin-top: 10px;
  border: 1px solid;
  background-color: transparent;
  vertical-align: middle;
}

.ast-hb-account-login-form-footer a.ast-header-account-footer-link:not(:last-child) span:after {
  content: "|";
  margin: 0 0.4em;
}

.ast-header-account-link.ast-account-action-link,
.ast-header-break-point .ast-header-account-link,
.ast-header-account-link.ast-account-action-login,
.ast-header-account-link.ast-account-action-login.customize-unpreviewable {
  cursor: pointer;
  pointer-events: all;
}

.ast-header-account {
  -js-display: flex;
  display: flex;
}

.ast-hb-account-login-wrapper {
  visibility: hidden;
}

.ast-hb-account-login-wrapper .ast-hb-login-header {
  -js-display: flex;
  position: absolute;
  right: 0;
  top: 0;
  display: flex;
  justify-content: flex-end;
  min-height: calc(1.2em + 24px);
}

.ast-hb-account-login-wrapper .ast-hb-account-login {
  transform: scale(0.7);
  opacity: 0;
  transition: all 0.3s;
  overflow: auto;
}

.ast-hb-account-login-wrapper.show {
  visibility: visible;
}

.ast-hb-account-login-wrapper.show .ast-hb-account-login {
  transform: scale(1) translateY(-50%);
  opacity: 1;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}

.ast-hb-login-body {
  height: 100%;
  position: relative;
  line-height: 1.5;
}

/* menu */
.ast-hf-account-menu-wrap.ast-main-header-bar-alignment {
  position: relative;
}

.main-header-bar .main-header-bar-navigation .ast-account-nav-menu {
  line-height: 1.45;
}

.ast-account-nav-menu {
  width: 240px;
  background: #fff;
  left: -999em;
  position: absolute;
  top: 0px;
  z-index: 99999;
  list-style: none;
  margin: 0;
  padding-left: 0;
  border: 0;
  box-shadow: 0 4px 10px -2px rgba(0, 0, 0, 0.1);
}

.ast-account-nav-menu .sub-menu {
  right: auto;
  top: 0;
  margin-left: 0;
}

.ast-account-nav-menu .menu-item.focus > .sub-menu,
.ast-account-nav-menu .menu-item:hover > .sub-menu {
  left: 100%;
}

.ast-account-nav-menu .ast-left-align-sub-menu.menu-item.focus > .sub-menu,
.ast-account-nav-menu .ast-left-align-sub-menu.menu-item:hover > .sub-menu {
  left: -100%;
}

.ast-account-nav-menu .menu-item .menu-link {
  padding: .9em 1em;
}

.ast-account-nav-menu .menu-item {
  border-style: none;
}

.ast-account-nav-menu .menu-item.menu-item-has-children > .menu-link:after {
  position: absolute;
  right: 1em;
  top: 50%;
  transform: translate(0, -50%) rotate(270deg);
}

.ast-primary-header-bar .main-header-menu.ast-account-nav-menu > .menu-item,
.ast-above-header-bar .main-header-menu.ast-account-nav-menu > .menu-item,
.ast-below-header-bar .main-header-menu.ast-account-nav-menu > .menu-item {
  height: auto;
  line-height: unset;
  bottom: -5px;
}

.ast-header-account-wrap .woocommerce-MyAccount-navigation-link.is-active a {
  background: unset;
}

.ast-header-account-wrap .menu-item:last-child > .menu-link {
  border-style: none;
}

.ast-divider-wrapper {
  border: 0;
}

.ast-mobile-popup-content .ast-header-divider-element {
  justify-content: center;
}

.ast-header-divider-element {
  position: relative;
}

.ast-fb-divider-layout-vertical {
  position: relative;
}

.ast-hb-divider-layout-vertical.ast-header-divider-element {
  height: 100%;
}

/** Default Spacing for Mobile Header elements except Menu */
.ast-mobile-popup-content .ast-builder-layout-element:not(.ast-builder-menu):not(.ast-header-divider-element),
.ast-mobile-header-content .ast-builder-layout-element:not(.ast-builder-menu):not(.ast-header-divider-element) {
  padding: 15px 20px;
}

.footer-widget-area .ast-footer-divider-element {
  position: relative;
  align-items: center;
}

.footer-widget-area .ast-divider-wrapper {
  display: inline-block;
}

.ast-builder-footer-grid-columns .ast-fb-divider-layout-horizontal {
  -js-display: inline-flex;
  display: inline-flex;
  vertical-align: middle;
}

/**
 * Button.
 */
[data-section*="section-hb-button-"] .ast-builder-button-size-xs .ast-custom-button,
[data-section*="section-fb-button-"] .ast-builder-button-size-xs .ast-custom-button {
  font-size: 13px;
  padding: 8px 20px;
}

[data-section*="section-hb-button-"] .ast-builder-button-size-sm .ast-custom-button,
[data-section*="section-fb-button-"] .ast-builder-button-size-sm .ast-custom-button {
  font-size: 15px;
  padding: 10px 40px;
}

[data-section*="section-hb-button-"] .ast-builder-button-size-md .ast-custom-button,
[data-section*="section-fb-button-"] .ast-builder-button-size-md .ast-custom-button {
  font-size: 17px;
  padding: 15px 45px;
}

[data-section*="section-hb-button-"] .ast-builder-button-size-lg .ast-custom-button,
[data-section*="section-fb-button-"] .ast-builder-button-size-lg .ast-custom-button {
  font-size: 19px;
  padding: 20px 50px;
}

[data-section*="section-hb-button-"] .ast-builder-button-size-xl .ast-custom-button,
[data-section*="section-fb-button-"] .ast-builder-button-size-xl .ast-custom-button {
  font-size: 21px;
  padding: 25px 55px;
}

.ast-fb-divider-layout-vertical {
  -js-display: flex;
  display: flex;
}

.site-footer-section {
  position: relative;
}

.ast-builder-language-switcher .ast-builder-language-switcher-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  line-height: normal;
  -webkit-tap-highlight-color: transparent;
}

.ast-builder-language-switcher-layout-vertical .ast-builder-language-switcher {
  display: block;
}

.ast-builder-language-switcher-layout-vertical .ast-builder-language-switcher-menu {
  display: block;
}

.ast-builder-language-switcher-layout-horizontal .ast-builder-language-switcher {
  -js-display: flex;
  display: flex;
}

.ast-builder-language-switcher-layout-horizontal .ast-builder-language-switcher-menu {
  -js-display: flex;
  display: flex;
  flex-wrap: wrap;
}

.ast-builder-language-switcher a {
  -js-display: flex;
  display: flex;
  align-items: center;
}

.ast-lswitcher-item-header,
.ast-lswitcher-item-footer {
  -js-display: inline-flex;
  display: inline-flex;
}

span.ast-lswitcher-item-footer:last-child,
span.ast-lswitcher-item-header:last-child {
  margin-right: 0px;
}
/*----------  Media Query min-width Structure   ----------*/
/*----------  Media Query max-width Structure   ----------*/
/*----------  Break-point min-width Structure   ----------*/
/*----------  Break-point max-width Structure   ----------*/
/**
 * Header Cover / Full Screen Search
 */
.main-header-bar-wrap .ast-search-box.header-cover {
  z-index: 7;
}

.ast-below-header-wrap .ast-search-box.header-cover .search-field,
.ast-below-header-wrap .ast-search-box.header-cover #close {
  font-size: 1.8em;
}

.ast-below-header-wrap .ast-search-box.header-cover .search-submit {
  font-size: 1.5em;
}

.ast-search-box.header-cover, .ast-search-box.full-screen {
  display: none;
  opacity: 0;
  transition: opacity .3s ease-in-out,display .3s ease-in-out;
  width: 100%;
  height: 100%;
  /* Placeholder Color */
}

.ast-search-box.header-cover .search-field, .ast-search-box.full-screen .search-field {
  background: 0 0;
  border: 0;
  color: #fafafa;
  box-shadow: none;
  text-align: left;
  padding: 0;
}

.ast-search-box.header-cover .search-submit, .ast-search-box.full-screen .search-submit {
  background: var(--ast-fs-search-submit-background, 0 0);
  padding: 0;
  border-radius: 50%;
  box-shadow: none;
  color: var(--ast-fs-search-text-color, #9E9E9E);
  transition: all .7s ease-In;
  outline: none;
  border: 0;
  vertical-align: middle;
}

.ast-search-box.header-cover .ast-search-wrapper, .ast-search-box.full-screen .ast-search-wrapper {
  position: absolute;
  width: 100%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.ast-search-box.header-cover .ast-search-wrapper .search-form, .ast-search-box.full-screen .ast-search-wrapper .search-form {
  line-height: normal;
}

.ast-search-box.header-cover #close, .ast-search-box.full-screen #close {
  color: #fafafa;
  transform: rotate(0);
  font-size: 2em;
  cursor: pointer;
  z-index: 9;
  font-weight: normal;
}

.ast-search-box.header-cover .search-field::-webkit-input-placeholder, .ast-search-box.full-screen .search-field::-webkit-input-placeholder {
  color: #fafafa;
}

.ast-search-box.header-cover .search-field:-moz-placeholder, .ast-search-box.full-screen .search-field:-moz-placeholder {
  /* Firefox 18- */
  color: #fafafa;
}

.ast-search-box.header-cover .search-field::-moz-placeholder, .ast-search-box.full-screen .search-field::-moz-placeholder {
  /* Firefox 19+ */
  color: #fafafa;
}

.ast-search-box.header-cover .search-field:-ms-input-placeholder, .ast-search-box.full-screen .search-field:-ms-input-placeholder {
  color: #fafafa;
}

.ast-search-box.header-cover {
  position: absolute;
  background: rgba(25, 25, 25, 0.96);
  top: 0;
  z-index: 10;
}

.ast-search-box.header-cover .search-field {
  font-size: 2em;
  line-height: 2;
  width: 100%;
}

.ast-search-box.header-cover .ast-container {
  position: relative;
}

.ast-search-box.header-cover .search-text-wrap,
.ast-search-box.header-cover .search-submit,
.ast-search-box.header-cover .close {
  display: inline-block;
}

.ast-search-box.header-cover .search-text-wrap {
  width: calc( 100% - 2.5em);
  vertical-align: middle;
}

.ast-search-box.header-cover .search-submit {
  font-size: 1.7em;
  margin-right: 2em;
}

.ast-search-box.header-cover #close {
  vertical-align: middle;
  backface-visibility: hidden;
}

.ast-search-box.full-screen {
  position: fixed;
  background: rgba(25, 25, 25, 0.96);
  top: 0;
  left: 0;
  z-index: 999;
}

.ast-search-box.full-screen .ast-search-wrapper .large-search-text {
  text-align: center;
  color: #e2e2e2;
  font-size: 1.5em;
  font-weight: normal;
  transition-delay: 50ms;
  transition: all .3s ease-in-out;
}

.ast-search-box.full-screen .ast-search-wrapper fieldset {
  border: 0;
  padding: 2.5em 0 1em;
  border-bottom: 2px solid var(--ast-border-color);
}

.ast-search-box.full-screen .ast-search-wrapper .search-field {
  font-size: 2em;
  padding-left: 20px;
  line-height: 1.7;
  width: 92%;
  vertical-align: middle;
}

.ast-search-box.full-screen .ast-search-wrapper .search-form {
  width: 70%;
  margin: 20px auto;
}

.ast-search-box.full-screen .ast-search-wrapper .search-submit {
  font-size: var(--ast-fs-search-font-size, 1.7em);
}

.ast-search-box.full-screen #close {
  position: absolute;
  color: #fafafa;
  right: 1em;
  line-height: 1;
  cursor: pointer;
  z-index: 9;
  font-weight: normal;
  font-size: 2em;
  top: 1.5em;
  backface-visibility: hidden;
}

.ast-search-box.full-screen ::-webkit-input-placeholder {
  /* Chrome/Opera/Safari */
  opacity: 0;
}

.ast-search-box.full-screen ::-moz-placeholder {
  /* Firefox 19+ */
  opacity: 0;
}

.ast-search-box.full-screen :-ms-input-placeholder {
  /* IE 10+ */
  opacity: 0;
}

.ast-search-box.full-screen :-moz-placeholder {
  /* Firefox 18- */
  opacity: 0;
}

@media (max-width: 420px) {
  .ast-search-box.full-screen ::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    opacity: 1;
  }
  .ast-search-box.full-screen ::-moz-placeholder {
    /* Firefox 19+ */
    opacity: 1;
  }
  .ast-search-box.full-screen :-ms-input-placeholder {
    /* IE 10+ */
    opacity: 1;
  }
  .ast-search-box.full-screen :-moz-placeholder {
    /* Firefox 18- */
    opacity: 1;
  }
}

.ast-hfb-header .ast-search-box.full-screen.full-screen ::-webkit-input-placeholder {
  opacity: 0.5;
}

.ast-hfb-header .ast-search-box.full-screen.full-screen ::-moz-placeholder {
  /* Firefox 19+ */
  opacity: 0.5;
}

.ast-hfb-header .ast-search-box.full-screen.full-screen :-ms-input-placeholder {
  /* IE 10+ */
  opacity: 0.5;
}

.ast-hfb-header .ast-search-box.full-screen.full-screen :-moz-placeholder {
  /* Firefox 18- */
  opacity: 0.5;
}

.site-header .ast-inline-search.ast-search-menu-icon .search-form {
  padding-left: 0;
  padding-right: 0;
}

.site-header .ast-inline-search.ast-search-menu-icon .search-field {
  padding-left: 1em;
  padding-right: 2em;
}

.ast-inline-search.ast-search-menu-icon {
  position: relative;
  transform: none;
  left: 0;
  right: 0;
}

.ast-inline-search.ast-search-menu-icon .search-submit {
  display: block;
  background: none;
  border: none;
  position: absolute;
  height: 100%;
  right: 0.25em;
  padding: 0;
  top: 0;
  font-size: 1.3em;
  color: #757575;
}

.ast-header-break-point .ast-inline-search.ast-search-menu-icon .search-form {
  padding: 0;
}

.ast-header-break-point .site-header .ast-inline-search.ast-search-menu-icon .search-field {
  padding-right: 2em;
}

.ast-header-break-point .ast-search-box.full-screen .ast-search-wrapper .search-field {
  width: 80%;
}

.ast-header-custom-item-inside.ast-desktop .main-header-menu .ast-search-menu-icon.full-screen,
.ast-header-custom-item-inside.ast-desktop .main-header-menu .ast-search-menu-icon.header-cover {
  display: none;
}

/**
 * Swap Above Header
 */
.ast-header-break-point .ast-swap-above-header-sections .ast-above-header-section-1 .ast-search-menu-icon .search-form {
  right: -1em;
  left: auto;
  padding-left: 0em;
  padding-right: 3em;
}

.ast-header-break-point .ast-swap-above-header-sections .ast-above-header-section-1 .search-field {
  padding-right: 0px;
  padding-left: 1em;
}

.ast-header-break-point .ast-swap-above-header-sections .ast-above-header-section-2 .ast-search-menu-icon .search-form {
  left: -1em;
  right: auto;
  padding-right: 0em;
  padding-left: 3em;
}

.ast-header-break-point .ast-swap-above-header-sections .ast-above-header-section-2 .search-field {
  padding-left: 0px;
  padding-right: 1em;
}

/** Above Header - Swap + Stack */
.ast-header-break-point .ast-above-header .ast-above-header-section-1 .ast-inline-search.ast-search-menu-icon .search-field {
  padding-right: 0;
}

.ast-header-break-point .ast-swap-above-header-sections.ast-mobile-header-stack .ast-above-header .ast-above-header-section-2 .ast-search-menu-icon .search-form {
  padding-left: 0px;
  left: auto;
  padding-right: 2em;
}

.ast-header-break-point .ast-swap-above-header-sections.ast-mobile-header-stack .ast-above-header .ast-above-header-section-2 .ast-search-menu-icon.slide-search .search-form {
  left: -1em;
  padding-left: 2em;
}

.ast-header-break-point .ast-swap-above-header-sections.ast-mobile-header-stack .ast-above-header .ast-above-header-section-1 .search-field {
  padding-right: 0;
}

.ast-header-break-point .ast-swap-above-header-sections.ast-mobile-header-stack .ast-above-header .search-field {
  padding-right: 0;
  padding-left: 1em;
}

.ast-header-break-point .ast-above-header-mobile-stack .ast-above-header .ast-above-header-section-1 .ast-search-menu-icon.ast-inline-search .search-form {
  right: auto;
  padding-right: 2em;
}

.ast-header-break-point .ast-swap-below-header-sections .ast-below-header .below-header-section-2 .ast-search-menu-icon.ast-inline-search .search-form {
  left: 0;
  padding-left: 0;
  padding-right: 2em;
}

/**
 * Swap Below Header
 */
.ast-header-break-point .ast-swap-below-header-sections .below-header-section-1 .ast-search-menu-icon .search-form {
  right: -1em;
  left: auto;
  padding-left: 0em;
  padding-right: 3em;
}

.ast-header-break-point .ast-swap-below-header-sections .below-header-section-1 .search-field {
  padding-right: 0px;
  padding-left: 1em;
}

.ast-header-break-point .ast-swap-below-header-sections .below-header-section-2 .ast-search-menu-icon .search-form {
  left: -1em;
  right: auto;
  padding-right: 0em;
  padding-left: 3em;
}

.ast-header-break-point .ast-swap-below-header-sections .below-header-section-2 .search-field {
  padding-left: 0px;
  padding-right: 1em;
}

/** Below Header - Swap + Stack */
.ast-header-break-point .ast-below-header .below-header-section-1 .ast-inline-search.ast-search-menu-icon .search-field {
  padding-right: 0;
}

.ast-header-break-point .ast-swap-below-header-sections.site-header .ast-below-header .ast-inline-search.ast-search-menu-icon .search-field {
  padding-left: 1em;
  padding-right: 0;
}

.ast-header-break-point .ast-swap-below-header-sections .ast-below-header .below-header-section-2 .ast-search-menu-icon .search-form {
  left: -1em;
  padding-left: 3em;
  padding-right: 1em;
}

.ast-below-header-mobile-stack .ast-below-header .below-header-section-1 .ast-search-menu-icon.ast-inline-search .search-form {
  right: auto;
  padding-right: 2em;
}

/**
 * iPhone/iPad fix
 *
 * Full screen search input cursor position not looks on expected place.
 * So, We add the `fixed` to body when it full-screen search is open.
 */
.ipod.full-screen,
.iphone.full-screen {
  position: fixed !important;
}

@media (max-width: 992px) {
  .ast-above-header-mobile-stack .ast-above-header-section-1 .ast-search-menu-icon.ast-inline-search .search-form {
    left: auto;
  }
  .ast-below-header-mobile-stack .below-header-section-1 .ast-search-menu-icon.ast-inline-search .search-form {
    left: auto;
  }
}

@media (max-width: 544px) {
  .ast-search-box.full-screen .ast-search-wrapper .large-search-text {
    display: none;
  }
  .ast-search-box.full-screen .ast-search-wrapper .search-field,
  .ast-search-box.full-screen .ast-search-wrapper .search-submit {
    font-size: 1.6em;
  }
}
