/*
 Theme Name:   CareRite Child
 Description:  CareRite Child Theme
 Template:     carerite
 Version:      1.0.0.12
 Text Domain:  carerite-child
*/

.header-middle {
    background: url(/wp-content/uploads/2019/05/crc-header-brighter.jpg) repeat;
	padding: 55px 0;
}

#slider-main .carousel-caption {
    padding: 35px 30px;
}

.testimonials {
    background: url(/wp-content/uploads/2019/03/crc-home-testimonials.jpg) no-repeat right/cover;
}

.title {
    font-weight: 500;
}

.center-link {
    padding: 17px 20px;
}

.learn-more {
    font-size: 18px;
}

.center-link, #center-tennessee .center-link {
    padding: 21px 32px;
}

/* Main menu adjustments */

/* .header-nav .menu-main-container>ul>li > ul > li {
    padding: 0 30px 0 20px;
}

.header-nav .menu-main-container>ul>li > ul > li > a {
    height: auto;
    line-height: 45px;
}
.header-nav .menu-main-container>ul>li > ul {
    width: 295px;
} */

li.the-difference a {
	text-transform: none !important;
}

.content ul li {
	font-size: 20px;
	line-height: 1.6;
    margin-bottom: 10px;
}
.content p a{
	color: #81b8ed;
}

.slider-static {
	max-height: 475px;
    overflow: hidden;
}

.header-nav .menu-main-container>ul>li>a {
	text-transform: initial;
}

div.wpcf7-mail-sent-ok,
div.wpcf7-validation-errors, div.wpcf7-acceptance-missing {
	border: 0;
	color: #fff;
}

div.wpcf7-mail-sent-ok {
	background: green;
}

div.wpcf7-validation-errors, div.wpcf7-acceptance-missing {
	background: red;
}

h3, h4, h5, h6{
	line-height: 1.6 !important;
}

h1, h2 {
	line-height: 1.2 !important;
}

.title {
	padding-bottom: 10px !important;
}

.gray-background{
    background: #eee;
	padding: 30px;
}
.blue-background{
	background: #769fc4;
	padding: 30px;
}

.blue-bar{
	background: #769fc4;
	padding: 10px 30px;
}

.content ul.info {
    list-style: none;
    padding: 0;
    margin-left: 20px;
}
.content ul.info li{
	padding-bottom: 10px;
    padding-left: 40px;
    font-size: 16px;
	margin-bottom: 5px;
}

.wp-block-columns.has-3-columns div.wp-block-column:last-child ul li{
	font-size: 16px;
	margin-bottom: 5px;
}

div.wp-block-columns.has-3-columns{
	border-bottom: 1px solid #efefef;
	margin-bottom: 25px;
}

div.wp-block-columns.has-3-columns.no-border{
	border-bottom: 0;
}

ul li.center-address, ul.info li:nth-child(1) {
    background: url(/wp-content/uploads/2019/04/content-center-address.png) top left no-repeat;
}
ul li.center-phone, ul.info li:nth-child(2) {
    background: url(/wp-content/uploads/2019/04/content-center-phone.png) top left no-repeat;
}
ul li.center-website, ul.info li:nth-child(3) {
    background: url(/wp-content/uploads/2019/04/content-center-website.png) top left no-repeat;
}
ul li.center-fb, ul.info li:nth-child(4) {
    background: url(/wp-content/uploads/2019/04/content-center-fb.png) top left no-repeat;
}

.wp-block-column:last-child{
	margin-right: 0;
}


/* Map Tab Fix */
.centers-nav .active {
    font-weight: 700 !important;
}

.centers-nav .active a{
    font-weight: 200 !important;
}

/* Centers Page Variable Columns */

.column-30-70 div:first-child {
max-width: 30%;
margin-right: 4%;
margin-left: 0;
}
.column-30-70 div:last-child {
max-width: 70%;
margin-left: 0;
}
.column-30-70 div:first-child div, .column-30-70 div:last-child div {
max-width: 100%;
margin-right: 0;
}

.column-30-70 .wp-block-column{
	flex-basis: 100% !important;
}

/* Slider Styles */
#slider-below-left {
  background-color: #f6f6f6;
}
#slider-below-left .carousel-item {
    background-position: center;
    background-size: cover !important;
    background-color: #f6f6f6;
    background-repeat: no-repeat;
    padding-left: 30px;
    padding-right: 30px;
    position: relative;
}
#slider-below-left .carousel-item > img {
      display: block;
      position: absolute;
      bottom: 30px;
      left: 50%;
      transform: translateX(-50%);
      max-width: calc(100% - 60px);
}
#slider-below-left .carousel-item:first-of-type > img {
	max-width: 100%;
	right: 0;
	bottom: 0;
	left: initial;
	transform: initial;
}
#slider-below-left .carousel-item:nth-of-type(3) {
	background: url('/wp-content/uploads/2019/03/crc-home-services-ww.png') no-repeat center center/cover;
}
/* END Slider Styles */

