/* ----------------------------------------------------------------
	Canvas: Doctors
-----------------------------------------------------------------*/

:root,.not-dark {
	--cnvs-themecolor: #0A3C3F;
	--cnvs-themecolor-rgb: 10, 60, 63;


	--cnvs-themecolor-2: #A9E8E0;
	--cnvs-themecolor-2-rgb: 169, 232, 224;

	--cnvs-color-yellow: #FEC160;

	--cnvs-primary-font: 'DM Sans', Sans-Serif;
	--cnvs-body-font: 'Rubik', sans-serif;

	--cnvs-section-bg: #f9f6e9;
}

@media (min-width: 992px) {
	.is-expanded-menu #header.transparent-header.floating-header .container {
		max-width: calc(960px - 24px);
	}
}

@media (min-width: 1200px) {
	.is-expanded-menu #header.transparent-header.floating-header .container {
		max-width: calc(1140px - 24px);
	}
}

@media (min-width: 1400px) {
	.is-expanded-menu #header.transparent-header.floating-header .container {
		max-width: calc(1320px - 24px);
	}
}

.dark {
	--cnvs-header-sticky-bg: transparent;
	--cnvs-header-floating-bg: var(--cnvs-themecolor);
}

.slider-element {
	margin-top: -1px;
}

.bg-color-2,
.h-bg-color-2:hover {
	background-color: rgba(var(--cnvs-themecolor-2-rgb), var(--bs-bg-opacity, 1)) !important;
}

.bg-color-2[class*=bg-opacity-],
.h-bg-color-2[class*=bg-opacity-]:hover {
	background-color: rgba(var(--cnvs-themecolor-2-rgb), var(--bs-bg-opacity, 1)) !important;
}

.color-2,
.h-color-2:hover {
	color: rgba(var(--cnvs-themecolor-2-rgb), var(--bs-text-opacity, 1)) !important;
}

.color-yellow,
.h-color-yellow:hover {
	color: var(--cnvs-color-yellow) !important;
}

#header {
	--cnvs-primary-menu-font-size: 1.125rem;
	--cnvs-primary-menu-font-weight: 400;
	--cnvs-primary-menu-tt: none;
	--cnvs-primary-menu-ls: 0;
	--cnvs-primary-menu-hover-color: var(--cnvs-themecolor-2);
	--cnvs-header-floating-top-offset: 0px;
}

.hero-card {
	position: absolute;
	bottom: 10%;
}

@media (max-width: 991.98px) {
	.hero-card {
		position: relative;
		transform: none !important;
		margin-top: 20px;
		width: max-content !important;
	}
}

.bootstrap-select {
	position: relative;
    flex: 1 1 auto;
    width: 1% !important;
    min-width: 0;
}

.dropdown-menu {
	width: max-content;
	min-width: max-content;
}

.bootstrap-select .btn-light {
	--bs-btn-active-bg: transparent;
	--bs-btn-bg: transparent;
	--bs-btn-hover-bg: transparent;
	--bs-btn-border-width: 0;
	--bs-btn-focus-box-shadow: none;
}

.bootstrap-select .dropdown-toggle:focus {
	outline: 0 !important;
}

.bootstrap-select .dropdown-item:hover,
.bootstrap-select .dropdown-item:focus,
.bootstrap-select .dropdown-item.selected {
	background-color: var(--cnvs-section-bg);
	color: #111;
}

.hand-mobile-img {
	--cnvs-hand-mobile-img-size: 180px;
	--cnvs-hand-mobile-img-right: 0px;
    position: absolute;
	width: var(--cnvs-hand-mobile-img-size);
    height: var(--cnvs-hand-mobile-img-size);
    top: calc(-1 * var(--cnvs-hand-mobile-img-size));
    right: var(--cnvs-hand-mobile-img-right);
    z-index: -1;
	object-fit: contain;
}

@media (min-width: 992px) {
	.hand-mobile-img {
		--cnvs-hand-mobile-img-size: 280px;
		--cnvs-hand-mobile-img-right: 100px;
	}
}

