/* =====================================
   GLOBAL STYLES
   ===================================== */
/* @media (max-width: 1024px) {
	html, body {
		overflow-x:hidden;
	}
} */

html {
    scroll-behavior: smooth;
}
:where(.wp-site-blocks) > * {
    margin-top: 0;
}

ul ul {
	margin-bottom: 0 !important;
}

p.well {
    text-align: center;
}

/* =====================================
   Awards section
   ===================================== */
.awards-section {
	border-top: 4px solid; /* Top border width */
    border-bottom: 4px solid; /* Bottom border width */
    border-left: 0; /* No left border */
    border-right: 0; /* No right border */
    border-image: linear-gradient(to right, transparent, #FFCB47, transparent) 1;
    border-image-slice: 1;
}

.badge-item {
    flex: 1 0 135px;
    background: white;
    padding: 8px;
    box-shadow: 0 0 30px 0 rgba(0,0,0,0.15);
    border-radius: 16px;
    min-height: 118px;
    display: flex;
    align-items: center;
    justify-content: center;
}
@media (max-width: 767px) {
	.badge-item {
		max-height: 100px;
	}
}

/* Breadcrumbs styles */
nav.breadcrumbs, .smartcrawl-breadcrumbs {
	display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    align-content: center;
	text-align: center;
    gap: 0 .5rem;
	font-size: var(--wp--preset--font-size--x-small);
}
/* Breadcrumbs - leftalgned */
/* body.single-location nav.breadcrumbs, body.single-location .smartcrawl-breadcrumbs,
body.location-template nav.breadcrumbs, body.location-template .smartcrawl-breadcrumbs,	 */
body.single.single-post nav.breadcrumbs, body.single.single-post .smartcrawl-breadcrumbs,
body.single.single-lawyer nav.breadcrumbs, body.single.single-lawyer .smartcrawl-breadcrumbs {
	justify-content: flex-start;
	text-align: left;
	margin: 0 !important;
}
.hero.hero-light nav.breadcrumbs *, .hero.hero-light .smartcrawl-breadcrumbs * {
	color: var(--wp--preset--color--heading) !important;
}

/* Case Results text styles */
.pill-text p.uagb-heading-text {
    display: inline-block;
    background-color: #F8F8F8;
    color: #005184;
    padding: 5px 15px;
    border-radius: 20px;
}

/* Z-index for menu hovering */
ul.wp-block-navigation__submenu-container.wp-block-navigation-submenu {
    z-index: 50 !important;
}
.bttn-full-width .wp-block-uagb-buttons-child{
	width: 100% !important;
}

/* Scroll to top button/arrow */
.swt-scroll-top {
	bottom: 75px;
	z-index: 100;
}

/* Social Media Icons */

.wp-block-social-links {
	display: flex;
    flex-wrap: nowrap;
    align-content: center;
    align-items: center;
    gap: 8px;
	margin: 0;
}

/* Remove margin bottom from the last element within a Spectra container */
.uagb-container-inner-blocks-wrap > *:last-child {
    margin-bottom: 0px !important;
}

/* =====================================
   CUSTOM UTILITY CLASSES
   ===================================== */

/* For all utility classes, refer to code snippet "CSS: Utility Classes" */

.has-white-color p {
    color: #fff !important;
}

.single p {
    color: inherit;
}

.custom-border-radius {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

/* .single .entry-content h2 {
    margin-top: 3.5rem;
} */

/*  This will remove the margin-bottom on Author's p tag */
/*  As seen on the posts meta data */
.mb-0 .wp-block-post-author__name {
	margin-bottom: 0 !important;
}

/* Add Comment Here */
body.single img.alignright,
body.single img.alignleft,
body.single img.aligncenter {
    margin-top: 1.2rem;
    margin-bottom: 1.2rem;
}

/* =====================================
   Form Style
   ===================================== */

/* Remove required fields legend */
.gform_required_legend {
	display: none;
}

/* =====================================
   Table of Contents
   ===================================== */

.uagb-toc__wrap {
    border: 1px solid #e7e9ef !important;
    margin-bottom: 32px;
    background-color: #f8f8f8 !important;
}


/* =====================================
   Translate Shortcode Style
   ===================================== */
.gtranslate_wrapper {
	flex: 0 0 48px;
	display: flex;
	align-items: center;

}
.gtranslate_wrapper a {
	color: white !important;
	padding: 0.25rem;
}

.wp-block-uagb-container.uagb-block-6620640e.wp-block-uagb-container > .uagb-container-inner-blocks-wrap > *:not( .wp-block-uagb-column ):not( .wp-block-uagb-section ):not( .uagb-container__shape ):not( .uagb-container__video-wrap ):not( .uagb-slider-container ):not(.spectra-image-gallery__control-lightbox) {
	width: 100% !important;
}

/* =====================================
   Gravity Form Style
   ===================================== */

.wp-block-uagb-container .gform_wrapper .gform_fields {
    row-gap: 8px;
}

.wp-block-uagb-container .gform_wrapper .gform_footer {
    margin-top: 8px;
}

.wp-block-uagb-container .gform_wrapper .gform_footer input {
    width: 100% !important;
    padding: 16px !important;
    font-size: 24px !important;
    font-weight: 600 !important;
}

/* =====================================
   Contact Us - Form
   ===================================== */

.contact-us-form_wrapper h2.gform_title {
    color: #005184;
}

.contact-us-form_wrapper div#gform_fields_5 {
    row-gap: 32px;
}

.contact-us-form_wrapper .gform_footer.top_label {
    margin-top: 40px;
}

.gform_wrapper {
    display: block !important;
}

/* =====================================
   Split Cover Pattern
   ===================================== */

.cover-column {
	min-height: 100%;
}

@media (max-width: 767px) {
	.cover-column {
		min-height: 350px;
	}
}


/* =====================================
   Lawyer Single - Hero
   ===================================== */


@media (max-width: 767px) {
	.hero-lawyer .wp-block-cover__image-background {
		height: 100px;
	}
	
	.hero-lawyer span {
		height: 100px;
	}
	
	.hero-lawyer-container {
		margin-top: 38px !important;
	}
	
	.hero-lawyer-image {
		width: 100px !important;
		height: 100px;
		border-radius: 50%;
		position: relative;
		overflow: hidden !important;
		align-self: flex-start;
		padding-bottom: 100px!important;
	}
	
	.hero-lawyer-image figure {
		margin-bottom: 0 !important;
	}
	
	.hero-lawyer-image img {
		position: absolute;
		top: 0;
		left: 0;
	}
	
	.hero-lawyer h1, .hero-lawyer p {
		color: var(--wp--preset--color--heading) !important;
	}
	
	.hero-lawyer h1 {
		margin-bottom: 0 !important;
		font-size: 32px;
	}
	
	.hero-lawyer p {
		font-size: 24px;
	}
	
	.hero-lawyer nav.breadcrumbs, .hero-lawyer .smartcrawl-breadcrumbs {
		margin-top: 16px;
	}

	.hero-lawyer nav.breadcrumbs, .hero-lawyer .smartcrawl-breadcrumbs,
	.hero-lawyer nav.breadcrumbs *, .hero-lawyer .smartcrawl-breadcrumbs * {
		color: var(--wp--preset--color--heading) !important;
	}
}

/* =====================================
   Blog posts same category as current - Sidebar
   ===================================== */

ul.wp-block-post-template.is-layout-grid.wp-container-core-post-template-is-layout-1.wp-block-post-template-is-layout-grid.custom-ul {
    grid-template-columns: repeat(auto-fill, minmax(min(20rem, 100%), 1fr));
    container-type: inline-size;
    gap: var(--wp--preset--spacing--medium);
    display: grid;
    padding-inline-start: 0;
	list-style-type: none;
}

figure.wp-block-uagb-image__figure.custom-figure {
    height: 300px;
}
img.custom-img.wp-post-image {
    height: 300px;
    width: auto;
    object-fit: cover;
    border-radius: 8px;
}

.wp-block-uagb-container.custom-div{
	flex-direction: column;
}

.wp-block-group.is-vertical.is-layout-flex.wp-container-core-group-is-layout-5.wp-block-group-is-layout-flex.custom-pill-div {
    padding-left: 0;
}

.taxonomy-category.is-style-swt-post-terms-pill.wp-block-post-terms.has-x-small-font-size.custom-pill {
    padding-top: 3rem;
}

h4.wp-block-post-title.has-text-color.has-heading-color.custom-title {
    line-height: 1em;
    margin-top: -2rem;
	line-height: var(--wp--custom--line-height--x-small);
}

.wp-block-post-author.has-x-small-font-size.custom-author {
    padding-top: 36px;
}

.wp-block-group.is-content-justification-left.is-layout-flex.wp-container-core-group-is-layout-4.wp-block-group-is-layout-flex.custom-author-section {
    padding-left: 0;
    margin-top: -2rem;
	gap: .8rem;
}

li.wp-block-post.post-10219.post.type-post.status-publish.format-standard.has-post-thumbnail.hentry.category-firm-news::marker {
    display: none;
}

body.single .wp-block-post-author p.wp-block-post-author__name {
	margin:0 0 .5rem;
}

p:has(> img.right) {
    margin-bottom: 0;
}

p:has(> img.left) {
    margin-bottom: 0;
}

@media (max-width: 767px) {
	body.single #blogs-related-posts .wp-block-post-author {
		gap: 0;
	}
	.wp-block-group.is-content-justification-left.is-layout-flex.wp-container-core-group-is-layout-4.wp-block-group-is-layout-flex.custom-author-section {
		line-height: 1;
		height: 1px;
	}

	.wp-block-post-author.has-x-small-font-size.custom-author {
		padding-top: 24px;
		height: 60px;
	}
}


