/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

/* header */
@media screen and (max-width: 599px) {
	.inside-header {
		padding: 1em 0;
	}
	.inside-header>:not(:last-child):not(.main-navigation) {
		margin-bottom: 0;
	}
}

/* navigation */
.offside--right {
	right: -565px !important;
}
.offside--right.is-open, .offside-js--is-right .offside-sliding-element {
	-webkit-transform: translate3d(-565px,0,0) !important;
    -moz-transform: translate3d(-565px,0,0) !important;
    -ms-transform: translate3d(-565px,0,0) !important;
    -o-transform: translate3d(-565px,0,0) !important;
    transform: translate3d(-565px,0,0) !important;
}
.main-navigation.offside {
	max-width: 565px !important;
	width: 100% !important;
}


.slideout-navigation.main-navigation {
	background: rgb(8,84,160);
	background: -moz-linear-gradient(180deg, rgba(8,84,160,1) 0%, rgba(202,30,85,1) 100%);
	background: -webkit-linear-gradient(180deg, rgba(8,84,160,1) 0%, rgba(202,30,85,1) 100%);
	background: linear-gradient(180deg, rgba(8,84,160,1) 0%, rgba(202,30,85,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#0854a0",endColorstr="#ca1e55",GradientType=1);
}

.slideout-navigation button.slideout-exit {
	text-align: right !important;
}

.slideout-navigation.main-navigation .main-nav ul li[class*="current-menu-"] > a {
	background-color: transparent !important;
}

.slideout-navigation .main-nav, .slideout-navigation .slideout-widget:not(:last-child) {
	padding-bottom: 2em;
}

.slideout-navigation.main-navigation .main-nav ul li a {
	line-height: 1.2em;
	padding: 0.75em 2em;
}
@media screen and (min-width: 600px) {
	.slideout-navigation.main-navigation .main-nav ul li a {
		padding: 0.75em 6em;
	}
}

/* headings */
.entry-content h1, h2, h3, h4, h5, h6 {
	font-family: "Montserrat", sans-serif;
}

.entry-content h1 {
	font-size: 2.7em;
	font-weight: 700;
}

.entry-content h2 {
	font-weight: 700;
}

.entry-content h3 {
	color: #0854a0;
	font-size: 1.5em;
	font-weight: 700;
}




/** content **/
.navigation-search.nav-search-active {
	background-color: #ffffff;
	border: 0px #0854a0 solid;
	width: 85%;
}
.search .search-field {
	margin-bottom: 2em;
}
@media screen and (min-width: 600px) {
	.search-results #main,
	.search-no-results #main {
		padding: 0 2em;
	}
}
.search .search-submit,
.search-results .entry-summary {
	margin-bottom: 4em;
}



@media screen and (max-width: 768px) {
	#primary-menu {
		display: none !important;
	}
}
.main-navigation ul, .gen-sidebar-nav {
	display: block !important;
}
@media screen and (min-width: 768px) {
	.navigation-search.nav-search-active {
		left: -280px;
		width: 18rem;
		padding-top: 4px;
	}
}
/* buttons */
.wp-block-buttons,
.su-spoiler {
	/* padding: 0 2em; */
}
@media screen and (max-width: 599px) {
	.wp-block-buttons,
	.su-spoiler {
		padding: 0;
	}
}
.wp-block-button,
.su-spoiler {
	display: block !important;
}
.wp-block-button__link {
	max-width: 300px;
	width: calc(100% - 2em);
}

.su-spoiler {
	width: 100%;
}


