/* Brand Colour Variables */
:root {
  --brand-primary: #EB001F;
  --brand-primary-foreground: #FFFFFF;
  --brand-secondary: #262626;
  --brand-secondary-foreground: #FFFFFF;
  --link:#2462f5;
  --link-hover:#ec3832;
}

/* Brand Colours */
.dropdown-item.active, .dropdown-item:active {color: var(--brand-primary-foreground); background-color: var(--brand-primary);}

.bg-primary a {color: var(--brand-primary-foreground);}


#Blogs a {
	color: #252a34;
}

.checkbox-item input.invalid[type="checkbox"] {
	box-shadow: 0 0 0 2px #F06424;
}

/* Buttons */
.btn {white-space: normal;}

.btn-social {display: inline-flex; justify-content: center; align-items: center;}
.btn-social i {margin: 0;}
.share-page-icons a.btn-social {background: transparent !important; border: 1.5px solid #FFFFFF !important; color: #FFFFFF !important; transition: all 0.2s ease-out;}
.share-page-icons a.btn-social:hover {background: var(--brand-secondary) !important; border: 2px solid var(--brand-secondary) !important; color: var(--brand-secondary-foreground) !important;}

.lump_buttons .btn {display: flex;flex-direction: row;justify-content: center;align-items: center;column-gap: 10px;}
.lump_buttons .btn .material-icons {margin: 0;}


/* Navigation */
.funraisin-sticky-nav .funraisin-dropdown-nav .funraisin-dropdown-menu li a {color: inherit;}
.funraisin-sticky-nav .funraisin-dropdown-nav .funraisin-dropdown-menu li a:hover {color: var(--brand-primary);}

.funraisin-sticky-nav {border-bottom: none !important; box-shadow: 0px 0px 40px -10px hsla(0, 0%, 0%, 0.1);}
.funraisin-sticky-nav .site-logo {padding: 0px 15px;}

.lump.tab-content .nav-tabs li.active a {color: unset;}

/* inset focus ring (won't be clipped) */
.lump-faq .section-question:focus {
    outline: none;
    box-shadow: inset 0 0 0 3px #005ea5;
}

/* Visible focus ring on trigger */
.funraisin-dropdown-nav > a:focus-visible,
.funraisin-dropdown-nav > a:focus,
.navbar-nav a:focus,
.site-logo:focus img {
    outline: 3px solid #005ea5!important;
    outline-offset: 2px;
}
.funraisin-dropdown-menu:has(li > a:focus) {overflow: visible;}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Fundraising Pages */
.popup-col h2 {font-size: 24px;}
.popup-col.bg-primary {padding: 30px !important;}

#Badges .row {justify-content: center !important;}
#Badges .reward-badge {padding-top: 10px;padding-bottom: 10px;}
#Badges p {line-height: 130%;}

.sidebar-form-toggler-nav a:not(.active) {
	color: rgb(51, 51, 51);
}
.progress-bar {
	background: rgb(51, 51, 51);
}
/* Search Pages */
.fundraiser-search .col-sm-6, .searchPageWrapper .col-sm-6 {width: 100%;}

.register-tabs .nav-tabs > li {
    border-radius: 0px !important;
}

.div-up{
    margin-top: -50px !important;
}

.targetHandlers .radio{
    border-radius: 0px;
}

.funraisin-footer-legals .col-md-10{
    width: 75%;
}

.funraisin-footer-legals .col-md-2{
    width: 25%;
}

.funraisin-footer-legals img{
    max-width: 265px;
}

.targetHandlers .radio:hover, .targetHandlers .radio.active{
    border-color: var(--brand-secondary);
}

.donate-block  .lump-donation-title{
    text-align: left !important;
    padding: 0 60px ;
}




.donate-block #amountdetails .handles-layout-default .donationHandlers .radio-panel {
    width: calc(50% - 10px);
    flex: 1 0 calc(50% - 10px);
}

