/*
 SECTION 2 
*/

.location-section-2.style-1 {padding: 9em 0;background-image: url(https://www.royacdn.com/unsafe/smart/Site-43a55e84-1c64-44a9-a232-ff794043d74d/location/team_bg.jpg);background-size: cover;background-position: center;}

.location-title h2 {
    font-size: 50px !important;
}

div.location-section-2.style-1:after {
    width: 25%;
    height: 2px;
    background: #333;
    position: absolute;
    right: 0;
    top: 60%;
    content: '';
}

body.default 
 .location-section-2.style-1 h2 {
    color: var(--color-primary);
    font-size: 60px !important;
    text-transform: uppercase;
}

.location-section-2.style-1 .slick-list {
    margin: 0 -35px;
    padding: 0;
}

.location-section-2.style-1 .slick-list .slick-slide {
    margin: 0 35px;
}

.location-section-2.style-1 .slick-list .slick-slide .ry-inner-flex {
    display: flex;
    padding: 0;
    border-radius: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    wrap;
}

.location-section-2.style-1 .photo.box-style {
    position: relative;
    padding-right: 10px;
    padding-bottom: 10px;
    width: 220px;
    height: 220px;
}

.location-section-2.style-1 .photo.box-style:before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: calc(100% - 7px);
    height: calc(100% - 7px);
    z-index: -1;
}

.location-section-2.style-1 .content .team-carousel-wrapper button.slick-prev.slick-arrow {
    position: absolute;
    left: -50px !important;
    font-size: 0;
    border: none;
    top: 33%;
    background: transparent;
    right: initial;
}


.location-section-2.style-1 .content .team-carousel-wrapper button.slick-next.slick-arrow {
    position: absolute;
    right: -40px;
    font-size: 0;
    border: none;
    top: 33%;
    background: transparent;
   
}

.location-section-2.style-1 .content .team-carousel-wrapper button.slick-next.slick-arrow:after {
    width: 20px;
    height: 20px;
    position: absolute;
    content: '';
    background: transparent;
    transform: rotate(45deg);
    border-top: 3px solid rgb(85 85 85 / 49%);
    border-right: 3px solid rgb(85 85 85 / 49%);
}

.location-section-2.style-1 .content .team-carousel-wrapper button.slick-prev.slick-arrow:after {
    width: 20px;
    height: 20px;
    position: absolute;
    content: '';
    background: transparent;
    transform: rotate(228deg);
    border-top: 3px solid rgb(85 85 85 / 49%);
    border-right: 3px solid rgb(85 85 85 / 49%);
}
.location-section-2.style-1 .photo.circle-style {
    position: relative;
    padding-right: 10px;
    padding-bottom: 10px;
    width: 280px;
    height: 280px;
}

.location-section-2.style-1 .photo.circle-style:before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: calc(100% - 7px);
    height: calc(100% - 7px);
    background: #fd6881;
    z-index: -1;
    border-radius: 50%;
}
.location-section-2.style-1 .text-group {
    /* max-width: calc(100% - 300px); */
    /* padding-left: 20px; */
}

.location-section-2.style-1 .photo.box-style img,
.location-section-2.style-1 .photo.circle-style img {
    width: 100%;
    height: 100%;
}

.location-section-2.style-1 .text-group h3 {
    font-size: 18px;
    font-weight: bold !important;
    color: #333;
    font-family: var(--font-default);
    text-align: center;
    line-height: 1.6;
}

.location-section-2.style-1 .text-group h4 {
    text-transform: initial !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    font-size: 16px;
    display: block;
    font-family: var(--font-default);
    text-align: center !important;
}

.location-section-2.style-1 .text-group .location-title {
    position: relative;
    width: 100% !important;
}

.location-section-2.style-1 .text-group .location-title:after {
}

.location-section-2.style-1 .text-group .ry-text p {
    font-size: 15px !important;
    line-height: 1.5;
}

.location-section-2.style-1 .slick-dots {
    display: flex !important;
    padding-left: 0;
    list-style: none;
    width: 100%;
    justify-content: center;
    position: absolute;
    bottom: -50px;
}

.location-section-2.style-1 .slick-dots button {
    width: auto;
    padding: 0;
    height: auto;
    border: unset;
    background: #cccccc;
    text-indent: -999999px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: none;
}

.location-section-2.style-1 .slick-dots li {
    margin: 0 3px;
}

.location-section-2.style-1 .slick-dots li.slick-active button {
    background: #000;
}

@media (max-width: 1680px) {
	.location-section-2.style-1 .photo.box-style {
		/* width: 50%; */
		/* height: 50%; */
	}
	.location-section-2.style-1 .text-group {
		/* max-width: 50%; */
		width: 100%;
	}
}
@media (max-width: 1480px) {
	.location-section-2.style-1 .photo.box-style {
		/* width: 40%; */
		/* height: 40%; */
	}
	.location-section-2.style-1 .text-group {
		/* max-width: 60%; */
		width: 100%;
	}
	.location-section-2.style-1 .slick-list .slick-slide {
		/* margin: 0 15px; */
	}
	.location-section-2.style-1 .slick-list {
		margin: 0 -15px;
	}
}
@media (max-width: 1280px) {
	.location-section-2.style-1 .slick-list .slick-slide .ry-inner-flex {
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}

	.location-section-2.style-1 .text-group {
		max-width: 100%;
		padding-left: 0;
	}

	.location-section-2.style-1 .text-group h3 {
		line-height: 1;
		margin-bottom: 5px;
		text-align: center;
	}

	.location-section-2.style-1 .text-group h4 {
		text-align: center;
	}

	.location-section-2.style-1 .text-group .location-title:after {
		margin-left: auto;
		margin-right: auto;
	}

	.location-section-2.style-1 .text-group .ry-text p {
		text-align: center;
	}
}
/** PLACE YOUR MOBILE AND UP CSS HERE **/

@media (min-width: 768px) {

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

@media (min-width: 992px) {

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

@media (max-width: 1080px) {

    div.location-section-2.style-1:after {
    display:none !important;
}

	div.location-section-2.style-1 .content .team-carousel-wrapper {
    width: 90%;
}

.location-section-2.style-1 {
    padding: 3em 0;
}

div.location-section-2.style-1 .content {
    flex-direction: column;
    gap: 2em;
}
    
}

.location-section-2.style-1 .content {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
}

.location-section-2.style-1 .content .location-title {
    width: auto;
}

.location-section-2.style-1 .content .team-carousel-wrapper {
    width: 60%;
    max-width: 850px;
    position: relative;
}

@media (max-width:768px) {
    div.location-section-2.style-1 .text-group .location-title.have-border {
    width: 100% !important;
}

.location-section-2.style-1 .content {
    flex-direction: column;
    gap: 2em 0;
}

.location-section-2.style-1 .content .location-title {
    width: 100% !important;
}

.location-section-2.style-1 .content .team-carousel-wrapper {
    width: 90% !important;
}

	.location-section-2.style-1 .photo.box-style {
    width: 200px;
    height: 200px;
}

	.location-section-2.style-1 .content .team-carousel-wrapper button.slick-prev.slick-arrow,
.location-section-2.style-1 .content .team-carousel-wrapper button.slick-next.slick-arrow{
    display: none !important;
}

.location-section-2.style-1 .slick-dots button {
    display: block !important;
}

.location-section-2.style-1 {
    padding: 3em 0 6em !important;
}
}

