/* Common Style For BG Image Switcher */
.htmega-bg-image-switcher {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}
@media only screen and (max-width: 767px) {
  .htmega-bg-image-switcher {
    flex-wrap: nowrap;
    overflow: hidden;
    overflow-x: auto;
  }
}
.htmega-bg-image-switcher-background {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.htmega-bg-image-switcher-background img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: all 0.4s ease 0s;
  opacity: 0;
  -o-object-fit: cover;
     object-fit: cover;
}
.htmega-bg-image-switcher-background img.active {
  opacity: 1;
}
@media only screen and (max-width: 767px) {
  .htmega-bg-image-switcher-background img {
    width: 100%;
    width: 840px;
  }
}
.htmega-bg-image-switcher-item {
  overflow: hidden;
  flex: 1 0;
}
@media only screen and (max-width: 767px) {
  .htmega-bg-image-switcher-item {
    min-width: 280px;
  }
}
.htmega-bg-image-switcher-item-content {
  transition: all 0.4s ease 0s;
}
.htmega-bg-image-switcher-item-title {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  transition: all 0.4s ease 0s;
}
.htmega-bg-image-switcher-item-text {
  font-family: "Montserrat", sans-serif;
  line-height: 2;
  transition: all 0.4s ease 0s;
}
.htmega-bg-image-switcher-item-btn {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  display: inline-flex;
  transition: all 0.4s ease 0s;
  text-decoration: none;
}

.htmega-image-switcher-content {
  margin-left: 30px;
}
@media only screen and (max-width: 767px), only screen and (min-width: 768px) and (max-width: 991px) {
  .htmega-image-switcher-content {
    margin-left: 0px;
    margin-top: 30px;
  }
}
.htmega-image-switcher-content .htmega-image-switcher-sticker {
  font-weight: 600;
  font-size: 13px;
  line-height: 16px;
  color: #FFFFFF;
  background: linear-gradient(180deg, #F79E92 0%, #F85F4A 100%);
  border-radius: 100px;
  padding: 6px 17px;
}
.htmega-image-switcher-content .htmega-image-switcher-title {
  font-weight: 700;
  font-size: 36px;
  line-height: 48px;
  color: #000000;
  margin-top: 15px;
}
.htmega-image-switcher-content .htmega-image-switcher-description {
  margin-top: 15px;
  font-weight: 500;
  font-size: 16px;
  line-height: 26px;
  color: #626262;
}
a.htmega-bg-image-switcher-item-btn span.button-icon {
  margin-left: 10px;
}
.htmega-bg-image-switcher-item .htmega-bg-image-switcher-item-content {
  width: 100%;
}

/*---------------------------------
// switcher 2 style css
-----------------------------------*/
.htmega-bg-image-horizontal .htmega-bg-image-switcher-item {
  display: flex;
  align-items: flex-end;
  padding: 20px;
  background-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.75) 100%);
}
.htmega-bg-image-horizontal .htmega-bg-image-switcher-item:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.5);
}
.htmega-bg-image-horizontal .htmega-bg-image-switcher-item-content {
  transform: translateY(calc(100% - 25px));
}
.htmega-bg-image-horizontal .htmega-bg-image-switcher-item-title {
  font-size: 20px;
  margin-bottom: 10px;
  color: #FFFFFF;
}
.htmega-bg-image-horizontal .htmega-bg-image-switcher-item-text {
  font-size: 13px;
  margin-bottom: 20px;
  opacity: 0;
  color: #FFFFFF;
}
.htmega-bg-image-horizontal .htmega-bg-image-switcher-item-btn {
  font-size: 12px;
  padding: 5px 22px;
  opacity: 0;
  color: #000000;
  border-radius: 4px;
  background-color: #FFFFFF;
}
.htmega-bg-image-horizontal .htmega-bg-image-switcher-item.active .htmega-bg-image-switcher-item-content, 
.htmega-bg-image-horizontal .htmega-bg-image-switcher-item:hover .htmega-bg-image-switcher-item-content {
  transform: translateY(0);
}
.htmega-bg-image-horizontal .htmega-bg-image-switcher-item.active .htmega-bg-image-switcher-item-text, .htmega-bg-image-horizontal .htmega-bg-image-switcher-item.active .htmega-bg-image-switcher-item-btn, .htmega-bg-image-horizontal .htmega-bg-image-switcher-item:hover .htmega-bg-image-switcher-item-text, .htmega-bg-image-horizontal .htmega-bg-image-switcher-item:hover .htmega-bg-image-switcher-item-btn {
  opacity: 1;
}

/*---------------------------------
// switcher 3 style css
-----------------------------------*/
.htmega-bg-image-vertical {
  position: relative;
  z-index: 1;
  display: block;
  border-radius: 5px;
  overflow: hidden;
}
.htmega-bg-image-vertical .htmega-bg-image-switcher-item {
  display: flex;
  align-items: flex-end;
  border-bottom: 1px solid #FFFFFF;
  min-height: 172px;
  justify-content: flex-end;
}
.htmega-bg-image-vertical .htmega-bg-image-switcher-item:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.5);
}
.htmega-bg-image-vertical .htmega-bg-image-switcher-item-content {
  transform: translateY(calc(100% - 25px));
}
.htmega-bg-image-vertical .htmega-bg-image-switcher-item-title {
  font-weight: 500;
  font-size: 24px;
  line-height: 32px;
  margin-bottom: 10px;
  color: #FFFFFF;
}
.htmega-bg-image-vertical .htmega-bg-image-switcher-item-text {
  font-weight: 500;
  font-size: 15px;
  line-height: 30px;
  margin-bottom: 20px;
  opacity: 0;
  color: #FFFFFF;
}
.htmega-bg-image-vertical .htmega-bg-image-switcher-item-btn {
  font-size: 12px;
  padding: 5px 22px;
  opacity: 0;
  color: #FFFFFF;
  border-radius: 30px;
  background-color: transparent;
  border: 1px solid #FFFFFF;
}
.htmega-bg-image-vertical .htmega-bg-image-switcher-item-btn:hover {
  color: #000000;
  border: 1px solid #FFFFFF;
  background-color: #FFFFFF;
}
.htmega-bg-image-vertical .htmega-bg-image-switcher-item.active .htmega-bg-image-switcher-item-content, .htmega-bg-image-vertical .htmega-bg-image-switcher-item:hover .htmega-bg-image-switcher-item-content {
  transform: translateY(0);
}
.htmega-bg-image-vertical .htmega-bg-image-switcher-item.active .htmega-bg-image-switcher-item-text, .htmega-bg-image-vertical .htmega-bg-image-switcher-item.active .htmega-bg-image-switcher-item-btn, .htmega-bg-image-vertical .htmega-bg-image-switcher-item:hover .htmega-bg-image-switcher-item-text, .htmega-bg-image-vertical .htmega-bg-image-switcher-item:hover .htmega-bg-image-switcher-item-btn {
  opacity: 1;
}

.htmega-bg-image-hover .htmega-bg-image-switcher-item-content {
  padding: 40px;
  transform: translateY(calc(100% - 25px));
}
.htmega-bg-image-hover .htmega-bg-image-switcher-item.active .htmega-bg-image-switcher-item-content {
  transform: translateY(0);
}