.home
  .elementor-loop-container
  .elementor-heading-title
  a:not(.elementor-post-info__terms-list-item) {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.loading-circle {
  border: 2px solid #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  display:inline-block;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Swiper Slider Styles for Homepage */
.swiper-slider {
  display: none;
}

.swiper-slider .swiper-navigation {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
  padding: 0px 10px;
}

.swiper-slider.nav-to-left .swiper-navigation {
  justify-content: left;
}

.swiper-slider.nav-to-right .swiper-navigation {
  justify-content: right;
}

.swiper-slider .swiper-navigation .swiper-pagination,
.swiper-slider .swiper-navigation .swiper-button-next,
.swiper-slider .swiper-navigation .swiper-button-prev {
  position: static;
  display: inline-block;
  margin: 0px;
}

.swiper-slider .swiper-navigation .swiper-pagination {
  width: auto;
  padding: 0 12px;
  display: flex;
  justify-content: center;
}

.swiper-slider .swiper-navigation .swiper-pagination .swiper-pagination-bullet {
  width: 7px;
  height: 7px;
  margin: 0px 4px;
}

.swiper-slider .swiper-navigation .swiper-button-next,
.swiper-slider .swiper-navigation .swiper-button-prev {
  background-size: 7px;
  border: 1.5px solid #dedede;
  border-radius: 50%;
  height: 27px;
  width: 27px;
}

.swiper-slider .swiper-navigation .swiper-button-next:hover,
.swiper-slider .swiper-navigation .swiper-button-prev:hover {
  background-color: #f1f1f1;
  border-color: #4c4c4c;
}

.swiper-slider .swiper-navigation .swiper-button-next {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 44'%3E%3Cpath d='M27 22L5 44l-2.1-2.1L22.8 22 2.9 2.1 5 0l22 22z' fill='%234c4c4c' /%3E%3C/svg%3E");
}

.swiper-slider .swiper-navigation .swiper-button-prev {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 44'%3E%3Cpath d='M0 22L22 0l2.1 2.1L4.2 22l19.9 19.9L22 44 0 22z' fill='%234c4c4c'/%3E%3C/svg%3E");
}

.elementor-widget-container .directorist-add-listing-wrapper{
  max-width:100% !important;
}

.directorist-add-listing-wrapper .directorist-container-fluid{
  padding-left:0px;
  padding-right:0px;
}

.directorist-add-listing-form .mce-container button:not(.wp-switch-editor) {
  background-color: transparent !important;
}

.directorist-add-listing-form #wp-listing_content-editor-tools button{
  background-color: #fff;
  color: #50575e;
}

.directorist-add-listing-form .html-active #wp-listing_content-editor-tools .switch-html,
.directorist-add-listing-form .tmce-active #wp-listing_content-editor-tools .switch-tmce{
  background-color: #f6f7f7 !important
}

.directorist-add-listing-form #wp-listing_content-editor-container .button{
  background-color: transparent !important;
  color: #50575e;
  border-color: #ccc;
}

.directorist-single .directorist-single-wrapper .directorist-single-info__label-icon{
  display:none !important;
}

.directorist-single .directorist-single-wrapper .directorist-single-info__label--text{
  font-weight:bold !important;
}

.wp-admin.post-type-at_biz_dir #gallery_upload .form-group:last-child{
  display:none;
}

.directorist-container, .directorist-container-fluid, .directorist-container-xxl, .directorist-container-xl, .directorist-container-lg, .directorist-container-md, .directorist-container-sm{
  padding-left:0px !important;
  padding-right:0px !important;
}

.directorist-content-active .directorist-type-nav__list li{
  margin-right:15px !important;
}

.directorist-add-listing-types__single__link{
  padding: 15px 0 !important;
  min-height: 85px !important; 
}

.directorist-btn.add-listing{
  height: 40px;
  padding-top: 10px;
  padding-bottom: 10px;
  min-height: 40px;
  margin-top: 5px;
  border: 1px solid #444752;
  margin-right: 7px;
  background: #873f41;
  color: #fff;
  font-weight: normal;
  margin-left: 5px;
}

.directorist-btn.add-listing:hover{
  background:#79383a;
}

.directory-gallery-lightbox{
  display:flex;
  position:relative;
}

.directory-gallery-lightbox .gallery-item-overlay{
  mix-blend-mode: initial;
  transition-duration: 800ms;
  transition-property: mix-blend-mode,transform,opacity,background-color;
  position: absolute;
  top:0px;
  right:0px;
  left:0px;
  bottom:0px;
}

.directory-gallery-lightbox:hover .gallery-item-overlay{ 
  background-color: rgba(0,0,0,0.5);
}

.single-at_biz_dir .directorist-single{
  margin-top:20px;
}

.directorist-add-listing-types .directorist-row > div a{
  background-color: #333333 !important;
}

.directorist-add-listing-types .directorist-row > div a:hover{
  background-color: #000000 !important;
  mix-blend-mode: initial;
  transition-duration: 800ms;
  transition-property: mix-blend-mode,transform,opacity,background-color;
}

