/*
 Theme Name:   Chrisad Serene
 Theme URI:    https://chrisad.com
 Description:  Chrisad Serene Theme
 Author:       Gretchen Gottwald
 Template:     serene
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  chrisad-serene
*/


.rm_placeholder {
    color: #ccc;
    font-style: italic;
}


/* Flex font size optimization */
html {
    font-size: calc(15px + 0.390625vw) !important;
	scroll-behavior: smooth;
}
body, p, li {
	font-size: 1.1rem;
}
.nav li, .nav a {
	font-size: 0.9rem;
}
.nav .sub-menu li, .nav .sub-menu a {
	font-size: 0.7rem;
}
.home .nav .sub-menu li, .home .nav .sub-menu a {
    font-size: 0.6rem;
}
.footer, .footer p {
	font-size: 0.7rem;
}
h1, .h1 {
    font-size: 2.2rem !important;
	 line-height: 1.2 !important;
}
h2 {
	font-size: 1.9rem !important;
}
h2.subhead {
	font-size: 1.3rem !important;
}
.large_headline, h2.large_headline {
	font-size: 2.5rem !important;
}
.main .gform_wrapper.gravity-theme .gform_validation_errors>h2 {
	font-size: 0.7rem !important;
}
h3 {
	font-size: 1.6rem !important;
}
h4 {
	font-size: 1.4rem !important;
}
h5, h6 {
	font-size: 1.3rem !important;
}

h2, h3, h4, h5, h6 {
    margin-bottom: 0.6rem !important;
}

.chrisad-content-image-block h2 {
	margin-bottom: 1.5rem !important;
}

/*WP Bakery Fixes*/
.wpb_gallery_slides ul li:before {
    content: none !important;
}

h1.chrisad-seo-title {
	margin-bottom: 0.665em !important;
	line-height: 1 !important;
    letter-spacing: -.02em !important;
}


/*Homepage Hero Section*/
.tagline-cta {
    font-size: 1.2rem !important;
	margin-bottom: 0.665em !important;
}
.offers-headline-cta {
	font-size: 3.2rem !important;
    margin-bottom: 0 !important;
	line-height: 1.2 !important;
	letter-spacing: -.03em !important;
}
.fineprint-cta {
	font-size: 0.7rem !important;
}
.hours-cta {
	line-height: 1.2 !important;
	font-size: 2.5rem !important;
	letter-spacing: -.03em !important;
}
.logo-cta {
	margin-bottom: 5px !important;
}


.header-alt .logo > img {
    width: auto;
    max-height: 164px !important;
	margin: 0 auto;
}
.footer__logo > img {
    max-height: 200px !important;
	width: auto;
	margin: 0 auto;
}

.hero {
	padding: 160px 0 58px !important;
}

.home .header__actions {
	text-transform: uppercase;
}

/* White Text */
.white-text, .white-text p, .white-text h2, .white-text h3, .white-text h4, .white-text h5, .white-text h6, .main .white-text p, .main .white-text a, .main .white-text li  {
	color: #fff;
}

/**/

/* Chrisad Content and Image Blocks*/
.dentist__bio img {
	max-width: 90%;
}


.doctor_bio_size_image {
	max-width: 90%;
}

.chrisad__shell {
	max-width: 1292px;
    padding-left: 80px;
    padding-right: 80px;
    margin: 0 auto;
    width: 100%;
}
.meet__us__doctors {
	display: flex;
    flex-wrap: wrap;
}
.doctor__bio__section {
	flex-grow: 1;
    display: flex;
    flex-direction: column;
    z-index: 1;
    justify-content: center;
	margin-top: 20px;
}
/*.doctor__bio__section:first-child {
	margin-top: 0;
}*/
.doctor__bio__section img {
	max-width: 300px;
	height: auto;
}


.chrisad-content-image-block .image__column {
    min-height: 400px;
}
.chrisad-content-image-block .text__column .wpb_wrapper {
	padding: 0 15%;
}
.chrisad-content-image-block .text__column .wpb_wrapper .wpb_wrapper {
    padding: 0;
}
.chrisad-content-image-block .cover img {
  display: inline-block;
    vertical-align: top;
    max-width: 100%;
    z-index: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    transition: all 0.5s ease !important;
    margin: 0 auto;
}

.chrisad-content-image-block .cover {
  object-fit: cover;
}

.chrisad-content-image-block ul {
	display: table;
	text-align: left;
	margin-left: auto;
	margin-right: auto;
}

