/*
#facebox {
  box-sizing: border-box;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10001;
  text-align: left;
  width: 100%;
  max-width: 100%;
  max-height: 100%;
  overflow: auto;
  padding: var(--mas-gap-100);
}

#facebox .popup{
  box-sizing: border-box;
  position:relative;
  background: #fff;
  border:3px solid rgba(0,0,0,0);
  -webkit-border-radius:5px;
  -moz-border-radius:5px;
  border-radius:5px;
  -webkit-box-shadow:0 0 18px rgba(0,0,0,0.4);
  -moz-box-shadow:0 0 18px rgba(0,0,0,0.4);
  box-shadow:0 0 18px rgba(0,0,0,0.4);
  max-width: var(--mas-container-width);
  margin: auto;
  padding: var(--mas-padding-default);
}
*/
#facebox {
  box-sizing: border-box;
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 0;
  left: 0;
  z-index: 10001;
  text-align: left;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  overflow: auto;
  padding: var(--mas-gap-100);
}

#facebox .popup{
	box-sizing: border-box;
	position:relative;
	background: #fff;
	border:3px solid rgba(0,0,0,0);
	-webkit-border-radius:5px;
	-moz-border-radius:5px;
	border-radius:5px;
	-webkit-box-shadow:0 0 18px rgba(0,0,0,0.4);
	-moz-box-shadow:0 0 18px rgba(0,0,0,0.4);
	box-shadow:0 0 18px rgba(0,0,0,0.4);
	max-width: var(--mas-container-width);
	max-height: 100%;
	overflow: auto;
}

#facebox .content {
  background: #fff;
}

#facebox .content:not(.page) {
  padding: var(--mas-gap-100);
}

#facebox .content > p:first-child{
  margin-top:0;
}
#facebox .content > p:last-child{
  margin-bottom:0;
}

#facebox .close{
	position: fixed;
	top: 10px;
	right: 10px;
	background-image: url('../../../../../../wp-content/themes/vantage-child/assets/icons/close-dark.svg');
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	width: 20px;
	height: 20px;
	background-color: var(--mas-color-ffffff);
	border: 3px solid var(--mas-color-ffffff);
	border-radius: 50%;
}
/*
#facebox .close:hover {
	background-color: var(--mas-color-ffffff);
	border: 3px solid var(--mas-color-logo-mid);
}
*/
#facebox .loading {
  text-align: center;
}

#facebox .image {
  text-align: center;
}

#facebox img {
  border: 0;
  margin: 0;
}

#facebox_overlay {
  position: fixed;
  top: 0px;
  left: 0px;
  height:100%;
  width:100%;
}

.facebox_hide {
  z-index:-100;
}

.facebox_overlayBG {
  opacity: 0.3;
  background-color: #000;
  z-index: 10000;
}

#facebox .entry-content {
	padding: var(--mas-gap-100);
}
#facebox .panel-row-style {
	margin: 0;
}
#facebox .entry-content .panel-grid:last-of-type {
	margin-bottom: 0;
}

@media (min-width: 769px) {
	#facebox {
		padding: var(--mas-gap-150);
	}
}

/*
@media (min-width: 1200px) {
	
}
*/