.donate-block #amountdetails .handles-layout-default .donationHandlers .radio.selected .radio-amount, .donate-block #amountdetails .handles-layout-default .donationHandlers .radio:hover .radio-amount{
    background: black !important;
    border-color: black;
}

.donate-block #amountdetails .handles-layout-default .donationHandlers .radio .radio-amount, 
.donate-block #amountdetails .donationHandlers .radio-border, 
.donate-block #amountdetails .handles-layout-default .donationHandlers .radio{
    border-radius: 0px;
}

.donate-block .copy-text {
    padding: 0 20px;
}

.lump-events .events-horizontal .panel{
    flex-wrap: nowrap;
}

.toggle-switch.invalid {
	border: none!important;
}

.toggle-switch.invalid {
	border: none!important;
}
.radio-container {
	display: flex;
	gap: 15px;
}

.funraisin-form cem.invalid {
	color: #252a34;
	font-style: normal;
	font-weight: 500;
	font-size: 0.8em;
	line-height: 125%;
	display: flex;
	padding-top: 7px;
	width: 100%;
	text-align: left;
	position: absolute;
}

#profileSponsorForm .optin-block.mt10 {
	width: calc(100% + 30px);
	max-width: calc(100% + 30px);
	margin: 0 -15px 15px;
}
#profileSponsorForm .optin_container .col-xs-4.channel_wrapper {
	padding: 0 !important;
}
#profileSponsorForm  .channel_wrapper {
	display: flex;
	gap: 0px;
	flex-wrap: wrap;
	/* flex-direction: column; */
	/* text-align: center; */
}
#profileSponsorForm  .col-xs-4.channel_wrapper .form-group {
	margin: 0;
	padding: 0 !important;
}
#profileSponsorForm  .radio-container {
	/*display: flex;*/
	/*gap:5px;*/
	/*flex-direction: column;*/
}
#profileSponsorForm  .radio-inline {
	margin: 0;
}

.lump-donationform  .radio-container {
	display: flex;
	gap:0;
}
.lump-donationform  .radio-container label {
	padding-right: 0;
}
.lump-donationform  .channel_wrapper {
	padding: 0;
}
.radio-container:has(input.invalid) input {
	/*border-color: #FF1616;*/
	border-color:#F06424;
	border-width: 2px;
}


.form-validation-inline input.invalid, .form-validation-inline select.invalid, .form-validation-inline textarea.invalid, .form-validation-inline div.invalid {
	border: 2px solid #F06424!important;
}
#webTicker span {
	color: #eb001f;
}
.form-validation-inline input[type="radio"]:checked {
	background-color: #c8001a;
}
.template-event-register [id^="m_optin_"] {
	padding-left: 0 !important;
}
.profileSponsorForm #d_amount_free {
	border-color: #ced4da !important;
	border-width: 1px !important;
}
.profileSponsorForm #d_amount_free.bg-primary {
	background-color: #fff !important;
	color: #000 !important;
}
 #NudgeProgress .progress-bar {
	background: linear-gradient(90deg, rgb(215, 0, 31) 0%, rgb(180, 0, 20) 100%)!important;
}
#MembersBlock a h3 {
	color: #000;
}

.stat-txt{
    font-size: 50px;
}
#kw_postcode_results:empty {padding:0!important;}
.nextsteps-form #motivation {
	border: 2px solid rgb(102, 102, 102);
}

#popup .BtClose{
    background: var(--brand-secondary) !important;
}

#webTicker span{
    color: var(--brand-secondary);
}

.funraisin-primary-nav ul li a:not(.btn):hover{
    color: var(--brand-secondary);
}

/*login Template dashboard*/
.template-login-dashboard {

    a.remove.btn.btn-primary.removeImage {
        padding: 0px !important;
    }

    a.remove.btn.btn-primary.removeImage i:before {
        position: absolute;
        top: 2px;
        left: 4px;
    }
}

