/*
 Theme Name:   Small Business
 Description:  The theme for Small Business
 Author:       Bonhill plc
 Author URI:   https://bonhillplc.com/
 Template:     bonhill-theme
 Version:      1.0.0
*/
@import url("../bonhill-theme/style.css");
@import url("../bonhill-theme/childtheme.css");

:root {
  --primary-color: #045990 !important;
  --button-color: #033d72 !important;
  --article-card-background: #fafafa !important;
}

.header-bottom-section {
  background: var(--primary-color);
  box-shadow: 500px 0 0 0 var(--primary-color), -500px 0 0 0 var(--primary-color);
}

.header-bottom-section .main-navigation .sub-menu li.current-menu-item a {
  color: var(--primary-color);
}

.header-bottom-section .mobile-menu .menu .main-navigation li.current-menu-item a {
  color: var(--primary-color);
}

.homepage-section-header-border {
  border: 3px solid var(--primary-color);
  background-color: var(--primary-color);
}

.homepage-featured-article-container:after {
  border-top: 2px solid var(--primary-color);
}

.homepage-featured-article-cat {
  background: var(--article-card-background);
  color: var(--primary-color);
}

.homepage-article-container:after {
  border-top: 2px solid var(--primary-color);
}

.homepage-article-cat {
  background: var(--article-card-background);
  color: var(--primary-color);
}

.homepage-article-long-container:after {
  border-top: 2px solid var(--primary-color);
}

.homepage-article-long-cat {
  background: var(--article-card-background);
  color: var(--primary-color);
}

.homepage-article-noimg-laptop-container:after {
  border-top: 2px solid var(--primary-color);
}

.homepage-article-noimg-laptop-cat {
  background: var(--article-card-background);
  color: var(--primary-color);
}

.homepage-article-noimg-container:after {
  border-top: 2px solid var(--primary-color);
}

.homepage-article-noimg-cat {
  background: var(--article-card-background);
  color: var(--primary-color);
}

.top-article-section .content-section .author-share .entry-subhead .entry-meta .byline a {
  color: var(--primary-color);
}

.bottom-article-section .content-section .entry-content a {
  color: var(--primary-color);
}

.bottom-article-section .content-section .entry-content h3 {
  color: var(--primary-color);
}

blockquote p {
  color: var(--primary-color) !important;
}

footer.site-footer {
  background: var(--primary-color);
}

.comments-area input {
  border: 1px solid var(--primary-color) !important;
}

.comments-area textarea {
  border: 1px solid var(--primary-color) !important;
}

.archive .content-section p a,
.archive .content-section p a:hover {
  color: var(--primary-color) !important;
}

.single-post .content-section p a,
.single-post .content-section p a:hover {
  color: var(--primary-color) !important;
  text-decoration: underline;
}

.top-archive-section .content-section .category-description button {
  background-color: var(--primary-color);
}

.navigation.pagination a.next.page-numbers, .navigation.pagination a.prev.page-numbers {
  border: solid 2px var(--primary-color);
}

.navigation.pagination span.page-numbers.current {
  color: var(--primary-color) !important;
}

.navigation.pagination path {
  color: var(--primary-color) !important;
}

.tagList h3 {
  color: var(--primary-color);
}

.tagList .tag {
  color: var(--primary-color);
}

.social-menu i {
  color: var(--primary-color);
}

.comments-area #submit {
  background: var(--button-color);
}

.subscribe-button {
  background: var(--button-color);
}

.homepage-featured-article-content-container {
  background: var(--article-card-background);
}

.homepage-article-content-container {
  background: var(--article-card-background);
}

.homepage-article-long-content-container {
  background: var(--article-card-background);
}

.homepage-article-noimg-laptop-content-container {
  background: var(--article-card-background);
}

.homepage-article-noimg-content-container {
  background: var(--article-card-background);
}

@media screen and (min-width: 1080px) {
  .header-bottom-section .header-search button span.search-text {
    background: var(--button-color);
  }
}
@media screen and (max-width: 720px) {
  .header-bottom-section {
    box-shadow: 100px 0 0 0 var(--primary-color), -100px 0 0 0 var(--primary-color);
  }
}

