/*
 * Theme Name: 321 Base Theme
 * Theme URI: https://www.321webmarketing.com/
 * Author: 321 Web Marketing
 * Author URI: https://www.321webmarketing.com/
 * Description: 321 inspired theme for the Genesis Framework.
 * Version: 1.0.01
 * License: GPL-3.0-or-later
 * License URI: http://www.gnu.org/licenses/gpl-3.0.html
 * Text Domain: tto-base-theme
 * Domain Path: /languages
 * Template: genesis
 */

@charset 'UTF-8';

/* # Table of Contents

- Elements
- Structural
- Accessibility
- Header
- Footer
- Utility
- Blocks
- Custom CSS

*/

/* ## Elements
--------------------------------------------- */

html {
	line-height: 1.15;
	-ms-text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
    box-sizing: border-box;
    max-width: 100vw;
	font-size: 62.5%;
	overflow-x: hidden;
}

body {
    background-color: #ffffff;
    max-width: 100vw;
    color: #000;
    /* font-family: 'Montserrat', Helvetica, Arial, sans-serif; */
	font-family: "Open Sans", sans-serif;
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.618;
    -webkit-font-smoothing: antialiased;
    -moz-font-smoothing: grayscale;
    margin: 0;
    overflow-x: visible;
}

article,
aside,
footer,
header,
nav,
section,
figcaption,
figure,
main {
	display: block;
}

pre {
	font-family: monospace, monospace;
	font-size: 1.8rem;
}

*::-moz-selection {
	background-color: #393e4b;
	color: #ffffff;
}

*::selection {
	background-color: #393e4b;
	color: #ffffff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'Montserrat', Helvetica, Arial, sans-serif;
	color: #2d4f7c;
}

h1 {
	font-size: 4.5rem;
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 3rem;
}

h2 {
	font-size: 3.8rem;
	font-weight: 700;
	line-height: 1.3;
    margin: 6rem 0 3rem;
}

h3 {
	font-size: 2.8rem;
	font-weight: 600;
	line-height: 1.4;
    margin: 6rem 0 3rem;
}

h4 {
	font-size: 2.4rem;
	font-weight: 500;
	line-height: 1.5;
    margin: 6rem 0 3rem;
}

h5 {
	font-size: 2.2rem;
	font-weight: 300;
	line-height: 1.4;
    margin: 6rem 0 3rem;
}

h6 {
	font-size: 1.8rem;
	font-weight: 600;
	line-height: 1.5;
    margin: 6rem 0 3rem;
	text-transform: uppercase;
}

p {
	margin: 0 0 3rem;
	padding: 0;
}

p:last-child {
	margin: 0;
}

a {
	color: #000;
	word-wrap: break-word;
	pointer-events: all;
	cursor: pointer;
	text-decoration: none;
	transition: 0.25s ease-in-out all
}

a:hover,
a:focus {
	color: #e8454d;
}

button,
a.button,
input[type='submit'] {
	font-family: 'Montserrat', Helvetica, Arial, sans-serif;
	background-color: #e4252f;
	margin-top: 1rem;
	border: 0;
	border-radius: 0.8rem;
	color: #ffffff;
	cursor: pointer;
	font-size: 16px;
	font-size: 1.6rem;
	font-weight: 700;
	padding: 1em 2em;
	text-decoration: none;
	display: inline-block;
	width: max-content;
	height: auto;
	line-height: 1;
	/* box-shadow: 0 1rem 2rem -0.5rem rgba(57, 62, 75, 0.2); */
	box-shadow: 0 4px 20px hsl(357 78% 79% / .4);
	transition: 0.25s ease-in-out all;
}

button:hover,
button:focus,
a.button:hover,
a.button:focus,
input[type='submit']:hover,
input[type='submit']:focus {
	background-color: #e31c26;
	color: #ffffff;
	filter: brightness(1.1);
	box-shadow: 0 1rem 2rem -0.5rem rgba(57, 62, 75, 0.2);
}

button.white,
a.button.white {
	background-color: #ffffff;
	color: var(--mfe-green);
}

button.outline,
a.button.outline {
	border: 2px solid #fff;
	background: transparent;
	color: #fff;
	box-shadow: 0 1rem 2rem -0.5rem rgba(57, 62, 75, 0.1);
	padding: 16px 32px;
}

button.outline:hover,
button.outline:focus,
a.button.outline:hover,
a.button.outline:focus {
	background: #ffffff33;
	color: #fff;
	padding: 16px 32px;
}

button.large,
a.button.large {
	font-size: 18px;
	font-size: 1.8rem;
}

ol,
ul {
	margin: 0 0 4rem 4rem;
	padding: 0;
}

ol ol,
ul ul,
ol ul,
ul ol {
	margin: 0 0 0 4rem;
	padding: 0;
}

ul li {
	list-style-type: disc;
}

li li {
	list-style-type: circle;
}

ol li {
	list-style-type: decimal;
}

ol li li {
	list-style-type: lower-alpha;
}


hr {
	border: 0;
	border-collapse: collapse;
	border-bottom: 1px solid #f0f1f2;
	clear: both;
	padding: 1em 0 0;
	margin: 0 0 2em;
}

b,
strong {
	font-weight: 600;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.5rem;
}

sup {
	top: -1rem;
}

blockquote {

}

table {

}

thead,
tbody {

}

tr,
th {
	
}

img {
	display: block;
	max-width: 100%;
}

*:first-child {
	margin-top: 0;
	padding-top: 0;
}

*:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
}

/* ## Structural
--------------------------------------------- */

.anchor-section {
	scroll-margin-top: 80px;
}

.wrap,
.basic-page .content-sidebar-wrap,
.entry-content > .wp-block-genesis-blocks-gb-columns > .gb-layout-column-wrap,
.entry-content > .anchor-section > .wp-block-genesis-blocks-gb-columns > .gb-layout-column-wrap,
.content > .wp-block-genesis-blocks-gb-columns > .gb-layout-column-wrap,
.entry-content > .gb-block-container > .gb-container-inside,
.entry-content > .anchor-section > .gb-block-container > .gb-container-inside {
	width: var(--theme-wrap-width);
	max-width: var(--theme-wrap-max-width);
	margin: 0 auto;
}

.entry-content > .wp-block-genesis-blocks-gb-columns,
.entry-content > .anchor-section > .wp-block-genesis-blocks-gb-columns,
.entry-content > .gb-block-container,
.entry-content > .anchor-section > .gb-block-container {
	padding: var(--theme-section-padding) 0;
}

.entry-content > .wp-block-genesis-blocks-gb-columns.no-padding-top,
.entry-content > .anchor-section > .wp-block-genesis-blocks-gb-columns.no-padding-top,
.entry-content > .gb-block-container.no-padding-top,
.entry-content > .anchor-section > .gb-block-container.no-padding-top {
	padding-top: 0 !important;
}

.entry-content > .wp-block-genesis-blocks-gb-columns.no-padding-bottom,
.entry-content > .anchor-section > .wp-block-genesis-blocks-gb-columns.no-padding-bottom,
.entry-content > .gb-block-container.no-padding-bottom,
.entry-content > .anchor-section > .gb-block-container.no-padding-bottom {
	padding-bottom: 0 !important;
}