/*template register*/
.template-register,.template-event-register {
    
    .form-group>label {
        text-transform: lowercase;
    }
    
    .form-group>label::first-letter{
        text-transform: uppercase;
    }
    
    /*payment page*/
    #PaymentForm .input-group-addon.bg-primary {
      background-color: transparent !important;
      border: 2px solid #262626;
      border-right: none;
      color: #495057;
    }
    
    #PaymentForm .donationHandlers .radio.notselected {
        opacity: 1;
    }
}
.registration-steps li.current a:hover {
    color: #fff !important;
}


/*Global validation style*/
.funraisin-form input.invalid {
    border: 2px solid rgb(240, 100, 36);
    background-color: rgb(252, 224, 211);
}
.funraisin-form input.invalid:focus {
    background:#fff;
}

.funraisin-form em.invalid {
	color: #252a34;
	padding-left: 15px;
	font-style: normal;
	font-weight: 500;
	font-size: 0.8em;
	line-height: 125%;
	display: flex;
	padding-top: 7px;
	width: 100%;
	text-align: left;
}

/*global form focus*/
.form-control:focus:focus {
    box-shadow: rgb(255, 255, 255) 0px 0px 0px 2px, rgb(38, 38, 38) 0px 0px 0px 4px;
}

.form-validation-inline input[type="radio"].invalid {
    border-color: #F06424;
}

/*template profile login - popup after registration*/
#template-profile,.template-login-dashboard{
    .targetHandlers .radio {
        border-color: rgb(51, 51, 51);
    }
    .targetHandlers .radio.active {
        background:rgb(51, 51, 51) !important;
    }
    
    .targetHandlers .radio-panel:not(.is-ownline) .radio.notselected, .targetHandlers .radio-panel:not(.is-ownline) .radio.nothover {
        opacity: 1;
    }
    .targetHandlers .radio-panel:not(.is-ownline) .radio:hover{
        border-color:rgb(235, 0, 31);
        color:rgb(235, 0, 31);
    }
    .targetHandlers .radio-panel:not(.is-ownline) .radio.active{
        color:#fff;
    }
    .targetHandlers .radio-panel:not(.is-ownline) .radio.active:hover{
        background-color:rgb(235, 0, 31) !important;
        border-color:rgb(235, 0, 31) !important;
    }    
}


.funraisin-page-loggedin-toggle ul li a{
    color:  var(--brand-secondary);
}

.funraisin-page-loggedin-toggle ul li a span{
    background: var(--brand-secondary);
}

.funraisin-page-loggedin-toggle ul li a.active span{
    background: var(--brand-primary);
}
/*popup next step style*/
.divxXM {
    width: 12px;
    height: 12px;
    position: absolute;
    top: 50%;
    margin-top: -6px;
    right: 25px;
    pointer-events: none;
}

@media (max-width: 992px) {
  .profile-fitness-activity .row {
    display: flex;
    flex-direction: column; /* Stack items vertically */
    align-items: center;
  }
}

#popup .panel:has(#LightboxDonationForm) {
	width: calc(90vw) !important;
}

#Blogs .col-sm-1:has(.profile-image-preview) {
    width: 100px;
}

.loggedin-header .cover-image-upload {
    z-index: 998;
}

@media (min-width: 768px) and (max-width: 991px) {
    .template-login-dashboard #Donations #Donors {
    	position: relative;
    	height: 728.4px;
    	display: flex;
    	flex-direction: column;
    	flex-wrap: wrap !important;
    }
    #Donations .donation {
        position: unset !important;
        overflow: visible;
        width: min-content;
    }
    
    #Donations .donation .amount {
        top: -20px;
        left: -20px;
    }
}

a[href="/login/tickets#content"] span {
    display: flex!important;
    justify-content: center;
    align-items: center;
}

.slick-track:has(#amountdetails.slick-active) {
	height: 730px !important;
}

/*OPTIN new*/
.optin-block .channel_container {
    max-width: 500px;
}

