/*
	Theme Name:			Petronelli Labor Law
	Theme URI:			http://tinyfrog.com
	Description:		A Twenty Twenty-Four child theme for Petronelli Labor Law.
	Author: 			TinyFrog Technologies
	Author URI:			http://tinyfrog.com
	Text Domain:		pll
	Version:			1.0.1
	Template: 			twentytwentyfour
	Template Version:	1.2.0
	License:			GPL-2.0+
	License URI:		http://www.opensource.org/licenses/gpl-license.php
*/

* {
	box-sizing: border-box;
}

img {
	max-width: 100%;
	border-style: none;
	height: auto;
	vertical-align: top;
}

a,
button,
input:focus,
input[type="button"],
input[type="reset"],
input[type="submit"],
textarea:focus,
.button {
	transition: all 0.3s ease-in-out;
}

.wp-site-blocks {
	overflow: hidden;
}

/*
Site Header
-------------------------------------------------- */

#site-container header {
	position: fixed;
	z-index: 9999;
	width: 100%;
	background-color: var(--wp--preset--color--white);
}

#site-container header + * {
	margin-top: 145px !important;
}

.call-us *,
.social-icons *,
.social-links *,
.mobile-search-icon,
.site-navigation .search-icon {
	line-height: normal;
}

.social-icons svg path,
.social-links svg path {
	transition: all ease-in-out 0.3s;
}

.social-icons a:hover svg path,
.social-icons a:focus svg path {
	fill: var(--wp--preset--color--white);
}

.call-us .wp-block-heading a {
	text-decoration: none;
}

.header-blue-bar *:focus {
	outline-color: var(--wp--preset--color--white);
}

.site-navigation .wp-block-navigation .has-child:hover > a,
.site-navigation .wp-block-navigation .current-menu-item > a,
.site-navigation .wp-block-navigation .wp-block-navigation-link a:hover,
.site-navigation .wp-block-navigation .wp-block-navigation-link a:focus,
.site-navigation .wp-block-navigation-item .wp-block-navigation-link a:hover,
.site-navigation .wp-block-navigation-item .wp-block-navigation-link a:focus {
	/*color: var(--wp--preset--color--teal);*/
	color: #3A7D92;
}

.site-navigation .wp-block-navigation .wp-block-navigation__submenu-icon {
	width: 15px;
	height: auto;
	margin-left: 0.688rem;
}

.site-navigation .wp-block-navigation-submenu .wp-block-navigation__submenu-icon svg {
	margin-top: 0;
	transition: all ease-in-out 0.3s;
}

.site-navigation .wp-block-navigation-submenu .wp-block-navigation__submenu-icon svg path {
	stroke: var(--wp--preset--color--teal);
}

.site-navigation .wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {
	border: none;
	margin-left: -1em;
}

.site-navigation .wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container .wp-block-navigation-submenu {
	margin-left: 0;
}

.site-navigation .wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container .wp-block-navigation-item a {
	padding-top: 0.625rem;
	padding-bottom: 0.625rem;
}

#flyout-header {
	display: none;
}

#flyout-header.visible {
	display: block !important;
}

.header-search .wp-block-search__input {
	border-radius: 4px;
	padding: 0.5rem;
}

.header-search .search-container {
	position: relative;
}

.header-search .search-container .wp-block-search {
	position: absolute;
	right: 188px;
	top: 0;
	z-index: 1;
	max-width: 400px;
	width: 100%;
	background-color: #fff;
	padding: 1rem;
}

#mobile-top-bar {
	display: none;
}

/*
Responsive Menu
-------------------------------------------------- */

#site-container nav.wp-block-navigation {
	display: flex;
}

#site-container nav.wp-block-navigation .wp-block-buttons {
	display: none;
}

#menu-toggle {
	display: none;
	flex-direction: column;
	justify-content: space-between;
	width: 50px;
	height: 36px;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 4px 0;
	margin: 0;
	position: absolute;
	top: -62px;
	right: var(--wp--style--root--padding-left);
	outline: none;
}

#menu-toggle span {
	display: block;
	width: 100%;
	height: 2px;
	background-color: var(--wp--preset--color--white);
	transition: all 0.3s ease-in-out;
	margin: 13px 0;
	position: relative;
}

