.single-services-template .banner-wrapper .photo {
    position: relative;
    padding-bottom: 600px;
}

.single-services-template .banner-wrapper .photo img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 80%;
}

.single-services-template .banner-wrapper {
    min-height: 600px;
}

.single-services-template .banner-wrapper .services-title {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(0, -50%);
}

.single-services-template .banner-wrapper .services-title .headline {
    width: 70%;
}

.single-services-template .banner-wrapper .services-title .headline h1 {
    font-size: 62px;
    font-weight: 300 !important;
    margin-bottom: 10px;
}

.single-services-template .banner-wrapper .services-title .headline p {
    font-size: 18px;
    line-height: 1.5;
    width: 70%;
}

.module-template-services .ry-text p {
    font-size: 18px;
    line-height: 1.6;
}

.module-template-services .ry-headline h3 {
    font-size: 46px !important;
    font-weight: 400 !important;
}
.module-template-services .ry-headline h2 {
    font-size: 48px !important;
    font-weight: 400 !important;
}

.module-template-services .group-block .block:not(:last-child) {
    margin-bottom: 100px;
}

.module-template-services .group-block .block .content {
    display: flex;
    align-items: center;
    gap: 30px;
    justify-content: space-between;
}

.module-template-services .group-block .block .content .each-photo, 
.module-template-services .group-block .block .content .each-text {
    width: calc(50% - 40px);
}

.module-template-services .group-block .block:nth-child(even) .content {
    flex-direction: row-reverse;
}

.single-services-template .team-inner-page.style1 .ry-flex {
    justify-content: center;
    gap: 30px;
}

.single-services-template .team-inner-page.style1 .ry-flex .ry-each .each-container .photo {
    border: unset;
    max-width: 320px;
}

.single-services-template .team-inner-page.style1 .ry-flex .ry-each .each-container .photo img {
    object-fit: contain;
    width: 100%;
    height: auto;
}

.team-box .each-container .photo img {
    object-fit: contain !important;
}

.template-grid-fancy {
    padding-bottom: 100px;
}

.template-grid-fancy .ry-flex {
    flex-wrap: wrap;
    gap: 30px 0;
}

.template-grid-fancy .ry-flex .photo {
    width: calc(33.33% - 20px);
    position: relative;
}

.template-grid-fancy .ry-flex .photo .title {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #b9902599;
    text-transform: uppercase;
    font-size: 20px;
    color: #fff;
    transition: .3s;
    opacity: 0;
}

.template-grid-fancy .ry-flex .photo:hover .title {
    opacity: 1;
}

.template-grid-fancy .ry-flex .photo:hover img {
    filter: grayscale(1);
}

.template-grid-fancy .ry-flex .photo .title {
    /* display: none; */
}

.template-grid-fancy .ry-flex .photo a {
    position: relative;
    z-index: 3;
}

.template-grid-fancy .ry-flex .photo a img {
    z-index: 1;
}

.template-grid-fancy .ry-flex .photo .title {z-index: 2;}

.coupon-grid .ry-flex {
    flex-wrap: wrap;
    gap: 30px 0;
}

.coupon-grid .ry-flex .photo {
    width: calc(50% - 10px);
    position: relative;
}

.coupon-grid .ry-flex .photo .link, .coupon-grid .ry-flex .photo a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.coupon-grid .ry-flex .photo .link {
    opacity: 0;
    transition: .4s;
}

.coupon-grid .ry-flex .photo:hover .link {
    opacity: 1;
}

.coupon-grid .ry-flex .photo .link {
    background: #000000d4;
}
.template-grid-fancy .ry-flex.group-2 .photo {
    width: calc(50% - 15px);
}
.assessment-template .ry-flex:not(:last-child) {
    margin-bottom: 100px;
}

.assessment-template .ry-flex {
    gap: 30px;
    align-items: center;
}

.assessment-template .ry-flex .ry-each {
    width: calc(50% - 50px);
}

.assessment-template .ry-flex .ry-each .ry-assesment-num h2 {
    margin: 0 !important;
    font-size: 36px  !important;
    color: #fff !important;
    font-weight: 300 !important;
}

.assessment-template .ry-flex .ry-each .ry-assesment-num {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #b99025;
    border-radius: 5px;
    margin-bottom: 15px;
}

.assessment-template .form-control {
    height: 62px;
    border-radius: unset;
    box-shadow: unset;
    color: #333 !important;
    font-size: 18px;
}