.optin-block .optin-row {
    display: flex;
    align-items: center;
    min-height: 62px;
    margin-left: 15px;
}

.optin-block .optin-channel {
    width: 26%;
}

.optin-block .optin-radio-group {
    width: 40%;
}

.optin-block .optin-radio-group .form-group {
    margin-bottom: 0;
}

.optin-block .radio-container {
    display: flex;
    align-items: center;
}

.optin-block .radio-inline {
    width: 50%;
    margin: 0;
    padding: 0;
    text-align: center;
}

.optin-block .optin-header {
    min-height: 40px;
}

.optin-block .optin-header .optin-choice {
    width: 20%;
    font-weight: bold;
    text-align: center;
}

.optin-block .optin-header .optin-channel {
    width: 20%;
}

.optin-block .optin-radio-group {
    width: 32%;
}
.funraisin-form .optin-row  em.invalid {
	text-align: center;
}
.nextsteps-form #m_target-error, #StepTarget p {
	text-align: center;
}

#NextSteps .next-steps .slick-dots li button::before {
    content: "•";           /* Keep the bullet */
    font-size: 32px;
    width: 16px;
    display: inline-block;
    text-align: center;
    line-height: 1;         /* Prevent extra spacing */
}

#NextSteps .form-control {
    font-size: 18px;
}

/* Safari will need the smaller size still */
@supports (-webkit-touch-callout: default) {
    #NextSteps .next-steps .slick-dots li button::before {
        font-size: 16px !important;
    }
}

#popup .deleteblogimage {
	position: absolute;
	top: -20px;
	right: -20px;
	font-size: 20px !important;
	line-height: 24px;
	padding: 3px 12px 3px !important;
	border-radius: 50%;
	width: 30px;
	height: 30px;
	text-align: center;
	display: flex;
	justify-content: center;
	align-items: center;
}
#popup .popup-form .BtClose {
	position: absolute;
	top: -20px;
	right: -20px;
	font-size: 20px !important;
	width: 40px;
	height: 40px;
	line-height: 100%;
	background: transparent;
}
#popup .BtClose i,#LightboxForm .BtClose i {
	color: #fff;
}
#terms-panel .mCSB_container {
  scroll-behavior: smooth;
}
#gift-aid-form .gift-aid-option-label.gift-aid-no.selected .radio-custom::before,
#gift-aid-form .gift-aid-option-label.gift-aid-yes.selected .radio-custom::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='%23eb001f'/%3E%3Cpath d='M7.8 12.5l2.8 2.8 5.6-5.6' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E")!important;
}
#gift-aid-form .gift-aid-option-label.gift-aid-yes.selected .radio-custom,
#gift-aid-form .gift-aid-option-label.gift-aid-no.selected .radio-custom {
	background: #eb001f;
}

#gift-aid-form .gift-aid-option-label.gift-aid-no.selected,
#gift-aid-form .gift-aid-option-label.gift-aid-yes.selected {
	background: #fff;
	border: 2px solid #eb001f;
}

.funraisin-fee-bordered .funraisin-fee-total {opacity: unset;}
.funraisin-fee-total span {
	font-size: 18px;
	color: #262626;
}
.swift-aid-button-wrapper button {
    background-color: #c8001a!important;
}

/*global anchor style match with shelter design */
a:not(.btn) {
  text-decoration: underline !important;
}

a:not(.btn) i {
  text-decoration: none !important;
}

a:not(.btn, .navbar a):hover {
    color: var(--link-hover) !important;
    font-weight: normal !important;
    text-decoration: underline;
}

.bootstrap-select .dropdown-menu .disabled {
    color: #666;
}

.tertiary-link i{
    color: #252a34;
}

.nextsteps-form #motivation{
    padding: 3px 15px;
}

.template-event-register .additional_questions_section .form-group > label,
.template-register .additional_questions_section .form-group > label {
	text-transform: unset !important;
}