.pointer {
  cursor: pointer;
}

.prevent-select {
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
}

.article-content-video {
  position: relative;
  overflow: hidden;
  height: 0;
  padding-bottom: 56.25%;
  margin-bottom: 20px;
}

.article-content-video iframe,
.article-content-video embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
}

.testimonials-box p {
  line-height: 24px;
  min-height: 120px;
  max-height: 120px;
  overflow: hidden;
  text-overflow: elipsis;
}

.trending-campaign-box div p.reduced-description {
  line-height: 24px;
  min-height: 96px;
}

.hc-category-wrapper {
  padding: 5px;
}

.hc-category-wrapper .hc-category-link {
  display: inline-block;
  width: 100%;
  box-shadow: 0px 0px 0px 0.5px rgba(50, 50, 93, 0.1),
    0px 2px 5px 0px rgba(50, 50, 93, 0.1), 0px 1px 1.5px 0px rgba(0, 0, 0, 0.07);
  border-radius: 7px;
  padding: 15px;
}

.hc-category-wrapper .hc-category-link:hover {
  background-color: #eaf2f9;
}

.hc-category-wrapper .hc-category-link .hc-category-image {
  height: 80px;
  width: 80px;
  display: inline-block;
  position: relative;
  cursor: pointer;

  vertical-align: top;
  margin-right: 5px;
}

.hc-category-wrapper .hc-category-link .hc-category-image img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

.hc-category-wrapper .hc-category-info {
  display: inline-block;
  vertical-align: top;
  width: calc(100% - 90px);
}

.hc-category-wrapper .hc-category-info .hc-category-label {
  color: #000;
  font-weight: bold;
  font-size: 18px;
}

.hc-category-wrapper .hc-category-info .hc-category-short-description {
  color: #000;
  font-size: 14px;
}

.slider {
  background-color: #fefeff;
  height: 8px;
  margin: 8px 0;
}
.slider.slider-horizontal {
  position: relative;
  height: 36px;
  border-radius: 360px;
}

.slider.slider-horizontal {
  width: 100% !important;
}

.slider.slider-horizontal .progres-percentage {
  position: absolute;
  left: 0;
  width: 100%;
  top: 0;
  display: flex;
}
.slider.slider-horizontal .progres-percentage span {
  flex: 1;
  text-align: center;
  line-height: 36px;
  border-radius: 360px;
}
.slider.slider-horizontal .progres-percentage span.active {
  background-color: #339f69;
}
.slider.slider-horizontal .progress-bar {
  border-radius: 360px;
}
.slider .progress-bar {
  background-color: #40c783;
  border-radius: 0.25rem;
}

.slider-tick {
  background: transparent;
}

.slider-tick.round {
  border-radius: 360px;
}

.gif-loader {
  display: none;
}

#paypal-button-container {
  text-align: center;
}

#paypal-button-container.paymentOverlay > div:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.9);
  z-index: 1000;
  border-radius: 4px;
}

.campaign-table tbody tr td .payment-img-custom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
}

.campaign-table tbody tr td.td-campaign-payment-images {
  width: 350px;
}

.campaign-table tbody tr td.td-campaign-payment-no-images {
  width: 0;
}

@media (max-width: 767px) {
  .campaign-table tbody tr td .payment-img-custom {
    justify-content: space-around;
  }

  .campaign-table tbody tr td.td-campaign-payment-images {
    width: 100%;
  }
}

.campaign-table tbody tr td .payment-img-custom img {
  position: relative;
  max-width: 100px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.vertical-items-container {
  transform: translate(0, 50%);
}

@media (max-width: 1200px) {
  .vertical-items-container {
    transform: initial;
  }
}

.fixed-data-paragraph {
  display: inline-block;
  line-height: 18px;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 767.98px) {
  .fixed-data-paragraph {
    height: 54px;
  }
}

@media (max-width: 425.98px) {
  .fixed-data-paragraph {
    height: 72px;
  }
}

#paypal-buttons-container {
  position: relative;
}

#paypal-button-container {
  text-align: center;
}

#paypal-button-container.paymentOverlay > div:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.5);
  z-index: 1000;
  border-radius: 4px;
}

.paymentsWrapperOverlay {
  display: none;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.9);
  z-index: 10000;
  text-align: center;
}

.paymentsWrapperOverlay img {
  margin-top: 140px;
  display: inline-block;
}

/*JQUERY UI datepicker*/