.assessment-template .ry-flex .ry-each .ry-text h3 {
    font-size: 32px !important;
    font-weight: 400 !important;
    margin: 0 !important;
}

.assessment-template .ry-flex .ry-each .ry-text p {
    font-size: 18px !important;
}

.assessment-template .ry-flex .ry-each .ry-text {
    margin-bottom: 20px;
}

.assessment-template .ry-flex:nth-child(even) {
    flex-direction: row-reverse;
}

.assessment-template .ry-flex .ry-each label input[type='radio'] {
    width: 30px;
    height: 30px;
    margin-top: 0;
    margin-right: 15px;
}

.assessment-template .ry-flex .ry-each label {
    display: flex;
    align-items: center;
    color: #333;
}

.assessment-template .ry-flex .ry-each label:not(:last-child) {
    margin-bottom: 10px;
}

.single-services-template.optilight-banner .banner-wrapper .photo .pin-1 {
    position: absolute;
    left: 10%;
    width: 200px;
    height: auto;
    bottom: 30px;
    top: unset;
}

.single-services-template.optilight-banner .banner-wrapper .headline {
    opacity: 0;
    height: 0;
    width: 0;
}

.single-services-template.optilight-banner .banner-wrapper .services-title img {
    max-width: 768px;
    margin: auto;
}

.single-services-template.optilight-banner .banner-wrapper .photo .pin-2 {
    position: absolute;
    width: 200px;
    object-fit: contain;
    height: auto;
    top: unset;
    bottom: 30px;
    left: unset;
    right: 10%;
}


.basic-video {}

.module-template-services .group-block .block .basic-video {
    position: relative;
    padding-bottom: 56.25%;
}

.module-template-services .group-block .block .basic-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.module-icon-text {
    padding: 100px 0 0;
}