#gform_wrapper_331 .new-whitepaper-form input {
  min-width: 0;
  vertical-align: top;
  margin-top: 8px !important;
}

#gform_wrapper_331 .new-whitepaper-form .gfield_checkbox label {
  min-width: 0;
}

.takepay2 .gfield_checkbox > div,
.takepay2 .gfield_radio > div {
  padding: 10px;
  background-color:rgba(255, 255, 255, 0.75);
  border: 2px solid grey;
  border-radius: 5px;
}

.takepay2 .gfield_checkbox > div:hover,
.takepay2 .gfield_radio > div:hover {
  background-color:rgba(111, 209, 255, 0.75);
}

.postid-2560211 .bottom-article-section .leadgen-202203_wrapper {
  background-color: #000000;
  position: relative;	
}

.postid-2560211 .bottom-article-section .leadgen-202203_wrapper::before {
  content: ' ';
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: 50% 0;
  background-size: cover;
  opacity: 0.3;
  background-image: url('https://s38397.pcdn.co/wp-content/uploads/2022/04/takepayments-bg-scaled.jpg.webp');
  z-index: 0;
}

.postid-2560211 .bottom-article-section .leadgen-202203_wrapper > * {
  position: relative;
}

@media screen and (min-width: 1350px) {
  .seriesContentArea .sidebar {
    max-width: 300px !important;
  }
}

.min-300 {
  min-width: 300px !important;
}

.page-id-2552999 header.entry-header, .page-id-2552999 aside#secondary {
  display: none !important;
}

.page-id-2552999 .sidebar-sticky-ad .ad-mpu {
  position: -webkit-sticky;
  position: sticky;
  top: 80px;
}

.page-id-2552999 .sidebar-sticky-ad {
min-width: 300px;
}

.page-id-2552999 .cat-links {
  position: absolute !important;
  left: 0;
  top: 0px;
  margin: 0 !important;
  padding: 4px 8px 4px 8px !important;
  background: var(--article-card-background);
  color: var(--primary-color);
  text-transform: uppercase;
  font-weight: 600;
  font-size: 14px !important;
}

.page-id-2552999 .relative-cat .cat-links {
position: relative !important;
padding-left: 0px !important;
padding-top: 0px !important;
}

.page-id-2552999 .wpnbha .post-thumbnail {
  margin: 0;
}

.page-id-2552999 article .entry-wrapper {
  padding: 10px;
}

.page-id-2552999 article figure, .page-id-2552999 article .entry-wrapper {
  background: var(--article-card-background);
}

.page-id-2552999 .cover-image .post-thumbnail img {
  height: 100% !important;
  object-fit: cover;
}

.page-id-2552999 .cover-image .post-thumbnail {
  margin-right: 0 !important;
}

.page-id-2552999 .column-height-grid article {
  display: flex;
  flex-direction: column;
}

.page-id-2552999 .column-height-grid article .entry-wrapper {
  height: 100%;
}

.page-id-2552999 .column-height-head .wp-block-columns:first-child div {
  display: flex;
  display: -webkit-flex;
  flex-wrap: wrap;
}

.page-id-2552999 .column-height-head .wp-block-columns:first-child div .entry-wrapper {
height: 100%;
}

.page-id-2552999 .column-height-head .wp-block-columns:first-child div article {
overflow: hidden
}

.page-id-2552999 .equal-ad-height > div:first-child {
  display: flex;
  display: -webkit-flex;
  flex-wrap: wrap;
  margin-right: 0px;
}

.page-id-2552999 .entry-content article:after {
  content: "";
  border-top: 2px solid var(--primary-color);
  width: 100%;
  display: block;
  top: 0;
  position: absolute;
}

.page-id-2552999 .seriesmeta {
  display: none !important;
}

.page-id-2552999 h2.header.has-text-color:after {
  content: "";
  position: absolute;
  width: 50px;
  border: 3px solid var(--primary-color);
  display: block;
}

.page-id-2552999 h2.header.has-text-color {
  margin-bottom: 20px;
}

.page-id-2552999 .post-thumbnail img {
  height: 150px !important;
  width: 100%;
  object-fit: cover;
}

.page-id-2552999 .entry .entry-content > *, .newspack-inline-popup > * {
  margin: 10px 0;
}

