.businessProtection {
}


p, li, address {
	font-size: 16px!important;
	line-height: 20px!important;
}



.businessProtection__sidebar {
    position: absolute;
    top: 156px;
    right: 48px;
    z-index: 90;
    display: flex;
    flex-direction: column;
    min-width: 400px;
    max-width: 400px;
	background-color: white; border-radius: 18px; padding: 27px; order: 999;
	max-height: 1200px;
	padding-bottom: 20px;
	padding-top: 20px;
}


@media (max-width: 1000px) {
	
.businessProtection__sidebar {
    position: initial;
	z-index: 90;
    display: flex;
    flex-direction: column;
    min-width: 100%;
    max-width: 100%;
	background-color: white; border-radius: 18px; padding: 27px; order: 999;
	max-height: 1000px;
	padding-bottom: 20px;
	padding-top: 20px;
	margin-bottom: 40px;
	margin-top: 60px;
}	
}


    .businessProtection__sidebar.fade-in-up {
        opacity: 0;
        -webkit-animation-delay: 2.5s;
        animation-delay: 2.5s;
        -webkit-animation-fill-mode: forwards;
        animation-fill-mode: forwards;
    }

    .businessProtection__sidebar .page__tile-wrapper {
        flex-direction: column;
    }

    .businessProtection__sidebar .tile:first-of-type {
        margin-top: 0;
    }



.businessProtection-form h3 {font-size: 24px;}
.businessProtection-form h4 {font-size: 18px;}
.footer__legal-text p {font-size: 12px!important;}

.peopleRisks {display: block;}
.peopleRisks .section {width: inherit!important;}



.bpformtwo {
	border: 3px solid #9F7D23;
	border-radius: 18px;
	padding: 6px 24px;
}


.businessProtection-form {display: flex; grid: 2;}
.myFormcolumn {
  flex: 1;
  padding: 10px;
}




.page__primary-container.secondary-container.homeHero.bpTrustPilot {padding: 48px!important; margin-top: 20px!important; margin-bottom: 20px!important;}

.page__primary-container.secondary-container.homeHero.bpForm {margin-top: 100px!important;}

.bpTrustPilotContainer {padding-bottom: 40px; padding-top: 40px; border-bottom: 1px solid #6666; border-top: 1px solid #6666;}










/* sections */
#lifeinsurance, #incomeprotection, #healthinsurance, #over50s {padding-top: 0px!important;}


.businessProtectioncol {
	flex-grow: 1;
	max-width: 100%;
	padding-left: 15px;
	padding-right: 15px;
	padding-bottom: 15px;
}
.businessProtectionrow {display: flex; margin: 30px -15px 0px; flex-wrap: wrap; }
.businessProtectionrowButton {display: flex; margin: 5px -15px 0px; flex-wrap: wrap; }

.businessProtection-form input {
    font-family: 'Activ-Grotesk-Regular';
    display: flex;
    width: 100%;
    max-width: 100%;
    padding: 24px;
    min-height: 40px;
    border-radius: 8px;
    border: solid 1px #9F7D23;
    background-color: transparent;
    font-size: 14px;
}

.businessProtection-form select {
    font-family: 'Activ-Grotesk-Regular';
    display: flex;
    width: 100%;
    max-width: 100%;
    padding: 24px;
    min-height: 40px;
	background: #ffffff;
    border-radius: 8px;
    border: solid 1px #9F7D23;
    background-color: transparent;
    font-size: 14px;
	-webkit-appearance: none;
	color: #767676;
	background-image: url(https://cdn.mooso.co.uk/amedia/media/1425/arrow-down-gold.svg);
	background-position: 90% center;
	background-repeat: no-repeat;
	background-size: 14px;
}

.businessProtection-form input:focus, .businessProtection-form select:focus {
        border: solid 2px #9F7D23;
        outline: solid 2px black;
        outline-offset: 2px;
    }





.businessProtection-form label {
    font-size: 16px;
	margin-bottom: 8px;
	display: block;
}

.businessProtection-form .businessProtection-error {
    border: solid 1px #cc2027;
    background-color: rgba(255,0,0, 0.2);
}

.businessProtection-form h4 {
    margin-top: 0px;
	padding-bottom: 0px;
	padding-top: 30px;
}

.businessProtection-form .row {
    margin-top: 30px;
}

.businessProtection-form__button-container {
    display: flex;
    justify-content: flex-end;
    margin: 30px 0;
}

.businessProtection-form__button {
    background-color: #9F7D23;
    color: white;
    padding: 15px 30px;
    border: none;
    cursor: pointer;
}

.businessProtection-form__secondary-button {
    background-color: whitesmoke;
    color: #212121;
    padding: 15px 30px;
    border: none;
    cursor: pointer;
    margin-right: 7.5px;
}



#overlay {display: none;}


#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

#overlay-message {
  color: #fff;
  font-size: 2em;
  text-align: center;
  max-width: 90%;
  padding: 20px;
  border-radius: 12px;
}


	 .formLabel {}
	 .formLabelRight {text-align: right; margin-top: 0px;}
	 .formLabelLeft {text-align: left; margin-top: 12px;}
	 .formLabelLeftMargin { display: flex; margin-top: 0px; margin-bottom: 0px;}
	 
	

hr {margin-top: 40px;}

.radiocallnow img {width: 80px; margin-top: -20px; margin-left: -10px;}
.formspacer {min-width: 25%;}

input[type="radio"] {
  -webkit-appearance: none;
  appearance: none;
  background-color: #fff;
  margin: 0;
  font: inherit;
  color: currentColor;
  width: 15px;
  height: 15px;
	min-height: 15px;
  border: 1px solid #ccc2a0;
  border-radius: 50%;
  transform: translateY(-0.075em);
  display: grid;
  place-content: center;
  margin-top: 8px;
	padding: 15px 15px 15px 15px;
  --form-control-color: #244C5A; /* Default color for checked state */
}

input[type="radio"]::before {
  content: "";
  width: 20px;
  height: 20px;
  border-radius: 50%;
  transform: scale(0);
  transition: 120ms transform ease-in-out;
  background-color: var(--form-control-color); /* Ensure color is applied */
}

input[type="radio"]:checked::before {
  transform: scale(1);
}

.displayDesktop {display: inherit;}
.displayMobile {display: none;}





/* Hide the default checkbox */
.custom-checkbox input[type="checkbox"] {
  display: none;
}

/* Style the custom checkmark box */
.custom-checkbox .checkmark {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 1px solid #998542;
  border-radius: 4px; /* Rounded corners */
  background-color: #fff;
  position: relative;
  vertical-align: middle;
  margin-right: 10px;
  transition: all 0.2s;
}

/* Show the checkmark when checked */
.custom-checkbox input[type="checkbox"]:checked + .checkmark::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 6px;
  height: 12px;
  border: solid #998542; /* Checkmark color */
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Optional: change background or border when checked */
.custom-checkbox input[type="checkbox"]:checked + .checkmark {
  background-color: #ece7d5;
  border-color: #998542;
}






#submitbut { width: 100%; margin-top: 20px;}


@media(max-width: 900px) {
	
	
	.displayMobile {display: inherit;}
	.displayDesktop {display: none;}
	
	.formspacer {display: none;}
	
	.radiocallnow {padding-bottom: 0px!important;}
	.radiocallnow img {padding-bottom: -20px}
	
	.formLabelLeftMargin{margin-bottom: 0px;}

	
	.polFormTitle {text-align: center;}
	
	.businessProtectionrow {display: block; margin: 10px 0px 0px; flex-wrap: nowrap; }
	.businessProtectionrowButton {display: block; margin: 10px 0px 0px; flex-wrap: nowrap; }
	
	.formsectionmobile {margin-bottom: 40px;}

    .businessProtection-form .col {
        min-width: 100%;
    }
	
	.businessProtectionhr {display: none;}
	
    .businessProtection-form label {
        margin-top: 15px;
    }

    .businessProtection-form__button-container {
        justify-content: flex-start;
    }

    .businessProtection-form .row {
        margin-top: 0;
    }

    .businessProtection-form h4 {
        margin-bottom: 30px; text-align: left;
    }
	div.page__primary-container.secondary-container.zeroPaddingBottom {padding: 24px 0px!important;}
}




#scroll-bar {
  position: fixed;
  bottom: 0; /* ðŸ‘ˆ Fix to bottom */
  left: 0;
  width: 100%;
  background: #244C5A;
  color: white;
  text-align: center;
  padding: 12px;
  box-shadow: 0 -2px 4px rgba(0,0,0,0.1); /* ðŸ‘ˆ Shadow on top */
  display: none;
  z-index: 99999;
}
#scroll-bar a {
  color: white;
	text-decoration: none;
}

