/*
    AT - I couldn't get php to work with css but all variables needed should be inside this array
    $vars = supadu_silverpop_get_settings();
 */
/***************
Basic Styles
***************/
strong {
	font-weight: bold;
}

.cf:before,
.cf:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.cf:after {
    clear: both;
}

#close {
	position: fixed;
	right: 25px;
	top: 10px;
	font-size: 20px;
	color: lightgray;
}

#close:hover {
	cursor: pointer;
	color: white;
}

.supadu-silverpop-header-logo {
	width: 400px;
}


.silver-pop-legal {
	clear: both;
    font-size: 12px;
    bottom: 0;
    margin-top: 0px;
    position: absolute;
    bottom: 0;
    width: 80%;
    text-align: left;
    line-height: 13px;
}



.signup.supadu-silverpop-side {
	position: fixed;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.8);
	z-index: 20000;
	display: table;
	width:100%;
	height:100%;
	color: white;
	font-family: Arial;
	font-size: 16px;
	overflow-y: auto;
}

#supadu-silverpop-form {
	margin: 0 auto;
	padding: 0 10%;
	display: table-cell;
	text-align: center;
	vertical-align: middle;
}

.supadu-silverpop-heading {
	font-size: 75px;
	margin-bottom: 40px;
	text-align: center;
	color: white;
}

.supadu-silverpop-heading span {
	color: yellow;
}
.supadu-silverpop-sub-heading {
	font-size: 25px;
	line-height: 1em;
}

label.heading {
	width: 100%;
	display: block;
	margin-bottom: 30px;
}

.email-block, .dob-block {
	width: 50%;
	float: left;
	padding: 10px;
	margin-bottom: 30px;
	position: relative;
}

.email-block label, .dob-block label {
	display: block;
	text-align: left;
	text-transform: uppercase;
	font-size: 0.8em;
}

.drop-down-container div {
	display: flex;
	justify-content: space-between;
}

.drop-down-container {
	width: 100%;
}

.drop-down-container dl {
	width: 30%;
}

.drop-down-container select {
	width: 100%;
	margin: 0 !important;
}

.submit-button {
	width: 100%;
	clear: both;
}

.select-style {
	padding: 0;
	margin: 0;
	border: 1px solid #d7d7d7;
	overflow: hidden;
	color: black;

	background: #fff url("/wp-content/plugins/supadu-silverpop/public/img/arrowdown.gif") no-repeat 90% 50%;
}

.select-style select {
	padding: 5px 8px;
	width: 130%;
	border: none;
	box-shadow: none;
	background-color: transparent;
	background-image: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	height: 40px;
}

.select-style select:focus {
	outline: none;
}

.error {

}

#under-age-modal {
	padding-top: 30px;
	position: fixed;
z-index: 30000;
overflow-y: auto;
}

#under-age-form > div.field-row {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	width: 100%;
	max-width: 400px;
	margin-top: 30px;
	position: relative;
}

#parentEmail {
	width:70%
}

#under-age-submit {
	width: 30%;
}


/***************
Modular Styles
***************/
.float-left {
	float: left;
}
.float-right {
	float: right;
}
.clear {
	clear: both;
}
.bold {
	font-weight: bold;
}
.hidden,
.hide {
	display: none;
}
.relative {
	position: relative;
}
.absolute {
	position: absolute;
}
/***************
Error Styles and Positioning
***************/
input.error {
  border: 1px solid #f00 !important;
  -moz-box-shadow: none !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
  outline: none !important;
}
.dk_toggle.error {
  border: 1px solid #f00 !important;
  color: inherit !important;
}
.error {
	color: #f00;
}
.required-notation {
	color: #f00;
}
.error-background {
	border: 1px solid #f00 !important;
	-webkit-box-shadow: none !important;
	-moz-box-shadow: none !important;
	-ms-box-shadow: none !important;
	-o-box-shadow: none !important;
	box-shadow: none !important;
}
.dk_options_inner {
	z-index:2;
}
.hc-dropdowns {
	position: relative;
}
.hc-dropdowns label[for="month"].error {
	position: absolute;
	top: 32px;
	// left: 86px;
	left: 0;
}
.hc-dropdowns label[for="day"].error {
	position: absolute;
	top: 32px;
	// left: 162px;
	left: 0;
}
.hc-dropdowns label[for="year"].error {
	position: absolute;
	top: 32px;
	// left: 228px;
	left: 0;
}
#under-age-modal label[for="parentEmail"] {
	position: absolute;
	bottom: -30px;
	left: 0;
	font-size: 14px;
}
#under-age-modal label[for="firstname"] {
	position: absolute;
	top: 163px;
	left: 113px;
}
#under-age-modal label[for="lastname"] {
	position: absolute;
	top: 163px;
	left: 314px;
}
#bookperk-form label[for="email"],
#author-form label[for="email"] {
	display: block;
}
/***************
Basic Forms/Inputs
***************/