.entry-content > .wp-block-genesis-blocks-gb-columns.no-padding,
.entry-content > .anchor-section > .wp-block-genesis-blocks-gb-columns.no-padding,
.entry-content > .gb-block-container.no-padding,
.entry-content > .anchor-section > .gb-block-container.no-padding {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

@media (max-width: 767px) {
	.wrap,
	.basic-page .content-sidebar-wrap,
	.entry-content > .wp-block-genesis-blocks-gb-columns > .gb-layout-column-wrap,
	.entry-content > .anchor-section > .wp-block-genesis-blocks-gb-columns > .gb-layout-column-wrap,
	.content > .wp-block-genesis-blocks-gb-columns > .gb-layout-column-wrap,
	.entry-content > .gb-block-container > .gb-container-inside,
	.entry-content > .anchor-section > .gb-block-container > .gb-container-inside {
		width: 100%;
		max-width: 100%;
		margin: 0;
		padding: 0 var(--theme-wrap-padding-mobile);
	}

	.entry-content > .wp-block-genesis-blocks-gb-columns,
	.entry-content > .anchor-section > .wp-block-genesis-blocks-gb-columns,
	.entry-content > .gb-block-container,
	.entry-content > .anchor-section > .gb-block-container {
		padding: var(--theme-section-padding-mobile) 0;
	}
}



/* ## Accessibility
--------------------------------------------- */

.screen-reader-text,
.screen-reader-text span,
.screen-reader-shortcut,
.wp-custom-logo .site-title,
.wp-custom-logo .site-description {
	position: absolute !important;
	clip: rect(0, 0, 0, 0);
	height: 0.1rem;
	width: 0.1rem;
	background-color: #fff !important;
	color: #000 !important;
	border: 0;
	overflow: hidden;
}

.screen-reader-text:focus,
.screen-reader-shortcut:focus {
	clip: auto !important;
	height: auto;
	width: auto;
	display: block;
	padding: 10px 20px;
	padding: 1rem 2rem;
	z-index: 100000;
	text-decoration: none;
	box-shadow: 0 0 0.2rem 0.2rem rgba(57, 62, 75, 0.1);
}

.more-link {
	position: relative;
	font-style: normal;
}

.genesis-skip-link {
	margin: 0;
}

.genesis-skip-link li {
	height: 0;
	width: 0;
	list-style: none;
}



/* ## Header
--------------------------------------------- */

.top-nav-bar {
    background-color: #f5f5f5;
	position: relative;
	display: flex;
	padding: 1.25rem 0;
    border-bottom: 1px solid #dbdbdb;
	z-index: 101;
}

.top-nav-bar > .wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6rem;
}

.top-nav-bar > .wrap.left {
	justify-content: flex-start;
}

.top-nav-bar > .wrap.right {
	justify-content: flex-end;
}

.nav-top > .wrap {
	width: 100%;
	max-width: 100%;
	margin: 0;
}

.nav-top .menu {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 3rem;
	height: 100%;
	pointer-events: all;
	opacity: 1;
	transition: 0.25s ease-in-out opacity;
}

.nav-top .menu.fade-out {
	pointer-events: none;
	opacity: 0;
}

.nav-top .menu > .menu-item {
    display: flex;
    align-items: center;
}

.nav-top .menu > .menu-item > a,
.top-nav-bar p {
    font-size: 1.4rem;
    font-weight: 500;
	line-height: 1.3;
}

.site-header {
	background-color: rgb(20 56 103 / 95%);
	backdrop-filter: blur(4px);
    position: fixed;
	display: flex;
	align-items: center;
    width: 100%;
	min-height: 80px;
    top: 0;
    left: 0;
	box-shadow: 0 0 1rem rgba(57, 62, 75, 0.18);
	transition: 0.25s ease-in-out box-shadow;
	z-index: 100;
}

.site-header.shrink {
	box-shadow: 0 0 2rem rgba(57, 62, 75, 0.38);
}

.logged-in.admin-bar .site-header {
	top: 32px;
}

@media (max-width: 782px) {
	.logged-in.admin-bar .site-header {
		top: 46px;
	}
}

@media (max-width: 600px) {
	.logged-in.admin-bar .site-header {
		top: 0;
	}
}

.site-header > .wrap {
	display: flex;
	align-items: stretch;
	gap: 6rem;
}

.title-area {
	display: flex;
	align-items: center;
	width: 25rem;
	margin: 0 auto 0 0;
	padding: 1rem 0;
}

.title-area a {
	position: relative;
	display: flex;
	width: 100%;
	height: fit-content;
	max-height: 60px;
}

.title-area a img {
    object-fit: contain;
    object-position: left center;
    width: 100%;
    height: 100%;
}

.title-area a img.primary {
	opacity: 1;
	transition: 0.25s ease-in-out opacity;
}

.title-area a img.secondary {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	opacity: 0;
	transition: 0.25s ease-in-out opacity;
}

.site-header.shrink .title-area a img.primary {
	opacity: 0;
}

.site-header.shrink .title-area a img.secondary {
	opacity: 1;
}

.nav-primary {
	display: flex;
    align-items: center;
	gap: 3rem;
	transition: none;
	width: 68%;
}

.nav-primary > .wrap {
	display: flex;
    align-items: center;
    gap: 3rem;
	width: 100%;
	max-width: 100%;
	height: 100%;
	margin: 0;
	justify-content: space-between;
}

.nav-primary .menu {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 3rem;
	height: 100%;
	margin: 0;
	pointer-events: all;
	opacity: 1;
	transition: 0.25s ease-in-out opacity;
}

.nav-primary .menu.fade-out {
	pointer-events: none;
	opacity: 0;
}

.nav-primary .menu > .menu-item {
    display: flex;
    align-items: center;
	gap: 0.5rem;
    padding: 2.75rem 0;
	transition: 0.25s ease-in-out all;
}

.site-header.shrink .nav-primary .menu > .menu-item {
    padding: 2.75rem 0;
}

.nav-primary .menu > .menu-item > a {
    font-size: 1.6rem;
    font-weight: 600;
	line-height: 2.5rem;
}