.slider-gradient-bg {
	background-image: linear-gradient(90deg, #26434d29, #FDFAEF);
}

.services-categories {
	counter-reset: services-category-item-number;
}

.services-categories .services-category-item {
	position: relative;
}

.services-categories .services-category-item::before {
	position: absolute;
    z-index: 1;
    top: 5px;
    left: var(--bs-gutter-x);
	font-size: 80%;
	font-family: monospace;
	font-weight: bold;
    counter-increment: services-category-item-number;
    content: counter(services-category-item-number, decimal-leading-zero)".";
}


.services-categories .services-category-item a:hover {
	background-color: var(--cnvs-themecolor);
	color: rgba(255,255,255,0.6);
}

.services-categories .services-category-item a:hover h4 {
	color: #FFF;
}

.services-categories .services-category-item:hover::before {
	color: #FFF;
}

#categories-tab.nav-pills {
	--bs-nav-pills-link-active-bg: var(--cnvs-themecolor);
	gap: 10px;
}

#categories-tab .nav-link:not(.active) {
	background-color: var(--cnvs-themecolor-2);
}

.underliner {
    --cnvs-underliner-size: 50%;
	--cnvs-underliner-color: var(--cnvs-themecolor-2-rgb);
	--cnvs-underliner-opacity: 1;
}

.doctor-lists h4 {
	font-size: 1.125rem;
}

.doctor-lists small {
	font-size: 0.925rem;
	opacity: 0.7;
}

.widget-img::before {
	content: "";
	position: absolute;
	width: 100%;
	height: 80%;
	left: 0;
	bottom: 0;
	z-index: -1;
	background-color: var(--cnvs-themecolor);
	border-radius: 12px;
}

.is-expanded-menu #header-wrap {
    position: fixed !important;
	top: 30px !important;
	transition: all .3s ease;;
}

.is-expanded-menu .sticky-header #header-wrap {
	top: 10px !important;
}

/* ----------------------------------------------------------------
	Canvas: Doctors — views WordPress renders from global templates
	(the reference is a single page; these are the demo's own screens)
-----------------------------------------------------------------*/

/* Editorial index: the reference's card vocabulary, two across. */
.doctors-archive #posts {
	--cnvs-doctors-card-radius: 12px;
}

@media (min-width: 992px) {
	.doctors-archive #posts > .entry {
		flex: 0 0 50%;
		max-width: 50%;
	}
}

.doctors-archive #posts > .entry .grid-inner {
	height: 100%;
	padding-bottom: 1.5rem;
}

.doctors-archive .entry-image {
	overflow: hidden;
	border-radius: var(--cnvs-doctors-card-radius, 12px);
	margin-bottom: 1.25rem;
}

.doctors-archive .entry-image img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	transition: transform var(--cnvs-transitions, .4s ease);
}

.doctors-archive .entry:hover .entry-image img {
	transform: scale(1.04);
}

.doctors-archive .entry-title h2,
.doctors-archive .entry-title h3 {
	font-size: 1.375rem;
	margin-bottom: .5rem;
}

.doctors-archive .entry-meta,
.doctors-post .entry-meta {
	font-size: .8125rem;
	opacity: .7;
}

.doctors-archive .more-link {
	font-weight: 500;
	color: var(--cnvs-themecolor);
	border-bottom: 1px solid rgba(var(--cnvs-themecolor-rgb), .35);
}

/* Editorial single: the article reads as one column of prose. */
.doctors-post .entry,
.doctors-doctor .entry,
.doctors-service .entry {
	box-shadow: none;
}

.doctors-post .entry-image img {
	border-radius: var(--cnvs-doctors-card-radius, 12px);
}

/* Sidebar widgets: the core block widgets carry none of the theme's
   classic-widget classes, so the editorial column would sit beside an
   unstyled list. */
.doctors-post .sidebar .widget,
.doctors-archive .sidebar .widget {
	margin-bottom: 2.5rem;
}

.doctors-post .sidebar .widget > h4,
.doctors-archive .sidebar .widget > h4 {
	font-size: .8125rem;
	letter-spacing: 2px;
	text-transform: uppercase;
	padding-bottom: .75rem;
	border-bottom: 2px solid var(--cnvs-themecolor-2);
}

.doctors-post .sidebar .tag-cloud-link,
.doctors-archive .sidebar .tag-cloud-link {
	display: inline-block;
	font-size: .75rem !important;
	padding: .25rem .625rem;
	margin: 0 .25rem .375rem 0;
	border-radius: 999px;
	background-color: rgba(var(--cnvs-themecolor-2-rgb), .35);
	color: var(--cnvs-themecolor);
}

