/**
 * Public-specific CSS.
 */

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

#em-popup {
	position: absolute;
	z-index: 2;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	width: 90%;
	max-width: 450px;
	text-align: center;
	-webkit-animation: fadein 0.5s;
	animation: fadein 0.5s;
}

#em-popup.has-image {
	max-width: 700px;
}

#em-popup-overlay {
	position: absolute;
	z-index: 1;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	background: rgba(255, 255, 255, 0.5);
	-webkit-animation: fadein 0.5s;
	animation: fadein 0.5s;
}

#em-popup-close {
	position: absolute;
	top: 0;
	right: 0;
	width: 20px;
	height: 20px;
	margin: 5px;
	background: url(../images/close.svg) center no-repeat;
	background-size: contain;
	cursor: pointer;
}

#em-popup-container {
	padding: 30px;
	background: #000;
	color: #fff;
}

#em-popup.has-image #em-popup-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.em-pop-image {
	width: 48%;
}

#em-popup.has-image #em-popup-inner {
	width: 48%;
	text-align: left;
}

.em-pop-title {
	margin-bottom: 20px;
}

.em-pop-description {
	margin-bottom: 20px;
}

.em-popup-form-code label {
	display: block;
	margin-bottom: 5px;
	text-align: left;
}

.em-popup-form-code input:not([type="submit"]) {
	margin-bottom: 10px;
	width: 100%;
}

.em-popup-form-code input[type="submit"],
.em-popup-form-code button {
	width: 100%;
	padding: 15px;
	border: none;
}

@-webkit-keyframes fadein {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}
@-ms-keyframes fadein {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}
@keyframes fadein {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@media screen and (max-width: 767px) {
	
	#em-popup.has-image {
		max-width: 450px;
	}

	#em-popup.has-image #em-popup-container {
		display: block;
	}

	.em-pop-image {
		display: none;
	}

	#em-popup.has-image #em-popup-inner {
		width: 100%;
	}

}