.primary-menu-ctas .gb-layout-column-wrap {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.primary-menu-ctas .gb-block-layout-column {
	flex: 1 1 fit-content;
}

.primary-menu-ctas button,
.primary-menu-ctas a.button {
	margin: 0;
	padding: 1em 2em;
	box-shadow: none;
}

.mobile-menu-logo {
	display: none;
}

.site-header .progress-bar-container {
	position: absolute;
	background-color: transparent;
	display: block;
	width: 100%;
	height: 4px;
	top: auto;
	bottom: 0;
	left: 0;
}

.site-header .progress-bar {
	background-color: #000;
    display: block;
    width: 0%;
    height: 100%;
    transition: none;
}

/* ## Footer
--------------------------------------------- */









.site-footer > .wrap {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.site-footer-credits.standalone {
    /* background-color: #efefef; */
    padding: 2.5rem 0;
	border-top: 1px solid #ffffff1a;
}

.footer-credits p {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 1.4rem;
    font-weight: 500;
	color: #fffc;
}

.footer-credits p .separator {
	font-size: 2rem;
	line-height: 0;
	margin: 0 0 0.25rem;
	display: none;
}



/* ## Utility
--------------------------------------------- */













/* ## Blocks
--------------------------------------------- */

/* Breadcrumbs */

.custom-breadcrumbs .breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.8rem;
    margin: 0 0 6rem;
    padding: 0;
}

.custom-breadcrumbs .breadcrumb > span {
    display: flex;
    color: #000;
    font-size: 1.5rem;
    font-weight: 500;
}

.custom-breadcrumbs .breadcrumb > a {
    display: flex;
}

/* Button */

.custom-button {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: fit-content;
}

.custom-button.align-left {
	align-items: flex-start;
}

.custom-button.align-right {
	align-items: flex-end;
}

/* Client Logos */

/* Consultation Steps */

/* Custom Image */

/* Home Page Video */

/* Menu Widget */

/* Recent Articles */

/* Search Widget */

.search-widget {
	position: relative;
}

.search-widget[data-search-type="menu"] .search-widget--form {
    position: absolute;
	min-width: 300px;
    right: calc(100% + 3rem);
    pointer-events: none;
	opacity: 0;
    transition: 0.25s ease-in-out opacity;
    z-index: -99;
}

.search-widget[data-search-type="menu"][data-menu-active="true"] .search-widget--form {
	pointer-events: all;
	opacity: 1;
	z-index: 99;
}

.search-widget .search-widget--toggle {
    display: flex;
    width: 30px;
    height: 30px;
}

.search-widget .search-widget--toggle span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 2rem;
	pointer-events: all;
	cursor: pointer;
	opacity: 1;
	transition: 0.25s ease-in-out all;
}

.search-widget .search-widget--toggle span.hide {
	position: absolute;
    top: 0;
    left: 0;
	pointer-events: none;
	cursor: default;
	opacity: 0;
}

.search-widget[data-menu-active="true"] .search-widget--toggle span.show {
	pointer-events: none;
	cursor: default;
	opacity: 0;
}

.search-widget[data-menu-active="true"] .search-widget--toggle span.hide {
	pointer-events: all;
	cursor: pointer;
	opacity: 1;
}

.search-widget .search-form {
    display: flex;
    flex-wrap: wrap;
    row-gap: 1rem;
	width: fit-content;
}

.search-widget .search-form-label {
	flex: 1 1 100%;
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.2;
}

.search-widget .submit-container {
    background-color: #000;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
}

.search-widget .submit-container .search-form-cta {
	display: flex;
}

.search-widget .submit-container svg {
    color: #fff;
	width: 1.6rem;
    height: 1.6rem;
}

.search-widget .submit-container input[type='submit'] {
	background-color: transparent;
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.search-widget input[type='submit'].hidden {
	display: none;
}

/* Socials */

.custom-socials {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1.5rem;
    width: fit-content;
}

.custom-social--link {
    display: block;
    width: 100%;
    height: 100%;
    line-height: 1;
}

.custom-social--link svg {
    aspect-ratio: 1 / 1;
    color: #fff;
    width: 2rem;
    height: 2rem;
    padding: 10px;
    border-radius: 100%;
    background-color: #ffffff1a;
    transition: 0.25s ease-in-out all;
}

.custom-social--link:hover svg {
    color: #fff;
	background-color: #E8454D;
}

/* Team Members */


/* ## Custom CSS
--------------------------------------------- */

/* Variables (Edit First!) */

:root {
	--theme-wrap-width: 98%;
	--theme-wrap-max-width: 1370px;
	--theme-wrap-padding-mobile: 4vw;
	--theme-section-padding: 6rem;
	--theme-section-padding-mobile: 4rem;
}

.nav-primary .menu > .menu-item a,
body .primary-menu-ctas .phone-link,
.phone-link .phone-number  {
	display: flex;
    align-items: center;
    gap: 0.75rem;
	color: #fff;
	font-weight: 600;
}

.nav-primary .menu > .menu-item a {
	color: #fffc;
}

.nav-primary .menu > .menu-item a:hover {
	color: #fff;
}

/* Home */

.entry-content > .home-cta-main,
.entry-content > .anchor-section > .home-cta-main {
	background: linear-gradient(135deg, #e8454d 0%, #e31c26 100%);
}

.home-cta-main h2 {
	font-size: 30px;
	color: #fff;
	margin-bottom: 10px;
}

.home-cta-main p {
	font-size: 18px;
	line-height: 28px;
	color: #fff;
}

.home-cta-main .btn-col .gb-block-layout-column-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	height: 100%;
}

.home-cta-main .btn-col .white {
	color: #2d4f7c;
	border: 2px solid #fff;
}

.home-cta-main .btn-col .white:hover {
	filter: brightness(.9);
}

.home-cta-main .btn-col .button {
	font-weight: 600;
	margin: 0;
	padding: 1em 2em;
	box-shadow: none;
}

.review-stars {
    margin-bottom: 16px;
	font-size: 1.8rem;
}

.review-stars i,
.review-stars svg {
    color: #e8454d;
    margin-right: 2px;
}

.home-testimonials-main .testimonial-pre-heading {
    font-size: 14px;
    font-family: 'Montserrat';
    text-transform: uppercase;
    letter-spacing: 0.7px;
    font-weight: 600;
    margin-bottom: 0;
}

.home-testimonials-main h2 {
	color: #fff;
	font-size: 36px;
	margin: 0 0 16px;
}

.home-testimonials-main p {
	font-size: 18px;
	color: #fffc;
	line-height: 28px;
}

.home-testimonials-main .reviews {
	margin-top: 64px;
}

.home-testimonials-main .reviews .review-items-wrapper {
	display: flex;
	gap: 3.2rem;
	margin: 0;
}

.home-testimonials-main .reviews .review-item {
	border-radius: 16px;
	padding: 32px;
	border-top: 0;
	margin-bottom: 0;
	flex-basis: 33%;
}

.reviews .review-item--copy {
	margin: 0 0 10px !important;
}

.reviews .review-item--copy p {
	font-size: 16px;
	margin: 0 0 2.4rem !important;
	color: #2d4f7c;
	line-height: 1.5;
}

.testimonial-item--name {
	font-size: 1.6rem;
    font-family: 'Montserrat';
    font-style: normal;
	color: #2d4f7c;
}

.review-item--icon {
	right: 3rem;
    top: 1rem;
    font-size: 5rem;
    color: #e8454d33;
}

/* Footer */

.site-footer {
	background-color: #2D4F7C;
}

.site-footer-widgets {
	padding: 6.4rem 0;
	color: #fffC;
}

.site-footer-widgets p {
	font-size: 16px;
	line-height: 1.5;
}

.footer-logo {
	width: 234px;
}

#menu-footer-menu {
	display: flex;
	justify-content: space-between;
	margin-left: 0;
}

.site-footer .menu > .menu-item-has-children:not(.mega-menu) > .sub-menu {
	right: auto;
    opacity: 1;
	left: 0;
    margin-left: 0;
    box-shadow: none;
    position: relative;
    top: 0;
    display: flex;
    flex-direction: column;
    color: #000;
    background-color: transparent;
	width: 29rem;
}

