/* :: Typography
----------------------------------------------- */
.card-header i, .card-header em, .donation-benefits i, .donation-benefits em {
	font-family: 'Lato', sans-serif !important;
	font-style: normal !important;
}
p.small {
  font-size: 0.875em !important;
  line-height: 1em !important;
}
/* :: Colors & Backgrounds styles
----------------------------------------------- */

/* :: Text colors */

.color-white, .donate-form-toggle .btn:focus, .donate-form-toggle .btn:active, .donate-form-toggle .btn.active, .donate-form-body .btn-submit, .donate-form-body .btn-next, .amount-buttons-wrapper .btn-check:focus + .btn-amount, .amount-buttons-wrapper .btn-check:checked + .btn-amount, .amount-buttons-wrapper .btn-check:active + .btn-amount, .amount-buttons-wrapper .btn-amount:disabled, .amount-buttons-wrapper .btn-amount.disabled {
	color: #FFFFFF !important;
}
.color-gray, .amount-buttons-wrapper .form-control::-webkit-input-placeholder, .amount-buttons-wrapper .form-control::-moz-placeholder, .amount-buttons-wrapper .form-control::placeholder {
 color: #EAEAE7 !important;
}
.color-darkgray, .amount-buttons-wrapper .btn-check + .btn-amount, .amount-buttons-wrapper .btn-check + .btn-other-amount, .amount-buttons-wrapper .form-control, .amount-buttons-wrapper .input-group-text, .amount-buttons-wrapper .form-control, .btn-method {
	color: #9b9b94 !important;
}
.color-midnight, .donate-form-header, .donate-form-body, .donate-form-body ul, .donate-form-body li, .btn-method:focus, .btn-method:hover, .btn-method:active, .btn-method.active {
	color: #333232 !important;
}
.color-blue, .donate-form-toggle .btn {
	color: #369ff4 !important;
}
.color-yellow, .card-alert:after {
	color: #EACD27 !important;
}
/* :: Background colors */
	
.bg-transparent, .donate-form-section, .btn-method {
	background-color: transparent !important;
}
.bg-white, .donate-form-toggle .btn, .donate-form-footer, .amount-buttons-wrapper .input-group-text, .amount-buttons-wrapper .form-control, .amount-buttons-wrapper .donate-form-other-text .form-control:not([value=""]), .btn-method:focus, .btn-method:hover {
	background-color: #FFFFFF !important;
}
.bg-gray, .amount-buttons-wrapper .btn-check + .btn-amount, .amount-buttons-wrapper .btn-check + .btn-other-amount {
	background-color: #EAEAE7 !important;
}
.bg-lightgray, .donate-form-header, .card-hero, .amount-buttons-wrapper .btn-check:hover + .btn-amount, .amount-buttons-wrapper .btn-check:hover + .btn-other-amount {
	background-color: #F4F5F0 !important;
}
.bg-creme {
	background-color: #F9F7E9 !important;
}
.bg-blue, .donate-form-toggle .btn:focus, .donate-form-toggle .btn:active, .donate-form-toggle .btn.active, .donate-form-body .btn-submit, .donate-form-body .btn-next, .amount-buttons-wrapper .btn-check:focus + .btn-amount, .amount-buttons-wrapper .btn-amount:disabled, .amount-buttons-wrapper .btn-amount.disabled, .amount-buttons-wrapper .btn-check:checked + .btn-amount, .amount-buttons-wrapper .btn-check:active + .btn-amount {
	background-color: #369ff4 !important;
}
.bg-lightblue, .donate-form-toggle .btn.active:hover, .donate-form-body .btn-submit:focus, .donate-form-body .btn-submit:active, .donate-form-body .btn-submit:hover, .donate-form-body .btn-next:focus, .donate-form-body .btn-next:active, .donate-form-body .btn-next:hover {
	background-color: #70BBF7 !important;
}
.bg-hummingbird, .donate-msg-section {
	background-color: #D6E4EA !important;
}
.bg-midnightblue {
	background-color: #003366 !important;
}
.bg-cobalt {
	background-color: #0052A3 !important;
}
.bg-yellow, .card-alert {
	background-color: #EACD27 !important;
}
/* :: Border colors */

