/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

/* Custom Fonts */
@font-face {
	font-family: 'PlusJakartaSans';
  	src: url('/wp-content/themes/generatepress_child/fonts/webfonts/PlusJakartaSans-Bold.woff2') format('woff2'),
       	 url('/wp-content/themes/generatepress_child/fonts/webfonts/PlusJakartaSans-Bold.woff') format('woff');
	font-weight: 700;

	font-family: 'PlusJakartaSans';
  	src: url('/wp-content/themes/generatepress_child/fonts/webfonts/PlusJakartaSans-ExtraBold.woff2') format('woff2'),
       	 url('/wp-content/themes/generatepress_child/fonts/webfonts/PlusJakartaSans-ExtraBold.woff') format('woff');
	font-weight: 800;

	font-family: 'PlusJakartaSans';
  	src: url('/wp-content/themes/generatepress_child/fonts/webfonts/PlusJakartaSans-Medium.woff2') format('woff2'),
       	 url('/wp-content/themes/generatepress_child/fonts/webfonts/PlusJakartaSans-Medium.woff') format('woff');
	font-weight: 500;

	font-family: 'PlusJakartaSans';
  	src: url('/wp-content/themes/generatepress_child/fonts/webfonts/PlusJakartaSans-Light.woff2') format('woff2'),
       	 url('/wp-content/themes/generatepress_child/fonts/webfonts/PlusJakartaSans-Light.woff') format('woff');
	font-weight: 300;

	font-family: 'PlusJakartaSans';
  	src: url('/wp-content/themes/generatepress_child/fonts/webfonts/PlusJakartaSans-Regular.woff2') format('woff2'),
       	 url('/wp-content/themes/generatepress_child/fonts/webfonts/PlusJakartaSans-Regular.woff') format('woff');
	font-weight: normal;

	font-family: 'ComicNeueAngular';
  	src: url('/wp-content/themes/generatepress_child/fonts/webfonts/ComicNeueAngular-Bold.woff2') format('woff2'),
       	 url('/wp-content/themes/generatepress_child/fonts/webfonts/ComicNeueAngular-Bold.woff') format('woff');
	font-weight: 700;

	font-family: 'ComicNeueAngular';
  	src: url('/wp-content/themes/generatepress_child/fonts/webfonts/ComicNeueAngular-ExtraBold.woff2') format('woff2'),
       	 url('/wp-content/themes/generatepress_child/fonts/webfonts/ComicNeueAngular-ExtraBold.woff') format('woff');
	font-weight: 800;

	font-family: 'ComicNeueAngular';
  	src: url('/wp-content/themes/generatepress_child/fonts/webfonts/ComicNeueAngular-Medium.woff2') format('woff2'),
       	 url('/wp-content/themes/generatepress_child/fonts/webfonts/ComicNeueAngular-Medium.woff') format('woff');
	font-weight: 500;

	font-family: 'ComicNeueAngular';
  	src: url('/wp-content/themes/generatepress_child/fonts/webfonts/ComicNeueAngular-Light.woff2') format('woff2'),
       	 url('/wp-content/themes/generatepress_child/fonts/webfonts/ComicNeueAngular-Light.woff') format('woff');
	font-weight: 300;

	font-family: 'ComicNeueAngular';
  	src: url('/wp-content/themes/generatepress_child/fonts/webfonts/ComicNeueAngular-Regular.woff2') format('woff2'),
       	 url('/wp-content/themes/generatepress_child/fonts/webfonts/ComicNeueAngular-Regular.woff') format('woff');
	font-weight: normal;
}


* {
  font-size: 100%;
  font-family: 'ComicNeueAngular', 'PlusJakartaSans', Arial, Helvetica, sans-serif;
}

h1 {
  font-size: 36px;
  font-weight: 600;
}

h2 {
  font-size: 40px;
  font-weight: 500;
}

h3 {
  font-size: 32px;
  font-weight: 500;
}

h4 {
  font-size: 28px;
  font-weight: 500;
}

h5 {
  font-size: 24px;
  font-weight: 500;
}

h6 {
  font-size: 18px;
  font-weight: 700;
}

