/*
 * Share4Med child-theme custom styles.
 * Add theme-specific overrides and component styles here.
 */

@font-face {
  font-family: 'Open Sans';
  src: url('../fonts/OpenSans-BoldItalic.woff2') format('woff2');
  font-weight: bold;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Open Sans Condensed';
  src: url('../fonts/OpenSans-CondensedBold.woff2') format('woff2');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Open Sans Condensed';
  src: url('../fonts/OpenSans-CondensedBoldItalic.woff2') format('woff2');
  font-weight: bold;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Open Sans Condensed';
  src: url('../fonts/OpenSans-CondensedExtraBold.woff2') format('woff2');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Open Sans Condensed';
  src: url('../fonts/OpenSans-CondensedLightItalic.woff2') format('woff2');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Open Sans Condensed';
  src: url('../fonts/OpenSans-CondensedExtraBoldItalic.woff2') format('woff2');
  font-weight: bold;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Open Sans Condensed';
  src: url('../fonts/OpenSans-CondensedItalic.woff2') format('woff2');
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Open Sans Condensed';
  src: url('../fonts/OpenSans-CondensedLight.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Open Sans Condensed';
  src: url('../fonts/OpenSans-CondensedRegular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Open Sans Condensed';
  src: url('../fonts/OpenSans-CondensedSemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Open Sans Condensed';
  src: url('../fonts/OpenSans-CondensedSemiBoldItalic.woff2') format('woff2');
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Open Sans';
  src: url('../fonts/OpenSans-ExtraBold.woff2') format('woff2');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Open Sans';
  src: url('../fonts/OpenSans-ExtraBoldItalic.woff2') format('woff2');
  font-weight: bold;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Open Sans';
  src: url('../fonts/OpenSans-Italic.woff2') format('woff2');
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Open Sans';
  src: url('../fonts/OpenSans-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Open Sans';
  src: url('../fonts/OpenSans-LightItalic.woff2') format('woff2');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Open Sans';
  src: url('../fonts/OpenSans-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Open Sans';
  src: url('../fonts/OpenSans-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Open Sans';
  src: url('../fonts/OpenSans-SemiBoldItalic.woff2') format('woff2');
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Open Sans';
  src: url('../fonts/OpenSans-Bold.woff2') format('woff2');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

body, button, input, select, textarea, .ast-button, .ast-custom-button  {
  font-family: 'Open Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.8;
}


/* max-width: var(--wp--custom--ast-content-width-size); */

.ett-slider-btn {
  width: 40px;
  height: 40px;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  color: #666;
  border-radius: 50%;
  cursor: pointer;
}

.ett-slider-btn:hover,
.ett-slider-btn:focus {
  background-color: #fdfdfd;
}

.ett-slider-btn.swiper-button-lock {
  visibility: hidden;
}

.stretched-link {
  &:after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    content: "";
  }
}

.font-w-bold {
  font-weight: 600
}

.text-primary {
  color: var(--ast-global-color-0)
}

.has-medium-font-size,
.has-small-font-size {
  line-height: 1.8;
}

.has-large-font-size {
  line-height: 1.6;
}

.has-x-large-font-size {
  line-height: 1.4;
}

input[type='email'],
input[type='number'],
input[type='password'],
input[type='reset'],
input[type='search']:not(.choices__input),
input[type='tel'],
input[type='text']:not(.choices__input),
input[type='url'],
select,
textarea {
  border-radius: 4px;
  display: block;
  width: 100%;
  font-size: 0.85rem;
  background-color: white;
  margin-top: 0;
}

input:focus,
input[type='text']:focus:not(.choices__input),
input[type='email']:focus,
input[type='url']:focus,
input[type='password']:focus,
input[type='reset']:focus,
input[type='search']:focus:not(.choices__input),
input[type='number']:focus,
textarea:focus,
.wp-block-search__input:focus,
[data-section='section-header-mobile-trigger']
  .ast-button-wrap
  .ast-mobile-menu-trigger-minimal:focus,
.ast-mobile-popup-drawer.active .menu-toggle-close:focus,
#ast-scroll-top:focus,
#coupon_code:focus,
#ast-coupon-code:focus {
  border-style: solid;
  border-color: var(--ast-border-color);
  box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}

input::placeholder {
  font-size: inherit;
  font-family: 'Open Sans', sans-serif;
}

#main {
  padding: 1rem;
  @media(min-width: 1220px) {
    padding: 0;
  }
}

.s4-arrow-large .wp-block-button__link svg {
  width: 3em;
  height: 3em;
}

.wp-block-uagb-advanced-heading .uagb-separator {
  font-size: 0;
  border-top-style: solid;
  display: inline-block;
  border-top-width: 2px;
  width: 12%;
  border-color: var(--ast-global-color-0);
  margin-bottom: 15px;
}

.visually-hidden {
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important; // Fix for https://github.com/twbs/bootstrap/issues/25686
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.visually-hidden * {
  overflow: hidden !important;
}

.visually-hidden-focusable:not(:focus):not(:focus-within):not(caption), .visually-hidden:not(caption) {
  position: absolute !important;
}



.single .post-navigation {
  margin-top: 50px;
  margin-bottom: 50px;
}

.ett-blurred {
  &:before,
  &:after {
    backdrop-filter: blur(2px);
    filter: blur(4px);
  }
}

.autocomplete-wrapper {
  position: relative;
}

.search-autocomplete__search {
  display: block;
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--ast-border-color);
  border-radius: 4px;
  font-family: inherit;
  box-sizing: border-box;
}

.search-autocomplete__search:focus {
  outline: none;
  border-color: var(--ast-border-color);
  box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}

.autocomplete-wrapper .autoComplete_wrapper > input {
  display: block;
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--ast-border-color) !important;
  border-radius: 4px;
  font-size: 0.85rem;
  font-family: inherit;
  box-sizing: border-box;
  background-color: white;
  color: #333;
  height: inherit;
  background-image: none;
  transition: none;
  margin-bottom: 0;
}

.autocomplete-wrapper .autoComplete_wrapper > input:focus {
  outline: none;
  border-color: var(--ast-border-color) !important;
  box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
  color: #111111;
}

.autocomplete-wrapper .autoComplete_wrapper > input::placeholder {
  color: #777777;
  font-size: inherit;
}

.autocomplete-wrapper .autoComplete_wrapper > input:hover,
.autocomplete-wrapper .autoComplete_wrapper > input:focus {
  color: #777;
}

.autocomplete-wrapper .autoComplete_wrapper > input::placeholder {
  color: #777777;
  transition: none;
}

.autocomplete-wrapper .autoComplete_wrapper > input:hover::placeholder {
  color: #777777;
  transition: none;
}

.autocomplete-wrapper .autoComplete_wrapper > input:focus::placeholder {
  padding: 0;
  font-size: inherit;
  color: #777777;
}

.autocomplete-wrapper .autoComplete_wrapper > ul {
  overflow-x: hidden;
  overflow-y: auto;
  position: absolute;
  top: auto;
  left: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  height: 150px;
}

.autocomplete-wrapper .autoComplete_wrapper > ul > li {
  font-size: 0.85rem;
  color: #111;
  background-color: #dfdbdb;
  padding: 0.5rem 0.85rem;
}

.autocomplete-wrapper .autoComplete_wrapper > ul > li:hover {
  background-color: #f5f0f0;
  color: #333;
}

.autocomplete-wrapper .autoComplete_wrapper > input:focus::selection {
  background-color: rgba(54, 54, 54, 0.89);
}

.autocomplete-wrapper .autoComplete_wrapper > input::selection {
  background-color: rgba(61, 61, 61, 0.884);
}

.autocomplete-wrapper .autoComplete_wrapper > ul > li mark {
  color: var(--ast-global-color-0);
  text-decoration: underline;
}

.search-autocomplete__selected {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
  min-height: 24px;
}

.wp-child-theme-astra-child button:not(.choices__button) {
  padding: 10px 25px
}

.wp-child-theme-astra-child button[type=reset] {
  background-color: #fcfcfc;
  color: #111
}

.wp-child-theme-astra-child .leaflet-popup-content {
  margin: 0;
}