/* ==========================================================================
   PhysioLab Sub-Service Category Page Styles
   ========================================================================== */

/* --------------------------------------------- 
   BANNER - Hero Section
   --------------------------------------------- */
.page-template-0_sub_service_category #banner {
	background-color: #222;
	position: relative;
	min-height: 45vh;
}
.page-template-0_sub_service_category #banner .banner-wrap {
	padding: 0 10%;
	padding-top: 80px;
	z-index:1;
}
.page-template-0_sub_service_category #banner .banner-inner {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
}
.page-template-0_sub_service_category #banner .overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	background: rgba(0, 0, 0, 0.5);
}

.page-template-0_sub_service_category #banner .banner-inner h1 {
	color: #fff;
	margin-bottom: 20px;
}

.page-template-0_sub_service_category #banner .banner-inner h5 {
	color: rgba(255,255,255,0.85);
	max-width: 700px;
	line-height: 1.6;
	font-size: 25px;
    line-height: 31px;
    font-weight: 400;
    max-width: 700px;
    margin-top: 3%;
    text-transform: inherit;
    opacity: .7;
}

.page-template-0_sub_service_category .button.hero-cta-btn {
	background: #ff4153;
	color: #fff;
	border: none;
	padding: 15px 40px;
	margin-top: 25px;
	display: inline-block;
	margin-bottom:10%;
}

.page-template-0_sub_service_category .button.hero-cta-btn:hover {
	background: #e0323f;
	color: #fff;
}

/* --------------------------------------------- 
   CONTENT SECTION
   --------------------------------------------- */
#page-content {
	background: #fff;
	padding: 80px 0;
}

#page-content .inner {
	max-width: 900px;
	margin: 0 auto;
	padding: 0 40px;
}

#page-content h2 {
	font-size: 36px;
	line-height: 42px;
	margin-bottom: 20px;
	margin-top: 50px;
}

#page-content h2:first-child {
	margin-top: 0;
}

#page-content h3 {
	font-size: 28px;
	line-height: 34px;
	margin-bottom: 15px;
	margin-top: 40px;
}

#page-content h4 {
	font-size: 22px;
	line-height: 28px;
	margin-bottom: 15px;
	margin-top: 35px;
	color: #222;
}

#page-content p {
	font-size: 16px;
	line-height: 28px;
	color: #555;
	margin-bottom: 20px;
}

#page-content ul,
#page-content ol {
	margin: 20px 0;
	padding-left: 25px;
}

#page-content ul li,
#page-content ol li {
	font-size: 16px;
	line-height: 28px;
	color: #555;
	margin-bottom: 10px;
}

#page-content a {
	color: #ff4153;
}

#page-content a:hover {
	color: #e0323f;
}

/* --------------------------------------------- 
   CTA SECTION
   --------------------------------------------- */
.page-template-0_sub_service_category #service-cta {
	background: #222;
	padding: 80px 20px;
	text-align: center;
}

.page-template-0_sub_service_category #service-cta .inner {
	max-width: 800px;
	margin: 0 auto;
}

.page-template-0_sub_service_category #service-cta h2 {
	color: #fff;
	font-size: 40px;
	line-height: 45px;
	margin-bottom: 20px;
}

.page-template-0_sub_service_category #service-cta p {
	color: rgba(255,255,255,0.8);
	font-size: 18px;
	line-height: 28px;
	margin-bottom: 0;
}

.page-template-0_sub_service_category #service-cta .button.cta-btn {
	background: #ff4153;
	color: #fff;
	border: none;
	padding: 15px 40px;
	margin-top: 30px;
	display: inline-block;
	font-size: 16px;
	text-transform: uppercase;
	font-weight: 600;
}

.page-template-0_sub_service_category #service-cta .button.cta-btn:hover {
	background: #e0323f;
	color: #fff;
}

/* --------------------------------------------- 
   REVIEWS SECTION
   --------------------------------------------- */