.entry-content button, 
.entry-content html input[type="button"], 
.entry-content input[type="reset"], 
.entry-content input[type="submit"], 
.entry-content a.button, 
.entry-content a.button:visited, 
.entry-content a.wp-block-button__link:not(.has-background),
.su-spoiler-title,
.frm_style_formidable-style.with_frm_style .frm_compact .frm_dropzone.dz-clickable .dz-message, .frm_style_formidable-style.with_frm_style input[type=submit], .frm_style_formidable-style.with_frm_style .frm_submit input[type=button], .frm_style_formidable-style.with_frm_style .frm_submit button, .frm_form_submit_style, .frm_style_formidable-style.with_frm_style .frm-edit-page-btn{
	background: #ca1e55 !important;
	background: -moz-linear-gradient(top,  #ca1e55 0%, #820547 100%) !important;
	background: -webkit-linear-gradient(top,  #ca1e55 0%,#820547 100%) !important;
	background: linear-gradient(to bottom,  #ca1e55 0%,#820547 100%) !important;
	border-radius: 8px !important;
	color: #ffffff !important;
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ca1e55', endColorstr='#820547',GradientType=0 ) !important;
	font-family: "Montserrat", sans-serif !important;
	font-size: 1em !important;
	font-weight: 700 !important;
	padding: 1em !important;
	text-align: left !important;
}
.su-spoiler-icon,
.su-spoiler-style-default>.su-spoiler-title>.su-spoiler-icon {
	top: 1em !important;
	right: 1em !important;
	left: unset !important;
}
.su-accordion,
.su-accordion .su-spoiler {
	margin-bottom: 0 !important;
}
.su-spoiler-style-default>.su-spoiler-content {
	background-color: #ffffff !important;
	padding: 1em !important;
	font-size: 18px !important;
	box-shadow: 0 0 10px 2px rgba( 0, 0, 0, 0.5 );
}
.su-spoiler-closed>.su-spoiler-content {
	padding: 0 !important;
}


.entry-content button:after, 
.entry-content html input[type="button"]:after, 
.entry-content input[type="reset"]:after, 
.entry-content input[type="submit"]:after, 
.entry-content a.button:after, 
.entry-content a.button:visited:after, 
.entry-content a.wp-block-button__link:not(.has-background):after  {
	float: right;
	padding-left: 0;
}
.entry-content .down button:after,  
.entry-content .down a.button:after, 
.entry-content .down a.button:visited:after, 
.entry-content .down a.wp-block-button__link:not(.has-background):after  {
	content: '➤';
	transform: rotate(90deg);
}
.entry-content .right button:after, 
.entry-content .right a.button:after, 
.entry-content .right a.button:visited:after, 
.entry-content .right a.wp-block-button__link:not(.has-background):after  {
	content: '➤';
}

.entry-content button:hover, 
.entry-content html input[type="button"]:hover, 
.entry-content input[type="reset"]:hover, 
.entry-content input[type="submit"]:hover, 
.entry-content a.button:hover, 
.entry-content a.wp-block-button__link:not(.has-background):hover {
	
}

/* all pages */

.page-id-578 #page,
.page-id-591 #page {
	min-height: 100vh;
}
.one-container:not(.page) .inside-article {
	padding-bottom: 0;
}

#content {
	padding-top: 0;
}

.site-info {
	padding: 2em 2em;
}
@media screen and (min-width: 600px) {
	.site-info {
		padding: 2em 7em;
	}
}



/* homepage */
@media screen and (max-width: 768px) {
	.separate-containers .inside-article, .separate-containers .comments-area, .separate-containers .page-header, .separate-containers .paging-navigation, .one-container .site-content, .inside-page-header, .wp-block-group__inner-container {
		padding-bottom: 0 !important;
	}
}
.home #hero h1 {
	font-size: 4em;
	letter-spacing: -1px;
	line-height: 1em;
	margin-bottom: 0;
	padding: 0 1em;
}
@media screen and (min-width: 600px) {
	.home #hero h1 {	
		font-size: 5em;
	}
}

@media screen and (max-width: 599px) {
	.home #hero h1 {
		font-size: 3em;
		padding: 0;
	}
}
.home #hero #buttons {
	padding: 1em;
	position: relative;
	left: -1em;
}
.home #hero .subheading {
	padding: 0;
}

@media screen and (max-width: 599px) {
	.home .homepage-spacer {
		display: none;
	}
}

.home #intro h3 {
	color: #4d4d4d;
}
.home #intro .highlight {
	color: #c70853;
}

.home #new-patients,
.home #reviews,
.home #stats {
	margin-bottom: 0;
}

.home .color-block-grid p a {
	color: #ffffff !important;
	text-decoration: underline;
}
.home #new-patients p a:hover {
	color: #ffffff;
}

.home #stats h1 {
	font-family: georgia;
	font-size: 5em;
	font-style: italic;
	font-weight: 400;
}
.home #stats h1 a {
	color: #ffffff;
}
.home #stats h3 a {
	color: #ffffff;
	font-weight: 400;
}