.site-footer .menu-item-has-children,
.site-footer .menu-item-has-children a,
.site-footer .menu-item-has-children p {
	list-style-type: none;
	font-size: 18px;
  font-weight: 700;
  font-family: Montserrat, sans-serif;
	color: #fff;
	margin: 0;
}

.site-footer .sub-menu:before {
	display: none;
}

.site-footer li:not(.mega-menu) .menu-item {
	padding-left: 0;
	font-size: 16px;
  font-weight: 400;
  font-family: 'Open Sans';
}

.site-footer .sub-menu a,
.site-footer a {
	font-size: 16px;
  font-weight: 400;
  font-family: 'Open Sans';
	color: #fffc;
}

.site-footer .sub-menu a:hover,
.site-footer a:hover {
	color: #e8454d;
}

.site-footer h2 {
	font-size: 18px;
  font-weight: 700;
  font-family: 'Montserrat';
	color: #fff;
}

.contact-info .gb-block-layout-column-inner {
	margin-left: 10px;
}

.contact-info .wp-block-group__inner-container {
	display: flex;
	gap: 10px;
	margin-bottom: 10px;
}

.contact-info .icon-block {
	color: #e8454d;
	width: 20px;
	text-align: center;
}

.credit {
	display: flex;
	gap: 30px;
}

.credit a {
	font-size: 14px;
}

/* Mega Menu */

.site-container > .menu-toggle {
	display: none;
}

.menu-toggle span, .menu-toggle span:before, .menu-toggle span:after {
	background: #fff;
  width: 2rem;
  height: 2px;
  border-radius: 50px;
}

.menu-toggle.active span:before {
    background-color: #fff;
    top: 0;
    transform: rotate(45deg);
    transition: top 0.2s 0s, transform 0.2s 0.2s, background-color 0.2s 0s;
}

.menu-toggle.active span:after {
    background-color: #fff;
    bottom: 0;
    transform: rotate(-45deg);
    transition: bottom 0.2s 0s, transform 0.2s 0.2s, background-color 0.2s 0s;
}

.menu-toggle.active span {
    background-color: transparent;
    transition: 0.2s 0s ease-in-out background-color;
}



.menu-toggle span:before {
    top: 0.7rem;
}

.menu-toggle span:after {
    bottom: 0.7rem;
}

.nav-primary.active {
	background:rgb(20 56 103 / 95%);
	top: 62px;
	width: 100%;
}

.nav-primary.active ul {
	padding: 0;
	height: fit-content;
}

.nav-primary.active .wrap {
	padding: 0 !important;
	justify-content: flex-start;
	width: 96%;
  margin: 0 auto;
}

.nav-primary.active .wrap .primary-menu-ctas {
	width: 100%;
}

.nav-primary.active .wrap .primary-menu-ctas .gb-block-layout-column {
	justify-content: flex-start;
}

.nav-primary.active .primary-menu-ctas button,
.nav-primary.active .primary-menu-ctas a.button,
.nav-primary.active .primary-menu-ctas .gb-block-layout-column-inner {
	width: 100%;
	text-align: center;
}

.nav-primary.active .primary-menu-ctas .gb-layout-column-wrap {
	gap: 3rem !important;
}

.nav-primary.active  .sub-menu-toggle {
	display: none;
}

.nav-primary.active .menu > .menu-item > a {
	font-size: 16px;
}

.nav-primary.active .primary-menu-ctas .gb-layout-column-wrap {
	margin-bottom: 0;
}

/* Home Page */

.entry-content > .header-section,
.entry-content > .anchor-section > .header-section {
	background-color: transparent !important;
	padding: 14rem 0 10rem;
}

.entry-content > .header-section:after {
	position:absolute;
	content:"";
	background:#163968;
	top:0;
	left:0;
	bottom:0;
	right:0;
	opacity:0.8;
}

.entry-content > .header-section > .gb-layout-column-wrap {
	background-color: #163968;
	background-clip: text;
}

.header-section h1 {
	background-color: #163968;
    background-clip: text;
	color: #fff;
	font-size:60px;
	line-height:1;
	margin-bottom: 2rem;
}

.header-section h1 em {
	background-color: #000;
	background-clip: text;
	color: #e8454d;
	font-style: normal;
}

.header-section.basic-header h1 {
	margin: 0;
}

.trusted-partner ul {
	display:flex;
	gap:50px;
	margin:0;
	align-items:center;
	margin-bottom:10px;
}

.trusted-partner ul li {
	list-style-type:none;
}

.trusted-partner li {
	position: relative; 
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12.5px;
	font-size:18px;
	font-weight:500;
}

.trusted-partner li:before {
	content: '\f058';
	display: none;
    font-family: 'Font Awesome 6 Pro';
    font-weight: 400;
}

.trusted-partner li svg {
    display: inline-block;
	color: #e8454d;
}

.btn .wp-block-group__inner-container.is-layout-constrained.wp-block-group-is-layout-constrained {
	display: flex;
	gap: 10px;
}

.btn-div button,
.btn-div a {
	font-size: 18px;
	margin: 1rem 0 0;
	padding: 1em 2em;
	box-shadow: none;
}

.trusted-partner > .gb-layout-column-wrap > .gb-block-layout-column:last-child > .gb-block-layout-column-inner {
	padding: 3rem;
	background: #fff;
	border-radius: 1rem;
	box-shadow: 0 4px 20px rgba(45, 79, 124, 0.12);
}

p.gform_required_legend {
    display: none;
}

.gform_wrapper.gravity-theme .gform_fields {
	gap:20px;
}

.trusted-partner > .gb-layout-column-wrap > .gb-block-layout-column:last-child h2,
.trusted-partner > .gb-layout-column-wrap > .gb-block-layout-column:last-child h3 {
	font-size:24px;
	font-weight: 700;
	margin-bottom:10px;
}

.trusted-partner > .gb-layout-column-wrap > .gb-block-layout-column:last-child p {
	font-size:16px;
	color:#5c6d8a;
	margin-bottom:20px;
}

.margin-zero {
	margin:0;
}

p.margin-zero.has-text-color.has-link-color.wp-elements-6d3204da40f24d9236fe5a1c7e923657 {
	font-size:18px;
	font-weight:600;
	font-family:Montserrat, sans-serif;
}

.gform-theme--foundation .gfield .ginput_password.large, .gform-theme--foundation .gfield input.large, .gform-theme--foundation .gfield select.large {
	background: #F8FAFC;
	border-radius: 8px;
	border-color:#ccc;
	color:#5c6d8a;
	box-shadow: none;
}

.gform_wrapper.gravity-theme .gfield_label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #000;
    font-size: 1.4rem;
}

.gform_wrapper.gravity-theme .gfield_label .gfield_required {
    padding: 0;
}

.gform_wrapper.gravity-theme .gfield input,
.gform_wrapper.gravity-theme .gfield select,
.gform_wrapper.gravity-theme .gfield textarea {
	background: #F8FAFC;
	border-radius: 8px;
	border:1px solid #ccc;
	color: #000;
	box-shadow: none;
	outline: none;
	transition: 0.25s ease-in-out border-color;
}

