/** GLOBAL CSS **/
.ry-section-bg, .ry-section-bg img {
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    height: 100%;
    z-index: -1;
	object-fit: cover;
}
.ry-services-section {
    padding: 8rem 0 !important;
}
.ry-services-section .ry-container {
    max-width: 1300px;
    width: 90%;
}
.ry-grid-template {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.ry-srv-headline ul {
    padding: 0;
}

.ry-services-section .ry-photo.left {
    width: 100%;
    max-width: 500px;
    margin: 0;
    padding: 0 30px 0 0;
}

.ry-services-section .ry-photo.right {
    width: 100%;
    max-width: 500px;
    margin: 0;
    padding: 0 0 0 30px;
}

@media (max-width: 1200px) {
	div.ry-services-section .ry-photo.right,
	div.ry-services-section .ry-photo.left {
		margin: 0 auto 30px;
		float: none;
	}
	
	div.ry-grid-template {
		gap: 30px;
	}
	
	div.ry-srv-headline ul {
		padding: 20px;
	}
}

.ry-grid-template .ry-flex:nth-child(even) {
    flex-direction: row-reverse;
}
.ry-grid-template .ry-flex {
    gap: 8rem;
    align-items: flex-start;
    justify-content: center;
}
.ry-srv-headline h2, .ry-srv-headline h3 {
    font-size: clamp(1.75rem, 1.6703rem + 0.3268vw, 2.0625rem) !important;
    line-height: 1.5 !important;
    text-transform: uppercase !important;
    color: #414655;
    font-weight: 400 !important;
    font-family: "Raleway";
    padding: 5px 0 10px;
}
.ry-services-section .ry-content > .ry-flex {
    flex-direction: column;
}
.ry-text h5 {
    font-size: 24px !important;
    font-weight: 400 !important;
    line-height: 1.1 !important;
}

.ry-services-hero-banner-text .ry-headline h1 {
    text-shadow: -1px 0px 4px rgba(0, 0, 0, .6) !important;
	font-weight: 700 !important;
	color: #fff !important;
}


.ry-services-hero-section .ry-hero-background:before {
    position: absolute;
    content: " ";
    height: 100%;
    width: 100%;
    background: linear-gradient(to bottom, transparent, hsl(0deg 0% 0% / 20%));
    inset: 0;
}

div.blacktext h4 a {
    color: #333 !important;
    padding: 15px;
    background: hsl(0deg 0% 100% / 74%);
    border-radius: 10px;
}

div.blacktext h4 a:after {
    color: #fff !important;
}

/** HERO SECTION **/

@media (min-width:1199px) and (max-width:1660px) {
    .ry-services-hero-section .ry-container .ry-btn-wrap {
		right: -4% !important;
		bottom: 50%;
	}
}


.ry-services-hero-section {
     display: grid;
    & > * {
        grid-column: 1;
        grid-row: 1;
    }
}
.ry-services-hero-section .ry-container {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}
.ry-services-hero-section .ry-container .ry-btn-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    top: initial;
    bottom: 0;
   
}
.ry-services-hero-banner-text {
    margin-bottom: 3rem !important;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.ry-services-hero-section .ry-hero-background, .ry-services-hero-section .ry-hero-background img {
    object-fit: cover;
}
.ry-headline h1 {
    font-size: clamp(1.875rem, 1.3971rem + 1.9608vw, 3.75rem);
    line-height: 25px;
    text-transform: uppercase !important;
    color: #ffffff;
    font-weight: 300 !important;
    font-family: "Raleway";
}
.ry-headline h4 {
    font-size: 20px !important;
    letter-spacing: 2px;
    line-height: 1.1;
    text-transform: uppercase;
    color: #ffffff;
    font-weight: 400 !important;
    font-family: "Raleway";
    text-transform: uppercase !important;
}

.ry-srv-headline h3 {
    font-size: clamp(1.625rem, 1.5613rem + 0.2614vw, 1.875rem) !important;
    text-wrap-style: balance;
}


.ry-text-link h4, .ry-text-link h4 a {
    font-size: clamp(1.5rem, 1.4363rem + 0.2614vw, 1.75rem);
    line-height: 25px;
    color: #ffffff;
    font-weight: 400;
    font-family: "Raleway";
    position: relative;
}
.ry-text-link h4 a:after {
    content: "\f054";
    margin-left: 10px;
    font-family: 'FontAwesome';
    font-size: 24px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 47px;
    height: 47px;
    border-radius: 50%;
    background-color: #008b98;
}
.ry-text-link h4 a:hover:after {
    background-color: #175462;
}
.ry-text-link {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
}

/** VIDEO SECTION **/
.ry-video-frame {
    max-width: 960px;
    margin: 0 auto 1.5rem;
}
.ry-self-test-container .ry-container {
    min-height: 373px;
    position: relative;
}
.ry-self-test-container {
    position: relative;
    /*bottom: -9vw;*/
    z-index: 9;
	bottom: unset;
}
.ry-self-test-container .ry-flex {
    align-items: center;
    position: absolute;
    bottom: 0;
    padding: 2rem 3rem;
}
.ry-self-test-container .ry-flex .ry-btn-wrap {
    display: flex;
    justify-content: flex-end;
}
.ry-services-section.srv-section-2 {
    /*padding: 8rem 0 0 !important;*/
	padding: 8rem 0 !important;
}
.ry-self-test-container .ry-flex .ry-each {
    width: max-content;
}
.ry-self-test-container .ry-srv-headline h2 {
    color: #fff;
}
.ry-self-test-container .ry-section-bg img {
    /*filter: brightness(0.6);*/
	filter: none;
}

/** SECTION 3 **/
.ry-services-section.srv-section-3 {
    padding: 16rem 0 8rem !important;
}
.ry-services-section.srv-section-3 .ry-content .ry-flex {
    flex-direction: column;
    gap: 1rem;
}
.ry-services-tab {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.ry-services-tab li a {
    background-color: #008b98 !important;
    border-radius: 0 !important;
    color: #fff;
    border: none !important;
}
.ry-services-tab li.active a {
    background-color: #005361;
    color: #fff;
}
.ry-services-tab .nav-tabs>li.active>a, 
.ry-services-tab .nav-tabs>li.active>a:hover, 
.ry-services-tab .nav-tabs>li.active>a:focus {
    background-color: #005361 !important;
    color: #fff;
}
.ry-services-tab .nav-tabs {
    display: flex;
    gap: 1rem;
}
.ry-services-tab .nav-tabs li, .ry-services-tab .nav-tabs li a {
    width: 100%;
}
.ry-services-tab .nav-tabs:before,
.ry-services-tab .nav-tabs:after {
    display: none;
}
.ry-services-tab .tab-content {
    border: none;
}

/** SECTION 4 **/
.ry-services-section.srv-section-4 .ry-flex {
    gap: 1.5rem;
    align-items: center;
	justify-content: center !important;
}
.ry-services-cta {
    padding: 3rem 5rem;
    margin-top: 4rem;
}
.ry-services-cta .ry-flex .ry-btn-wrap {
    width: max-content;
}
.ry-services-cta .ry-srv-headline h2 {
    color: #fff;
}

/** SECTION 5 / TESTIMONIALS **/
.ry-services-section.srv-section-5 .ry-testi-cards {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}
.ry-services-section.srv-section-5 .ry-testi-cards .ry-each {
    background: #005361;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
}
.ry-services-section.srv-section-5 .ry-testi-cards .ry-each .ry-quote-wrap img {
    max-width: 56px;
    margin: 0 auto 1rem;
}
.ry-services-section.srv-section-5 .ry-testi-cards .ry-each .ry-text p {
    font-size: 16px;
    color: #fff;
    line-height: 1.8;
    text-align: center;
}
.ry-testi-name {
    margin-top: 1rem;
}
.ry-testi-name > div {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}
.ry-testi-name p {
    color: #fff;
    text-transform: uppercase;
}
.ry-services-section.srv-section-5 .ry-testi-cards .ry-each .ry-text p {
    overflow: hidden;
    display: -webkit-box;
    /*-webkit-line-clamp: 8;
    line-clamp: 8;*/
    -webkit-box-orient: vertical;
}
.ry-services-section.srv-section-5 .ry-btn-wrap {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.ry-services-section.srv-section-5 .ry-testi-cards .ry-each {
    width: 48%;
}

	.ry-services-section.srv-section-5 .ry-testi-cards {
    flex-wrap: wrap;
}



@media (max-width:991px) {

	.ry-services-section.srv-section-5 .ry-testi-cards .ry-each {
    width: 48%;
}

}


@media (max-width:768px) {

	.ry-services-section.srv-section-5 .ry-testi-cards .ry-each {
    width: 100% !important;
}

}

/** SECTION 6 **/
.srv-section-6 img {
    object-fit: cover;
}

@media (max-width: 1080px) {
	.ry-services-hero-section .ry-container .ry-btn-wrap {
	    top: -24vw;
		bottom: initial !important;
	}
}


@media (width <= 1080px) {
	.ry-services-hero-section {
		display: grid;
		margin-top: 70px;
		background-color: #175462;
		& > * {
			grid-row: initial;
		}
	}
	.ry-services-hero-banner-text {
		padding: 2rem 0 0;
	}
	.ry-grid-template .ry-flex {
		flex-direction: column !important;
	}
	.ry-srv-headline h2, .ry-srv-headline p, .ry-text h5, .ry-text p {
		text-align: center !important;
	}
	.ry-self-test-container .ry-flex,
	.ry-services-section.srv-section-4 .ry-flex {
		flex-direction: column;
		gap: 10px;
	}
}
@media (width <= 768px) {
	.ry-services-section {
		padding: 4rem 0 !important;
	}
	.ry-grid-template .ry-flex {
		gap: 2rem;
	}
	.ry-self-test-container .ry-flex .ry-each {
		width: 100%;
	}
	.ry-self-test-container .ry-flex .ry-btn-wrap {
		justify-content: center;
	}
	.ry-services-hero-section .ry-container .ry-btn-wrap,
	.ry-services-tab .nav-tabs,
	.ry-services-section.srv-section-5 .ry-testi-cards {
		flex-direction: column;
	}
	.ry-services-section.srv-section-3 {
		padding: 6rem 0 4rem !important;
	}
}



.google-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ebebeb;
    border-radius: 999999px;
    width: 40px;
    height: 40px;
    margin: 30px auto 0;
}

.google-icon img {
    width: 20px;
    height: 20px;
}

@media (width <= 1080px) {
    .ry-services-hero-banner-text {
        padding: 2rem 0  !important;
    }
    .ry-services-hero-banner-text{
        margin-bottom:0 !important
    }
}
@media(max-width:480px){
   .ry-services-hero-section .ry-hero-background img {
    height:200px
 }
}
.ry-srv-headline h2,
.ry-srv-headline h3,
.ry-srv-headline h4,
.ry-srv-headline h5,
.ry-srv-headline h6 {
	font-weight:bold !important;
	text-transform:unset !important;
	color:#175462
}
.ry-srv-headline h2 {
     font-size:27px !important;
    font-weight:bold !important;
    text-transform:unset !important;
    color:#175462
}