/*
 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
*/

/*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: 28px !important;
	margin-bottom: 0.665em !important;
}
.offers-headline-cta {
	font-size: 90px !important;
    margin-bottom: 0 !important;
	line-height: 1.2 !important;
	letter-spacing: -.03em !important;
}
.fineprint-cta {
	font-size: 17px !important;
}
.hours-cta {
	line-height: 1.2 !important;
	font-size: 60px !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;
}
/* Heading Styling */
.home h2 {
	font-size: 60px !important;
}
h1, .h1 {
	font-size: 47px !important;
}
h2, .h2, .section-contacts h2 {
	font-size: 42px !important;
}
.subhead {
	font-size: 28px !important;
}
.cleanings-heading, .home h2.cleanings-heading {
	font-size: 90px !important;
	margin-bottom: 0 !important;
	text-align: center;
}
.hero h4 {
    font-size: 28px !important;
}

.hero {
	padding: 210px 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;
}

/**/
.section-contacts .section__address a, .section-contacts .section__entry {
	font-size: inherit !important;
}

/* 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;
}

/*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;
}

/**/
ul.services-list {
	webkit-columns: 2;
    -moz-columns: 2;
    columns: 2;
    -webkit-column-gap: 40px;
    -moz-column-gap: 40px;
    column-gap: 40px;
}
	
/* Make all 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;
}
.gform_submission_error {
	font-size: 17px !important;
}
.gfield textarea::-webkit-input-placeholder, .gform_body .textarea {
	padding: 20px !important;
}
.gform_footer.left_label	 {
	padding: 10px !important;
}
.gfield_label {
	font-size: 22px !important;
}
.ginput_container_text, .ginput_container_date, .ginput_container_select, .ginput_container_textarea, .ui-datepicker-header .ui-datepicker-header {
	font-size: 22px !important;
}
.ui-datepicker-month, .ui-datepicker-year, .ui-datepicker-header .ui-datepicker-header, .ui-state-default {
	font-size: 19px !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;
    font-size: 26px !important;
	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;
	font-size: 24px !important;
    line-height: 1.33 !important;
}
.article-single p:first-child:first-letter {
    font-weight: bold;
    font-size: 190%;
}
.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: 130% !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: #008fb4 !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;
}


/* 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;
    pointer-events: none;
    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: 1124px) {
	.offers-headline-cta, .hours-cta {
		font-size: 75px !important;
	}
}

@media (max-width: 1024px) {
	/*Increase the size of the logo on tablet and mobile so it's legible*/
	.header-alt .header__logo {
		max-width: 200px !important;
	}
	.hero {
		padding-top: 140px !important;
	}
	.main.limited-width {
		margin: 20px auto;
	}
}

@media (max-width: 1023px) {
	.hero:before {
		opacity: inherit !important;
	}
	.hero img {
    margin-bottom: 30px !important;
	}
}

@media (max-width: 920px) {
	.gfield_label {
	font-size: 19px !important;
	}
	.ginput_container_text, .ginput_container_date, .ginput_container_select, .ginput_container_textarea, .ui-datepicker-header .ui-datepicker-header {
		font-size: 22px !important;
	}
	.hero .eighty-percent {
		width: 100% !important;
	}
}


@media (max-width: 767px) {
	.alignleft {
		margin: 0 10px 0 0 !important;
	}
	body {
		font-size: 18px;
		line-height: 1.23;
	}
	h1, .h1, .home h2 {
		font-size: 45px !important;
		letter-spacing: -.03em;
		max-width: 86%;
		margin: 0 auto;
	}
	.hero img {
    margin-bottom: 0px !important;
	}
	/*H2 Styling*/
	h2, .h2, .section-contacts h2 {
		font-size: 32px !important;
	}
	/*Subheading Styling*/
	.subhead {
		font-size: 24px !important;
	}
	.offers-headline-cta, .hours-cta {
		font-size: 45px !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 {
		font-size: 60px !important;
		margin-bottom: 0 !important;
		text-align: center;
	}
}

@media (max-width: 368px) {
.cleanings-heading, .home h2.cleanings-heading {
    font-size: 50px !important;
}
}