/* GUTENSLIDER - Home */
#gutenslider-cg50ge0aj .bg-image {
  border-radius: 10px;
}

.sbdc-slide-container p.author {
  margin-bottom: 0;
}

.wp-block-eedee-block-gutenslider .eedee-gutenslider-nav svg {
  border: 4px solid #fff;
  border-radius: 50%;
}

/* Gutenslider Arrows - Pixelated SVG fix */
.wp-block-eedee-block-gutenslider .eedee-gutenslider-nav svg {
  background: #f8f6f4;/* Old browsers */
  background: -moz-radial-gradient(center, ellipse cover, #f8f6f4 0, #f8f6f4 48px, #f8f6f4 49px);/* FF3.6+ */
  background: -webkit-gradient(radial, center center, 0, center center, 100%, color-stop(0, #f8f6f4), color(48px, #f8f6f4), color-stop(49px, #f8f6f4));/* Chrome,Safari4+ */
  background: -webkit-radial-gradient(center, ellipse cover, #f8f6f4 0, #f8f6f4 48px, #f8f6f4 49px);/* Chrome10+,Safari5.1+ */
  background: -o-radial-gradient(center, ellipse cover, #f8f6f4 0, #f8f6f4 48px, #f8f6f4 49px);/* Opera 12+ */
  background: -ms-radial-gradient(center, ellipse cover, #f8f6f4 0, #f8f6f4 48px, #f8f6f4 49px);/* IE10+ */
  background: radial-gradient(ellipse at center, #f8f6f4 0, #f8f6f4 48px, #f8f6f4 49px);/* W3C */
}

/* NAVIGATION SEARCH */
.navigation-search {
  top: 100%;
  background-color: #fff;
}

/* PAGE TITLES */
.sbdc-page-title-container {
  padding: 40px;
  max-width: 600px;
  background-color: rgba(247, 245, 242, 0.73);
  border-radius: 6px;
  color: #012573;
}

.sbdc-location-title-container {
  padding: 40px;
  max-width: 600px;
  margin: 0 auto;
  background-color: rgba(247, 245, 242, 0.73);
  border-radius: 6px;
}

.sbdc-location-title-container h1 {
  color: #002d62;
  margin-bottom: 0;
}

@media (min-width: 769px) {
  .sbdc-page-title-container {
    margin-left: 20px;
  }
}

/* PRIMARY NAVIGATION */
.nav-float-right #site-navigation {
  margin-left: 40px;
  width: 100%
}

.nav-button {
  background-color: #f8f6f4;
  box-shadow: none;
  -webkit-transition: border-color 200ms ease, background-color 200ms ease;
  transition: border-color 200ms ease, background-color 200ms ease;
  color: #002d62;
  border-radius: 6px;
}

.main-navigation .menu-bar-item.nav-button>a {
  line-height: 60px !important;
  font-weight: 700;
}

.nav-button:hover {
  background-color: #ecebea;
}

.nav-button a:hover {
  text-decoration: none;
}

/* Sticky Nav */
.nav-float-right .navigation-stick .navigation-branding {
  margin-right: 20px;
}

.nav-float-right .main-navigation.has-sticky-branding.navigation-stick:not(.mobile-header-navigation) .menu-bar-items {
  margin-left: auto;
}

/* Mobile Icon */
.mobile-menu-control-wrapper .menu-toggle, .mobile-menu-control-wrapper .menu-toggle:hover, .mobile-menu-control-wrapper .menu-toggle:focus, .has-inline-mobile-toggle #site-navigation.toggled {
  background-color: rgba(0, 0, 0, 0.04);
}

/* POST ARCHIVE & SINGLE */
.single-post .page-hero {
  background-color: #002d62;
}

.sbdc-post-title-container {
  text-align: center;
  padding: 60px 40px;
  margin: 0 auto;
  background-color: #002d62;
}

.sbdc-post-title-container h1 {
  margin: 0 0 24px 0;
}

.sbdc-post-title-container h1, .sbdc-post-title-container div, .sbdc-post-title-container a {
  color: #fff;
}

#post-nav .post-nav-entry-header, .single-post #content {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto
}

.sbdc-post-title-container .entry-date {
  font-size: 13px
}

@media (max-width: 768px) {
  .sbdc-post-title-container {
    padding: 40px 30px;
  }
}

/* Paging Navigation */
.separate-containers .paging-navigation {
	margin-right: 20px;
	margin-left: 20px;
	background-color: #fff;
	border-radius: 10px;
}

/* CUSTOM POST TYPES */
/* Advisor Locations - taxonomy */
.tax-advisor-location.separate-containers.no-sidebar .site-main {
  margin: 60px 0;
}

.flex-container.sbdc-advisor-location {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: flex-start;
}

.sbdc-advisor-location .flex-item:nth-child(1) {
  order: 0;
  flex: 0 1 33.33%;
  align-self: auto;
}

.sbdc-advisor-location .flex-item:nth-child(2) {
  order: 0;
  align-self: auto;
  flex: 3 200px;
  display: flex;
  flex-flow: column;
}

.flex-container.sbdc-advisors {
  justify-content: flex-start;
  align-items: flex-start;
  flex: 1 100px;
  display: flex;
  flex-flow: row wrap;
  padding-left: 30px
}

.flex-container.sbdc-advisors .flex-item {
  order: 0;
  flex: 0 240px;
  margin: 10px;
}

.sbdc-archive-advisor h2 {
  flex-basis: 100%;
  text-align: center;
}

.sbdc-archive-advisor .featured-image img, .sbdc-advisors .featured-image img {
  border-radius: 10px;
  margin-bottom: 20px;
}

.sbdc-archive-advisor .advisor-info, .sbdc-advisors .advisor-info {
  padding: 20px;
  background-color: #fff;
  border-radius: 10px;
  font-size: 16px;
}

.sbdc-advisor-location .flex-item.info h6, .sbdc-advisor-location .flex-item.info {
  font-size: 16px;
}

.sbdc-archive-advisor .advisor-info span, .sbdc-advisors .advisor-info span {
  font-weight: 700;
}

.sbdc-archive-advisor .flex-item ul {
  list-style: none;
  margin: 0;
}

.sbdc-archive-advisor .flex-item ul li {
  line-height: 1.2;
  text-align: left;
}

.sbdc-advisors .featured-image {
  will-change: transform;
  transition: transform 450ms;
}

.sbdc-advisors .featured-image:hover {
  transition: transform 125ms;
  transform: translateY(-8px);
}

/* Advisors */
.flex-container.sbdc-advisor {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 10px;
  column-gap: 20px;
  border-bottom: 1px solid #ccc;
}

.sbdc-advisor.flex-item:nth-child(1) {
  order: 0;
  flex: 0 1 50%;
  align-self: auto;
}

.sbdc-advisor.flex-item:nth-child(2) {
  order: 0;
  flex: 0 1 50%;
  align-self: auto;
}

.sbdc-advisor {
  margin-bottom: 60px;
}

.sbdc-advisor .info {
  flex: 0 0 50%;
  height: auto !important;
}

.sbdc-advisor .info li {
  font-size: 16px;
  color: #002d62;
}

.sbdc-advisor .featured-image {
  flex: 0 0 50%;
  padding: 0 20px;
}

.sbdc-advisor .featured-image img {
  border-radius: 10px;
}

.sbdc-advisor-description {
  max-width: 600px;
  margin: 30px auto;
  border-bottom: 1px solid #ccc;
}

/* Client Archive */
.post-type-archive-client {
  background-color: #adafb2;
}

.flex-container.sbdc-archive-client.featured {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  align-content: flex-start;
  background-color: #fff;
  border-radius: 10px;
	margin: 0 20px 120px 20px;
}
.flex-container.sbdc-archive-client.col {
	margin-bottom: 120px;
}

.sbdc-archive-client.featured .flex-item:nth-child(1) {
  order: 0;
  flex: 0 1 50%;
  align-self: auto;
}

.sbdc-archive-client.featured .flex-item:nth-child(2) {
  order: 0;
  flex: 0 1 50%;
  align-self: auto;
  padding: 36px;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
}

.sbdc-archive-client.featured .featured-image {
  margin: 0;
  border-radius: 10px 10px 10px 10px;
}

.sbdc-archive-client.featured .featured-image img {
  border-radius: 10px 0 0 10px;
}

.sbdc-archive-client .client-logo-container {
	margin-bottom: 36px;
}

.sbdc-archive-client .client-logo {
  max-width: 40%;
  height: 60px;
}

.sbdc-archive-client.featured h3.client-testimonial {
  padding: 0;
	margin-bottom: 30px;
}

.sbdc-read-more {
  margin-top: auto;
}

.flex-container.sbdc-archive-client {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-content: flex-start;
  align-items: stretch;
}

.flex-container.sbdc-archive-client .flex-item {
  order: 0;
  flex: 0 1 33.33%;
  align-self: auto;
  background-color: #fff;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
}

.flex-container.sbdc-archive-client .flex-item:not(.flex-container.sbdc-archive-client.featured .flex-item) {
  margin: 20px;
  padding: 36px;
}

.flex-container.sbdc-archive-client .client-logo.card {
  max-width: 50%;
  height: 80px;
  object-fit: contain;
}

/* Clients */
.flex-container.sbdc-client {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  margin-bottom: 60px;
}

.flex-container.sbdc-client .flex-item:nth-child(1) {
  order: 0;
  flex: 0 1 33.33%;
  align-self: auto;
}

.flex-container.sbdc-client .flex-item:nth-child(2) {
  order: 0;
  flex: 0 1 66.66%;
  align-self: auto;
}

.flex-container.sbdc-archive-client .flex-item.empty{
	margin: 0 !important;
	padding: 0 !important;
	background-color: transparent;
}

/* Advisors & Clients */
.sbdc-advisor-location .info ul, .sbdc-advisor .info ul, .sbdc-client .info ul {
  list-style: none;
  margin: 0;
}

.sbdc-advisor-location .info, .sbdc-client .info {
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 3px 3px 6px 0 rgb(0 0 0 / 5%);
}

.sbdc-client .info .client-logo {
  max-width: 150px;
}

.sbdc-advisor-location .info ul, .sbdc-advisors .advisor-info ul, .sbdc-client .info ul {
  list-style: none;
  margin: 0;
}

.sbdc-advisor-location .info li, .sbdc-client .info li {
  border-bottom: 1px solid #ecebea;
  padding: 16px 12px 16px 24px;
}

.sbdc-advisor-location .location-logos-row {
	display: flex;
	justify-content: center;
	align-items: center;
	align-content: center;
	text-align: center;
}

.sbdc-advisor-location .location-logos-row.one {
	padding: 24px 12px 8px 12px;
}

.sbdc-advisor-location .location-logos-row.two {
	padding: 0 12px 24px 12px;
}

.sbdc-advisor-location .location-logos-column {
	flex: 50%;
}

.location-logos-row.border{
	border-bottom: 1px solid #ecebea;
}

.sbdc-advisor-location .location-logos-column img{
	max-height: 80px;
	max-width: 280px;
	padding: 0 12px;
}

.sbdc-advisor-location .info li.advisor-location-logo {
  border-bottom: none;
}

.sbdc-advisor-location .info li.advisor-location-logo.border {
  border-bottom: 1px solid #ecebea;
}

.sbdc-advisor-location .info li.advisor-location-logo.bottom-border {
  border-bottom: 1px solid #ecebea;
}

.sbdc-advisor-location .info li:last-child, .sbdc-client .info li:last-child {
  border-bottom: none;
  padding-bottom: 24px;
}

.sbdc-advisor-location .info h6, .sbdc-client .info h6 {
  margin-bottom: 0;
}

.sbdc-advisor-location .item li, .sbdc-advisor-location .item li h6, .sbdc-client .info li, .sbdc-client .info li h6 {
  font-size: 16px;
  color: #002d62;
}

.sbdc-client .featured-image {
  flex: 0 0 66.66%;
  padding-left: 34px;
}

.post-image-above-header .inside-article .sbdc-client .featured-image {
  margin-bottom: 0;
}

.sbdc-client-description {
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 769px) and (max-width: 1024px) {
  .sbdc-archive-advisor .flex-item {
    flex-basis: 50%;
  }
}

@media (max-width: 1024px) {
  .flex-container.sbdc-archive-client.featured {
    flex-direction: column;
  }

  .sbdc-archive-client.featured .featured-image img {
    border-radius: 10px 10px 0 0;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .flex-container.sbdc-advisors {
    justify-content: space-around;
  }
}

@media (max-width: 768px) {
  .sbdc-archive-advisor .flex-item {
    flex-basis: 100%;
  }

  .flex-container.sbdc-advisor-location {
    flex-direction: column;
  }

  .sbdc-advisor-location .flex-item.info {
    margin: 30px;
    align-self: stretch;
  }

  .flex-container.sbdc-advisor, .flex-container.sbdc-client, .flex-container.sbdc-archive-client.col {
    flex-direction: column;
  }

  .flex-container.sbdc-advisors {
    justify-content: center;
    padding-left: 0;
  }

  .sbdc-advisor .flex-item.info {
    margin-bottom: 30px;
  }

  .flex-container.sbdc-client .flex-item:nth-child(1) {
    order: 2;
    width: 100%;
    border-radius: 0 0 10px 10px;
  }

  .sbdc-client .featured-image {
    width: 100%;
    padding: 0;
    order: 1;
  }

  .sbdc-client .featured-image img {
    border-radius: 10px 10px 0 0;
  }
}

/* GenerateBlocks - radius on all buttons */
.site-main .gb-button-wrapper .gb-button, .gb-button-wrapper .gb-button:visited {
  border-radius: 6px;
}

.footer-widgets .footer-widget-1 {
  flex-basis: 40%;
}

.footer-widgets .footer-widget-2, .footer-widgets .footer-widget-3, .footer-widgets .footer-widget-4 {
  flex-basis: 20%;
}

/* RELATED POSTS */
.wpsp-related-posts {
  background-color: #adafb2;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.wpsp-related-posts>.grid-container>h2 {
  margin-bottom: 20px;
  text-align: center;
}

.wpsp-related-posts>.grid-container {
  padding: 40px;
}

/*video iframe youtube */

.videoWrapper {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 */
  padding-top: 25px;
  height: 0;
}

.videoWrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Related Clients */
#wpsp-410 .wp-show-posts-inner {
	background-color: #fff;
	border-radius: 6px;
	padding: 20px;
	color: #002d62;
	font-size: 16px;
	font-weight: 500;
}
#wpsp-410 a.wp-show-posts-read-more{
  display: inline-block;
  padding: 10px 0;
  border: none;
  color: #002d62;
  font-size: .8em;
  text-decoration: none;
	font-size: 16px;
  font-weight: 500;
}

#wpsp-410 a:hover.wp-show-posts-read-more{
  text-decoration: underline;
	background: none;
}

#wpsp-410 .logo-container{

	display: flex;
	justify-content: space-around;
	align-content: center;
	flex-direction: row;
  height: 40%;
}

.logo-container img{
	width: auto;
	height: auto;
}


@media (max-width: 768px) {
  .sbdc-single-client-container .gb-grid-wrapper {
    flex-direction: column-reverse;
  }

  .gb-grid-wrapper>.gb-grid-column.one-third, .gb-grid-wrapper>.gb-grid-column.two-thirds {
    width: 100%;
  }

  .sbdc-client-featured-image {
    padding-left: 0;
  }
}

/* FOOTER */
.disclaimer {
  font-size: 12px;
  font-weight: 300;
}

.copyright {
  font-size: 14px;
  font-weight: 400
}


@media (min-width: 769px) {
  .site-footer>.gb-container>.gb-inside-container {
    padding-left: 40px;
    padding-right: 40px;
  }
}

/*Footer Social Buttons */
@media (max-width: 768px) {
  .social-buttons>.gb-button {
    flex: 0;
  }
}

@media (max-width: 1024px) {
  .navigation-branding img {
    height: 80px
  }
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* FOR REFERENCE, MEDIA QUERIES */
@media (max-width: 768px) {
  /* CSS in here for mobile only */
}

@media (min-width: 769px) and (max-width: 1024px) {
	/* CSS in here for table and mobile only */
}

@media (min-width: 1025px) {
  /* CSS in here for desktop only */
}
