#modal-contain {
  content: "";
  background-color: rgba(116, 123, 128, 0.8);
  position: fixed;
  left:0px;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility:hidden;
  z-index: 99999;
  transition: all 0.3s ease 0.3s;
}
.show-modal #modal-contain {
	visibility: visible;
	opacity: 1;
	transition: all 0.3s ease 0s;
}
#modal-contain > #modal-display {
  display: flex;
  align-items: stretch;
  position: absolute;
  top:50%;
  left:50%;
  background-color: #fff;
  box-shadow: 0px 0px 12px 2px rgba(0, 0, 0, 0.5);
  -webkit-transform: translate(-50%, -50%) scale(0.4);
  -moz-transform:    translate(-50%, -50%) scale(0.4);
  -ms-transform:     translate(-50%, -50%) scale(0.4);
  -o-transform:      translate(-50%, -50%) scale(0.4);
  transform:         translate(-50%, -50%) scale(0.4);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease 0s;
  overflow: hidden;
}
.show-modal #modal-contain > #modal-display {
	opacity: 1;
	visibility: visible;
	-webkit-transform: translate(-50%, -50%) scale(1);
    -moz-transform:    translate(-50%, -50%) scale(1);
    -ms-transform:     translate(-50%, -50%) scale(1);
    -o-transform:      translate(-50%, -50%) scale(1);
    transform:         translate(-50%, -50%) scale(1);
    transition: all 0.3s ease 0.3s;
}


#modal-display input:not(.btn) {
	background-color: transparent;
	border: 2px solid #ddd; 
	padding: 10px;
	min-width: 100%;
}
.modal-close {
	font-size: 40px;
	color: #fff;
	line-height: 1;
	position: absolute;
	right: 30px;
	top: 25px;
	cursor: pointer;
}

.modal-image {
	width: 100%;
	padding: 25px 20px;
/* 	max-width: 640px; */ /* for winner message */
	max-width: 400px;
	min-width: 300px;
	background-image: url("/images/countryfest.jpg");
	background-attachment: scroll;
	background-color: transparent;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	text-align: center;
	display: inline-flex;
	flex-flow: column nowrap;
	justify-content: center;
	align-items: center;
}
.modal-image > * {
	max-width: 100%;
}
.modal-image img {
	max-width: 230px;
}
#modal-display form {
	flex-grow: 1;
	padding: 25px 20px 25px;
}
#promo-form h6 {
	color: #131313;
	text-align: center;
}
#promo-form .checkbox label,
#promo-form .checkbox input {
	display: inline-block;
	font-size: 14px;
}
#promo-form .checkbox input {
	min-width: 0;
	margin-right: 6px;
}
#thanks {
	display:flex;
	flex-direction: column;
	width: 500px;
	height: 400px;
	text-align: center;
	background-position: center center;
	align-items:center;
	justify-content: center;
	padding:20px;
}
#promo-form p {
	margin-bottom: 10px;
}
#promo-form small {
	display: block;
	font-size: 11px;
}
#promo-form .error {
	font-size: 16px;
}
#promo-form .buttons {
	margin: 20px auto 0;
	text-align: center;
}
#promo-form .captcha-container {
	margin-top: 25px;
}

#promo-btn {
	position: fixed;
	left: 100%;
	top: 50%;
	transform: rotate(-90deg) translateX(-50%);
	transform-origin: 0 100%;
	cursor: pointer;
	min-width: 0;
	width: 230px;
	padding: 12px 12px 9px;
	
	z-index: 100;
}
.show-modal #promo-btn {
	transform: rotate(-90deg) translateX(-50%) translateY(100%);
}