/*
 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
*/

/* Resolve side scrolling seen when adding Gutenslider */
html {overflow: overlay;}

/* Text Highlight Color Change */
::selection {
    background: #275b8d;
    color: #fff;
}

/* WCAG */
button.slick-arrow {display: none;}

.generate-back-to-top {
    bottom: 80px !important; /* So as to not overlap Google reCAPTCHA v3 */
}

.clearfix {clear:both;}

#commercial-lending,
#capital-markets-mortgage-banking-and-loan-servicing,
#lending-regulation,
#secondary-loan-market,
#SupportEmployees
{
	padding-top: 3em;
	margin-top: -3em;
}


#site-navigation .navigation-branding img, .site-logo.mobile-header-logo img {
    height: 100px;
}

#site-navigation.main-navigation .inside-navigation {justify-content: flex-end;}
.site-logo {line-height: 1;}
.site-logo img {max-width: 30vw;}
.site-header .header-image {vertical-align: initial;}
nav#sticky-navigation #tagline {display: none;}
#tagline {
    padding-right: 20px;
    font-family: 'Open Sans', sans-serif;
    color: #275b8d;
    text-transform: uppercase;
    font-size: 1.765em;
}
nav#sticky-navigation {
    background-color: aliceblue;
}
nav#sticky-navigation .main-nav ul li[class*="current-menu-"] > a:hover,
nav#sticky-navigation .main-nav ul li[class*="current-menu-"] > a,
nav#sticky-navigation .main-nav ul li:hover > a {
  background-color: transparent;
}


.main-navigation .main-nav > ul > li > a {
    border-bottom: 3px solid transparent;
    transition: all 1s ease;
}
.main-navigation .main-nav > ul > li.current-menu-item > a,
.main-navigation .main-nav > ul > li > a:hover,
.main-navigation .main-nav > ul > a:active {border-bottom: 3px solid #275b8d;}
.main-navigation .main-nav ul ul li a {text-transform: inherit;}

/* Submenu auto width */
.sub-menu .dropdown-menu-toggle {position: relative; right: 0;}
/* .sub-menu li {margin-right: 3em;} */
.main-navigation ul ul {width: auto; white-space: nowrap;}



/* Smart Slider */
body.home #content, body.blog #content {padding-top: 0;}
body.home article#post-2, body.blog article#post-2 {margin-top: 3em;} /* Margin below slider */


/* Page Title with background */
body.home .pg-title-w-bckgrnd {display:none;}
.pg-title-w-bckgrnd {background-color: #2B3A42;}


/* Page Title with background */
.pg-title-w-bckgrnd {background-color: #2B3A42;}


/* Homepage - Featured News */
ul.wp-block-latest-posts {margin-left: 0;}
ul.wp-block-latest-posts li a {text-transform: uppercase;}
ul.wp-block-latest-posts img {border: 1px solid #ccc;}
.wp-block-latest-posts.is-grid .read-more-container {display: none;}

/* Blog (News) */
.read-more-container a {text-transform: uppercase;}
#main .wp-paginate .current {background: #2b3a42;}

/* Recent Posts */
.rpwwt-widget li {padding-bottom: 1em;}
.rpwwt-widget li a {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-content: flex-start;
    align-items: flex-start;
    text-decoration: underline;
}
.rpwwt-widget li a:hover, .rpwwt-widget li a:focus {text-decoration: none;}
.rpwwt-widget li a img {
    order: 0;
    flex: 0 1 auto;
    align-self: auto;
    margin-right: 15px;
}
.rpwwt-widget li a span {
    order: 0;
    flex: 0 1 auto;
    align-self: auto;
    font-weight: 300;
    text-transform: uppercase;
    line-height: 120%;
}
.rpwwt-widget li .rpwwt-post-date {
    margin-left: 60px;
    text-transform: uppercase;
    font-weight: 300;
}

.widget ul li {margin-bottom: 0;}


/* Our Practices */

.pt-cv-wrapper {margin-top: 40px;}
.pt-cv-view.attorneys .pt-cv-custom-fields {margin-top: 0;}
.pt-cv-wrapper .btn {padding: 10px 20px;}

/* Attorney & Practice Areas */
.sp-tab-content ul {
    margin-left: 2em !important;
}

#assoc-practices ul,
#assoc-attorneys ul,
#attorney-education ul,
#attorney-bar-court-admissions ul,
#attorney-memberships ul,
#case_study ul,
#cs_assoc_practice_areas ul,
#cs_assoc_attorneys ul,
#associated_case_studies ul,
#associated_posts ul,
#associated_practices ul,
#related_topics ul {
    margin-left: 2em;
}
#assoc-practices ul li,
#assoc-attorneys ul li,
#attorney-education ul li,
#attorney-bar-court-admissions ul li,
#attorney-memberships ul li,
#case_study ul li,
#cs_assoc_practice_areas ul li,
#cs_assoc_attorneys ul li,
#associated_case_studies ul li,
#associated_posts ul li,
#associated_practices ul li,
#related_topics ul li {
    list-style-type: disc;
}


#main li {padding-bottom: .5em;}


/* Attorneys */
div.pt-cv-view.attorneys .pt-cv-ctf-attorney_position,
div.pt-cv-view.employees .pt-cv-ctf-employee_position {
    text-transform: uppercase;
    font-weight: 200;
}

div#attorney-bio,
div#employee-bio {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-content: space-around;
  align-items: stretch;

  /* background-color: #eee; */
  padding: 40px 40px 0;
}
div#attorney-bio > div,
div#employee-bio > div {
  order: 0;
  flex: 1 1 auto;
  align-self: auto;

  font-size: initial;
}
div#attorney-bio .two-cols,
div#employee-bio .two-cols {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-content: flex-start;
  align-items: stretch;
}
.attorney-left-col {
  order: 0;
  flex: 0 1 50%;
  align-self: auto;
}
.attorney-right-col {
  order: 0;
  flex: 0 1 50%;
  align-self: auto;
}
div#attorney-bio .attorney-photo,
div#employee-bio .employee-photo {
  order: 0;
  flex: 0 1 auto;
  align-self: auto;

  margin-right: 1em;
}
div#attorney-bio .attorney-photo img,
div#employee-bio .employee-photo img,
.polaroid img,
body.home .wp-show-posts-image img {
  /* padding: 4px; */
  background-color: #fff;
  border: 1px solid rgba(0,0,0,.2);
  -webkit-box-shadow: 0 1px 3px rgb(0 0 0 / 10%);
  -moz-box-shadow: 0 1px 3px rgba(0,0,0,.1);
  box-shadow: 0 1px 3px rgb(0 0 0 / 10%);
}
#attorney-bio h2,
#employee-bio h2 {
  font-weight: 600;
  margin-bottom: 0;
}
.attorney_position,
.employee_position {
    color: #2b3a42;
    text-transform: uppercase;
    margin-bottom: 1em;
    font-size: larger;
    font-weight: 300;
}