/* Answer Box Style */
.entry-content.wp-block-post-content:has(.answer-box) {
  overflow: visible !important;
}
.answer-box.wp-block-group {
  background: #fff !important;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12) !important;
  padding: 0 !important;
  margin: 0 0 3.5rem !important;
  overflow: hidden;
  gap: 0 !important;
  position: relative;
  z-index: 1;
}
.answer-box.wp-block-group > * {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
.answer-box.wp-block-group > h2,
.answer-box.wp-block-group > h3 {
  background: var(--wp--preset--color--primary) !important;
  color: #fff !important;
  padding: 2.5rem 2.5rem 2rem !important;
  margin: 0 !important;
  line-height: 1.1;
}
.answer-box.wp-block-group > p,
.answer-box.wp-block-group > ul,
.answer-box.wp-block-group > ol {
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}
.answer-box.wp-block-group > h2 + p,
.answer-box.wp-block-group > h3 + p,
.answer-box.wp-block-group > h2 + ul,
.answer-box.wp-block-group > h3 + ul,
.answer-box.wp-block-group > h2 + ol,
.answer-box.wp-block-group > h3 + ol {
  padding-top: 2rem;
}
.answer-box.wp-block-group > p {
  margin: 0 0 1.25rem !important;
}
.answer-box.wp-block-group > :last-child {
  padding-bottom: 2.5rem;
}
.answer-box ul,
.answer-box ol {
  margin: 0 !important;
}
.answer-box ul {
  list-style: none !important;
  padding-left: 2.5rem !important;
}
.answer-box ul > li {
  position: relative;
  padding-left: 1.5rem;
  margin: 0 0 1rem !important;
}
.answer-box ul > li::before {
  content: "\203A" !important;
  position: absolute;
  left: 0;
  top: 0.05em;
  color: #d7a928 !important;
  font-weight: 700;
  line-height: 1;
  font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}
.answer-box ul > li::marker {
  content: "" !important;
}
.answer-box ul li a,
.answer-box ol li a {
  color: var(--wp--preset--color--foreground) !important;
}
.answer-box ul li a:hover,
.answer-box ol li a:hover {
  text-decoration: underline;
}
@media (max-width: 780px) {
  .answer-box.wp-block-group > h2,
  .answer-box.wp-block-group > h3 {
    padding: 1.5rem 1.25rem !important;
  }
  .answer-box.wp-block-group > p,
  .answer-box.wp-block-group > ul,
  .answer-box.wp-block-group > ol {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .answer-box.wp-block-group > h2 + p,
  .answer-box.wp-block-group > h3 + p,
  .answer-box.wp-block-group > h2 + ul,
  .answer-box.wp-block-group > h3 + ul,
  .answer-box.wp-block-group > h2 + ol,
  .answer-box.wp-block-group > h3 + ol {
    padding-top: 1.25rem;
  }
  .answer-box.wp-block-group > :last-child {
    padding-bottom: 1.5rem;
  }
  .answer-box ul {
    padding-left: 1.25rem !important;
  }
}


/* =====================================
   Lawyer Single - Sidebar
   ===================================== */

@media (min-width: 768px) {
	.sidebar-lawyers {
		margin-top: -370px !important;
		position: sticky;
		z-index: 1;
		top: 40px;
		justify-content: flex-start !important;
	}
}

/* =====================================
   Lawyers Archive
   ===================================== */
.lawyers-archive .lawyers-photo img {
	object-position: top;
}

/* =====================================
   Lawyer Single - Practice Areas List
   ===================================== */

.practice-areas-list {
    display: flex;
    list-style-type: none;
    gap: 0.5rem;
    padding-left: 0;
	flex-wrap: wrap;
}

.practice-areas-list li {
    background-color: #00518A;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 14px;
	transition: 0.3s;
	cursor: pointer;
}

.practice-areas-list li:hover {
    background-color: #1F2937;
}

.practice-areas-list li a {
    color: #fff;
}


/* =====================================
   Practice Area Single - Hero
   ===================================== */

.hero-practice-area .wp-block-post-excerpt p{
	margin-bottom: 0;
}

/* =====================================
   CUSTOM TRANSITION
   ===================================== */

.grow-heading .wp-block-uagb-image--effect-zoomin .wp-block-uagb-image__figure:hover img, .wp-block-uagb-image--effect-zoomin .wp-block-uagb-image__figure:hover .wp-block-uagb-image--layout-overlay__color-wrapper {
    transition: none !important;
    transform: none !important;
}

.wp-block-uagb-container.grow-heading:hover {
    transition: transform 0.4s ease-in-out;
    transform: scale(1.05);
}

.wp-block-uagb-container.grow-heading {
    transition: transform 0.4s ease-out;
}

/* =====================================
   TABLET STYLES
   ===================================== */
@media (max-width: 976px) {
	.tablet-item-center wp-block-button {
        display: flex;
        justify-content: center;
    }
	.tablet-text-center {
		display: flex;
        justify-content: center;
		text-align: center;
	}
}

/* =====================================
   MOBILE STYLES
   ===================================== */
@media (max-width: 767px) {
    .home-hero .wp-block-pmp-page-header-image img {
        height: 100%;
    }

    .wp-block-pmp-navigation .wp-block-pmp-navigation-link.is-top-level>.wp-block-pmp-navigation-link__item,
    .wp-block-pmp-navigation .wp-block-pmp-navigation-link__dropdown-inner {
        padding: 24px 40px;
    }

    .wp-block-pmp-navigation-link__dropdown {
        border: none;
    }

    .wp-block-pmp-navigation .wp-block-pmp-navigation-link__dropdown-inner {
        background: #e6f2ff;
        box-shadow: none;
    }

    .wp-block-pmp-navigation-link.is-top-level.has-children>.wp-block-pmp-navigation-link__item:after {
        background-color: #E5BA08;
    }
	
    .mobile-item-center wp-block-button {
        display: flex;
        justify-content: center;
    }
	
	.mobile-text-center {
		display: flex;
        justify-content: center;
		text-align: center;
	}

    .hero-author .hero-author-image {
        max-width: 60vw;
    }

    .hero-author, .author-buttons {
        flex-direction: column;
    }

    .footer-copyright, .flex-row {
        display: flex;
        flex-direction: row !important;
        flex-wrap: wrap;
        align-items: center !important;
        justify-content: center;
    }

	.hero-section {
		min-height: 50px !important;
		padding: 32px !important;
	}

/* =====================================
   ATTORNEY CAROUSEL MOBILE BUTTON STYLES
   ===================================== */

	.wp-site-blocks .carousel-section.uagb-post__arrow-outside.uagb-post-grid .slick-next {
		right: -45px;
		top: 47%;    background-color: #fff;    border-radius: 50px;
	}  
	.wp-site-blocks .carousel-section.uagb-post__arrow-outside.uagb-post-grid .slick-prev {
		left: -45px;
		top: 47%;    background-color: #fff;    border-radius: 50px;
	}  
	.wp-site-blocks .carousel-section.uagb-post__arrow-outside.uagb-post-grid .slick-prev svg {
		fill: #000;
	}  
	.wp-site-blocks .carousel-section.uagb-post__arrow-outside.uagb-post-grid .slick-next svg {
		fill: #000;
	}
}

/* =====================================
   Case no Case Page
   ===================================== */

nav.tsvg-pagination-pages-wrapper a.btn.btn-lg {
	border-radius: 0 !important;
}

#gform_wrapper_7 .gform_heading {
    display: none;
}

h2.wp-block-heading {
	margin-bottom: var(--wp--preset--spacing--medium);
	margin-top: 0;
}


/* =====================================
   Custom Form
   ===================================== */

input.input-firstname {
    width: 48.5%;
    height: 38px;
    padding: 0 12px;
    margin: 0 6px 8px 0;
}

input.input-firstname::placeholder {
    color: #1F2937;
    letter-spacing: 1px;
}

input.input-lastname {
    width: 48.5%;
    height: 38px;
    padding: 0 12px;
}

input.input-lastname::placeholder {
    color: #1F2937;
    letter-spacing: 1px;
}

input.input-email {
    width: 100%;
    height: 38px;
    padding: 0 12px;
    margin: 0 0px 8px 0;
}

input.input-email::placeholder {
    color: #1F2937;
    letter-spacing: 1px;
}

input.input-phone {
    width: 48.5%;
    height: 38px;
    padding: 0 12px;
    margin: 0 6px 8px 0;
}

input.input-phone::placeholder {
    color: #1F2937;
    letter-spacing: 1px;
}

input.input-email::placeholder {
    color: #1F2937;
    letter-spacing: 1px;
}

input.input-zip {
    width: 48.5%;
    height: 38px;
    padding: 0 12px;
}

input.input-zip::placeholder {
    color: #1F2937;
    letter-spacing: 1px;
}

textarea.input-text {
    padding: 12px;
	width: 100%;
}

textarea.input-text::placeholder {
    color: #1F2937;
}

button.input-button {
    background-color: #ffcb47;
    padding: 16px;
    width: 100%;
    font-size: 24px;
    font-weight: 700;
    border: none;
}

@media screen and (min-width: 977px) and (max-width: 1317px) {
	input.input-firstname {
		margin: 0 2px 8px 0;
	}

	input.input-phone {
		margin: 0 2px 8px 0;
	}
}

@media screen and (max-width: 640px) {
	input.input-firstname {
		width: 100%;
		margin: 0 0 8px 0;
	}  

	input.input-lastname {
		width: 100% !important;
		margin: 0 0 8px 0;
	}

	input.input-phone {
		width: 100%;
		margin: 0 0 8px 0;
	}

	input.input-zip {
		width: 100% !important;
		margin: 0 0 10px 0;
	}
}

.home-form .custom-display {
    display: none;
}
