/*!
Theme Name: nycpros
Theme URI: http://underscores.me/
Author: stgmf
Author URI: http://tgmf.st
Description: Theme for NYC Prostodontics
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: nycpros
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

nycpros is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Variables
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Variables
--------------------------------------------------------------*/

:root {
	--primary: #f4881e;
	--dark-gray: #353535;
	--footer-bg: #414040;
	--light-gray: #ededed;
	--gray: #d6d6d6;
	--container-wide-width: 107em;
	--container-width: 89.5em;
	--container-narrow-width: 77em;
	--container-full: none;
	--header-height-desktop: 18em;
	--header-height-mobile: 8em;
	--ease: all 0.3s ease;
	--min-paragraph-size: 16px;
	--min-font-size: 14px;
}

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
	 ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	overflow: hidden scroll;
}

/* Sections
	 ========================================================================== */
/**
 * Remove the margin in all browsers.
 */

body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
	display: block;
}

/* main > *:not(article) > *:last-child {
	padding-bottom: 2.5em;
}

main > *:not(article) > *:last-child {
	padding-bottom: 10em;
} */

.wpb-content-wrapper>*:last-child,
#secondary {
	padding-bottom: 2.5em;
}

.wpb-content-wrapper>*:last-child,
#secondary {
	/*padding-bottom: 10em;*/

	padding-bottom: 9em;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/**
 * Fix WPBakery margins
 */

.justify-content-between:before,
.justify-content-between:after {
	content: none;
}

.vc_section {
	margin: 0;
	margin-left: 0;
	margin-right: 0;
}

@media screen and (min-width: 768px) {
	/* .header-padding {
		padding-top: var(--header-height);
	}

	.admin-bar .header-padding {
		padding-top: calc(var(--header-height) + 32px);
	}

	main > *:not(article):first-child {
		padding-top: var(--header-height);
	}

	.admin-bar main > *:not(article):first-child {
		padding-top: calc(var(--header-height) + 32px);
	} */
}

/* Grouping content
	 ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
	font-family: monospace, monospace;

	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */

a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
	font-family: monospace, monospace;

	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */

small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */

img {
	border-style: none;
}

/* Forms
	 ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;

	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */

legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;

	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
	-webkit-appearance: textfield;

	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/**
 * Correct WPBakery paddings and margins
 */

.vc_section.vc_section-has-fill,
.vc_section.vc_section-has-fill+.vc_row-full-width+.vc_section,
.vc_section.vc_section-has-fill+.vc_section {
	padding-top: 2.5em;
}

.vc_col-has-fill>.vc_column-inner,
.vc_row-has-fill+.vc_row-full-width+.vc_row>.vc_column_container>.vc_column-inner,
.vc_row-has-fill+.vc_row>.vc_column_container>.vc_column-inner,
.vc_row-has-fill>.vc_column_container>.vc_column-inner {
	padding-top: 0;
}

.wpb_button,
.wpb_content_element,
ul.wpb_thumbnails-fluid>li {
	margin-bottom: initial;
}

.dhvc-form-inner {
	margin-bottom: 0;
}

@media screen and (min-width: 768px) {

	.wpb_column.container>.vc_column-inner,
	.wpb_column.container-wide>.vc_column-inner,
	.wpb_column.container-narrow>.vc_column-inner,
	.wpb_column.container-full>.vc_column-inner {
		padding: 0;
	}

	.vc_section.vc_section-has-fill,
	.vc_section.vc_section-has-fill+.vc_row-full-width+.vc_section,
	.vc_section.vc_section-has-fill+.vc_section {
		padding-top: 10em;
	}
}

/* Interactive
	 ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */

template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
	display: none;
}

/* Box sizing

--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.

@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */

*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Colors
--------------------------------------------- */

.bg-light-gray,
.bg-light-grey {
	background-color: var(--light-gray) !important;
}

.bg-gray,
.bg-grey {
	background-color: var(--gray) !important;
}

.bg-dark-gray,
.bg-dark-grey {
	background-color: var(--dark-gray) !important;
}

.bg-primary {
	background-color: var(--primary) !important;
}

/* .bg-dark-gray + .bg-dark-gray, .bg-dark-grey + .bg-dark-grey, .bg-dark-gray + .bg-dark-grey, .bg-dark-grey + .bg-dark-gray,
.bg-light-gray + .bg-light-gray, .bg-light-grey + .bg-light-grey, .bg-light-gray + .bg-light-grey, .bg-light-grey + .bg-light-gray,
.bg-gray + .bg-gray, .bg-grey + .bg-grey, .bg-gray + .bg-grey, .bg-grey + .bg-gray {
	padding-top: 0;
} */

.bg-blend {
	background-blend-mode: saturation;
}

.text-primary {
	color: var(--primary) !important;
}

.text-primary:hover,
a:hover .text-primary {
	color: var(--dark-gray) !important;
}

.bg-dark .text-primary:hover,
.bg-dark a:hover .text-primary {
	color: #fff !important;
}

.bg-light *:not(.bg-dark) .text-primary:hover,
.bg-light *:not(.bg-dark) a:hover .text-primary {
	color: var(--dark-gray) !important;
}

.text-white {
	color: white !important;
}

.hover-primary:hover {
	color: var(--primary) !important;
}

.hover-dark-gray:hover,
.hover-dark-grey:hover {
	color: var(--dark-gray) !important;
}

.hover-white:hover {
	color: #fff !important;
}

.bg-dark {
	color: white !important;
}

.bg-light {
	color: var(--dark-gray) !important;
}

/* Typography

--------------------------------------------- */

body,
button,
input,
select,
optgroup,
textarea {
	color: #353535;

	font-family: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
		Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;

	font-size: 100%;

	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;

	/*word-break: break-word;*/
}

p {
	font-size: max(var(--min-font-size), 1em);

	margin-bottom: 1.5em;
}

li {
	font-size: max(var(--min-font-size), 1em);
}

ul li:not(:last-child) {
	margin-bottom: 5px;
}

li p {
	font-size: 1em;
}

a {
	color: #353535;

	text-decoration: none;
}

.bg-dark a {
	color: #fdfdfd;
}