/* Home Outcomes */
.outcomes {
	background: #28323e;
	padding-top: 35px;
	padding-bottom: 40px;
}
.outcomes .title,
.outcomes .title-small,
.outcomes .learn-more {
	text-align: center;
	color: #fff;
}
.outcomes .learn-more {
	display: table;
	margin: 15px auto;
}
.outcomes .learn-more:after {
	background: #fff;
}
.outcomes img {
	display: table;
	margin: 0 auto;
}
/* END Home Outcomes */

/* Home Events */
.events {
	background: #f0f0f0;
	padding-top: 28px;
}
.events-left {
}
.events-left-inside {
	background-size: cover;
	background-position: center center;
	height: 351px;
	font-size: 0;
}
.events-right-inside {
	text-align: center;
	color: #fff;
	display: flex;
	justify-content: center;
	align-items: center;
	background: #3a5872;
	height: 100%;
	padding: 30px 15px;
}
.events-right .title,
.events-right .title-small,
.events-right .learn-more {
	color: #fff;
}
.events-right .title-small {
    max-width: 375px;
}
.events-right .learn-more {
	margin-top: 15px;
}
.events-right .learn-more:after {
	background: #fff;
}
@media (max-width: 500px) {
	.events-left-inside {
		height: 251px;
	}
}
@media (max-width: 400px) {
	.events-left-inside {
		height: 200px;
	}
}
/* END Home Events */

/* Emp. Perks Title */
.emp-perks {
	position: relative;
}
.emp-perks-title {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2;
	top: 50px;
	width: 100%;
	text-align: center;
	padding: 0 30px;
}
/* END Emp. Perks Title */

/* Home - Announcements */
.middle-wide-ann {
	background: #eaeaea;
}
.middle-wide-ann img {
	margin-top: 50px;
}
/* END Home - Announcements */

/* Sub Menu Delay CSS */
.header-nav .menu-main-container>ul>li.active-hover > ul,
.header-nav .menu-main-container>ul>li li.active-hover > ul,
.header-nav .menu-main-container>ul>li.active-hover:hover > ul,
.header-nav .menu-main-container>ul>li li.active-hover:hover > ul {
  opacity: 1;
  pointer-events: initial;
  -webkit-transform: translateY(0px);
  -ms-transform: translateY(0px);
  transform: translateY(0px);
}
.header-nav .menu-main-container>ul>li>ul, .header-nav .menu-main-container>ul>li li>ul,
.header-nav .menu-main-container>ul>li:hover>ul, .header-nav .menu-main-container>ul>li li:hover>ul {
    opacity: 0;
    pointer-events: none;
    -webkit-transform: translateY(63px);
    -ms-transform: translateY(63px);
    transform: translateY(63px);
}
/* END Sub Menu Delay CSS */

.mobile-link-only {
	display: none !important;
}

@media (max-width: 1300px) {
	.mobile-link-only {
		display: block !important;
	}
}

.su-tabs-nav span {
	margin: 0 !important;
	padding-left: 12px !important;
	padding-right: 12px !important;
}

@media (max-width: 1375px) and (min-width: 1301px) {
	.header-top {
		padding-right: 10px;
	}
}

.header-nav .menu-main-container>ul>li>a {
	white-space: nowrap;
}

/* Move CSS over for Awards Page */
@media (max-width: 781px) {
	.wp-block-columns {
		justify-content: center;
	}
	.wp-block-image {
		width: 100%;
	}
	.wp-block-column {
		margin-right: 0 !important;
		margin-left: 0 !important;
		max-width: 100% !important;
		flex-basis: 100% !important;
	}
	.wp-block-image img {
		display: table;
		margin-left: auto;
		margin-right: auto;
	}
}
/* END Move CSS over for Awards Page */

/* Feauted Section - Home */
.featured-section .featured-section-left-inside {
	background: #3a5872;
	padding-top: 20px;
	padding-bottom: 20px;
	padding-left: 20px;
	padding-right: 20px;
}
.featured-section .events-right .title-small {
	margin-left: auto;
	margin-right: auto;
}
.featured-section-img {
	display: table;
	margin: 0 auto;
	max-width: 450px;
	width: 100%;
}
/* END Feauted Section - Home */

.ngg-galleryoverview.ngg-slideshow.slick-slider {
    max-width: 600px !important;
}

.search-form {
	right: 0 !important;
}

/* Language Picker */
.search-link {
	margin-left: 0 !important;
}

.language-picker {
	margin-left: 31px !important;
	position: relative !important;
}

.switcher {
	font-family: inherit !important;
    font-size: inherit !important;
	width: initial !important;
	line-height: initial !important;
}

.switcher .selected {
	background: transparent !important;
}