@media only screen and (max-width: 1080px) {
  .page-id-2552999 .long-article .post-thumbnail img {
    height: auto !important;
  }
  .page-id-2552999 .article-img .post-thumbnail img {
    height: auto !important;
  }
  .page-id-2552999 .column-height-head > div {
    display: block;
  }
  .page-id-2552999 .article-no-img-laptop {
    margin-left: 0 !important;
  }
  .page-id-2552999 .article-no-img > div > div {
    display: flex;
    justify-content: space-between;
  }
  .page-id-2552999 .article-no-img > div > div article {
    flex-basis: calc(50% - 16px);
  }
  .page-id-2552999 .long-article .post-thumbnail img {
    width: 30%;
    float: left;
  }
  .page-id-2552999 .featured-article {
    display: block !important;
    margin-left: 0 !important;
    margin-bottom: 30px;
  }
  .page-id-2552999 .featured-article-two {
    margin-left: 0 !important;
    margin-bottom: 30px;
  }
  .page-id-2552999 .article-img .post-thumbnail {
    height: 200px;
    overflow: hidden;
  }
  .page-id-2552999 .first-grid {
    margin-left: 0;
  }
  .page-id-2552999 h2.header {
    display: none;
  }
}

.page-id-2552999 .font h2 > a , .page-id-2552999 .font p {
  color: #424242 !important;
  font-family: RobotoSlab !important;
}

@media only screen and (max-width: 781px) {
  .page-id-2552999 .long-article .post-thumbnail img {
    width: 100%;
  }
  .page-id-2552999 .first-grid article:last-of-type {
    margin-bottom: 1.5em;
  }
  .page-id-2552999 .article-no-img-laptop article:last-of-type {
    margin-bottom: 1.5em;
  }
}

@media only screen and (max-width: 700px) {

  .page-id-2552999 .sidebar-sticky-ad .ad-mpu {
    margin: auto;
  }
  .page-id-2552999 .article-img {
    margin-bottom: 30px !important;
  }
}

@media (min-width: 599px) {
  .page-id-2552999 .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column:not(:first-child) {
    margin-left: 0em;
  }
}

@media (max-width: 599px) {
  .page-id-2552999 .column-height-head .wp-block-columns:first-child div .entry-wrapper {
    height: auto;
  }
  .page-id-2552999 .article-no-img > div > div {
    display: block;
}
.page-id-2552999 .article-no-img-laptop {
  margin-bottom: 0 !important;
}
.page-id-2552999 .article-no-img-laptop .post-thumbnail {
  display: none;
}
.page-id-2552999 .article-no-img-laptop .cat-links {
  position: relative !important;
  padding-left: 0 !important;
}
.page-id-2552999 .first-grid .post-thumbnail {
  display: none;
}
.page-id-2552999 .first-grid .cat-links {
  position: relative !important;
  padding-left: 0 !important;
}
}

.page-id-2552999 .wp-block-newspack-blocks-homepage-articles.is-landscape.show-image article > figure.post-thumbnail img
{
  height: auto !important;
}

.page-id-2552999 .cat-links {
  position: relative !important;
  padding-left: 0px !important;
}

.page-id-2552999 .featured-article article > figure {
  margin-left: 0px !important;
  margin-right: 0px !important;
  padding-left: 0px !important;
}

.page-id-2552999 .featured-article-one-third article {
  margin-bottom: 20px !important;
}

.page-id-2552999 .featured-article-one-third article figure {
  flex-basis: 66.6667% !important; 
}

.page-id-2552999 .featured-article-one-third article .entry-wrapper {
  flex-basis: 33.3333% !important;
}

.page-id-2552999 .entry > .entry-content > .wp-block-group > .wp-block-group__inner-container > .wp-block-columns > .wp-block-column:nth-child(1) > .wp-block-group > .wp-block-group__inner-container > * {
  margin-left: 0px;
  width: 100%;
}

.page-id-2552999 .featured-article-row > .wp-block-column { 
  margin-left: 0px;
  margin-right: 0px;
}

.page-id-2552999 .featured-article-row {
  justify-content: space-between;
  margin-bottom: 20px !important;
}