.bg-light a {
	color: var(--dark-gray);
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;

	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

.sans-serif {
	font-family: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
		Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* Freight Big Pro for headings */

.serif {
	font-family: "freight-big-pro", serif;
}

h2 {
	font-family: "freight-big-pro", serif;
	font-size: 3.5em;
	font-weight: 300;
	line-height: 0.9;
	margin: 0;
	text-transform: capitalize;
}

h3 {
	margin: 0;
}

.section-content {
	z-index: 1;
}

.section-content p {
	margin-bottom: 1em;
}

.section-content p,
.section-content ul,
.wpb_content_element p,
.wpb_content_element ul {
	/*font-size: max(var(--min-font-size), 1.125em);*/
	font-size: 1.25rem;
	line-height: 2rem;
	font-weight: 400;
}

p:last-child,
.section-content p:last-child,
.wpb_content_element p:last-child,
.wpb_content_element ul:last-child {
	margin-bottom: 0;
}

.wpb_content_element p {
	margin: 0 0 10px;
}

.section-content ul {
	margin-left: 0;
}

.section-content ul>li {
	margin-bottom: 1em;
}

/* Geologica for specific elements, you can define as needed */

.geo-class {
	font-family: "Geologica", sans-serif;
}

.text-center {
	text-align: center;
}

@media screen and (min-width: 768px) {
	h2 {
		font-size: 6.25em;
	}

	.bigger-title h2 {
		font-size: 8.5rem;
		line-height: 8rem;
	}

}

/* Elements
--------------------------------------------- */

body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li>ul,
li>ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

@media screen and (min-width: 768px) {
	body {
		font-size: clamp(0.5em, 0.833333vw, 2em);
	}
}

/* Links
--------------------------------------------- */

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
	background: var(--primary) 0% 0% no-repeat padding-box;
	box-shadow: 0px 10px 10px #12121226;
	opacity: 1;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

.btn-primary,
.vc-btn-primary button,
.vc-btn-primary .button.dhvc-form-submit,
.vc-btn-primary .vc_general.vc_btn3,
.button.dhvc-form-submit {
	background: var(--primary);
	color: #ffffff;
	padding: 0.5em 1em;
	border: none;
	border-radius: 0;
	text-transform: uppercase;
	text-decoration: none;
	text-align: center;
	font-weight: 500;
	font-size: 1.25em;
	line-height: 2;
	transition: var(--ease);
	cursor: pointer;
	display: inline-block;
	box-shadow: 0px 0.5em 0.5em #12121226;
	transform: translate(0);
	min-width: 10.4em;
	height: auto;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary button:hover,
.btn-primary button:focus,
.vc-btn-primary button.dhvc-form-submit:hover,
.vc-btn-primary button.dhvc-form-submit:focus,
.vc-btn-primary .vc_general.vc_btn3:hover,
.vc-btn-primary .vc_general.vc_btn3:focus,
.vc-btn-primary .vc_general.vc_btn3:hover .button.dhvc-form-submit:focus,
.button.dhvc-form-submit:hover {
	transform: scale(1.025) translateY(-0.1em);
	box-shadow: 0 0.5em 0.5em 0.25em #12121213;
	outline: none;
	text-decoration: none;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

.vc_tta-title-text {
	font-weight: 300;
	font-size: 1.15em;
	line-height: 1.15em;
}

.close-button {
	cursor: pointer;
}

/*--------------------------------------------------------------

# Layouts

--------------------------------------------------------------*/

section {
	padding-top: 2.5em;
}

.wpb-content-wrapper .vc_row:not(.bg-fill, .hero)+.vc_row.bg-fill,
.wpb-content-wrapper .vc_section:not(.bg-fill, .hero)+.vc_row.bg-fill,
.wpb-content-wrapper .vc_row:not(.bg-fill, .hero)+.vc_section.bg-fill,
.wpb-content-wrapper .vc_section:not(.bg-fill, .hero)+.vc_section.bg-fill {
	margin-top: 2.5em;
}

.bg-fill section,
section.bg-fill {
	padding-bottom: 2.5em;
}

.container-narrow,
.container,
.container-wide,
.container-full {
	width: 100%;
	max-width: var(--container-width);
	margin: auto;
	padding-right: 2em;
	padding-left: 2em;
	float: none !important;
}

.container-narrow {
	max-width: var(--container-narrow-width);
}

.container-wide {
	max-width: var(--container-wide-width);
}

.container-full {
	max-width: var(--container-full);
}

.flex {
	display: flex;
}

@media screen and (min-width: 768px) {
	section {
		padding-top: 10em;
	}

	section.smaller-padding {
		padding-top: 4em !important;
	}

	.wpb-content-wrapper .vc_row:not(.bg-fill, .hero)+.vc_row.bg-fill,
	.wpb-content-wrapper .vc_section:not(.bg-fill, .hero)+.vc_row.bg-fill,
	.wpb-content-wrapper .vc_row:not(.bg-fill, .hero)+.vc_section.bg-fill,
	.wpb-content-wrapper .vc_section:not(.bg-fill, .hero)+.vc_section.bg-fill {
		margin-top: 10em;
	}

	.bg-fill section,
	section.bg-fill {
		padding-bottom: 10em;
	}

	.container-narrow,
	.container,
	.container-wide,
	.container-full {
		padding-right: 1.5em;
		padding-left: 1.5em;
	}

	.overlapping {
		display: flex;
	}

	.overlapping .vc_col-sm-6 {
		width: calc(50% + 1em);
		margin-right: -1em;
	}

	.overlapping .vc_col-sm-6.order-md-1,
	.overlapping .vc_col-sm-6:last-child:not(.order-md-0) {
		margin-right: 0;
		margin-left: -1em;
	}

	.overlapping .vc_col-sm-6:first-child .not-really-overlapping,
	.overlapping .vc_col-sm-6.order-md-0 .not-really-overlapping {
		padding-right: 6em;
	}

	.overlapping .vc_col-sm-6:last-child:not(.order-md-0) .not-really-overlapping,
	.overlapping .vc_col-sm-6.order-md-1 .not-really-overlapping {
		padding-left: 6em;
	}

	.overlapping .vc_col-sm-6:first-child .vc_column-inner,
	.overlapping .vc_col-sm-6.order-md-0 .vc_column-inner {
		padding-right: 0;
	}

	.overlapping .vc_col-sm-6:last-child:not(.order-md-0) .vc_column-inner,
	.overlapping .vc_col-sm-6.order-md-1 .vc_column-inner {
		padding-left: 0;
	}

	@media (min-width: 768px) {
		.mw-md-50 {
			max-width: 50% !important;
		}

		.mw-md-66 {
			max-width: 66.66666667% !important;
		}
	}
}

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/** Header
--------------------------------------------- */

.site-header {
	color: #fff;
	background: var(--dark-gray);
	transition: var(--ease);
	overflow: hidden;
	position: sticky;
	top: 0;
	width: 100%;
	z-index: 1000;
}

.relative-wrapper {
	position: relative;
}

nav.fade-in {
	opacity: 1;
}

.site-header.toggled {
	top: 0 !important;
	opacity: 1 !important;
	z-index: 1000;
	overflow: auto;
	height: 100vh !important;
}

.header-top {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	padding: 0;
}

.site-branding {
	width: 100%;
	display: flex;
	justify-content: center;
	border-bottom: solid 1px #707070;
	padding: 0.625em 0;
}

.site-branding .custom-logo-link {
	display: flex;
	align-items: center;
}

.custom-logo-link .mobile-logo {
	max-width: 10em;
}

.custom-logo-link .custom-logo {
	display: none;
}

.custom-logo-link .tagline {
	margin-left: 0.625em;
	font-style: italic;
}

.header-contact {
	font-size: var(--min-font-size);
	letter-spacing: 0.075em;
	font-weight: 500;
	margin-top: 1em;
	transition: var(--ease);
}

.header-contact a {
	color: #fff;
	text-decoration: none;
	text-transform: uppercase;
}

.header-contact a:hover {
	color: var(--primary);
}

.header-contact a.email-link {
	color: var(--primary);
}

.header-contact a.email-link:hover {
	color: #fdfdfd;
}

.header-contact .separator {
	margin: 0 0.75em;
}

.header-backdrop {
	z-index: -1;
	height: var(--header-height-mobile);
	width: 100%;
	top: 0;
}

@media screen and (min-width: 768px) {
	.site-header {
		position: fixed;
		padding-top: 2.5em;
		height: var(--header-height-desktop);
		background: transparent;
	}

	.site-header.scrolled {
		padding-top: 1em;
		height: 6em;
		background: var(--dark-gray);
	}

	.header-backdrop {
		height: var(--header-height-desktop);
	}

	.admin-bar .header-backdrop {
		height: calc(var(--header-height-desktop) + 32px);
	}

	.vc_editor .site-header {
		position: relative;
	}

	.site-header.toggled {
		overflow: auto;
		height: 62vh;
		position: fixed;
		background: var(--dark-gray);
	}

	.admin-bar .site-header.toggled {
		margin-top: 32px;
		height: calc(62vh - 32px);
	}

	.header-top {
		flex-direction: row;
		align-items: start;
		padding: 0 1.25em;
	}

	.scrolled .header-top {
		/* align-items: center; */
	}

	.site-branding {
		width: 3em;
		display: flex;
		justify-content: start;
		border-bottom: none;
		padding: 0;
	}

	.site-branding .custom-logo-link img {
		max-width: 8.25em;
		display: block;
	}

	.scrolled .site-branding .custom-logo-link img {
		max-width: none;
		height: 4em;
		width: auto;
	}

	.header-contact {
		font-size: 1.5em;
		margin-top: 1.6em;
	}

	.scrolled .header-contact {
		margin-top: 0.583em;
	}

	.toggled .header-contact {
		opacity: 0;
	}
}

/* Navigation

--------------------------------------------- */

.main-navigation {
	width: 100%;
}

.main-navigation>.d-flex {
	justify-content: center;
}

.main-menu-wrapper {
	display: grid;
	grid-template-rows: 0fr;
	transition: var(--ease);
}

.main-navigation-columns {
	width: 100vw;
	justify-content: space-between;
	position: relative;
	top: 2em;
	overflow: hidden;
	height: 0;
	gap: 1.25em;
	margin-bottom: 1.25em;
	transition: var(--ease);
	background-color: var(--dark-gray);
}

.toggled .main-menu-wrapper {
	grid-template-rows: 1fr;
}

.toggled .main-navigation-columns {
	height: auto;
}

.main-navigation .menu-section {
	width: 100%;
}

.main-navigation .menu-section h2 {
	font-family: "Figtree";
	font-size: 1.875em;
	font-weight: 300;
	letter-spacing: 0.02em;
	line-height: 2.25;
	color: #fdfdfd;
	text-transform: uppercase;
	display: inline-block;
	border-bottom: solid var(--primary);
}

.main-navigation ul {
	list-style: none;
	margin: 1em 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover>ul,
.main-navigation ul ul li.focus>ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover>ul,
.main-navigation ul li.focus>ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation li,
.footer-column li {
	font-size: 1.25rem;
	line-height: 2rem;
}

.main-navigation li,
.footer-column li,
.main-navigation li a,
.footer-column li a {
	color: white;
}

.main-navigation li a,
.footer-column li a {
	display: block;
	text-decoration: none;
}

.main-navigation a:hover {
	color: var(--primary);
}

.menu-toggle {
	display: flex;
    align-items: center;
	cursor: pointer;
	border: none;
	background: none;
	box-shadow: none;
	padding: 1em 0.25em;
	position: absolute;
	margin-top: 1em;
	right: 1em;
	transition: var(--ease);
}

.menu-toggle-text {
	display: none;
    color: white;
    text-transform: uppercase;
    margin-right: 1em;
}

.menu-toggle .hamburger-icon {
	/* Styling for the hamburger icon */
	display: flex;
	width: 1.625em;
	height: 0.125em;
	background: #fff;
	position: relative;
}

.menu-toggle .hamburger-icon::before,
.menu-toggle .hamburger-icon::after {
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	background: #fff;
	top: -0.5em;
}

.menu-toggle .hamburger-icon::after {
	top: auto;
	bottom: -0.5em;
}

.menu-toggle[aria-expanded="true"] .hamburger-icon {
	transform: rotate(135deg);
}

.menu-toggle[aria-expanded="true"] .hamburger-icon::before {
	transform: rotate(90deg);
	top: 0;
}

.menu-toggle[aria-expanded="true"] .hamburger-icon::after {
	transform: rotate(90deg);
	bottom: 0;
}

/* Transition for smooth animation */

.menu-toggle .hamburger-icon,
.menu-toggle .hamburger-icon::before,
.menu-toggle .hamburger-icon::after {
	transition: transform 0.3s ease;
}

.main-navigation-footer {
	background-color: var(--footer-bg);
	width: 100%;
	display: none;
	/* Hide on small screens */
	top: 100vh;
	height: 0;
	position: fixed;
	transition: var(--ease);
}

.main-navigation-footer .container-narrow {
	display: none;
	color: #fdfdfd;
	padding: 1.5em;
	justify-content: space-between;
	gap: 1.25em;
}

.footer-column {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 100%;
	gap: 1.25em;
}

.footer-column h4 {
	margin: 0 0 0.3em;
	color: var(--primary);
	font-size: var(--min-font-size);
	text-transform: uppercase;
}

.footer-column p {
	line-height: 1.36;
	margin: 0;
}

.footer-column *:last-child {
	margin-bottom: 0;
}

.footer-column p,
.footer-column a {
	color: #fdfdfd;
	/* Light grey text for the content */
	text-decoration: none;
	/* Remove underline from links */
}

.footer-column a:hover,
.footer-column a:hover p {
	color: var(--primary);
}

.main-navigation-footer .footer-map img {
	max-width: 100%;
	height: auto;
}

.footer-column .social-icons {
	list-style: none;
	/* Remove default list styling */
	padding: 0;
	/* Remove default padding */
	display: flex;
	/* Display icons in a row */
	justify-content: start;
	/* Align icons to the start */
	gap: 1.75em;
	margin: 0;
}

.footer-column .social-icons li a {
	display: block;
	color: inherit;
	/* Use the parent color for the link */
}

.footer-column .social-icons li img {
	width: auto;
	height: 1.5em;
	vertical-align: middle;
	/* Align the icon nicely */
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

@media screen and (min-width: 768px) {
	.menu-toggle {
		margin-top: 2.375em;
		right: auto;
		position: relative;
		width: 7.5em;
	}

	.menu-toggle-text {
		display: inline-block;
	}

	.scrolled .menu-toggle {
		margin-top: 0.875em;
	}

	.menu-toggle .hamburger-icon {
		width: 3em;
		height: 0.3125em;
	}

	.menu-toggle .hamburger-icon::before {
		top: -0.95em;
	}

	.menu-toggle .hamburger-icon::after {
		bottom: -0.95em;
	}

	.main-navigation-columns {
		width: calc(100% - 3em);
		position: fixed;
		height: auto;
		top: -100vh;
	}

	.toggled .main-navigation-columns {
		top: 4.5em;
	}

	.admin-bar .toggled .main-navigation-columns {
		top: calc(4.5em + 32px);
	}

	.main-navigation .menu-section h2 {
		font-size: 2.5em;
	}

	.main-navigation-footer {
		display: flex;
	}

	.toggled .main-navigation-footer {
		top: 62vh;
		height: 38vh;
	}

	.toggled .main-navigation-footer>div {
		display: flex;
	}

	.footer-column h4 {
		font-size: 1.4375em;
	}

	.footer-column p {
		font-size: max(var(--min-font-size), 1.375em);
	}

	.footer-column .social-icons {
		margin: 2em 0 0;
	}

	.comment-navigation .nav-next,
	.posts-navigation .nav-next,
	.post-navigation .nav-next {
		text-align: end;
	}
}

@media screen and (min-width: 1401px) {}

/* Posts and pages
--------------------------------------------- */

.sticky {
	display: block;
}

.post,
.page {
	margin: 0;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */

.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */

.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

.widget-nycpros-running-text {
	overflow: hidden;
	white-space: nowrap;
	/*padding-top: .75em;*/
	padding-top: 1.25em;
	font-size: 3.75em;
	color: var(--primary);
}

.widget-nycpros-running-text .running-text-wrapper {
	padding-right: 0.5em;
}

.widget-nycpros-running-text p {
	margin: 0;
}

.widget-nycpros-running-text p a {
	display: inline-block;
	position: relative;
	padding: 0.2em 0;
}

.widget-nycpros-running-text p a::after {
	content: "";
	position: absolute;
	bottom: 0.5em;
	left: 0;
	width: 100%;
	height: 0.075em;
	background-color: currentColor;
	opacity: 0;
	transition: opacity 300ms, transform 300ms;
}

.widget-nycpros-running-text p a:hover::after,
.widget-nycpros-running-text p a:focus::after {
	opacity: 1;

	transform: translate3d(0, 0.2em, 0);
}

.widget-nycpros-running-text p,
.widget-nycpros-running-text a {
	color: inherit;
}

@media screen and (min-width: 768px) {
	.widget-nycpros-running-text {
		font-size: 8.3125em;
		padding-bottom: 0.3em;
	}
}

/* Media
--------------------------------------------- */

.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */

.custom-logo-link {
	display: inline-block;
}

/* Captions

--------------------------------------------- */

.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

.wpb_single_image .vc_figure-caption {
	font-size: max(var(--min-font-size), 1.125em);
	margin-top: 1.5em;
}

@media screen and (min-width: 768px) {
	.wpb_single_image .vc_figure-caption {
		font-size: max(var(--min-paragraph-size), 1.5em);
		margin-top: 0.833333em;
	}
}

/* Galleries
--------------------------------------------- */

.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}
.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}
.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}
.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}
.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}
.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}
.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}
.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}
.gallery-caption {
	display: block;
}

