/* Customizer port — NextPatient booking UI (site layout wins).
   Moved out of WP Customizer Additional CSS. Rules are unchanged. */

/* Nextpatient CSS */
.nextpatient-sidebar h3 {
	margin-bottom: 16px;
}
.nextpatient-sidebar .nextpatient-reason-select select {
    padding: 5px 30px 5px 2px !important;
}
/* Fix list r76: match True — rounded provider photos in the NextPatient widget. */
.nextpatient-provider-image-cell {
	border-radius: 35px;
}

.nextpatient-sidebar .nextpatient-slot-time {
    padding-left: 15px !important;
    padding-right: 15px !important;
		margin: 0px !important;
}

.nextpatient-sidebar .nextpatient-provider-times {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
	margin-top: 20px
}
.nextpatient-sidebar .nextpatient-provider-times div a {
	width: 100%;
}

.time-preview-box, .nextpatient-no-time {
	display: inline-block;
	position: relative !important;
	width: 247px;
}

.sdg-nextpatient .nextpatient-box {
    width: 100%;
    max-width: 1000px;
    box-sizing: border-box;
    text-align: left;
    padding: 10px;
    margin: 0 auto;
	border: 1px solid #ccc;
}

.nextpatient-provider-table .nextpatient-provider {
	background: transparent !important;
	border: none !important;
}
.nextpatient-provider-table .nextpatient-provider-provider-cell {
    padding-left: 24px !important;
}
.sdg-nextpatient .nextpatient-provider-times {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
	margin-top: 20px
}
.sdg-nextpatient .nextpatient-provider-times div a {
	width: 100%;
}


@media only screen and (min-width:960px) {
.nextpatient-box .nextpatient-provider-table .nextpatient-provider-image-cell {
    height: 320px !important;
    width: 251px !important;
}
}

@media only screen and (min-width:31.3125em) and (max-width:59.9375em) { 
.nextpatient-box .nextpatient-provider-table .nextpatient-provider-image-cell {
    height: 320px !important;
    width: 251px !important;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center top;	
}
}


@media only screen and (max-width:500px) {
.nextpatient-provider-table .nextpatient-provider-small-photo {
	margin-right: 15px;
}	
	
.nextpatient-box .nextpatient-provider-name b {
    font-family: 'Baskervville';
    font-style: normal;
    font-weight: 400;
    font-size: 22px !important;
    line-height: 130% !important;
    leading-trim: both;
    text-edge: cap;
    text-align: left;
    text-transform: capitalize;
}
.nextpatient-box .nextpatient-provider-table .nextpatient-provider-provider-cell {
    padding-left: 0px !important;
}
}

.nextpatient-slot-time {
	height: auto !important;
	/* Time/Large */
	box-sizing: border-box;
	/* Auto layout */
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	padding: 16px 0px;
	border: 1px solid rgba(50, 49, 48, 0.2);
	/* Shadows/Medium */
	box-shadow: 0px 0px 0px 1px rgba(103, 110, 118, 0.16);
	filter: drop-shadow(0px 2px 5px rgba(103, 110, 118, 0.08)) drop-shadow(0px 1px 1px rgba(0, 0, 0, 0.12));
	border-radius: 8px !important;
	/* Inside auto layout */
	flex: none;
	order: 0;
	flex-grow: 0;
	padding: 10px 0px !important;
}

.nextpatient-slot-time-day {
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 700;
	font-size: 14px;
	line-height: 20px;
	leading-trim: both;
	text-edge: cap;
	/* Primary/Teal */
	color: #2A5962;
}
.nextpatient-slot-time-time, .nextpatient-slot-time-more {
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 700;
	font-size: 18px;
	line-height: 24px;
	leading-trim: both;
	text-edge: cap;
	/* Primary/Teal */
	color: #2A5962 !important;
}

.provider-template-default .vc_custom_heading_wrap h1.h2 {
	font-size: 64px !important;
	text-align:left;
	line-height: 66px !important;
}
@media only screen and (max-width:959px) {
.provider-template-default .vc_custom_heading_wrap h1.h2 {	
	font-weight: 400 !important;
	font-size: 32px !important;
	line-height: 42px !important;
}
}

.nextpatient-provider-name {
	margin-bottom: 18px;
}

.nextpatient-provider-name b {
	font-family: 'Baskervville';
	font-style: normal;
	font-weight: 400;
	font-size: 24px !important;
	line-height: 160% !important;
	leading-trim: both;
	text-edge: cap;
	text-align: center;
	text-transform: capitalize;
}

