/*
Theme Name:     Cornerstone
Theme URI:
Description:    Astra child theme.
Author:         Me
Author URI:
Template:       astra
Version:        0.1.0
*/


/*
 * ---------------------------------------------------------------------------------------------------------------------
 * Theme Overrides / Global
 * =====================================================================================================================
 */

:root {
	--c-red: #cb3433;
	--c-bg-grey: #f3f8fb;
	--c-bg-light-grey: #fbf8f9;
	--c-white: #ffffff;
	--c-black: #000000;

	--fw-bold: 700;

	--ff-heading: 'Baloo 2', Verdana, Arial, sans-serif;
}

a.uabb-button {
	border-radius: 2em !important;
}

.cfp-nav__book-btn {
	background-color: var(--c-red);
	padding: 0 0.5em;
	border-radius: 2em;
	font-weight: var(--fw-bold);
}
.cfp-nav__book-btn a.menu-link {
	color: var(--c-white) !important;
}

header.entry-header {
	display: none !important;
}

nav.post-navigation {
	display: none;
}

.cfp-nav__btn .menu-link {
	background-color: var(--c-red);
	border-radius: 2em;
	color: var(--c-white) !important;
}
.cfp-nav__btn .menu-text {

}

a.fl-button {
	border-radius: 2em !important;
}

.single.ast-page-builder-template .entry-header + .entry-content {
	margin-bottom: 0 !important;
}


.uabb-image-content img {
	border-radius: 1em !important;
}


/*
 * ---------------------------------------------------------------------------------------------------------------------
 * Home
 * =====================================================================================================================
 */


.cfp-infobox__home-hero .uabb-infobox-title-prefix,
.cfp-infobox__home-hero .uabb-infobox-title {
	color: var(--c-white) !important;
}

.cfp-infobox__home-services .uabb-infobox-title {
	font-size: 1.35rem !important;
	line-height: 2rem !important;
}

.cfp-home__hero-btn a.fl-button {
	border-radius: 2em !important;
	border: 1px solid var(--c-white);
	font-weight: var(--fw-bold);
}
.cfp-home__hero-btn i.fl-button-icon {
	font-weight: var(--fw-bold);
}

.cfp-infobox__home-hero {

}

.cfp-row__bg-grey {
	background-color: var(--c-bg-grey) !important;
}

.cfp-home__boxes .fl-col-content {
	background-color: var(--c-red);
	padding: 1em 0 !important;
	margin-bottom: 0.5em !important;
}

.cfp-infobox__home-boxes .uabb-infobox-title {
	font-family: var(--ff-heading) !important;
	font-size: 3rem !important;
	line-height: 1 !important;
	color: var(--c-white) !important;
}
.cfp-infobox__home-boxes .uabb-infobox-text p,
.cfp-infobox__home-boxes .uabb-infobox-text li {
	font-size: 1.125rem !important;
	line-height: 1.5rem !important;
	color: var(--c-white) !important;
}
.cfp-infobox__home-boxes a.uabb-button {
	border: 1px solid var(--c-white) !important;
	background-color: transparent !important;
	padding: 0.5em 2em !important;
}
.cfp-infobox__home-boxes a.uabb-button .uabb-button-text {
	color: var(--c-white) !important;
	font-size: 1rem !important;
	line-height: 1 !important;
}


.cfp-home__boxes-two-thirds .fl-col-content {
	background-color: var(--c-bg-light-grey);
	padding: 1em 0 !important;
	margin-bottom: 0.5em !important;
}


.cfp-infobox__home-services .uabb-infobox-title {
	margin-top: 1em !important;
	color: var(--c-red) !important;
}

.cfp-infobox__two-thirds .uabb-infobox-title {
	color: var(--c-red) !important;
}
.cfp-infobox__two-thirds a.uabb-button {
	border: 1px solid var(--c-red) !important;
	background-color: var(--c-red) !important;
	padding: 0.5em 2em !important;
}
.cfp-infobox__two-thirds a.uabb-button .uabb-button-text {
	color: var(--c-white) !important;
	font-size: 1rem !important;
	line-height: 1 !important;
}




/*
 * ---------------------------------------------------------------------------------------------------------------------
 * Content
 * =====================================================================================================================
 */


.uabb-blog-posts img {
	border-top-right-radius: 1em !important;
	border-top-left-radius: 1em !important;
}
.uabb-blog-posts .uabb-blog-posts-shadow {
	border-radius: 1em !important;
}



.single-doctors .uabb-infobox-title-prefix {
	font-size: 1.875rem !important;
	line-height: 2.25rem !important;
}
.single-doctors .uabb-infobox-title {
	font-size: 1.125rem !important;
	line-height: 1.75rem !important;
}

.cfp-icon__top .fl-icon {
	vertical-align: top;
	padding-top: 0.25em;
}




.cfp-cta .fl-row-content-wrap {
	background: url('/wp-content/uploads/2023/07/cfp_cta-blob-img-001.png') no-repeat bottom left, var(--c-red);
	background-size: 55%;
}
.cfp-cta .uabb-infobox-title-prefix,
.cfp-cta .uabb-infobox-title {
	color: var(--c-white) !important;
}


.cfp-infobox__text-center .uabb-infobox-title-prefix,
.cfp-infobox__text-center .uabb-infobox-title,
.cfp-infobox__text-center .uabb-infobox-text p,
.cfp-infobox__text-center .uabb-infobox-text li {
	text-align: center;
}