/* Misc
--------------------------------------------- */

.section-label {
	color: var(--primary);
	font-size: max(var(--min-font-size), 0.625em);
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	margin: 0;
}

.wpb_content_element.section-label p {
	font-size: 1em;
	font-weight: 700;
}

#scrollToTop {
	font-size: var(--min-font-size);
	bottom: -100%;
	left: 2em;
	width: 6em;
	height: 6em;
	position: fixed;
	z-index: 50;
	border: none;
	outline: none;
	background-color: var(--primary);
	color: white;
	font-weight: bold;
	cursor: pointer;
	padding: 0.5em;
	border-radius: 50%;
	transition: var(--ease);
	box-shadow: 0px 0.5em 0.5em #12121226;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}

#scrollToTop span {
	margin-bottom: 1em;
}

#scrollToTop:hover {
	transform: scale(1.025) translateY(-0.1em);
	box-shadow: 0 0.5em 0.5em 0.25em #12121213;
	outline: none;
	text-decoration: none;
}

#fixedSideButton {
	position: fixed;
	top: 50vh;
	right: 0;
	transform: translate(calc(50% - 1.5em), -50%) rotate(90deg);
	transition: var(--ease);
	background-color: var(--dark-gray);
	color: var(--primary);
	font-size: var(--min-font-size);
	border: 0.125em solid var(--primary);
	padding: 1em 1.2em;
	cursor: pointer;
	text-transform: uppercase;
	font-weight: bold;
	z-index: 100;
	box-shadow: 0.625em -0.625em 0.625em #121212b3;
}

