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

/* --------------------------------------------- 
   BANNER - Hero Section
   Match location page banner with title positioning fix
   --------------------------------------------- */
.page-template-0_service_category #banner {
	background-color: #333;
	position: relative;
	min-height: 60vh;
}

.page-template-0_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);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	padding: 0 10%;
	padding-top: 80px; /* Ensure title doesn't get too close to header */
}

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

.page-template-0_service_category #banner .overlay h5 {
	color: rgba(255,255,255,0.85);
	max-width: 700px;
	line-height: 1.6;
}

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

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

/* --------------------------------------------- 
   SERVICES SECTION
   --------------------------------------------- */
#category-services {
	background: #e6e6e6;
	padding: 80px 0;
}

#category-services .section-head {
	text-align: center;
	max-width: 800px;
	margin: 0 auto 50px;
	padding: 0 20px;
}

#category-services .section-head h2 {
	font-size: 45px;
	line-height: 45px;
	margin-bottom: 20px;
}

#category-services .section-head p {
	font-size: 16px;
	line-height: 26px;
	color: #555;
}

#category-services .services-grid {
	display: flex;
	flex-wrap: wrap;
	margin: 0 auto;
	max-width: 1800px;
	justify-content: center;
}

#category-services .service {
	background: #fff;
	flex: 0 1 29%;
	margin: 2%;
}

#category-services .service .image {
	height: 300px;
	display: flex;
	background: #444;
	align-items: flex-end;
	position: relative;
}

#category-services .service .image::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.2);
	z-index: 1;
}

#category-services .service .image h4 {
	color: #fff;
	text-transform: inherit;
	font-size: 24px;
	line-height: 31px;
	font-weight: 400;
	letter-spacing: 0px;
	padding: 5% 10%;
	position: relative;
	z-index: 2;
}

#category-services .service .writeup {
	padding: 5% 10%;
}

#category-services .service .writeup p {
	font-size: 15px;
	line-height: 24px;
	color: #555;
	margin: 0;
}

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

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

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

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

#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;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.page-template-0_service_category #faqs .qa ul:not(.two-col) {
	columns: 200px auto;
	column-gap: 30px;
}

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

.page-template-0_service_category #faqs .qa ul.two-col {
	columns: 2;
	column-gap: 20px;
}

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

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

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

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

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

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

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

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

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

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

#carousel .deets {
	padding: 50px;
}

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

#carousel .deets h5 a {
	color: #222;
	text-decoration: none;
	border:none!important;
}

#carousel .deets h5 a:hover {
	color: #ff4153;
}

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

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

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

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

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

#carousel .deets a:hover {
	color: #ff4153;
}

/* Carousel Navigation */
#c-nav {
	margin-top: 40px;
}

#c-nav #next,
#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;
}

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

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

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

@media only screen and (max-width: 1400px) {
	#category-services .service {
		flex: 0 1 46%;
	}
	
	.page-template-0_service_category #faqs .content.grid {
		grid-template-columns: 1fr;
	}
	
	#carousel .value.split {
		column-gap: 5px;
		grid-template-columns: auto 1fr;
	}
	
	#carousel .cell {
		margin-right: 20px;
	}
}

@media only screen and (max-width: 1024px) {
	.page-template-0_service_category #banner .overlay {
		padding: 0 5%;
		padding-top: 100px;
	}
	
	#category-services .service {
		flex: 0 1 46%;
	}
	
	.page-template-0_service_category #faqs .inner {
		padding: 0 40px;
	}
	
	.page-template-0_service_category #faqs .head {
		flex: 0 0 300px;
		padding-right: 40px;
	}
	
	.page-template-0_service_category #locations .head {
		padding-left: 40px;
		padding-right: 40px;
		flex: 0 1 360px;
	}
}

@media only screen and (max-width: 768px) {
	.page-template-0_service_category #banner {
		min-height: 50vh;
	}
	
	.page-template-0_service_category #banner .overlay {
		padding: 0 20px;
		padding-top: 80px;
		justify-content: center;
	}
	
	.page-template-0_service_category #banner .overlay h1 {
		font-size: 36px;
		line-height: 40px;
	}
	
	.page-template-0_service_category #banner .overlay h5 {
		font-size: 16px;
		line-height: 24px;
	}
	
	#category-services {
		padding: 60px 0;
	}
	
	#category-services .section-head {
		margin-bottom: 30px;
	}
	
	#category-services .section-head h2 {
		font-size: 36px;
		line-height: 40px;
	}
	
	#category-services .service {
		flex: 0 1 96%;
	}
	
	#category-services .service .image {
		height: 200px;
	}
	
	#service-cta {
		padding: 60px 20px;
	}
	
	#service-cta h2 {
		font-size: 32px;
		line-height: 38px;
	}
	
	#service-cta p {
		font-size: 16px;
		line-height: 24px;
	}
	
	.page-template-0_service_category #faqs {
		padding: 80px 0;
	}
	
	.page-template-0_service_category #faqs .inner {
		display: block;
		padding: 0 20px;
	}
	
	.page-template-0_service_category #faqs .head {
		margin-bottom: 40px;
		padding-right: 0;
	}
	
	.page-template-0_service_category #faqs .head h2 {
		font-size: 43px;
		line-height: 43px;
	}
	
	.page-template-0_service_category #faqs .head h6 {
		margin-top: 20px;
		font-size: 16px;
		line-height: 23px;
	}
	
	.page-template-0_service_category #faqs .qa {
		padding: 30px;
	}
	
	.page-template-0_service_category #faqs .qa ul.two-col {
		columns: 1;
	}
	
	.page-template-0_service_category #locations {
		padding-top: 80px;
		padding-bottom: 80px;
	}
	
	.page-template-0_service_category #locations .inner {
		display: block;
	}
	
	.page-template-0_service_category #locations .head {
		padding-left: 20px;
		padding-right: 20px;
		margin-bottom: 40px;
	}
	
	.page-template-0_service_category #locations .head h2 {
		font-size: 43px;
		line-height: 43px;
	}
	
	.page-template-0_service_category #locations .head h6 {
		margin-top: 20px;
		font-size: 16px;
		line-height: 23px;
	}
	
	#carousel .cell {
		width: calc(100% - 20px);
		margin-right: 20px;
	}
	
	#carousel h5 {
		font-size: 23px;
		line-height: 23px;
	}
	
	#carousel .deets {
		padding: 30px;
	}
	
	#carousel .value.split,
	#carousel .cols {
		grid-template-columns: 80px 1fr;
	}
	
	#c-nav {
		margin-top: 40px;
	}
}

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