.doctors-post .sidebar .tag-cloud-link:hover,
.doctors-archive .sidebar .tag-cloud-link:hover {
	background-color: var(--cnvs-themecolor);
	color: #FFF;
}

/* Consultant and specialty profiles: the record's own screen. The
   editorial furniture the blog template supplies (reading time, type
   sizer, share row, prev/next and the site author card) belongs to an
   article, not to a person or a department. */
.doctors-doctor .entry-meta,
.doctors-service .entry-meta,
.doctors-doctor .card.border-default,
.doctors-service .card.border-default,
.doctors-doctor #cnvs-article-share,
.doctors-service #cnvs-article-share,
.doctors-doctor .post-navigation,
.doctors-service .post-navigation,
.doctors-doctor .row.text-center.text-md-start.justify-content-between.my-5,
.doctors-service .row.text-center.text-md-start.justify-content-between.my-5,
.doctors-doctor .author-box,
.doctors-service .author-box {
	display: none;
}

.doctors-doctor .entry-title h1,
.doctors-service .entry-title h1 {
	margin-bottom: 1rem;
}

@media (min-width: 768px) {
	.doctors-doctor .entry > .entry-image,
	.doctors-service .entry > .entry-image {
		float: left;
		width: 38%;
		margin: 0 2.5rem 1.5rem 0;
	}
}

.doctors-doctor .entry > .entry-image img,
.doctors-service .entry > .entry-image img {
	border-radius: var(--cnvs-doctors-card-radius, 12px);
}

.doctor-profile,
.speciality-profile {
	overflow: hidden;
}

.doctor-profile .lead,
.speciality-profile .lead {
	font-size: 1.125rem;
	line-height: 1.7;
}

/* The record's own eyebrow: which specialty this consultant holds, or
   which care area a department sits in. */
.doctor-speciality,
.speciality-area {
	display: inline-block;
	margin-bottom: 1rem;
	padding: .25rem .75rem;
	border-radius: 999px;
	font-size: .75rem;
	letter-spacing: 2px;
	text-transform: uppercase;
	background-color: rgba(var(--cnvs-themecolor-2-rgb), .45);
	color: var(--cnvs-themecolor);
}

a.doctor-speciality:hover,
a.speciality-area:hover {
	background-color: var(--cnvs-themecolor);
	color: #FFF;
}

.doctor-attributes,
.speciality-attributes {
	list-style: none;
	margin: 0 0 1.75rem;
	padding: 0;
}

.doctor-attributes li,
.speciality-attributes li {
	display: flex;
	flex-wrap: wrap;
	gap: .25rem 1rem;
	padding: .625rem 0;
	border-bottom: 1px solid rgba(var(--cnvs-contrast-rgb), .1);
}

.doctor-attributes .attr-label,
.speciality-attributes .attr-label {
	flex: 0 0 10rem;
	opacity: .6;
	font-size: .8125rem;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.doctor-attributes .attr-value,
.speciality-attributes .attr-value {
	font-weight: 500;
}

.single-doctor-cta,
.single-speciality-cta {
	margin: 2rem 0 0;
}

.single-doctor-cta .button,
.single-speciality-cta .button {
	margin: 0;
}

.single-doctor-footer,
.single-speciality-footer {
	clear: both;
	padding-top: 2.5rem;
}

.single-doctor-back,
.single-speciality-back {
	margin: 0 0 2.5rem;
	background-color: transparent;
	border: 1px solid rgba(var(--cnvs-contrast-rgb), .2);
	color: var(--cnvs-contrast-900);
}

.single-doctor-back:hover,
.single-speciality-back:hover {
	background-color: var(--cnvs-themecolor);
	border-color: var(--cnvs-themecolor);
	color: #FFF;
}

.related-doctors-title,
.related-specialities-title {
	font-size: 1.5rem;
	margin-bottom: 1.5rem;
}

.related-doctors h4,
.related-specialities h4 {
	font-size: 1.125rem;
}

.related-doctors small {
	font-size: .925rem;
	opacity: .7;
}

/* Contact page detail cards reuse the specialty card treatment. */
.doctors .card-body > i {
	line-height: 1;
}