.module-icon-text .headline h2 .span-1 {
    display: block;
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.module-icon-text .ry-flex {
    flex-wrap: wrap;
    gap: 30px 0;
    margin-top: 60px;
}

.module-icon-text .ry-flex .each-icon {
    width: calc(33.33% - 20px);
    border: 1px solid #b99025;
    padding: 30px;
    min-height: 300px;
}

.module-icon-text .ry-flex .each-icon .photo img {
    object-fit: contain;
    width: auto;
    margin: auto;
    height: 80px;
    margin-bottom: 20px;
}

.module-icon-text .ry-flex .each-icon .ry-text p {
    line-height: 1.4;
}
.module-before-after {
    padding: 100px 0 60px;
}

.module-before-after .ry-flex {
    align-items: center;
    gap: 60px;
}

.basic-slider .carousel-control span {
    display: none;
}

.basic-slider .carousel-control:before {
    content: "";
    border: solid black;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 5px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
}

.basic-slider .carousel-control.right:before {.basic-slider .carousel-control:
    before;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    left: unset;
    right: 0;
}

.basic-slider .carousel-control {
    background: transparent !important;
}

.module-relief {
    padding: 100px 0;
    background: #EBEBEB;
}

.module-relief .button-wrapper {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.module-relief .content > .ry-text p {
    max-width: 768px;
    margin: auto;
    margin-bottom: 30px;
    text-align: center !important;
}

.ry-text p {
    line-height: 1.6;
}

.module-relief .ry-form-blocks {
    max-width: 1024px;
}

.module-relief .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.module-relief .ry-form-blocks .fieldset {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.module-relief .ry-form-blocks .fieldset .field-md {
    width: calc(50% - 5px);
}

.module-relief .basic-slider {
    max-width: 480px;
}

.module-relief .basic-slider .carousel-control.left {
    left: -20px;
}

.module-relief .basic-slider .carousel-control.right {
    right: -20px;
}

.module-reviews-inner .ry-flex {
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.module-reviews-inner .ry-flex .ry-each {
    width: calc(33.33% - 20px);
    padding: 60px 40px;
    border: 1px solid #e8e8e8;
}

.module-reviews-inner .ry-flex .ry-each h2 {
    font-size: 20px !important;
    font-weight: 500 !important;
    text-align: center;
    margin: 0 !important;
}

.module-reviews-inner .ry-flex .ry-each p {
    margin: 0 !important;
    line-height: 1.5;
    font-size: 16px;
    text-align: center !important;
}

.module-reviews-inner .ry-flex .ry-each h2 {}

.module-reviews-inner .ry-flex .ry-each h5 {
    font-size: 18px !important;
    text-align: center;
    text-transform: uppercase;
    margin-top: 40px !important;
}

.module-reviews-inner .ry-flex .ry-each img {
    margin: auto;
    display: block;
    max-width: 120px;
}

.module-reviews-inner .ry-flex .ry-each .col-lg-3 {
    width: 100%;
}

.module-reviews-inner .ry-text h3, .module-reviews-inner .ry-text p {
    text-align: center !important;
}

.module-reviews-inner {}

.module-reviews-inner nav {
    display: flex;
    justify-content: center;
}

.module-reviews-inner {
    padding-bottom: 60px;
}

.module-review-form .reviews p {
    font-size: 18px;
    line-height: 1.5;
    text-align: center !important;
}

.module-review-form .reviews h3 {
    text-align: center;
}

.module-review-form .ry-container {
    max-width: 1024px !important;
}

.module-review-form .ry-form .star-box {
    margin-left: 0;
    margin-bottom: 60px;
}
.referral-wrap {
    display: flex;
    gap: 20px;
}

.referral-wrap .referral-card {
    width: calc(25% - 5px);
    position: relative;
}

.referral-wrap .referral-card > div {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px 20px;
    background: #000;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.referral-wrap .referral-card > div p {
    color: #fff;
    font-size: 18px !important;
    line-height: 1;
}

.referral-wrap {
    margin-bottom: 100px;
}

.ry-form .field-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.module-template-services .group-block .block .content .each-photo:before {
    content: "";
    position: absolute;
    right: -15px;
    top: -15px;
    width: calc(100% - 40px);
    height: calc(100% - 10px);
    border: 1px solid #b99025;
}

.single-services-template.optilight-banner .banner-wrapper .services-title .button-wrapper {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

.inner-reviews-custom {
    padding: 160px 0;
}

.inner-reviews-custom .headline h2 {
    margin-top: 0 !important;
}


.inner-reviews-custom .ry-flex {
    margin-top: 60px;
    gap: 30px;
}

.inner-reviews-custom .ry-flex .each:nth-child(1) {
    max-width: 320px;
    width: 30%;
    background: #121212;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.inner-reviews-custom .ry-flex .each:nth-child(2) {
    width: 70%;
}

.inner-reviews-custom .ry-flex .each .top {
    display: flex;
    gap: 30px;
    justify-content: space-between;
    align-items: flex-end;
}

.inner-reviews-custom .ry-flex .each .top .source {
    /* width: 100px; */
    max-width: max-content;
}

.inner-reviews-custom .ry-flex .each .top .source img {
    width: 50px;
}

.inner-reviews-custom .ry-flex .each .top .title h4 {
    font-size: 22px !important;
    color: #121212 !important;
    line-height: 1.2 !important;
}

.inner-reviews-custom .ry-flex .each .top .title {
    padding-top: 40px;
    position: relative;
}

.inner-reviews-custom .ry-flex .each .top .title:before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    width: 90px;
    height: 72px;
    background-image: url(https://s3.amazonaws.com/static.organiclead.com/Site-5aa964bc-832c-490e-9d78-9f94c5a09fb6/Home_Assets/reviews_quote.png);
    background-size: contain;
    left: 0;
    top: 0;
    transform: unset;
}

.inner-reviews-custom .ry-flex .each .text p {
    line-height: 1.5;
    font-size: 18px;
}

.inner-reviews-custom .ry-flex .each .text p:nth-child(1) {
    display: none;
}

.inner-reviews-custom .ry-flex .each .text {
    clear: both;
}

.inner-reviews-custom .ry-flex .each .name {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.inner-reviews-custom .ry-flex .each .name .star {
    display: flex;
    gap: 5px;
}

.inner-reviews-custom .ry-flex .each .name .star svg {
    width: 22px;
    height: 22px;
    fill: #b99025;
}

.inner-reviews-custom .ry-flex .each .name h4 {
    font-size: 20px !important;
    text-transform: uppercase;
    font-weight: 700 !important;
}

.basic-review-slides {
    /* display: none !important; */
}

.basic-review-slides .slick-dots {
    display: flex !important;
    padding: 0 !important;
    margin-top: 30px;
    list-style: none;
    gap: 5px;
}

.basic-review-slides .slick-dots li button {
    text-indent: -99999px;
    width: 14px;
    height: 14px;
    background: #000;
    border-radius: 50%;
    opacity: .5;
    transition: .3s;
}

.basic-review-slides .slick-dots li {
    height: 14px;
}

.basic-review-slides .slick-dots li.slick-active button {
    border-radius: 5px;
    width: 40px;
    background: #b99025;
    opacity: 1;
}

.inner-reviews-custom .ry-flex .each img {
    width: 80%;
    margin: auto;
}

#ry-pg-body p,
.ry-form label {
    color: #000;
}

.module-photo-yellow {
    margin-top: 60px;
    padding-top: 160px;
    background: #b89f50;
    padding-bottom: 160px;
}

.module-photo-yellow .headline h2 {
    color: #fff !important;
    margin-top: 0 !important;
}

.module-photo-yellow .headline h2 .span-1 {
    display: block;
    font-size: 18px;
    margin-bottom: 10px;
    color: rgb(51, 51, 51);
    color: #fff;
}

.module-photo-yellow img {
    max-width: 1024px;
    margin: auto;
}

.module-before-center {
    padding: 100px 0;
}

.module-before-center .headline h2 {
    margin-top: 0 !important;
    margin-bottom: 60px !important;
}

.module-before-center .headline h2 .span-1 {
    display: block;
    font-size: 18px;
    color: #121212;
    margin-bottom: 10px;
}

.module-before-center  .group-photo {
    padding: 15px;
    border: 1px solid #b99025 !important;
}

.module-before-center .carousel-control {
    display: none;
}

.module-before-center .content > .photo {
    max-width: 1024px;
    margin: auto;
}

.module-before-center .content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.module-before-center .group-photo .text {
    padding: 10px;
    text-align: center;
    background: #b99025;
    line-height: 1;
    text-transform: uppercase;
    color: #fff;
}

.module-basic-center-text .button-wrapper {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 30px;
}
.module-before-center .group-photo {
    display: flex;
}
/** PLACE YOUR MOBILE AND UP CSS HERE **/
@media (max-width: 1480px) {
	.single-services-template .banner-wrapper .services-title .headline h1 {
		font-size: 52px;
		line-height: 1;
	}
	.module-template-services .ry-headline h3 {
		font-size: 42px !important;
	}
	.module-template-services .ry-headline h2 {
		font-size: 44px !important;
	}
}
@media (max-width: 1199px) {
	.assessment-template .ry-flex .ry-each {
		width: calc(50% - 20px);
	}

	.assessment-template .ry-flex .ry-each .ry-text h3 {
		font-size: 26px !important;
	}

	.assessment-template .form-control {
		height: 56px;
		font-size: 16px;
	}

	.assessment-template .form-control {
		font-size: 16px !important;
	}

	.assessment-template .ry-flex .ry-each label {
		font-size: 16px;
	}

	.assessment-template .ry-flex .ry-each .ry-assesment-num h2 {
		font-size: 26px !important;
	}

	.assessment-template .ry-flex .ry-each .ry-assesment-num {
		width: 60px;
		height: 60px;
	}
}

@media (max-width: 1080px) {
	#ry-pg-body .headline h2 {
		font-size: 40px;
		font-weight: 400 !important;
	}

	.module-photo-yellow {
		padding: 100px 0;
	}

	.module-before-center .headline h2 {
		margin-bottom: 30px !important;
	}

	.assessment-template .ry-flex:not(:last-child) {
		margin-bottom: 60px;
	}
	.module-template-services .group-block .block .content {
		flex-direction: column !important;
		align-items: center;
		justify-content: center;
	}
	.module-template-services .group-block .block .content .each-photo {
		max-width: 768px;
	}
	.module-template-services .group-block .block .content .each-photo,
	.module-template-services .group-block .block .content .each-text {
		width: 100%;
	}

	.module-icon-text .ry-flex .each-icon {
		width: calc(50% - 10px);
	}

	.module-before-after .ry-flex {
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}

	.module-relief .button-wrapper {
		flex-wrap: wrap;
	}
	
	.single-services-template .Inner-banner .photo {
		padding-bottom: 360px;
	}

	.single-services-template .Inner-banner {
		margin-top: 78px;
	}

	.single-services-template .banner-wrapper .services-title {
		position: relative;
		top: unset;
		transform: unset;
		padding: 60px 0;
		background: #b99025;
	}

	.single-services-template .banner-wrapper .services-title .headline h1 {
		text-align: center;
		color: #fff;
		width: 100%;
		max-width: 100%;
		font-size: 46px;
		letter-spacing: -1px;
	}

	.single-services-template .banner-wrapper .services-title .headline {
		width: 100%;
	}

	.single-services-template .banner-wrapper .services-title .headline p {
		text-align: center;
		color: #ffff;
	}

	.single-services-template .banner-wrapper .services-title .headline p {
		width: 100%;
		font-size: 16px;
		line-height: 1.3;
	}
	
	.module-template-services .ry-headline h3 {
		font-size: 38px !important;
	}
	.module-template-services .ry-headline h2 {
    font-size: 40px !important;
}
}

@media (max-width: 768px) {
	.assessment-template .ry-flex {
		flex-direction: column !important;
	}

	.assessment-template .ry-flex .ry-each:nth-child(2) {
		width: 100%;
	}

	.assessment-template .ry-flex .ry-each:nth-child(1) {
		width: 100%;
		max-width: 620px;
	}

	.assessment-template .ry-flex .ry-each .ry-text h3, .assessment-template .ry-flex .ry-each .ry-text p {
		text-align: left;
	}
	.module-reviews-inner .ry-flex .ry-each {
		padding: 40px 30px;
		width: calc(50% - 15px);
	}

	.module-template-services .ry-headline h3 {
		font-size: 36px !important;
	}
	.module-template-services .ry-headline h2 {
		font-size: 38px !important;
	}
	.inner-reviews-custom .ry-flex {
		flex-direction: column-reverse;
		margin-top: 20px;
	}

	.inner-reviews-custom .ry-flex .each:nth-child(1) {
		height: auto;
		max-width: 100%;
		width: 100%;
	}

	.inner-reviews-custom .ry-flex .each:nth-child(2) {
		width: 100%;
	}

	.inner-reviews-custom .ry-flex .each .text p {
		font-size: 16px;
		text-align: center !important;
	}

	.inner-reviews-custom .ry-flex .each .name .star {
		justify-content: center;
	}

	.basic-review-slides .slick-dots {
		justify-content: center;
	}

	.inner-reviews-custom .ry-flex .each .top {
		flex-direction: column-reverse;
		align-items: center;
		justify-content: center;
	}

	.inner-reviews-custom .ry-flex .each .top .title:before {
		left: 50%;
		transform: translate(-50%, 0);
		top: -10px;
	}

	.inner-reviews-custom .ry-flex .each .photo {
		padding: 60px 30px;
	}

	.inner-reviews-custom .ry-flex .each .top .title h4 {
		font-size: 20px !important;
		text-align: center !important;
	}
}

@media (max-width: 620px) {
	
}
@media (max-width: 480px) {

	/** PLACE YOUR TABLET AND UP CSS HERE **/
	.assessment-template .ry-flex .ry-each .ry-text h3 {
		font-size: 22px !important;
	}
	
	.single-services-template.optilight-banner .banner-wrapper .photo .pin-1,
	.single-services-template.optilight-banner .banner-wrapper .photo .pin-2 {
		width: 33%;
	}

	.single-services-template .banner-wrapper .services-title .headline h1 {
		font-size: 36px;
	}
	
	.module-reviews-inner .ry-flex .ry-each {
		width: 100%;
	}
	
	.module-template-services .ry-headline h3 {
		font-size: 28px !important;
	}
	.module-template-services .ry-headline h2 {
		font-size: 32px !important;
	}
	#ry-pg-body .headline h2 {
		font-size: 32px;
		font-weight: 400 !important;
	}
}

@media (min-width: 621px) {
	.ry-form .field-wrapper .field-md {
		width: calc(50% - 5px);
	}
	.ry-form .field-wrapper .field-sm {
		width: calc(33.33% - 5px);
	}
}
@media (min-width: 992px) {

    /** PLACE YOUR LAPTOP AND UP CSS HERE **/
    
}

@media (min-width: 1200px) {

    /** PLACE YOUR DESKTOP AND UP CSS HERE **/
    
}

@media (min-width: 1480px) {
	#ry-pg-body h5 {
		font-size: 28px;
		font-weight: 400 !important;
	}
	#ry-pg-body h4 {
		font-size: 32px;
		font-weight: 400 !important;
	}
	#ry-pg-body h3 {
		font-size: 36px;
		font-weight: 400 !important;
	}
	#ry-pg-body h2 {
		font-size: 42px;
		font-weight: 400 !important;
	}
}