/* 
.directorist-add-listing-types .directorist-row > div:nth-child(10n+1) a{
  background-color: #8B0000 !important; 
}

.directorist-add-listing-types .directorist-row > div:nth-child(10n+2) a{
  background-color: #FF8C00 !important;
}

.directorist-add-listing-types .directorist-row > div:nth-child(10n+3) a{
  background-color: #B8860B !important;
}

.directorist-add-listing-types .directorist-row > div:nth-child(10n+4) a{
  background-color: #006400 !important;
}

.directorist-add-listing-types .directorist-row > div:nth-child(10n+5) a{
  background-color: #00238b !important;
}

.directorist-add-listing-types .directorist-row > div:nth-child(10n+6) a{
  background-color: #4B0082 !important;
}

.directorist-add-listing-types .directorist-row > div:nth-child(10n+7) a{
  background-color: #8B008B !important;
}

.directorist-add-listing-types .directorist-row > div:nth-child(10n+8) a{
  background-color: #333333 !important;
}

.directorist-add-listing-types .directorist-row > div:nth-child(10n+9) a{
  background-color: #2F4F4F !important;
}

.directorist-add-listing-types .directorist-row > div:nth-child(10n+10) a{
  background-color: #696969 !important;
} */


.directorist-user-dashboard #directorist-dashboard-preloader{
  background-color: rgba(255, 255, 255, 0.5);
}

.directorist-user-dashboard a[target="dashboard_profile"],
.directorist-user-dashboard a[target="dashboard_announcement"],
.directorist-user-dashboard a[target="packages"],
.directorist-user-dashboard a[target="order_history"],
.directorist-user-dashboard .directorist-btn--add-listing,
.directorist-user-dashboard .directorist-btn--logout {
  display:none !important;
}

@media (max-width: 767px) {
  .directorist-details-info-wrap .directorist-single-info .directorist-single-info__label {
    width: 100%;
  }
}



@media only screen and (max-width: 767px) {
  .swiper-slider.nav-to-left .swiper-navigation {
    justify-content: center !important;
  }

  .sgl-related-content section.sgl-videos-scroller .sgl-container{
    padding:0px 15px !important;
  }
  
  .sgl-related-content section.sgl-videos-scroller .sgl-title-section h1 span{
    font-size: 23px !important;
    line-height:26px !important;
  }
}

/* END - Swiper Slider Styles for Homepage */

/* Swiper Slider Styles for Gallery */

.display-gallery .swiper {
  width: 100%;
}

.display-gallery .swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 460px;
  height: 300px;
  background-size: cover;
  object-fit: cover;
  background-position: center center;
}

.display-gallery .swiper-slide img {
  display: block;
  width: 460px;
  height: 300px;
  object-fit: cover;
  object-position: center center;
}

.display-gallery .swiper {
  margin-left: auto;
  margin-right: auto;
}

.display-gallery .swiper-button-prev {
  left: 20px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 44'%3E%3Cpath d='M0 22L22 0l2.1 2.1L4.2 22l19.9 19.9L22 44 0 22z' fill='%23f3f3f3'/%3E%3C/svg%3E");
  left: 20px !important;
}

.display-gallery .swiper-button-next {
  right: 20px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 44'%3E%3Cpath d='M27 22L5 44l-2.1-2.1L22.8 22 2.9 2.1 5 0l22 22z' fill='%23f3f3f3' /%3E%3C/svg%3E");
  right: 20px !important;
}

/* Overlay Portion */
.display-gallery .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  background: rgb(0, 0, 0);
  background: rgba(0, 0, 0, 0.6); /* Black see-through */
  color: #f1f1f1;
  width: 100%;
  transition: 0.5s ease;
  padding: 15px 20px 15px 20px;
  align-items: center;
}