/* Limit Column width */
.fifty-percent {
	width: 50% !important;
	margin: 0 auto !important;
	float: none !important;
}
.sixty-percent {
	width: 60% !important;
	margin: 0 auto !important;
	float: none !important;
}
.seventy-percent {
	width: 70% !important;
	margin: 0 auto !important;
	float: none !important;
}
.eighty-percent {
	width: 80% !important;
	margin: 0 auto !important;
	float: none !important;
}
.ninety-percent {
	width: 90% !important;
	margin: 0 auto !important;
	float: none !important;
}

/**/
.main .knowledge, .knowledge {
	padding: 30px 20px;
	margin-bottom: 1.33em !important;
	display: inline-block;
}

/*Limited Width for most internal pages*/
.main.limited-width {
	max-width: 1100px;
	margin: 50px auto;
	padding-left: 20px;
    padding-right: 20px;
	}

.dr-img .vc_single_image-img {
	width: 150px;
	height: auto;
	margin-bottom: 20px;
}

/* Call to Action Footer acf shortcode */
.call-to-action-footer {
	padding-top: 109px;
    padding-bottom: 116px;
	-webkit-animation-name: fadeInUp;
    animation-name: fadeInUp;
	-webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
	width: 100%;
}

.section-contacts {
	width: 100%;
}

/* Lists and Children */
.main li {
    list-style-position: inside;
	margin: 5px auto 5px 5px;
}
.main .children li {
	margin: 5px auto 5px 35px;
}
.main ul:not(.no-list) {
    padding: 0;
}

	
/* Make lists have diamonds instead of bullets */
.main ul li:before, ul#sitemap li:before {
    content: "";
    left: -14px;
    top: 0.665em;
    display: inline-block;
    width: 5px;
    height: 5px;
    background: currentColor;
    border-radius: 1px;
    -webkit-transform: rotate(45deg) translate(-50%,-50%);
    -ms-transform: rotate(45deg) translate(-50%,-50%);
    transform: rotate(45deg) translate(-50%,-50%);
    margin-right: 15px;
}
.main ul li {
	list-style: none;
}

/* Gravity Forms Styling */
.gform_fields input, .gform_fields .gfield_select, .gform_fields .textarea {
	border: 1px solid #ccc !important;
}
.gform_fields .message .gfield_label {
	width: 0% !important;	
}
.gform_fields .message .ginput_container {
	width: 100% !important;
}
.gfield textarea::-webkit-input-placeholder, .gform_body .textarea {
	padding: 20px !important;
}
.gform_footer.left_label	 {
	padding: 10px !important;
}
.ui-state-active {
	background: beige !important;
}
.ui-datepicker-calendar span {
	font-weight: bold !important;
}
.ui-datepicker-calendar .ui-datepicker-unselectable span {
	font-weight: normal !important;
}
.gfrom-body img.ui-datepicker-trigger {
	width: 30px !important;
}
.gform_button {
	border-width: 2px !important;
	padding: 16px;
	border-radius: 4px;
	border-style: solid;
	min-width: 198px;
    -webkit-transition-property: color,background,border-color;
    -o-transition-property: color,background,border-color;
    transition-property: color,background,border-color;
    -webkit-transition-duration: .4s;
    -o-transition-duration: .4s;
    transition-duration: .4s;
    -webkit-transition-timing-function: ease;
    -o-transition-timing-function: ease;
    transition-timing-function: ease;
}

.gform_wrapper .top_label li.gfield.gf_left_half:before {
    content: none !important;
}


/*Blog page styling*/
.title-area {
	padding: 20px;
}
.article-single {
	padding-top: 0 !important;
    line-height: 1.33 !important;
}
.article-single p:first-child:first-letter {
    font-weight: bold;
    font-size: 1.7rem;
}
.article-single .page p:first-letter {
	font-weight: normal;
	font-size: inherit;
}
.article-single .wp-post-image {
	margin-bottom: 20px;
}
.articles {
	text-align: center;
	background: #eee;
	margin: 0 auto;
}
.article__image {
	margin: 25px auto;
}
.pagetitleblog {
	text-align: center;
}
.blog-subheading {
	text-align: center;
}
.blog .main.limited-width, .single-post .main.limited-width {
	margin-top: 0;
}
.blog .articles .article {
	padding: 20px;
}
.blog div.articles>div:nth-of-type(even) {
  background: #fff;
}
h2.blog_archive {
	margin: 30px auto 20px;
}

h2.blog_archive a {
	text-decoration: none;
	font-weight: bold;
}