#menu-toggle span::before,
#menu-toggle span::after {
	content: '';
	position: absolute;
	width: 100%;
	height: 2px;
	background-color: var(--wp--preset--color--white);
	transition: all 0.3s ease-in-out;
	left: 0;
}

#menu-toggle span::before {
	top: -13px;
}

#menu-toggle span::after {
	bottom: -13px;
}

#menu-toggle.active span {
	background-color: transparent;
}

#menu-toggle.active span::before {
	transform: rotate(45deg);
	top: 0;
}

#menu-toggle.active span::after {
	transform: rotate(-45deg);
	bottom: 0;
}

/*
Site Footer
-------------------------------------------------- */

#site-container footer.wp-block-template-part {
	margin-top: 0;
}

.site-footer a {
	text-decoration: none;
}

.social-links a svg path {
	fill: var(--wp--preset--color--midnight-blue);
}

.social-links a:hover svg path,
.social-links a:focus svg path {
	fill: var(--wp--preset--color--teal);
}

/*
Case Results Section
-------------------------------------------------- */

#site-container .sub-title {
	font-weight: 700;
	letter-spacing: 4px;
}

.case-results-section .laurel-icon img {
	margin-top: -25px;
}


#site-container .case-results-section .tns-nav {
	display: flex;
	justify-content: center;
	gap: clamp(15px, 1.56vw, 30px);
	padding: 15px 0 23px;
}

#site-container .case-results-section .tns-nav button {
	display: block;
	padding: 0;
	margin: 0;
	background-color: var(--wp--preset--color--midnight-blue);
	width: 10px;
	height: 10px;
	border-radius: 100%;
	border: 0;
	outline: none;
}

#site-container .case-results-section .tns-nav button:hover,
#site-container .case-results-section .tns-nav .tns-nav-active {
	background-color: var(--wp--preset--color--blue);
}

#site-container .case-results-section :where(.wp-element-button, .wp-block-button__link) {
	min-width: 192px;
}

#site-container .case-results-section .tns-outer {
	position: relative;
}

#site-container .case-results-section .tns-controls {
	position: absolute;
	top: 50%;
	width: 1410px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	z-index: 9;
	transform: translate(-50%, -50%);
	left: 50%;
}

#site-container .case-results-section .tns-controls button {
	display: block;
	text-indent: -9999px;
	width: 20px;
	height: 40px;
	background: url( "assets/images/left-arrow.svg" ) no-repeat center center;
	background-size: 100%;
	border: 0;
	outline: none;
}

#site-container .case-results-section .tns-controls button[data-controls="next"] {
	background-image: url( "assets/images/right-arrow.svg" );
}

#site-container .case-results-section .tns-controls button:disabled {
	opacity: 0.5;
	cursor: default;
}

/*
Testimonails Slider Section
-------------------------------------------------- */

#site-container .testimonials-slider.wp-block-post-template {
	max-width: inherit;
}

.testimonials-section .quote-icon img {
	padding-top: 23px;
}

.testimonials-section .wp-block-query {
	position: relative;
}

.testimonials-section .tns-outer {
	max-width: 990px;
}

#site-container .testimonials-section .tns-nav {
	display: flex;
	gap: clamp(15px, 1.56vw, 30px);
	padding: 32px 0 0;
}

#site-container .testimonials-section .tns-nav button {
	display: block;
	padding: 0;
	margin: 0;
	background-color: var(--wp--preset--color--white);
	width: 10px;
	height: 10px;
	border-radius: 100%;
	border: 0;
	outline: none;
}

#site-container .testimonials-section .tns-nav button:hover,
#site-container .testimonials-section .tns-nav .tns-nav-active {
	background-color: var(--wp--preset--color--blue);
}

#site-container .testimonials-section .tns-controls {
	position: absolute;
	right: 0;
	top: 50%;
	z-index: 9;
	width: 20px;
	height: 112px;
	display: flex;
	flex-direction: column-reverse;
	transform: translateY(-50%);
	justify-content: space-between;
}

#site-container .testimonials-section .tns-controls button {
	display: block;
	text-indent: -9999px;
	width: 20px;
	height: 40px;
	background: url( "assets/images/left-blue-arrow.svg" ) no-repeat center center;
	background-size: 100%;
	border: 0;
	outline: none;
}

