/*
 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
*/

.safe-svg-cover .safe-svg-inside {
	display: flex !important;
	align-items: center;
}

/* .site-header::before,
.gb-container-3e9fd70d::before {
	content: '';
	background-color: var(--global-color-9);
	width: 31.5vw;
	height: 100%;
	position: absolute;
	z-index: 1;
	right: 0;
} */

.gb-container-3e9fd70d::before { height: 65%; }

.doctor-cards-grid { position: relative; }

.doctor-cards-grid::before {
	content: '';
	position: absolute;
	width: 70%;
	height: 110%;
	border: 3px solid #607765;
	left: 50%;
	top: 50%;
	translate: -50% -50%;
}

.doctor-card {
	position: relative;
	z-index: 2;
}

.staff-text {
	display: none;
	/* width: 50%; */
	padding: 30px;
}

.staff-learn-btn.active {
	scroll-margin-bottom: 50px;
}

.gb-grid-column:has(.staff-learn-btn.active) {
	width: 100%;
}

.add-border { 
	position: relative;
	z-index: 1;
}

.add-border .gb-container {
	background: #fff;
	/* padding: 15px; */
	min-width: 300px;
}
/* 
.add-border::before {
	content: '';
	background: #607765;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 50%;
	left: 50%;
	translate: -50% -50%;
	z-index: -1;
} */

.gb-container.active + .staff-text {
	display: block;
}

.gb-container-0f501867 {
	width: 300px !important;
}

.gb-block-image-e1d9fd51,
.gb-block-image-65b14b91,
.staff-img {
	display: block;
	position: relative;
	z-index: 1;
}

.gb-block-image-e1d9fd51::before,
.gb-block-image-65b14b91::before,
.staff-img::before {
	content: '';
	height: 100%;
	width: 100%;
	top: 20px;
	left: 25px;
	border: solid 3px #607765;
	position: absolute;
	z-index: -1;
}

.gb-block-image-65b14b91::before {
	width: 450px;
	left: 20%;
}

/* .gb-grid-column:has(.staff-learn-btn.active) + .gb-grid-column,
.gb-grid-column:has(.staff-learn-btn.active) + .gb-grid-column + .gb-grid-column {
	width: 50%;
} */

@media screen and (max-width: 1051px) {
	.service-card {
		min-height: 365px;
	}
}

@media screen and (max-width: 1023px) {
	.gb-grid-column-11d6f21a {
    	width: 100% !important;
	}
	
	.gb-block-image-25478b91 {
		margin: 0 auto !important;
	}

	.site-header .header-image { width: 100px; }

	.service-card {
		min-height: 465px;
	}
}

@media screen and (max-width: 767px) {
	.site-header::before,
	.gb-container-3e9fd70d::before {
		content: none;
	}

	.main-navigation .menu-toggle { 	
		background-color: #9f907f;
		margin-top: 15px;
	}

	.gb-container-cbcdbf8e {
		margin-left: 0 !important;
	}

	.service-card { min-height: unset; }
}