/*
Theme Name: UnderStrap Child
Theme URI: https://wp-themes.com/understrap
Author: ChildThemeWP.com
Author URI: https://childthemewp.com
Description: My WordPress UnderStrap child theme.
Template: understrap
License: GNU General Public License v3
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Version: 1.0.0
Text Domain: understrap-child
*/
@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');
#content.container-fluid {
	max-width: 1200px;
}
.alignfull > .wp-block-group__inner-container {
	max-width: 1200px;
	margin-left: auto;
	margin-right:auto;
}
.padding-block {
	padding: 50px 12px;
}
.padding-block .wp-block-columns:last-child {
	margin: 0;
}
.margin-block > .wp-block-group__inner-container {
	margin: 50px auto;
}
.bg-primary {
  background-color: transparent !important;
	color:black;
}
#no-title-page-wrapper {
	padding: 10px 0;
}
p:last-child {
	margin-bottom: 0;
}
header.entry-header {
	text-align: center;
}
.justify {
	text-align: justify;
}
.wp-block-button__link {
	transition-duration: .5s;
  color: #fff;
  background-color: #8ca19d;
  border-radius: 0;
  padding: calc(.067em + 2px) calc(1.333em + 2px);
  font-size: 1.125em;
}
.wp-block-button__link:hover {
  color: #fff;
  background-color: #000;
}
.full-background-image {
	background-size: cover;
	background-position: center;
}
body {
	font-family: "Figtree", sans-serif;
	font-weight: 300;
}
strong {
	font-weight: 700;
}
a {
	color: #516D57;
}
h1 {
	font-family: "Raleway", sans-serif;
	font-size: 56px;
}
.law-services h1, #schedule-an-appointment h1 {
	color:#516d57;
	font-size: 40px;
}
.single h1.entry-title {
	font-size: 40px;
	text-align: left;
	margin-bottom: 30px;
}
h2 {
	font-family: "Raleway", sans-serif;
	font-size: 38px;
}
h2.entry-title {
	font-size: 28px;
	text-align: left;
}
h2.entry-title a {
	color:inherit;
	text-decoration: none;
}
h4 {
	font-family: "Raleway", sans-serif;
	font-size: 20px;
}
@media screen and (max-width: 781px) {
	h1 {
	font-size: 40px;
}
.law-services h1, #schedule-an-appointment h1 {
	font-size: 32px;
}
.single h1.entry-title {
	font-size: 32px;
}
h2 {
	font-size: 30px;
}
h2.entry-title {
	font-size: 24px;
}
}
#wrapper-navbar {
	font-family: "Raleway", sans-serif;
}
#wrapper-static-hero {
  background-color: transparent !important;
}
#main-nav {
	padding: 25px 0;
	border-bottom: 40px solid #6b7d83;
}
.navbar > .container-fluid {
	flex-direction: column;
	gap:25px;
}
.banner-logo {
	padding: 0 30px;
}
.navbar-brand {
  color:black;
	display: flex;
	align-items: center;
	gap:10px;
}
.navbar-brand:hover{
  color:black;
}
.navbar-brand:before {
  display: block;
	content: '';
	background-image: url("images/mcelroy-m.png?");
	background-size: contain;
	background-repeat: no-repeat;
	height:50px;
	width: 50px;
}
.banner-columns {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width:100%;
	max-width: 1400px;
	margin: auto;
}
.banner-column {
	flex-basis: 50%;
}
.banner-column:last-child {
	flex-basis: 74%;
}
@media screen and (max-width: 1000px) {
	.banner-columns {
	flex-direction: column;
}
}
.navbar-brand {
	font-size: 35px;
	text-transform: uppercase;
}
#wrapper-static-hero {
  padding: 10px 0;
}
#wrapper-static-hero .row {
  align-items: center !important;
}
#wrapper-static-hero p:last-child {
  margin: 0;
}
.schedule-an-appointment {
	font-size: 22px;
	line-height: 1.2em;
	text-align: center;
	color:black;
}
.schedule-an-appointment a {
	text-decoration: none;
	color:black;
}
.call-today {
	font-size: 35px;
	line-height: 1.2em;
	text-align: center;
}
@media screen and (max-width: 781px) {
	.navbar-brand {
	font-size: 25px;
}
.schedule-an-appointment {
	margin-bottom: 10px;
}
	.call-today {
	font-size: 26px;
}
}
.nav-link {
	font-family: "Figtree", sans-serif;
	font-size: 19px;
	font-weight: 300;
    color:black;
  }
