.locatop-top-heading {
    display: flex;
    justify-content: center;
    flex-direction: column-reverse;
    align-items: center;
    gap: 10px 0;
    position: absolute;
    top: 43%;
    left: 50%;
    transform: translate(-50%, -50%);
}

div#loc-info-block .each-details a:hover {
    color: var(--color-secondary) !important;
}

.loc-city-state img {
    max-width: 15px;
    filter: brightness(0) invert(1);
}

.loc-city-state {
    display: flex;
    gap: 0 10px;
    height: 55px;
    border-radius: 30px;
    align-items: center;
    min-width: 250px;
    text-align: center;
    justify-content: center;
    color: #fff;
    text-transform: uppercase;
    font-weight: 500 !important;
    font-size: 18px !important;
    background: transparent;
    border: 1px solid #fff;
}

body.default.location-template-single .locatop-top-heading h1 {
    letter-spacing: -2px;
    color: #fff;
    font-weight: 200;
    font-family: var(--font-title);
    line-height: 1.1;
    font-size: clamp(2.1875rem, 1.7727rem + 2.2124vw, 5.3125rem);
}

img.loc-banner.img-responsive, .location-banner-sec {
    object-fit: cover;
    object-position: 100% 71%;
    height: 500px;
}

.location-banner-sec {
    position: relative;
}

div.location-intro-block p {
    max-width: 1100px;
    margin: 1em auto 5em;
}

div#loc-info-block .ry-each.photo img {
    max-width: 160px;
    padding: 5px;
    border-radius: 0;
    background: rgb(255 255 255 / 16%);
    position: absolute;
    top: -30px;
    box-shadow: 0px 10px 8px hsl(0deg 0% 0% / 20%);
    z-index: 1;
    height: 140px;
}

div#loc-info-block {
    display: flex;
}

div#loc-info-block .ry-each img {
    max-width: 20px;
}

div#loc-info-block .ry-each.photo {
    width: 20%;
}

div.loc-banner-text {
    background: var(--color-primary);
    z-index: 1;
    position: absolute;
    bottom: 0;
}

div.loc-banner-text .ry-each.each-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

div#loc-info-block .each-details {
    display: flex;
    align-items: center;
    gap: 0 7px;
    white-space: nowrap;
}

div#loc-info-block .each-details a, div#loc-info-block .each-details p, div#loc-info-block .each-details span {
    color: #fff;
}

div#loc-info-block a.ry-btn.ry-btn-primary.loc-app-btn:hover {
    background: var(--color-secondary);
    color: #000 !important;
}

div#loc-info-block a.ry-btn.ry-btn-primary.loc-app-btn {
    color: #fff !important;
    border: 1px solid var(--color-secondary);
    height: 55px;
    padding: 0 20px !important;
    padding-top: 2px !important;
    max-width: 300px;
}

div.loc-banner-text .ry-container {
    max-width: 1400px;
    width: 90%;
}

.location-insurance .ry-flex .ry-each {
    background: #fff;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    width: 20%;
}

.location-insurance .ry-flex .ry-each img {
    object-fit: contain;
    max-width: 85%;
    height: 50px;
    margin: auto;
}

.link, .link a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9;
    color: transparent !important;
	outline: 0;
}



@media (min-width: 1200px) and (max-width:1300px) {
    div#loc-info-block .each-details a,div#loc-info-block .each-details p,div#loc-info-block a.ry-btn.ry-btn-primary.loc-app-btn {
        font-size:16px !important;
    }
}

@media (max-width: 1199px) {
    img.loc-banner.img-responsive,.location-banner-sec {
        margin-top:0px !important;
    }

    .location-banner-sec {
        height: auto !important;
    }

    .locatop-top-heading {
        top: 10%;
    }

    div.loc-banner-text {
        position: static;
        padding: 1.5em 0 2em !important;
    }

    body.default.location-template-single .locatop-top-heading h1 {
        font-size: 25px !important;
        letter-spacing: 0px !important;
    }

    .loc-city-state {
        font-size: 14px !important;
        height: 40px !important;
        min-width: 190px !important;
    }

    div#loc-info-block .ry-each.photo img {
        position: static;
        margin: auto;
    }

    div#loc-info-block .ry-each.photo {
        width: 100%;
    }

    div.loc-banner-text .ry-each.each-title {
        height: auto;
        gap: 1em 0;
        justify-content: center;
        max-width: 640px;
        margin: auto;
        flex-direction: column;
    }

    div#loc-info-block {
        gap: 20px 0 !important;
        flex-direction: column !important;
    }

    div#loc-info-block .ry-each img {
        margin-right: 10px;
    }

    img.loc-banner.img-responsive {
        height: 300px;
        object-position: 100% 70%;
    }
}

div.location-services-section {
    background: #fff;
    padding: 5em 0;
}

div.location-services-section .section-heading p {
    line-height: 1.5;
}

div.location-services-section .section-heading {
    margin-bottom: 0;
}

div.location-services-section .ry-container {
    max-width: 1400px;
    width: 90%;
}

.location-services-list ul {
    padding: 0;
    column-count: 2;
}

.location-services-list ul li {
    list-style: none;
    margin-bottom: 10px;
}

.location-services-list ul li, .location-services-list ul li a, .location-services-list ul li p {
    height: 100%;
    width: 100%;
    display: flex;
}