.bd-gray, .donate-form-footer, .amount-buttons-wrapper .btn-check + .btn-amount, .amount-buttons-wrapper .btn-check + .btn-other-amount, .amount-buttons-wrapper .form-control, .amount-buttons-wrapper .input-group-text, .amount-buttons-wrapper .form-control {
	border-color: #EAEAE7 !important;/* border-color: rgba(0, 0, 0, 0.2);
----------------------------------------------- */
}
.bd-lightgray {
	border-color: #F4F5F0 !important;
}
.bd-darkgray, .btn-method {
	border-color: #9b9b94 !important;
}
.bd-midnight, .btn-method:focus, .btn-method:hover, .btn-method:active, .btn-method.active {
	border-color: #333232 !important;
}
.bd-blue, .donate-form-toggle .btn, .donate-form-toggle .btn:focus, .donate-form-toggle .btn:active, .donate-form-toggle .btn.active, .donate-form-body .btn-submit, .donate-form-body .btn-next, .amount-buttons-wrapper .btn-check:focus + .btn-amount, .amount-buttons-wrapper .btn-amount:disabled, .amount-buttons-wrapper .btn-amount.disabled, .amount-buttons-wrapper .btn-check:checked + .btn-amount, .amount-buttons-wrapper .btn-check:active + .btn-amount, .amount-buttons-wrapper .donate-form-other-text .form-control:not([value=""]) {
	border-color: #369ff4 !important;
}
.bd-lightblue, .amount-buttons-wrapper .donate-form-other-text .form-control:focus {
	border-color: #70BBF7 !important;
}
.bd-yellow, .card-header i, .card-header em, .donation-benefits strong, .donation-benefits em, .donation-benefits i {
	border-color: #FFCA0A !important;
}

/* :: Shadows */

.shadow-none, .donate-form-toggle .btn:focus, .donate-form-toggle .btn:active, .donate-form-toggle .btn.active, .donate-form-body .btn-submit, .donate-form-body .btn-next, .amount-buttons-wrapper .btn-check:focus + .btn-amount, .amount-buttons-wrapper .btn-check:checked + .btn-amount:focus, .amount-buttons-wrapper .btn-check:active + .btn-amount:focus, .btn-method:focus, .btn-method:hover, .btn-method:active, .btn-method.active {
	box-shadow: none !important;
}

/* :: DONATE WIDGET
----------------------------------------------- */

.card-hero {
	padding: 1rem 2rem;
}
.donate-form-method .card-hero {
    min-height: 90px;
    overflow-x: hidden;
}
.card-alert {
	position: relative;
	padding: 1rem 2rem 1rem 4rem;
	margin-bottom: .5rem;
}
.card-alert:after {
	content: "\25bc";
	bottom: -30px;
	left: 20px;
	position: absolute;
	font-size: 2rem;
}
.card-alert:before {
	font-family: "Font Awesome 6 Pro";
	content: "\f071";
	top: 10px;
	left: 20px;
	position: absolute;
	font-size: 2rem;
}
.card-alert .fas {
	font-size: 1.4rem;
}
.card-body .bg-grey-b {
  background-color: rgba(247,247,247,1) !important;
    width: calc(100%+2rem);
  margin: 3rem -1rem -1rem -1rem !important;

}
.card-body .bg-grey-b-container {
  margin: -2.8rem 1rem 1rem 1rem !important;
}
.text-hero {
	font-size: 3rem;
	font-weight: bolder;
}
.text-bizum {
    line-height: 2.9rem;
	font-family: 'D-DIN DIN-Bold', sans-serif;
}
.card-header i, .card-header em, .donation-benefits strong, .donation-benefits em, .donation-benefits i {
	border-bottom-width: 2px;
	border-bottom-style: solid;
	font-weight: 900 !important;
}
.donate-form-toggle {
	width: 100%;
}
.donate-form-toggle .btn-group {
	display: flex;
}
.donate-form-toggle .btn-group .btn {
	flex: 1
}
.donate-form-toggle .btn {
	box-shadow: none;
}
.donate-form-card {
	margin-bottom: 1rem;
}
.donate-form-header {
	font-weight: bold;
	font-size: 1.1rem;
	padding: .8rem;
}
.donate-form-header a {
	text-transform: lowercase;
	font-size: .9rem;
}
.donate-form-once-method .donate-form-body, .donate-form-monthly-method .donate-form-body {
	padding-top: 0 !important;
}
.donate-form-body p, .donate-form-body li {
	margin: .8rem 0;
}
.donate-form-body .btn-submit, .donate-form-body .btn-next {
	width: 100%;
}
.donate-form-footer {
	border-top-style: dashed;
	border-top-width: 1px;
	padding: 1.2rem 1rem;
}
.amount-buttons-wrapper {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin-bottom: 10px
}
.amount-buttons-wrapper * {
	font-weight: 400
}
.amount-buttons-wrapper .btn-check + .btn-amount,
.amount-buttons-wrapper .btn-check + .btn-other-amount,
.amount-buttons-wrapper .form-control {
	width: 100%;
	border-style: solid;
	border-width: 1px;
	letter-spacing: 0;
	padding: 10px 15px;
	font-size: 1.3rem;
}
.amount-buttons-wrapper .btn-check + .btn-amount small,
.amount-buttons-wrapper .btn-check + .btn-other-amount small,
.amount-buttons-wrapper .form-control small {
	font-size: 1rem;
}
.amount-buttons-wrapper .btn-check + .btn-amount small.mo,
.amount-buttons-wrapper .btn-check + .btn-other-amount small.mo,
.amount-buttons-wrapper .form-control small.mo {
	font-size: .9rem;
}
.amount-buttons-wrapper .input-group {
	position: relative;
}
.amount-buttons-wrapper .input-group-text, .amount-buttons-wrapper .form-control {
	border-style: solid;
	border-width: 1px;
	border-radius: 0.25rem !important;
}
.amount-buttons-wrapper .form-control {
	padding-left: 35px !important;
}
.amount-buttons-wrapper .input-group-text {
	position: absolute;
	background-color: transparent !important;
	border-style: none !important;
	padding: 15px 15px;
	z-index: 10;
}
.amount-buttons-wrapper .input-group-text:first-child {
	left: 0;
}
.amount-buttons-wrapper .input-group-text:last-child {
	right: 0;
}
.amount-buttons-wrapper .donate-form-other-text .form-control:not([value=""]) {
	border-width: 2px;
}