input[type=text],
input[type=tel],
input[type=number],
input[type=email],
input[type=search] {
  background-color: #fdfdfd;
  border: 1px solid #d7d7d7;
  -moz-box-shadow: inset 0 1px 6px rgba(0,0,0,.2);
  -webkit-box-shadow: inset 0 1px 6px rgba(0,0,0,.2);
  box-shadow: inset 0 1px 6px rgba(0,0,0,.2);
  color: #000000;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 13px;
  /* line-height: 100%; */
  /* height: 39px; */
  padding: 12px 11px 12px 11px;
  vertical-align: middle;
  width: 349px;
	height: 42px;
}
input[type=text]:focus,
input[type=tel]:focus,
input[type=number]:focus,
input[type=email]:focus,
input[type=search]:focus {
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	-o-box-shadow: none;
	box-shadow: none;
	outline: none;
}
.hc-dropdowns {
	margin-left: 5px;
}
.yellow {
	color: #ffde00;
}
.lighter-text {
	color: #888a8d;
	font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;
	font-size: 13px;
	line-height: 18px;
}

/***************
Standard Buttons
***************/
.button {
  text-transform: uppercase;
  color: #ffffff;
  border: 0;
  display: inline-block;
  font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;
  font-size: 16px;
  font-weight: bold;
  height: 40px;
  line-height: 15px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
	clear: both;
	width: 30%;
	border-radius: 0;
	text-transform: uppercase;
}
.button,
.button:visited {
  background: #ff7900; /* Old browsers */
	border: 1px solid white;
}