.home .red-block {
	background: rgb(202,30,85);
	background: -moz-linear-gradient(180deg, rgba(202,30,85,1) 0%, rgba(130,5,71,1) 100%);
	background: -webkit-linear-gradient(180deg, rgba(202,30,85,1) 0%, rgba(130,5,71,1) 100%);
	background: linear-gradient(180deg, rgba(202,30,85,1) 0%, rgba(130,5,71,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ca1e55",endColorstr="#820547",GradientType=1);
}
.home .blue-block {
	background: rgb(8,84,160);
	background: -moz-linear-gradient(180deg, rgba(8,84,160,1) 0%, rgba(0,53,118,1) 100%);
	background: -webkit-linear-gradient(180deg, rgba(8,84,160,1) 0%, rgba(0,53,118,1) 100%);
	background: linear-gradient(180deg, rgba(8,84,160,1) 0%, rgba(0,53,118,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#0854a0",endColorstr="#003576",GradientType=1);
}


@media screen and (min-width: 768px) {
	.home .color-block-grid {
		margin-top: 10em;
	}
	.home .color-block-grid .wp-block-toolset-blocks-container.tb-container {
		padding: 5em !important;
	}
	.home .red-block {
		z-index: 2;
		margin-top: -10em;
	}
	.home .blue-block {
		z-index: 3;
		margin-top: -5em;
		padding: 1em;
		margin-left: -1em;
	}
	.home .white-block {
		z-index: 4;
	}
	.home .white-block .wp-block-buttons.alignleft {
		display: block;
		float: unset;
	}
}
.home .wp-block-toolset-blocks-container.tb-container {
		margin-bottom: 0 !important;
	}
@media screen and (max-width: 599px) {
	.home .ncqa-image figure {
		float: none;
		margin: 0 auto;
	}
}

.home .wp-block-jmsthemes-blocks-testimonial {
	color: #ffffff;
}
.home .jms-testimonial-star-rating {
	display: none !important;
}
.home .jms-testimonial-content {
	font-family: Garamond, Times, serif;
	font-style: italic;
	font-size: 24px;
}
.home .jms-testimonial-text {
	text-align: left;
}
.home .wp-block-jmsthemes-blocks-testimonial .jms-testimonial-style-1 .jms-testimonial-meta.d-inline-flex {
	display: block;
}
.home .jms-testimonial-meta {
	font-size: .75em;
	text-align: right !important;
}
.home .wp-block-jmsthemes-blocks-testimonial .owl-carousel .owl-nav.jms-nav>[class*=owl-] *,
.home .wp-block-jmsthemes-blocks-testimonial .jms-nav-control .owl-nav.jms-nav>[class*=owl-] * {
	color: #ffffff;
    font-size: 3em;
	font-weight: 400;
    margin: 0 auto;
    display: block;
    width: 100%;
    text-align: center;
	position: relative;
	top: -5px;
}
.home .entry-content #_hjyl24o17 .owl-nav button {
	background-color: #000000 !important;
}

/* archive pages */
#services-grid .tb-grid-column:hover {
	background-color: #ffffff;
	box-shadow: 0 0 15px 5px rgba( 0, 0, 0, 0.25 );
	border-radius: 8px;
}
#services-grid .service-subheading {
	margin: 0 auto;
	padding: 1em;
	max-width: 225px;
}

.service-image-archive {
	max-width: 100px;
	width: 100%;
}
.post-type-archive-service h3 a {
	color: #ca1e55;
	font-weight: 700;
}

/* service pages */
#service-header {
	margin-bottom: 2em;
}
#service-header figure {
	background: rgb(8,84,160);
	background: -moz-linear-gradient(134deg, rgba(8,84,160,1) 0%, rgba(202,30,85,1) 100%);
	background: -webkit-linear-gradient(134deg, rgba(8,84,160,1) 0%, rgba(202,30,85,1) 100%);
	background: linear-gradient(134deg, rgba(8,84,160,1) 0%, rgba(202,30,85,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#0854a0",endColorstr="#ca1e55",GradientType=1);
}
#service-header figure img {
	display: block;
	margin: 0 auto;
	max-width: 100%;
	width: 200px;
}
#service-header h3 a,
.single-physician h3 a,
.single-location h3 a {
	color: #707070 !important;
	font-weight: 300;
	margin-bottom: 0;
}


#service-departments,
#service-physicians {
	padding-bottom: 3em;
	padding-top: 3em;
}

#service-departments h2,
#service-physicians h2 {
	padding-bottom: 1em;
}

#service-departments h4,
#service-physicians h4 {
	color: #ca1e55;
	font-weight: 500;
}

#service-departments .wp-block-buttons {
	padding-top: 3em;
}