.nav-link:hover {
    color:black;
  }
#navbarNavOffcanvas.show {
	background-color: #b9c9d4 !important;
}
.navbar-toggler-icon {
 background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")
}
#wrapper-footer-full {
	background-color: transparent !important;
	font-size: 15px;
}
#footer-full-content {
	max-width: 1000px;
	margin: auto;
}
#footer-full-content .footer-widget {
	flex-basis: 27.5%;
}
#footer-full-content .footer-widget:first-child {
	flex-basis: 45%;
}
#footer-full-content h2 {
	font-size: 20px;
	font-weight: 300;
}
#footer-full-content h2 a {
	color:black;
	text-decoration: none;
}
.footer-logo {
	font-size: 28px;
}
.site-footer {
	background-color: #f0f0f0;
	padding: 10px 0;
	font-size: 14px;
}
.site-info {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1000px;
	margin: auto;
	padding: 0 12px;
}
.site-info a {
	color: black;
	text-decoration: none;
}

#home-banner {
	background-image: url("images/team.webp");
	background-size: cover;
	background-position: center top;
	min-height: 66vh;
	font-size:40px;
	line-height: 1.2em;
	font-weight: 300;
	padding: 50px;
}
#home-banner h1 {
	font-size:40px;
	font-weight: 700;
	color:white;
	max-width: 300px;
	margin: auto;
	margin-bottom: 10px;
}
#home-banner .wp-block-group {
	max-width: 33%;
	margin-left: auto;
	margin-right: 0;
}
@media screen and (max-width: 1000px) {
	#home-banner {
	font-size:25px;
		padding: 25px;
}
#home-banner h1 {
	font-size:25px;
}
	#home-banner .wp-block-group {
	max-width: 250px;
}
}
@media screen and (max-width: 600px) {
	#home-banner .wp-block-group {
	margin-right: auto;
}
	#home-banner {
		display: flex;
		flex-direction: column;
		justify-content: flex-end;
		align-items: flex-end;
		color:white;
		text-shadow: 0px 0px 5px black, 0px 0px 5px black;
		background-position: calc(50% + 100px) top ;
}
}
#learn h2 {
	font-size:40px;
	font-weight: 700;
	color:white;
	text-transform: uppercase;
}
#learn h3 {
	font-size:40px;
	font-weight: 300;
}
#learn .wp-block-columns {
	flex-wrap: wrap !important;
	gap:50px;
	margin-bottom: 0;
}
#learn .wp-block-column {
	flex-basis: calc(33.3333% - 33.3333px);
}
#learn img {
	border-radius: 50%;
	margin-bottom: 20px;
}
#free-consultation {
	background-image: url("images/free-consulation.webp");
	background-size: cover;
	background-position: center center;
}
#free-consultation h2 {
	font-size:40px;
	font-weight: 700;
	color:#7b7757;
	text-transform: uppercase;
}
#free-consultation .wp-block-group:first-child {
	background-color: white;
	padding: 50px;
	margin-bottom: 50px;
}
#free-consultation .wp-block-group:first-child  > .wp-block-group__inner-container {
	max-width: 800px;
	margin: auto;
}
#free-consultation .wp-block-group:last-child {
	background-color: #b9c9d4;
	padding: 50px;
}
@media screen and (max-width: 781px) {
	#free-consultation .wp-block-group {
	padding: 25px 12px !important;
}
}
#external-callouts .wp-block-columns {
	margin-bottom: 0;
}
#super-lawyers, #avvo  {
	display: flex;
	justify-content: center;
	align-items: center;
}
#super-lawyers iframe {
	height: 166px;
	width: 196px;
	overflow: hidden;
}
#avvo iframe {
	max-width: 166px;
	overflow: hidden;
}
#law-section-1 .wp-block-column:last-child {
	padding: 50px;
	background-color: white;
	font-size: 1.2em;
}
#law-section-2 {
	padding: 50px;
	background-color: #9fb59d;
}
#law-section-2 ul:last-child {
	margin-bottom: 0;
}
#law-section-2 li:not(:last-child) {
	margin-bottom: 30px;
}
#law-section-3 {
	padding: 50px;
	background-color: white;
}
.team-list {
	display: flex;
	flex-wrap: wrap;
	gap:20px;
}
.team-element {
	display: flex;
	flex-basis:calc(50% - 10px);
	background-color: #cccccc;
}
.team-image {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	max-width: 350px;
	min-width: 200px;
}
.team-content {
	padding: 30px;
	display: flex;
	flex-direction: column;
	gap:10px;
}
.team-content h3 {
	color: #516D57;
	font-size: 24px;
	line-height: 1.1em;
}
.team-content h3 a {
	text-decoration: none;
}
.team-email {
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}
@media screen and (max-width: 900px) {
	.team-element {
	flex-basis:calc(100%);
}
}
@media screen and (max-width: 500px) {
	.team-element {
	flex-direction: column-reverse;
}
	.team-image {
	max-width: 200px;
		margin-right: 0;
		margin-left: auto;
}
}
.team-member-columns {
	display: flex;
	gap:20px;
	border: 50px solid #cccccc;
	padding: 10px;
}
.team-member-columns h1 {
	text-align: left;
}
.team-member-column:first-child {
	flex-basis: 33.33333%;
}
.team-member-column:last-child {
	flex-basis: 66.66666%;
}
.team-locations-title {
	margin: 10px auto;
	background-color: #a3b49f;
	padding: 10px;
	font-size: 1.75em;
	line-height: 1.1em;
	font-weight: 500;
	text-align: center;
}
.team-locations {
	padding: 0 10px;
}
.callouts {
	border-top: 25px solid #516d57;
	padding-top: 25px;
}
.callouts > .wp-block-group__inner-container {
  max-width: 1400px;
}
.callouts .wp-block-column {
	display: flex;
	flex-direction: column;
}
.callouts .wp-block-columns figure {
	margin-bottom: 10px;
}
.callouts .wp-block-columns .wp-block-group {
	background-color: #b9c9d4;
	padding: 25px;
	flex-grow: 1;
}
.callouts .wp-block-columns .wp-block-group > .wp-block-group__inner-container {
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.callouts .wp-block-columns .wp-block-buttons {
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}
.callouts .wp-block-columns h3 {
	max-width: 200px;
	font-size: 22px;
	color:#516d57;
	font-weight: 600;
	text-transform: uppercase;
}
.callouts .wp-block-columns p {
	max-width: 300px;
}
#employment-law-footer {
background-image: radial-gradient(circle at 0% 100%, rgb(151, 180, 157) 0%, 24%, rgba(151, 180, 157, 0) 24%), radial-gradient(circle at 3.96973% 36.1003%, rgb(39, 120, 79) 0%, 35%, rgba(39, 120, 79, 0) 35%), radial-gradient(circle at 27.4967% 92.7799%, rgb(0, 70, 35) 0%, 40%, rgba(0, 70, 35, 0) 40%), radial-gradient(circle at 53.3838% 100%, rgba(215, 53, 1, 0.99) 0%, 50%, rgba(215, 53, 1, 0) 50%), radial-gradient(circle at 42.2868% 20.6152%, rgb(255, 68, 1) 0%, 70%, rgba(255, 68, 1, 0) 70%), radial-gradient(circle at 93.6865% 11.4258%, rgb(255, 185, 147) 0%, 70%, rgba(255, 185, 147, 0) 70%), radial-gradient(circle at 48.9014% 49.5215%, rgb(255, 255, 255) 0%, 100%, rgba(255, 255, 255, 0) 100%);
}
#employment-law-footer .wp-block-column {
	padding: 50px;
}
@media screen and (max-width: 781px) {
	#employment-law-footer .wp-block-column:first-child {
	display: none;
}
	#employment-law-footer .wp-block-column {
	padding: 25px;
}
}
.law-services  {
	border-bottom: 2px solid #516d57;
}
.law-services > .wp-block-group__inner-container {
	max-width:1400px;
}
.law-services .wp-block-columns {
	margin-bottom: 0;
}
.law-services .wp-block-group > .wp-block-group__inner-container {
	max-width:460px;
		padding: 0 12px;
	margin: auto;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap:30px;
}
.law-services h1 {
	margin-bottom: 0;
}
.law-services .wp-block-separator{
	max-width: 280px;
	width: 100%;
	margin: auto;
	border-color:#516d57;
	opacity: 1;
}
.swiper h2 {
	font-size: 22px;
	margin-bottom: 30px;
  text-align: center;
	
}
.swiper-slide {
	height: auto !important;
}
.swiper > .wp-block-group__inner-container {
  max-width: none;
}
.swiper .swiper-slide > .wp-block-group__inner-container {
	padding: 50px 50px;
	max-width: 1000px;
	margin: auto;
}
.swiper-button-next, .swiper-button-prev {
  color: white !important;
}
.swiper-pagination-bullet-active {
  background-color: white !important;
}
#initial-consultation > .wp-block-group__inner-container {
	max-width:1400px;
}
#initial-consultation .wp-block-columns {
	gap:0 !important;
}
#initial-consultation .wp-block-column:first-child {
	padding: 50px 0;
}
#initial-consultation .wp-block-column:first-child h2 {
	color:#516d57;
}
#initial-consultation .wp-block-group > .wp-block-group__inner-container {
  max-width: 460px;
  padding: 0 12px;
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
}
.video-container {
  position: relative;
  width: 100%;
  overflow: hidden; /* Prevents video from spilling out */
}