.cancel,
.cancel:visited {
	background: #8A8A8A;
}
.button:hover,
.button:focus {
  background: white; /* Old browsers */
	color: #ff7900;
	border: 1px solid #ff7900;
  text-decoration: none;
}
.cancel:hover,
.cancel:focus {
	background: white; /* Old browsers */
	color: #828181;
	border: 1px solid #828181;
	text-decoration: none;
}
.button:active {
	background: white; /* Old browsers */
	color: #ff7900;
	border: 1px solid #ff7900;
	text-decoration: none;
}
.cancel:active {
	background: #666;
}
.special,
.special:visited {
  background: #ffa63d; /* Old browsers */
  /* IE9 SVG, needs conditional override of 'filter' to 'none' */
  background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmYTYzZCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmZjc1MDUiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
  background: -moz-linear-gradient(top, #ffa63d 0%, #ff7505 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffa63d), color-stop(100%,#ff7505)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top,  #ffa63d 0%,#ff7505 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top,  #ffa63d 0%,#ff7505 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top,  #ffa63d 0%,#ff7505 100%); /* IE10+ */
  background: linear-gradient(to bottom,  #ffa63d 0%,#ff7505 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffa63d', endColorstr='#ff7505',GradientType=0 ); /* IE6-8 */
}

.special:hover,
.special:focus {
  background: #ffb33b; /* Old browsers */
  /* IE9 SVG, needs conditional override of 'filter' to 'none' */
  background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmYjMzYiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmZmE1M2IiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
  background: -moz-linear-gradient(top,  #ffb33b 0%, #ffa53b 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffb33b), color-stop(100%,#ffa53b)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top,  #ffb33b 0%,#ffa53b 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top,  #ffb33b 0%,#ffa53b 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top,  #ffb33b 0%,#ffa53b 100%); /* IE10+ */
  background: linear-gradient(to bottom,  #ffb33b 0%,#ffa53b 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffb33b', endColorstr='#ffa53b',GradientType=0 ); /* IE6-8 */
  text-decoration: none;
}

.special:active {
  -moz-box-shadow: 2px 3px 5px 0px rgba(0, 0, 0, 0.24) inset;
  -webkit-box-shadow: 2px 3px 5px 0px rgba(0, 0, 0, 0.24) inset;
  box-shadow: 2px 3px 5px 0px rgba(0, 0, 0, 0.24) inset;
  background: #ffa63d; /* Old browsers */
  /* IE9 SVG, needs conditional override of 'filter' to 'none' */
  background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmYTYzZCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmZjc1MDUiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
  background: -moz-linear-gradient(top, #ffa63d 0%, #ff7505 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffa63d), color-stop(100%,#ff7505)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top,  #ffa63d 0%,#ff7505 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top,  #ffa63d 0%,#ff7505 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top,  #ffa63d 0%,#ff7505 100%); /* IE10+ */
  background: linear-gradient(to bottom,  #ffa63d 0%,#ff7505 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffa63d', endColorstr='#ff7505',GradientType=0 ); /* IE6-8 */
}



/***************
Home page (and confirmation pages)
***************/

.home .site-wide-background-image {/*non-essential throw this away*/
	margin: 0 auto;
	width: 1512px;
	height: 2880px;
	position: relative;
}
.home .placement-of-signup {/*non-essential throw this away*/
	position: absolute;
	top: 686px;
	left: 751px;
}


.bookperk-side {
	width: 507px;
}
.bookperk-side .container {
	padding: 0;
    /* height: 150px; */
}

.bookperk-side .ribbon { /* h3 */
	background-color: #000;
	color: #fff;
	font-size: 16px;
	height: 40px;
	line-height: 40px;
	width: 472px;
	padding-left: 35px;
}
.ribbon-corner {
	position:absolute;
	top: 0;
	right: 0px;
	width: 27px;
	height: 17px;
}
.bookperk-side label[for="signup"] {
	padding-bottom: 10px;
	display: block;
}
.bookperk-side .signup-field {
	display: block;
	margin-bottom: 5px;
	width: 400px;
}
.bookperk-side .drop-down-container {
	width: 310px;
	margin-top: 3px
}


body:not(:-moz-handler-blocked) .bookperk-side .button {
	margin-left: -4px;
}
.bookperk-side label[for="dob"] {
	color: #333;
	font-weight: bold;
	line-height: 31px;
}
.bookperk-side #month {
	width: 14px !important;
}
.bookperk-side #day {
	width: 6px !important;
}
.bookperk-side #year {
	width: 8px !important;
}



/***************
Author page
***************/
.author .site-wide-background-image {/*non-essential throw this away*/
	margin: 0 auto;
	width: 1300px;
	height: 3020px;
	position: relative;
}
.author .placement-of-signup {/*non-essential throw this away*/
	position: absolute;
	top:825px;
	left: 510px;
}
.author .signup { visibility: visible;}
.author .signup h3 {
	color: #333;
	font-size: 18px;
	line-height: 22px;
	margin-bottom: 5px;
	font-weight: bold;
	font-family: Arial, Helvetica, sans-serif;
}

.author .bookperk-side .container {
    background: transparent;
    padding-left: 0;
}
/***************
Confirmation Pages
***************/
.confirmation-text {
	color: #888a8d;
	font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;
	font-size: 13px;
	line-height: 18px;
	margin-bottom: 20px;
	width: 440px;
}

.approval-button-container .button {
	width: 155px;
	float: left;
}
.approval-button-container .button:first-child {
	margin-right: 25px;
	margin-left: 45px;
}
.author-confirm .bookperk-side .ribbon { /* h3 */
	background-color: #fff;
	border: 1px solid #939496;
	height: 38px;
	width: 471px;
}
.author-confirm .bookperk-side .ribbon img { /* h3 */
	margin-top: 5px;
}
.author-confirm .ribbon-corner {
	position:absolute;
	top: 0;
	right: 0px;
	width: 27px;
	height: 17px;
}
.author-confirm .site-wide-background-image,
.bookperk-confirm .site-wide-background-image {/*non-essential throw this away*/
	background: #fff;
	width: auto;
}
.author-confirm .placement-of-signup,
.bookperk-confirm .placement-of-signup {/*non-essential throw this away*/
	position: static;
	margin: 0
}
.author-confirm .bookperk-side,
.bookperk-confirm .bookperk-side {
	margin: 0 auto;
}


/************************
Modals
************************/


/***************
reset for fancybox
***************/
.fancybox-wrap,
.fancybox-skin,
.fancybox-inner,
.fancybox-outer {
	background: none;
}
.fancybox-inner {
   overflow: visible !important;
}
.fancybox-close {
	display: none;
}
.fancybox-skin {
	border-radius: 0px;
	padding: 0 !important;
}

.fancybox-wrap {
	/*width: 300px!important;*/
}
.modal {
	background: none;
	width: 100%;
	background-color: rgba(0, 0, 0, 1);
	text-align: center;

}

/***************
start of shared fancybox styling
***************/
.modal-header {
	width: 670px;
	height: 62px;
	text-align: center;
	font-size: 28px;
	line-height: 62px;
	color: #fff;
	letter-spacing: 1px;
	position: relative;
}
.modal-header-carrot {
	position: absolute;
	left: 0;
	bottom:-11px;
	height: 11px;
	width: 11px;
	background-repeat: no-repeat;
	background-position: 0 0;
}
.modal-header-carrot.left {
	left: 0;
}
.modal-header-carrot.right {
	left: 659px;
}
.modal-content {
	border: 0 !important;
	width: 100% !important;
	margin: 40px auto 0;
	background-color: transparent !important;
	box-shadow: none !important;
}
.modal .modal-headline {
	color: #fff;
	font-size: 16px;
	line-height: 1em;
	text-align: center;
	/*padding: 20px 0 10px 0;*/
}
.modal .modal-headline.primary {
	color: #fff;
	font-size: 18px;
	/*padding-top: 30px;*/
}
.modal p {
	font-size: 13px;
	color: #fff;
	padding: 0 0 5px 0;
	text-align: left;
}
.field-row {
	/*width: 400px;*/
	margin: 0 auto 80px auto;
}
.modal .cancel-link {
	margin: 0 10px 10px 0;
	text-decoration: none;
	color: #fff;
	font-size: 12px;
}
.modal-wrapper {
	width: 400px;
	margin: 0 auto 30px auto;
}
.modal .thankyou {
	height: 40px;
}

.button-wrapper.modal-wrapper.grouping {
	display: flex;
	justify-content: space-between;
	width: 330px !important;
	margin: 0 auto;
	padding-top: 50px;
	padding-bottom: 50px;
}

#of-age-submit, #cancel {
	width:47%;
}
/***************
author specific modals
***************/
.author-confirm .modal-header,
.author .modal-header {
	background: #fff;
	border: 1px solid #939496;
	width: 668px;
}
.author-confirm .modal-header img,
.author .modal-header img {
	margin-top: 8px;
}
.author-confirm .modal-header-carrot.left,
.author .modal-header-carrot.left {
	left: -1px;
}
.author-confirm .modal-header-carrot.right,
.author .modal-header-carrot.right {
	left: 658px;
}
/***************
under-age modal
***************/
#under-age-modal .modal-headline {
	padding-top: 40px;
	padding-bottom: 10px;
}
#under-age-modal .thanks .modal-headline {
	padding-top: 40px;
	padding-bottom: 40px;
}
#under-age-modal #parentEmail {
	width: 70%;
	float: left;
}
#under-age-modal input[type="text"],
#under-age-modal input[type="email"] {
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	-o-border-radius: 0;
	border-radius: 0;
}
#under-age-modal button {
	margin-left: 0px;
	height: 41px;
	margin-top: 2px;
}
#under-age-modal .field-row {
	margin-bottom:50px;
}
#under-age-modal .field-row:first-child {
	margin-bottom: 15px;
}
#under-age-modal .modal-wrapper {
	width: 510px;
}
#under-age-modal .cancel-link {
	margin-right: -50px;
}
.modal .bookperk-title,
.bookperk-title {
	font-size: 18px;
	text-align: center;
}
.bookperk-title + p + div {
	width: 60px;
	margin: 0 auto;
}
.bookperk-title + p {
	text-align: center;
}
#under-age-modal .half-width {
	width: 165px;
	display: inline;
}
#under-age-modal .half-width:first-child {
	margin-right: 11px;
}