/* Gallery Title */
.display-gallery .overlay .title_text {
  text-align: center;
  --e-global-typography-primary-font-family: "Playfair Display";
  font-size: 18px;
  font-weight: 500;
  --e-global-typography-primary-line-height: 58px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Author Name and Date */
.display-gallery .overlay .description_text {
  text-align: center;
  --e-global-typography-766ee3c-font-family: "Work Sans";
  font-size: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Number text (1/3 etc) */
.display-gallery .number_of_images {
  background: rgb(0, 0, 0);
  background: rgba(135, 63, 65, 0.9); /* Black see-through */
  color: #f2f2f2;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 12px;
  position: absolute;
  top: 0;
  left: 0;
}

@media screen and (max-width: 992px) {
  .display-gallery .swiper-slide {
    width: 100%;
    height: 300px;
  }
}

/* END - Swiper Slider Styles for Gallery */

/* START - Loop Grid for the Sub Categories in Feature Category Page */

/* START - Articles Styling */

.elementor-276502 .elementor-element.elementor-element-079531c {
  --flex-direction: row;
  --container-widget-width: initial;
  --container-widget-height: 100%;
  --container-widget-flex-grow: 1;
  --container-widget-align-self: stretch;
  --background-transition: 0.3s;
  --padding-top: 0px;
  --padding-right: 0px;
  --padding-bottom: 0px;
  --padding-left: 0px;
}

.elementor-276502 .elementor-element.elementor-element-5d203d3 {
  --width: 40%;
  --background-transition: 0.3s;
  --padding-top: 0px;
  --padding-right: 0px;
  --padding-bottom: 0px;
  --padding-left: 0px;
}

.elementor-276502 .elementor-element.elementor-element-5d203d3.e-con {
  --flex-grow: 0;
  --flex-shrink: 0;
}

.elementor-276502 .elementor-element.elementor-element-2bc33fe {
  --gap: 5px;
  --background-transition: 0.3s;
  --padding-top: 0px;
  --padding-right: 0px;
  --padding-bottom: 0px;
  --padding-left: 0px;
}

.elementor-276502
  .elementor-element.elementor-element-c51508e
  .elementor-icon-list-icon {
  width: 14px;
}

.elementor-276502
  .elementor-element.elementor-element-c51508e
  .elementor-icon-list-icon
  i {
  font-size: 14px;
}

.elementor-276502
  .elementor-element.elementor-element-c51508e
  .elementor-icon-list-icon
  svg {
  --e-icon-list-icon-size: 14px;
}

.elementor-276502
  .elementor-element.elementor-element-c51508e
  .elementor-icon-list-text,
.elementor-276502
  .elementor-element.elementor-element-c51508e
  .elementor-icon-list-text
  a {
  color: var(--e-global-color-text);
}

.elementor-276502
  .elementor-element.elementor-element-c51508e
  .elementor-icon-list-item {
  font-family: var(--e-global-typography-c3570ed-font-family), Sans-serif;
  font-size: var(--e-global-typography-c3570ed-font-size);
  font-weight: var(--e-global-typography-c3570ed-font-weight);
  line-height: var(--e-global-typography-c3570ed-line-height);
  letter-spacing: var(--e-global-typography-c3570ed-letter-spacing);
  word-spacing: var(--e-global-typography-c3570ed-word-spacing);
}

.elementor-276502
  .elementor-element.elementor-element-4ed4246
  .elementor-heading-title {
  color: var(--e-global-color-text);
  font-family: "Playfair Display", Sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 22px;
}
@media (max-width: 1024px) {
  .elementor-276502
    .elementor-element.elementor-element-c51508e
    .elementor-icon-list-item {
    font-size: var(--e-global-typography-c3570ed-font-size);
    line-height: var(--e-global-typography-c3570ed-line-height);
    letter-spacing: var(--e-global-typography-c3570ed-letter-spacing);
    word-spacing: var(--e-global-typography-c3570ed-word-spacing);
  }
}
@media (max-width: 767px) {
  .elementor-276502 .elementor-element.elementor-element-94486d1 {
    width: 100%;
    max-width: 100%;
  }

  .elementor-276502
    .elementor-element.elementor-element-c51508e
    .elementor-icon-list-item {
    font-size: var(--e-global-typography-c3570ed-font-size);
    line-height: var(--e-global-typography-c3570ed-line-height);
    letter-spacing: var(--e-global-typography-c3570ed-letter-spacing);
    word-spacing: var(--e-global-typography-c3570ed-word-spacing);
  }

  .elementor-276502 .elementor-element.elementor-element-5d203d3 {
    --width: 100% !important;
    --background-transition: 0.3s;
    --padding-top: 0px;
    --padding-right: 0px;
    --padding-bottom: 0px;
    --padding-left: 0px;
  }

  .elementor-276502 .elementor-element.elementor-element-94486d1 img {
    width: 720px !important;
  }
}
/* END - Articles Styling */

/* START - Category Portion Styling */
.elementor-276763 .elementor-element.elementor-element-4c20adf {
  --gap: 0px;
  --background-transition: 0.3s;
  --padding-top: 0px;
  --padding-right: 0px;
  --padding-bottom: 0px;
  --padding-left: 0px;
}
.elementor-276763 .elementor-element.elementor-element-5378b97 {
  --divider-border-style: solid;
  --divider-color: #000;
  --divider-border-width: 1.5px;
}

.elementor-276763
  .elementor-element.elementor-element-5378b97
  .elementor-divider-separator {
  width: 100%;
}

.elementor-276763
  .elementor-element.elementor-element-5378b97
  .elementor-divider {
  padding-top: 2px;
  padding-bottom: 2px;
}
.elementor-276763 .elementor-element.elementor-element-84cfc53 {
  --flex-direction: row;
  --container-widget-width: calc(
    (1 - var(--container-widget-flex-grow)) * 100%
  );
  --container-widget-height: 100%;
  --container-widget-flex-grow: 1;
  --container-widget-align-self: stretch;
  --justify-content: space-between;
  --align-items: center;
  --gap: 10px;
  --background-transition: 0.3s;
  --margin-top: 0px;
  --margin-right: 0px;
  --margin-bottom: 0px;
  --margin-left: 0px;
  --padding-top: 0px;
  --padding-right: 0px;
  --padding-bottom: 0px;
  --padding-left: 0px;
}
.elementor-276763 .elementor-element.elementor-element-589f5b1 {
  text-align: left;
  width: auto;
  max-width: auto;
}

.elementor-276763
  .elementor-element.elementor-element-589f5b1
  .elementor-heading-title {
  color: var(--e-global-color-text);
  font-family: "Work Sans", Sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
}

.elementor-276763
  .elementor-element.elementor-element-589f5b1
  > .elementor-widget-container {
  padding: 3px 0px 0px 0px;
  border-style: none;
}
.elementor-276763 .elementor-element.elementor-element-d4820c1 {
  text-align: right;
  width: auto;
  max-width: auto;
}

.elementor-276763
  .elementor-element.elementor-element-d4820c1
  .elementor-heading-title {
  color: #1295b1;
  font-family: "Work Sans", Sans-serif;
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
}
@media (max-width: 767px) {
  .elementor-276763 .elementor-element.elementor-element-84cfc53 {
    --flex-direction: row;
    --container-widget-width: initial;
    --container-widget-height: 100%;
    --container-widget-flex-grow: 1;
    --container-widget-align-self: stretch;
  }
}
/* END - Category Portion Styling */

/* END - Loop Grid for the Sub Categories in Feature Category Page */

/* START - Menu for Feature Category Page */

nav.category_menu ul {
  list-style: none;
  display: flex;
  margin-left: -40px;
}

nav.category_menu a {
  display: block;
  text-align: center;
  padding: 16px;
  text-decoration: none;
  color: black;
  font-weight: 400;
  font-family: "Work Sans";
  font-size: 17px;
}

nav.category_menu a:hover {
  border-bottom: 3px solid #6f3739;
  color: #873f41;
}

nav.category_menu ul li:hover > ul {
  display: flex;
  flex-direction: column;
}

/* Add styles for the toggle button */
nav.category_menu .menu-toggle {
  display: none; /* Hide the toggle button by default */
}

.menu-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media screen and (max-width: 1054px) {
  /* ... */

  /* Display the toggle button */
  nav.category_menu .menu-toggle {
    display: block;
    padding: 10px;
    color: black;
    font-weight: 400;
    font-family: "Work Sans";
    font-size: 17px;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  /* Hide the menu by default */
  nav.category_menu ul {
    display: none;
    flex-direction: column;
  }

  /* Display the menu when the toggle button is checked */
  nav.category_menu #menu-toggle:checked ~ ul {
    display: flex;
  }

  /* Hide the toggle button when the menu is displayed */
  /* nav.category_menu #menu-toggle:checked ~ .menu-toggle {
    display: none;
  } */
}

/* END - Menu for Feature Category Page */

/* Start - All Galleries Page */

.galleries {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
}

.all-galleries-grid {
  flex-basis: 50%;
}

.all-galleries-grid .swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 96%;
  height: auto;
  background-size: cover;
  object-fit: cover;
  background-position: center center;
  margin: 20px 10px;
}

.all-galleries-grid .swiper-slide img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center center;
}