.gform_wrapper.gravity-theme .gfield input:focus,
.gform_wrapper.gravity-theme .gfield select:focus,
.gform_wrapper.gravity-theme .gfield textarea:focus {
	border-color: #163968;
}

.gform_wrapper.gravity-theme .gfield input::-webkit-input-placeholder,
.gform_wrapper.gravity-theme .gfield select:not(.selected),
.gform_wrapper.gravity-theme .gfield textarea::-webkit-input-placeholder {
	color: #5c6d8a;
}

.gform_wrapper.gravity-theme .gfield input::-moz-placeholder,
.gform_wrapper.gravity-theme .gfield textarea::-moz-placeholder {
	color: #5c6d8a;
}

.gform_wrapper.gravity-theme .gfield input:-moz-placeholder,
.gform_wrapper.gravity-theme .gfield textarea:-moz-placeholder {
	color: #5c6d8a;
}

.gform_wrapper.gravity-theme .gfield input:-ms-input-placeholder,
.gform_wrapper.gravity-theme .gfield textarea:-ms-input-placeholder {
	color: #5c6d8a;
}

.gform_wrapper.gravity-theme .gfield select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

.gform_wrapper.gravity-theme .gfield .ginput_container_select {
	position: relative;
	display: flex;
	align-items: center;
}

.gform_wrapper.gravity-theme .gfield .ginput_container_select:after {
	content: '\f078';
	display: none;
	font-family: 'Font Awesome 6 Pro';
	font-weight: 400;
}

.gform_wrapper.gravity-theme .gfield .ginput_container_select i,
.gform_wrapper.gravity-theme .gfield .ginput_container_select svg {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 1.3rem;
	height: 1.3rem;
	top: auto;
	right: 1.2rem;
	color: #000;
	font-size: 1.3rem;
	pointer-events: none;
}

.gform_wrapper.gravity-theme .ginput_complex {
    gap: 2rem;
}

.gform_wrapper.gravity-theme .ginput_complex span {
	margin: 0;
    padding: 0 !important;
}

input#gform_submit_button_3,
input#gform_submit_button_4{
	padding: 1.5rem 2rem;
	border-radius: 8px;
	background: #E4222C;
	font-size: 16px;
	font-weight: 600;
	font-family: 'Montserrat';
	box-shadow:0 4px 20px hsl(357 78% 59% / .4);
}

input#gform_submit_button_3:hover ,input#gform_submit_button_4:hover {
	transform:scale(1.05);
	transition:0.3s;
}

.gform-footer.gform_footer.top_label {
	padding: 0;
}
div.gb-background-no-repeat {
    background-position: center;
}

/* Our Services */

.our-services {
	padding:8rem 0;
}

.our-services h2 {
	margin:0;
	font-size:36px;
	margin-bottom:15px;
}

.our-services p {
	font-size:18px;
	color:#5c6d8a;
}

.our-services h3 {
	font-size:20px;
	font-weight:700;
	margin-bottom:10px;
	margin-top:20px;
}

.our-services .margin-zero  {
	font-size: 14px;
	font-weight: 600;
	font-family: Montserrat, sans-serif;
	letter-spacing: 0.05rem;
	text-transform: uppercase;
}


.our-services-inner-col p {
	font-size:14px;
	margin-bottom:15px;
}

.our-services-inner-col ul {
	margin-left:20px;
}

.our-services-inner-col li {
	font-size:14px;
	color:#2d4f7c;
	margin-bottom:5px;
}

.our-services-inner-col ::marker {
	color:#E8454D;
}

.our-services-inner-col .gb-layout-column-wrap.gb-block-layout-column-gap-2.gb-is-responsive-column {
	gap: 25px;
	margin-top:35px;
	margin-bottom:40px;
}

.our-services-inner {
	padding: 2rem;
	border-radius: 1rem;
	background:#fff;
}

.our-services-inner:hover {
	transform:translatey(-4px);
	transition:0.3s;
}

.our-services-inner:hover .icon-block {
	background-color:#E8454D;
	transition:0.3s;
}

.our-services-inner:hover .icon-block svg {
	color:#fff;
}

.our-services-inner-col .icon-block,
.contact-us-inner .icon-block {
	background-color: #FCECED;
	width: fit-content;
	padding: 1rem 1.5rem;
	border-radius: 0.75rem;
	height: fit-content;
}

.our-services .zoom-on-hover:hover {
	scale: 1.05;
}

.mb-40 {
	margin-bottom: 40px;
}

.contact-us-inner .icon-block {
	background-color: #EDE0E5;
}

.our-services-inner-col .icon-block svg {
	color: #E8454D;
}

.why-choose-us {
	padding:8rem 0;
}

.why-choose-us .margin-zero {
	font-size: 14px;
	font-weight: 600;
	font-family: Montserrat, sans-serif;
	letter-spacing: 0.05rem;
	text-transform: uppercase;
}

.why-choose-us h2 {
	margin: 0;
	font-size: 36px;
	margin-bottom: 15px;
}

.why-choose-us p {
	font-size: 18px;
	color: #5c6d8a;
}

.why-choose-us-inner {
	background:#eef2f6;
	padding:20px;
	border-radius:12px;
}

.why-choose-us-inner:hover {
	background:#eaedf1;
}

.why-choose-us-inner-col .gb-layout-column-wrap.gb-block-layout-column-gap-2.gb-is-responsive-column {
	gap: 25px;
	margin-bottom:25px;
}

.why-choose-us-inner h3 {
	margin:15px 0 15px;
	font-size:18px;
}

.why-choose-us-inner p {
	font-size:14px;
}

.why-choose-us-inner-col .icon-block svg {
	color: #E8454D;
	width: 35px;
	height: 35px;
}

.counter-sec h3 {
	color: #d51a24;
	margin-bottom:0;
	font-size: 36px;
	font-weight: 700;
}

.counter-sec p {
	font-size:14px;
}

.contact-us:after {
	display:none;
}

.contact-us .margin-zero {
	font-size: 14px;
	font-weight: 600;
	font-family: Montserrat, sans-serif;
	letter-spacing: 0.05rem;
	text-transform: uppercase;
}

.contact-us h2 {
	margin: 0;
	font-size: 36px;
	margin-bottom: 15px;
}

.contact-us p {
	font-size: 18px;
	color: #5c6d8a;
}

.contact-us-inner h3 {
	font-size:16px;
	margin:0;
}

.contact-us-inner p {
	font-size:16px;
	font-weight:500;
	margin:0;
}

p.date-time {
	font-size:14px;
}

.contact-us-inner .icon-block svg {
	color:red;
}

.contact-us-inner .gb-layout-column-wrap.gb-block-layout-column-gap-2.gb-is-responsive-column {
    gap: 10px;
	margin-bottom:25px;
}

.contact-us-inner .gb-block-layout-column-inner{
	display: flex;
	gap: 15px;
}

.primary-menu-ctas .gb-layout-column-wrap {
	gap:2rem !important;
}

/* Responsiveness */