/***************
of age modal
***************/
#of-age-modal {
position: fixed;
left: 0;
right: 0;
top: 0;
bottom: 0;
width: 100%;
z-index: 30000;
height: 100%;
padding-top: 30px;
overflow-y: auto;
}



#of-age-modal input[type="text"] {
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	-o-border-radius: 0px;
	border-radius: 0px;
	margin-bottom: 10px;
	width: 375px;
}
#of-age-modal .country-wrapper {
	width: 393px;
	margin: 0 auto;
}
#dk_container_country .dk_options_inner {
	width: 395px;
	margin-left: -6px;
}
#dk_container_country .dk_label {
	margin-left: -6px;
	height: 23px;
	line-height: 23px;
	color: #888A8D;
}
#of-age-modal .modal-wrapper {
	width: 100%;
}
#of-age-modal .checkbox-wrapper {
	width: 50%;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	text-align: left;
	font-size: 15px;
	flex-wrap: wrap;
}
#of-age-modal .checkbox-column {
	margin-left: 10px;
	width:32%;
}

#of-age-modal #interest_wrapper {
    margin-bottom: 30px;
}
/*#of-age-modal .checkbox-column:first-child {*/
	/*margin-left: 0;*/
/*}*/
#of-age-modal .field-row {
	display: block;
	/*width: 200px;*/
	margin-bottom: 7px;
}
#of-age-modal .checkbox-column .field-row {
	/*width: 160px;*/
}
#of-age-modal input[type="checkbox"] {
	float: left;
	margin-right: 10px;
}
#of-age-modal .margin-bottom input[type="checkbox"] {
	margin-bottom: 15px;
}
#of-age-modal .margin-bottom input[type="checkbox"].extra-margin {
	margin-bottom: 25px;
}
#of-age-modal input[type="checkbox"] + label {
	color: #fff;
	float: left;
	width:calc(100% - 29px);
}
.dk_focus .dk_toggle{
	border-color: #CACACA;
}




