.gbpopups-modal{
	background-color:white;
	padding:50px;
	width: 90vw;
	max-width:800px;
	max-height: calc(100vh - 100px);
	border-radius: 4px;
}

.gbpopups-modal-inner{
	overflow-y: auto;
	height:100%;
	padding-right: 5px;
	max-height: calc(100vh - 200px);
}

#gbpopups-close-icon-wrap {
	position:absolute;
	top: 7px;
	right: 0px;
	height: 30px;
	width: 30px;
	z-index:500;
}

#gbpopups-close-icon-wrap{
	height:45px;
	width: 45px;
	right:12px;
	top: 12px;
}

#gbpopups-close-icon-wrap > img{
	width:100%;
}



/* Gridbuilder Team Grid Popups */
.team-member-popup-contents{
	display:grid;
	align-items: start;
	grid-template-columns: 30fr 55fr;
	gap: 40px;
	font-size:16px;
}
.team-member-popup-col1{
	text-align:center;
}
.team-member-popup-name{
	font-weight: 700;
	font-size: 2em;
	margin-top:0px;
	line-height: 1.2;
}
.team-member-popup-position{
	text-transform:uppercase;
	line-height: 1.3;
	font-weight: 600;
	margin-top: 5px;
	color: #718096;
	letter-spacing: .5px;
}
.team-member-popup-content {
	margin-top:5px;
}
.team-member-popup-content p{
	margin-top:0px;
}

.team-member-popup-image-wrapper img{
  border-radius:4px;
}


@media screen and (max-width: 767px) {
	.gbpopups-modal {
		padding: 40px;
	}

	.team-member-popup-contents{
		grid-template-columns:1fr;
		gap:20px;
	}
	.team-member-popup-content {
		padding-top:0px;
	}
	.team-member-popup-image-wrapper{
		height: 200px;
	}
	.team-member-popup-image-wrapper>img{
		max-height:100%;
		width:auto;
		margin:0 auto;
	}

	#gbpopups-close-icon-wrap {
		height: 35px;
		width: 35px;
		top:8px;
		right:8px;
	}
}