#reviews {
	background: #f5f5f5;
	padding: 100px 0;
}

#reviews .inner {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 40px;
}

#reviews .head {
	text-align: center;
	margin-bottom: 50px;
}

#reviews .head h2 {
	font-size: 45px;
	line-height: 50px;
	margin: 0;
}

#reviews .reviews-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
}

#reviews .review {
	background: #fff;
	padding: 40px;
}

#reviews .review .stars {
	color: #f5c518;
	font-size: 20px;
	margin-bottom: 20px;
	letter-spacing: 3px;
}

#reviews .review .review-text {
	font-size: 15px;
	line-height: 26px;
	color: #555;
	margin-bottom: 20px;
}

#reviews .review .reviewer-info {
	display: flex;
	align-items: center;
	gap: 12px;
}

#reviews .review .avatar {
	width: 40px;
	height: 40px;
	background: #444;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 18px;
	font-weight: 600;
	flex-shrink: 0;
}

#reviews .review .reviewer {
	font-size: 14px;
	font-weight: 600;
	color: #222;
	text-transform: uppercase;
	letter-spacing: 1px;
}

/* --------------------------------------------- 
   FAQ SECTION
   --------------------------------------------- */
.page-template-0_sub_service_category #faqs {
	background: #e6e6e6;
	padding: 100px 0;
}

.page-template-0_sub_service_category #faqs .inner {
	max-width: 1800px;
	margin: 0 auto;
	display: flex;
	padding: 0 40px;
}

.page-template-0_sub_service_category #faqs .head {
	flex: 0 0 350px;
	padding-right: 60px;
}

.page-template-0_sub_service_category #faqs .head h2 {
	font-size: 45px;
	line-height: 45px;
	margin: 0;
}

.page-template-0_sub_service_category #faqs .head h6 {
	margin-top: 30px;
	line-height: 27px;
	font-weight: 400;
	color: #222;
}

.page-template-0_sub_service_category #faqs .content {
	flex: 1 1;
}

.page-template-0_sub_service_category #faqs .content.grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 20px;
	row-gap: 20px;
}

.page-template-0_sub_service_category #faqs .qa {
	background: #fff;
	padding: 40px;
}

.page-template-0_sub_service_category #faqs .qa h6 {
	margin: 0 0 15px 0;
	font-size: 18px;
	line-height: 24px;
	font-weight: 600;
	color: #222;
}

.page-template-0_sub_service_category #faqs .qa p,
.page-template-0_sub_service_category #faqs .qa .answer {
	font-size: 15px;
	line-height: 24px;
	color: #666;
	margin: 0;
}

.page-template-0_sub_service_category #faqs .qa .answer p {
	margin: 0 0 10px 0;
}

.page-template-0_sub_service_category #faqs .qa .answer p:last-child {
	margin-bottom: 0;
}

.page-template-0_sub_service_category #faqs .qa ul,
.page-template-0_sub_service_category #faqs .qa ol {
	margin: 10px 0;
	padding-left: 20px;
}

.page-template-0_sub_service_category #faqs .qa ul li,
.page-template-0_sub_service_category #faqs .qa ol li {
	font-size: 15px;
	line-height: 24px;
	color: #666;
}

/* --------------------------------------------- 
   LOCATIONS SECTION
   --------------------------------------------- */
.page-template-0_sub_service_category #locations {
	background: #f5f5f5;
	padding-top: 140px;
	padding-bottom: 140px;
}

.page-template-0_sub_service_category #locations .inner {
	max-width: unset;
	margin: 0 auto;
	display: flex;
}

.page-template-0_sub_service_category #locations .head {
	padding-left: 90px;
	flex: 0 1 430px;
	padding-right: 60px;
}

.page-template-0_sub_service_category #locations .head h2 {
	font-size: 45px;
	line-height: 40px;
}