#site-container .testimonials-section .tns-controls button[data-controls="next"] {
	background-image: url( "assets/images/right-blue-arrow.svg" );
}

#site-container .testimonials-section .tns-controls button:disabled {
	opacity: 0.5;
	cursor: default;
}

#site-container .testimonials-section .tns-controls button,
#site-container .testimonials-section .tns-visually-hidden,
#site-container .testimonials-section .testimonials-slider p {
	color: var(--wp--preset--color--white);
}

#site-container .testimonials-section .tns-controls:focus {
	outline-color: var(--wp--preset--color--white);
}

#site-container .sitemap-row .wsp-container h2 {
	margin: 0 0 30px;
}

#site-container .sitemap-row .wsp-container ul {
	padding-left: 0;
	margin-top: 0;
}

#site-container .entry-content .sitemap-row .wsp-container ul li:not(.wp-block-post) {
	line-height: 1.3;
}

#site-container .entry-content .sitemap-row .wsp-container ul li::before {
	top: 6px;
}

#site-container .sitemap-row .wsp-container ul li strong {
	display: block;
	margin-bottom: 15px;
}

#site-container .cky-btn {
	border-radius: 4px;
	padding-bottom: 4px;
}

#site-container .cky-btn:hover,
#site-container .cky-btn:focus {
	background-color: var(--wp--preset--color--midnight-blue) !important;
	border-color: var(--wp--preset--color--midnight-blue) !important;
	color: var(--wp--preset--color--white) !important;
	opacity: 1;
}

#site-container .cky-notice-group {
	justify-content: center;
}

#site-container .cky-notice-des a.cky-policy:hover {
	text-decoration: none;
}

#site-container .single-post-title {
	font-size: clamp(1.5rem, 1.234rem + 1.25vw, 2.5rem);
	position: relative;
	padding: 0 0 30px;
}

#site-container .single-post-title::after {
	content: '';
	width: 70px;
	height: 4px;
	background: var(--wp--preset--color--blue);
	display: block;
	position: absolute;
	bottom: 0;
	left: 0;
}

#site-container .sidebar-search .wp-block-search__input {
	border-radius: 4px;
	padding: 15px 10px 10px;
}

#site-container .post-sharing-btns {
	border-top: 2px solid;
	border-bottom: 2px solid;
	padding: 10px 0 4px;
}

#site-container .sharing-btns {
	padding: 0;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 14px;
}

#site-container .sharing-btns li {
	list-style-type: none;
}

#site-container .sharing-btns li a {
	display: block;
}

#site-container .sharing-btns svg path {
	transition: all ease-in-out 0.3s;
}

#site-container .sharing-btns a:hover svg path,
#site-container .sharing-btns a:focus svg path {
	fill: var(--wp--preset--color--midnight-blue);
}

.hero-section .wp-block-image {
	position: relative;
	bottom: -50px;
	z-index: 1;
}

.our-team .wp-block-query .type-our-team {
	background: var(--wp--preset--color--light-blue);
}

.our-team .wp-block-query .type-our-team:hover .wp-block-post-featured-image,
.our-team .wp-block-query .type-our-team:focus-within .wp-block-post-featured-image {
	display: none;
}

.our-team h5 {
	margin: 0;
}

.our-team .wp-block-query .type-our-team:hover h5,
.our-team .wp-block-query .type-our-team:focus-within h5 {
	padding: 40% 0 0;
}

.our-team .value {
	text-align: center;
}

.our-team .is-style-text-link.wp-block-read-more {
	display: block;
	width: 100%;
	text-align: center;
	background-position: center right 32%;
	padding: 15px 0px;
	border-top: 1px solid #D8DEE1;
	margin-top: 10px;
}

.border-white .is-style-border-bottom::after {
	background: var(--wp--preset--color--white);
}

.case-section .left-section {
	position: relative;
	z-index: 1;
}

.case-section .left-section::before {
	content: "";
	background: var(--wp--preset--color--light-blue);
	width: 50%;
	height: 460px;
	position: absolute;
	right: 130%;
	top: 0;
}

.case-section .left-section .man-image {
	position: absolute;
	right: -100px;
	bottom: -45px;
}