.location-services-list ul li a {
    border: 1px solid var(--color-secondary);
    padding: 11px 35px 11px 19px;
    border-radius: 30px;
    white-space: nowrap;
}

div.location-intro-block p {
    max-width: 1200px;
    margin: 1em auto 0;
    line-height: 1.5 !important;
}

div#loc-services-content-block {
    gap: 0 7%;
    align-items: center;
    margin: 2em 0 0;
}

.location-services-list ul li a:hover {
    background: var(--color-secondary);
}

.location-services-list ul li a:after {
    background: url(https://www.royacdn.com/unsafe/smart/Site-690f62de-ed3a-465a-95f0-cc60de58b741/hp_assets/pop_up_arrow.png);
    width: 24px;
    height: 24px;
    content: '';
    position: absolute;
    display: block !important;
    right: 7%;
    margin: 0 auto;
    top: 30%;
}

.location-services-list ul li a:hover:after {
    filter: brightness(0);
}

div#loc-services-content-block .photo:before {
    position: absolute;
    content: '';
    /*background: url(https://www.royacdn.com/unsafe/smart/Site-690f62de-ed3a-465a-95f0-cc60de58b741/hp_assets/yellow_line_back.png);*/
    width: 110%;
    height: 120%;
    background-size: contain;
    margin: auto;
    background-repeat: no-repeat;
    z-index: -1;
    position: absolute;
    top: 73%;
    left: 50%;
    transform: translate(-50%, -50%);
}

div#loc-services-content-block .photo {
    position: relative;
    z-index: 300;
}

div#loc-services-content-block .photo img {
    border-radius: 10px;
}

@media (max-width: 1199px) {
    div#loc-services-content-block {
        flex-direction:column-reverse;
    }

    div.location-services-section .photo {
        max-width: 400px;
        margin: 1em auto;
        float: none;
    }

    div.location-services-section {
        padding: 2em 0 !important;
    }

    .location-services-list {
        max-width: 700px;
        margin: auto;
        clear: both;
    }
}



@media (max-width: 767px) {
    .location-services-list ul {
        column-count:1;
        width: 100%;
    }

    .loc-address.each-details {
        white-space: initial !important;
        align-items: center !important;
        flex-direction: column !important;
        justify-content: center !important;
        gap: 10px 0 !important;
    }

    .loc-address.each-details p {
        line-height: 1.3;
        max-width: 200px;
    }

    .loc-address.each-details img {
        margin: 0 auto!important;
        float: none;
    }
}

div.location-team {
    padding: 7em 0;
    background: url(https://www.royacdn.com/unsafe/smart/Site-690f62de-ed3a-465a-95f0-cc60de58b741/hp_assets/welcome_bg.jpg);
    background-size: cover;
    background-position: center;
}

div.team-image {
    max-width: 250px;
    margin: 0 auto 1em auto;
    float: none;
    padding: 5px;
    background: transparent;
}

.team-name span.span-1 {
    font-size: 26px;
    letter-spacing: -1px;
    color: var(--color-primary);
    font-family: var(--font-title);
}

.team-name span.span-2 {
    text-transform: uppercase;
    font-size: 15px;
    margin-top: 10px;
    display: block;
    letter-spacing: 1px;
}

div.location-team .section-heading {
    margin-bottom: 3em;
}

.map {
    position: relative;
    width: 100%;
    height: 700px;
}

.map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

img.img-responsive.loc-image {
    height: 120px;
    object-fit: cover;
}

div.location-team ul.slick-dots {
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin: 3em auto 0;
    gap: 0 10px;
}

div.location-team ul.slick-dots li {
    display: inline;
}

div.location-team ul.slick-dots li button {
    width: 15px;
    height: 15px;
    font-size: 0;
    border: none;
    background: var(--color-primary);
    border-radius: 100%;
    opacity: 0.5;
}

div.location-team ul.slick-dots li.slick-active button {
    opacity: 1;
}


.location-team-slider .slick-arrow {
    display: none !important;
}


@media (max-width: 1199px) {
    div.location-team {
        padding:4em 0 !important;
    }
}




@media (min-width: 1200px) and (max-width:1660px) {
    body.default.location-template-single .locatop-top-heading h1 {
        font-size:45px !important;
    }

    div.location-services-section, div.location-team,div.locations-gallery {
        padding: 5em 0 !important;
    }
}

div.location-insurance {
    padding: 5em 0;
    background: url(https://www.royacdn.com/unsafe/smart/Site-690f62de-ed3a-465a-95f0-cc60de58b741/hp_assets/services_bg_blue.jpg);
	background-size: cover;
	background-position: center;
}

.location-insurance h2 {
    color: #fff;
    text-transform: uppercase !important;
}

.location-insurance .ry-flex {
    flex-wrap: wrap;
    gap: 1em;
    max-width: 1200px;
    margin: 2em auto 0;
    float: none;
    justify-content: center;
}

div.location-intro-block {
		margin-bottom: 4em;
}

@media (max-width: 768px) {
	
	.location-insurance .ry-flex .ry-each {
		width:47%;
	}


	div.location-insurance {
		padding: 3em 0;
	}

	.location-contacts .ry-flex .form-images .swiper-slide img {
		object-position: center;
	}

	div.location-intro-block {
		margin-bottom: 2em;
	}

}

