:root {
  --global-btn-radius: 5px;
  --global-border-radius: 5px;
  --global-palette-highlight: var(--global-palette3);
  --global-palette-highlight-alt: var(--global-palette2);
  --global-palette-highlight-alt2: var(--global-palette9);
  --global-palette-btn-bg: var(--global-palette1);
  --global-palette-btn-bg-hover: var(--global-palette2);
  --global-palette-btn: var(--global-palette9);
  --global-palette-btn-hover: var(--global-palette9);
  --global-body-font-family: Jost, var(--global-fallback-font);
  --global-heading-font-family: Jost;
  --global-fallback-font: sans-serif;
  --global-content-width: 1650px;
  --global-content-narrow-width: 842px;
  --global-container-padding: 15px;
  --global-row-margin: -15px;
  --global-content-boxed-padding: 30px;
}

.row {
  --bs-gutter-x: 1.875rem;
  --bs-gutter-y: 0;
}

#base_newsletter {
  position: relative;
  margin: 0;
}

#base_newsletter .newsletter-content .title-wrapper {
  text-align: left;
  margin: 0px 0px 20px 0px;
}

#base_newsletter .newsletter-content .title-wrapper span {
  margin-bottom: 25px;
  display: block;
}

#base_newsletter .newsletter-form {
  position: relative;
  margin-bottom: 10px;
  display: flex;
  width: 100%;
}

#base_newsletter .newsletter-form .subscribe-btn {
  background: var(--global-palette-highlight);
  display: flex;
  align-items: center;
  justify-content: center;
}

#base_newsletter .newsletter-form .subscribe-btn:hover {
  color: var(--global-palette3);
  background: var(--global-palette-btn-bg-hover);
}

#base_newsletter .text-email {
  background-color: var(--global-palette9);
  width: 100%;
  padding: 12px 50px 12px 20px;
  border: 0;
  font-size: 15px;
  line-height: 24px;
  font-weight: 500;
}

#base_newsletter #notification-normal {
  position: absolute;
  z-index: 99;
}

#base_newsletter #notification-normal .alert-dismissible {
  padding-right: 2.2rem;
}

#base_newsletter .subscribe-btn .loading {
  background-color: var(--global-palette9);
  -webkit-mask-image: url(../image/loading.svg);
  mask-image: url(../image/loading.svg);
  -webkit-mask-size: 17px;
  mask-size: 17px;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: 50%;
  mask-position: 50%;
}

.newletter-popup {
  position: fixed !important;
  z-index: 9;
  display: none;
}

.newslatter-wrap {
  position: relative;
  width: 100%;
}

.newletter-popup .popupclose {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9;
  cursor: crosshair;
}

.newletter-popup #dialog {
  background-color: var(--bs-body-bg);
  bottom: 0;
  left: 0;
  margin: auto;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 9;
  height: 270px;
  width: 400px;
  max-width: 400px;
  padding: 0px;
  border-radius: var(--global-border-radius);
  overflow: auto;
}

.newletter-popup #dialog #popup {
  position: absolute;
  right: 40px;
  top: 10px;
  z-index: 99;
}

.newletter-popup #dialog #popup .b-close {
  display: inline-block;
  height: 30px;
  width: 30px;
  vertical-align: top;
  position: fixed;
  text-align: center;
  line-height: 30px;
  cursor: pointer;
  font-size: 22px;
  background: RGB(232 98 41);
}

.newletter-popup #dialog .newslatter-img {
  width: 100%;
}

.newletter-popup #dialog .newslatter-img img {
  border-radius: var(--global-border-radius) var(--global-border-radius) 0 0;
}

.newletter-popup #dialog .box {
  text-align: center;
  padding: 30px 15px;
  position: relative;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  justify-content: center;
}

.newsletter-wrapper-popup .newsletter-form-popup {
  display: flex;
  margin-bottom: 20px;
  gap: 10px;
}

.newletter-popup .newsletter-content-popup {
  width: 80%;
  display: flex;
}

.newletter-popup .box .newsletter-content-popup .title-wrapper {
  margin-bottom: 15px;
}

.newletter-popup .box .newsletter-content-popup .title-wrapper h5 {
  font-size: 30px;
  line-height: 38px;
  margin-bottom: 15px;
}

.newletter-popup .box .newsletter-content-popup .title-wrapper span {
  font-size: 14px;
  color: var(--global-palette6);
  margin-bottom: 10px;
  margin: 0 20px;
  display: block;
}

#base_newsletter .newsletter-wrapper-popup .text-email {
  position: relative;
  width: auto;
  height: 44px;
  border-radius: var(--global-btn-radius);
  background-color: var(--global-palette9);
  padding-inline: 15px 10px;
  border: 1px solid var(--border-color);
}

.newletter-popup #dialog .box .box-content #subscribe_popup a.button {
  margin-bottom: 30px;
}

.newletter-popup #dialog .box .box-content .subscribe-bottom #newsletter_popup_dont_show_again {
  display: inline-block;
  vertical-align: middle;
}

.subscribe-bottom label {
  cursor: pointer;
}

@media (max-width: 991px) {
  .newsletter-wrapper-popup .newsletter-form-popup .btn {
    padding: 11px 20px;
    font-size: 13px;
  }
}

@media (max-width: 767px) {
  #base_newsletter .newsletter-form .subscribe-btn span {
    display: block !important;
  }
}

@media (max-width: 630px) {
  .newletter-popup {
    overflow-y: auto;
    width: 300px;
    top: 0 !important;
    margin: 10px auto;
    height: 100%;
    background: none;
  }

  .newletter-popup #dialog {
    max-height: 420px;
    max-width: 300px;
  }

  .newletter-popup .newsletter-content-popup {
    width: 100%;
  }

  #base_newsletter .newsletter-wrapper-popup .text-email {
    width: 230px;
    height: 40px;
  }

  .newsletter-wrapper-popup .newsletter-form-popup .btn {
    padding: 7px 20px;
  }

  .newletter-popup #dialog .newslatter-img {
    width: 100%;
    background-size: cover;
    background-position: center;
  }

  .newletter-popup #dialog .newslatter-img img {
    border-radius: var(--global-border-radius);
  }

  .newletter-popup #dialog .box {
    width: 100%;
    margin: 0;
    padding: 20px;
  }

  .newletter-popup .box .newsletter-content-popup .title-wrapper h5 {
    font-size: 19px;
    line-height: 26px;
    margin-bottom: 10px;
  }

  .newletter-popup .box .newsletter-content-popup .title-wrapper span {
    font-size: 13px;
    line-height: 20px;
    margin: 0;
  }

  .newletter-popup .box .newsletter-content-popup .title-wrapper {
    margin-bottom: 10px;
  }

  .newsletter-wrapper-popup .newsletter-form-popup {
    flex-direction: column;
    gap: 5px;
  }
}