#scroll-bar span {
  margin-left: 10px;
	position: relative;
	top: 6px;
}

/* Show bar on mobile by default */
@media (max-width: 1000px) {
  #scroll-bar {
    display: block;
  }
}


.bpimage img {float: right; max-height: 400px;}


.bpTrustPilot {margin-top: 100px; }

html { scroll-padding-top: 500px; scroll-behavior: smooth; }

.bpageContentPadding {padding-top: 30px!important;}
@media only screen and (max-width:1000px) {
.bpageContentPadding {padding-top: 40px!important;}
}

.calculatorBtn {min-width: 170px;}



@media only screen and (max-width:1400px) {
	.bpimage img {max-height: 300px;}
}

@media only screen and (max-width:1200px) {
	.bpimage img {max-height: 250px; margin-right: -50px}
}

@media only screen and (max-width:1100px) {
	.bpimage img {max-height: 220px; margin-right: -50px}
}
@media only screen and (max-width:1000px) {
	.bpimage img {max-height: 200px; margin-right: -50px; margin-top: 60px}
}

@media only screen and (max-width:600px) {
	.bpimage img {max-height: 150px; margin-right: -50px; margin-top: 30px}
}

@media (max-width: 1000px) {
	.businessProtection-form {display: block;}
	.myFormcolumn {padding: 0px;
	}
	.businessProtectioncol{
	max-width: 100%;
	padding-left: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-top: 15px;
	}
	.page__wrapper.sector__primary-wrapper.white-bg {padding-top: 20px!important;}
}


:root{
  --error: #ff5c39;         /* red */
  --error-bg: #fff2f2;      /* soft red bg */
  --error-ring: rgba(217,48,37,.25);
  --border: #c9ced6;
}


.form-input{
  border: 1px solid var(--border);
  background: #fff;
  transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}

/* when JS adds .error */
.form-input.error{
  border-color: var(--error);
  background: var(--error-bg);
  box-shadow: 0 0 0 2px var(--error-ring) inset;
}

.form-input.error:focus{
  outline: none;
  box-shadow: 0 0 0 2px var(--error-ring) inset, 0 0 0 3px var(--error-ring);
}

/* optional: style the whole row when invalid */
.businessProtectioncol.has-error .formLabelLeft,
.businessProtectioncol.has-error label{
  color: var(--error);
}

/* inline error message */
.field-error{
  display: none;
  margin-top: .35rem;
  font-size: .9rem;
  line-height: 1.3;
  color: var(--error);
}