#approve-modal .button,
#deny-modal .button {
	margin-bottom: 30px;
}




/* vertical media queries to fix fancy box width expanding at shorter heights */

/*
@media only screen and (max-height: 354px) {
	.home #under-age-modal .modal-header {
		margin-left: 16px;
	}
}
@media only screen and (max-height: 356px) {
	.author #under-age-modal .modal-header {
		margin-left: 16px;
	}
}
@media only screen and (max-height: 731px) {
	.home #of-age-modal .modal-header {
		margin-left: 16px;
	}
}
@media only screen and (max-height: 815px) {
	.author #of-age-modal .modal-header {
		margin-left: 16px;
	}
}
*/


/*Mobile Styling*/

@media (max-width: 568px) {
	#of-age-modal .checkbox-column {
		width: 100%;
	}
	.email-block, .dob-block {
		width: 100%;
		float: none;
		padding: 10px;
		margin-bottom: 30px;
		position: relative;
	}
	.button {
		width: 100% !important;
	}
	#supadu-silverpop-form {
		padding: 0 10px !important;
	}

	.modal {
		overflow: auto !important;
		padding: 10px;
	}
	
	.silver-pop-legal {
        clear: both;
    font-size: 12px;
    bottom: 0;
    margin-top: 30px;
    position: relative;
    width: 95%;
    text-align: center;
}