.case-section .left-section .small-woman-image {
	position: absolute;
	right: -100px;
	bottom: 230px;
}

.case-section .left-section .icon-image {
	position: absolute;
	right: 140px;
	bottom: -85px;
}

.case-section .right-section {
	padding: 90px 0 0 150px;
	position: relative;
	height: 460px;
}

.case-section .right-section::after {
	content: "";
	background: var(--wp--preset--color--blue);
	width: 154%;
	height: 460px;
	position: absolute;
	left: 0;
	top: 0;
	z-index: -1;
}

.card {
	margin-top: 0;
	padding: 0;
}

.card.normal-content * {
	color: var(--wp--preset--color--midnight-blue);
}

.card-tab-panel.bottom h4 {
	font-size: 20px;
	font-weight: 500;
	text-align: center;
	margin: 0;
	padding: 0;
}

.card.normal-content .center-content {
    margin-top: 0;
    display: flex;
    justify-content: center;
    min-height: 95px;
    align-items: center;
}

.card-tab-panel {
	margin-bottom: 0;
}

.card.hover-content {
	background-color: var(--wp--preset--color--light-blue);
	text-align: center;
}

.card.hover-content .center-content {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	left: 0;
	right: 0;
	margin: 0 auto;
}

.card-tab-content p {
	line-height: 32px;
	margin: 0 0 25px;
	padding: 0 40px;
}

.card.hover-content a {
	background: url("assets/images/icon-plus.svg") no-repeat right center;
	width: 150px;
	display: block;
	height: 30px;
	line-height: 30px;
	margin: 0 auto;
	text-decoration: none;
	text-transform: uppercase;
	font-weight: 700;
}

/*.entry-content ul li:not(.wp-block-post) {
	display: block;
	position: relative;
	padding-left: 25px;
	margin-bottom: 15px;
	color: var(--wp--preset--color--midnight-blue);
}

.entry-content ul li::before {
	content: '';
	background: var(--wp--preset--color--blue);
	width: 5px;
	height: 5px;
	position: absolute;
	top: 13px;
	left: 0;
	border-radius: 50%;
}

.entry-content .wp-block-query ul li::before {
	display: none;
}

.entry-content .good-style ul li {
	padding-left: 45px;
}

.entry-content .good-style li::before {
	content: '';
	background: url("assets/images/list-good.svg") no-repeat center;
	width: 29px;
	height: 29px;
	position: absolute;
	top: 0;
	left: 0;
}

.entry-content .list-arrow-style ul li {
	padding-left: 90px;
}

.entry-content .list-arrow-style li::before {
	content: '';
	background: url("assets/images/list-arrow.svg") no-repeat center;
	width: 55px;
	height: 55px;
	position: absolute;
	top: 0;
	left: 0;
}

.entry-content .circle-check-style ul li {
	padding-left: 55px;
	line-height: 23px;
	margin-bottom: 25px;
}

.entry-content .circle-check-style li::before {
	content: '';
	background: url("assets/images/circle-check.svg") no-repeat center;
	width: 40px;
	height: 40px;
	position: absolute;
	top: 0;
	left: 0;
}*/

.icon-and-text p {
	margin: 0;
}

.icon-and-text .col2-row {
	border-top: 1px solid var(--wp--preset--color--blue);
	margin: 0;
}

.icon-and-text .col1-row .wp-block-column,
.icon-and-text .col2-row .wp-block-column {
	padding: 10px 0;
}

.icon-and-text .col1-row > .wp-block-column:nth-of-type(2),
.icon-and-text .col2-row > .wp-block-column:nth-of-type(2) {
	border-left: 1px solid var(--wp--preset--color--blue);
	padding-left: 15px;
	margin-left: -14px;
}

.accordion-section h5,
.accordion-section p,
.testimonials-section p {
	color: var(--wp--preset--color--midnight-blue);
}

.accordion-section .wp-block-aab-accordion-item {
	border-bottom: 1px solid #92C6D6 !important;
	border-top: none !important;
	border-left: none !important;
	border-right: none !important;
	margin-bottom: 0 !important;
}

.accordion-section .wp-block-aab-accordion-item.aagb__accordion_active {
	border: none !important;
}