#fixedSideButton:hover {
	transform: scale(1.025) translate(calc(33% + 0.1em), -50%) rotate(90deg);
	box-shadow: 0.625em -0.625em 1.25em #121212b3;
	outline: none;
	text-decoration: none;
}

@media screen and (min-width: 768px) {
	#fixedSideButton {
		font-size: 1em;
	}
	#scrollToTop {
		font-size: 1em;
		left: 8.75em;
		width: 8em;
		height: 8em;
	}
	.section-label {
		font-size: max(var(--min-paragraph-size), 1.375em);
	}
}

.social-icons a i {
	font-size: 2rem;
}

.social-icons a:hover i {
	color: var(--primary);
}

/* Breadcrumbs
--------------------------------------------- */

.nycpros-breadcrumbs {
	position: relative;
	font-size: var(--min-font-size);
	margin-bottom: 0.5em;
	text-transform: uppercase;
	font-weight: 400;
	z-index: 1;
}

.nycpros-breadcrumbs a:hover {
	color: var(--primary);
}

@media screen and (min-width: 768px) {
	.nycpros-breadcrumbs {
		font-size: max(var(--min-paragraph-size), 1.375em);
	}
}

/* WPBakery Two columns
--------------------------------------------- */

.nycpros-two-columns .vc_row:not(:last-child) {
	margin-bottom: 2.5em;
}

