/*** CSS File: homepage-cta-style-5 ***/
.module-cta.style-5 {
    padding: 120px 0;
    background: #30312e;
}

.module-cta.style-5 .ry-flex .ry-each:nth-child(1) {
    max-width: calc(570px + 3vw);
    margin-top: -180px;
    z-index: 2;
    margin-bottom: -180px;
    padding-left: 5vw;
}

.module-cta.style-5 .ry-flex .ry-each:nth-child(2) {
    padding-left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 900px;
}

.module-cta.style-5 .ry-flex .ry-each .ry-inner-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.module-cta.style-5 .ry-flex .ry-each .ry-inner-flex .ry-block {
    max-width: 33.5%;
    padding: 30px 1vw;
}

.module-cta.style-5 .ry-flex .ry-each .ry-inner-flex.cta-count-5 .ry-block:nth-child(3) {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 100%;
    top: 50%;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid;
    border-right: 1px solid;
}
.module-cta.style-5 .ry-flex .ry-each .ry-inner-flex.cta-count-4:before {
    position: absolute;
    content: "";
    left: 50%;
    top: 0;
    width: 1px;
    height: 100%;
    background: #fff;
    opacity: .1;
}
.module-cta.style-5 .ry-flex .ry-each .ry-inner-flex.cta-count-4 .ry-block {
    max-width: 50%;
}

.module-cta.style-5 .ry-flex .ry-each .ry-inner-flex .ry-block .link, 
.module-cta.style-5 .ry-flex .ry-each .ry-inner-flex .ry-block .link a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 9;
    opacity: 0;
}

.module-cta.style-5 .ry-flex .ry-each .ry-inner-flex .ry-block .icon img {
    height: 70px;
    object-fit: contain;
    max-width: 100px;
    margin: auto;
    filter: invert(1) brightness(200);
}

.module-cta.style-5 .ry-flex .ry-each .ry-inner-flex .ry-block .title {
    padding-top: 25px;
    clear: both;
    text-align: center;
    font-size: 18px;
    color: #fff;
    transition: .1s;
}

.module-cta.style-5 .ry-flex .ry-each .ry-inner-flex .ry-block:nth-child(1):after, 
.module-cta.style-5 .ry-flex .ry-each .ry-inner-flex .ry-block:nth-child(2):after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0);
    width: 100px;
    height: 1px;
    background: #5a5a59;
}

.module-cta.style-5 .ry-flex .ry-each .ry-inner-flex.cta-count-4 .ry-block:nth-child(1):after, 
.module-cta.style-5 .ry-flex .ry-each .ry-inner-flex.cta-count-4 .ry-block:nth-child(2):after {
    width: 80%;
}

.module-cta.style-5 .ry-flex .ry-each .ry-inner-flex .ry-block:hover .title:after {
    content: "";
    width: 40px;
    height: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-arrow-right' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1 8a.5.5 0 0 1 .5-.5h11.793l-3.147-3.146a.5.5 0 0 1 .708-.708l4 4a.5.5 0 0 1 0 .708l-4 4a.5.5 0 0 1-.708-.708L13.293 8.5H1.5A.5.5 0 0 1 1 8z'/%3E%3C/svg%3E");
    background-color: #fcbf7d;
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translate(-50%, 0);
    border-radius: 50%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px;
}

.module-cta.style-5 .ry-flex .ry-each .ry-inner-flex .ry-block:hover .title {
    position: relative;
    transform: translate(0, -40px);
    transition: .3s;
}

.module-cta.style-5 .ry-flex .ry-each .ry-inner-flex .ry-block:hover .icon {
    transform: translate(0, -30px);
    transition: .3s;
}

.module-cta.style-5 .ry-flex .ry-each .ry-inner-flex .ry-block:hover .icon img {
    filter: unset;
}

.module-cta.style-5 .ry-flex .ry-each .ry-inner-flex .ry-block:hover .title {
    transition: .3s;
    color: #fcbf7d;
}

.module-cta.style-5 .ry-flex .ry-each .ry-inner-flex .ry-block .icon {
    transition: .1s;
}
.module-cta.style-5 .section-title h4 {
    text-transform: uppercase;
    letter-spacing: 10px;
    font-size: 24px !important;
    color: #fcbf7d;
    font-weight: 200 !important;
}

.module-cta.style-5 .section-title {
    position: absolute;
    left: -200px;
    transform: rotate(-90deg) translate(0, -50%);
    top: 45%;
}

/* COUNT 3 */
.module-cta.style-5 .ry-flex .ry-each .ry-inner-flex.cta-count-3 .ry-block:nth-child(1):after, 
.module-cta.style-5 .ry-flex .ry-each .ry-inner-flex.cta-count-3 .ry-block:nth-child(2):after {
    height: 100%;
    width: 1px;
    left: unset;
    right: 0;
}

.module-cta.style-5 .ry-flex .ry-each .ry-inner-flex.cta-count-3 .ry-block {
    max-width: 33.33%;
}
@media (max-width: 1480px) {
	.module-cta.style-5 {
		padding: 6vw 0;
	}
    .module-43 .ry-right .ry-leads .ry-contact .button-group .button-block.hours {
        display:none;
    }

    .module-cta.style-5 .ry-flex .ry-each:nth-child(2) {
        width: 55%;
    }

    .module-cta.style-5 .ry-flex .ry-each:nth-child(1) {
        width: 45%;
		padding-left: 3vw;
    }

    .module-cta.style-5 .ry-flex .ry-each .ry-inner-flex .ry-block {
        padding: 30px 10px;
    }
}