.page-template-0_sub_service_category #locations .head h6 {
	margin-top: 30px;
	line-height: 27px;
}

.page-template-0_sub_service_category #locations .content {
	flex: 1 1;
	padding-right: 0;
}

/* Carousel Styles */
.page-template-0_sub_service_category #carousel .cell {
	background: #fff;
	width: 40%;
	margin-right: 40px;
	min-width: 320px;
}

.page-template-0_sub_service_category #carousel .map {
	aspect-ratio: 1.5;
	background: #333;
	position: relative;
	overflow: hidden;
}

.page-template-0_sub_service_category #carousel .map a {
	display: block;
	width: 100%;
	height: 100%;
	z-index: 3;
	position: relative;
}

.page-template-0_sub_service_category #carousel .map .img {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
}

.page-template-0_sub_service_category #carousel .deets {
	padding: 50px;
}

.page-template-0_sub_service_category #carousel .deets h5 {
	margin-bottom: 20px;
	line-height: 26px;
}

.page-template-0_sub_service_category #carousel .deets h5 a {
	color: #222;
	text-decoration: none;
}

.page-template-0_sub_service_category #carousel .deets h5 a:hover {
	color: #ff4153;
}

.page-template-0_sub_service_category #carousel .cols {
	display: grid;
	grid-template-columns: 80px 1fr;
	margin-bottom: 5px;
}

.page-template-0_sub_service_category #carousel .name {
	font-size: 13px;
	line-height: 24px;
	text-transform: uppercase;
	font-weight: bold;
}

.page-template-0_sub_service_category #carousel .value {
	font-size: 13px;
	line-height: 24px;
	font-weight: 400;
	color: #555;
}

.page-template-0_sub_service_category #carousel .value.split {
	display: grid;
	grid-template-columns: 80px 1fr;
}

.page-template-0_sub_service_category #carousel .deets a:not(.button) {
	border-bottom: 1px dotted #555;
	padding-bottom: 1px;
	color: #555;
}

.page-template-0_sub_service_category #carousel .deets a:hover {
	color: #ff4153;
}

/* Carousel Navigation */
.page-template-0_sub_service_category #c-nav {
	margin-top: 40px;
}

.page-template-0_sub_service_category #c-nav #next,
.page-template-0_sub_service_category #c-nav #prev {
	width: 20px;
	height: 43px;
	cursor: pointer;
	background: none;
	border: none;
	font-size: 0px;
	background: url(images/r.svg) center center no-repeat;
	background-size: contain;
}

.page-template-0_sub_service_category #c-nav #prev {
	margin-right: 50px;
	background: url(images/l.svg) center center no-repeat;
	background-size: contain;
}

/* --------------------------------------------- 
   MAP SECTION
   --------------------------------------------- */
.page-template-0_sub_service_category #map-section {
	padding: 0 !important;
}

/* --------------------------------------------- 
   RESPONSIVE STYLES
   --------------------------------------------- */

@media only screen and (max-width: 1400px) {
	#reviews .reviews-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	
	.page-template-0_sub_service_category #faqs .content.grid {
		grid-template-columns: 1fr;
	}
	
	.page-template-0_sub_service_category #carousel .value.split {
		column-gap: 5px;
		grid-template-columns: auto 1fr;
	}
	
	.page-template-0_sub_service_category #carousel .cell {
		margin-right: 20px;
	}
}

@media only screen and (max-width: 1024px) {
	.page-template-0_sub_service_category #banner .banner-wrap {
		padding: 0 5%;
		padding-top: 100px;
	}
	
	#page-content {
		padding: 60px 0;
	}
	
	#page-content .inner {
		padding: 0 30px;
	}
	
	#reviews .inner {
		padding: 0 30px;
	}
	
	.page-template-0_sub_service_category #faqs .inner {
		padding: 0 40px;
	}
	
	.page-template-0_sub_service_category #faqs .head {
		flex: 0 0 300px;
		padding-right: 40px;
	}
	
	.page-template-0_sub_service_category #locations .head {
		padding-left: 40px;
		padding-right: 40px;
		flex: 0 1 360px;
	}
}