.accordion-section .aagb__accordion_body.aagb__accordion_body--show {
	border-top-width: 0 !important;
	padding: 0 65px 0 0 !important;
}

.accordion-section .aagb__accordion_head.aagb__accordion_head--keyboard {
	padding: 20px 0 !important;
}

.accordion-section .dashicons, .dashicons-before:before,
.accordion-section span.aagb__icon.dashicons.dashicons-minus {
	width: 27px;
	height: 27px;
}

.accordion-section .dashicons-plus-alt2::before,
.accordion-section .dashicons-minus::before {
	color: var(--wp--preset--color--blue);
	font-size: 27px;
}

.testimonials-section p {
	margin: 0;
}

p.gform_required_legend {
	display: none;
}

.contact-section .gform_wrapper {
	margin: 0;
}

.contact-info-row a {
	text-decoration: none;
}

a.icon.dashicons-icon {
    font-size: 24px;
	display: inline-block;
	text-decoration: none;
}

header a.icon.dashicons-icon {
    color: var(--wp--preset--color--blue);
}

header a.icon.dashicons-icon:hover {
    color: var(--wp--preset--color--white);
}

.header-blue-bar a.icon.dashicons-icon {
    margin: 20px 0 -20px;
}

.gform_wrapper.gravity-theme .gfield_required {
	color: #107CAB;
	font-size: inherit;
	padding-inline-start: 0;
}

input, 
select, 
textarea, 
#site-container .gfield input, 
#site-container .gfield select,
#site-container .gfield textarea {
	background-color: var(--wp--preset--color--white);
	border: 1px solid #DAE2E6;
	border-radius: 0;
	color: var(--wp--preset--color--midnight-blue);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.15;
	padding: 12px 20px;
	width: 100%;
}

input:focus,
textarea:focus,
#site-container .gfield input:focus, 
#site-container .gfield select:focus,
#site-container .gfield textarea:focus {
	border: 1px solid var(--wp--preset--color--midnight-blue);
	outline: none;
}

#site-container .gform-body input[type="checkbox"],
#site-container .gform-body input[type="image"],
#site-container .gform-body input[type="radio"] {
	width: auto;
	margin-top: 2px;
	padding: 0;
}

#site-container input:focus[type="checkbox"],
#site-container input:focus[type="image"],
#site-container input:focus[type="radio"] {
	outline: 1px solid var(--wp--preset--color--midnight-blue);
}

.hero-section .wp-block-column.is-vertically-aligned-center {
	margin-top: -50px;
}

.card-image:before {
	background: transparent;
}

#site-container .gform-field-label a {
	text-decoration: underline;
	font-style: italic;
}

#site-container .gfield_description {
	margin: 0 0 5px;
	padding: 0;
	line-height: 1.3;
}

#site-container .gfield_label {
	line-height: 1.3;
}

#site-container .gform-field-label a:hover {
	text-decoration: none;
}

.additional-notes {
	line-height: 1.3;
	font-size: 12px;
}

#site-container .gfield_description.validation_message {
	padding: 10px 10px 4px;
	margin-top: 10px;
}

.js-focus-visible :focus:not(.focus-visible) {
	outline: none;
}

.hero-video {
	position:relative;
}

.hero-video:before {
	display:block;
	content:'';
	width:100%;
	height:100%;
	background:rgba(0,0,0,0.5);
	position:absolute;
	top:0;
	left:0;
	z-index: 1;
}

#site-container .hero-video .wp-block-video video {
	height: 790px;
}

#site-container .hero-video-text {
	position:absolute;
	top: 50%;
	-webkit-transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	transform: translateY(-50%);
	margin: 0 auto;
	left: 0;
	right: 0;
	z-index: 2;
}

#site-container .hero-video-text > div {
	max-width: 690px;
	width: 100%;
	margin: 0 !important;
}

.hero-video-text h4,
.hero-popup-section h4 {
	letter-spacing: 6px;
}

.right-buttons .wp-block-button__link {
	min-width: 270px;
	padding: 27px 0 23px;
	font-weight: 700;
	background: url("assets/images/check-mark-icon.svg") no-repeat;
	background-position: 25px center;
	background-color: var(--wp--preset--color--blue);
	text-align: left;
	padding-left: 67px;
	font-size: 16px;
	margin-bottom:-10px;
}

