
/* Gridbuilder - 'Learn more' button */
.wp-grid-builder .sd-gb-popups-button-learnmore{
	padding: 11px 15px!important;
	border: 0px solid #c1c1c1 !important;
	white-space: nowrap;
	border-radius: 3px !important;
	background-color: var(--global-palette-btn-bg);
	color: var(--global-palette-btn, #FFFFFF);
}
.wp-grid-builder .sd-gb-popups-button-learnmore:hover{
	color: #3182CE !important;
	border: 0px solid #3182CE !important;
	background-color: var(--global-palette2);
}

.wp-grid-builder .sd-gb-popups-button-learnmore-icon{
  display:inline-flex;
  width:20px !important;
  height:18px !important;
  margin-left:5px !important;
}


/* Gridbuilder Grid Popups */
.gbpopups-modal{
	background-color:white;
	padding:50px;
	width: 90vw;
	max-width:1100px;
	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%;
}


.sd-gb-popup-wrapper{
	display:grid;
	align-items: start;
	grid-template-columns: 30fr 55fr;
	gap: 40px;
	font-size:16px;
}
.sd-gb-popup-col1{
	text-align:center;
}
.sd-gb-popup-name{
	font-family: var(--global-heading-font-family);
	font-weight: 900;
	font-size: 1.6em;
	margin-top:0px;
	line-height: 1.1;
	text-transform:uppercase;
}
.sd-gb-popup-position{
	text-transform:uppercase;
	line-height: 1.3;
	font-weight: 600;
	margin-top: 5px;
	margin-bottom:15px;
	color: #718096;
	letter-spacing: .5px;
}
.sd-gb-popup-content {
	margin-top:5px;
}
.sd-gb-popup-content p{
	margin-top:0px;
}

.sd-gb-popup-image-wrapper>img{
	object-fit:cover;
	aspect-ratio: 3 / 4;
	border-radius:0px;
    width: 100%;
}

@media screen and (max-width: 767px) {
	.gbpopups-modal {
		padding: 45px 20px 20px 20px;
	}

	.gbpopups-modal-inner{
	    padding-left: 7px;
	}

	.sd-gb-popup-wrapper{
		grid-template-columns:1fr;
		gap:20px;
	}
	.sd-gb-popup-content {
		padding-top:0px;
		font-size:16px;
	}
	.sd-gb-popup-image-wrapper{
		/*height: 200px;*/
	}
	.sd-gb-popup-image-wrapper>img{
		max-height:100%;
		width:auto;
		margin:0 auto;
	}

	.sd-gb-popup-name,
	.sd-gb-popup-position {
		text-align:center;
	}

	#gbpopups-close-icon-wrap {
		height: 35px;
		width: 35px;
		top:8px;
		right:8px;
	}

}