#service-physicians .wpv-block-loop-item,
body.post-type-archive-physician .wpv-block-loop-item {
	max-width: 250px;
}

#service-physicians img,
body.post-type-archive-physician .wpv-block-loop-item img {
	margin-bottom: 0.5em;
}
img.physician-thumbnail {
	width: 100%;
	background-position: center top;
}

body.page-id-1358 .wp-block-toolset-views-view-template-block.wpv-block-loop-item{
	max-width: 250px;
}
#service-physicians h4,
body.post-type-archive-physician .wpv-block-loop-item h4,
body.page-id-1358 .wpv-block-loop-item h4 {
	margin-bottom: 0;
	font-size: 1.125em;
	margin-top: 1em;
}
#service-physicians h4 a,
body.post-type-archive-physician .wpv-block-loop-item h4 a,
body.page-id-1358 .wpv-block-loop-item h4 a {
	color: #ca1e55;
	display: block;
	margin-bottom: 0;
	padding: 0.25em 0.5em 0 0.5em;
}

#service-physicians p,
body.post-type-archive-physician .wpv-block-loop-item p,
body.page-id-1358 .wpv-block-loop-item p {
	padding: 0.5em;
	margin-bottom: 0;
}

#service-physicians .read-more a,
body.post-type-archive-physician .wpv-block-loop-item .read-more a,
body.page-id-1358  .wpv-block-loop-item .read-more a {
	color: #ca1e55;
	font-size: 0.8em;
}

#service-physicians .read-more a:after,
body.post-type-archive-physician .wpv-block-loop-item .read-more a:after,
body.page-id-1358 .wpv-block-loop-item .read-more a:after {
	content: '➤';
	padding-left: 0.5em;
}
.wp-block-toolset-views-custom-search-container .wpv-submit-trigger, [data-type="toolset-views/custom-search-submit"] .wpv-submit-trigger {
	margin-bottom: 0;
	line-height: 1em !important;
}

body.page-id-1358 .wpv-sorting-block {
	margin-top: -2em;
	margin-bottom: 2em;
}
@media screen and (min-width: 600px) {
	body.page-id-1358 .wpv-sorting-block {
		margin-top: 2em;
		margin-bottom: 4em;
	}
}
@media screen and (min-width: 768px) {
	body.page-id-1358 .wpv-sorting-block {
		margin-top: -3em;
		margin-bottom: 4em;
	}
}
body.page-id-1358 select#wpv_control_select_wpv-relationship-filter,
select.wpv-sort-control-select.wpv-sort-control-orderby.js-wpv-sort-control-orderby.js-wpv-sort-control-force-apply-reload,
select.wpv-sort-control-select.wpv-sort-control-order.js-wpv-sort-control-order.js-wpv-sort-control-force-apply-reload {
	padding: 0.75em;
}
select.wpv-sort-control-select.wpv-sort-control-order.js-wpv-sort-control-order.js-wpv-sort-control-force-apply-reload {
	margin-left: 1.5em;
}


.service-template-default .entry-content ul {
	list-style-type: none;
}
.service-template-default .entry-content ul li:before {    
    font-family: 'FontAwesome';
    content: '\f0a9';
    margin:0 0.5em 0 -1.5em;
    color: #0854A0;
}

#related-physicians {
	display: none;
}

/* location pages */

.page-id-591 a.arrow:after {
	content: '➤';
	padding-left: 0.5em;
}

.page-id-591 h3 a.location-card-name {
	color: #ca1e55;
	font-size: 0.75em;
	font-weight: 400;
}
.page-id-591 .location-card-grid .wpv-block-loop-item a {
	color: #ca1e55 !important;
}
.page-id-591 .small {
	font-size: 0.75em;
}

.single-location h3 a {
	color: #707070;
	font-weight: 300;
	margin-bottom: 0;
}

.single-location .wp-block-buttons {
	padding-left: 0;
}
.entry-content button .center a,
.entry-content .center a.button,
.entry-content .center a.button:visited,
.entry-content .center a.wp-block-button__link:not(.has-background) {
	text-align: center;
}

.location-template-default ul {
	list-style-type: none;
}
.location-template-default ul li {
	color: #CA1E55;
}
.location-template-default .entry-content ul li:before {    
    font-family: 'FontAwesome';
    content: '\f058';
    margin:0 0.5em 0 -1.5em;
    color: #CA1E55;
}

