
/* General Specialty Services Styles */
.specialty-services-container {
	padding-left: 0;
    padding-right: 0;
	padding-bottom: 2rem;
}

.specialty-services-container .specialty-header {
	-webkit-justify-content: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-align-items: stretch;
	-ms-flex-align: stretch;
	align-items: stretch;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
}

.specialty-header .specialty-icon {
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-justify-content: center;
	-ms-flex-pack: center;
	justify-content: center;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	background-color: #EFECE4;
	color: #00548B; /* $primary */
	width: 7.5%;
	padding: 2em 2.778em;
}

.specialty-header .specialty-icon icon {
	font-size: 2.5em;
}

.specialty-header .specialty-title {
	width: 42.5%;
	-webkit-justify-content: flex-start;
	-ms-flex-pack: start;
	justify-content: flex-start;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	padding: 2em 2.778em;
}

.custom .specialty-header .specialty-title{
	width:92.5%;
}

.specialty-header .specialty-title h4 {
	color: #00548B; /* $primary */
	font-size: 2.667em;
	font-weight: 600;
}

.specialty-header .specialty-text {
	width: 50%;
	-webkit-justify-content: space-between;
	-ms-flex-pack: justify;
	justify-content: space-between;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	padding: 2em 2.778em;
	background-image: linear-gradient(to right,#F3F2ED,#D7ECFA);
}

.specialty-services-container.custom .specialty-header .specialty-text {
	width:100%;
}

.service-header {
    background-color: #00548B;
    color: #ffffff;
    width: 100%;
    padding: 2rem 3.4rem;
}

.service-header .service-hdr-txt {
    display: flex;
    flex-direction: column;
	text-align: center;
}



.service-header .service-hdr-txt strong {
    font-size: 2.23rem;
    line-height: 1;
}

.service-header .service-hdr-txt span {
    font-size: 1.3rem;
    font-weight: 300;
}

.service-header .hdr-lnk {
	text-align: center;
	margin-top: 1rem;
}

.specialty-services-container .specialties-box {
	-webkit-align-items: stretch;
	-ms-flex-align: stretch;
	align-items: stretch;
	-webkit-justify-content: flex-start;
	-ms-flex-pack: start;
	justify-content: flex-start;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	overflow: hidden;
	flex-wrap:wrap;
}

.cms-editing .specialty-services-container .specialties-box {
	overflow: visible;
}

.specialties-box li.specialty {
	transition: width .5s ease 0s;
	z-index: 1;
	-webkit-flex: 1 1 auto;
	-ms-flex: 1 1 auto;
	flex: 1 1 auto;
	aspect-ratio: 32 / 15;
}
.specialties-box.new li.specialty {
	transition: width .5s ease 0s;
	z-index: 1;
	-webkit-flex: 1 1 25.1%;
	-ms-flex: 1 1 25.1%;
	flex: 1 1 25.1%;
	aspect-ratio: 32 / 15;
}

.no-touch .specialties-box:hover li.specialty, .no-touch .specialties-box:focus li.specialty {
	width: 14%;
}

.no-touch .specialties-box li.specialty:hover, .no-touch .specialties-box li.specialty:focus {
	width: 58%;
}

.specialties-box li.specialty > div {
	height: 100%;
	width: 100%;
	position: relative;
}

.specialties-box li.specialty .specialty-info {
	width: 100%;
	height: 100%;
	position: absolute;
	opacity: 0;
	top: 0;
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	align-items: center;
	background-color: #D0282E;
	color: #ffffff;
	transition: opacity .3s ease 0s;
}

.specialties-box li.specialty:hover .specialty-info,
.specialties-box li.specialty:focus .specialty-info, .specialties-box li.specialty:focus-within .specialty-info  {
    z-index: 2;
    opacity: 1;
}

.specialties-box li.specialty .specialty-info h4 {
	width: 100%;
	text-align: center;
	text-transform: uppercase;
	color: #FFFFFF; /* $white */
	font-size: 1.333em;
	font-weight: 700;
	padding: 0 1.5em;
	letter-spacing: .1em;
	line-height: 1.2em;
}

.specialties-box li.specialty .specialty-info p {
	width: 100%;
	text-align: center;
	color: #FFFFFF;
	padding: 0 1.5em;
	max-height: 100%;
}

.specialties-box li.specialty .specialty-image-area {
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: flex-end;
	-webkit-justify-content: center;
	-ms-flex-pack: center;
	justify-content: center;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	width: 100%;
	z-index: 1;
	background-position: top center;
	background-size: cover;
	background-repeat: no-repeat;
	transition: width .5s ease 0s;
	height: 100%;
}

.no-touch .specialties-box li.specialty:hover .specialty-image-area:before, .no-touch .specialties-box li.specialty:focus .specialty-image-area:before {
	opacity: 0;
	transition: opacity .25s ease 0s;
}

.no-touch .specialties-box li.specialty:hover .specialty-image-area:after, .no-touch .specialties-box li.specialty:focus .specialty-image-area:after {
	transition: transform 1.5s ease .25s;
	-webkit-transform: translateX(0);
	-ms-transform: translateX(0);
	transform: translateX(0);
}

.specialties-box li.specialty .specialty-image-area h4 {
	color: #FFFFFF; /* $white */
	text-align: center;
	text-transform: uppercase;
	font-size: 1.667em;
	font-weight: 600;
	width: 70%;
	text-shadow: 0px 3px 10px rgba(0,0,0,0.21);
	letter-spacing: .1em;
	line-height: 1.2em;
	margin-bottom: 2.7rem;
}

.no-touch .specialties-box li.specialty:hover .specialty-image-area h4, .no-touch .specialties-box li.specialty:focus .specialty-image-area h4 {
	opacity: 0;
}

.specialties-box li.specialty:hover .specialty-image-area .icon-holder {
	-webkit-transform: translateY(-50%) translateX(0);
	-ms-transform: translateY(-50%) translateX(0);
	transform: translateY(-50%) translateX(0);
}


.specialties-box li.specialty .specialty-image-area .icon-holder icon svg {
	fill: currentColor;
	stroke-width: 0;
}


.specialties-box.new li:after {
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		height: 100%;
		width: 100%;
		background-color: #00000085;
		z-index: 2;
		opacity: 0.21;
		pointer-events: none;
		transition: opacity .3s ease 0s;
	}

.no-touch .specialties-box li.specialty:hover .btn, .no-touch .specialties-box li.specialty:focus .btn {
	color:#ffffff;
}

.specialties-box .specialty-image-area picture {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	pointer-events: none;
	z-index: -1;
}

.specialties-box .specialty-image-area picture img {
	object-fit: cover;
	left: 50%;
	position: relative;
	top: 50%;
	width: auto;
	height: auto;
	min-width: calc(100% + 2px);
	min-height: calc(100% + 2px);
	transform: translate(-50%,-50%);
	pointer-events: none;
}
/* End General Specialty Services Styles */

@media screen and (min-width: 1200px) {
	.specialty-services-container {
		padding-bottom: unset;
	}
	
	.service-header {
	    display: flex;
	    justify-content: space-between;
	    padding: 2rem 11.4rem;
	}
	
	.service-header .hdr-lnk {
		display: flex;
		align-items: center;
		text-align: unset;
	}

	.service-header .service-hdr-txt {
		text-align: left;
		margin-right:1em;
	}
	
	.specialties-box.new:hover li:not(:hover):after {
	    opacity: 1;
	}
}

/* Responsive [1650px] */
@media screen and (max-width: 1650px) {
	.specialties-box li.specialty .specialty-image-area h4 {
		font-size: 1.35em;
		width: 95%;
	}
	.specialties-box.new li.specialty {

	}
}
/* End Responsive [1650px] */

/* Responsive [1500px] */
@media screen and (max-width: 1500px) {
	.specialty-header .specialty-text {
		padding: 2em;
	}

	.specialties-box li.specialty .specialty-image-area h4 {
		font-size: 1.333em;
		letter-spacing: 0.05em;
	}
	.service-header .service-hdr-txt span {
	    font-size: 1rem;
	}
	.service-header .btn {
	    padding: 1.714em 1.5em;
	}
	.specialties-box li.specialty .specialty-info h4 {
		margin-bottom: .5em;
	}
}
/* End Responsive [1500px] */

/* Responsive [1200px] */
@media screen and (max-width: 1200px) {
	.specialty-header .specialty-text {
		padding: 1.5em 2em;
		width: 25%;
	}

	.specialties-box li.specialty {

	}
	
	.specialties-box.new li.specialty {

	}

	.specialty-header .specialty-text p {
		display: none;
	}

	.specialty-header .specialty-icon {
		width: 10%;
	}

	.specialty-header .specialty-title {
		width: 65%;
	}

	.no-touch .specialty-services-container .specialties-box:hover .specialty-image-area picture, .no-touch .specialty-services-container .specialties-box:focus .specialty-image-area picture {
		opacity: 0.75;
		transition: opacity .3s ease 0s;
	}

	.specialty-header .specialty-text .btn {
		margin: 0 0 0 auto;
		width: 100%;
	}

	.no-touch .specialties-box li.specialty:hover .specialty-info, .no-touch .specialties-box li.specialty:focus .specialty-info {
		width: 19.5em;
	}
	.no-touch .specialties-box.new li.specialty:hover .specialty-info, .no-touch .specialties-box.new li.specialty:focus .specialty-info {
		width: 14.5em;
	}

	.specialties-box li.specialty .specialty-info h4 {
		font-size: 1.222em;
		padding: 0 1em;
	}

	.specialties-box li.specialty .specialty-image-area h4 {
		font-size: 1.222em;
		letter-spacing: 0.1em;
		max-width: 11em;
	}

	.specialties-box li.specialty .specialty-info p {
		padding: 0 0.85em;
	}
	
	.specialty-services-container .specialties-box .specialty .specialty-info {
		 display: none;
	}
	
	.no-touch .specialties-box li.specialty:hover .specialty-image-area h4, .no-touch .specialties-box li.specialty:focus .specialty-image-area h4 {
		opacity: 1;
	}
	
	.specialty-image-area.relative:before {
	    content: '';
	    position: absolute;
	    bottom: 0;
	    left: 0;
	    width: 100%;
	    height: 80%;
	    background: rgb(23,40,59);
	    background: linear-gradient(180deg, rgba(23,40,59,0) 0%, #292828 100%);
	    z-index: -1;
	}
}
/* End Responsive [1200px] */

/* Responsive [1024px] */
@media screen and (max-width: 1024px) {
	.specialties-box li.specialty {
		width: 50%;
	}
	
	.specialties-box.new li.specialty {
		flex: 1 1 50%;
	}

	.no-touch .specialty-services-container .specialties-box:hover li, .no-touch .specialty-services-container .specialties-box:focus li {
		width: 50%;
	}

	.no-touch .specialties-box li.specialty:hover, .no-touch .specialties-box li.specialty:focus {
		width: 50%;
	}

	.no-touch .specialties-box li.specialty:hover .specialty-info, .no-touch .specialties-box li.specialty:focus .specialty-info {
		width: 0;
	}

	.no-touch .specialties-box li.specialty:hover .specialty-image-area, .no-touch .specialties-box li.specialty:focus .specialty-image-area {
		width: 100%;
	}
	
	.no-touch .specialties-box li.specialty:hover .specialty-image-area picture, .no-touch .specialties-box li.specialty:focus .specialty-image-area picture{
		opacity: 1;
	}

	.no-touch .specialties-box li.specialty:hover .specialty-image-area h4, .no-touch .specialties-box li.specialty:focus .specialty-image-area h4 {
		opacity: 1;
		text-decoration: underline;
	}

	.specialty-header .specialty-title {
		width: 60%;
	}

	.specialty-header .specialty-text {
		width: 30%;
	}

	.specialties-box li.specialty .specialty-image-area h4 {
		max-width: none;
		font-size: 1.333em;
	}
}
/* End Responsive [1024px] */

/* Responsive [800px] */
@media screen and (max-width: 800px) {
	.specialty-header .specialty-title h4 {
		font-size: 2em;
	}

	.specialty-header .specialty-text .btn {
		display: none;
	}

	.custom .specialty-header .specialty-text .btn {
		display: block;
	}

	.specialty-header .specialty-text {
		padding: .75em;
		width: 5%;
	}

	.specialty-header .specialty-title {
		width: 85%;
	}
}
/* End Responsive [800px] */

/* Responsive [600px] */
@media screen and (max-width: 600px) {
	.specialties-box li.specialty .specialty-image-area h4 {
		font-size: 1.111em;
		letter-spacing: 0.035em;
	}
	
	.specialties-box li.specialty {
		width: 100%;
	}
	
	.specialties-box.new li.specialty {
		flex: 1 1 100%;
	}

}
/* End Responsive [600px] */

/* Responsive [450px] */
@media screen and (max-width: 450px) {
	.specialty-header .specialty-title {
		padding: 1.25em;
	}

	.specialty-header .specialty-title h4 {
		font-size: 1.6em;
	}

	.specialty-header .specialty-icon {
		padding: 2em 2.25em;
	}

	.specialties-box.new li.specialty {

	}
	.specialties-box li.specialty .specialty-image-area h4 {
	    font-size: 1.011em;
	    margin: 0 1.1em 0.4em;
	}

}
/* End Responsive [450px] */