/* Href */
.richtext-entry a:not([class]), .wpb_text_column .wpb_wrapper a:not([class]) {
	font-size: 	inherit !important;
}
.richtext-entry a:not([class])[href*="tel:"], .wpb_text_column .wpb_wrapper a:not([class])[href*="tel:"] {
	font-size: 1.1rem !important;
}

/* Trust Index Styling */
body .wrapper .wrapper__inner .ti-widget .ti-review-item {
    margin: 20px auto;
}
body .wrapper .wrapper__inner .ti-widget .ti-review-content {
    height: auto !important;
}


/* SRP */
.search-results-page {
	max-width: 1100px;
	margin: 0 auto;
}
.search-results-page .container {
	margin: 30px auto;
}
.search-results-page .page-title {
	margin-top: 50px;
	font-style: italic;
	text-align: center;
	padding-bottom: 20px;
	border-bottom: 5px solid #eee !important;
}


/*Button Styling*/
.vc_btn3 {
	border-color: #fff !important;
	border-width: 2px !important;
	min-width: 271px;
	padding: 16px;
}
.vc_btn3-size-lg {
    font-size: 26px !important;
}
.vc_btn3:hover {
	background: #fff !important;
	color: #005A96 !important;
}
.vc_btn3-container {
	margin-top: 38px;
}

/* alignleft fix */
.alignleft {
    float: left;
	margin-bottom: 1.33em !important;
}


/* alignright fix */
.alignright {
	float: right;
	margin-bottom: 1.33em !important;
}

/* Center Text */
.center-text {
	text-align: center !important;
}

/* Cover href img transition */
.cover a img, .cover img, img.cover {
    transition: all 0.5s ease !important;
}

div#services-carousel {
    background: red;
    margin: 0 auto;
}

/* Service Images ACF */
.dental-services-gallery .vc_column_container {
	overflow: hidden;
	padding-left: 0 !important;
	padding-right: 0 !important;
}
.dental-services-gallery .service-img-container .wpb_wrapper {
	position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 125.31%;
    overflow: hidden;
	display: inline-block;
    vertical-align: top;
    margin: 0;
    max-width: 100%;
}
.dental-services-gallery .service-img-container .wpb_wrapper img {
    display: inline-block;
    vertical-align: top;
    max-width: 100%;
	z-index: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
	transition: all 0.5s ease !important;
	margin: 0 auto;
}
.dental-services-gallery .service-img-1, .dental-services-gallery .service-img-2 {
	text-align: center;
}
.dental-services-gallery p, .dentist-bio-gallery p {
	padding: 0 !important;
}
.dental-services-gallery img:hover {
	-ms-transform: scale(102%) !important; /* IE 9 */
	-webkit-transform: scale(102%) !important; /* Safari 3-8 */
	transform: scale(102%) !important;
	opacity: 0.8 !important;
	display: flex !important;
	flex-direction: column !important;
}
.dental-services-gallery .service-text-container {
   z-index: 2;
    position: absolute;
    bottom: 6.7%;
    left: 0;
    width: 100%;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    margin: 0;
    padding: 10px;
}
.dental-services-gallery .service-text-container a {
	color: #fff !important;
}
.dental-services-gallery .wpb_heading, .dental-services-gallery .wpb_text_column {
    font-size: 17px;
	font-weight: 400;
}

/* Special Offers Images */
.section-special-offers .vc_row {
    max-width: 1210px !important;
    margin: 0 auto!important;
}
.special-offers-gallery .vc_column_container {
	overflow: hidden;
	padding-left: 0 !important;
	padding-right: 0 !important;
}
.special-offers-gallery .special-offers-img-container .wpb_wrapper {
	position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 125.31%;
    overflow: hidden;
	display: inline-block;
    vertical-align: top;
    margin: 0;
    max-width: 100%;
}
.special-offers-gallery .special-offers-img-container .wpb_wrapper img {
    display: inline-block;
    vertical-align: top;
    max-width: 100%;
	z-index: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
	transition: all 0.5s ease !important;
	margin: 0 auto;
}
.special-offers-gallery .offers-img {
	text-align: center;
}
.special-offers-gallery p {
	padding: 0 !important;
}
.special-offers-gallery img:hover {
	-ms-transform: scale(102%) !important; /* IE 9 */
	-webkit-transform: scale(102%) !important; /* Safari 3-8 */
	transform: scale(102%) !important;
	opacity: 0.8 !important;
	display: flex !important;
	flex-direction: column !important;
}
.special-offers-gallery .special-offers-text-container {
   z-index: 2;
    position: absolute;
    bottom: 6.7%;
    left: 0;
    width: 100%;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    pointer-events: none;
    margin: 0;
    padding: 10px;
}
.special-offers-gallery .special-offers-text-container a {
	color: #fff !important;
}
.special-offers-gallery .wpb_heading, .special-offers-gallery .wpb_text_column {
    font-size: inherit;
	font-weight: 400;
}
/*.section-special-offers .wpb_button, .section-special-offers .wpb_content_element, .section-special-offers .wpb_text_column, .section-special-offers ul.wpb_thumbnails-fluid > li {
    margin-bottom: 15px;
}*/