.nextpatient-provider-address {
	/* Paragraph/01 */
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 400;
	font-size: 18px;
	line-height: 26px;
	/* Basic/Slate */
	color: #323130;
}
/* Search form. Fields are sized by name, then stacked. Brand colors stay. */
.sdg-nextpatient .nextpatient-box {
	width: 100%;
	max-width: 1000px;
	box-sizing: border-box;
}
.sdg-nextpatient .nextpatient-criteria-container {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: flex-end !important;
	gap: 8px 12px !important;
	width: 100% !important;
	margin: 0 0 24px !important;
}
.sdg-nextpatient .nextpatient-criteria-box {
	display: flex !important;
	flex-direction: column !important;
	float: none !important;
	flex: 1 1 180px !important;
	width: auto !important;
	min-width: 0 !important;
	margin: 0 !important;
}
.sdg-nextpatient .nextpatient-criteria-box:has(select[name="group"]),
.sdg-nextpatient .nextpatient-criteria-box:has(select[name="reason_id"]),
.sdg-nextpatient .nextpatient-criteria-box:has(select[name="insurance_id"]) {
	flex: 1 1 200px !important;
	min-width: min(100%, 160px) !important;
}
.sdg-nextpatient .nextpatient-criteria-box:has(input[name="age"]) {
	flex: 0 1 120px !important;
	min-width: 96px !important;
	max-width: 140px;
}
.sdg-nextpatient .nextpatient-criteria-box:has(input[name="zip"]) {
	flex: 1 1 280px !important;
	min-width: min(100%, 220px) !important;
	max-width: none;
}
.sdg-nextpatient .nextpatient-criteria-box:has(input[type="submit"]) {
	flex: 0 0 auto !important;
	min-width: 0 !important;
	max-width: none;
}
.sdg-nextpatient .nextpatient-criteria-label,
.sdg-nextpatient .nextpatient-criteria-label label {
	display: block;
	margin: 0 0 4px 2px;
	font-family: Roboto, sans-serif;
	font-size: 14px;
	line-height: 20px;
	font-weight: 500;
	color: #2A5962;
}
.sdg-nextpatient .nextpatient-criteria-box:has(input[type="submit"]) .nextpatient-criteria-label {
	display: none;
}
.sdg-nextpatient .nextpatient-criteria-input {
	min-width: 0;
}
.sdg-nextpatient .nextpatient-criteria-box select,
.sdg-nextpatient .nextpatient-criteria-box input:not([type="submit"]) {
	width: 100% !important;
	height: 48px;
	min-width: 0 !important;
	margin: 0 !important;
	float: none !important;
	box-sizing: border-box;
	padding: 0 16px;
	border: 1px solid rgba(21, 34, 41, 0.18);
	border-radius: 8px !important;
	background-color: #fffcf7 !important;
	font-family: Roboto, sans-serif;
	font-size: 16px;
	line-height: 24px;
	color: #323130;
}
.sdg-nextpatient .nextpatient-criteria-box select {
	appearance: none;
	-webkit-appearance: none;
	padding-right: 42px;
	background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M7 10L12 15L17 10' stroke='%232A5962' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 22px;
	cursor: pointer;
}
.sdg-nextpatient .nextpatient-criteria-box:has(input[name="zip"]) .nextpatient-criteria-input {
	display: flex !important;
	align-items: center;
	flex-wrap: nowrap;
	gap: 8px;
	font-size: 0 !important;
	line-height: 0 !important;
}
.sdg-nextpatient .nextpatient-criteria-box:has(input[name="zip"]) .nextpatient-criteria-input input,
.sdg-nextpatient .nextpatient-criteria-box:has(input[name="zip"]) .nextpatient-criteria-input select {
	font-size: 16px !important;
	line-height: 24px !important;
}
.sdg-nextpatient .nextpatient-criteria-box input[name="zip"] {
	flex: 1 1 120px;
	min-width: 104px !important;
	width: auto !important;
}
.sdg-nextpatient .nextpatient-criteria-box select[name="max_miles"] {
	flex: 0 0 148px;
	width: 148px !important;
	min-width: 0 !important;
}
.sdg-nextpatient .nextpatient-criteria-box input:not([type="submit"]):focus,
.sdg-nextpatient .nextpatient-criteria-box select:focus {
	outline: none;
	border-color: #2A5962;
	box-shadow: 0 0 0 3px rgba(42, 89, 98, 0.16);
}
.sdg-nextpatient .nextpatient-criteria-input input[type="submit"] {
	height: 48px;
	min-width: 128px;
	width: auto;
	margin: 0 !important;
	float: none !important;
	box-sizing: border-box;
	padding: 0 20px 0 44px !important;
	border: 0;
	border-radius: 28px !important;
	background-color: #2A5962 !important;
	background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Ccircle cx='9' cy='9' r='5.75' stroke='white' stroke-width='1.5'/%3E%3Cpath d='M13.5 13.5L17 17' stroke='white' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: 16px center !important;
	background-size: 18px !important;
	color: #FFFCF7 !important;
	font-family: Roboto, sans-serif !important;
	font-size: 16px;
	font-weight: 500;
	line-height: 24px;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
}
.sdg-nextpatient .nextpatient-criteria-input input[type="submit"]:hover,
.sdg-nextpatient .nextpatient-criteria-input input[type="submit"]:focus {
	background-color: #1e4148 !important;
}
.sdg-nextpatient #filtersubmit {
	display: none !important;
}
@media (max-width: 959px) {
	.sdg-nextpatient .nextpatient-criteria-box:has(select[name="group"]),
	.sdg-nextpatient .nextpatient-criteria-box:has(select[name="reason_id"]) {
		flex: 1 1 calc(50% - 8px) !important;
		max-width: none;
	}
}
@media (max-width: 640px) {
	.sdg-nextpatient .nextpatient-criteria-box,
	.sdg-nextpatient .nextpatient-criteria-box:has(input[name="age"]),
	.sdg-nextpatient .nextpatient-criteria-box:has(input[type="submit"]) {
		flex: 1 1 100% !important;
		max-width: none;
	}
	.sdg-nextpatient .nextpatient-criteria-input input[type="submit"] {
		width: 100%;
	}
}
@media (max-width: 479px) {
	.sdg-nextpatient .nextpatient-criteria-box:has(input[name="zip"]) .nextpatient-criteria-input {
		flex-wrap: wrap !important;
	}
	.sdg-nextpatient .nextpatient-criteria-box input[name="zip"],
	.sdg-nextpatient .nextpatient-criteria-box select[name="max_miles"] {
		flex: 1 1 100%;
		width: 100% !important;
		min-width: 0 !important;
	}
}

body. provider .style-light .tmb .t-entry-text .t-entry-title a:hover {
	color: rgba(255,255,255,0.8) !important;
}
