:root {
  --theme--blue: #01AAA0;
  --theme--pink: #E72B76;
  --theme--purple: #98258F;
  --theme--green: #91C848;
}

.grecaptcha-badge {
  z-index: 1;
}

#testimonials {
  margin-top: 5rem;
}

#testimonials .testimonials__testimonial {
  border-left: 0.5rem solid var(--theme--blue);
  padding-left: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  margin-top: 3rem;
}

@media screen and (min-width: 760px) {
  #testimonials .testimonials__testimonial {
    flex-direction: row;
    margin: 5rem 0;
  }
}

#testimonials .testimonials__testimonial:nth-of-type(4n+1) {
  border-left: 0.5rem solid var(--theme--blue);
}

#testimonials .testimonials__testimonial:nth-of-type(4n+2) {
  border-left: 0.5rem solid var(--theme--pink);
}

#testimonials .testimonials__testimonial:nth-of-type(4n+3) {
  border-left: 0.5rem solid var(--theme--purple);
}

#testimonials .testimonials__testimonial:nth-of-type(4n+4) {
  border-left: 0.5rem solid var(--theme--green);
}

#testimonials .testimonials__left {
  width: 100%;
  max-width: 8rem;
  flex-shrink: 0;
}

#testimonials .testimonials__content {
  margin-bottom: 1.6rem;
}

#testimonials .testimonials__content p {
  margin-bottom: 1rem;
}

#testimonials .testimonials__name {
  font-weight: 700;
}

#testimonials .gform_wrapper .gform_body .gform_fields {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

#testimonials .gform_wrapper .gform_required_legend {
  font-size: 80%;
  margin-bottom: 1rem;
  text-align: right;
}

#testimonials .gform_wrapper .charleft {
  font-size: 80%;
}

#testimonials .gform_wrapper .gform_footer {
  margin-top: 1rem;
}

@media screen and (max-width: 768px) {
	#gform_7 .gfield, #gform_7 .ginput_container, #gform_7 input:not([type="checkbox"]):not([type="submit"]), #gform_7 select {
		display: block;
	    width: 100%;
	}
}

/* Digital Support */

#org-results svg {
  height: 13.5px;
  aspect-ratio: 1 / 1;
  margin-bottom: -2px;
}
#org-results h5 {
  font-weight: bold;
  color: #e71d73;
}
#org-results a {
  display: block;
  transition: color 0.3s;
}
#org-results a.email {
  overflow: hidden;
  text-overflow: ellipsis;
}
#org-results a:hover {
  color: #e71d73;
}
#org-results .org-details {
  font-size: 0.9em;
  margin-top: 0.9em;
}
#org-results .booking-info {
  margin-top: 0.9em;
}
#org-search {
  text-align: center;
  margin-bottom: 3rem;
}
#org-search select {
  background-color: #fff;
}
#org-results-for {
  margin-bottom: 3rem;
}

/* Partner with Digital Cheshire */

.py-16 {
    padding-bottom: 4rem;
    padding-top: 4rem
}

@media (min-width: 48rem) {
    .md\:w-1\/3 {
        width: 33.333333%;
    }
    .md\:flex-nowrap {
      flex-wrap: nowrap;
    }
    .md\:pl-\[8\.333333\%\] {
        padding-left: 8.333333%;
    }
    .md\:pr-\[8\.333333\%\] {
        padding-right: 8.333333%;
    }
}

/* Forms (white bg) */

form.white-bg label,
form.white-bg legend {
color: rgb(0, 48, 62) !important;
}

form.white-bg .gfield_required  {
color: rgb(255, 0, 0) !important;
}

form.white-bg .gfield input {
border-color: #718A91 !important;
}

form.white-bg .gform_required_legend {
margin-bottom: 20px;
}

form.white-bg .gfield--type-consent legend {
margin-bottom: 10px;
}

form.white-bg .gfield--type-honeypot {
display: none;
}

form.white-bg select {
    border-color: #6b7280!important;
    background-image: url(../imgs/select-arrow-6b7280.svg);
}

/* Other Business Support */

