.survey-completed {
	height: 100%;
	width: 100%;
	text-align: center;
	display: none;
	justify-content: center;
	-webkit-justify-content: center;
	align-items: center;
	-webkit-align-items: center;
}
.survey-completed-msg {
	display: table-cell;
	vertical-align: middle;
	font-size: 1.5em;
}
.lightbox-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 1010;
	background-image: url(../img/enews-survey-bg.jpg);
	background-size: auto 100%;
	background-position: right;
}

.lightbox-wrapper {
  position: absolute;
  top: 2%;
  left: 0;
  right: 0;
  margin: 20px auto;
  width: 55%;
  height: 90%;
	min-width: 500px;
}
.lightbox-wrapper > .pure-u-1 {
  padding: 0;
}
.lightbox-wrapper > .pure-u-1:first-child {
  height: 40px;
}
.lightbox-wrapper > .pure-u-1:last-child {
  position: absolute;
  top: 40px;
  left: 0;
  height: 90%;
}
form#survey > .pure-u-1:first-child {
	padding-top: 0;
}

#newsletter .tnc {
	margin-top: 2px !important;
}
#newsletter .tnc label {
	font-size: 12px;
}
#newsletter .tnc label:before {
	width: 10px;
	height: 10px;
	margin-right: 3px;
}
#newsletter .tnc label:after {
	font-size: 10px;
	top: 6px;
}
#subscribe .tnc label {
	color: #fff;
}
#subscribe-aside .tnc label:after {
	top: 3px;
}
#subscribe-aside .tnc {
	background: rgba(255,255,255,0.8);
	border-radius: 5px;
	padding: 0 5px;
}

.lightbox-close-btn {
  display: inline-block;
  position: absolute;
  right: 10px;
  width: 100px;
  height: 40px;
  padding: 5px 10px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  background-color: #eee;
  /*font-family: "forma_relight";
  font-size: 14px;
  font-weight: 700;
  text-align: center;*/
  cursor: pointer;
}
/*.lightbox-close-btn:before {
  content: "CLOSE";
  display: inline-block;
  vertical-align: middle;
  line-height: 30px;
}*/
.lightbox-close-btn:after {
  content: "\00D7";
  display: inline-block;
  vertical-align: middle;
  line-height: 0.7;
  font-size: 28px;
}

.lightbox {
  display: block;
  height: 100%;
  background-color: white;
  /*border: 1px solid #ddd;*/
	border: 5px solid #b00d38;
  box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.2);
  font-family: "Freight Display Pro W01";
  font-size: 18px;
  color: black;
  overflow: auto;
}
.lightbox .title, .lightbox .content {
  margin: 0 auto;
}
.lightbox .title {
  border-bottom: 1px solid #ddd;
  padding: 10px 25px;
}
.lightbox .content {
  padding: 15px 25px;
  font-family: "forma_relight";
  font-size: 14px;
}
.lightbox h1 {
  font-family: "Freight Display Pro W01";
  font-size: 18px;
	font-weight: 700;
}
.lightbox p {
  margin: 0 0 15px 0;
  font-family: "Freight Display Pro W01";
  font-size: 15px;
}
.lightbox form .pure-g .pure-u-1:not(.checkbox-group) {
  padding: 0;
}
/*#survey:not(.survey-standalone) .lightbox form .pure-g .pure-u-1:nth-child(2) {
  padding: 0 10px;
}*/
.lightbox form [class*="pure-u"] {
  padding: 10px 0;
}
.lightbox form .category {
	font-family: sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 29px;
}
.lightbox form .category.oneliner {
	line-height: 1.5em;
	padding-bottom: 0;
}
.lightbox form .filter-dropdown {
  display: block;
  width: 100%;
  margin: 0;
}
.lightbox form .radio-group, .lightbox form .checkbox-group {
  display: inline-block;
  padding: 0;
}
.lightbox form .radio-group, .lightbox form .checkbox-group {
	text-indent: -26px;
	padding-left: 26px;
}
.lightbox form .radio-group label:after, .lightbox form .checkbox-group label:after {
	left: 28px;
	top: -1px;
}
.lightbox form input {
  display: inline-block;
  vertical-align: middle;
}
.lightbox form input[type="text"], .lightbox form input[type="email"] {
  width: 100%;
	padding: 5px 10px;
  border: 1px solid #aaa;
	box-shadow: none;
}
.lightbox form input[type="radio"], .lightbox form input[type="checkbox"] {
  margin-right: 5px;
	top: 8px;
}
.lightbox form label {
  margin-right: 20px;
  /*line-height: 29px;*/
}
#survey .lightbox-close-btn:before, .pop-enews-lightbox-close-btn:before {
	content: none;
}
#survey .lightbox-close-btn, .pop-enews-lightbox-close-btn {
	color: #b00d38;
	background: none;
	width: 30px;
	right: 10px;
	top: 5px;
	border-radius: 50%;
	height: 30px;
	line-height: 30px;
	padding: 0;
	z-index: 999;
}
.survey-btn {
	text-align: center;
}

.enews-form {}
.enews-completed {
	display: none;
}

#survey .filter-dropdown {
	height: 29px;
}
#survey .enews-logo {
	margin: 20px auto 0;
	display: block;
	max-width: 150px;
	position: relative;
	z-index: 1011;
}

/* Stand alone survey */
#survey.survey-standalone {
	display: block;
	position: relative;
	height: 800px;
	z-index: 1;
}
#survey.survey-standalone .lightbox-wrapper > .pure-u-1:last-child {
	top: 0;
	height: 100%;
}


@media (max-width: 767px) {
	#survey form {
		padding-right: 10px;
	}
	.enews-logo {
		max-width: 90px !important;
		margin: 15px auto 0 !important;
	}
  .lightbox-wrapper {
    top: 0;
    width: 100%;
		min-width: 100%;
  }
  .lightbox-wrapper > .pure-u-1:first-child {
    height: 30px;
  }
  .lightbox-wrapper > .pure-u-1:last-child {
    top: 30px;
  }
	#survey > .lightbox-wrapper > .pure-u-1:first-child {
		height: inherit;
		top: 30px;
	}

  .lightbox-close-btn {
    width: 90px;
    height: 30px;
  }
  .lightbox-close-btn:before, .lightbox-close-btn:after {
    line-height: 20px;
  }

  .lightbox .title, .lightbox .content {
    padding: 7px;
  }
  .lightbox h1 {
    font-size: 15px;
    line-height: 1.3;
  }
  .lightbox p {
    margin: 0 0 10px 0;
    font-size: 14px;
  }
  /*#survey:not(.survey-standalone) .lightbox form .pure-u-1:nth-child(2):not(.checkbox-group) {
    padding: 0;
  }*/
  .lightbox form .pure-g .pure-u-1, .lightbox form .pure-g .pure-u-1:nth-child(2):not(.checkbox-group) {
    padding: 10px 0;
  }
	.lightbox form .pure-g .pure-u-1, .lightbox form .pure-g .pure-u-1.checkbox-group {
    padding: 0 0 0 26px;
	}
  .lightbox form label {
    margin-right: 15px;
    font-size: 0.9em;
  }
  .lightbox .category {
    position: relative;
    bottom: -10px;
  }
	.lightbox form .category {
		font-size: 0.9em;
	}
	.lightbox .filter-dropdown[name="name_title"] {
    max-width: 80px;
  }
}