.signup.supadu-silverpop-side {
	overflow: scroll;
	padding: 10px;
}



	#of-age-modal .checkbox-wrapper {
		width: 100% !important;
	}
	#under-age-modal #parentEmail {
		width: 100% !important;
	}

}
/* 	Ref HCUSM-662 changes to silverpop author form by chris dryland 25th june 15. */
.hc-consumer-book-details .panel-author-info .silverpop-form #signup-now, .hc-consumer-book-details .panel-illustrator-info .silverpop-form #signup-now {
	margin-top:31px;
}

	#hc-author-full-details #author-form {
		width: 770px;
	}

	#hc-author-full-details #author-form h2 {
		color: #fff;
		padding-top: 45px;
		font-size: 30px;
		margin: 0 0 7px 0;
		font-weight: normal;
	}

	#hc-author-full-details #author-form h3 {
		color: #fff;
		font-size: 15px;
		font-family: arial;
		font-weight: normal;
		padding: 0 0 13px 0!important;
	}

	#hc-author-full-details #author-form label {
		color: #fff;
		font-size: 15px;
		font-family: arial;
		font-weight: bold;
	}

	#hc-author-full-details #author-form .email-container {
		float: left;
		margin-right: 10px;
	}

	#hc-author-full-details #author-form .drop-down-container {
		float: left;
		width: 343px;
	}

	#hc-author-full-details #author-form .drop-down-container label {
		padding-left: 5px;
	}

	#hc-author-full-details #author-form .signup-field {
		width: 290px;
		height: 35px;
		border-radius: 0;
		padding: 0 0 0 5px;

	}

	#hc-author-full-details #author-form .dk_toggle {
		padding: 10px 45px 10px 9px;
	}

	#hc-author-full-details #author-form .hc-dropdowns {
		margin-top: -3px;
	}

	#hc-author-full-details #author-form #signup-now {
		margin-top: 31px!important;
		float: right;
		height: 37px;
	}


	#hc-author-full-details #author-form #dk_container_month .dk_toggle {
		width: 140px!important;
		padding: 10px 0 10px 5px!important;
	}

	#hc-author-full-details #author-form #dk_container_day .dk_toggle {
		width: 70px!important;
		padding: 10px 0 10px 5px!important;
	}

	#hc-author-full-details #author-form #dk_container_year .dk_toggle {
		width: 85px!important;
		padding: 10px 0 10px 5px!important;
	}
	#hc-author-full-details .silverpop-legal {
		font-size: 11px!important;
	}



	/*Form Layout - horizontal Layout*/
	#supadu-silverpop-form {

		/*<?php if(isset($vars['supadu-silverpop-background-color'])):?>
			background: <?php echo $vars['supadu-silverpop-background-color']?>;
		<?php endif;?>

		<?php if(isset($vars['supadu-silverpop-font-style'])):?>
			font-family: <?php echo $vars['supadu-silverpop-font-style']?>;
		<?php endif;?>

		<?php if(isset($vars['supadu-silverpop-message-text-color'])):?>
			color: <?php echo $vars['supadu-silverpop-message-text-color']?>;
		<?php endif;?>

		<?php if($vars['supadu-silverpop-text-size'] !==''):?>
			font-size: <?php echo $vars['supadu-silverpop-text-size']?>;
		<?php endif;?>*/


	}


	#supadu-silverpop-form .signup {display: block}
	#supadu-silverpop-form input#email,
	#supadu-silverpop-form .dob-group,
	#supadu-silverpop-form .doblabel,
	#supadu-silverpop-form .dob-group dl
	 {float: left}

	 #supadu-silverpop-form .doblabel {
		 line-height: 38px;
		 display: inline-block;

		 /*<?php if(isset($vars['supadu-silverpop-font-style'])):?>
			font-family: <?php echo $vars['supadu-silverpop-font-style']?>;
		<?php endif;?>

		<?php if(isset($vars['supadu-silverpop-message-text-color'])):?>
			color: <?php echo $vars['supadu-silverpop-message-text-color']?>;
		<?php endif;?>

		<?php if($vars['supadu-silverpop-text-size'] !==''):?>
			font-size: <?php echo $vars['supadu-silverpop-text-size']?>;
		<?php endif;?>*/
	}

	#supadu-silverpop-form input#email {
		width:100%;
		/*<?php if(isset($vars['supadu-silverpop-font-style'])):?>
			font-family: <?php echo $vars['supadu-silverpop-font-style']?>;
		<?php endif;?>

		<?php if($vars['supadu-silverpop-text-size'] !==''):?>
			font-size: <?php echo $vars['supadu-silverpop-text-size']?>;
		<?php endif;?>*/
	}

	#supadu-silverpop-form label.error[for='email'] {
		position: absolute;
		left: 10px;
		bottom: -20px;
	}

	#supadu-silverpop-form .dob-group {width: 295px; line-height: 38px;}

	#supadu-silverpop-form input#email {margin-right: 30px; margin-top: 16px;}

	#supadu-silverpop-form .legal-copy {clear:both; padding-top:15px;}

	#supadu-silverpop-form .imagebutton {background: none; padding:0; height:auto; width:auto;}

	#supadu-silverpop-form select {margin-left: 8px}

	#supadu-silverpop-form dt {
		position: relative
	}

	#supadu-silverpop-form dt label.error {
		position: absolute;
		left: 0;
		bottom: -28px;
	}

	#supadu-silverpop-form .button,
	#supadu-silverpop-form .dk_container {
		/*<?php if(isset($vars['supadu-silverpop-font-style'])):?>
			font-family: <?php echo $vars['supadu-silverpop-font-style']?>;
		<?php endif;?>

		<?php if($vars['supadu-silverpop-text-size'] !==''):?>
			font-size: <?php echo $vars['supadu-silverpop-text-size']?>;
		<?php endif;?>*/
	}

	#supadu-silverpop-form .privacy-policy-link,
	#supadu-silverpop-form .termsuse-link {
		/*<?php if(isset($vars['supadu-silverpop-disclaimer-link-color'])):?>
			color: <?php echo $vars['supadu-silverpop-disclaimer-link-color']?>;
		<?php endif;?>

		<?php if($vars['supadu-silverpop-text-size'] !==''):?>
			font-size: <?php echo $vars['supadu-silverpop-text-size']?>;
		<?php endif;?>*/
	}

	#supadu-silverpop-form .canada-spam-line {
		/*<?php if($vars['supadu-silverpop-text-size'] !==''):?>
			font-size: <?php echo $vars['supadu-silverpop-text-size']?>;
		<?php endif;?>*/
	}



	/*Vertical Form*/
	#supadu-silverpop-form.vertical-form input#email,
	#supadu-silverpop-form.vertical-form .dob-group,
	#supadu-silverpop-form.vertical-form doblabel,
	#supadu-silverpop-form.vertical-form .dob-group dl {display: block;}

	#supadu-silverpop-form.vertical-form  input#email {margin: 0 0 18px; width:97%;}
	#supadu-silverpop-form.vertical-form  .dob-group  {margin: 0 0 0px; width:100%; float: left;}
	#supadu-silverpop-form.vertical-form .button {margin:0 0 10px 0}

	#supadu-silverpop-form.vertical-form .doblabel {
		float: none;
		width:100%;
		line-height: normal;
	}

	#supadu-silverpop-form.vertical-form .dob-group {line-height: normal; margin-bottom: 20px}
	#supadu-silverpop-form.vertical-form dl label.error {top:18px}
	#supadu-silverpop-form.vertical-form dl:first-of-type select {margin-left: 0}
	#supadu-silverpop-form.vertical-form dl:first-of-type label.error {left:2px;}

	#supadu-silverpop-form.vertical-form .legal-copy {padding-top:0;}

	/* Overlay Panel */

	.modal {
		position: absolute;
		left:0;
		right:0;
		top:0;
		bottom:0;
		width:100%;
	}

	.modal-content {
		height:calc(100% - 20px);
		width: auto;
	}

	#under-age-modal .modal-wrapper {
		width: auto;
		margin-bottom: 0
	}

	#under-age-modal .thanks .modal-headline {
		margin-top: 0
	}

	#under-age-modal .modal-headline {
		margin-top: 0;
		margin-bottom: 0;
		padding: 8px 0 10px;
	}

	#under-age-modal .field-row:first-child {
		margin-bottom: 0
	}

	#under-age-modal button {
		margin-top: 0;
	}