.entry-content .recent-posts-area ul li {
	padding-left:0;
}

.recent-posts-area h2 {
	font-size: 25px !important;
	font-style: normal;
	font-family: var(--wp--preset--font-family--stolzl);
	font-weight: 500;
	line-height: 32px;
}

.recent-posts-area .wp-block-post-excerpt__excerpt {
	line-height:32px;
}

.recent-posts-area .wp-block-post-excerpt__more-link {
	text-decoration:none;
	font-family: var(--wp--preset--font-family--stolzl);
	font-size: 16px;
	font-weight: 700;
	background: url( "assets/images/plus-icon.svg" ) no-repeat;
	background-position:center right;
	padding-right:28px;
}

#site-container .cta-bottom-area {
	padding-left: calc(calc(100% - 1170px) / 2) !important;
}

#site-container .cta-bottom-area .is-style-border-bottom:after {
	background: var(--wp--preset--color--white);
}

#site-container .cta-bottom-area .wp-block-image img {
	width:100%;
}

#site-container .cta-img-col {
	position:relative;
}

#site-container .overlay-img-box {
	position: absolute;
	top: 50%;
	-webkit-transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	transform: translateY(-50%);
	background: #fff;
	border-radius: 4px;
	padding: 35px;
	left: 0;
	right: 0;
	max-width: 515px;
	margin: 0 auto !important;
	overflow: hidden;
}

#site-container .overlay-img-box p {
	font-size:18px; 
	font-weight:700;
	line-height:24px;
	padding-right:10px;
	margin-top: 0;
	
}

#site-container .overlay-img-box p a {
	text-decoration:none;
}

#site-container .overlay-img-box .wp-block-image {
	margin-inline-end: 0.5em !important;
}

#site-container .contact-info-boxes .wp-block-column:last-child p {
	padding-right: 50px;
}

.video-col {
	position:relative;
}

.video-col .wp-block-image a:before {
	margin: 0 auto;
	display: block;
	content: '';
	width: 106px;
	height: 106px;
	background: url( "assets/images/play-btn.svg" ) no-repeat center center;
	background-size: 100%;
	position: absolute;
	top: 50%;
	right: 0;
	left: 0;
	margin-top: -53px;
}

.wp-block-query img {
    height: 250px !important;
}

.dashicons-icon::before {
	font-family: dashicons;
	font-style: normal;
	font-weight: 400;
}

/* Chrome and Safari on macOS */
@supports (-webkit-touch-callout: none) {
    #site-container .wp-element-button {
        padding-top: 15px;
		padding-bottom: 15px;
    }
}