@media (max-width: 1200px) {
	
	.title-area {
		margin-right:5px;
	}
	
	.site-header > .wrap {
		gap:2rem;
		justify-content:space-between;
	}
	
	.nav-primary .menu {
		gap:1rem;
	}
	
	.nav-primary > .wrap {
		gap:1rem;
	}
	

	.phone-link .phone-number {
		font-size:13px;
	}
	
	.site-footer .menu > .menu-item-has-children:not(.mega-menu) > .sub-menu {
		width:auto;
	}
	
	
	
}

@media (max-width: 1024px) {
		.nav-primary .menu > .menu-item > a {
		font-size:14px;
	}
	
	.primary-menu-ctas button,
	.primary-menu-ctas a.button {
		padding:14px 20px;
	}
	
	.site-footer-widgets .gb-3-col-widecenter>.gb-layout-column-wrap {
		grid-template-columns: 1fr 1fr 1fr;
	}
	
	#menu-footer-menu {
		flex-direction: column;
	}
	
  .gb-layout-columns-2 > .gb-layout-column-wrap {
    grid-template-columns: 1fr;
    grid-template-areas: 
      "col1"
      "col2";
		gap:50px;
}
	
	.gb-layout-columns-4 > .gb-layout-column-wrap {
    -ms-grid-columns: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: 
      "col1 col2"
      "col3 col4";
  }
	
.why-choose-us-inner-col .gb-layout-column-wrap.gb-block-layout-column-gap-2.gb-is-responsive-column {
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "col1 col2";
}
	
	.contact-us-inner .gb-layout-column-wrap.gb-block-layout-column-gap-2.gb-is-responsive-column {
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "col1 col2";
}
	
	.home-cta-main .gb-layout-column-wrap { 
		grid-template-columns: 1fr 1fr; 
		grid-template-areas: "col1 col2"; 
	}
	
		.custom-button.align-left {
    align-items: center;
}
	
	.trusted-partner h1 {
		font-size: 48px;
	}
	
	p {
		line-height: 28px;
	}
	
	.trusted-partner ul {
		gap: 25px;
	}
	
	.wrap,
	.basic-page .content-sidebar-wrap,
	.entry-content > .wp-block-genesis-blocks-gb-columns > .gb-layout-column-wrap,
	.entry-content > .anchor-section > .wp-block-genesis-blocks-gb-columns > .gb-layout-column-wrap,
	.content > .wp-block-genesis-blocks-gb-columns > .gb-layout-column-wrap,
	.entry-content > .gb-block-container > .gb-container-inside,
	.entry-content > .anchor-section > .gb-block-container > .gb-container-inside {
		width: 96%;
	}
	
	.our-services-inner-col p,
	.why-choose-us-inner p {
		line-height: 20px;
	}
	
	.home-cta-main .gb-layout-column-wrap {
		gap: 10px;
	}
	
}


@media (max-width: 895px) {
	
	.site-footer .menu-item-has-children {
		flex-direction:column !important;
		align-items: flex-start;
	}
	
	.site-footer .sub-menu-toggle {
		display: none;
	}
	
	.site-footer li:not(.mega-menu) .menu-item {
		list-style-type: none;
	}
	
	.site-footer .sub-menu a,
	.site-footer .menu > .menu-item-has-children:not(.mega-menu) > .sub-menu {
		padding-left: 0;
	}
	
		.site-footer-widgets .gb-3-col-widecenter>.gb-layout-column-wrap {
		grid-gap: 0 1em;
	}
	
	.entry-content > .header-section,
	.entry-content > .anchor-section > .header-section {
		padding: 10rem 0 4rem;
	}
	
.phone-link .phone-number {
	font-size: 16px;
}
	
	.home-cta-main .btn-col .gb-block-layout-column-inner {
	flex-wrap:wrap;
}
	
}


@media (max-width: 767px) {
	.wrap,
	.basic-page .content-sidebar-wrap,
	.entry-content > .wp-block-genesis-blocks-gb-columns > .gb-layout-column-wrap,
	.entry-content > .anchor-section > .wp-block-genesis-blocks-gb-columns > .gb-layout-column-wrap,
	.content > .wp-block-genesis-blocks-gb-columns > .gb-layout-column-wrap,
	.entry-content > .gb-block-container > .gb-container-inside,
	.entry-content > .anchor-section > .gb-block-container > .gb-container-inside {
		width: 100%;
	}

	.home-testimonials-main .reviews .review-items-wrapper {
		flex-direction:column;
	}
	
	.home-cta-main .gb-layout-column-wrap {
    grid-template-columns: 1fr;
    grid-template-areas: 
      "col1"
      "col2";
		text-align:center;
  }
	
	.site-footer-widgets .gb-3-col-widecenter>.gb-layout-column-wrap {
		grid-template-columns: 1fr;
		grid-template-areas: "col1" "col2" "col3";
		grid-gap: 3.5rem;
	}

	#menu-footer-menu {
		gap: 3rem;
	}
	
	.contact-info .gb-block-layout-column-inner {
		margin-left: 0;
	}
	
	.site-header .wrap {
		width: 96%;
		padding: 0;
    margin: 0 auto;
	}
	
	p.margin-zero.has-text-color.has-link-color.wp-elements-6d3204da40f24d9236fe5a1c7e923657 {
		margin-bottom: 8px;
	}
	
		.trusted-partner h1 {
		font-size: 36px;
			line-height: 1.25;
	}
	
	.trusted-partner p.has-white-color {
		font-size: 18px;
	}
	
	.our-services h2,
	.why-choose-us h2,
	.home-testimonials-main h2  {
		font-size: 30px;
		line-height: 36px;
	}
	
	.footer-credits p {
		flex-direction: column;
	}
	
}

@media (max-width: 600px) { 
	
.counter-sec .gb-layout-column-wrap.gb-block-layout-column-gap-2.gb-is-responsive-column {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-areas: "col1 col2 col3";
}
	
	.contact-us-inner .gb-layout-column-wrap.gb-block-layout-column-gap-2.gb-is-responsive-column {
    grid-template-columns: 1fr;
    grid-template-areas: 
      "col1"
      "col2";
		gap:25px;
  }
	
	.entry-content > .header-section,
	.entry-content > .anchor-section > .header-section {
		padding: 5rem 0 4rem;
	}
	p.margin-zero.has-text-color.has-link-color.wp-elements-6d3204da40f24d9236fe5a1c7e923657 {
		margin-bottom: 10px;
	}
	
	.trusted-partner h1 {
    font-size: 35px;
    line-height: 1.25;
    margin-bottom: 2.4rem;
}
	.trusted-partner p {
		font-size: 18px;
		line-height: 28px;
	}
	
	.trusted-partner ul {
    gap: 10px;
    flex-wrap: wrap;
}
	
	.btn .wp-block-group__inner-container.is-layout-constrained.wp-block-group-is-layout-constrained {
		flex-wrap: wrap;
	}
	
	.btn .custom-button.align-left {
		align-items: flex-start;
	}
	
	.btn-div {
		padding: 0;
	}
	
	input#gform_submit_button_3, input#gform_submit_button_4 {
		line-height: 24px;
		padding: 1.2rem 2rem;
	}
	
	.our-services h2,
	.why-choose-us h2,
	.home-testimonials-main h2,
	.contact-us h2 {
    font-size: 30px;
    line-height: 36px;
}
	
	.our-services p,
	.why-choose-us p,
	.home-testimonials-main p,
	.home-cta-main p,
	.trusted-partner p {
		line-height: 28px;
	}
	
	.our-services-inner-col p {
		line-height: 20px;
	}
	