@media screen and (min-width: 768px) {
	.nycpros-two-columns .vc_row:not(:last-child) {
		margin-bottom: 6.5em;
	}
}

/* Footer
--------------------------------------------- */

footer {
	padding: 2em 0;
}

footer.bg-dark {
	background-color: var(--footer-bg) !important;
}

.footer-widgets {
	gap: 1.5em;
}

footer .footer-column {
	gap: 1.5em;
}

footer .widget {
	margin-bottom: 0;
}

footer .widget.widget_text p {
	font-size: 2em;
	line-height: 1.25em;
	font-weight: 300;
	margin-top: 0;
}

footer .widget .wp-block-media-text {
	display: flex;
}

footer .widget .wp-block-media-text__media {
	max-width: 6.5em;
	width: -moz-available;
}

footer .widget .wp-block-media-text__media p {
	font-size: 1.875em;
}

@media screen and (min-width: 768px) {
	footer {
		padding: 7.1875em 0;
	}
	footer .footer-column {
		gap: 2em;
	}
	footer .widget .wp-block-media-text {
		flex-wrap: wrap;
	}
}

/* Inner Page Hero
--------------------------------------------- */

section.hero {
	display: flex;
	padding-top: 0;
	padding-bottom: 1em;
	justify-content: center;
}

.hero .hero-title {
	font-size: 3.5em;
	line-height: 1;
	font-weight: 300;
	justify-content: center;
	margin-top: 1.1rem;
	margin-bottom: 0.5em;
}

.hero .hero-title,
.hero .hero-title .d-flex {
	flex-direction: column;
	/* align-items: center; */
}

.hero .hero-title span {
	z-index: 1;
}

/*
.hero .hero-title h2 {
    font-size: .65em;
    line-height: 1em;
}
*/

.hero .hero-title h2 {
	font-size: 3.5rem;
	line-height: 3.5rem;
}

.hero.doctor-hero h1 {
	line-height: 2.5rem !important;
	margin: 1.25rem 0 0;
}

.hero.doctor-hero .hero-title h2 {
	font-size: 5rem;
	line-height: 5.5rem;
}

.hero-subtitle {
	margin-bottom: 0.6em;
}

.hero-subtitle p {
	margin: 0;
	font-size: 1.375em;
}

.hero-text {
	margin-bottom: 1.875em;
}

.hero-text p {
	line-height: 1.333333;
	font-size: 1.125em;
}