/* PROGRESS BAR WITH PERCENTAGE */
/* Custom progress bar overrides */
.custom-progress {
  position: relative;
  height: 8px !important;
  border-radius: 12px;
  background-color: #f7f7f7;
  overflow: visible;
}

.custom-progress .progress-bar {
  background-color: #40c783;
  border-radius: 12px;
  height: 100%;
  position: relative;
}
.custom-progress .progress-percent {
  position: absolute;
  top: 50%;
  transform: translate(-10%, -50%);
  left: var(--progress-percent, 0%);
  background-color: #40c783;
  color: white;
  border-radius: 12px;
  padding: 2px 6px;
  font-size: 12px;
  font-weight: bold;
  white-space: nowrap;
  z-index: 1;
}

/* New rule for 0% progress */
.custom-progress .progress-percent[style*="--progress-percent: 0%"] {
  transform: translate(0, -50%);
  left: 0;
}

/* New rule for 100% progress */
.custom-progress .progress-percent[style*="--progress-percent: 90%"],
.custom-progress .progress-percent[style*="--progress-percent: 91%"],
.custom-progress .progress-percent[style*="--progress-percent: 92%"],
.custom-progress .progress-percent[style*="--progress-percent: 93%"],
.custom-progress .progress-percent[style*="--progress-percent: 94%"],
.custom-progress .progress-percent[style*="--progress-percent: 95%"],
.custom-progress .progress-percent[style*="--progress-percent: 96%"],
.custom-progress .progress-percent[style*="--progress-percent: 97%"],
.custom-progress .progress-percent[style*="--progress-percent: 98%"],
.custom-progress .progress-percent[style*="--progress-percent: 99%"],
.custom-progress .progress-percent[style*="--progress-percent: 100%"]
 {
  transform: translate(-100%, -50%);
  left: 100%;
}

@media (max-width: 767px) {
  .custom-progress .progress-percent {
    font-size: 10px;
    padding: 1px 4px;
  }
}
/* PROGRESS BAR WITH PERCENTAGE */

/*GOOGLE TRANSLATE DROPDOWN*/
.goog-te-gadget-icon {
  display: none;
}

.goog-te-gadget-simple {
  border: 1px solid #bebfca !important;
  border-radius: 360px;
  background-color: transparent !important;
  font-size: 10pt;
  font-weight: 800;
  display: inline-block;
  padding: 10px 10px !important;
  cursor: pointer;
  zoom: 1;
  line-height: 24px;
}

.goog-te-gadget-simple span {
  color: #3e3065 !important;
}
/*GOOGLE TRANSLATE DROPDOWN*/

/*OWL SLIDER*/
.owl-carousel .owl-item img.svg-icon {
    display: initial;
    width: initial;
}

.secondary-footer {
  position: relative;
  padding: 16px 40px;
  overflow: hidden;
  color: #8E8F97;
  font-size: 13px;
}

@media (min-width: 1200px) {
  .secondary-footer {
    padding: 16px 40px;
    max-width: 1320px;
    width: 100%;
    margin: auto;
  }
}

@media (max-width: 767.98px) {
  .footer {
    secondary-footer: 16px 0 70px;
  }
}


/*FAQ STANDALONE*/
	.toc-list {
		list-style: none;
		padding: 0;
		margin: 0;
	}

	.toc-list li {
		display: flex;
		align-items: center;
		margin: .65rem 0;
		position: relative;
		padding-left: 22px;
	}

	.toc-list li::before {
		content: "";
		width: 12px;
		height: 12px;
		border-radius: 50%;
		background: #cfe0ff;
		position: absolute;
		left: 0;
		top: 40%;
		transform: translateY(-50%);
	}
	
	.about-top-faq {
		padding: 0px 26px!important;
	}
	
	@media (max-width: 1200px) {
		.toc-list {
			margin-bottom: 2rem!important;
		}
	}

	@media (max-width: 767.98px) {
		.toc-list {
			margin-bottom: 3rem!important;
		}
	}
	
/*FAQ STANDALONE*/

.breadcrumb {
    overflow: auto;
    white-space: nowrap;
    flex-wrap: nowrap;
}

/* remove scrollbar from breadcrumb */
.breadcrumb::-webkit-scrollbar {
    display: none;
}

/* CAMPAIGN PAGE NEW DESIGN */
.campaign-news-title-back-link a {
	margin-top: 5px;
}

.campaign-news-title-back-link a:focus {
	border: 2px solid #40C783;
}