.background-video, .background-video video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Forces the video to fill the box while retaining aspect ratio */
  z-index: 1; /* Sends it to the background layer */
}
#schedule-an-appointment .wp-block-group {
	max-width: 600px;
	margin: auto;
	background-color: white;
	padding-bottom: 40px;
}
.blog #main {
	display: flex;
	flex-direction: column;
	gap:40px;
	margin-top: 40px;
	margin-bottom: 40px;
}
.post-columns {
	display: flex;
	border: 1px solid rgba(0, 0, 0, 0.25);
	max-width: 980px;
	margin: auto;
	cursor: pointer;
}
.post-column {
	flex-basis: 50%;
}
.post-column:first-child {
	max-width: 450px;
}
.post-column:last-child {
	padding: 24px 36px;
	flex-grow: 1;
}
.entry-meta {
	font-size: 12px;
	text-align: left;
	margin-bottom: 10px;
	position: relative
}
.entry-meta:not(.post-views) {
	padding-left: 30px;
}
.entry-meta:not(.post-views):before {
	display: block;
	content: '';
	background-image: url("images/mcelroy-m.webp");
	background-size: contain;
	background-repeat: no-repeat;
	height:20px;
	width: 20px;
	position: absolute;
	left:0;
	top:50%;
	transform:translateY(-50%);
}
.entry-meta a {
	color:inherit;
	text-decoration: none;
}
.post-column .byline {
	display: block;
}
.entry-meta .updated {
	display: none;
}
.post-template-default #main article {
	border: 1px solid rgba(0, 0, 0, 0.25);
	padding: 50px;
	max-width: 980px;
	margin:auto;
}
.post-image {
	margin-bottom: 30px;
}
.post-header {
	max-width: 980px;
	margin: 40px auto;
	display: flex;
	justify-content: space-between;
	gap:50px;
}
.pagination {
	max-width: 980px;
	margin: auto;
}
.active > .page-link, .page-link.active {
  background-color: #516D57;
	 border-color: #516D57;
}
.page-link {
  color: #516D57;
}
.btn-primary {
  background-color: #516D57;
	 border-color: #516D57;
}
.btn-primary:hover {
  background-color: #516D57;
	 border-color: #516D57;
}
#search-wrapper #main article {
	margin: 50px 0;
	max-width: 980px;
}
.direct-recent-posts {
	max-width: 980px;
	margin: auto;
	margin-top: 50px;
}
.direct-recent-posts ul {
	padding: 0;
	list-style: none;
	display: flex;
	gap:20px;
}
.direct-recent-posts li{
	border: 1px solid rgba(0, 0, 0, 0.25);
	flex-basis: 100%;
}
.direct-recent-posts a {
	display: block;
	padding: 20px;
	text-decoration: none;
}