@media screen and (min-width: 768px) {
	.hero .hero-title {
		font-size: 7.5em;
		align-items: center;
		margin-bottom: .25em;
	}

	.hero .hero-title h2 {
		font-size: 4.65rem;
		line-height: 4.65rem;
	}

	.hero-subtitle p {
		font-size: 2em;
	}
	.hero-text p {
		line-height: 2;

		font-size: 1.5em;
	}
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/* WPBakery custom blocks icons
--------------------------------------------- */

.vc_element-icon.services_slider_bartag {
	background-image: url(./inc/wpbakery-blocks/services_slider.png);
}

.running_text_bartag.vc_element-icon {
	background-image: url(./inc/wpbakery-blocks/running_text.png);
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */

#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */

.alignleft {
	/*rtl:ignore*/
	float: left;
	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {
	/*rtl:ignore*/
	float: right;
	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

@media screen and (max-width: 767px) {
	.over-patient-stories {
		z-index: 50;
		position: relative;
	}
}

/* Visibility
--------------------------------------------- */

@media screen and (min-width: 768px) {
	.d-md-initial {
		display: initial !important;
	}
	
	.d-md-content {
		display: content !important;
	}
}

/* ACF Google Map styles
--------------------------------------------- */

.acf-map {
	width: 100%;
	height: 12.875em;
	border: #ccc solid 1px;
	margin: 1.25em 0;
}

.acf-map img {
	max-width: inherit !important;
}

/*--------------------------------------------------------------
# Front Page
-------------------------------------------------------------*/

/* Front Hero
--------------------------------------------- */

.front-hero .hero-title {
	font-size: 4.75em;
	line-height: 1.25;
	position: relative;
	max-width: 3.9em;
	margin-left: auto;
	margin-right: auto;
}

.hero .hero-title .d-flex {
	flex-wrap: wrap;
}

.hero-title-image {
	width: 2.1em;
	height: 1.2em;
	margin: auto;
	flex-shrink: 0;
}

.hero-title-image img,
.hero-title-text img {
	width: 2.1em;
	height: 1.2em;
	object-fit: cover;
	right: 0;
}

.hero-title-text img {
	position: absolute;
}

.hero-title-text img.hero-text-image-0 {
	top: -.05em;
}

.hero-title-text img.hero-text-image-1 {
	top: 1.375em;
}

.hero-title-text img.hero-text-image-2 {
	bottom: -.25em;
}

.front-hero .hero-subtitle {
	font-size: 1.125em;
	text-align: center;
	padding: 0 1em;
}

@keyframes fadeInOut {
	0% {
		opacity: 0;
	}
	20% {
		opacity: 1;
	}
	50% {
		opacity: 1;
	}
	65% {
		opacity: 0;
	}
	100% {
		opacity: 0;
	}
}

.front-hero .hero-subtitle .subtitle-fragment {
	opacity: 0;
	/* Start invisible */

	animation: fadeInOut 10s ease-in-out infinite;
	/* Animate to visible and back */
	/* The animation will start after the transition-delay */
}

.front-hero .hero-subtitle .subtitle-fragment:nth-child(1) {
	animation-delay: 0s;
}

.front-hero .hero-subtitle .subtitle-fragment:nth-child(2) {
	animation-delay: 1s;
}

.front-hero .hero-subtitle .subtitle-fragment:nth-child(3) {
	animation-delay: 2s;
}

.front-hero .hero-subtitle .subtitle-fragment:nth-child(4) {
	animation-delay: 3s;
}

.front-hero .hero-subtitle .subtitle-fragment:nth-child(5) {
	animation-delay: 4s;
}

.front-hero .hero-subtitle .subtitle-fragment:nth-child(6) {
	animation-delay: 5s;
}

.front-hero .hero-subtitle .subtitle-fragment:nth-child(7) {
	animation-delay: 6s;
}

.front-hero .hero-subtitle .subtitle-fragment:nth-child(8) {
	animation-delay: 7s;
}

.front-hero .hero-subtitle .subtitle-fragment:nth-child(9) {
	animation-delay: 8s;
}

.front-hero .hero-subtitle .subtitle-fragment:nth-child(10) {
	animation-delay: 9s;
}

.front-hero .hero-subtitle .subtitle-fragment:nth-child(11) {
	animation-delay: 10s;
}

.front-hero .hero-subtitle .subtitle-fragment:nth-child(12) {
	animation-delay: 11s;
}

@media screen and (orientation: landscape) {
	section.hero {
		min-height: calc(100vh - var(--header-height-desktop));
	}
}

@media screen and (min-width: 768px) {
	section.hero {
		padding-bottom: 3em;
		padding-top: 0;
	}

	.hero.front-hero .hero-title {
		font-size: 17em;
		line-height: 0.8333333;
		max-width: none;
	}

	.hero .hero-title,
	.hero .hero-title .d-flex {
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
	}

	.hero-title-image {
		margin-right: 0.1em;
		width: 1.5em;
		height: auto;
	}

	.hero-title-image img {
		height: 1.525em;
		width: 100%;
        margin-top: -.1em;
	}

	.hero.front-hero .serif {
		margin-top: -0.15em;
	}

	.hero-title-text img {
		width: 4.66em;
		height: 0.6812em;
		margin: 0 0.05em;
		max-width: 1.375em;
		position: relative;
		top: auto!important;
		bottom: auto!important;
		right: auto!important;
	}

	.hero-title-text img.d-md-initial {
		max-width: 1.57em;
	}

	.front-hero .hero-subtitle {
		font-size: 2.5em;
		padding: 0;
	}
}

/*--------------------------------------------------------------
# Our Team Single Page
--------------------------------------------------------------*/

@media screen and (min-width: 768px) {
	.image-overlapping-with-title {
		margin-left: -6em;
		width: calc(50% + 6em);
		z-index: -1;
	}
}

/*--------------------------------------------------------------
# Doctors Single Page
--------------------------------------------------------------*/

.doctor-main section.hero {
	padding-top: 0;
	padding-bottom: 2em;
}

.doctor-hero .title-column {
	display: flex;
	flex-direction: column;
}

.doctor-hero .doctor-column {
	max-width: 28em;
}

.doctor-hero .hero-doctor .doctor-expert {
	margin: 0.75rem 0 1rem;
}

.doctor-hero .hero-doctor .doctor-expert p {
	font-size: 1.25rem;
	line-height: 1.75rem;
	margin: 0;
}

.doctor-hero .doctor-contacts {
	gap: 0 2.5em;
}

.download-icon svg {
	width: 1.5em;
	height: 1.5em;
	margin-left: 0.5em;
	fill: #ffffff;
}

a:hover .file-meta {
	color: var(--primary);
}

.doctor-socials {
	gap: 2.5em;
	margin-top: 2em;
}

.doctor-socials svg {
	width: 1.5em;
	height: 1.5em;
	fill: #ffffff;
}

.doctor-socials a:hover svg,
a:hover .download-icon svg {
	fill: var(--primary);
}

.doctor-main>*:not(article)>*:last-child {
	padding-bottom: 0;
}

.doctor-main>*:last-child {
	padding-bottom: 2.5em;
}

.doctor-main h2:not(.hero-title h2) {
	font-size: 1.875em;
	font-family: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
		Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	color: var(--primary);
	text-transform: uppercase;
	border-bottom: solid 1px var(--primary);
	padding-bottom: 0.5em;
	margin: 0.5em 0;
}

.doctor-main ul {
	margin: 0 0 25px;
	padding-left: 1em;
}

.doctor-main .doctor-lectures-workshops .doctor-logos {
	margin-top: 3.75em;
	gap: 1.75em;
}

.doctor-main .doctor-lectures-workshops h2 span {
	display: block;
	width: 100%;
	border-bottom: solid 1px var(--primary);
	padding-bottom: 0.5em;
	margin: 0.5em 0;
}

.post-navigation .nav-links {
	font-size: 1.25em;
	text-transform: uppercase;
}

.post-navigation a,
.post-navigation .nav-links svg {
	color: var(--primary);
	vertical-align: middle;
	line-height: 3.2em;
}

.post-navigation a:hover,
.post-navigation .nav-links a:hover svg {
	color: var(--dark-gray);
}

.bg-dark .post-navigation .nav-links a:hover,
.bg-dark .post-navigation .nav-links a:hover svg {
	color: white;
}

.post-navigation .nav-links .nav-previous svg {
	transform: scale(-1);
}

.doctor-lectures-workshops>.container>h2 {
	display: none;
}

.doctor-template-default .vc_tta-container {
	margin-top: 1.5rem;
}

@media screen and (max-width: 480px) {
	.post-navigation .nav-links {
		flex-direction: column;
	}
}

@media screen and (min-width: 768px) {
	.doctor-hero .container {
		gap: 2.5em;
	}

	.doctor-hero .title-column {
		flex: 0 1 calc(var(--container-width) - 30.5em);
		padding-right: 1em;
	}

	.doctor-hero .doctor-column {
		width: 28em;
	}

	.doctor-hero .doctor-photo img {
		width: 100%;
	}

	.doctor-main section.doctor-lectures-workshops:last-child {
		padding-top: 6.25em;
	}

	.doctor-main>*:not(article)>*:last-child {
		padding-bottom: 0;
	}

	.doctor-main>*:last-child {
		padding-bottom: 10em;
	}

	.doctor-main section.hero {
		padding-top: 0;
	}

	.doctor-main h2:not(.hero-title h2) {
		font-size: 3.75em;
	}

	/*
	.doctor-main p, .doctor-main li {
		font-size: 1.5em;
	}
	*/

	.doctor-main li p {
		font-size: 1em;
	}

	.doctor-main .doctor-lectures-workshops .doctor-logos {
		margin-top: 4.5em;
		gap: 2.5em;
	}
}

/*--------------------------------------------------------------
# Services Single Page
--------------------------------------------------------------*/

.hero .service-image {
	position: absolute;
	top: -5em;
	right: 5em;
}

.hero .service-image figure {
	width: 10em;
	height: 10em;
	background-color: #fff;
	display: flex;
	justify-content: center;
	align-items: center;
}

.hero .service-image figure div {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hero .service-image figure div img {
	max-height: 100%;
	width: auto;
	object-fit: contain;
}

.service-step {
	margin-top: 2.125em;
}

.service-steps .service-step figure,
.service-steps .service-step figure div,
.service-steps .service-step figure div img {
	width: 85%;
}

@media screen and (min-width: 768px) {
	.title-overlapping-with-image {
		margin-right: -8em;
		width: calc(50% + 8em);
		z-index: 1;
	}

	.title-overlapping-with-image+div {
		z-index: 0;
	}

	.service-step {
		margin-top: 6.25em;
	}

	.service-steps .service-step {
		padding: 1.375em;
	}

	.service-steps .service-step:first-child {
		padding-left: 0;
		padding-right: 2.75em;
	}

	.service-steps .service-step:last-child {
		padding-left: 2.75em;
		padding-right: 0;
	}

	.service-steps .service-step figure,
	.service-steps .service-step figure div,
	.service-steps .service-step figure div img {
		width: 100%;
	}
}

/**
 * Single Post and Blog Page
 */

.single-post .site-main {
	padding: 2.25em 1.5em;
	margin-top: 1em;
}

.single-post .entry-meta .category-button {
	margin-bottom: 1em;
}

.single-post .entry-meta .posted-on {
	font-size: 1.1875em;
}

.single-post h1 {
	font-size: 2.5em;
	font-weight: normal;
	line-height: 1.07;
	letter-spacing: 0.01em;
}

.single-post .entry-content {
	font-size: 1.125em;
	margin: 1.333333em 0 0;
}

.related-posts-title {
	font-size: 1.25em;
	text-transform: none;
	margin-bottom: 1.375em;
}

.post-grid {
	gap: 1.375em;
	margin-bottom: 5em;
}

.post-grid .post {
	width: 100%;
	max-width: 27.5em;
	border: solid 1px var(--primary);
	padding: 1.5625em;
}

.bg-dark .post-grid .post {
	border-color: white;
}

.bg-light .post-grid .post {
	border-color: var(--dark-gray);
}

.post-grid .post .event-info,
.post-grid .post .post-date {
	font-size: 1.125em;
	margin-top: 0;
	margin-bottom: 1em;
	color: var(--primary);
}

.post-grid .post a:hover .event-info,
.post-grid .post a:hover .post-date {
	color: var(--dark-gray);
}

.bg-dark .post-grid .post a:hover .event-info,
.bg-dark .post-grid .post a:hover .post-date {
	color: white;
}

.bg-light .post-grid .post a:hover .event-info,
.bg-light .post-grid .post a:hover .post-date {
	color: var(--dark-gray);
}

.post-grid .post h2 {
	font-size: 2.5em;
	line-height: 1.07;
	letter-spacing: 0.01em;
	margin-bottom: 0.25em;
}

.post-grid .post .excerpt p {
	font-size: 1.375em;
	letter-spacing: 0.01em;
	margin: 0.25em 0 1em;
}

.post-grid .post a:hover h2,
.post-grid .post a:hover .excerpt p {
	color: var(--primary);
}

.category-button {
	font-size: var(--min-font-size);
	text-transform: uppercase;
	padding: 0.8575em 1em;
	border-radius: 5em;
	border: solid 1px var(--dark-gray);
	background-color: var(--dark-gray);
	color: white;
	min-width: 9.5em;
	text-align: center;
	bottom: 2em;
	width: fit-content;
	min-width: 9.3em;
	line-height: normal;
}

.category-button {
	cursor: pointer;
}

.bg-dark .category-button:not(.bg-dark .bg-light .category-button) {
	border-color: white;
}

.category-button:hover {
	background-color: var(--primary);
	border-color: var(--primary);
}

.bg-dark .category-button:not(.bg-dark .bg-light .category-button):hover {
	background-color: white;
	border-color: white;
	color: var(--dark-gray);
}

.category-button.news-button {
	background-color: var(--primary);
	border-color: var(--primary);
	color: white;
}

.bg-dark .category-button.news-button:not(.bg-dark .bg-light .category-button) {
	border-color: var(--primary);
}

.category-button.news-button:hover {
	background-color: white;
	border-color: var(--dark-gray);
	color: var(--dark-gray);
}

.bg-dark .category-button.news-button:not(.bg-dark .bg-light .category-button):hover {
	background-color: transparent;
	border-color: white;
	color: white;
}

.category-button.insight-button {
	background-color: white;
	border-color: var(--dark-gray);
	color: var(--dark-gray);
}

.category-button.insight-button:hover {
	background-color: var(--dark-gray);
	border-color: var(--dark-gray);
	color: white;
}

.bg-dark .category-button.insight-button:not(.bg-dark .bg-light .category-button) {
	background-color: white;
	border-color: white;
	color: var(--dark-gray);
}

.bg-dark .category-button.insight-button:not(.bg-dark .bg-light .category-button):hover {
	background-color: var(--primary);
	border-color: var(--primary);
	color: white;
}

.post-grid .arrow-right {
	color: var(--primary);
}

.post-grid a:hover .arrow-right {
	color: var(--dark-gray);
}

.bg-dark .post-grid a:hover .arrow-right:not(.bg-dark .bg-light .arrow-right) {
	color: white;
}

@media screen and (min-width: 768px) {
	.single-post .site-main {
		padding: 2.625em;

		margin-top: 2em; /*calc(var(--header-height-desktop) + 2em); */
		width: 62.5%;
	}

	.category-button {
		font-size: 1.25em;
	}

	.single-post .entry-meta .category-button {
		margin-bottom: 0;
	}

	.single-post .entry-meta .posted-on {
		font-size: 1.25em;
	}

	.single-post .entry-content {
		font-size: 1.375em;
	}

	.single-post .widget-area {
		width: 37.5%;
		padding: 0 0 0 2.5em;
	}

	.single-post aside {
		margin-top: 2em; /*calc(var(--header-height-desktop) + 2em);*/
	}

	.post-grid {
		gap: 1.25em;
		margin-bottom: 8.875em;
	}

	.post-grid .post {
		padding: 2.625em;
	}

	.post-grid .post .event-info,
	.post-grid .post .post-date {
		font-size: 1.25em;
		min-height: 4.5em;
	}

	.post-grid .post .excerpt p:last-child {
		margin-bottom: 2.8em;
	}

	.post-grid .category-button {
		bottom: 1.825em;
	}
}

/* Single Patient Story

--------------------------------------------- */

.site-main.patient-main .nycpros-breadcrumbs {
	padding-top: 2.25em;
}

/* Single Form

--------------------------------------------- */

.form-main .entry-header {
	padding: 1.25em 0;
}

.form-main .entry-header h1 {
	font-size: var(--min-font-size);
	line-height: 1.07;
	letter-spacing: 0.01em;
	margin: 0;
}

.form-main .page-content,
.form-main .entry-content,
.form-main .entry-summary {
	margin: 0;
}

.form-main .entry-content>.container-narrow {
	padding-top: 2.5em;

	padding-bottom: 2.5em;
}

.hidden-group {
	display: none;
}

.add-group-button {
	cursor: pointer;
}

.add-group-button:hover {
	text-decoration: underline;
}

.dhvc-form-group input.dhvc-form-control {
	min-width: 14.55em;
}

.dhvc-form-group .dhvc-form-checkbox label,
.dhvc-form-group .dhvc-form-radio label {
	float: none;
}

.dhvc_form_submit_button {
	display: flex;
}

.button.dhvc-form-submit,
.dhvc-form-submit:disabled,
.dhvc-form-submit:disabled:hover,
.dhvc-form-submit:hover,
.dhvc-form-submit:active,
.dhvc-form-submit:focus {
	margin: auto;
}

.dhvc-form-flat .dhvc-form-radio label,
.dhvc-form-flat .dhvc-form-checkbox label {
	padding-left: 2em;
}

.dhvc-form-flat .dhvc-form-radio i,
.dhvc-form-flat .dhvc-form-checkbox i {
	width: 1.6em;
	height: 1.6em;
	border-color: var(--light-gray);
	border-width: 1px;
	top: 0;
}

.dhvc-form-flat .dhvc-form-radio input+i:after {
	width: 0.75em;
	height: 0.75em;
	top: 0.375em;
	left: 0.375em;
	background-color: var(--primary);
}

.dhvc-form-flat .dhvc-form-checkbox input+i:after {
	font: 2em/1.6em FontAwesome;
	height: 1em;
	left: 0;
	top: -0.5em;
	width: 1em;
}

.dhvc-form-success {
    color: var(--primary) !important;
    font-size: 1.75em !important;
    text-align: center !important;
}

@media screen and (min-width: 768px) {
	.form-main .entry-content>.container-narrow {
		padding: 6.5em 7.5em;
	}

	.form-main .entry-header {
		padding: 2.5em 0;
	}

	.form-main .entry-header h1 {
		font-size: max(var(--min-paragraph-size), 1.5em);
	}

	.text-md-bigger {
		font-size: max(var(--min-paragraph-size), 1.333333em);
	}

	.dhvc_form_radio,
	.dhvc-form-group .dhvc-form-radio {
		display: flex;
		align-items: center;
		justify-content: space-between;
	}
}

/*Update*/

@media screen and (min-width: 768px) {
	h2 {
		font-size: 5.5rem;
		line-height: 4.5rem;
	}

	.section-title h2 {
		margin-bottom: 2rem;
	}

	.nycpros-two-columns .section-title {
		margin-bottom: 3.75em;
	}

	.hero-text p {
		font-size: 1.5rem;
		line-height: 2.25rem;
	}
}

.section-title h3 {
	font-size: 1.5rem;
	line-height: 2.25rem;
	font-weight: 400;
}

h4.widget-title {
	font-weight: 500;
}

.nycpros-breadcrumbs.fw-bold {
	font-weight: 500 !important;
}

.bg-dark,
.bg-dark p,
.bg-dark .hero-text p,
.bg-dark .section-title h3 {
	font-weight: 300;
}

.section-content h3 {
	font-size: 1.375rem;
	line-height: 1.9rem;
	font-weight: 700;
	margin-bottom: 0.75rem;
}

.section-title h4 {
	font-size: 1.25rem;
	line-height: 2rem;
	font-weight: 400;
}

.flex-align-items-center {
	align-items: center;
}

.trust-item p,
.trust-issue p {
	font-size: 1.375em;
}

.trust-item p strong,
.trust-issue p strong {
	font-weight: 500;
}

@media screen and (max-width: 767px) {

	.trust-item p,
	.trust-issue p {
		font-size: 1.125em;
	}
}

.hide {
	display: none !important;
}