.section-entry--alt p {
	padding: 0 !important;
	text-align: center;
}
/* Bio Gallery */
.vc_row .dr-bios {
	margin: 0 auto !important;
	/*max-width: 100% !important;*/
}
.dr-bios img, .dr-bios {
	text-align: center;
}
.dr-bios img {
	max-width: 300px !important;
	overflow: hidden;
}

/* Meet Us Slider */
.slider-gallery .chrisad-slider-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
	object-position: 50% 20%;
}
.slider-gallery .chrisad-slider-img .wpb_wrapper {
    display: block;
    position: relative;
    height: 0;
	padding-bottom: 30%;
    /*padding-bottom: 55.91%;*/
}

/* Font Awesome Vertical Align */
#ico, #ico:before {
    vertical-align: middle;
}

/* Menu Submenu */
@media (min-width: 1023.02px) {
	.nav .menu > .menu-item-has-children > .sub-menu {
		z-index: 9999 !important;
	}
}



@media (max-width: 1090px) and (min-width: 1024px) {
	.hero {
			padding: 210px 0 58px !important;
		}
}


@media (max-width: 1069px) {
	.doctor__bio__section img {
		max-width: 250px;
		height: auto;
	}
}

@media (max-width: 1023px) {
	/*Increase the size of the logo on tablet and mobile so it's legible*/
	.header-alt .header__logo {
		max-width: 200px !important;
	}
	.hero {
		padding: 120px 0 58px !important;
	}
	.main.limited-width {
		margin: 20px auto;
	}
	.nav li, .nav a {
		font-size: 1.1rem;
	}
	.nav .sub-menu li, .nav .sub-menu a, .home .nav .sub-menu li, .home .nav .sub-menu a {
		font-size: 0.9rem;
	}

	.hero:before {
		opacity: inherit !important;
	}
	.hero img {
		margin-bottom: 30px !important;
	}
	.chrisad-content-image-block .text__column .vc_column-inner {
		padding: 60px 0!important;
	}
}

@media (max-width: 905px) {
	.doctor__bio__section img {
		max-width: 150px;
		height: auto;
	}
}

@media (max-width: 767px), screen and (max-width: 812px) and (orientation: landscape) {
	.chrisad-content-image-block .text__column .vc_column-inner {
		padding: 45px 0!important;
	}
	.chrisad-content-image-block .text__column .vc_column-inner {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-orient: horizontal!important;
		-webkit-box-direction: normal!important;
		-ms-flex-direction: row!important;
		flex-direction: row!important;
		-webkit-box-pack: center!important;
		-ms-flex-pack: center!important;
		justify-content: center!important;
		-webkit-box-align: center!important;
		-ms-flex-align: center!important;
		align-items: center!important;
		min-height: 300px;
	}
}

@media only screen and (max-width: 768px) {
	.reverse-order-tablet-mobile {
    display: flex !important;
    flex-direction: column-reverse;
  }
	.reverse-order-tablet-mobile .wpb_content_element {
		margin-bottom: 0 !important;
	}
}

@media (max-width: 767px) {
	.alignleft {
		margin: 0 10px 0 0 !important;
	}
	.hero img {
    margin-bottom: 30px !important;
	}
}


@media (max-width: 655px) {
	.alignleft {
		margin: 0 auto 30px !important;
		float: none !important;
		text-align: center !important;
		display: block !important;
	}
	.cleanings-heading, .home h2.cleanings-heading {
		margin-bottom: 0 !important;
		text-align: center;
	}
	.offers-headline-cta {
		font-size: 2.3rem !important;
	}
}

@media (max-width: 500px) {
	.meet__us__doctors {
		display: block;
		margin: 0 auto
	}
	.doctor__bio__section {
		margin: 3% auto;
	}
	.doctor__bio__section img {
		max-width: 100%;
		height: auto;
	}
}