.why-choose-us-inner-col .gb-layout-column-wrap.gb-block-layout-column-gap-2.gb-is-responsive-column {
    grid-template-columns: 1fr;
    grid-template-areas: "col1"
    "col2";
}
	
	.home-cta-main h2 {
		font-size: 24px;
		line-height: 32px;
	}
	
	.home-cta-main .gb-layout-column-wrap {
		grid-gap: 32px;
	}
	
	.home-cta-main .btn-col .button {
		margin-top:0;
	}
	
	.contact-us {
		padding: 9rem 0;
	}
	
	.contact-us-inner p {
		font-size: 16px;
		line-height: 20px;
	}
	div#gform_wrapper_4 h2 {
		font-size: 20px;
		line-height: 28px;
	}
	
	.credit {
		gap: 10px;
	}
}

.nav-primary .menu-item a svg[data-fa-pseudo-element] {
    display: none;
}

.image-content-section .gb-layout-column-wrap {
	display: flex;
	row-gap: 4rem;
    column-gap: 6rem;
}

.image-content-section .gb-layout-column-wrap > .gb-block-layout-column > .gb-block-layout-column-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

@media (min-width: 768px) {
	.image-content-section:not(.wrap-reverse) .gb-layout-column-wrap > .gb-block-layout-column:first-child > .gb-block-layout-column-inner,
	.image-content-section.wrap-reverse .gb-layout-column-wrap > .gb-block-layout-column:last-child > .gb-block-layout-column-inner {
		padding: var(--theme-section-padding) 0;
	}
}

.image-content-section .wp-block-image {
    display: flex;
    height: 100%;
    max-height: 500px;
    border-radius: 2.4rem;
    overflow: hidden;
}

.image-content-section .wp-block-image img {
    object-fit: cover;
    object-position: center center;
    width: 100%;
    height: 100%;
}

@media (max-width: 767px) {
	body {
		font-size: 1.8rem;
	}

	h2 {
		font-size: 3.2rem;
	}

	.image-content-section .gb-layout-column-wrap {
		flex-direction: column;
	}

	.image-content-section.wrap-reverse .gb-layout-column-wrap {
		flex-direction: column-reverse;
	}

	.image-content-section:not(.wrap-reverse) .gb-layout-column-wrap > .gb-block-layout-column:last-child > .gb-block-layout-column-inner,
	.image-content-section.wrap-reverse .gb-layout-column-wrap > .gb-block-layout-column:first-child > .gb-block-layout-column-inner {
		padding: 0;
	}

	.image-content-section .wp-block-image {
		max-height: 250px;
	}
}

.max-760 {
    max-width: 760px;
    margin: 0 auto;
}

.basic-banner p {
    color: #d51a24;
    font-weight: 600;
    font-family: Montserrat, sans-serif;
    margin: 0 0 0.5rem;
}

.tagline p {
    color: #d51a24;
    font-size: 14px;
    font-weight: 600;
    font-family: Montserrat, sans-serif;
    letter-spacing: 0.05rem;
    text-transform: uppercase;
}

.header-section .tagline p,
.home-testimonials-main .tagline p {
	background-color: #000;
	background-clip: text;
	color: #e8454d;
    font-size: 18px;
    letter-spacing: 0;
    text-transform: none;
}

.contact-us-inner p a:not(:hover) {
    color: #2d4f7c;
}

.home-cta-main > .gb-layout-column-wrap {
    grid-template-columns: 1fr auto;
}

/* Modal */

.fade {
  	transition: opacity 0.15s linear;
}

@media (prefers-reduced-motion: reduce) {
	.fade {
		transition: none;
	}
}

.fade:not(.show) {
  	opacity: 0;
}

.modal {
	--bs-modal-zindex: 1055;
	--bs-modal-width: 500px;
	--bs-modal-padding: 1rem;
	--bs-modal-margin: 0.5rem;
	--bs-modal-color: ;
	--bs-modal-bg: #fff;
	--bs-modal-border-color: var(--bs-border-color-translucent);
	--bs-modal-border-width: 1px;
	--bs-modal-border-radius: 0.5rem;
	--bs-modal-box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
	--bs-modal-inner-border-radius: calc(0.5rem - 1px);
	--bs-modal-header-padding-x: 1rem;
	--bs-modal-header-padding-y: 1rem;
	--bs-modal-header-padding: 1rem 1rem;
	--bs-modal-header-border-color: var(--bs-border-color);
	--bs-modal-header-border-width: 1px;
	--bs-modal-title-line-height: 1.5;
	--bs-modal-footer-gap: 0.5rem;
	--bs-modal-footer-bg: ;
	--bs-modal-footer-border-color: var(--bs-border-color);
	--bs-modal-footer-border-width: 1px;
	position: fixed;
	top: 0;
	left: 0;
	z-index: var(--bs-modal-zindex);
	display: none;
	width: 100%;
	height: 100%;
	overflow-x: hidden;
	overflow-y: auto;
	outline: 0;
}

.modal-dialog {
	position: relative;
	width: auto;
	margin: var(--bs-modal-margin);
	pointer-events: none;
}

.modal.fade .modal-dialog {
	transition: transform 0.3s ease-out;
	transform: translate(0, -50px);
}

@media (prefers-reduced-motion: reduce) {
	.modal.fade .modal-dialog {
		transition: none;
	}
}

.modal.show .modal-dialog {
	transform: none;
}

.modal.modal-static .modal-dialog {
	transform: scale(1.02);
}

.modal-dialog-scrollable {
	height: calc(100% - var(--bs-modal-margin) * 2);
}

.modal-dialog-scrollable .modal-content {
	max-height: 100%;
	overflow: hidden;
}

.modal-dialog-scrollable .modal-body {
	overflow-y: auto;
}

.modal-dialog-centered {
	display: flex;
	align-items: center;
	min-height: calc(100% - var(--bs-modal-margin) * 2);
}

.modal-content {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	color: var(--bs-modal-color);
	pointer-events: auto;
	background-color: var(--bs-modal-bg);
	background-clip: padding-box;
	border: var(--bs-modal-border-width) solid var(--bs-modal-border-color);
	border-radius: var(--bs-modal-border-radius);
	outline: 0;
}

.modal-backdrop {
	--bs-backdrop-zindex: 1050;
	--bs-backdrop-bg: #000;
	--bs-backdrop-opacity: 0.5;
	position: fixed;
	top: 0;
	left: 0;
	z-index: var(--bs-backdrop-zindex);
	width: 100vw;
	height: 100vh;
	background-color: var(--bs-backdrop-bg);
}

.modal-backdrop.fade {
	opacity: 0;
}

.modal-backdrop.show {
	opacity: var(--bs-backdrop-opacity);
}