.switcher .selected a:before,
.switcher.switcher .selected a:after,
.switcher .option a:before {
	-moz-osx-font-smoothing: grayscale !important;
    -webkit-font-smoothing: antialiased !important;
	font-family: "Font Awesome 5 Free" !important;
	font-weight: 900 !important;
	display: inline-block !important;
    font-style: normal !important;
    font-variant: normal !important;
    text-rendering: auto !important;
    line-height: 1 !important;
}

.switcher .option a:before {
    font-weight: 400 !important;
}

.switcher .selected a:before {
	content: "\f57d" !important;
	margin-right: 11px !important;
}

.switcher .selected a,
.switcher .option a {
	--switcher-link-padding: 0 26px 0 24px;
	padding: var(--switcher-link-padding) !important;
}

.switcher .selected a {
	height: 63px  !important;
    box-sizing: border-box  !important;
	border: 0 !important;
    line-height: 63px;
    width: initial !important;
	font-size: 18px !important;
	display: flex !important;
	align-items: center !important;
}

.switcher .selected a:hover {
	background: transparent !important;
}

.switcher a img {
	display: none !important;
}

.switcher.switcher .selected a:after {
	content: "\f0dd" !important;
	background-image: initial !important;
	height: initial !important;
    position: initial !important;
    right: initial !important;
    width: initial !important;
    background-position: initial !important;
    background-size: initial !important;
    background-repeat: initial !important;
    transition: .35s cubic-bezier(0,0,.2,1);
	margin-left: 10px !important;
	transform-origin: 59% calc(50% + 3px);
	position: relative !important;
	top: -2px !important;
}

.switcher.switcher .selected a:hover:after {
	-webkit-transform: rotate(-180deg);
    transform: rotate(-180deg);
}

.switcher .option {
	position: absolute !important;
	border: 0 !important;
	width: initial !important;
    right: 0 !important;
    left: 0 !important;
}

.switcher .option a {
	font-size: 18px !important;
	color: #666 !important;
	height: 58px !important;
	line-height: 58px !important;
	background: #fff !important;
}

.switcher .option a:before {
	content: "\f111" !important;
	margin-right: 10px !important;
}

.header-bottom-mobile {
	display: none !important;
}

@media (max-width: 1800px) {
	.language-picker {
		margin-left: 0 !important;
	}
}

@media (max-width: 1700px) {
	.phone-link {
		font-size: 12px !important;
	}
}

@media (max-width: 1575px) {
	.phone-link {
		font-size: 0 !important;
	}
	.phone-link span {
		font-size: 0 !important;
		margin-top: 7px !important;
    	display: block !important;
	}
	.phone-link i {
		font-size: 1rem !important;
	}
}

@media (max-width: 1450px) {
	.switcher .selected a, .switcher .option a {
    	padding: 0 8px !important;
	}
	.switcher.switcher .selected a:after,
	.switcher .option a:before {
		display: none !important;
	}
}

@media (max-width: 1300px) {
	.phone-link {
		font-size: 20px !important;
	}
	.phone-link span {
		margin-top: 0 !important;
	}
	.phone-link span,
	.phone-link i {
		font-size: inherit !important;
	}
	.switcher .selected a, .switcher .option a {
    	padding: var(--switcher-link-padding) !important;
	}
	.switcher.switcher .selected a:after,
	.switcher .option a:before {
		display: inline-block !important;
	}
}

@media (max-width: 900px) {
	.header-top {
		background: #fff !important;
	}
	.social-col {
		padding-right: 0 !important;
	}
	ul.social-ul {
		padding-left: 8px !important;
	}
	.header-top .phone-link,
	.header-top .menu-link {
		display: none !important;
	}
	.header-nav {
		top: 126px !important;
	}
	.header-bottom-mobile {
		background: #E4E4E4 !important;
		display: flex !important;
		justify-content: space-between !important;
		padding: 0 16px 0 49px !important;
	}
	.header-bottom-mobile .menu-link {
		color: #373737 !important;
		position: relative !important;
		-webkit-transform: initial !important;
    	-ms-transform: initial !important;
    	transform: initial !important;
		left: initial !important;
	}
	.header-bottom-mobile .phone-link {
		line-height: 63px !important;
	}
	.switcher .option {
		right: -63px !important;
	}
}
/* END Language Picker */

/* Home Page Image to Video on Hover */
.home-page-boxes .video video, .home-page-boxes .video iframe {
	width: 100% !important;
	aspect-ratio: 16/9;
	height: auto;
	background-color: black;
}

.home-page-boxes .box-media .video {
	visibility: hidden;
	opacity: 0;
	position: absolute;
	inset: 0;
	z-index: 9;
	padding: 0 10px;
	transition: 0.5s all ease-in-out;
}

.home-page-boxes .box-media img {
	aspect-ratio: 16/9;
	object-fit: cover;
	object-position: center;
}

.home-page-boxes .box-media.video-active .video {
	visibility: visible;
	opacity: 1;
}

.home-page-boxes .box-inside.d-block.content {
	height: auto;
}