.cfp-content__hero {
	background-color: var(--c-red);
}
.cfp-infobox__hero-title .uabb-infobox-title-prefix,
.cfp-infobox__hero-title .uabb-infobox-title {
	color: var(--c-white) !important;
	padding: 1em 0;
}

.cfp-icons__contact .fl-icon i {
	color: var(--c-red);
}
.cfp-icons__contact .fl-icon-text a {
	color: var(--c-red);
}


.cfp-infobox__content a.uabb-button {
	background-color: var(--c-red) !important;
}


.cfp-icons__hours .fl-icon {
	vertical-align: top;
}


/*
 * ---------------------------------------------------------------------------------------------------------------------
 * Gravity Forms
 * =====================================================================================================================
 */

.gfield h2 {
	color: var(--c-red) !important;
}

.gform_button {
	background-color: var(--c-red) !important;
	border-radius: 2em !important;
}





/*
 * ---------------------------------------------------------------------------------------------------------------------
 * ---------------------------------------------------------------------------------------------------------------------
 * Media Query
 * =====================================================================================================================
 * =====================================================================================================================
 */

/* Small phone */
@media only screen and (max-width: 50em)
{
	.cfp-cta .fl-row-content-wrap {
		background: var(--c-red);
	}
	.cfp-cta .uabb-infobox-title-prefix {
		font-size: 2.25rem;
		line-height: 2.5rem;
		text-shadow: 1px 1px var(--c-black);
	}

	.cfp-home__hero .fl-row-content-wrap {
		/*background: url('/wp-content/uploads/2023/07/Banner-blob-with-hero-image_crop-001.png') no-repeat top right, var(--c-red);*/
		background-color: var(--c-red);
		background-size: 100%;
	}

	.cfp-infobox__home-hero .uabb-infobox-title-prefix {
		font-size: 2.25rem;
		line-height: 2.5rem;
		text-shadow: 1px 1px var(--c-black);
		color: var(--c-white) !important;
	}

	.cfp-infobox__content .uabb-infobox-title-prefix {
		font-family: var(--ff-heading) !important;
		font-size: 2.25rem !important;
		line-height: 2.5rem !important;
		color: var(--c-red);
	}

	.fl-builder-content .cfp-img__fullwidth-mobile {
		width: 100% !important;
	}
}



/* Low DPI Laptop (~1280px) */
@media only screen and (min-width: 50.1em)
{
	.cfp-home__hero {
		min-height: 50vh;
	}
	.cfp-home__hero .fl-row-content-wrap {
		background: url('/wp-content/uploads/2023/07/Banner-blob-with-hero-image_crop-001.png') no-repeat 100% 0, var(--c-red);
		background-size: 55%;
	}

	.cfp-infobox__home-hero {
		margin-top: 2em;
	}
	.cfp-home__hero-btn {
		margin-bottom: 2em;
	}

	.cfp-infobox__home-hero .uabb-infobox-title-prefix {
		font-size: 5rem;
		line-height: 1;
		text-shadow: none;
	}

	.cfp-cta .fl-row-content-wrap {
		background: url('/wp-content/uploads/2023/07/cfp_cta-blob-img-001.png') no-repeat bottom left, var(--c-red);
		background-size: 50%;
		min-height: 25em;
	}
	.cfp-cta .uabb-infobox-title-prefix {
		font-size: 3rem;
		line-height: 1;
		text-shadow: 1px 1px var(--c-black);
	}
	.cfp-cta .uabb-infobox-title {
		font-size: 2.5rem !important;
		line-height: 1 !important;
	}



	.cfp-infobox__content .uabb-infobox-title-prefix {
		font-family: var(--ff-heading) !important;
		font-size: 3rem !important;
		line-height: 1 !important;
		color: var(--c-red);
		margin-bottom: 0.5em !important;
	}
	.cfp-infobox__content h3.uabb-infobox-title-prefix {
		font-family: var(--ff-heading) !important;
		font-size: 2.25rem !important;
		line-height: 2.5rem !important;
		color: var(--c-red);
		margin-bottom: 0.5em !important;
	}

	.cfp-infobox__hero-title .uabb-infobox-title-prefix,
	.cfp-infobox__hero-title .uabb-infobox-title {
		font-size: 3rem !important;
		line-height: 1 !important;
	}
}





/* HD Monitor (~1920px) */
@media only screen and (min-width: 115em)
{
	.cfp-home__hero .fl-row-content-wrap {
		background: url('/wp-content/uploads/2023/07/Banner-blob-with-hero-image_crop-001.png') no-repeat 100% 0, var(--c-red);
		background-size: 55%;
	}

	.cfp-infobox__home-hero {
		margin-top: 8em;
	}
	.cfp-home__hero-btn {
		margin-bottom: 5em;
	}

	.cfp-cta .fl-row-content-wrap {
		background: url('/wp-content/uploads/2023/07/cfp_cta-blob-img-001.png') no-repeat 20% 100%, var(--c-red);
		background-size: 37%;
	}

	.cfp-infobox__hero-title .uabb-infobox-title-prefix,
	.cfp-infobox__hero-title .uabb-infobox-title {
		font-size: 5rem !important;
		line-height: 1 !important;
		padding: 0;
	}
}





/* QHD Monitor (~2560px) */
@media only screen and (min-width: 160em)
{
	.cfp-home__hero .fl-row-content-wrap {
		background: url('/wp-content/uploads/2023/07/Banner-blob-with-hero-image_crop-001.png') no-repeat 100% 0, var(--c-red);
		background-size: 42%;
	}
}


