#obqads-popup {
	display: none;
	position: fixed;
	z-index: 99999;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}

#obqads-popup .obqads-overlay {
	display: block;
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	background-color: rgba(0, 0, 0, 0.5);
}

#obqads-popup .obqads-wrapper {
	display: table;
	position: relative;
	width: 50%;
	height: 100%;
	margin: auto;
	max-width: 750px;
	max-height: 75%;
}
#obqads-popup .obqads-content {
	display: table-cell;
	position: relative;
	vertical-align: middle;
}
#obqads-popup .obqads-window {
	position: relative;
	background-color: #fff;
	border: 1px solid #fff;
}

#obqads-popup .obqads-close {

  position: absolute;
  right: -1.25rem;
  top: -1.25rem;
  background: #1C57ED;
  width: 2.5rem;
  height: 2.5rem;
  z-index: 9;
  border-radius: 62.5rem;
  opacity: 1;
  color: #fff;
  text-shadow: inherit;
  transition: all 0.24s ease-in-out;
  z-index: 99999;
  box-sizing: content-box;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

#obqads-popup .obqads-close:hover {
  background: #ED1C24;
  transition: all 0.24s ease-in-out;
}

#obqads-popup .obqads-close i{
  display: flex;
  align-items: center;
  justify-content: center;
}

#obqads-popup .obqads-link,
#obqads-popup .obqads-image-wrapper {
	display: block;
}

#obqads-popup .obqads-link:hover{
  color: #000;
}


#obqads-popup .obqads-title {
	display: flex;
  align-items: center;
  justify-content: center;
	padding: 0.5rem;
	font-size: 1.5rem;
	color: #000;

}

#obqads-popup img.obqads-image {
	width: 100%;
	height: 100%;
}

#obqads-popup .obqads-desc {
	position: absolute;
	bottom: 0;
	left: 0;
  color: #000;
	background-color: rgba(255,255,255,1);
	width: 100%;
  padding: 0.5rem;
}

#obqads-popup .obqads-desc p:last-child{
  margin-bottom: 0;
}



/** Fix no-image */
#obqads-popup.obqads-popup-noimg .obqads-title {
	display: block;
}
#obqads-popup.obqads-popup-noimg .obqads-desc {
	display: block;
	position: relative;
	background-color: transparent;
}

@media screen and (max-width: 767px) {
	#obqads-popup .obqads-wrapper {
		width: 90%;
	}
}