/* Overlay Portion */
.all-galleries-grid .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  color: #f1f1f1;
  width: 100%;
  transition: 0.5s ease;
  padding: 200px 20px 15px 20px;
  align-items: center;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 50%,
    rgba(0, 0, 0, 0.65) 100%
  );
}

/* Gallery Title */
.all-galleries-grid .overlay .title_text {
  text-align: center;
  --e-global-typography-primary-font-family: "Playfair Display";
  font-size: 18px;
  font-weight: 500;
  --e-global-typography-primary-line-height: 58px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Author Name and Date */
.all-galleries-grid .overlay .description_text {
  text-align: center;
  --e-global-typography-766ee3c-font-family: "Work Sans";
  font-size: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.all-galleries-grid .number_of_images {
  background: rgb(0, 0, 0);
  background: rgba(135, 63, 65, 0.9); /* Black see-through */
  color: #f2f2f2;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 12px;
  position: absolute;
  top: 0;
  left: 0;
}

.button-div {
  height: 200px;
  position: relative;
}

.show-more-button {
  fill: var(--e-global-color-text) !important;
  color: var(--e-global-color-text) !important;
  background-color: var(--e-global-color-4d1d592) !important;
  border-style: solid !important;
  border-width: 1px 1px 1px 1px !important;
  border-color: var(--e-global-color-c13dc9d) !important;
  position: absolute;
  top: 30px;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.show-more-button:hover {
  font-family: var(--e-global-typography-99d5b50-font-family), Sans-serif !important;
  font-size: var(--e-global-typography-99d5b50-font-size) !important;
  font-weight: var(--e-global-typography-99d5b50-font-weight) !important;
  line-height: var(--e-global-typography-99d5b50-line-height) !important;
  letter-spacing: var(--e-global-typography-99d5b50-letter-spacing) !important;
  word-spacing: var(--e-global-typography-99d5b50-word-spacing) !important;
  color: var(--e-global-color-8ed98f9) !important;
  background-color: var(--e-global-color-accent) !important;
  border-radius: 3px 3px 3px 3px;
}

.loading-div {
  height: 200px;
  position: relative;
}

.loading-spinner {
  position: absolute;
  top: 30px;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

@media only screen and (max-width: 1024px) {
  .all-galleries-grid .swiper-slide {
    width: 96%;
    height: 300px;
  }
  .all-galleries-grid {
    flex-basis: 50%;
  }
}

@media only screen and (max-width: 500px) {
  .all-galleries-grid .swiper-slide {
    width: 100%;
    height: auto;
  }
  .all-galleries-grid {
    flex-basis: 100%;
  }
  .all-galleries-grid .swiper-slide {
    margin: 10px 10px;
    background-size: 560px auto;
  }
  .all-galleries-grid .swiper-slide img {
    width: 460px;
    height: auto;
  }
}

/* End - All Galleries Page */

/* START - Gallery grid */
.gallery-grid {
  display: grid;
  grid-template-columns: auto auto auto;
  gap: 04px;
}

.gallery-grid-row .swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  background-size: cover;
  object-fit: cover;
  background-position: center center;
}

.gallery-grid-row .swiper-slide img {
  display: block;
  width: 460px;
  height: 259px;
  object-fit: cover;
  object-position: center center;
}

.gallery-details {
  color: var(--e-global-color-text);
  font-family: "Work Sans", Sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 16px;
}

.coth-advertisement iframe, iframe[src^="https://www.facebook.com"]
{
  width: revert-layer !important;
}

.ngg_custom_template_top_container {
  background-color: #f3f3f3;
  padding-top: 10px;
  padding-bottom: 10px;
  margin-bottom: 10px;
}
.ngg_custom_template_title {
  color: black;
  font-family: "Playfair Display", Sans-serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 24px;
  text-align: center;
}
.ngg_custom_template_author_and_date {
  color: black;
  font-family: "Playfair Display", Sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 16px;
  text-align: center;
}

.ngg_custom_template-grid {
  display: grid;
  grid-template-columns: auto auto auto;
  gap: 04px;
}

.ngg_custom_template-grid .ngg_custom_template-grid-row {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  background-size: cover;
  object-fit: cover;
  background-position: center center;
}

.ngg_custom_template-grid-row .ngg-grid-item img {
  display: block;
  width: 460px;
  height: 259px;
  object-fit: cover;
  object-position: center center;
}

@media only screen and (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: auto auto;
  }

  .ngg_custom_template-grid {
    grid-template-columns: auto auto;
  }
}

@media only screen and (max-width: 1024px) and (min-width: 724px) {
  .ngg_custom_template-grid-row .ngg-grid-item img {
    width: 500px;
    height: 300px;
  }
}

@media only screen and (max-width: 500px) {
  .gallery-grid {
    grid-template-columns: auto;
  }

  .gallery-grid-row .swiper-slide img {
    height: auto;
  }

  .ngg_custom_template-grid {
    grid-template-columns: auto;
  }

  .ngg_custom_template-grid-row .ngg-grid-item img {
    height: auto;
  }
}

a.acf-icon.-duplicate.small.light.acf-js-tooltip {
  display: none;
}

a.acf-icon.-plus.small.light.acf-js-tooltip {
  display: none;
}

.acf-flexible-content > .clones {
  display: none !important;
}

.acf-flexible-content.-empty > .no-value-message {
  display: none !important;
}

.acf-field.acf-field-flexible-content.acf-field-643d2066fd862 .acf-label label {
  display: none;
}

#pedigree {
  position: relative;
  overflow-x: scroll;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

#pedigree::-webkit-scrollbar {
  display: none;
}

#pedigree::-ms-scrollbar {
  display: none;
}

