/* Before adding any unnecessary CSS rules, please check out the Snap documentation at https://bit.ly/3PqSii8. */
/* Override Styles */
/*
.service-style-1 h2 {margin: 10px 0;}
.ry-menu .ry-nav li .dropdown-toggle {padding: 30px 0;}
ul#quick-links li a {display: block;width: 100%;}
#in-services-3 ul li a {margin-left: 0px;margin-top:30px}
*/
html, body {
	overscroll-behavior: none;
	overflow-x: hidden !important;
}

[x-cloak] { display: none !important; }
.promotions img { min-width: 22rem; max-width:22rem;}

/*Nathan | Build Starting - <February 14, 2024 <3 >*/

#hp-slider .homepage-swiper,
.homepage-swiper .swiper-slide img {
    height: 100vh;
}
.module-19.style2 .services-frame .frame .service-name a:after {
    background: var(--color-primary-background);
    right: 5%;
}
.module-testimonials.style-4 .testimonials-swiper-4 .swiper-wrapper div {
    background: var(--color-secondary-background) !important;
    border-radius: 10px;
}
#section-hp-services::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 30%;
    width: 100%;
    background: var(--color-secondary-background);
}
@media screen and (max-width: 1080px){
    #hp-slider .homepage-swiper,
    .homepage-swiper .swiper-slide img {
        height: 100%;
    }
}
.with-gradient:before {
    background-image: linear-gradient(to bottom, white,transparent);
    height: 40%;
}
@media screen and (max-width: 1024px){
    .with-gradient:before {
        opacity: 0;
    }
}
@media (max-width: 1366px) {
	.ry-hp-team .ry-btn {margin: 30px auto 0 !important;}
}
div#navigation {
    background-color: #fff;
}

#section-hp-services .ry-btn-primary:hover {
    background-color: #c9c9c9;
}

body[data-page-name="online-forms"] .ry-btn.ry-btn-primary:hover, #ry-sidebar .ry-btn.ry-btn-primary:hover {
    background: #2da6c3;
    color: #fff;
}

.ry-hp-team .custom-headline h2 {
    text-align: inherit;
}

/* MODAL */
.button-block {
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-background);
    border-bottom-left-radius: 10px;
    z-index: 99999;
    cursor: pointer;
}

.button-block svg {
    width: 15px;
    height: 15px;
    fill: #fff;
}
.model-csutom {
	background: transparent;
	background-size: cover;
}

.form-modal .model-csutom {
	background: #fff;
	background-size: cover;
	width:60%;
	display:flex;
	flex-direction:column;
	justify-content:center;
}
.model-csutom .ry-logo {
    margin-bottom: 20px;
}
.model-csutom .ry-logo img {
    width: 100%;
    max-width: 140px;
    margin: auto;
}
.model-csutom:before {
    content: "";
    position: absolute;
    border: 2px solid #b01620;
    left: 20px;
    top: 20px;
    right: 20px;
    bottom: 20px;
	display:none;
}

.model-csutom .ry-logo, .model-csutom .ry-title, .model-csutom .cmsForm {
    position: relative;
    z-index: 9;
}
.model-csutom .ry-title * {
    text-align: center;
}
.model-csutom .ry-title h4 {
    font-family: 'Poppins';
    font-size: 24px;
    margin-bottom: 10px;
}
.model-csutom .ry-title h3 br {
    display: none;
}
.model-csutom .ry-title h3 {
	color: var(--color-primary-background);
	font-weight: 700 !important;
	font-size: 34px;
	font-family: 'Poppins';
}
.model-csutom .ry-title h3 span {
    color: var(--color-secondary-background);
    font-size: 22px;
    display: block;
    margin-bottom: 10px;
    font-family: 'Poppins';
}

.model-csutom .ry-title p {
    font-size: 16px;
    color: #111;
	line-height: 150%;
}
.model-csutom .form-control {
    border-radius: 0;
    box-shadow: none;
    height: 55px;
    font-size: 16px;
    color: #111;
    padding: 0 26px;
    width: 100%;
    margin-bottom: 10px;
    background: #fff !important;
	color: #333 !important;
	border: none;
}
.model-csutom input.ry-btn.ry-btn-primary {
    height: 55px;
    border-radius: 0 !important;
    width: 100%;
    max-width: 100%;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-size: 18px !important;
}
.model-csutom .cmsForm {
    margin-top: 20px;
    padding: 0 5%;
}

.form-modal .left-img {
    width:40%;
}
.form-modal .left-img img {
    height:100%;
    width:100%;
    margin: 0 !important;
}

@media(max-width:1023px) {
    .form-modal {
        flex-direction:column;
        padding:50px 10px 20px;
        gap:30px
    }
    .form-modal .left-img {
        width:100%;
    }
    .form-modal .model-csutom {
    width:100%;
    }

    .form-modal .left-img img {
    aspect-ratio:16/19;
    max-width:300px;
    margin: auto !important;
    }
}

@media (max-width: 767px){
	.model-csutom .ry-title h3 span{
		font-size: 20px;
	}
	.model-csutom .ry-title h3{
		font-size: 26px;
	}
	.model-csutom:before {
		content: "";
		left: 10px;
		top: 10px;
		right: 10px;
		bottom: 10px;
	}
}

@media (max-width: 360px){
	.home .modal .modal-dialog {
		margin: 100px auto;
	}
}


.model-csutom {
    padding: 30px 0;
}

.model-csutom .ry-btn {
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 0;
}

.cta-btn.forms {
    background: var(--color-primary-background);
}
.cta-btn.forms:hover {
    background: #fff;
}
	