@media (max-width: 575.98px) {
	.campaign-gallery-wrapper {
		padding-top: 0px;
	}
	.campaign-news-title-back-link a {
		margin-top: 0px;
	}
}
.large-gray-dot-separator {
	background-color: #999;
	width: 10px;
	height: 10px;
	border-radius: 10px;
	margin: 0 12px 0 10px;
}

.gray-dot-separator {
	background-color: #E8ECF3;
	width: 5px;
	height: 5px;
	border-radius: 5px;
	margin: 10px 0 0 0;
}
@media (max-width: 767.98px) {
	.gray-dot-separator {
		margin: 7px 0 0 0;
	}
}


/*NEW SHARE DIALOG*/
.modal-campaign-share {
  background: rgba(30, 30, 30, 0.65);
}
.modal-campaign-share .btn-close {
	margin-right: 5px;
	border: 3px solid;
	border-radius: 20px;
	width: 10px;
	height: 10px;
	margin-top: 5px;
	font-size: 10px;
	font-weight: bold;
}
.modal-campaign-share .modal-content {
  border-radius: 16px;
  background: #F6F7FF;
  border: 0;
}
.modal-campaign-share .modal-content .modal-header {
  border-bottom: 0;
}
.modal-campaign-share .modal-content .modal-header .h5 span {
  margin-top: 8px;
}

.modal-campaign-share .modal-content .modal-body {
	padding: 0 20px 20px 20px;
}
@media (max-width: 575.98px) {
	.modal-campaign-share .modal-content .modal-body {
		padding: 0 20px 0px 20px;
	}
}
.modal-campaign-share .modal-content .modal-body .modal-sub-title {
	text-align: center;
	font-weight: bold;
}

.modal-campaign-share .modal-content .share-body-modal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.modal-campaign-share .modal-content .share-body-modal .share-icon {
	padding: 0;
	width: 60px;
}
@media (min-width: 425.98px) and (max-width: 575.98px) {
  .modal-campaign-share .modal-content .share-body-modal .share-icon {
    width: 123px;
	margin-bottom: 10px;
  }
}
@media (max-width: 425px) {
  .modal-campaign-share .modal-content .share-body-modal .share-icon {
    width: 93px;
	margin-bottom: 10px;
  }
}
.modal-campaign-share .modal-content .share-body-modal .share-icon span {
  display: block;
  font-size: 13px;
}
.modal-campaign-share .modal-content .share-body-modal .share-icon img {
  width: 90%;
}
@media (max-width: 575.98px) {
	.modal-campaign-share .modal-content .share-body-modal .share-icon img {
	  width: 40%;
	}
}
.modal-campaign-share .modal-content .share-form {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-campaign-share .modal-content .share-form .input-group {
  background-color: #fff;
}

.modal-campaign-share .modal-content .share-form .input-group a {
	display: flex;
	align-items: center;
	justify-content: center;
}

.modal-campaign-share .modal-content .share-form .form-control {
  margin-right: 0;
  margin-top: 0;
  flex: 1;
  text-overflow:ellipsis;
}
/*NEW SHARE DIALOG*/

/*NEW DONATION FORM*/
.campaign-aside.donation-wrapper {
	border: 2px solid #9e9ea9;
}

@media (max-width: 575.98px) {
  .campaign-aside.donation-wrapper {
    margin-right: calc(var(--bs-gutter-x) * .5);
    margin-left: calc(var(--bs-gutter-x) * .5);
    padding: calc(24px - var(--bs-gutter-x) * .5);
  }
}

.campaign-aside.donation-wrapper .custom-progress, .campaign-sm-info .custom-progress {
	background-color: #F6F7FF;
}

.campaign-aside.donation-wrapper .custom-progress .progress-percent, .campaign-sm-info .custom-progress .progress-percent {
	font-size: 12px;
	padding: 2px 12px;
	border-radius: 20px;
	box-shadow: 0px 6px 6px #c4c4c4;
	border: 1px solid #3abb7a;
}


.campaign-aside.donation-wrapper small {
	color: #8E8F97;
}

.campaign-aside.donation-wrapper .payment-method-tabs {
	
}

.campaign-aside.donation-wrapper .payment-method-tabs .nav-item .nav-link {
	color: #000;
}


.campaign-aside.donation-wrapper .input-group .form-label {
	background-color: #fff;
}

.campaign-aside.donation-wrapper .form-box label {
	background-color: #fff;
}

.campaign-aside.donation-wrapper .slider.slider-horizontal .slider-track-high {
	background-color: #F6F7FF;
}

.campaign-aside.donation-wrapper .input-group button {
    border-radius: 360px !important;
    background: #fff;
    padding: 14px 16px;
    color: #339F69;
	font-weight: bold;
}

.campaign-aside.donation-wrapper .btn-sum-choice {
    background: #fff;
    padding: 14px 16px;
	border-radius: 360px;
	border: 1px solid #BEBFCA;
	position: relative;
	width: 24%;
}

.campaign-aside.donation-wrapper .btn-sum-choice:hover {
	border: 1px solid #000;
}

.campaign-aside.donation-wrapper .btn-sum-choice.active {
	background: #339F69;
	border: 1px solid #339F69;
	padding: 14px 16px;
	color: white;
}

.campaign-aside.donation-wrapper .form-check {
	
}

.campaign-aside.donation-wrapper .form-check .form-check-input {
	width: 16px;
	height: 16px;
	margin-top: 5px;
	border-color: #000;
}

/*NEW DONATION FORM*/

/* ── V2 mobile campaign layout ── */
@media (max-width: 767.98px) {
    .design-v2 #popular-campaigns-container .owl-stage-outer {
        overflow: visible !important;
        width: 100% !important;
    }
    .design-v2 #popular-campaigns-container .owl-stage {
        transform: none !important;
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 12px;
    }
    .design-v2 #popular-campaigns-container .owl-item {
        width: 100% !important;
        float: none !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    .design-v2 #popular-campaigns-container .owl-nav,
    .design-v2 #popular-campaigns-container .owl-dots {
        display: none !important;
    }
    .design-v2 #popular-campaigns-container .trending-campaign-box {
        display: flex !important;
        flex-direction: row !important;
        overflow: hidden;
    }
    .design-v2 #popular-campaigns-container .trending-campaign-box figure {
        width: 140px !important;
        min-width: 140px !important;
        height: auto !important;
        min-height: 120px;
        border-radius: 12px !important;
        flex-shrink: 0;
        align-self: stretch;
        margin: 10px 0;
    }
    .design-v2 #popular-campaigns-container .trending-campaign-box figure img {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
    .design-v2 #popular-campaigns-container .trending-campaign-box > div {
        flex: 1;
        padding: 10px 12px;
        min-width: 0;
    }
    .design-v2 #popular-campaigns-container .trending-campaign-box > div h5 {
        font-size: 14px !important;
        min-height: unset !important;
        max-height: unset !important;
        line-height: 18px;
        margin-bottom: 6px;
    }
    .design-v2 #popular-campaigns-container .trending-campaign-box > div .supporter {
        margin-bottom: 8px;
        font-size: 13px;
    }
}
/* ── V2 mobile campaign layout ── */