/* WP Tabs */
label.sp-tab__nav-link.sp-tab__active {border-top: 3px solid #275b8d !important;}
.sp-tab-content ul {border-bottom: none !important;}
.sp-tab-content ul li a {
  padding-left: 0 !important;
  color: #275b8d !important;
}
.sp-tab-content ul li a:hover {
  color: #000 !important;
}


/* Blog Posts */
.pt-cv-view.news .pt-cv-title a {font-weight: 500;}
#main .post-image,
#main .featured-image {
    margin-top: 1em;
    margin-right: 1em;
}

.nobr	{ white-space:nowrap; }

/* Elements > Global Footer */
.no-margin {margin: 0;}
.site-footer {
  font-family: 'Open Sans';
  color: #fff;
}
.site-footer h4 {text-transform: uppercase;}
.site-footer a {color: #fff;}
.site-footer .current-menu-item a {
  font-weight: bold;
  text-decoration: underline;
}
.site-footer a:hover,
.site-footer a:focus {text-decoration: underline; color: #eee;}
#menu-footer, .site-footer .social-footer, .site-footer .location-footer {
  list-style: none;
  margin-left: auto;
	text-transform: uppercase;
}


/* Case Studies */
.cvp-lf-wrapper.filter {
    background-color: #f5f5f5;
    margin-bottom: 40px;
    padding: 10px;
    border: 1px solid #ddd;
}
.cvp-live-filter {margin-bottom: 0;}

/* Case Studies for Attorney within WP Tab */
#associated-case-studies ul {
    margin-left: 2em;
}


/* Follow Us */
.site-footer .social-footer li.twitter::before {content: "\f081";}
.site-footer .social-footer li.facebook::before {content: "\f082";}
.site-footer .social-footer li:before {
  font-family: "Font Awesome 5 Brands";
  font-weight: 400;
  color: #275b8d;
  display: inline-block;
  margin-left: -1.412em;
  width: 1.412em;
}


/* Our Location */
.site-footer .social-footer, .site-footer .location-footer {color:#fff;}
.site-footer .social-footer li, .site-footer .location-footer li {
	padding-left: 1.412em; /* 24px */
}
.site-footer .location-footer li:before {
  font-family: "Font Awesome 5 Free";
	font-weight: 900;
	color: #275b8d;
	display: inline-block;
  margin-left: -1.412em;
  width: 1.412em;
}
.site-footer .location-footer li.address-footer::before {content: "\f1ad";}
.site-footer .location-footer li.phone-footer::before {content: "\f87b";}
.site-footer .location-footer li.address-footer {padding-bottom: 1em;}


.gb-grid-wrapper-a4d84c5f {margin-top: 2em;}
.site-footer .copyright a {text-decoration: underline;}
.site-footer .copyright a:hover,
.site-footer .copyright a:focus {text-decoration: none;}



.wp-block-list.indent {
  list-style-type: none;
}




/* Media Queries */
@media (max-width: 1024px) {

  .site-header .header-image {width: 240px;}

}
@media (max-width: 768px) {

  /* Page Title with background */
  .pg-title-w-bckgrnd {background-image: none !important;}
  /* Attorneys */
  div#attorney-bio, div#attorney-bio .two-cols {flex-wrap: wrap;}
  .attorney-left-col, .attorney-right-col {flex: 0 1 auto;}

}