/*
Media Queries
-------------------------------------------------- */

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

	#site-container .case-results-section .tns-controls {
		width: 1280px;
	}

}

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

	#site-container .case-results-section .tns-controls {
		width: 1240px;
	}

}

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

	.header-search .search-container .wp-block-search {
		right: 80px;
	}

	#site-container .case-results-section .tns-outer {
		padding: 0 30px !important;
	}

	#site-container .case-results-section .tns-controls {
		width: 100%;
	}

	.testimonials-section .tns-outer {
		max-width: 880px;
	}

	.our-team .is-style-text-link.wp-block-read-more {
		background-position: center right 28%;
	}

	#site-container .hero-video .wp-block-video video {
		height: auto;
	}

	#site-container .hero-video-text {
		padding-left: var(--wp--preset--spacing--50);
		padding-right: var(--wp--preset--spacing--50);
	}

	#site-container .text-with-btns .wp-block-column:first-child {
		flex-basis: 72%;
		padding-right:30px;
	}

	#site-container .text-with-btns .wp-block-column:last-child {
		flex-basis: 28%;
	}

	#site-container .cta-bottom-area .content-col {
		padding-left:30px;
		padding-right:40px;
	}

	.right-buttons .wp-block-button__link {
		min-width: 224px;
		padding-right: 15px;
	}

	#site-container .overlay-img-box {
		max-width: 430px;
	}

	#site-container .contact-info-boxes .wp-block-image img {
		width: 35px;
	}

	#site-container .contact-info-boxes .wp-block-column  {
		padding-left: 15px !important;
		display: flex;
		align-items: center;
	}

	#site-container .overlay-img-box p {
		font-size: 17px;
		padding-right: 0;
	}

	.aagb__accordion_component p {
		font-size: 15px;
	}
	
}

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

	#mobile-top-bar p {
		margin: 0 0 -50px;
	}

	#site-container header.wp-block-template-part {
		position: relative;
	}

	#site-container header + * {
		margin-top: 0 !important;
	}

	#site-container .header-blue-bar .header-right,
	#site-container .site-navigation .search-icon {
		display: none;
	}

	#mobile-top-bar,
	#site-container .site-navigation > .wp-block-group,
	#site-container nav.wp-block-navigation .wp-block-buttons {
		display: block;
	}

	.site-navigation .wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {
		margin-left: 0;
	}

	.header-search .search-container .wp-block-search {
		right: 0;
		position: relative;
		max-width: 100%;
		padding-left: 0;
		padding-right: 0;
	}

	/* Responsive Menu */

	#site-container .wp-block-navigation__container,
	#site-container .wp-block-navigation .wp-block-navigation-item {
		display: block;
	}

	#site-container .wp-block-navigation__container {
		padding-top: 0.875rem;
		padding-bottom: 0.875rem;
	}

	#site-container .wp-block-navigation .wp-block-navigation-item {
		position: relative;
	}

	#site-container .wp-block-navigation .wp-block-navigation-item .wp-block-navigation__submenu-icon {
		margin: 0;
		position: absolute;
		top: 10px;
		right: 0;
		width: 17px;
	}

	#site-container .wp-block-navigation .wp-block-navigation-item__content {
		padding: 0.6rem 0;
	}

	#site-container .wp-block-navigation .has-child .wp-block-navigation__submenu-container {
		position: relative;
		left: 0;
		visibility: visible;
		opacity: 1;
		top: 0;
		width: auto;
		overflow: unset;
		height: auto;
		padding: 0 1rem;
		display: none;
	}

	#site-container .wp-block-navigation .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-icon svg {
		transform: unset;
	}

	#site-container .wp-block-navigation .wp-block-navigation-item .wp-block-navigation__submenu-icon.active svg,
	#site-container .wp-block-navigation .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-icon.active svg {
		transform: rotate(180deg);
	}

	#menu-toggle {
		display: flex;
	}

	#site-container nav.wp-block-navigation {
		display: none;
	}

	/* End */

	#site-container .wp-block-columns {
		flex-wrap: wrap !important;
	}

	#site-container .wp-block-columns:not( .is-not-stacked-on-mobile ) > .wp-block-column {
		flex-basis: 100% !important;
    }
	
	.site-footer {
		text-align: center;
	}

	.site-footer .footer-logo img {
		max-width: 228px;
	}

	#site-container .site-footer .links-column {
		padding-top: 0 !important;
	}

	#site-container .social-links {
		justify-content: center;
	}

	#site-container .copyright-row {
		justify-content: center;
	}

	.testimonials-section .tns-outer {
        max-width: calc(100% - 40px);
    }

	#site-container .quote-heading {
		flex-direction: column-reverse;
	}

	#site-container .quote-heading .is-layout-flow > .alignright {
		float: left;
		margin-inline-start: 0;
	}

	#site-container .logo-grid-section {
		gap: 10px !important;
	}

	#site-container .logos-row {
		gap: 0 20px !important;
		justify-content: space-between;
	}

	#site-container .logos-row .wp-block-column {
		flex-basis: calc( 25% - 20px ) !important;
	}

	#site-container .logos-row .wp-block-column img {
		height: auto !important;
	}

	.our-team h5 {
		font-size: 16px !important;
	}

	.our-team .is-style-text-link.wp-block-read-more {
		background-position: center right 20%;
	}

	.case-section .left-section {
		max-width: 470px;
		margin: 0 auto;
	}

	.hero-section .wp-block-image {
		bottom: -30px;
	}

	.case-section .right-section::after {
		width: 100%;
		height: 100%;
	}

	.icon-and-text .col2-row {
		border-top: none;
	}

	.icon-and-text .col1-row .wp-block-column,
	.icon-and-text .col2-row .wp-block-column {
		padding: 0;
	}

	.icon-and-text .col1-row > .wp-block-column:nth-of-type(2),
	.icon-and-text .col2-row > .wp-block-column:nth-of-type(2) {
		border-left: none !important;
		padding-left: 0;
		margin-left: 0;
	}

	.accordion-section .wp-block-aab-accordion-item {
		border-bottom: none !important;
	}

	.accordion-section .aagb__accordion_body.aagb__accordion_body--show {
		padding: 0 !important;
	}

	#site-container .contact-section .social-links {
		justify-content: left;
	}

	.contact-info-row {
		background-position: 50% 100% !important;
		background: none !important;
	}

	.col-order-reverse {
		flex-direction: column-reverse;
	}

	.case-section .left-section .man-image {
		bottom: -20px;
	}

	.case-section .left-section .small-woman-image {
		bottom: 260px;
	}

	.case-section .left-section .icon-image {
		bottom: -60px;
	}

	.card-tab-content p {
		line-height: 25px;
		padding: 0 20px;
		font-size: 13px;
	}

	.video-col {
		margin-bottom: 30px !important;
	}

	.right-buttons .wp-block-buttons {
		text-align:center;
	}

	.cta-bottom-area .content-col {
		padding:30px;
	}

	.overlay-img-box p {
		font-size: 18px;
		line-height: 45px;
	}

	.contact-info-boxes .wp-block-column {
		padding:20px !important;
	}

	.contact-info-boxes .wp-block-column:first-child {
		padding-bottom:0 !important;
	}

	.recent-posts-area h2 {
		font-size: 20px !important;
		line-height: 26px;
	}

	.recent-posts-area .wp-block-post-excerpt__excerpt {
		line-height: 26px;
	}

	.contact-info-boxes {
		margin-top:15px !important;
	}

	#site-container .text-with-btns .wp-block-column:last-child {
		padding-top: 0 !important;
	}

	#site-container .right-buttons .wp-block-button__link {
		width: 270px;
    }

	#site-container .icon-and-text .col1-row,
	#site-container .icon-and-text .col2-row {
		text-align: center;
	}

	#site-container .icon-and-text .col2-row {
		padding-top: 1.875rem;
	}

	#site-container .overlay-img-box {
        max-width: 320px;
    }

	#site-container .contact-info-boxes .wp-block-column {
        justify-content: center;
    }

	.header-blue-bar {
		border-bottom: 1px solid #fff;
	}

	.home .header-blue-bar {
		border-bottom: none;
	}

	.case-results-section h5 {
		padding: 0 10px;
	}

	.aagb__accordion_component p {
		font-size: 15px;
	}

	#site-container .hero-section h1 {
		padding: 20px 0 0;
	}

}

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

	#mobile-top-bar > .wp-block-group {
		justify-content: space-between;
	}

	#mobile-top-bar .social-icons {
		gap: 0.7rem;
	}

	.hero-section .wp-block-image {
		bottom: -20px;
	}

	.our-team .is-style-text-link.wp-block-read-more {
		background-position: center right 30%;
	}

	.our-team h5 {
		font-size: 20px !important;
	}

	.case-section .left-section {
		max-width: 340px;
	}

	.case-section .left-section .man-image {
		right: -30px;
		bottom: -17px;
		width: 50%;
	}

	.case-section .left-section .small-woman-image {
		right: -30px;
		bottom: 230px;
		width: 40%;
	}

	.case-section .right-section {
		padding: 40px 20px 40px 20px;
		position: relative;
		height: 100%;
	}

	.case-section br {
		display: none;
	}

	#site-container .fancybox-wrap {
		width: 90% !important;
		left: 0 !important;
		right: 0 !important;
		margin: 0 auto;
	}

	#site-container .fancybox-inner {
		width: 100% !important;
	}

	.our-team .wp-block-query .type-our-team {
		min-height: 450px;
	}

	#site-container .text-with-btns .wp-block-column:first-child {
		padding-right: 0 !important;
	}

	.hero-video-text h4, .hero-popup-section h4 {
		letter-spacing: 4.4px;
	}

	#site-container .hero-video .wp-block-video video {
		height: 500px;
	}

	.overlay-img-box {
		max-width: 350px;
	}

}