.modal-header {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: space-between;
	padding: var(--bs-modal-header-padding);
	border-bottom: var(--bs-modal-header-border-width) solid var(--bs-modal-header-border-color);
	border-top-left-radius: var(--bs-modal-inner-border-radius);
	border-top-right-radius: var(--bs-modal-inner-border-radius);
}

.modal-header .btn-close {
	padding: calc(var(--bs-modal-header-padding-y) * 0.5) calc(var(--bs-modal-header-padding-x) * 0.5);
	margin: calc(-0.5 * var(--bs-modal-header-padding-y)) calc(-0.5 * var(--bs-modal-header-padding-x)) calc(-0.5 * var(--bs-modal-header-padding-y)) auto;
}

.modal-title {
	margin-bottom: 0;
	line-height: var(--bs-modal-title-line-height);
}

.modal-body {
	position: relative;
	flex: 1 1 auto;
	padding: var(--bs-modal-padding);
}

.modal-footer {
	display: flex;
	flex-shrink: 0;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	padding: calc(var(--bs-modal-padding) - var(--bs-modal-footer-gap) * 0.5);
	background-color: var(--bs-modal-footer-bg);
	border-top: var(--bs-modal-footer-border-width) solid var(--bs-modal-footer-border-color);
	border-bottom-right-radius: var(--bs-modal-inner-border-radius);
	border-bottom-left-radius: var(--bs-modal-inner-border-radius);
}

.modal-footer>* {
	margin: calc(var(--bs-modal-footer-gap) * 0.5);
}

@media (min-width: 576px) {
	.modal {
		--bs-modal-margin: 1.75rem;
		--bs-modal-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
	}

	.modal-dialog {
		max-width: var(--bs-modal-width);
		margin-right: auto;
		margin-left: auto;
	}

	.modal-sm {
		--bs-modal-width: 300px;
	}
}

@media (min-width: 992px) {

	.modal-lg,
	.modal-xl {
		--bs-modal-width: 800px;
	}
}

@media (min-width: 1200px) {
	.modal-xl {
		--bs-modal-width: 1140px;
	}
}

.modal-fullscreen {
	width: 100vw;
	max-width: none;
	height: 100%;
	margin: 0;
}

.modal-fullscreen .modal-content {
	height: 100%;
	border: 0;
	border-radius: 0;
}

.modal-fullscreen .modal-header,
.modal-fullscreen .modal-footer {
	border-radius: 0;
}

.modal-fullscreen .modal-body {
	overflow-y: auto;
}

@media (max-width: 575.98px) {
	.modal-fullscreen-sm-down {
		width: 100vw;
		max-width: none;
		height: 100%;
		margin: 0;
	}

	.modal-fullscreen-sm-down .modal-content {
		height: 100%;
		border: 0;
		border-radius: 0;
	}

	.modal-fullscreen-sm-down .modal-header,
	.modal-fullscreen-sm-down .modal-footer {
		border-radius: 0;
	}

	.modal-fullscreen-sm-down .modal-body {
		overflow-y: auto;
	}
}

@media (max-width: 767.98px) {
	.modal-fullscreen-md-down {
		width: 100vw;
		max-width: none;
		height: 100%;
		margin: 0;
	}

	.modal-fullscreen-md-down .modal-content {
		height: 100%;
		border: 0;
		border-radius: 0;
	}

	.modal-fullscreen-md-down .modal-header,
	.modal-fullscreen-md-down .modal-footer {
		border-radius: 0;
	}

	.modal-fullscreen-md-down .modal-body {
		overflow-y: auto;
	}
}

@media (max-width: 991.98px) {
	.modal-fullscreen-lg-down {
		width: 100vw;
		max-width: none;
		height: 100%;
		margin: 0;
	}

	.modal-fullscreen-lg-down .modal-content {
		height: 100%;
		border: 0;
		border-radius: 0;
	}

	.modal-fullscreen-lg-down .modal-header,
	.modal-fullscreen-lg-down .modal-footer {
		border-radius: 0;
	}

	.modal-fullscreen-lg-down .modal-body {
		overflow-y: auto;
	}
}

@media (max-width: 1199.98px) {
	.modal-fullscreen-xl-down {
		width: 100vw;
		max-width: none;
		height: 100%;
		margin: 0;
	}

	.modal-fullscreen-xl-down .modal-content {
		height: 100%;
		border: 0;
		border-radius: 0;
	}

	.modal-fullscreen-xl-down .modal-header,
	.modal-fullscreen-xl-down .modal-footer {
		border-radius: 0;
	}

	.modal-fullscreen-xl-down .modal-body {
		overflow-y: auto;
	}
}

@media (max-width: 1399.98px) {
	.modal-fullscreen-xxl-down {
		width: 100vw;
		max-width: none;
		height: 100%;
		margin: 0;
	}

	.modal-fullscreen-xxl-down .modal-content {
		height: 100%;
		border: 0;
		border-radius: 0;
	}

	.modal-fullscreen-xxl-down .modal-header,
	.modal-fullscreen-xxl-down .modal-footer {
		border-radius: 0;
	}

	.modal-fullscreen-xxl-down .modal-body {
		overflow-y: auto;
	}
}

/* Modal Custom */

body .modal {
    background: transparent;
    position: fixed;
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    top: 0;
    left: 0;
    margin: 0 auto;
    padding: 0;
    z-index: 999;
    border: none;
    border-radius: 0;
}

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

body .modal .modal-dialog {
    width: 100%;
    max-width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    margin: 0;
}

body .modal .modal-content {
    background: #fff;
    position: relative;
    width: 50%;
    max-width: 50%;
    height: 70%;
    max-height: 70%;
    margin-top: 8%;
    overflow-x: hidden;
    overflow-y: scroll;
}

body .modal .modal-header {
    background-color: #fbfbfb;
    position: sticky;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
	padding: 1.5rem 3rem;
    box-shadow: 0px 2px 8px -2px rgba(0, 0, 0, 0.2);
    z-index: 999;
}

body .modal .modal-header > .close {
	background-color: transparent;
    margin: 0;
    padding: 0;
	border-radius: 0;
	box-shadow: none;
}

body .modal .modal-header > .close p {
	color: #000;
    font-size: 3rem;
	font-weight: 600;
    margin: 0;
    line-height: 1;
}

body .modal h5.modal-title {
	color: #000;
	font-size: 1.8rem;
    font-weight: 700;
	line-height: 1;
    margin: 0;
}

body .modal .modal-body {
    padding: 3rem;
}

body .modal .modal-footer {
    position: sticky;
    display: block;
    width: fit-content;
    bottom: 3rem;
    right: 3rem;
    margin: 3rem 0 0 auto;
    padding: 0;
    border-top: none;
}

body .modal .modal-footer .button {
	background-color: #fff;
	color: #000;
	font-size: 1.4rem;
    margin: 0;
	padding: 1.2rem 2.2rem;
	border-color: #000;
}

body .modal .modal-footer .button:hover {
    background: rgba(0, 0, 0, 0.05);
}

body .modal-backdrop {
    z-index: -1;
}

@media (max-width: 849px) {
    body .modal .modal-content {
        width: 100%;
        max-width: 100%;
        height: 100%;
        max-height: 100%;
        margin-top: 0;
    }
}