#pedigree .tree_chart {
  position: relative;
  font: 16px Verdana, sans-serif;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  overflow: hidden;
  overflow-x: auto;
  padding: 0 0 30px;
}

#pedigree .label.first {
  display: none;
}

#pedigree .branch_lv1 {
  margin-left: 10px;
}

#pedigree .branch {
  position: relative;
  margin-left: 200px;
}

#pedigree .branch:before {
  content: "";
  width: 37px;
  border-top: 2px solid #c0c0c0;
  position: absolute;
  left: -60px;
  top: 50%;
  margin-top: 1px;
}

#pedigree .branch_max {
  position: relative;
  margin-left: 200px;
}

#pedigree .branch_max:before {
  content: "";
  width: 60px;
  border-top: 2px solid #c0c0c0;
  position: absolute;
  left: -60px;
  top: 50%;
  margin-top: 1px;
}

#pedigree .label {
  display: block;
  width: 140px;
  padding: 5px;
  line-height: 20px;
  text-align: center;
  border: 2px solid #000;
  border-radius: 5px;
  position: absolute;
  left: 0;
  top: 50%;
  margin-top: -15px;
  font-size: 12px;
  color: #000;
}

#pedigree .entry {
  position: relative;
  min-height: 60px;
}

#pedigree .entry:first-child:before {
  width: 10px;
  height: 50%;
  top: 50%;
  margin-top: 2px;
  border-radius: 10px 0 0 0;
}

#pedigree .entry:first-child:after {
  height: 10px;
  border-radius: 10px 0 0 0;
}

#pedigree .entry:last-child:before {
  width: 10px;
  height: 50%;
  border-radius: 0 0 0 10px;
}

#pedigree .entry:last-child:after {
  height: 10px;
  border-top: none;
  border-bottom: 2px solid #c0c0c0;
  border-radius: 0 0 0 10px;
  margin-top: -9px;
}