/* ── V2 mobile campaign layout: Discover pages ── */
@media (max-width: 767.98px) {
    .design-v2 #campaigns-container .trending-campaigns .trending-campaign-box {
        flex: 0 0 100% !important;
        width: 100% !important;
    }
    .design-v2 #campaigns-container .row > [class*="col-"] {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    .design-v2 #campaigns-container .trending-campaign-box {
        display: flex !important;
        flex-direction: row !important;
        overflow: hidden;
        position: relative;
    }
    .design-v2 #campaigns-container .trending-campaign-box > a:first-child {
        position: absolute;
        inset: 0;
        font-size: 0;
        z-index: 1;
    }
    .design-v2 #campaigns-container .trending-campaign-box figure {
        width: 140px !important;
        min-width: 140px !important;
        height: auto !important;
        min-height: 120px;
        border-radius: 12px !important;
        flex-shrink: 0;
        align-self: stretch;
        position: relative;
        margin: 10px 0;
    }
    .design-v2 #campaigns-container .trending-campaign-box figure img {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
    .design-v2 #campaigns-container .trending-campaign-box > div {
        flex: 1;
        padding: 10px 12px;
        min-width: 0;
    }
    .design-v2 #campaigns-container .trending-campaign-box > div h5 {
        font-size: 14px !important;
        min-height: unset !important;
        max-height: unset !important;
        line-height: 18px;
        margin-bottom: 6px;
    }
    .design-v2 #campaigns-container .trending-campaign-box > div .supporter {
        margin-bottom: 8px;
        font-size: 13px;
    }
}
/* ── V2 mobile campaign layout: Discover pages ── */

