﻿.sticky-newsletter {
  z-index: 999;
  width: 100px;
  overflow: visible;
  justify-content: center;
}
.sticky-newsletter.sticky-left {
  left: 0;
  right: auto;
  transform: translateX(-16%) rotate(90deg);
}
.newsletter-container {
  margin: 0;
}
.ui-dialog:before {
    display: none !important;
}
@media (max-width: 991px) {
  .sticky-newsletter.sticky-left {
    transform: translateX(-27%) rotate(90deg);
  }
}
.sticky-newsletter.sticky-right {
  right: 0;
  left: auto;
  transform: translateX(16%) rotate(-90deg);
}
@media (max-width: 991px) {
  .sticky-newsletter.sticky-right {
    transform: translateX(27%) rotate(-90deg);
  }
}
.sticky-newsletter .append {
  margin: 0 30px;
}
@media (max-width: 991px) {
  .sticky-newsletter .append {
    margin: 0 10px;
  }
}
.sticky-newsletter button {
  font-size: 17px;
  background: var(--secondary-color);
  border: none;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  height: 34px;
  position: relative;
}
.sticky-newsletter button span {
  font-size: 17px;
  line-height: 1.2;
  padding: 0 12px;
}
.sticky-newsletter button::before {
  content: "";
  display: block;
  position: absolute;
  border: 15px solid var(--secondary-color);
  border: 15px solid var(--button-color);
  left: 100%;
  border-right-color: transparent;
  border-top-color: transparent;
  border-right-width: 13px;
  border-left-width: 13px;
  bottom: 0;
}
.sticky-newsletter button::after {
  content: "";
  display: block;
  position: absolute;
  border: 15px solid var(--secondary-color);
  border: 15px solid var(--button-color);
  right: 100%;
  border-left-color: transparent;
  border-top-color: transparent;
  border-right-width: 13px;
  border-left-width: 13px;
  bottom: 0;
}
@media (max-width: 991px) {
  .sticky-newsletter button {
    height: 24px;
  }
  .sticky-newsletter button span {
    font-size: 14px;
    line-height: 1.2;
  }
  .sticky-newsletter button::before, .sticky-newsletter button::after {
    border-width: 10px;
    border-right-width: 4px;
    border-left-width: 4px;
  }
}

.newsletter-subscribe {
  width: 100%;
}
@media (max-width: 991px) {
  .newsletter-subscribe {
    text-align: center;
  }
}
.newsletter-subscribe .image {
  width: 100%;
}
.newsletter-subscribe .newsletter-email-info .newsletter-subscribe-box {
  height: 40px;
  padding: 10px;
  background: #FFFFFF;
  border: 1px solid #D9D9D9;
  border-radius: 3px;
  text-align: center;
}
@media (max-width: 991px) {
  .newsletter-subscribe .newsletter-email-info .newsletter-subscribe-box {
    width: 100%;
  }
}
.newsletter-subscribe .newsletter-email-info .newsletter-subscribe-button {
  background: var(--primary-color);
  border-color: var(--primary-color);
  border-radius: 3px;
  padding: 10px 40px;
}
.newsletter-subscribe .do-not-show-popup {
  text-align: center;
  margin: 10px 0;
}

.promotion-popup-modal,
.news-letter-popup-modal {
  z-index: 999;
  padding: 0;
  border: none !important;
  max-width: 850px;
}
@media (max-width: 991px) {
  .promotion-popup-modal,
  .news-letter-popup-modal {
    text-align: center;
    max-width: calc(100% - 60px);
  }
}
.promotion-popup-modal .image,
.news-letter-popup-modal .image {
  width: 100%;
  text-align: center;
}
.promotion-popup-modal .image img,
.news-letter-popup-modal .image img {
  width: auto;
  max-height: 60vh;
  max-width: 100%;
  width: 100%;
}
.promotion-popup-modal .close-button,
.news-letter-popup-modal .close-button {
  background: var(--secondary-color);
  height: 27px;
  width: 27px;
  transition: all .3s;
  top: 0;
  right: 0;
  border-radius: 0;
  border: none;
}
.promotion-popup-modal .news-letter-popup,
.news-letter-popup-modal .news-letter-popup {
  overflow: visible;
  padding: 0;
}
.promotion-popup-modal .news-letter-popup .container-left,
.news-letter-popup-modal .news-letter-popup .container-left {
  padding: 10px;
  overflow: hidden;
}
.promotion-popup-modal .news-letter-popup .container-left img,
.news-letter-popup-modal .news-letter-popup .container-left img {
  width: 100%;
  display: block;
}
.promotion-popup-modal .container-right img,
.news-letter-popup-modal .container-right img {
  height: auto;
  width: auto;
  max-width: 100%;
}
.promotion-popup-modal .popup-single-column,
.news-letter-popup-modal .popup-single-column {
  padding: 0 !important;
}
.promotion-popup-modal .do-not-show-popup,
.news-letter-popup-modal .do-not-show-popup {
  padding: 5px 15px;
  text-align: center;
}

.promotion-popup .text {
  padding: 15px;
}

.popup-modal-opened .sticky-newsletter {
  display: none;
}

.news-letter-popup-modal-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: auto;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.6);
}
.news-letter-popup-modal-wrapper .news-letter-popup-modal {
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%);
}

.promotion-popup-modal-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: auto;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.6);
}
.promotion-popup-modal-wrapper .promotion-popup-modal {
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%);
}
[for="hide-newsletter-popup"] {
    justify-content: center;
}

/*mobile view css only*/

@media (max-width: 768px) {
  .newsletter-container {
      padding: 20px 15px;
  }
}