#pedigree .entry:after {
  content: "";
  width: 25px;
  border-top: 2px solid #c0c0c0;
  position: absolute;
  left: -25px;
  top: 50%;
  margin-top: 1px;
}

#pedigree .entry:before {
  content: "";
  height: 100%;
  border-left: 2px solid #c0c0c0;
  position: absolute;
  left: -25px;
}

#pedigree .entry_first {
  position: relative;
  min-height: 60px;
}

#pedigree .entry_first:first-child:before {
  width: 10px;
  height: 50%;
  top: 50%;
  margin-top: 2px;
  border-radius: 10px 0 0 0;
}

#pedigree .entry_first:first-child:after {
  height: 10px;
  border-radius: 10px 0 0 0;
}

#pedigree .entry_first:last-child:before {
  width: 10px;
  height: 50%;
  border-radius: 0 0 0 10px;
}

#pedigree .entry_first:last-child:after {
  height: 10px;
  border-top: none;
  border-radius: 0 0 0 10px;
  margin-top: -9px;
}

#pedigree .entry_first:after {
  content: "";
  width: 25px;
  position: absolute;
  left: -25px;
  top: 50%;
  margin-top: 1px;
}

#pedigree .entry_first:before {
  content: "";
  height: 100%;
  position: absolute;
  left: -25px;
}

#pedigree .entry_sole {
  position: relative;
  min-height: 60px;
}

#pedigree .entry_sole:first-child:before {
  width: 10px;
  height: 50%;
  top: 50%;
  margin-top: 2px;
  border-radius: 10px 0 0 0;
}

#pedigree .entry_sole:first-child:after {
  height: 10px;
  border-radius: 10px 0 0 0;
}

#pedigree .entry_sole:last-child:before {
  width: 10px;
  height: 50%;
  border-radius: 0 0 0 10px;
}

#pedigree .entry_sole:last-child:after {
  height: 10px;
  border-top: none;
  border-radius: 0 0 0 10px;
  margin-top: -9px;
}

#pedigree .entry_sole:before {
  content: "";
  height: 100%;
  position: absolute;
  left: -25px;
}

#pedigree .entry_sole:after {
  width: 25px;
  height: 0;
  margin-top: 1px;
  border-radius: 0;
}

#collected_user_data_table {
  border-collapse: collapse;
  width: 100%;
}

#collected_user_data_table td,
#collected_user_data_table th {
  border: none;
  padding: 8px;
}

#collected_user_data_table tr:nth-child(odd) {
  background-color: #f6f7f7;
}

#collected_user_data_table tr:nth-child(even) {
  background-color: #ffffff;
}

#collected_user_data_table td {
  padding: 8px 10px 50px 10px !important;
  padding-bottom: 2;
  font-size: 13px;
  line-height: 1.5em;
}

#collected_user_data_table th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: #ffffff;
  color: black;
  text-align: left;
  line-height: 1.4em;
  font-size: 14px;
  font-weight: 400;
}

#collected_user_data_table thead {
  border: 1px solid #c3c4c7;
}

#collected_user_data_table .row-title {
  font-size: 14px !important;
  font-weight: 600;
  color: #2271b1;
}

#collected_user_data_table tbody {
  border: solid 1px #d2d3d5;
}

#filters .filter_label {
  font-size: 14px;
  line-height: 2;
  color: #2c3338;
  border-color: #8c8f94;
  box-shadow: none;
  border-radius: 3px;
  padding-right: 05px;
  min-height: 30px;
  max-width: 25rem;
  -webkit-appearance: none;
  background-size: 16px 16px;
  cursor: pointer;
  vertical-align: top;
  margin-right: 5px;
}

label.filter_label {
  margin-right: 5px;
}

.align_left_items {
  margin-right: 10px;
  margin-bottom: 0px;
  padding-top: 20px;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

/* Clear floats after the columns */
.magazine_modal .row::after {
  content: "";
  display: table;
  clear: both;
}

p .add_magazine_box {
  float: right;
  margin: 0;
}

p .add_magazine_box .add_subscription_button {
  vertical-align: baseline;
}
*/ .magazine_subscription_link {
  color: #2271b1;
}

/* The Modal */
.magazine-add-modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
}

/* Modal Content/Box */
.magazine-add-modal .modal-content {
  position: relative;
  margin: 10% auto;
  padding: 0px;
  width: 70%;
  max-width: 500px;
  background-color: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.7);
}

/* Header */
.magazine-add-modal .modal-header {
  padding: 5px 0px;
  text-align: center;
  /* background-image: linear-gradient(#f2f2f2, #b3bfcb); */
  border-bottom: 1px solid #dcdcde;
}

.magazine-add-modal .modal-header h2 {
  padding: 0 16px;
  font-size: 22px;
  line-height: 2.27272727;
  margin: 0;
}

/* Footer */
.magazine-add-modal .modal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  /* background-color: #f8f4f4; */
  border-top: 1px solid #dcdcde;
}