/* ── V2 mobile campaign layout: Search page ── */
@media (max-width: 767.98px) {
    .design-v2 #popular-campaigns-container {
        flex-wrap: wrap !important;
        overflow-x: visible !important;
    }
    .design-v2 #popular-campaigns-container > [class*="col-"],
    .design-v2 #search-results-container > [class*="col-"],
    .design-v2 #search-results-appended > [class*="col-"] {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    .design-v2 #popular-campaigns-container .trending-campaign-box > a:first-child,
    .design-v2 #search-results-container .trending-campaign-box > a:first-child,
    .design-v2 #search-results-appended .trending-campaign-box > a:first-child {
        position: absolute;
        inset: 0;
        font-size: 0;
        z-index: 1;
    }
    .design-v2 #search-results-container .trending-campaign-box,
    .design-v2 #search-results-appended .trending-campaign-box {
        display: flex !important;
        flex-direction: row !important;
        overflow: hidden;
        position: relative;
    }
    .design-v2 #search-results-container .trending-campaign-box figure,
    .design-v2 #search-results-appended .trending-campaign-box figure {
        width: 140px !important;
        min-width: 140px !important;
        height: auto !important;
        min-height: 120px;
        border-radius: 12px !important;
        flex-shrink: 0;
        align-self: stretch;
        position: relative;
        margin: 10px 0;
    }
    .design-v2 #search-results-container .trending-campaign-box figure img,
    .design-v2 #search-results-appended .trending-campaign-box figure img {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
    .design-v2 #search-results-container .trending-campaign-box > div,
    .design-v2 #search-results-appended .trending-campaign-box > div {
        flex: 1;
        padding: 10px 12px;
        min-width: 0;
    }
    .design-v2 #search-results-container .trending-campaign-box > div h5,
    .design-v2 #search-results-appended .trending-campaign-box > div h5 {
        font-size: 14px !important;
        min-height: unset !important;
        max-height: unset !important;
        line-height: 18px;
        margin-bottom: 6px;
    }
    .design-v2 #search-results-container .trending-campaign-box > div .supporter,
    .design-v2 #search-results-appended .trending-campaign-box > div .supporter {
        margin-bottom: 8px;
        font-size: 13px;
    }
}
/* ── V2 mobile campaign layout: Search page ── */

/* ── Discover page: static 4-column campaign grid ── */
#campaigns-container .trending-campaigns {
    flex-wrap: wrap;
    gap: 24px;
    justify-content: flex-start !important;
}
#campaigns-container .trending-campaigns .trending-campaign-box {
    flex: 0 0 calc(25% - 18px);
    width: calc(25% - 18px);
}
@media (max-width: 991.98px) {
    #campaigns-container .trending-campaigns .trending-campaign-box {
        flex: 0 0 calc(50% - 12px);
        width: calc(50% - 12px);
    }
}
@media (max-width: 575.98px) {
    #campaigns-container .trending-campaigns .trending-campaign-box {
        flex: 0 0 100%;
        width: 100%;
    }
}
/* ── Discover page: static 4-column campaign grid ── */

/* ── Mobile footer section order ── */
@media (max-width: 767.98px) {
    .footer .row > .col-md-3:nth-child(1) { order: 3; } /* Общи → 3rd */
    .footer .row > .col-md-3:nth-child(2) { order: 1; } /* Кампании → 1st */
    .footer .row > .col-md-3:nth-child(3) { order: 2; } /* Информация → 2nd */
    .footer .row > .col-md-3:nth-child(4) { order: 4; } /* Социални медии → 4th */

    /* Add top spacing to all sections except the visual first (Кампании) */
    .footer .row > .col-md-3:nth-child(1),
    .footer .row > .col-md-3:nth-child(3),
    .footer .row > .col-md-3:nth-child(4) {
        margin-top: 24px;
    }

    /* Extra top spacing above Кампании (visual first section) */
    .footer .row > .col-md-3:nth-child(2) {
        margin-top: 12px;
    }
}
/* ── Mobile footer section order ── */

/* ── V2 desktop card: align figure with content padding ── */
@media (min-width: 768px) {
    .design-v2 .trending-campaign-box figure {
        margin: 8px 8px 0;
    }
    .design-v2 .trending-campaign-box > div {
        padding-left: 8px;
        padding-right: 8px;
    }
}

/* ── Footer: align <small> labels with heading on desktop ── */
@media (min-width: 768px) {
    .footer small {
        padding-left: 0;
        padding-right: 0;
    }
}

/* ── Footer: indent headings to match nav links on mobile ── */
@media (max-width: 767.98px) {
    .footer .h4 {
        padding-left: 16px;
    }
}