.service-list {
  position: relative;
  overflow: hidden;
}
.service-list::before,
.service-list::after {
  content: '';
  position: absolute;
  width: 13.5rem;
  height: 13.5rem;
  border-radius: 50%;
  background: transparent;
  border-width: 1rem;
  border-style: solid;
}
.service-list::before {
  top: 30rem;
  right: -2.5rem;
  border-color: #009B97;
}
.service-list::after {
  bottom: 6.75rem;
  left: -2.5rem;
  border-color: #8E1E8E;
}
.service-list:not(.bg-white)::before {
  border-color: #91C848;
  top: -2.5rem;
  right: -0.5rem;
}
.service-list:not(.bg-white)::after {
  border: none;
  width: 20rem;
  height: 20rem;
  bottom: 27rem;
  left: -5rem;
  opacity: 0.2;
  background: repeating-linear-gradient(
    145deg,
    transparent, 
    transparent 0.7rem, 
    #899497 0.7rem, 
    #899497 1.2rem
  );
}
.service-list .container {
  z-index: 1;
  position: relative;
}
.service-list__header {
  gap: 3rem;
}
.service-list__img img {
  border-radius: 100%;
  width: min(400px, 100%);
}
.service-list__grid {
  gap: 1.5rem;
}
.service-list__service:not(.bg-white) {
  border: 0.2rem solid #91C848;
}
.service-list__service svg {
  aspect-ratio: 1 / 1;
  margin-bottom: -0.3rem;
  height: 1.2rem;
}
.service-list__service .icon,
.service-list__service a:hover {
  color: #e71d73;
}
.service-list__service:not(.bg-white) .icon,
.service-list__service:not(.bg-white) a:hover {
  color: #91C848;
}
.service-list__service a {
  display: block;
  transition: color 0.3s;
}
.service-list__service a.ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.service-list__service p:not(:last-child) {
  margin-bottom: 1rem;
}
.service-list__service ul,
.service-list__service ol {
  list-style: initial;
  padding-left: 2.5rem;
  margin-bottom: 1rem;
}
.service-list__service .gap-1 {
  gap: 0.25rem;
}

@media (min-width: 64rem) {
  .service-list__header {
    gap: 5rem;
    margin-bottom: 4rem;
  }
  .service-list__intro:not(:only-child) {
    width: 60%;
  }
  .service-list__img {
    width: 40%;
    justify-content: flex-start;
    margin-bottom: -1.5rem;
  }
  .service-list__grid {
    gap: 5rem;
  }
}

/* Guides and Factsheets */

@media (min-width: 36rem) and (max-width: 47.99rem) {
	.sm\:grid-cols-2 {
        grid-template-columns: repeat(2,minmax(0,1fr))
    }
}

.resource-list {
	overflow: hidden;
	position: relative;
}

.resource-list .container {
    z-index: 1;
    position: relative;
}

.resource-list__group:not(:last-of-type) {
	border-bottom: 2px solid #00aaa0;
	padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}

.resource-list__intro {
	margin-bottom: 4rem;
}

.resource-list__intro,
.resource-list__outro {
    max-width: 40rem;
    margin-left: 0;
}

.resource-list__groups {
	margin-bottom: 3rem;
}

.resource-list .btn {
	padding-left: 2.5rem;
	padding-right: 2.5rem;
	width: fit-content;
}

.resource-list__resource h3 {
	margin-top: -0.5em;
}

.resource-list::before,
.resource-list::after {
  content: '';
  position: absolute;
  width: 13.5rem;
  height: 13.5rem;
  border-radius: 50%;
  background: transparent;
  border-width: 1rem;
  border-style: solid;
}

.resource-list::before {
  top: 4rem;
  right: -2.5rem;
  border-color: #EE2C7C;
}

.resource-list::after {
  border: none;
  width: 20rem;
  height: 20rem;
    bottom: -4rem;
    right: 8rem;
  opacity: 0.2;
  background: repeating-linear-gradient(
    145deg,
    transparent, 
    transparent 0.7rem, 
    #899497 0.7rem, 
    #899497 1.2rem
  );
}

@media (max-width: 63.99rem) {
	.resource-list::before {
        opacity: 0.5;
    }
}

/* Tax filter buttons */

.bg-white .btn.is-active {
    border-color: inherit;
}

.btn.is-active {
    background-color: var(--acc--c--white);
	border-color: var(--acc--c--white);
    color: var(--acc--c--dark-blue);
}