/* Button Group */
.magazine-add-modal .button-group {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.magazine-add-modal .submit-btn,
.magazine-add-modal .close-btn {
  margin-left: 05px;
  border-radius: 3px !important;
}

/* Close Button */
.magazine-add-modal .close {
  position: absolute;
  top: 10px;
  right: 10px;
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.magazine-add-modal .close:hover,
.magazine-add-modal .close:focus {
  color: #333;
}

.magazine-add-modal .row {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding-bottom: 10px;
}

.magazine-add-modal label {
  min-width: 90px;
  text-align: start;
}

.magazine-add-modal input[type="text"]{
  width:300px;
}

.magazine-add-modal #user_container label{
  position:relative;
  top:-2px;
}

input#magazine_valid_till,
#magazine_user_name {
  width: -webkit-fill-available;
}

.magazine-add-modal .modal-body {
  padding: 20px 30px;
}

@media only screen and (max-width: 1000px) {
  .magazine-add-modal .modal-content {
    margin-top: 30%;
  }
}

@media only screen and (max-width: 500px) {
  .magazine-add-modal .modal-content {
    width: 95%;
    margin-top: 50%;
  }
  .magazine-add-modal .modal-body {
    padding: 10px;
  }
  .magazine-add-modal .modal-footer {
    padding: 10px;
  }
}

select#date_type {
  font-size: 14px;
  line-height: 2;
  color: #2c3338;
  border-color: #8c8f94;
  box-shadow: none;
  border-radius: 3px;
  min-height: 30px;
  -webkit-appearance: none;
  background-size: 16px 16px;
  cursor: pointer;
  vertical-align: top;
}

#magazine_subscription_filters {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

#magazine_subscription_filters .filter_item {
  display: flex;
  align-items: center;
  margin: 0px 5px;
}

#magazine_subscription_filters .filter_button {
  max-height: 0px;
  align-self: center;
  margin-top:-1px;
}

@media only screen and (max-width: 415px) {
  input#search_by_date {
    max-width: 180px;
  }
  #magazine_subscription_filters {
    flex-direction: column;
  }
  #magazine_subscription_filters .filter_button {
    align-self: start;
    margin-left: 40px;
  }
}

.show_magazine_user_email {
  display: none;
}

.show_magazine_user_id {
  display: block;
}

.magazine-subscription-error-msg {
  display: none;
  color: red;
}

div#user_container {
  width: -webkit-fill-available;
  overflow: scroll;
}

@media only screen and (max-width: 782px) {
  .show_magazine_user_email {
    display: block;
  }
  .show_magazine_user_id {
    display: none;
  }
}

.magazine-table-spinner-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex !important;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  display: block;
  background: #fff;
  border: 1px solid #ccc;
  padding: 12px 20px;
  border-radius: 5px;
  box-shadow: 1px 1px 1px #ccc;
  gap: 12px;
}

.magazine-table-spinner {
  flex: 0 0 auto;
  margin-right: 1rem;
}

.magazine-table-spinner img {
  display: block;
  margin: 0 auto;
}

.magazine-table-spinner-loading-message {
  flex: 1 1 auto;
  font-size: 16px;
  color: #666;
}

.magazine-table-spinner-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  z-index: 9998;
  display: block;
}

.magazine_cancel_subscription_button {
  visibility: hidden;
}

.wp-block-pullquote {
  border-top: 4px solid;
  border-bottom: 4px solid;
  margin-bottom: 1.75em;
  color: currentColor;
}

/* Single Video */
.popup-card-deck .popup-card-item .bar{
  background-color: #3E272D !important;
}

.popup-card-deck .popup-card-item .popup-card .popup-card-body .cancelBtn,
.popup-card-deck .popup-card-item .popup-card .popup-card-body .btn{
  background-color: #873F41 !important;
  color: #ffffff !important;
}

.popup-card-deck .popup-card-item .popup-card .popup-card-body .forgot_password_link,
.popup-card-deck .popup-card-item .popup-card .popup-card-body .register_link,
.popup-card-deck .popup-card-item .popup-card a{
  color: #c36 !important;
}

.popup-card-deck .popup-card-item .popup-card .popup-card-header .popup-card-title{
  font-family: "Playfair Display" !important;
  color: #873F41 !important;
}

.popup-card-deck .popup-card-item{
  font-family: "Work Sans", sans-serif !important;
}

.sgl-single-video .sgl-single-video-wrapper .sgl-column, .sgl-single-video .sgl-video-details{
  width: 100% !important;
}

.sgl-single-video * {
  font-family: "Playfair Display" !important;
}

.sgl-single-video .sgl-single-video-wrapper{
  background-color: transparent !important;
}

.sgl-video-section:not(.for-article) .sgl-single-video .sgl-single-video-wrapper{
  border-bottom: 1px solid #F3F3F3 !important;
}


.sgl-related-content section.sgl-videos-scroller .sgl-videos-scroller-box::after,
.sgl-related-content section.sgl-videos-scroller .sgl-videos-scroller-box::before {
    background: #F3F3F3 !important;
}

.sgl-single-video .sgl-video-details .sgl-details .sgl-date span{
  font-weight: bold !important;
  color: #000000 !important;
  font-family: "Work Sans", sans-serif !important;
  font-size:17px !important;
  line-height: 20px !important;
}