#location-map {
	z-index: 1;
	border-radius: 8px;
}
#location-map button {
	color: #ffffff !important;
}

/* physician pages */

.post-type-archive-physician .wpv-submit-trigger {
	padding: 0.8em 2em;
}
@media screen and (max-width: 599px) {
	.post-type-archive-physician .wpv-submit-trigger {
		margin-top: 1em;
	}
}
#physician-sort .wpv-sorting-block {
	position: relative;
	top: -3.5em;
}
@media screen and (max-width: 599px) {
	#physician-sort .wpv-sorting-block {
		position: relative;
		top: 0;
	}
	#physician-sort .wpv-sorting-block.wpv-sorting-block-align-right {
		justify-content: flex-start;
	}
}

.single-physician h3 a {
	color: #707070;
	font-weight: 300;
	margin-bottom: 0;
}

#physician-contact {
	z-index: 1;
	border-radius: 8px;
}


/* urgent care */
.urgent-care {
	display: none !important;
}

/* about us */

.page-id-594 h1 {
	font-size: 5em;
	font-weight: 400;
}
.page-id-594 h3 {
	color: #707070;
}
.page-id-594.step {
	font-size: 4em;
	font-weight: 400;
}
.about-red {
	background: rgb(202,30,85);
	background: -moz-linear-gradient(180deg, rgba(202,30,85,1) 0%, rgba(130,5,71,1) 100%);
	background: -webkit-linear-gradient(180deg, rgba(202,30,85,1) 0%, rgba(130,5,71,1) 100%);
	background: linear-gradient(180deg, rgba(202,30,85,1) 0%, rgba(130,5,71,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ca1e55",endColorstr="#820547",GradientType=1);
}
.about-red h3,
.about-red p,
.about-black h3,
.about-black p {
	padding: 0 1em;
}
@media screen and (min-width: 600px) {
	.about-red h3,
	.about-red p,
	.about-black h3,
	.about-black p {
		padding: 0 4em;
	}
}



/* careers */
@media screen and (min-width: 600px) {
	.page-image {
		margin-left: -2em;
		height: 230px !important;
		min-height: unset;
	}
}

.page-id-597 .entry-content a {
	color: #ca1e55 !important;
}

/* lightbox */
.mfp-bg {
	background-color: #2065A9 !important;
}
.mfp-iframe-scaler {
	padding-top: 80vh !important;
}
.mfp-iframe {
	border-radius: 8px;
}

.page-id-1416 {
	background-color: #ffffff !important;
	background-image: none !important;
}
.page-id-793 h1 {
	font-weight: 500;
}

/* give us a call */
.page-id-578 .wpv-block-loop-item .tb-fields-and-text p,
.page-id-578 .su-spoiler-content p {
	margin-bottom: 0.75em !important;
}

/* location selection */
.page-id-591 .wpv-block-loop-item .tb-fields-and-text p,
.page-id-591 .su-spoiler-content p {
	margin-bottom: 0.75em !important;
}

/* google maps button defaults */
button.gm-control-active {
	background: inital !important;
	background-image: initial !important;
}

/* insurance & billing */

.subpage-header figure {
	background: rgb(8,84,160);
	background: -moz-linear-gradient(134deg, rgba(8,84,160,1) 0%, rgba(202,30,85,1) 100%);
	background: -webkit-linear-gradient(134deg, rgba(8,84,160,1) 0%, rgba(202,30,85,1) 100%);
	background: linear-gradient(134deg, rgba(8,84,160,1) 0%, rgba(202,30,85,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#0854a0",endColorstr="#ca1e55",GradientType=1);
}
.subpage-header figure img {
	display: block;
	margin: 0 auto;
	max-width: 100%;
	width: 200px;
}

/* forms & policies */
.page-id-1153 .entry-content a {
	color: #707070;
	text-decoration: underline;
}

/* padding overflow bugfix */
.tb-grid-column.tb-grid-align-top {
	width: unset;
}

.site-info a, .site-info a:visited, .site-info a:hover {
	color: #ffffff;
}

/* hide appointments on pharmacy service page */
.postid-999 #service-content .wp-block-buttons:first-of-type,
.postid-999 #service-departments .wp-block-buttons {
	display: none !important;
}
/* hide appointments on urgent care service page */
.postid-150 #service-content .wp-block-buttons:first-of-type,
.postid-150 #service-departments .wp-block-buttons {
	display: none !important;
}