.page-id-2552999 .featured-article-row > .wp-block-column:nth-child(1) {
  flex-basis: calc(66.66667% - 8px) !important;
  flex-grow: 0 !important;
}

.page-id-2552999 .featured-article-row > .wp-block-column:nth-child(2) {
  flex-basis: calc(33.33333% - 16px) !important;
  flex-grow: 0 !important;
}

.page-id-2552999 .featured-article img {
  height: auto !important;
}

.page-id-2552999 .wpnbha {
  margin-top: 0px !important;
  margin-bottom: 0px !important
}

.page-id-2552999 .wpnbha .entry-wrapper {
  height: 100%;
}

.page-id-2552999 h2.header.has-text-color:after {
  content: none !important;
}

@media only screen and (max-width: 1080px) {
  .page-id-2552999 .featured-article-row {
    margin-bottom: 0px !important;
  }

  .page-id-2552999 .featured-article-one-third {
    margin-bottom: 20px;
  }

  .page-id-2552999 .featured-article-one-third article > figure {
    flex-basis: 50% !important;
  }

  .page-id-2552999 .featured-article-one-third article > div.entry-wrapper {
    flex-basis: 50% !important;
  }

  .page-id-2552999 .wpnbha.columns-3 article {
    flex-basis: calc(50% - 10px) !important;
  }

  .page-id-2552999 .featured-article-row {
    flex-direction: column !important;
  }
 
  .page-id-2552999 .featured-article-row > .wp-block-column:nth-child(2) div[data-posts] {
    display: flex;
    justify-content: space-between;
  }

  .page-id-2552999 .featured-article-row > .wp-block-column:nth-child(2) div[data-posts] article {
    flex-basis: calc(50% - 10px);
  }

  .page-id-2552999 .wpnbha article {
    margin-bottom: 20px !important;
  }

  .page-id-2552999 .wpnbha {
    margin-bottom: 20px;
  }
  .page-id-2552999 h2.header {
    display: block !important;
  }
}

@media only screen and (max-width: 960px) {
  .page-id-2552999 .featured-article-one-third article.post-has-image {
    flex-direction: column !important;
  }  
  .page-id-2552999 .featured-article-row article.post-has-image {
    flex-direction: column !important;
  }

}

@media only screen and (max-width: 800px) {
  .page-id-2552999 .wpnbha:not(.featured-article) > div[data-posts] {
    flex-direction: column !important;
  }

  .page-id-2552999 .wpnbha:not(.featured-article) article {
    flex-basis: calc(100%) !important;
  }
}

@media only screen and (max-width: 700px) {
  .page-id-2552999 .wpnbha:not(.featured-article) > div[data-posts] {
    flex-direction: row !important;
  }

  .page-id-2552999 .wpnbha:not(.featured-article) article {
    flex-basis: calc(50% - 10px) !important;
  }
}

@media only screen and (max-width: 580px) {
  .page-id-2552999 .wpnbha:not(.featured-article) > div[data-posts] {
    flex-direction: column !important;
  }

  .page-id-2552999 .wpnbha:not(.featured-article) article {
    flex-basis: calc(100%) !important;
  }
}

.page-id-2552999 .entry .entry-content {
  max-width: 100%;
}

.page-id-2552999 .site-breadcrumb {
  display: none;
}

.page-template-template-full-width-short .main-content {
  min-width: 100%;
}

.page-template-template-full-width-short .site-breadcrumb {
	display: none;
}

.page-template-template-full-width-short #wallpaper-ads-shim {
	display: none;
}

.page-template-template-full-width-short .homepage-banner-container {
  padding: 0 !important;
  min-height: 0 !important;
}

.page-template-template-full-width-short .entry-content > div {
	margin-top: 0px;
}

.page-template-template-full-width-short .site-content,
.page-template-template-full-width-short .site-footer {
	margin: 0;
}

.page-template-template-full-width-short .content-area {
	margin: 0 !important;
	width: 100% !important;
	max-width: 100% !important;
}

/* Fix for Advanced Columns use on the LeadGen page. Background colour of child element overflowing past rounded corners */
body.page-id-2562514 .uagb-block-124703cb,
body.page-id-2561425 .uagb-block-fb5f76df
{
  overflow: hidden;
}