.sgl-related-content section.sgl-videos-scroller .sgl-title-section h1 span{
  font-size:33px !important;
  line-height:36px !important;
}

.sgl-related-content section.sgl-videos-scroller .sgl-title-section h1 span:after{
  display: none !important;
}

.sgl-single-video .sgl-login-bar .sgl-login-bar-inner li a.alt,
.sgl-single-video .sgl-login-bar .sgl-login-bar-inner li a{
    font-family: "Work Sans", sans-serif !important;
}

.sgl-single-video .sgl-video-details .sgl-details .sgl-video-status{
  font-family: "Work Sans", sans-serif !important;
}

section.sgl-videos-scroller.geg .owl-carousel{
  display: block !important;
}
/* Single Video */

/* Video All */
.sgl-view-all * {
  font-family: "Work Sans", sans-serif !important;
}

.sgl-view-all .sgl-title-section{
  background-color: #3E272D !important;
}

.sgl-view-all .sgl-title-section h1 span{
  font-family: "Playfair Display" !important;
  font-size: 32px !important;
}

.sgl-view-all .card-deck{
  padding: 15px 0px !important;
}

.sgl-view-all .card-deck .sgl-standard-post .sgl-post-content h2 a{
  font-family: "Playfair Display" !important;
  font-size: 18px !important;
}

.sgl-video-section.for-article .sgl-single-video .sgl-single-video-wrapper{
  background:none !important;
  padding-bottom:0px;
}

.sgl-video-section.for-article .sgl-single-video .sgl-single-video-wrapper .sgl-column {
  width: 100% !important;
  padding: 0px !important;
}

.sgl-video-section.for-article .sgl-single-video .sgl-column .sgl-row{
  margin-bottom:0px;
}

@media (max-width: 767px){
  .sgl-single-video.coth .sgl-column, .sgl-single-video.coth .sgl-video-details{
    padding-left:0px !important;
    padding-right:0px !important;
  }
  .sgl-single-video.coth .sgl-video-details .sgl-details .sgl-date span{
    font-size:15px !important;
  }
  section.sgl-videos-scroller.coth .sgl-title-section h1 span{
    font-size:20px !important;
  }
  .sgl-single-video.coth .sgl-video-details .sgl-details .sgl-video-title {
    color: #000;
  }
  section.sgl-videos-scroller.coth .sgl-title-section{
    margin-bottom:20px !important;
  }
  section.sgl-videos-scroller.coth .sgl-standard-post .sgl-post-content h2 a{
    font-size:18px !important;
  }
  .sgl-view-all .sgl-title-section h1 span{
    font-size: 24px !important;
  }
}

/* Video All */

/* Video Livestream */
.sgl-video-section .sgl-plugin-page {
  padding: 20px 0px !important;
}

.sgl-video-section .sgl-plugin-page .liveclasscss .sgl-primary-header th {
  background-color: #3E272D !important;
}
/* Video Livestream */

figcaption{
  font-size: 16px;
  color: #333;
  line-height: 1.4;
  font-style: italic;
  font-weight: 400;
  text-align: center;
}

@media screen and (max-width: 600px) {
  .magazine-table-spinner-container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .magazine-table-spinner-spinner {
    margin-right: 0;
    margin-bottom: 1rem;
  }

  .magazine-table-spinner-loading-message {
    text-align: center;
  }
}

#article_content{
  display: none;
}

.cky-notice .cky-title{
  margin:0px !important;
}


/* Paywall Dialog Styles */
.paywall-dialog{
  padding:30px 40px;
  background-color:#fff !important;
  -webkit-box-shadow: 0px 0px 24px 0px rgba(0,0,0,0.49);
  -moz-box-shadow: 0px 0px 24px 0px rgba(0,0,0,0.49);
  box-shadow: 0px 0px 24px 0px rgba(0,0,0,0.49);
  font-weight:bold;
  border:2px dashed #CC3366;
}

.paywall-dialog h3{
  font-size:26px;
  font-weight:bold;
  border-bottom:1px solid #ccc;
  margin:0 0 10px 0;
  padding: 0px 0px 10px 0px;
  color:#CC3366;
}

.paywall-dialog .paywall-email{
  margin: 5px 0px;
  width: 100% !important;
  max-width:400px;
  border: 1px solid #ccc !important;
  display: block;
}

.paywall-dialog .paywall-button{
  display:flex;
  border:none;
  margin-top:10px !important;
  align-items: center;
}

.paywall-dialog .paywall-message{
  margin-top: 5px;
  color:green;
}

.paywall-dialog .paywall-message.error{
  color: red;
}

.paywall-dialog .loading-circle{
  border-top: 2px solid rgb(135, 63, 65);
  width: 13px;
  height: 13px;
  margin-left: 7px;
}

@media screen and (max-width: 767px){
  .paywall-dialog{
    text-align: center;
  }
  .paywall-dialog .paywall-email, .paywall-dialog button{
    margin-left:auto;
    margin-right:auto;
    text-align: center;
  }
}


body:not(.elementor-editor-active) .top-spotlight-container,body:not(.elementor-editor-active) .bottom-spotlight-container{
  visibility:hidden;
}