.btn-method {
	height: calc(3.5rem + 2px);
	padding: 1rem 0.75rem;
	width: 100%;
	border: none;
	border-radius: 0;
	border-bottom-style: solid;
	border-bottom-width: 1px;
}
.btn-method:focus, .btn-method:hover, .btn-method:active, .btn-method.active {
	border-bottom-width: 3px;
	border-bottom-style: solid;
}

#once-name, #monthly-name, #once-dni, #monthly-dni, #monthly-city, #monthly-region-id {
	border-right-style: none;
}
#once-email, #monthly-email, #monthly-city, #monthly-region-id, #monthly-country-id {
	border-top-style: none;
}

.donate-form-method-buttons .row {
  overflow: hidden;
  margin-left: -2.5px;
  margin-right: -2.5px;
}

.donate-form-method-buttons .col {
  padding-left: 8px;
  padding-right: 8px;
}

.donate-form-method-buttons .btn-method {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 2px 10px !important;
  margin-top: 15px;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  border: 2px solid #D1D1D1;
  background-color: #F8F8F8;
  color: #8C8C8C;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  transition: all 0.2s ease-in-out;
}

.donate-form-method-buttons .btn-method::before {
  font-family: "Font Awesome 6 Pro";
  font-weight: 400; 
  font-size: 16px;
  margin-bottom: -3px;
  color: #8C8C8C;
}
.donate-form-method-buttons .btn-method.active::before {
  color: #333333;
}
.donate-form-method-buttons .btn-method-card::before,
.donate-form-method-buttons .btn-method-card-recurring::before {
  content: "\f09d";
}
.donate-form-method-buttons .btn-method-paypal::before,
.donate-form-method-buttons .btn-method-paypal-recurring::before {
  font-family: 'Font Awesome 6 Brands';
  content: "\f1f4";
}
.donate-form-method-buttons .btn-method-bizum::before {
  content: "\f3cf";
}
.donate-form-method-buttons .btn-method-deposit::before,
.donate-form-method-buttons .btn-method-bank::before {
  content: "\f19c";
}

.donate-form-method-buttons .btn-method:hover {
  color: #333333;
  background-color: #EBEBEB;
}

.donate-form-method-buttons .btn-method.active,
.donate-form-method-buttons .btn-method:active {
  background-color: #F4F5F0 !important;
  border-color: #369ff4 !important;
  position: relative;
}

/* Pseudo-elemento para el círculo y el check */
.donate-form-method-buttons .btn-method.active::after {
  content: "\f00c";
  font-family: "Font Awesome 6 Pro";
  font-weight: 900 !important;
  font-size: 10px;
  color: #369ff4; 
  background-color: #FFFFFF; 
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: -10px;
  right: -10px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.donate-form-method-buttons .btn-method:focus {
  box-shadow: none;
  outline: none;
}

.donate-form-widget.is-modal-active {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 99999;
    background-color: rgba(0, 0, 0, 0.6); 
    
    /* Centrado del contenido usando Flexbox */
    display: flex !important;
    justify-content: center !important; /* Centrado horizontal */
    
    /* Sobreescribir el margen inferior que tiene por defecto (mb-5) */
    margin-bottom: 0 !important;
    
    /* Permitir scroll dentro del overlay si el formulario es muy largo */
    overflow-y: auto; 
}
.donate-form-widget.is-modal-active form {
    width: 90%; /* Ancho que ocupa dentro del overlay */
    max-width: 600px; /* Limitar el ancho máximo en pantallas grandes */
    margin: auto;
}
.donate-form-widget.is-modal-active .card {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5); /* Sombra intensa y notoria */
}
@media (max-width:780px){
	.donate-form-widget.is-modal-active {
		margin-top: 90px;
	}
}