@media only screen and (max-width: 768px) {
	.page-template-0_sub_service_category #banner {
		min-height: 40vh;
	}
	
	.page-template-0_sub_service_category #banner .banner-wrap {
		padding: 0 20px;
		padding-top: 80px;
		justify-content: center;
	}
	
	.page-template-0_sub_service_category #banner .banner-inner h1 {
		font-size: 36px;
		line-height: 40px;
	}
	
	.page-template-0_sub_service_category #banner .banner-inner h5 {
		font-size: 16px;
		line-height: 24px;
	}
	
	#page-content {
		padding: 50px 0;
	}
	
	#page-content .inner {
		padding: 0 20px;
	}
	
	#page-content h2 {
		font-size: 28px;
		line-height: 34px;
	}
	
	#page-content h3 {
		font-size: 24px;
		line-height: 30px;
	}
	
	#page-content h4 {
		font-size: 20px;
		line-height: 26px;
	}
	
	.page-template-0_sub_service_category #service-cta {
		padding: 60px 20px;
	}
	
	.page-template-0_sub_service_category #service-cta h2 {
		font-size: 32px;
		line-height: 38px;
	}
	
	.page-template-0_sub_service_category #service-cta p {
		font-size: 16px;
		line-height: 24px;
	}
	
	#reviews {
		padding: 60px 0;
	}
	
	#reviews .inner {
		padding: 0 20px;
	}
	
	#reviews .head h2 {
		font-size: 36px;
		line-height: 40px;
	}
	
	#reviews .reviews-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	
	#reviews .review {
		padding: 30px;
	}
	
	.page-template-0_sub_service_category #faqs {
		padding: 60px 0;
	}
	
	.page-template-0_sub_service_category #faqs .inner {
		display: block;
		padding: 0 20px;
	}
	
	.page-template-0_sub_service_category #faqs .head {
		margin-bottom: 40px;
		padding-right: 0;
	}
	
	.page-template-0_sub_service_category #faqs .head h2 {
		font-size: 36px;
		line-height: 40px;
	}
	
	.page-template-0_sub_service_category #faqs .head h6 {
		margin-top: 20px;
		font-size: 16px;
		line-height: 23px;
	}
	
	.page-template-0_sub_service_category #faqs .qa {
		padding: 30px;
	}
	
	.page-template-0_sub_service_category #locations {
		padding-top: 60px;
		padding-bottom: 60px;
	}
	
	.page-template-0_sub_service_category #locations .inner {
		display: block;
	}
	
	.page-template-0_sub_service_category #locations .head {
		padding-left: 20px;
		padding-right: 20px;
		margin-bottom: 40px;
	}
	
	.page-template-0_sub_service_category #locations .head h2 {
		font-size: 36px;
		line-height: 40px;
	}
	
	.page-template-0_sub_service_category #locations .head h6 {
		margin-top: 20px;
		font-size: 16px;
		line-height: 23px;
	}
	
	.page-template-0_sub_service_category #carousel .cell {
		width: calc(100% - 20px);
		margin-right: 20px;
	}
	
	.page-template-0_sub_service_category #carousel h5 {
		font-size: 23px;
		line-height: 23px;
	}
	
	.page-template-0_sub_service_category #carousel .deets {
		padding: 30px;
	}
	
	.page-template-0_sub_service_category #carousel .value.split,
	.page-template-0_sub_service_category #carousel .cols {
		grid-template-columns: 80px 1fr;
	}
	
	.page-template-0_sub_service_category #c-nav {
		margin-top: 40px;
	}
}

@media only screen and (max-width: 500px) {
	.page-template-0_sub_service_category #banner .banner-inner h1 {
		font-size: 30px;
		line-height: 34px;
	}
}