@media (max-width: 1200px) {
    .module-cta.style-5 .ry-flex .ry-each:nth-child(1) {
        margin-top:-120px;
    }
	.module-cta.style-5 .ry-flex .ry-each .section-title.mobile {
		position: relative;
		left: unset;
		transform: unset;
		top: unset;
		margin-bottom: 40px;
	}
	.module-cta.style-5 .ry-flex .ry-each:nth-child(1) {
		margin-top: -90px;
	}
}

@media (max-width: 1080px) {
	.module-cta.style-5 .ry-flex .ry-each:nth-child(2) {
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}
    .module-cta.style-5 .ry-flex .ry-each:nth-child(1) {
        width:100%;
        margin: 0;
        margin-top: -60px;
        margin-bottom: 60px;
    }

    .module-cta.style-5 .ry-flex .ry-each:nth-child(2) {
        width: 100%;
        padding-left: 0;
    }

    .module-cta.style-5 .ry-flex {
        flex-direction: column;
        align-items: center;
        justify-content: center;
	}
	.module-cta.style-5 .ry-content > .section-title {
		display: none;
	}
	
}

@media (max-width: 768px) {
	.module-cta.style-5 .section-title h4 {
		font-size: 20px !important;
		letter-spacing: 5px;
	}
    .module-cta.style-5 .ry-flex .ry-each .ry-inner-flex.cta-count-5 .ry-block:nth-child(3) {
        position:relative;
        left: unset;
        transform: unset;
        height: auto;
        top: unset;
        border: unset;
		border-bottom: 1px solid;
    }

    .module-cta.style-5 .ry-flex .ry-each .ry-inner-flex {
        justify-content: center;
    }

    .module-cta.style-5 .ry-flex .ry-each .ry-inner-flex .ry-block {
        max-width: 50%;
    }

    .module-cta.style-5 .ry-flex .ry-each .ry-inner-flex .ry-block:nth-child(1):after, 
	.module-cta.style-5 .ry-flex .ry-each .ry-inner-flex .ry-block:nth-child(2):after {
        opacity: 0;
    }

    .module-cta.style-5 .ry-flex .ry-each .ry-inner-flex .ry-block {
        padding: 50px 10px;
    }

    .module-cta.style-5 .ry-flex .ry-each .ry-inner-flex .ry-block:not(:last-child) {
        border-bottom: 1px solid;
	}
	.module-cta.style-5 .ry-flex .ry-each .ry-inner-flex.cta-count-4 .ry-block:nth-child(3) {
		border-bottom: unset;
	}
    .module-cta.style-5 .ry-flex .ry-each .ry-inner-flex .ry-block:nth-child(1), 
	.module-cta.style-5 .ry-flex .ry-each .ry-inner-flex.cta-count-5 .ry-block:nth-child(3) {
		border-right: 1px solid;
	}
	.module-cta.style-5 .ry-flex .ry-each .ry-inner-flex.cta-count-3 .ry-block:nth-child(1):after,
	.module-cta.style-5 .ry-flex .ry-each .ry-inner-flex.cta-count-3 .ry-block:nth-child(2):after {
		opacity: 0;
	}

	.module-cta.style-5 .ry-flex .ry-each .ry-inner-flex.cta-count-3 .ry-block:nth-child(1), 
	.module-cta.style-5 .ry-flex .ry-each .ry-inner-flex.cta-count-3 .ry-block:nth-child(3) {
		border-right: 0;
	}

	.module-cta.style-5 .ry-flex .ry-each .ry-inner-flex.cta-count-3 {
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}

	.module-cta.style-5 .ry-flex .ry-each .ry-inner-flex.cta-count-3 .ry-block {
		max-width: 100%;
		border: unset !important;
	}

	.module-cta.style-5 .ry-flex .ry-each .ry-inner-flex.cta-count-3 .ry-block:not(:last-child):before {
		position: absolute;
		bottom: 0;
		left: 50%;
		width: 80%;
		transform: translate(-50%, 0);
		height: 1px;
		background: #fff;
		content: "";
		opacity: .2;
		max-width: 260px;
	}
}

@media (max-width: 460px) {
    .module-cta.style-5 .ry-flex .ry-each .ry-inner-flex .ry-block .title {
        font-size:16px;
        padding-top: 15px;
    }

    .module-cta.style-5 .ry-flex .ry-each .ry-inner-flex .ry-block .icon img {
        height: 70px;
        max-width: 80px;
    }

    .module-cta.style-5 .ry-flex .ry-each .ry-inner-flex .ry-block {
        padding: 40px 20px;
    }

    .module-cta.style-5 .ry-flex .ry-each .ry-inner-flex .ry-block:hover .title:after {
        width: 35px;
        height: 35px;
        background-size: 15px;
    }
}
@media (min-width: 1081px) {
	.module-cta.style-5 .ry-flex .ry-each .section-title.mobile {
		display: none;
	}
}